Class: Aws::APIGateway::Types::CreateUsagePlanKeyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

The POST request to create a usage plan key for adding an existing API key to a usage plan.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_idString

The identifier of a UsagePlanKey resource for a plan customer.

Returns:

  • (String)


1175
1176
1177
1178
1179
1180
1181
# File 'lib/aws-sdk-apigateway/types.rb', line 1175

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

#key_typeString

The type of a UsagePlanKey resource for a plan customer.

Returns:

  • (String)


1175
1176
1177
1178
1179
1180
1181
# File 'lib/aws-sdk-apigateway/types.rb', line 1175

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

#usage_plan_idString

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

Returns:

  • (String)


1175
1176
1177
1178
1179
1180
1181
# File 'lib/aws-sdk-apigateway/types.rb', line 1175

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