You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apigw-lambda-transcribe-sam-js/README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
2
2
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.
4
4
5
5
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.
6
6
@@ -32,15 +32,14 @@ Important: this application uses various AWS services and there are costs associ
32
32
* Enter the desired AWS Region
33
33
* Allow SAM CLI to create IAM roles with the required permissions.
34
34
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.
36
36
37
37
2. Note the outputs from the SAM deployment process. These contain the resource names and/or ARNs which are used for testing.
38
38
39
39
## How it works
40
40
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:
42
42
43
-
1. API Gateway forwards the request to AWS Lambda
44
43
2. Lambda function starts a transcription job using Amazon Transcribe
45
44
3. Amazon Transcribe processes the audio file and generates the transcription
46
45
4. The transcription results are stored in the specified S3 bucket
0 commit comments