changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3

This commit is contained in:
Sebastian Rieger
2022-06-20 12:48:38 +02:00
parent 7059688b5d
commit 1f4a435d84
4 changed files with 98 additions and 24 deletions

View File

@ -1,5 +1,6 @@
import boto3
from datetime import date
import json
import boto3
################################################################################################
#
@ -31,7 +32,7 @@ try:
Payload='{ "input": "1" }'
)
except lClient.exceptions.ResourceNotFoundException:
print('Function not available. No need to delete it.')
print('Function not available.')
streamingBody = response['Payload']
result = streamingBody.read()