Module Values.UpdateAssetModelResponseSource

Updates 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.

Sourcetype nonrec t = {
  1. assetModelStatus : AssetModelStatus.t option;
    (*

    The status of the asset model, which contains a state (UPDATING after successfully calling this operation) and any error message.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictingOperationException of ConflictingOperationException.t
  2. | `InternalFailureException of InternalFailureException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `PreconditionFailedException of PreconditionFailedException.t
  6. | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
  7. | `ResourceNotFoundException of ResourceNotFoundException.t
  8. | `ThrottlingException of ThrottlingException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?assetModelStatus:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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