UserNotifications / Client / associate_channel

associate_channel#

UserNotifications.Client.associate_channel(**kwargs)#

Associates a delivery Channel with a particular NotificationConfiguration. Supported Channels include AWS Chatbot, the AWS Console Mobile Application, and emails (notifications-contacts).

See also: AWS API Documentation

Request Syntax

response = client.associate_channel(
    arn='string',
    notificationConfigurationArn='string'
)
Parameters:
  • arn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the Channel to associate with the NotificationConfiguration.

    Supported ARNs include AWS Chatbot, the Console Mobile Application, and notifications-contacts.

  • notificationConfigurationArn (string) –

    [REQUIRED]

    The ARN of the NotificationConfiguration to associate with the Channel.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • UserNotifications.Client.exceptions.ServiceQuotaExceededException

  • UserNotifications.Client.exceptions.AccessDeniedException

  • UserNotifications.Client.exceptions.ValidationException

  • UserNotifications.Client.exceptions.InternalServerException

  • UserNotifications.Client.exceptions.ThrottlingException

  • UserNotifications.Client.exceptions.ConflictException

  • UserNotifications.Client.exceptions.ResourceNotFoundException