Class: Aws::APIGateway::Types::DeleteUsagePlanKeyRequest

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

{
  usage_plan_id: "String", # required
  key_id: "String", # required
}

The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_idString

[Required] The Id of the UsagePlanKey resource to be deleted.

Returns:

  • (String)


2120
2121
2122
2123
2124
2125
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2120

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

#usage_plan_idString

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

Returns:

  • (String)


2120
2121
2122
2123
2124
2125
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2120

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