Skip to content

Commit

Permalink
Update s3-lambda-translate-cdk-python/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: ellisms <[email protected]>
  • Loading branch information
awsarippa and ellisms authored Jan 17, 2024
1 parent 4e640c0 commit 538e96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3-lambda-translate-cdk-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The deployment will create two S3 buckets and a Lambda function.
## How it works
The S3 bucket acts as a placeholder to upload the document, required for performing language translation. In the demonstration, we use the file `AmazonSimpleStorageService.html` inside the `assets` folder.
Uploading a file to the S3 bucket invokes the Lambda function.
The Lambda function invokes the Translate's `TranslateDocument` API and the response document with the nomenclature `target_language`-`source_file_name` is uploaded to the output S3 bucket.
The Lambda function invokes Translate's `TranslateDocument` API and uploads the response document with the naming pattern `target_language`-`source_file_name`.
The target language for translation is set to French by default and users are requested to change it as per their use-case.
At the time of creating this pattern, `TranslateDocument` API supports three formats of document:
- `text/html` - The input data consists of HTML content. Amazon Translate translates only the text in the HTML element.
Expand Down

0 comments on commit 538e96f

Please sign in to comment.