Values.DescribeKeyResponseSourceRetrieves the API key resource details. For more information, see Use API keys to authenticate in the Amazon Location Service Developer Guide.
type nonrec t = {key : ApiKey.t option;The key value/string of an API key.
*)keyArn : Arn.t option;The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services. Format example: arn:aws:geo:region:account-id:key/ExampleKey
*)keyName : ResourceName.t option;The name of the API key resource.
*)restrictions : ApiKeyRestrictions.t option;createTime : Timestamp.t option;The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
*)expireTime : Timestamp.t option;The timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
*)updateTime : Timestamp.t option;The timestamp for when the API key resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
*)description : ResourceDescription.t option;The optional description for the API key resource.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of ApiKey.t
| `Structure of
(string
* [> `List of
[> `String of ApiKeyAction.t
| `Structure of
(string * [> `String of AndroidPackageName.t ]) list ]
list ])
list
| `Timestamp of Timestamp.t ])
list ]