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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#key_idString

The Id of the UsagePlanKey resource to be deleted.

Returns:

  • (String)


1708
1709
1710
1711
1712
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 1708

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

#usage_plan_idString

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

Returns:

  • (String)


1708
1709
1710
1711
1712
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 1708

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