Module Values.AdminGetDeviceResponseSource

Gets the device response, as an administrator.

Sourcetype nonrec t = {
  1. device : DeviceType.t option;
    (*

    Details of the requested device. Includes device information, last-accessed and created dates, and the device key.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalErrorException of InternalErrorException.t
  2. | `InvalidParameterException of InvalidParameterException.t
  3. | `InvalidUserPoolConfigurationException of InvalidUserPoolConfigurationException.t
  4. | `NotAuthorizedException of NotAuthorizedException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `TooManyRequestsException of TooManyRequestsException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?device:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalErrorException of InternalErrorException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidUserPoolConfigurationException of InvalidUserPoolConfigurationException.t | `NotAuthorizedException of NotAuthorizedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalErrorException of InternalErrorException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidUserPoolConfigurationException of InvalidUserPoolConfigurationException.t | `NotAuthorizedException of NotAuthorizedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of AttributeNameType.t ]) list ] list | `String of DeviceKeyType.t | `Timestamp of DateType.t ]) list ]) 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