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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#nameString

The name of the to-be-created RequestValidator.

Returns:

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)

    [Required] The string identifier of the associated RestApi.

#validate_request_bodyBoolean

A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

Returns:

  • (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_parametersBoolean

A Boolean flag to indicate whether to validate request parameters, true, or not false.

Returns:

  • (Boolean)

    A Boolean flag to indicate whether to validate request parameters, true, or not false.