Class: Aws::APIGateway::Types::ApiKey
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::ApiKey
- Defined in:
- gems/aws-sdk-apigateway/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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#created_date ⇒ Time
The timestamp when the API Key was created.
-
#customer_id ⇒ String
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services 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.
-
#tags ⇒ Hash<String,String>
The collection of tags.
-
#value ⇒ String
The value of the API Key.
Instance Attribute Details
#created_date ⇒ Time
The timestamp when the API Key was created.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#customer_id ⇒ String
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the API Key.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#enabled ⇒ Boolean
Specifies whether the API Key can be used by callers.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The identifier of the API Key.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#last_updated_date ⇒ Time
The timestamp when the API Key was last updated.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the API Key.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#stage_keys ⇒ Array<String>
A list of Stage resources that are associated with the ApiKey resource.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The collection of tags. Each tag element is associated with a given resource.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value of the API Key.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 112 class ApiKey < Struct.new( :id, :value, :name, :customer_id, :description, :enabled, :created_date, :last_updated_date, :stage_keys, :tags) SENSITIVE = [] include Aws::Structure end |