Module Values_1.DescribeThingResponseSource

The output from the DescribeThing operation.

Sourcetype nonrec t = {
  1. defaultClientId : Values_0.ClientId.t option;
    (*

    The default MQTT client ID. For a typical device, the thing name is also used as the default MQTT client ID. Although we donโ€™t require a mapping between a thing's registry name and its use of MQTT client IDs, certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID for the registry and the Device Shadow service. This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.

    *)
  2. thingName : Values_0.ThingName.t option;
    (*

    The name of the thing.

    *)
  3. thingId : Values_0.ThingId.t option;
    (*

    The ID of the thing to describe.

    *)
  4. thingArn : Values_0.ThingArn.t option;
    (*

    The ARN of the thing to describe.

    *)
  5. thingTypeName : Values_0.ThingTypeName.t option;
    (*

    The thing type name.

    *)
  6. attributes : Values_0.Attributes.t option;
    (*

    The thing attributes.

    *)
  7. version : Values_0.Version.t option;
    (*

    The current version of the thing record in the registry. To avoid unintentional changes to the information in the registry, you can pass the version information in the expectedVersion parameter of the UpdateThing and DeleteThing calls.

    *)
  8. billingGroupName : Values_0.BillingGroupName.t option;
    (*

    The name of the billing group the thing belongs to.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of Values_0.InternalFailureException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  4. | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t
  5. | `ThrottlingException of Values_0.ThrottlingException.t
  6. | `UnauthorizedException of Values_0.UnauthorizedException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?defaultClientId:??? -> ?thingName:??? -> ?thingId:??? -> ?thingArn:??? -> ?thingTypeName:??? -> ?attributes:??? -> ?version:??? -> ?billingGroupName:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Values_0.Version.t | `Map of ([> `String of string ] * [> `String of string ]) list | `String of Values_0.ClientId.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