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

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

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:



6648
6649
6650
6651
6652
# File 'lib/aws-sdk-apigateway/types.rb', line 6648

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

#usage_plan_idString

The Id of the to-be-updated usage plan.

Returns:

  • (String)


6648
6649
6650
6651
6652
# File 'lib/aws-sdk-apigateway/types.rb', line 6648

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