Module Values_2.UpdateUserNotificationStatusRequestSource

Updates the status of a notification for a specific user, such as marking it as read or hidden. Users can only update notification status for notifications that have been sent to them. READ status deprioritizes the notification and greys it out, while HIDDEN status removes it from the notification widget.

Sourcetype nonrec t = {
  1. instanceId : Values_0.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. notificationId : Values_0.NotificationId.t;
    (*

    The unique identifier for the notification.

    *)
  3. userId : Values_0.UserId.t;
    (*

    The identifier of the user whose notification status is being updated.

    *)
  4. status : NotificationStatus.t;
    (*

    The new status for the notification. Valid values are READ, UNREAD, and HIDDEN.

    *)
  5. lastModifiedTime : Values_0.Timestamp.t option;
    (*

    The timestamp when the notification status was last modified. Used for cross-region replication and optimistic locking.

    *)
  6. lastModifiedRegion : Values_0.RegionName.t option;
    (*

    The AWS Region where the notification status was last modified. Used for cross-region replication.

    *)
}
Sourceval context_ : string
Sourceval make : ?lastModifiedTime:??? -> ?lastModifiedRegion:??? -> instanceId:Values_0.InstanceId.t -> notificationId:Values_0.NotificationId.t -> userId:Values_0.UserId.t -> status:NotificationStatus.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.InstanceId.t | `Timestamp of Values_0.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