You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::CreateRequestValidatorRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CreateRequestValidatorRequest
- Defined in:
- (unknown)
Overview
When passing CreateRequestValidatorRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
rest_api_id: "String", # required
name: "String",
validate_request_body: false,
validate_request_parameters: false,
}
Creates a RequestValidator of a given RestApi.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the to-be-created RequestValidator.
-
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
-
#validate_request_body ⇒ Boolean
A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (
true
) or not (false
). -
#validate_request_parameters ⇒ Boolean
A Boolean flag to indicate whether to validate request parameters,
true
, or notfalse
.
Instance Attribute Details
#name ⇒ String
The name of the to-be-created RequestValidator.
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
#validate_request_body ⇒ Boolean
A Boolean flag to indicate whether to validate request body according to
the configured model schema for the method (true
) or not (false
).
#validate_request_parameters ⇒ Boolean
A Boolean flag to indicate whether to validate request parameters,
true
, or not false
.