Class: Aws::APIGateway::Types::CreateUsagePlanKeyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CreateUsagePlanKeyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
When making an API call, you may pass CreateUsagePlanKeyRequest data as a hash:
{
usage_plan_id: "String", # required
key_id: "String", # required
key_type: "String", # required
}
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
-
#key_id ⇒ String
[Required] The identifier of a UsagePlanKey resource for a plan customer.
-
#key_type ⇒ String
[Required] The type of a UsagePlanKey resource for a plan customer.
-
#usage_plan_id ⇒ String
[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
Instance Attribute Details
#key_id ⇒ String
[Required] The identifier of a UsagePlanKey resource for a plan customer.
1496 1497 1498 1499 1500 1501 1502 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1496 class CreateUsagePlanKeyRequest < Struct.new( :usage_plan_id, :key_id, :key_type) SENSITIVE = [] include Aws::Structure end |
#key_type ⇒ String
[Required] The type of a UsagePlanKey resource for a plan customer.
1496 1497 1498 1499 1500 1501 1502 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1496 class CreateUsagePlanKeyRequest < Struct.new( :usage_plan_id, :key_id, :key_type) SENSITIVE = [] include Aws::Structure end |
#usage_plan_id ⇒ String
[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
1496 1497 1498 1499 1500 1501 1502 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1496 class CreateUsagePlanKeyRequest < Struct.new( :usage_plan_id, :key_id, :key_type) SENSITIVE = [] include Aws::Structure end |