Class: Aws::APIGateway::Types::RequestValidator

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

A set of validation rules for incoming Method requests.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The identifier of this RequestValidator.

Returns:

  • (String)


4416
4417
4418
4419
4420
4421
4422
4423
# File 'lib/aws-sdk-apigateway/types.rb', line 4416

class RequestValidator < Struct.new(
  :id,
  :name,
  :validate_request_body,
  :validate_request_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of this RequestValidator

Returns:

  • (String)


4416
4417
4418
4419
4420
4421
4422
4423
# File 'lib/aws-sdk-apigateway/types.rb', line 4416

class RequestValidator < Struct.new(
  :id,
  :name,
  :validate_request_body,
  :validate_request_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#validate_request_bodyBoolean

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

Returns:

  • (Boolean)


4416
4417
4418
4419
4420
4421
4422
4423
# File 'lib/aws-sdk-apigateway/types.rb', line 4416

class RequestValidator < Struct.new(
  :id,
  :name,
  :validate_request_body,
  :validate_request_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#validate_request_parametersBoolean

A Boolean flag to indicate whether to validate request parameters (‘true`) or not (`false`).

Returns:

  • (Boolean)


4416
4417
4418
4419
4420
4421
4422
4423
# File 'lib/aws-sdk-apigateway/types.rb', line 4416

class RequestValidator < Struct.new(
  :id,
  :name,
  :validate_request_body,
  :validate_request_parameters)
  SENSITIVE = []
  include Aws::Structure
end