Create Api Key
| apigateway_create_api_key | R Documentation |
Create an ApiKey resource¶
Description¶
Create an ApiKey resource.
Usage¶
apigateway_create_api_key(name, description, enabled,
generateDistinctId, value, stageKeys, customerId, tags)
Arguments¶
nameThe name of the ApiKey.
descriptionThe description of the ApiKey.
enabledSpecifies whether the ApiKey can be used by callers.
generateDistinctIdSpecifies 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.valueSpecifies a value of the API key.
stageKeysDEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
customerIdAn Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
tagsThe 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.
Value¶
A list with the following syntax:
list(
id = "string",
value = "string",
name = "string",
customerId = "string",
description = "string",
enabled = TRUE|FALSE,
createdDate = as.POSIXct(
"2015-01-01"
),
lastUpdatedDate = as.POSIXct(
"2015-01-01"
),
stageKeys = list(
"string"
),
tags = list(
"string"
)
)