Module Values_1.CreateViewVersionRequestSource

Publishes a new version of the view identifier. Versions are immutable and monotonically increasing. It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST alias.

Sourcetype nonrec t = {
  1. instanceId : ViewsInstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

    *)
  2. viewId : ViewId.t;
    (*

    The identifier of the view. Both ViewArn and ViewId can be used.

    *)
  3. versionDescription : ViewDescription.t option;
    (*

    The description for the version being published.

    *)
  4. viewContentSha256 : ViewContentSha256.t option;
    (*

    Indicates the checksum value of the latest published view content.

    *)
}
Sourceval context_ : string
Sourceval make : ?versionDescription:??? -> ?viewContentSha256:??? -> instanceId:ViewsInstanceId.t -> viewId:ViewId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ViewsInstanceId.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