AWS solutions documentation change
Summary
Formatting fixes including quotation mark corrections, code indentation adjustments, and documentation structure improvements
Security assessment
Changes involve syntax/formatting corrections (quotes, code alignment) and documentation presentation (image caption formatting). No security-related content added or modified.
Diff
diff --git a/solutions/latest/media-insights-on-aws/customization-guide.md b/solutions/latest/media-insights-on-aws/customization-guide.md index 2491267ff..d896ecdba 100644 --- a/solutions/latest/media-insights-on-aws/customization-guide.md +++ b/solutions/latest/media-insights-on-aws/customization-guide.md @@ -13 +13 @@ Operators are Lambda functions that derive new media objects from input media an -Operators can be synchronous __(sync) _or_ asynchronous (async)_._ Sync operators start an analysis (or transformation) job and get its result in a single Lambda function. Async operators use separate Lambda functions to start jobs and get their results. Typically, async operators run for several minutes. +Operators can be _synchronous (sync)_ or _asynchronous (async)_. Sync operators start an analysis (or transformation) job and get its result in a single Lambda function. Async operators use separate Lambda functions to start jobs and get their results. Typically, async operators run for several minutes. @@ -33 +33 @@ Instantiate the helper: - output_object = OutputHelper(“<OPERATOR-NAME>”) + output_object = OutputHelper("<OPERATOR-NAME>") @@ -60 +60 @@ Media objects are passed using their location in Amazon S3. Use the boto3 Amazon -Operator configurations can be accessed from the Configuration attribute in the Lambda function’s entry point event object. For example, here's how the face search operator gets the user-specified face collection ID: +Operator configurations can be accessed from the Configuration attribute in the Lambda function’s entry point event object. For example, here’s how the face search operator gets the user-specified face collection ID: @@ -67 +67 @@ Operator configurations can be accessed from the Configuration attribute in the -Metadata derived by an operator can be passed as an input to the next stage in a workflow by adding specified data to the operator's output_object. Do this with the add_workflow_metadata function in the OutputHelper, as shown below: +Metadata derived by an operator can be passed as an input to the next stage in a workflow by adding specified data to the operator’s output_object. Do this with the add_workflow_metadata function in the OutputHelper, as shown below: @@ -75 +75 @@ The values for attributes must be strings.**** The values for attributes must no - output_object = OutputHelper(“<OPERATOR-NAME>”) + output_object = OutputHelper("<OPERATOR-NAME>") @@ -165,15 +165,15 @@ Usage example: - this, - 'customOperator', - "custom_operator.zip", - 300, - { - handler: " custom_operator.lambda_handler", - role: customOperatorLambdaRole, - tracing: lambda.Tracing.PASS_THROUGH, - environment: { - OPERATOR_NAME: "CustomOperator", - DataplaneEndpoint, - DataLookupRole: genericDataLookupLambdaRole.roleArn, - botoConfig - } - } + this, + 'customOperator', + "custom_operator.zip", + 300, + { + handler: " custom_operator.lambda_handler", + role: customOperatorLambdaRole, + tracing: lambda.Tracing.PASS_THROUGH, + environment: { + OPERATOR_NAME: "CustomOperator", + DataplaneEndpoint, + DataLookupRole: genericDataLookupLambdaRole.roleArn, + botoConfig + } + } @@ -204,14 +204,14 @@ Usage example: - this, - 'customOperatorOperation', - { - Name: "customOperator", - Description: "Operation name of CustomOperator ", - Async: false, - Configuration: { - MediaType: "Video", - Enabled: false - }, - StartLambdaArn: startGenericDataLookup.functionArn, - OutputName: "CustomOperator", - ExportName: "CustomOperator" - } + this, + 'customOperatorOperation', + { + Name: "customOperator", + Description: "Operation name of CustomOperator ", + Async: false, + Configuration: { + MediaType: "Video", + Enabled: false + }, + StartLambdaArn: startGenericDataLookup.functionArn, + OutputName: "CustomOperator", + ExportName: "CustomOperator" + } @@ -294 +294,3 @@ The data plane provides a change-data-capture (CDC) stream from DynamoDB to comm - +**CloudFormation stack output showing AnalyticsStreamArn with Kinesis Data Stream ARN value.** + +