CreateNotificationRequest
¶
Source code in docs_src/capo_connect/types/create_notification_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
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.
content
instance-attribute
¶
content: NotificationContent
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.
expires_at
instance-attribute
¶
expires_at: NotRequired[Timestamp]
The timestamp when the notification should expire and no longer be displayed to users. If not specified, defaults to one week from creation.
instance_id
instance-attribute
¶
instance_id: InstanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
predefined_notification_id
instance-attribute
¶
predefined_notification_id: NotRequired[NotificationId]
priority
instance-attribute
¶
priority: NotRequired[ConfigurableNotificationPriority]
The priority level of the notification. Valid values are HIGH and LOW. High priority notifications are displayed above low priority notifications.
recipients
instance-attribute
¶
recipients: RecipientList
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.