Class: Aws::APIGateway::Types::RequestValidator
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::RequestValidator
- Defined in:
- gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb
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][1] object.
It the referenced using the [x-amazon-apigateway-request-validator][2]
property.
[Enable Basic Request Validation in API Gateway][3]
Constant Summary collapse
- SENSITIVE =
[]
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.
6215 6216 6217 6218 6219 6220 6221 6222 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6215 class RequestValidator < Struct.new( :id, :name, :validate_request_body, :validate_request_parameters) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of this RequestValidator
6215 6216 6217 6218 6219 6220 6221 6222 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6215 class RequestValidator < Struct.new( :id, :name, :validate_request_body, :validate_request_parameters) SENSITIVE = [] include Aws::Structure end |
#validate_request_body ⇒ Boolean
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
6215 6216 6217 6218 6219 6220 6221 6222 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6215 class RequestValidator < Struct.new( :id, :name, :validate_request_body, :validate_request_parameters) SENSITIVE = [] include Aws::Structure end |
#validate_request_parameters ⇒ Boolean
A Boolean flag to indicate whether to validate request parameters
(true
) or not (false
).
6215 6216 6217 6218 6219 6220 6221 6222 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6215 class RequestValidator < Struct.new( :id, :name, :validate_request_body, :validate_request_parameters) SENSITIVE = [] include Aws::Structure end |