Skip to content

titanjer/invoke-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$ 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}

About

Example for AWS Lambda invocation synchronously

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages