Values.AssetModelCompositeModelDefinitionSourceContains a composite model definition in an asset model. This composite model definition is applied to all assets created from the asset model.
type nonrec t = {id : ID.t option;The ID to assign to the composite model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
*)externalId : ExternalId.t option;An external ID to assign to the composite model. The external ID must be unique among composite models within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
*)name : Name.t;The name of the composite model.
*)description : Description.t option;The description of the composite model.
*)type_ : Name.t;The type of the composite model. For alarm composite models, this type is AWS/ALARM.
*)properties : AssetModelPropertyDefinitions.t option;The asset property definitions for this composite model.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `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 ID.t ])
list ]