UserNotifications / Client / list_channels

list_channels#

UserNotifications.Client.list_channels(**kwargs)#

Returns a list of Channels for a NotificationConfiguration.

See also: AWS API Documentation

Request Syntax

response = client.list_channels(
    notificationConfigurationArn='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • notificationConfigurationArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the NotificationConfiguration.

  • maxResults (integer) – The maximum number of results to be returned in this call. The default value is 20.

  • nextToken (string) – The start token for paginated calls. Retrieved from the response of a previous ListNotificationEvents call. NextToken uses Base64 encoding.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'channels': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • nextToken (string) –

      A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.

    • channels (list) –

      A list of Channels.

      • (string) –

Exceptions

  • UserNotifications.Client.exceptions.AccessDeniedException

  • UserNotifications.Client.exceptions.ValidationException

  • UserNotifications.Client.exceptions.InternalServerException

  • UserNotifications.Client.exceptions.ThrottlingException

  • UserNotifications.Client.exceptions.ResourceNotFoundException