Module Values_1.CreateViewRequestSource

Creates a new view with the possible status of SAVED or PUBLISHED. The views will have a unique name for each connect instance. It performs basic content validation if the status is SAVED or full content validation if the status is set to PUBLISHED. An error is returned if validation fails. It associates either the $SAVED qualifier or both of the $SAVED and $LATEST qualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.

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. clientToken : ViewsClientToken.t option;
    (*

    A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.

    *)
  3. status : ViewStatus.t;
    (*

    Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.

    *)
  4. content : ViewInputContent.t;
    (*

    View content containing all content necessary to render a view except for runtime input data. The total uncompressed content has a maximum file size of 400kB.

    *)
  5. description : ViewDescription.t option;
    (*

    The description of the view.

    *)
  6. name : ViewName.t;
    (*

    The name of the view.

    *)
  7. tags : Values_0.TagMap.t option;
    (*

    The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?description:??? -> ?tags:??? -> instanceId:ViewsInstanceId.t -> status:ViewStatus.t -> content:ViewInputContent.t -> name:ViewName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of string ] * [> `String of string ]) list | `String of ViewsInstanceId.t | `Structure of (string * [> `List of [> `String of ViewAction.t ] list | `String of ViewTemplate.t ]) 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