Module Values.UpdateAssetRequestSource

Updates an asset's name. For more information, see Updating assets and models in the IoT SiteWise User Guide.

Sourcetype nonrec t = {
  1. assetId : CustomID.t;
    (*

    The ID of the asset to update. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.

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

    An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

    *)
  3. assetName : Name.t;
    (*

    A friendly name for the asset.

    *)
  4. clientToken : ClientToken.t option;
    (*

    A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

    *)
  5. assetDescription : Description.t option;
    (*

    A description for the asset.

    *)
}
Sourceval context_ : string
Sourceval make : ?assetExternalId:??? -> ?clientToken:??? -> ?assetDescription:??? -> assetId:CustomID.t -> assetName:Name.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CustomID.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