Values.CreateAssetModelCompositeModelResponseSourceCreates a custom composite model from specified property and hierarchy definitions. There are two types of custom composite models, inline and component-model-based. Use component-model-based custom composite models to define standard, reusable components. A component-model-based custom composite model consists of a name, a description, and the ID of the component model it references. A component-model-based custom composite model has no properties of its own; its referenced component model provides its associated properties to any created assets. For more information, see Custom composite models (Components) in the IoT SiteWise User Guide. Use inline custom composite models to organize the properties of an asset model. The properties of inline custom composite models are local to the asset model where they are included and can't be used to create multiple assets. To create a component-model-based model, specify the composedAssetModelId of an existing asset model with assetModelType of COMPONENT_MODEL. To create an inline model, specify the assetModelCompositeModelProperties and don't include an composedAssetModelId.
type nonrec t = {assetModelCompositeModelId : ID.t option;The ID of the composed asset model. You can use this ID when you call other IoT SiteWise APIs.
*)assetModelCompositeModelPath : AssetModelCompositeModelPath.t option;The path to the composite model listing the parent composite models.
*)assetModelStatus : AssetModelStatus.t option;}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
* [> `List of
[> `Structure of (string * [> `String of ID.t ]) 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 ])
list ]