Values_1.CreateViewRequestSourceCreates 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.
type nonrec t = {instanceId : ViewsInstanceId.t;The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
*)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.
*)status : ViewStatus.t;Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
*)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.
*)description : ViewDescription.t option;The description of the view.
*)name : ViewName.t;The name of the view.
*)}val make :
?clientToken:??? ->
?description:??? ->
?tags:??? ->
instanceId:ViewsInstanceId.t ->
status:ViewStatus.t ->
content:ViewInputContent.t ->
name:ViewName.t ->
unit ->
tval 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 ]