skip to Main Content

Amazon web services – Customize response from AWS API Gateway integrated to SQS

I have integrated AWS API Gateway to SQS queue and it give response in format { "SendMessageResponse": { "ResponseMetadata": { "RequestId": "acfa1737-7d53-5aeb-8c75-482a8f8eab1b" }, "SendMessageResult": { "MD5OfMessageAttributes": null, "MD5OfMessageBody": "ed1dbe6fa17bf45a3d20ea7be2661bfb", "MD5OfMessageSystemAttributes": null, "MessageId": "e41f656e-1e2a-4269-a0e0-2016d9406ac8", "SequenceNumber": null } } } how can…

VIEW QUESTION

Amazon web services – Get specific index for dictionary

I have this lambda function def lambda_handler(event, context): response = client.describe_maintenance_windows( Filters=[ { 'Key': 'Name', 'Values': [ 'test', ] }, ], ) MWId = response["WindowIdentities"] return(MWId) I got below response Response structure [ { "WindowId": "mw-0154acefa2151234", "Name": "test", "Enabled": true,…

VIEW QUESTION
Back To Top
Search