소스 검색

删除文件 py/Event-sqs.py

xdc 5 년 전
부모
커밋
18e61b51b4
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      py/Event-sqs.py

+ 0 - 12
py/Event-sqs.py

@@ -1,12 +0,0 @@
-import json
-import boto3
-
-def lambda_handler(event,context):
-    # TODO
-    message = json.loads(event['Records'][0]['body'])['Message']
-    mykey = json.loads(event['Records'][0]['body'])['MessageAttributes']['name']['Value']
-
-    return {
-        'statusCode': 200,
-        'body': json.dumps('Hello from Lambda!')
-        }