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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#patch_operationsArray<Types::PatchOperation>

For more information about supported patch operations, see [Patch Operations].

[1]: docs.aws.amazon.com/apigateway/latest/api/patch-operations.html

Returns:


7036
7037
7038
7039
7040
7041
7042
# File 'lib/aws-sdk-apigateway/types.rb', line 7036

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

#request_validator_idString

The identifier of RequestValidator to be updated.

Returns:

  • (String)

7036
7037
7038
7039
7040
7041
7042
# File 'lib/aws-sdk-apigateway/types.rb', line 7036

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

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)

7036
7037
7038
7039
7040
7041
7042
# File 'lib/aws-sdk-apigateway/types.rb', line 7036

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