Amazon Connect Service

2026/02/13 - Amazon Connect Service - 8 new api methods

Changes  API release for headerr notifications in the admin website. APIs allow customers to publish brief messages (including URLs) to a specified audience, and a new header icon will indicate when unread messages are available.

CreateNotification (new) Link ¶

Creates a new notification to be delivered to specified recipients. Notifications can include localized content with embedded links, and an optional expiration time. Recipients can be specified as individual user ARNs or instance ARNs to target all users in an instance.

See also: AWS API Documentation

Request Syntax

client.create_notification(
    InstanceId='string',
    ExpiresAt=datetime(2015, 1, 1),
    Recipients=[
        'string',
    ],
    Priority='HIGH'|'LOW',
    Content={
        'string': 'string'
    },
    Tags={
        'string': 'string'
    },
    PredefinedNotificationId='string',
    ClientToken='string'
)
type InstanceId:

string

param InstanceId:

[REQUIRED]

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

type ExpiresAt:

datetime

param ExpiresAt:

The timestamp when the notification should expire and no longer be displayed to users. If not specified, defaults to one week from creation.

type Recipients:

list

param Recipients:

[REQUIRED]

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.

  • (string) --

type Priority:

string

param Priority:

The priority level of the notification. Valid values are HIGH and LOW. High priority notifications are displayed above low priority notifications.

type Content:

dict

param Content:

[REQUIRED]

The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale. Content supports markdown formatting and embedded links. Maximum 250 characters per locale.

  • (string) --

    The locale code for localized content. Supported values include en_US, de_DE, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, and zh_TW.

    • (string) --

      A localized string value. Maximum length is 500 characters.

type Tags:

dict

param Tags:

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

  • (string) --

    • (string) --

type PredefinedNotificationId:

string

param PredefinedNotificationId:

The unique identifier for a notification.

type ClientToken:

string

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

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'NotificationId': 'string',
    'NotificationArn': 'string'
}

Response Structure

  • (dict) --

    • NotificationId (string) --

      The unique identifier assigned to the created notification.

    • NotificationArn (string) --

      The Amazon Resource Name (ARN) of the created notification.

ListUserNotifications (new) Link ¶

Retrieves a paginated list of notifications for a specific user, including the notification status for that user.

See also: AWS API Documentation

Request Syntax

client.list_user_notifications(
    InstanceId='string',
    NextToken='string',
    MaxResults=123,
    UserId='string'
)
type InstanceId:

string

param InstanceId:

[REQUIRED]

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

type NextToken:

string

param NextToken:

The token for the next set of results. Use the value returned in the previous response to retrieve the next page of results.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return per page. Valid range is 1-1000.

type UserId:

string

param UserId:

[REQUIRED]

The identifier of the user.

rtype:

dict

returns:

Response Syntax

