Updates the specified properties of a given API key resource
Source:R/locationservice_operations.R
locationservice_update_key.RdUpdates the specified properties of a given API key resource.
See https://www.paws-r-sdk.com/docs/locationservice_update_key/ for full documentation.
Usage
locationservice_update_key(
KeyName,
Description = NULL,
ExpireTime = NULL,
NoExpiry = NULL,
ForceUpdate = NULL,
Restrictions = NULL
)Arguments
- KeyName
[required] The name of the API key resource to update.
- Description
Updates the description for the API key resource.
- ExpireTime
Updates the timestamp for when the API key resource will expire in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.- NoExpiry
Whether the API key should expire. Set to
trueto set the API key to have no expiration time.- ForceUpdate
The boolean flag to be included for updating
ExpireTimeorRestrictionsdetails.Must be set to
trueto update an API key resource that has been used in the past 7 days.Falseif force update is not preferredDefault value:
False- Restrictions
Updates the API key restrictions for the API key resource.