-
Notifications
You must be signed in to change notification settings - Fork 1
/
request-event.json
66 lines (66 loc) · 1.53 KB
/
request-event.json
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
{
"httpMethod": "POST",
"body": "{ 'Scalings': [ { 'Tag': 'your-tag-name-here', 'Suspend': false }, { 'Tag': 'your-tag-name-h', 'Suspend': true } ] }",
"resource": "/api",
"requestContext": {
"resourceId": "123456",
"apiId": "1234567890",
"resourcePath": "/api",
"httpMethod": "POST",
"requestId": "c6af9ac6-7b61-11e6-9a41-93e8deadbeef",
"accountId": "123456789012",
"stage": "Prod",
"identity": {
"apiKey": null,
"userArn": null,
"cognitoAuthenticationType": null,
"caller": null,
"userAgent": "Custom User Agent String",
"user": null,
"cognitoIdentityPoolId": null,
"cognitoAuthenticationProvider": null,
"sourceIp": "127.0.0.1",
"accountId": null
},
"extendedRequestId": null,
"path": "/api"
},
"queryStringParameters": null,
"multiValueQueryStringParameters": null,
"headers": {
"Host": "127.0.0.1:3000",
"User-Agent": "curl/7.66.0",
"Accept": "*/*",
"Content-Type": "application/json",
"Content-Length": "116",
"X-Forwarded-Proto": "http",
"X-Forwarded-Port": "3000"
},
"multiValueHeaders": {
"Host": [
"127.0.0.1:3000"
],
"User-Agent": [
"curl/7.66.0"
],
"Accept": [
"*/*"
],
"Content-Type": [
"application/json"
],
"Content-Length": [
"116"
],
"X-Forwarded-Proto": [
"http"
],
"X-Forwarded-Port": [
"3000"
]
},
"pathParameters": null,
"stageVariables": null,
"path": "/api",
"isBase64Encoded": false
}