Module Values.PutAssetModelInterfaceRelationshipResponseSource

Creates or updates an interface relationship between an asset model and an interface asset model. This operation applies an interface to an asset model.

Sourcetype nonrec t = {
  1. assetModelId : ID.t option;
    (*

    The ID of the asset model.

    *)
  2. interfaceAssetModelId : ID.t option;
    (*

    The ID of the interface asset model.

    *)
  3. assetModelArn : ARN.t option;
    (*

    The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

    *)
  4. assetModelStatus : AssetModelStatus.t option;
}
Sourcetype nonrec error = [
  1. | `ConflictingOperationException of ConflictingOperationException.t
  2. | `InternalFailureException of InternalFailureException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?assetModelId:??? -> ?interfaceAssetModelId:??? -> ?assetModelArn:??? -> ?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 | `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 | `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 * [> `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 ]
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