Values.DescribeAssetModelResponseSourceRetrieves information about an asset model. This includes details about the asset model's properties, hierarchies, composite models, and any interface relationships if the asset model implements interfaces.
type nonrec t = {assetModelId : ID.t option;The ID of the asset model, in UUID format.
*)assetModelExternalId : ExternalId.t option;The external ID of the asset model, if any.
*)assetModelArn : ARN.t option;The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
*)assetModelName : Name.t option;The name of the asset model.
*)assetModelType : AssetModelType.t option;The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
*)assetModelDescription : Description.t option;The asset model's description.
*)assetModelProperties : AssetModelProperties.t option;The list of asset properties for the asset model. This object doesn't include properties that you define in composite models. You can find composite model properties in the assetModelCompositeModels object.
*)assetModelHierarchies : AssetModelHierarchies.t option;A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.
*)assetModelCompositeModels : AssetModelCompositeModels.t option;The list of built-in composite models for the asset model, such as those with those of type AWS/ALARMS.
*)assetModelCompositeModelSummaries : AssetModelCompositeModelSummaries.t option;The list of the immediate child custom composite model summaries for the asset model.
*)assetModelCreationDate : Timestamp.t option;The date the asset model was created, in Unix epoch time.
*)assetModelLastUpdateDate : Timestamp.t option;The date the asset model was last updated, in Unix epoch time.
*)assetModelStatus : AssetModelStatus.t option;The current status of the asset model, which contains a state and any error message.
*)assetModelVersion : Version.t option;The version of the asset model. See Asset model versions in the IoT SiteWise User Guide.
*)interfaceDetails : InterfaceDetails.t option;A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings.
*)eTag : ETag.t option;The entity tag (ETag) is a hash of the retrieved version of the asset model. It's used to make concurrent updates safely to the resource. See Optimistic locking for asset model writes in the IoT SiteWise User Guide. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.
*)}type nonrec error = [ | `InternalFailureException of InternalFailureException.t| `InvalidRequestException of InvalidRequestException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val make :
?assetModelId:??? ->
?assetModelExternalId:??? ->
?assetModelArn:??? ->
?assetModelName:??? ->
?assetModelType:??? ->
?assetModelDescription:??? ->
?assetModelProperties:??? ->
?assetModelHierarchies:??? ->
?assetModelCompositeModels:??? ->
?assetModelCompositeModelSummaries:??? ->
?assetModelCreationDate:??? ->
?assetModelLastUpdateDate:??? ->
?assetModelStatus:??? ->
?assetModelVersion:??? ->
?interfaceDetails:??? ->
?eTag:??? ->
unit ->
tval 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 ]val 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 ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `String of ID.t ]) list ]
list
| `String of ID.t
| `Structure of
(string
* [> `Structure 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
| `Structure of
(string
* [> `Enum of string
| `String of Interval.t ])
list ])
list ])
list ])
list ])
list ]
list
| `String of CustomID.t
| `Structure of
(string
* [> `Structure 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
| `Structure of
(string
* [> `Enum of string
| `String of Interval.t ])
list ])
list ])
list ])
list ])
list ]
list
| `String of ID.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of DetailedErrorMessage.t ])
list ]
list
| `String of ErrorMessage.t ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]