CmdID / aws / aws location
aws location update-key
Updates the specified properties of a given API key resource. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--descriptionUpdates the description for the API key resource.--expire-timeUpdates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.--force-updateThe boolean flag to be included for updating ExpireTime or Restrictions details.--key-nameThe name of the API key resource to update.--no-expiryWhether the API key should expire.--restrictionsUpdates the API key restrictions for the API key resource.