Skip to content

Commit 0fd6655

Browse files
authored
Updated README.md with suggested changes
1 parent c5e090c commit 0fd6655

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Important: this application uses various AWS services and there are costs associ
3131
* Enter a stack name
3232
* Enter the desired AWS Region
3333
* Allow SAM CLI to create IAM roles with the required permissions.
34-
34+
* Allow TranscribeFunction to operate without authentication.
3535
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.
@@ -48,7 +48,7 @@ When an object is uploaded to S3:
4848
4949
To test the deployed API endpoint:
5050
51-
1. Upload an audio file to the created S3 bucket:
51+
1. Upload an audio file to the created S3 bucket(Note: Bucket name would be {AWS::StackName}-audio-uploads):
5252
```
5353
aws s3 cp audio.mp3 s3://your-bucket-name/
5454
```
@@ -64,8 +64,12 @@ aws transcribe list-transcription-jobs
6464
aws transcribe get-transcription-job --transcription-job-name "job-name-from-response"
6565
```
6666
## Cleanup
67-
68-
1. Delete the stack
67+
68+
1. Delete the audio.mp3 file from the S3 bucket. This is because the bucket must be empty before it can be deleted.
69+
```bash
70+
aws s3 rm "s3://your-bucket-name/audio.mp3"
71+
```
72+
2. Delete the stack
6973
```bash
7074
sam delete
7175
```

0 commit comments

Comments
 (0)