x-amazon-apigateway-request-validators.requestValidator object - Amazon API Gateway
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

x-amazon-apigateway-request-validators.requestValidator object

Specifies the validation rules of a request validator as part of the x-amazon-apigateway-request-validators object map definition.

Properties
Property name Type Description

validateRequestBody

Boolean

Specifies whether to validate the request body (true) or not (false).

validateRequestParameters

Boolean

Specifies whether to validate the required request parameters (true) or not (false).

x-amazon-apigateway-request-validators.requestValidator example

The following example shows a parameter-only request validator:

"params-only": { "validateRequestBody" : false, "validateRequestParameters" : true }