skip to Main Content

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