class Aws::APIGateway::Types::RequestValidator
A set of validation rules for incoming Method
requests.
<div class=“remarks” markdown=“1”> In OpenAPI, a RequestValidator
of an API is defined by the
- x-amazon-apigateway-request-validators.requestValidator][1
-
object.
It the referenced using the [x-amazon-apigateway-request-validator] property.
</div>
<div class=“seeAlso” markdown=“1”>
- Enable Basic Request Validation in API Gateway][3
-
</div>
[1]: docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validators.requestValidator.html [2]: docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validator [3]: docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html
@!attribute [rw] id
The identifier of this RequestValidator. @return [String]
@!attribute [rw] name
The name of this RequestValidator @return [String]
@!attribute [rw] validate_request_body
A Boolean flag to indicate whether to validate a request body according to the configured Model schema. @return [Boolean]
@!attribute [rw] validate_request_parameters
A Boolean flag to indicate whether to validate request parameters (`true`) or not (`false`). @return [Boolean]
Constants
- SENSITIVE