FEA-Bench / testbed /aws-powertools__powertools-lambda-python /tests /events /apiGatewayProxyV2IamEvent.json
| { | |
| "version": "2.0", | |
| "routeKey": "$default", | |
| "rawPath": "/my/path", | |
| "rawQueryString": "parameter1=value1¶meter1=value2¶meter2=value", | |
| "cookies": [ | |
| "cookie1", | |
| "cookie2" | |
| ], | |
| "headers": { | |
| "Header1": "value1", | |
| "Header2": "value2" | |
| }, | |
| "queryStringParameters": { | |
| "parameter1": "value1,value2", | |
| "parameter2": "value" | |
| }, | |
| "pathParameters": { | |
| "proxy": "hello/world" | |
| }, | |
| "requestContext": { | |
| "routeKey": "$default", | |
| "accountId": "123456789012", | |
| "stage": "$default", | |
| "requestId": "id", | |
| "authorizer": { | |
| "iam": { | |
| "accessKey": "ARIA2ZJZYVUEREEIHAKY", | |
| "accountId": "1234567890", | |
| "callerId": "AROA7ZJZYVRE7C3DUXHH6:CognitoIdentityCredentials", | |
| "cognitoIdentity": { | |
| "amr": [ | |
| "foo" | |
| ], | |
| "identityId": "us-east-1:3f291106-8703-466b-8f2b-3ecee1ca56ce", | |
| "identityPoolId": "us-east-1:4f291106-8703-466b-8f2b-3ecee1ca56ce" | |
| }, | |
| "principalOrgId": "AwsOrgId", | |
| "userArn": "arn:aws:iam::1234567890:user/Admin", | |
| "userId": "AROA2ZJZYVRE7Y3TUXHH6" | |
| } | |
| }, | |
| "apiId": "api-id", | |
| "domainName": "id.execute-api.us-east-1.amazonaws.com", | |
| "domainPrefix": "id", | |
| "time": "12/Mar/2020:19:03:58+0000", | |
| "timeEpoch": 1583348638390, | |
| "http": { | |
| "method": "GET", | |
| "path": "/my/path", | |
| "protocol": "HTTP/1.1", | |
| "sourceIp": "192.168.0.1/32", | |
| "userAgent": "agent" | |
| } | |
| }, | |
| "stageVariables": { | |
| "stageVariable1": "value1", | |
| "stageVariable2": "value2" | |
| }, | |
| "body": "{\r\n\t\"a\": 1\r\n}", | |
| "isBase64Encoded": false | |
| } |