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>

For more information about supported patch operations, see Patch Operations.

Returns:



7197
7198
7199
7200
7201
7202
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 7197

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

#usage_plan_idString

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

Returns:

  • (String)


7197
7198
7199
7200
7201
7202
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 7197

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