Module Values_1.DescribeDeviceResponseSource

Describes the device.

Sourcetype nonrec t = {
  1. deviceArn : DeviceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the device.

    *)
  2. deviceName : Values_0.EntityName.t option;
    (*

    The unique identifier of the device.

    *)
  3. description : DeviceDescription.t option;
    (*

    A description of the device.

    *)
  4. deviceFleetName : Values_0.EntityName.t option;
    (*

    The name of the fleet the device belongs to.

    *)
  5. iotThingName : ThingName.t option;
    (*

    The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.

    *)
  6. registrationTime : Values_0.Timestamp.t option;
    (*

    The timestamp of the last registration or de-reregistration.

    *)
  7. latestHeartbeat : Values_0.Timestamp.t option;
    (*

    The last heartbeat received from the device.

    *)
  8. models : EdgeModels.t option;
    (*

    Models on the device.

    *)
  9. maxModels : Values_0.Integer.t option;
    (*

    The maximum number of models.

    *)
  10. nextToken : Values_0.NextToken.t option;
    (*

    The response from the last list when returning a list large enough to need tokening.

    *)
  11. agentVersion : Values_0.EdgeVersion.t option;
    (*

    Edge Manager agent version.

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFound of Values_0.ResourceNotFound.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval make : ?deviceArn:??? -> ?deviceName:??? -> ?description:??? -> ?deviceFleetName:??? -> ?iotThingName:??? -> ?registrationTime:??? -> ?latestHeartbeat:??? -> ?models:??? -> ?maxModels:??? -> ?nextToken:??? -> ?agentVersion:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFound of Values_0.ResourceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFound of Values_0.ResourceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `String of Values_0.EntityName.t | `Timestamp of Values_0.Timestamp.t ]) list ] list | `String of DeviceArn.t | `Timestamp of Values_0.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