You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

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 'gems/aws-sdk-apigateway/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 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 6648

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