You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::RequestValidator
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::RequestValidator
- Defined in:
- (unknown)
Overview
A set of validation rules for incoming Method requests.
In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.
Returned by:
Instance Attribute Summary collapse
-
#id ⇒ String
The identifier of this RequestValidator.
-
#name ⇒ String
The name of this RequestValidator.
-
#validate_request_body ⇒ Boolean
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
-
#validate_request_parameters ⇒ Boolean
A Boolean flag to indicate whether to validate request parameters (
true
) or not (false
).
Instance Attribute Details
#id ⇒ String
The identifier of this RequestValidator.
#name ⇒ String
The name of this RequestValidator
#validate_request_body ⇒ Boolean
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
#validate_request_parameters ⇒ Boolean
A Boolean flag to indicate whether to validate request parameters
(true
) or not (false
).