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

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


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

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)


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

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