Class: Aws::APIGateway::Types::UsagePlanKey

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

Overview

Represents a usage plan key to identify a plan customer.

<div class=“remarks” markdown=“1”> To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.

</div>

“ <div class=”seeAlso“ markdown=”1“>

Create and Use Usage Plans][1

</div>

[1]: docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The Id of a usage plan key.

Returns:

  • (String)


8195
8196
8197
8198
8199
8200
8201
8202
# File 'lib/aws-sdk-apigateway/types.rb', line 8195

class UsagePlanKey < Struct.new(
  :id,
  :type,
  :value,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of a usage plan key.

Returns:

  • (String)


8195
8196
8197
8198
8199
8200
8201
8202
# File 'lib/aws-sdk-apigateway/types.rb', line 8195

class UsagePlanKey < Struct.new(
  :id,
  :type,
  :value,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of a usage plan key. Currently, the valid key type is ‘API_KEY`.

Returns:

  • (String)


8195
8196
8197
8198
8199
8200
8201
8202
# File 'lib/aws-sdk-apigateway/types.rb', line 8195

class UsagePlanKey < Struct.new(
  :id,
  :type,
  :value,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value of a usage plan key.

Returns:

  • (String)


8195
8196
8197
8198
8199
8200
8201
8202
# File 'lib/aws-sdk-apigateway/types.rb', line 8195

class UsagePlanKey < Struct.new(
  :id,
  :type,
  :value,
  :name)
  SENSITIVE = []
  include Aws::Structure
end