File size: 2,079 Bytes
d8ad0fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
    "version": "1.0",
    "resource": "/my/path",
    "path": "/my/path/",
    "httpMethod": "GET",
    "headers": {
      "Header1": "value1",
      "Header2": "value2"
    },
    "multiValueHeaders": {
      "Header1": [
        "value1"
      ],
      "Header2": [
        "value1",
        "value2"
      ]
    },
    "queryStringParameters": {
      "parameter1": "value1",
      "parameter2": "value"
    },
    "multiValueQueryStringParameters": {
      "parameter1": [
        "value1",
        "value2"
      ],
      "parameter2": [
        "value"
      ]
    },
    "requestContext": {
      "accountId": "123456789012",
      "apiId": "id",
      "authorizer": {
        "claims": null,
        "scopes": null
      },
      "domainName": "id.execute-api.us-east-1.amazonaws.com",
      "domainPrefix": "id",
      "extendedRequestId": "request-id",
      "httpMethod": "GET",
      "identity": {
        "accessKey": null,
        "accountId": null,
        "caller": null,
        "cognitoAuthenticationProvider": null,
        "cognitoAuthenticationType": null,
        "cognitoIdentityId": null,
        "cognitoIdentityPoolId": null,
        "principalOrgId": null,
        "sourceIp": "192.168.0.1/32",
        "user": null,
        "userAgent": "user-agent",
        "userArn": null,
        "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"
          }
        }
      },
      "path": "/my/path",
      "protocol": "HTTP/1.1",
      "requestId": "id=",
      "requestTime": "04/Mar/2020:19:15:17 +0000",
      "requestTimeEpoch": 1583349317135,
      "resourceId": null,
      "resourcePath": "/my/path",
      "stage": "$default"
    },
    "pathParameters": null,
    "stageVariables": null,
    "body": "Hello from Lambda!",
    "isBase64Encoded": true
  }