Values.UpdateAssetModelCompositeModelRequestSourceUpdates a composite model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models in the IoT SiteWise User Guide. If you remove a property from a composite asset model, IoT SiteWise deletes all previous data for that property. You can’t change the type or data type of an existing property. To replace an existing composite asset model property with a new one with the same name, do the following: Submit an UpdateAssetModelCompositeModel request with the entire existing property removed. Submit a second UpdateAssetModelCompositeModel request that includes the new property. The new asset property will have the same name as the previous one and IoT SiteWise will generate a new unique id.
type nonrec t = {assetModelId : CustomID.t;The ID of the asset model, in UUID format.
*)assetModelCompositeModelId : CustomID.t;The ID of a composite model on this asset model.
*)assetModelCompositeModelExternalId : ExternalId.t option;An external ID to assign to the asset model. You can only set the external ID of the asset model if it wasn't set when it was created, or you're setting it to the exact same thing as when it was created.
*)assetModelCompositeModelDescription : Description.t option;A description for the composite model.
*)assetModelCompositeModelName : Name.t;A unique name for the composite model.
*)clientToken : ClientToken.t option;A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
*)assetModelCompositeModelProperties : AssetModelProperties.t option;The property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide. You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.
*)ifMatch : ETag.t option;The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The update request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.
*)ifNoneMatch : SelectAll.t option;Accepts * to reject the update request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.
*)matchForVersionType : AssetModelVersionType.t option;Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the update operation.
*)}val make :
?assetModelCompositeModelExternalId:??? ->
?assetModelCompositeModelDescription:??? ->
?clientToken:??? ->
?assetModelCompositeModelProperties:??? ->
?ifMatch:??? ->
?ifNoneMatch:??? ->
?matchForVersionType:??? ->
assetModelId:CustomID.t ->
assetModelCompositeModelId:CustomID.t ->
assetModelCompositeModelName:Name.t ->
unit ->
tval to_value :
t ->
[> `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 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 CustomID.t ])
list ]