Values.CreateAssetModelResponseSourceCreates an asset model from specified property and hierarchy definitions. You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the IoT SiteWise User Guide. You can create three types of asset models, ASSET_MODEL, COMPONENT_MODEL, or an INTERFACE. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. INTERFACE – An interface is a type of model that defines a standard structure that can be applied to different asset models.
type nonrec t = {assetModelId : ID.t option;The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
*)assetModelArn : ARN.t option;The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
*)assetModelStatus : AssetModelStatus.t option;The status of the asset model, which contains a state (CREATING 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| `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
| `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
| `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
* [> `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 ]