changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user