You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::APIGateway::Types::UpdateRequestValidatorRequest

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

Overview

Note:

When making an API call, you may pass UpdateRequestValidatorRequest data as a hash:

{
  rest_api_id: "String", # required
  request_validator_id: "String", # required
  patch_operations: [
    {
      op: "add", # accepts add, remove, replace, move, copy, test
      path: "String",
      value: "String",
      from: "String",
    },
  ],
}

Updates a RequestValidator of a given RestApi.

Instance Attribute Summary collapse

Instance Attribute Details

#patch_operationsArray<Types::PatchOperation>

A list of update operations to be applied to the specified resource and in the order specified in this list.

Returns:



6434
6435
6436
6437
6438
6439
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6434

class UpdateRequestValidatorRequest < Struct.new(
  :rest_api_id,
  :request_validator_id,
  :patch_operations)
  include Aws::Structure
end

#request_validator_idString

[Required] The identifier of RequestValidator to be updated.

Returns:

  • (String)


6434
6435
6436
6437
6438
6439
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6434

class UpdateRequestValidatorRequest < Struct.new(
  :rest_api_id,
  :request_validator_id,
  :patch_operations)
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


6434
6435
6436
6437
6438
6439
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6434

class UpdateRequestValidatorRequest < Struct.new(
  :rest_api_id,
  :request_validator_id,
  :patch_operations)
  include Aws::Structure
end