class Aws::APIGateway::Types::CreateRequestValidatorRequest
Creates a RequestValidator
of a given RestApi
.
@note When making an API call, you may pass CreateRequestValidatorRequest
data as a hash: { rest_api_id: "String", # required name: "String", validate_request_body: false, validate_request_parameters: false, }
@!attribute [rw] rest_api_id
\[Required\] The string identifier of the associated RestApi. @return [String]
@!attribute [rw] name
The name of the to-be-created RequestValidator. @return [String]
@!attribute [rw] validate_request_body
A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (`true`) or not (`false`). @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