Module Values.DescribeComputationModelResponseSource

Retrieves information about a computation model.

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

    The ID of the computation model.

    *)
  2. computationModelArn : ARN.t option;
    (*

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

    *)
  3. computationModelName : RestrictedName.t option;
    (*

    The name of the computation model.

    *)
  4. computationModelDescription : RestrictedDescription.t option;
    (*

    The description of the computation model.

    *)
  5. computationModelConfiguration : ComputationModelConfiguration.t option;
    (*

    The configuration for the computation model.

    *)
  6. computationModelDataBinding : ComputationModelDataBinding.t option;
    (*

    The data binding for the computation model. Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.

    *)
  7. computationModelCreationDate : Timestamp.t option;
    (*

    The model creation date, in Unix epoch time.

    *)
  8. computationModelLastUpdateDate : Timestamp.t option;
    (*

    The date the model was last updated, in Unix epoch time.

    *)
  9. computationModelStatus : ComputationModelStatus.t option;
    (*

    The current status of the asset model, which contains a state and an error message if any.

    *)
  10. computationModelVersion : Version.t option;
    (*

    The version of the computation model.

    *)
  11. actionDefinitions : ActionDefinitions.t option;
    (*

    The available actions for this computation model.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of InternalFailureException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?computationModelId:??? -> ?computationModelArn:??? -> ?computationModelName:??? -> ?computationModelDescription:??? -> ?computationModelConfiguration:??? -> ?computationModelDataBinding:??? -> ?computationModelCreationDate:??? -> ?computationModelLastUpdateDate:??? -> ?computationModelStatus:??? -> ?computationModelVersion:??? -> ?actionDefinitions:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.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 * [> `List of [> `Structure of (string * [> `String of ID.t ]) list ] list | `Map of ([> `String of ComputationModelDataBindingVariable.t ] * Awso.Botodata.value) 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 InputProperties.t ]) list ]) list | `Timestamp of Timestamp.t ]) 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