Skip to content

Update User Notification Status

connect_update_user_notification_status R Documentation

Updates the status of a notification for a specific user, such as marking it as read or hidden

Description

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.

Usage

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

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.

Value

An empty list.

Request syntax

svc$update_user_notification_status(
  InstanceId = "string",
  NotificationId = "string",
  UserId = "string",
  Status = "READ"|"UNREAD"|"HIDDEN",
  LastModifiedTime = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedRegion = "string"
)