RANDOM_STRING=$(aws secretsmanager get-random-password \
--exclude-punctuation --exclude-uppercase \
--password-length 6 --require-each-included-type \
--output text \
--query RandomPassword)
aws s3api create-bucket --bucket awscookbook801-$RANDOM_STRING
aws s3 rm s3://awscookbook801-$RANDOM_STRING/awscookbook-801.json
aws s3 rm s3://awscookbook801-$RANDOM_STRING/podcast.mp3
aws s3 rm s3://awscookbook801-$RANDOM_STRING/.write_access_check_file.temp
aws s3api delete-bucket --bucket awscookbook801-$RANDOM_STRING
aws transcribe delete-transcription-job \
--transcription-job-name awscookbook-801
unset $RANDOM_STRING