Class: Aws::APIGateway::Types::UpdateUsageRequest

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

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

The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_idString

The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.

Returns:

  • (String)

7241
7242
7243
7244
7245
7246
7247
# File 'lib/aws-sdk-apigateway/types.rb', line 7241

class UpdateUsageRequest < Struct.new(
  :usage_plan_id,
  :key_id,
  :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:


7241
7242
7243
7244
7245
7246
7247
# File 'lib/aws-sdk-apigateway/types.rb', line 7241

class UpdateUsageRequest < Struct.new(
  :usage_plan_id,
  :key_id,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end

#usage_plan_idString

The Id of the usage plan associated with the usage data.

Returns:

  • (String)

7241
7242
7243
7244
7245
7246
7247
# File 'lib/aws-sdk-apigateway/types.rb', line 7241

class UpdateUsageRequest < Struct.new(
  :usage_plan_id,
  :key_id,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end