FEA-Bench / testbed /aws-powertools__powertools-lambda-python /tests /events /apiGatewayAuthorizerV2Event.json
| { | |
| "version": "2.0", | |
| "type": "REQUEST", | |
| "routeArn": "arn:aws:execute-api:us-east-1:123456789012:abcdef123/test/GET/request", | |
| "identitySource": ["user1", "123"], | |
| "routeKey": "GET /merchants", | |
| "rawPath": "/merchants", | |
| "rawQueryString": "parameter1=value1¶meter1=value2¶meter2=value", | |
| "cookies": ["cookie1", "cookie2"], | |
| "headers": { | |
| "x-amzn-trace-id": "Root=1-611cc4a7-0746ebee281cfd967db97b64", | |
| "Header1": "value1", | |
| "Header2": "value2", | |
| "Authorization": "value" | |
| }, | |
| "queryStringParameters": { | |
| "parameter1": "value1,value2", | |
| "parameter2": "value" | |
| }, | |
| "requestContext": { | |
| "accountId": "123456789012", | |
| "apiId": "api-id", | |
| "authentication": { | |
| "clientCert": { | |
| "clientCertPem": "CERT_CONTENT", | |
| "subjectDN": "www.example.com", | |
| "issuerDN": "Example issuer", | |
| "serialNumber": "a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1", | |
| "validity": { | |
| "notBefore": "May 28 12:30:02 2019 GMT", | |
| "notAfter": "Aug 5 09:36:04 2021 GMT" | |
| } | |
| } | |
| }, | |
| "domainName": "id.execute-api.us-east-1.amazonaws.com", | |
| "domainPrefix": "id", | |
| "http": { | |
| "method": "POST", | |
| "path": "/merchants", | |
| "protocol": "HTTP/1.1", | |
| "sourceIp": "10.10.10.10", | |
| "userAgent": "agent" | |
| }, | |
| "requestId": "id", | |
| "routeKey": "GET /merchants", | |
| "stage": "$default", | |
| "time": "12/Mar/2020:19:03:58 +0000", | |
| "timeEpoch": 1583348638390 | |
| }, | |
| "pathParameters": { "parameter1": "value1" }, | |
| "stageVariables": { "stageVariable1": "value1", "stageVariable2": "value2" } | |
| } | |