Values.UpdateAssetModelResponseSourceUpdates an asset 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 an 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 asset model property with a new one with the same name, do the following: Submit an UpdateAssetModel request with the entire existing property removed. Submit a second UpdateAssetModel 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 = {assetModelStatus : AssetModelStatus.t option;The status of the asset model, which contains a state (UPDATING after successfully calling this operation) and any error message.
*)}type nonrec error = [ | `ConflictingOperationException of ConflictingOperationException.t| `InternalFailureException of InternalFailureException.t| `InvalidRequestException of InvalidRequestException.t| `LimitExceededException of LimitExceededException.t| `PreconditionFailedException of PreconditionFailedException.t| `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ConflictingOperationException of ConflictingOperationException.t
| `InternalFailureException of InternalFailureException.t
| `InvalidRequestException of InvalidRequestException.t
| `LimitExceededException of LimitExceededException.t
| `PreconditionFailedException of PreconditionFailedException.t
| `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ConflictingOperationException of ConflictingOperationException.t
| `InternalFailureException of InternalFailureException.t
| `InvalidRequestException of InvalidRequestException.t
| `LimitExceededException of LimitExceededException.t
| `PreconditionFailedException of PreconditionFailedException.t
| `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `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 ])
list ]