mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-05-03 07:22:27 +00:00
e6ba07fd06
Now that task cancellation works, re publishing this PR with a new example for Swift Service Lifecycle
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"version": "2.0",
|
|
"routeKey": "$default",
|
|
"rawPath": "/",
|
|
"rawQueryString": "",
|
|
"body": "",
|
|
"headers": {
|
|
"x-amzn-tls-cipher-suite": "TLS_AES_128_GCM_SHA256",
|
|
"x-amzn-tls-version": "TLSv1.3",
|
|
"x-amzn-trace-id": "Root=1-68762f44-4f6a87d1639e7fc356aa6f96",
|
|
"x-amz-date": "20250715T103651Z",
|
|
"x-forwarded-proto": "https",
|
|
"host": "zvnsvhpx7u5gn3l3euimg4jjou0jvbfe.lambda-url.us-east-1.on.aws",
|
|
"x-forwarded-port": "443",
|
|
"x-forwarded-for": "2a01:...:b9f",
|
|
"accept": "*/*",
|
|
"user-agent": "curl/8.7.1"
|
|
},
|
|
"requestContext": {
|
|
"accountId": "0123456789",
|
|
"apiId": "zvnsvhpx7u5gn3l3euimg4jjou0jvbfe",
|
|
"authorizer": {
|
|
"iam": {
|
|
"accessKey": "AKIA....",
|
|
"accountId": "0123456789",
|
|
"callerId": "AIDA...",
|
|
"cognitoIdentity": null,
|
|
"principalOrgId": "o-rlrup7z3ao",
|
|
"userArn": "arn:aws:iam::0123456789:user/sst",
|
|
"userId": "AIDA..."
|
|
}
|
|
},
|
|
"domainName": "zvnsvhpx7u5gn3l3euimg4jjou0jvbfe.lambda-url.us-east-1.on.aws",
|
|
"domainPrefix": "zvnsvhpx7u5gn3l3euimg4jjou0jvbfe",
|
|
"http": {
|
|
"method": "GET",
|
|
"path": "/",
|
|
"protocol": "HTTP/1.1",
|
|
"sourceIp": "2a01:...:b9f",
|
|
"userAgent": "curl/8.7.1"
|
|
},
|
|
"requestId": "f942509a-283f-4c4f-94f8-0d4ccc4a00f8",
|
|
"routeKey": "$default",
|
|
"stage": "$default",
|
|
"time": "15/Jul/2025:10:36:52 +0000",
|
|
"timeEpoch": 1752575812081
|
|
},
|
|
"isBase64Encoded": false
|
|
} |