Skip to contents

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.

See https://www.paws-r-sdk.com/docs/connect_update_user_notification_status/ for full documentation.

Usage

connect_update_user_notification_status(
  InstanceId,
  NotificationId,
  UserId,
  Status,
  LastModifiedTime = NULL,
  LastModifiedRegion = NULL
)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

NotificationId

[required] The unique identifier for the notification.

UserId

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

Status

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

LastModifiedTime

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

LastModifiedRegion

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