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

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

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 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.

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

The identifier of the ApiKey resource to be updated.

Returns:

  • (String)


5854
5855
5856
5857
5858
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 5854

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

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



5854
5855
5856
5857
5858
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 5854

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