changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3
This commit is contained in:
@ -36,8 +36,10 @@ except lClient.exceptions.ResourceNotFoundException:
|
||||
|
||||
streamingBody = response['Payload']
|
||||
result = streamingBody.read()
|
||||
jsonResult = json.loads(result)
|
||||
|
||||
print(json.dumps(response, indent=4, sort_keys=True, default=str))
|
||||
|
||||
print('Payload:\n' + str(result))
|
||||
print('Payload:\n' + str(result) + "\n")
|
||||
|
||||
print("Counter is now at: " + jsonResult['headers']['x-hsfd-counter'])
|
||||
|
Reference in New Issue
Block a user