{
    'UserNotifications': [
        {
            'NotificationId': 'string',
            'NotificationStatus': 'READ'|'UNREAD'|'HIDDEN',
            'InstanceId': 'string',
            'RecipientId': 'string',
            'Content': {
                'string': 'string'
            },
            'Priority': 'URGENT'|'HIGH'|'LOW',
            'Source': 'CUSTOMER'|'RULES'|'SYSTEM',
            'CreatedAt': datetime(2015, 1, 1),
            'ExpiresAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • UserNotifications (list) --

      A list of notifications sent to the specified user.

      • (dict) --

        Summary information about a notification for a specific user, including the user's read status.

        • NotificationId (string) --

          The unique identifier for the notification.

        • NotificationStatus (string) --

          The status of the notification for this user. Valid values are READ, UNREAD, and HIDDEN.

        • InstanceId (string) --

          The identifier of the Amazon Connect instance.

        • RecipientId (string) --

          The identifier of the recipient user.

        • Content (dict) --

          The localized content of the notification.

          • (string) --

            The locale code for localized content. Supported values include en_US, de_DE, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, and zh_TW.

            • (string) --

              A localized string value. Maximum length is 500 characters.

        • Priority (string) --

          The priority level of the notification.

        • Source (string) --

          The source that created the notification. Valid values are CUSTOMER, RULES, and SYSTEM.

        • CreatedAt (datetime) --

          The timestamp when the notification was created.

        • ExpiresAt (datetime) --

          The timestamp when the notification expires.

    • NextToken (string) --

      The token for the next set of results. If present, there are more results available.

SearchNotifications (new) Link ¶

Searches for notifications based on specified criteria and filters. Returns a paginated list of notifications matching the search parameters, ordered by descending creation time. Supports filtering by content and tags.

See also: AWS API Documentation

Request Syntax

client.search_notifications(
    InstanceId='string',
    NextToken='string',
    MaxResults=123,
    SearchFilter={
        'AttributeFilter': {
            'OrConditions': [
                {
                    'TagConditions': [
                        {
                            'TagKey': 'string',
                            'TagValue': 'string'
                        },
                    ]
                },
            ],
            'AndCondition': {
                'TagConditions': [
                    {
                        'TagKey': 'string',
                        'TagValue': 'string'
                    },
                ]
            },
            'TagCondition': {
                'TagKey': 'string',
                'TagValue': 'string'
            }
        }
    },
    SearchCriteria={
        'OrConditions': [
            {'... recursive ...'},
        ],
        'AndConditions': [
            {'... recursive ...'},
        ],
        'StringCondition': {
            'FieldName': 'string',
            'Value': 'string',
            'ComparisonType': 'STARTS_WITH'|'CONTAINS'|'EXACT'
        }
    }
)
type InstanceId:

string

param InstanceId:

[REQUIRED]

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

type NextToken:

string

param NextToken:

The token for the next set of results. Use the value returned in the previous response to retrieve the next page of results.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return per page. Valid range is 1-100.

type SearchFilter:

dict

param SearchFilter:

Filters to apply to the search results, such as tag-based filters.

  • AttributeFilter (dict) --

    Attribute-based filters to apply to the search results.

    • OrConditions (list) --

      A list of conditions which would be applied together with an OR condition.

      • (dict) --

        A list of conditions which would be applied together with an AND condition.

        • TagConditions (list) --

          A leaf node condition which can be used to specify a tag condition.

          • (dict) --

            A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123.

            • TagKey (string) --

              The tag key in the tag condition.

            • TagValue (string) --

              The tag value in the tag condition.

    • AndCondition (dict) --

      A list of conditions which would be applied together with an AND condition.

      • TagConditions (list) --

        A leaf node condition which can be used to specify a tag condition.

        • (dict) --

          A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123.

          • TagKey (string) --

            The tag key in the tag condition.

          • TagValue (string) --

            The tag value in the tag condition.

    • TagCondition (dict) --

      A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123.

      • TagKey (string) --

        The tag key in the tag condition.

      • TagValue (string) --

        The tag value in the tag condition.

type SearchCriteria:

dict

param SearchCriteria:

The search criteria to apply when searching for notifications. Supports filtering by notification ID and message content using comparison types such as STARTS_WITH, CONTAINS, and EXACT.

  • OrConditions (list) --

    A list of conditions to be met, where at least one condition must be satisfied.

    • (dict) --

      The search criteria to be used to return notifications.

  • AndConditions (list) --

    A list of conditions that must all be satisfied.

    • (dict) --

      The search criteria to be used to return notifications.

  • StringCondition (dict) --

    A leaf node condition which can be used to specify a string condition.

    • FieldName (string) --

      The name of the field in the string condition.

    • Value (string) --

      The value of the string.

    • ComparisonType (string) --

      The type of comparison to be made when evaluating the string condition.

rtype:

dict

returns:

Response Syntax

{
    'Notifications': [
        {
            'Id': 'string',
            'Arn': 'string',
            'InstanceId': 'string',
            'Content': {
                'string': 'string'
            },
            'Priority': 'URGENT'|'HIGH'|'LOW',
            'Recipients': [
                'string',
            ],
            'CreatedAt': datetime(2015, 1, 1),
            'ExpiresAt': datetime(2015, 1, 1),
            'LastModifiedRegion': 'string',
            'LastModifiedTime': datetime(2015, 1, 1),
            'Tags': {
                'string': 'string'
            }
        },
    ],
    'NextToken': 'string',
    'ApproximateTotalCount': 123
}

Response Structure

  • (dict) --

    • Notifications (list) --

      A list of notifications matching the search criteria.

      • (dict) --

        Summary information about a notification returned from a search operation.

        • Id (string) --

          The unique identifier for the notification.

        • Arn (string) --

          The Amazon Resource Name (ARN) of the notification.

        • InstanceId (string) --

          The identifier of the Amazon Connect instance.

        • Content (dict) --

          The localized content of the notification.

          • (string) --

            The locale code for localized content. Supported values include en_US, de_DE, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, and zh_TW.

            • (string) --

              A localized string value. Maximum length is 500 characters.

        • Priority (string) --

          The priority level of the notification.

        • Recipients (list) --

          A list of recipient Amazon Resource Names (ARNs).

          • (string) --

        • CreatedAt (datetime) --

          The timestamp when the notification was created.

        • ExpiresAt (datetime) --

          The timestamp when the notification expires.

        • LastModifiedRegion (string) --

          The AWS Region where the notification was last modified.

        • LastModifiedTime (datetime) --

          The timestamp when the notification was last modified.

        • Tags (dict) --

          The tags associated with the notification.

          • (string) --

            • (string) --

    • NextToken (string) --

      The token for the next set of results. If present, there are more results available.

    • ApproximateTotalCount (integer) --

      The approximate total number of notifications matching the search criteria.

DescribeNotification (new) Link ¶

Retrieves detailed information about a specific notification, including its content, priority, recipients, and metadata.

See also: AWS API Documentation

Request Syntax

client.describe_notification(
    InstanceId='string',
    NotificationId='string'
)
type InstanceId:

string

param InstanceId:

[REQUIRED]

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

type NotificationId:

string

param NotificationId:

[REQUIRED]

The unique identifier for the notification.

rtype:

dict

returns:

Response Syntax

{
    'Notification': {
        'Content': {
            'string': 'string'
        },
        'Id': 'string',
        'Arn': 'string',
        'Priority': 'URGENT'|'HIGH'|'LOW',
        'Recipients': [
            'string',
        ],
        'LastModifiedTime': datetime(2015, 1, 1),
        'CreatedAt': datetime(2015, 1, 1),
        'ExpiresAt': datetime(2015, 1, 1),
        'LastModifiedRegion': 'string',
        'Tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • Notification (dict) --

      The complete notification information including content, priority, recipients, and metadata.

      • Content (dict) --

        The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale.

        • (string) --

          The locale code for localized content. Supported values include en_US, de_DE, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, and zh_TW.

          • (string) --

            A localized string value. Maximum length is 500 characters.

      • Id (string) --

        The unique identifier for the notification.

      • Arn (string) --

        The Amazon Resource Name (ARN) of the notification.

      • Priority (string) --

        The priority level of the notification. Valid values are URGENT, HIGH, and LOW.

      • Recipients (list) --

        A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Maximum of 200 recipients.

        • (string) --

      • LastModifiedTime (datetime) --

        The timestamp when the notification was last modified.

      • CreatedAt (datetime) --

        The timestamp when the notification was created.

      • ExpiresAt (datetime) --

        The timestamp when the notification expires and is no longer displayed to users.

      • LastModifiedRegion (string) --

        The AWS Region where the notification was last modified.

      • Tags (dict) --

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

        • (string) --

          • (string) --

DeleteNotification (new) Link ¶

Deletes a notification. Once deleted, the notification is no longer visible to all users and cannot be managed through the Admin Website or APIs.

See also: AWS API Documentation

Request Syntax

client.delete_notification(
    InstanceId='string',
    NotificationId='string'
)
type InstanceId:

string

param InstanceId:

[REQUIRED]

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

type NotificationId:

string

param NotificationId:

[REQUIRED]

The unique identifier for the notification to delete.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

    The response from deleting a notification.

ListNotifications (new) Link ¶

Retrieves a paginated list of all notifications in the Amazon Connect instance.

See also: AWS API Documentation

Request Syntax

client.list_notifications(
    InstanceId='string',
    NextToken='string',
    MaxResults=123
)
type InstanceId:

string

param InstanceId:

[REQUIRED]

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

type NextToken:

string

param NextToken:

The token for the next set of results. Use the value returned in the previous response to retrieve the next page of results.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return per page. Valid range is 1-100.

rtype:

dict

returns:

Response Syntax

{
    'NextToken': 'string',
    'NotificationSummaryList': [
        {
            'Content': {
                'string': 'string'
            },
            'Id': 'string',
            'Arn': 'string',
            'Priority': 'URGENT'|'HIGH'|'LOW',
            'Recipients': [
                'string',
            ],
            'LastModifiedTime': datetime(2015, 1, 1),
            'CreatedAt': datetime(2015, 1, 1),
            'ExpiresAt': datetime(2015, 1, 1),
            'LastModifiedRegion': 'string',
            'Tags': {
                'string': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) --

    • NextToken (string) --

      The token for the next set of results. If present, there are more results available.

    • NotificationSummaryList (list) --

      A list of notification summaries.

      • (dict) --

        Contains information about a notification, including its content, priority, recipients, and metadata.

        • Content (dict) --

          The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale.

          • (string) --

            The locale code for localized content. Supported values include en_US, de_DE, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, and zh_TW.

            • (string) --

              A localized string value. Maximum length is 500 characters.

        • Id (string) --

          The unique identifier for the notification.

        • Arn (string) --

          The Amazon Resource Name (ARN) of the notification.

        • Priority (string) --

          The priority level of the notification. Valid values are URGENT, HIGH, and LOW.

        • Recipients (list) --

          A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Maximum of 200 recipients.

          • (string) --

        • LastModifiedTime (datetime) --

          The timestamp when the notification was last modified.

        • CreatedAt (datetime) --

          The timestamp when the notification was created.

        • ExpiresAt (datetime) --

          The timestamp when the notification expires and is no longer displayed to users.

        • LastModifiedRegion (string) --

          The AWS Region where the notification was last modified.

        • Tags (dict) --

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

          • (string) --

            • (string) --

UpdateNotificationContent (new) Link ¶

Updates the localized content of an existing notification. This operation applies to all users for whom the notification was sent.

See also: AWS API Documentation

Request Syntax

client.update_notification_content(
    InstanceId='string',
    NotificationId='string',
    Content={
        'string': 'string'
    }
)
type InstanceId:

string

param InstanceId:

[REQUIRED]

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

type NotificationId:

string

param NotificationId:

[REQUIRED]

The unique identifier for the notification to update.

type Content:

dict

param Content:

[REQUIRED]

The updated localized content of the notification. A map of locale codes and values. Maximum 500 characters per locale.

  • (string) --

    The locale code for localized content. Supported values include en_US, de_DE, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, and zh_TW.

    • (string) --

      A localized string value. Maximum length is 500 characters.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

    The response from updating notification content.

UpdateUserNotificationStatus (new) Link ¶

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 also: AWS API Documentation

Request Syntax

client.update_user_notification_status(
    InstanceId='string',
    NotificationId='string',
    UserId='string',
    Status='READ'|'UNREAD'|'HIDDEN',
    LastModifiedTime=datetime(2015, 1, 1),
    LastModifiedRegion='string'
)
type InstanceId:

string

param InstanceId:

[REQUIRED]

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

type NotificationId:

string

param NotificationId:

[REQUIRED]

The unique identifier for the notification.

type UserId:

string

param UserId:

[REQUIRED]

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

type Status:

string

param Status:

[REQUIRED]

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

type LastModifiedTime:

datetime

param LastModifiedTime:

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

type LastModifiedRegion:

string

param LastModifiedRegion:

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

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

    The response from updating a user's notification status.