Values_0.CreateNotificationRequestSourceCreates a new notification to be delivered to specified recipients. Notifications can include localized content with links, and an optional expiration time. Recipients can be specified as individual user ARNs or instance ARNs to target all users in an instance.
type nonrec t = {instanceId : InstanceId.t;The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
*)expiresAt : Timestamp.t option;The timestamp when the notification should expire and no longer be displayed to users. If not specified, defaults to one week from creation.
*)recipients : RecipientList.t;A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Can include user ARNs or instance ARNs to target all users in an instance. Maximum of 200 recipients.
*)priority : ConfigurableNotificationPriority.t option;The priority level of the notification. Valid values are HIGH and LOW. High priority notifications are displayed above low priority notifications.
*)content : NotificationContent.t;The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale. Content supports links. Maximum 250 characters per locale.
*)predefinedNotificationId : NotificationId.t option;clientToken : ClientToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
*)}val make :
?expiresAt:??? ->
?priority:??? ->
?tags:??? ->
?predefinedNotificationId:??? ->
?clientToken:??? ->
instanceId:InstanceId.t ->
recipients:RecipientList.t ->
content:NotificationContent.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of ARN.t ] list
| `Map of
([> `Enum of string | `String of TagKey.t ]
* [> `String of LocalizedString.t ])
list
| `String of InstanceId.t
| `Timestamp of Timestamp.t ])
list ]