class
Amazonite::ApiGateway::CreateApiKeyRequest
- Amazonite::ApiGateway::CreateApiKeyRequest
- Reference
- Object
Overview
Request to create an ApiKey resource.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/create_api_key_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String | Nil = nil, description : String | Nil = nil, enabled : Bool | Nil = nil, generate_distinct_id : Bool | Nil = nil, value : String | Nil = nil, stage_keys : Array(StageKey) | Nil = nil, customer_id : String | Nil = nil, tags : Hash(String, String) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#customer_id : String | Nil
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
-
#customer_id=(customer_id : String | Nil)
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
-
#description : String | Nil
The description of the ApiKey.
-
#description=(description : String | Nil)
The description of the ApiKey.
-
#enabled : Bool | Nil
Specifies whether the ApiKey can be used by callers.
-
#enabled=(enabled : Bool | Nil)
Specifies whether the ApiKey can be used by callers.
-
#generate_distinct_id : Bool | Nil
Specifies whether (
true) or not (false) the key identifier is distinct from the created API key value. -
#generate_distinct_id=(generate_distinct_id : Bool | Nil)
Specifies whether (
true) or not (false) the key identifier is distinct from the created API key value. -
#hash(hasher)
See
Object#hash(hasher) -
#name : String | Nil
The name of the ApiKey.
-
#name=(name : String | Nil)
The name of the ApiKey.
-
#stage_keys : Array(StageKey) | Nil
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
-
#stage_keys=(stage_keys : Array(StageKey) | Nil)
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
-
#tags : Hash(String, String) | Nil
The key-value map of strings.
-
#tags=(tags : Hash(String, String) | Nil)
The key-value map of strings.
- #validate! : Nil
-
#value : String | Nil
Specifies a value of the API key.
-
#value=(value : String | Nil)
Specifies a value of the API key.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
Specifies whether (true) or not (false) the key identifier is distinct from the created API
key value. This parameter is deprecated and should not be used.
Specifies whether (true) or not (false) the key identifier is distinct from the created API
key value. This parameter is deprecated and should not be used.
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up
to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up
to 128 characters and must not start with aws:. The tag value can be up to 256 characters.