Module Values.AssetModelSummarySource

Contains a summary of an asset model.

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

    The ID of the asset model (used with IoT SiteWise API operations).

    *)
  2. externalId : ExternalId.t option;
    (*

    The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

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

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

    *)
  4. name : Name.t option;
    (*

    The name of the asset model.

    *)
  5. assetModelType : AssetModelType.t option;
    (*

    The type of asset model. 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.

    *)
  6. description : Description.t option;
    (*

    The asset model description.

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

    The date the asset model was created, in Unix epoch time.

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

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

    *)
  9. status : AssetModelStatus.t option;
    (*

    The current status of the asset model.

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

    The version number of the asset model.

    *)
}
Sourceval make : ?id:??? -> ?externalId:??? -> ?arn:??? -> ?name:??? -> ?assetModelType:??? -> ?description:??? -> ?creationDate:??? -> ?lastUpdateDate:??? -> ?status:??? -> ?version:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum 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 | `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