Class: Aws::APIGateway::Types::UpdateApiKeyRequest

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 UpdateApiKeyRequest data as a hash:

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

A request to change information about an ApiKey resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

The identifier of the ApiKey resource to be updated.

Returns:

  • (String)

6405
6406
6407
6408
6409
6410
# File 'lib/aws-sdk-apigateway/types.rb', line 6405

class UpdateApiKeyRequest < Struct.new(
  :api_key,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end

#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:


6405
6406
6407
6408
6409
6410
# File 'lib/aws-sdk-apigateway/types.rb', line 6405

class UpdateApiKeyRequest < Struct.new(
  :api_key,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end