Module Values.DescribeAssetPropertyResponseSource

Retrieves information about an asset property. When you call this operation for an attribute property, this response includes the default attribute value that you define in the asset model. If you update the default value in the model, this operation's response includes the new default value. This operation doesn't return the value of the asset property. To get the value of an asset property, use GetAssetPropertyValue.

Sourcetype nonrec t = {
  1. assetId : ID.t option;
    (*

    The ID of the asset, in UUID format.

    *)
  2. assetExternalId : ExternalId.t option;
    (*

    The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.

    *)
  3. assetName : Name.t option;
    (*

    The name of the asset.

    *)
  4. assetModelId : ID.t option;
    (*

    The ID of the asset model, in UUID format.

    *)
  5. assetProperty : Property.t option;
    (*

    The asset property's definition, alias, and notification state. This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in compositeModel.

    *)
  6. compositeModel : CompositeModelProperty.t option;
    (*

    The composite model that declares this asset property, if this asset property exists in a composite model.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of InternalFailureException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?assetId:??? -> ?assetExternalId:??? -> ?assetName:??? -> ?assetModelId:??? -> ?assetProperty:??? -> ?compositeModel:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ID.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of ID.t ]) list ] list | `String of ID.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of ID.t ]) list ] list | `String of PropertyNotificationTopic.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of VariableName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of ID.t ]) list ] list | `String of Macro.t ]) list ]) list ] list | `String of DefaultValue.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of VariableName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of ID.t ]) list ] list | `String of Macro.t ]) list ]) list ] list | `String of DefaultValue.t | `Structure of (string * [> `Enum of string | `String of Interval.t | `Structure of (string * [> `Enum of string | `String of Interval.t ]) list ]) list ]) list ]) list ]) list ]) 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