$ python invoke.py
{u'ExecutedVersion': '$LATEST',
u'Payload': <botocore.response.StreamingBody object at 0x105806a90>,
'ResponseMetadata': {'HTTPHeaders': {'connection': 'keep-alive',
'content-length': '156',
'content-type': 'application/json',
'date': 'Wed, 20 Jun 2018 18:35:39 GMT',
'x-amz-executed-version': '$LATEST',
'x-amzn-remapped-content-length': '0',
'x-amzn-requestid': 'bac22455-74b8-11e8-9912-958febc24589',
'x-amzn-trace-id': 'root=1-5b2a9e7b-82f69d1ca891e57ccc175542;sampled=0'},
'HTTPStatusCode': 200,
'RequestId': 'bac22455-74b8-11e8-9912-958febc24589',
'RetryAttempts': 0},
u'StatusCode': 200}
{u'body': u'{"output": "Hello World", "timestamp": "2018-06-20T18:35:39.144159"}',
u'headers': {u'Content-Type': u'application/json'},
u'statusCode': 200}
-
Notifications
You must be signed in to change notification settings - Fork 0
titanjer/invoke-lambda
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Example for AWS Lambda invocation synchronously
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published