You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::CreateApiKeyRequestWhen passing CreateApiKeyRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "String",
description: "String",
enabled: false,
generate_distinct_id: false,
value: "String",
stage_keys: [
{
rest_api_id: "String",
stage_name: "String",
},
],
customer_id: "String",
tags: {
"String" => "String",
},
}
Request to create an ApiKey resource.
Instance Attribute Summary collapseAn AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
The description of the ApiKey.
Specifies whether the ApiKey can be used by callers.
Specifies whether (true
) or not (false
) the key identifier is distinct from the created API key value.
The name of the ApiKey.
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
The key-value map of strings.
Specifies a value of the API key.
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
#description ⇒ StringThe description of the ApiKey.
#enabled ⇒ BooleanSpecifies whether the ApiKey can be used by callers.
#generate_distinct_id ⇒ BooleanSpecifies 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.
#tags ⇒ Hash<String,String>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.
Specifies a value of the API key.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4