Module Values.DescribeKeyResponseSource

Retrieves the API key resource details. For more information, see Use API keys to authenticate in the Amazon Location Service Developer Guide.

Sourcetype nonrec t = {
  1. key : ApiKey.t option;
    (*

    The key value/string of an API key.

    *)
  2. 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

    *)
  3. keyName : ResourceName.t option;
    (*

    The name of the API key resource.

    *)
  4. restrictions : ApiKeyRestrictions.t option;
  5. createTime : Timestamp.t option;
    (*

    The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    *)
  6. expireTime : Timestamp.t option;
    (*

    The timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    *)
  7. 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.

    *)
  8. description : ResourceDescription.t option;
    (*

    The optional description for the API key resource.

    *)
  9. tags : TagMap.t option;
    (*

    Tags associated with the API key resource.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?key:??? -> ?keyArn:??? -> ?keyName:??? -> ?restrictions:??? -> ?createTime:??? -> ?expireTime:??? -> ?updateTime:??? -> ?description:??? -> ?tags:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t