Properties
Optional body
body?: string
Optional cookies
cookies?: string[]
headers
headers: APIGatewayProxyEventHeaders
isBase64Encoded
isBase64Encoded: boolean
Optional pathParameters
pathParameters?: APIGatewayProxyEventPathParameters
Optional queryStringParameters
queryStringParameters?: APIGatewayProxyEventQueryStringParameters
rawQueryString
rawQueryString: string
requestContext
requestContext: { accountId: string; apiId: string; authorizer?: { jwt: { claims: {}; scopes: string[] } }; domainName: string; domainPrefix: string; http: { method: string; path: string; protocol: string; sourceIp: string; userAgent: string }; requestId: string; routeKey: string; stage: string; time: string; timeEpoch: number }
Type declaration
accountId: string
apiId: string
Optional authorizer?: { jwt: { claims: {}; scopes: string[] } }
jwt: { claims: {}; scopes: string[] }
claims: {}
[name: string]: string | number | boolean | string[]
scopes: string[]
domainName: string
domainPrefix: string
http: { method: string; path: string; protocol: string; sourceIp: string; userAgent: string }
method: string
path: string
protocol: string
sourceIp: string
userAgent: string
requestId: string
routeKey: string
stage: string
time: string
timeEpoch: number
Optional stageVariables
stageVariables?: APIGatewayProxyEventStageVariables
supertokens
supertokens: { response: { cookies: string[]; headers: { allowDuplicateKey: boolean; key: string; value: string | number | boolean }[] } }
Type declaration
response: { cookies: string[]; headers: { allowDuplicateKey: boolean; key: string; value: string | number | boolean }[] }
cookies: string[]
headers: { allowDuplicateKey: boolean; key: string; value: string | number | boolean }[]