Skip to content

Commit 366b3c1

Browse files
committed
add missing files
1 parent a8deb47 commit 366b3c1

File tree

2 files changed

+102
-0
lines changed

2 files changed

+102
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"version": "1.0",
3+
"type": "REQUEST",
4+
"methodArn": "arn:aws:execute-api:us-east-1:123456789012:abcdef123/test/GET/request",
5+
"identitySource": "user1,123",
6+
"authorizationToken": "user1,123",
7+
"resource": "/request",
8+
"path": "/request",
9+
"httpMethod": "GET",
10+
"headers": {
11+
"X-AMZ-Date": "20170718T062915Z",
12+
"Accept": "*/*",
13+
"HeaderAuth1": "headerValue1",
14+
"CloudFront-Viewer-Country": "US",
15+
"CloudFront-Forwarded-Proto": "https",
16+
"CloudFront-Is-Tablet-Viewer": "false",
17+
"CloudFront-Is-Mobile-Viewer": "false",
18+
"User-Agent": "..."
19+
},
20+
"queryStringParameters": {
21+
"QueryString1": "queryValue1"
22+
},
23+
"pathParameters": {},
24+
"stageVariables": {
25+
"StageVar1": "stageValue1"
26+
},
27+
"requestContext": {
28+
"path": "/request",
29+
"accountId": "123456789012",
30+
"resourceId": "05c7jb",
31+
"stage": "test",
32+
"requestId": "...",
33+
"identity": {
34+
"apiKey": "...",
35+
"sourceIp": "...",
36+
"clientCert": {
37+
"clientCertPem": "CERT_CONTENT",
38+
"subjectDN": "www.example.com",
39+
"issuerDN": "Example issuer",
40+
"serialNumber": "a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1",
41+
"validity": {
42+
"notBefore": "May 28 12:30:02 2019 GMT",
43+
"notAfter": "Aug 5 09:36:04 2021 GMT"
44+
}
45+
}
46+
},
47+
"resourcePath": "/request",
48+
"httpMethod": "GET",
49+
"apiId": "abcdef123"
50+
}
51+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"version": "2.0",
3+
"type": "REQUEST",
4+
"routeArn": "arn:aws:execute-api:us-east-1:123456789012:abcdef123/test/GET/request",
5+
"identitySource": ["user1", "123"],
6+
"routeKey": "$default",
7+
"rawPath": "/my/path",
8+
"rawQueryString": "parameter1=value1&parameter1=value2&parameter2=value",
9+
"cookies": ["cookie1", "cookie2"],
10+
"headers": {
11+
"Header1": "value1",
12+
"Header2": "value2"
13+
},
14+
"queryStringParameters": {
15+
"parameter1": "value1,value2",
16+
"parameter2": "value"
17+
},
18+
"requestContext": {
19+
"accountId": "123456789012",
20+
"apiId": "api-id",
21+
"authentication": {
22+
"clientCert": {
23+
"clientCertPem": "CERT_CONTENT",
24+
"subjectDN": "www.example.com",
25+
"issuerDN": "Example issuer",
26+
"serialNumber": "a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1",
27+
"validity": {
28+
"notBefore": "May 28 12:30:02 2019 GMT",
29+
"notAfter": "Aug 5 09:36:04 2021 GMT"
30+
}
31+
}
32+
},
33+
"domainName": "id.execute-api.us-east-1.amazonaws.com",
34+
"domainPrefix": "id",
35+
"http": {
36+
"method": "POST",
37+
"path": "/my/path",
38+
"protocol": "HTTP/1.1",
39+
"sourceIp": "IP",
40+
"userAgent": "agent"
41+
},
42+
"requestId": "id",
43+
"routeKey": "$default",
44+
"stage": "$default",
45+
"time": "12/Mar/2020:19:03:58 +0000",
46+
"timeEpoch": 1583348638390
47+
},
48+
"pathParameters": { "parameter1": "value1" },
49+
"stageVariables": { "stageVariable1": "value1", "stageVariable2": "value2" }
50+
}
51+

0 commit comments

Comments
 (0)