x-amazon-apigateway-request-validators.requestValidator object - Amazon API Gateway

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.

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 }

Warning Javascript is disabled or is unavailable in your browser.

To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.

AltStyle によって変換されたページ (->オリジナル) /