Class: Aws::APIGateway::Types::UpdateUsageRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::UpdateUsageRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
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.
Instance Attribute Summary collapse
-
#key_id ⇒ String
The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
-
#patch_operations ⇒ Array<Types::PatchOperation>
A list of update operations to be applied to the specified resource and in the order specified in this list.
-
#usage_plan_id ⇒ String
The Id of the usage plan associated with the usage data.
Instance Attribute Details
#key_id ⇒ String
The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
6687 6688 6689 6690 6691 6692 |
# File 'lib/aws-sdk-apigateway/types.rb', line 6687 class UpdateUsageRequest < Struct.new( :usage_plan_id, :key_id, :patch_operations) include Aws::Structure end |
#patch_operations ⇒ Array<Types::PatchOperation>
A list of update operations to be applied to the specified resource and in the order specified in this list.
6687 6688 6689 6690 6691 6692 |
# File 'lib/aws-sdk-apigateway/types.rb', line 6687 class UpdateUsageRequest < Struct.new( :usage_plan_id, :key_id, :patch_operations) include Aws::Structure end |
#usage_plan_id ⇒ String
The Id of the usage plan associated with the usage data.
6687 6688 6689 6690 6691 6692 |
# File 'lib/aws-sdk-apigateway/types.rb', line 6687 class UpdateUsageRequest < Struct.new( :usage_plan_id, :key_id, :patch_operations) include Aws::Structure end |