Skip to content

Commit 9a5558e

Browse files
committed
Refactoring
1 parent 037af19 commit 9a5558e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awslambdainvoke-capi/lambdainvoke.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/python
22
# -*- coding: utf-8 -*-
33
# lambdainvoke.py
4-
# It is an example that handles S3 buckets on AWS.
4+
# It is an example that handles Lambda functions on AWS.
55
# It uses Client API (low-level) of Boto3.
66
# Invoke a Lambda function.
77
# You must provide 1 parameter:
@@ -48,6 +48,7 @@ def main():
4848
print(response)
4949
print('\nFunction response payload:')
5050
print(json.loads(response['Payload'].read()))
51+
5152
except botocore.exceptions.ClientError as e:
5253
if e.response['Error']['Code'] == "ResourceNotFoundException":
5354
print("Error: Function Not Found!!")

0 commit comments

Comments
 (0)