Skip to content

Commit c5e090c

Browse files
Avs163ellisms
andauthored
Apply suggestions from code review
Co-authored-by: ellisms <114107920+ellisms@users.noreply.github.com>
1 parent cec8cda commit c5e090c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

apigw-lambda-transcribe-sam-js/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Amazon AS3 to AWS Lambda to Amazon Transcribe using AWS SAM
1+
# Amazon S3 to AWS Lambda to Amazon Transcribe using AWS SAM
22

3-
This pattern facilitates automatic audio transcription by using the Amazon Transcribe service through a serverless event-driven architecture. When audio files are uploaded to S3, they are automatically transcribed using Amazon Transcribe via a Lambda function triggered by S3 events.
3+
This pattern facilitates automatic audio transcription by using the Amazon Transcribe service through a serverless event-driven architecture. When audio files are uploaded to S3, they are automatically transcribed using Amazon Transcribe via a Lambda function invoked by S3 events.
44

55
This pattern enables speech-to-text transcription use cases by providing a serverless event-based pipeline that can process audio files uploaded to S3. The pattern uses AWS Lambda to coordinate with the Amazon Transcribe service, making it easy to integrate transcription capabilities into your applications without the need to manage infrastructure or manually initiate transcription jobs.
66

@@ -32,15 +32,14 @@ Important: this application uses various AWS services and there are costs associ
3232
* Enter the desired AWS Region
3333
* Allow SAM CLI to create IAM roles with the required permissions.
3434
35-
Once you have run `sam deploy --guided` mode once and saved arguments to a configuration file (samconfig.toml), you can use `sam deploy` in future to use these defaults.
35+
After running `sam deploy --guided` mode once and savings arguments to a configuration file (samconfig.toml), you can use `sam deploy` in future to use these defaults.
3636
3737
2. Note the outputs from the SAM deployment process. These contain the resource names and/or ARNs which are used for testing.
3838
3939
## How it works
4040
41-
The pattern creates an API Gateway endpoint that accepts POST requests with JSON payloads containing an S3 URL of an audio file. When a request is received:
41+
When an object is uploaded to S3:
4242
43-
1. API Gateway forwards the request to AWS Lambda
4443
2. Lambda function starts a transcription job using Amazon Transcribe
4544
3. Amazon Transcribe processes the audio file and generates the transcription
4645
4. The transcription results are stored in the specified S3 bucket

0 commit comments

Comments
 (0)