Class: Aws::APIGateway::Types::UpdateUsagePlanRequest

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

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

The PATCH request to update a usage plan of a given plan Id.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

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



7958
7959
7960
7961
7962
7963
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 7958

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

#usage_plan_idString

[Required] The Id of the to-be-updated usage plan.

Returns:

  • (String)


7958
7959
7960
7961
7962
7963
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 7958

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