Values.CreateAssetResponseSourceCreates an asset from an existing asset model. For more information, see Creating assets in the IoT SiteWise User Guide.
type nonrec t = {assetId : ID.t option;The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
*)assetArn : ARN.t option;The ARN of the asset, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*)assetStatus : AssetStatus.t option;The status of the asset, 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 ]