Class: Aws::APIGateway::Types::ApiKey
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::ApiKey
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.
<div class=“seeAlso”>
- Use API Keys][1
-
</div>
[1]: docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html
Instance Attribute Summary collapse
-
#created_date ⇒ Time
The timestamp when the API Key was created.
-
#customer_id ⇒ String
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
-
#description ⇒ String
The description of the API Key.
-
#enabled ⇒ Boolean
Specifies whether the API Key can be used by callers.
-
#id ⇒ String
The identifier of the API Key.
-
#last_updated_date ⇒ Time
The timestamp when the API Key was last updated.
-
#name ⇒ String
The name of the API Key.
-
#stage_keys ⇒ Array<String>
A list of Stage resources that are associated with the ApiKey resource.
-
#value ⇒ String
The value of the API Key.
Instance Attribute Details
#created_date ⇒ Time
The timestamp when the API Key was created.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |
#customer_id ⇒ String
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |
#description ⇒ String
The description of the API Key.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |
#enabled ⇒ Boolean
Specifies whether the API Key can be used by callers.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |
#id ⇒ String
The identifier of the API Key.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |
#last_updated_date ⇒ Time
The timestamp when the API Key was last updated.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |
#name ⇒ String
The name of the API Key.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |
#stage_keys ⇒ Array<String>
A list of Stage resources that are associated with the ApiKey resource.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |
#value ⇒ String
The value of the API Key.
155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/aws-sdk-apigateway/types.rb', line 155 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys) include Aws::Structure end |