Module Values_0.CreateNotificationRequestSource

Creates 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.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. 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.

    *)
  3. 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.

    *)
  4. 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.

    *)
  5. 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.

    *)
  6. tags : TagMap.t option;
    (*

    The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

    *)
  7. predefinedNotificationId : NotificationId.t option;
  8. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?expiresAt:??? -> ?priority:??? -> ?tags:??? -> ?predefinedNotificationId:??? -> ?clientToken:??? -> instanceId:InstanceId.t -> recipients:RecipientList.t -> content:NotificationContent.t -> unit -> t
Sourceval 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 ]
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