Amazon API Gateway · Example Payload

Amazon Api Gateway Method Example

GatewayHTTP APIREST APIServerlessWebSocket

Amazon Api Gateway Method Example is an example object payload from Amazon API Gateway, with 10 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

httpMethodauthorizationTypeauthorizerIdapiKeyRequiredrequestValidatorIdoperationNamerequestParametersrequestModelsmethodResponsesmethodIntegration

Example Payload

Raw ↑
{
  "httpMethod": "example-httpMethod",
  "authorizationType": "example-authorizationType",
  "authorizerId": "example-authorizerId",
  "apiKeyRequired": true,
  "requestValidatorId": "example-requestValidatorId",
  "operationName": "example-operationName",
  "requestParameters": {},
  "requestModels": {},
  "methodResponses": {},
  "methodIntegration": "example-methodIntegration"
}