Skip to content

Instantly share code, notes, and snippets.

@thanakijwanavit
Created March 20, 2021 11:24
Show Gist options
  • Save thanakijwanavit/f2ab7bc50fb13d563e853b88a3650acb to your computer and use it in GitHub Desktop.
Save thanakijwanavit/f2ab7bc50fb13d563e853b88a3650acb to your computer and use it in GitHub Desktop.
api gateway schemas
body: A JSON string of the request payload.
headers: '{String containing incoming request headers}'
httpMethod: Incoming request's method name
isBase64Encoded: A boolean flag to indicate if the applicable request payload is Base64-encoded
multiValueHeaders: '{List of strings containing incoming request headers}'
multiValueQueryStringParameters: '{List of query string parameters}'
path: Path parameter
pathParameters: '{path parameters}'
queryStringParameters: '{query string parameters }'
requestContext: '{Request context, including authorizer-returned key-value pairs}'
resource: Resource path
stageVariables: '{Applicable stage variables}'
body: '...'
headers:
headerName: headerValue
isBase64Encoded: bool
multiValueHeaders:
headerName:
- headerValue
- headerValue2
statusCode: int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment