github.com/Foodji/aws-lambda-go@v1.20.2/events/testdata/apigw-v2-request-lambda-authorizer.json (about)

     1  {
     2      "version": "2.0",
     3      "routeKey": "$default",
     4      "rawPath": "/my/path",
     5      "rawQueryString": "parameter1=value1&parameter1=value2&parameter2=value",
     6      "cookies": [
     7          "cookie1",
     8          "cookie2"
     9      ],
    10      "headers": {
    11          "Header1": "value1",
    12          "Header2": "value2"
    13      },
    14      "queryStringParameters": {
    15          "parameter1": "value1,value2",
    16          "parameter2": "value"
    17      },
    18      "pathParameters": {
    19          "proxy": "hello/world"
    20      },
    21      "requestContext": {
    22          "routeKey": "$default",
    23          "accountId": "123456789012",
    24          "stage": "$default",
    25          "requestId": "id",
    26          "authorizer": {
    27              "lambda": {
    28                  "key": "value"
    29              }
    30          },
    31          "apiId": "api-id",
    32          "domainName": "id.execute-api.us-east-1.amazonaws.com",
    33          "domainPrefix": "id",
    34          "time": "12/Mar/2020:19:03:58+0000",
    35          "timeEpoch": 1583348638390,
    36          "http": {
    37              "method": "GET",
    38              "path": "/my/path",
    39              "protocol": "HTTP/1.1",
    40              "sourceIp": "IP",
    41              "userAgent": "agent"
    42          }
    43      },
    44      "stageVariables": {
    45          "stageVariable1": "value1",
    46          "stageVariable2": "value2"
    47      },
    48      "body": "{\r\n\t\"a\": 1\r\n}",
    49      "isBase64Encoded": false
    50  }