UserNotifications / Client / list_notification_configurations
list_notification_configurations#
- UserNotifications.Client.list_notification_configurations(**kwargs)#
Returns a list of abbreviated NotificationConfigurations according to specified filters, in reverse chronological order (newest first).
See also: AWS API Documentation
Request Syntax
response = client.list_notification_configurations( eventRuleSource='string', channelArn='string', status='ACTIVE'|'PARTIALLY_ACTIVE'|'INACTIVE'|'DELETING', maxResults=123, nextToken='string' )
- Parameters:
eventRuleSource (string) –
The matched event source.
Must match one of the valid EventBridge sources. Only AWS service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from AWS services in the Amazon EventBridge User Guide.channelArn (string) – The Amazon Resource Name (ARN) of the Channel to match.
status (string) –
The NotificationConfiguration status to match.
Values:
ACTIVEAll EventRules are
ACTIVEand any call can be run.
PARTIALLY_ACTIVESome EventRules are
ACTIVEand some areINACTIVE. Any call can be run.Any call can be run.
INACTIVEAll EventRules are
INACTIVEand any call can be run.
DELETINGThis NotificationConfiguration is being deleted.
Only
GETandLISTcalls can be run.
maxResults (integer) – The maximum number of results to be returned in this call. Defaults to 20.
nextToken (string) – The start token for paginated calls. Retrieved from the response of a previous ListEventRules call. Next token uses Base64 encoding.
- Return type:
dict
- Returns:
Response Syntax
{ 'nextToken': 'string', 'notificationConfigurations': [ { 'arn': 'string', 'name': 'string', 'description': 'string', 'status': 'ACTIVE'|'PARTIALLY_ACTIVE'|'INACTIVE'|'DELETING', 'creationTime': datetime(2015, 1, 1), 'aggregationDuration': 'LONG'|'SHORT'|'NONE' }, ] }
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.
notificationConfigurations (list) –
The NotificationConfigurations in the account.
(dict) –
Contains the complete list of fields for a NotificationConfiguration.
arn (string) –
The Amazon Resource Name (ARN) of the resource.
name (string) –
The name of the NotificationConfiguration. Supports RFC 3986’s unreserved characters.
description (string) –
The description of the NotificationConfiguration.
status (string) –
The status of this NotificationConfiguration.
The status should always be INACTIVE when part of the CreateNotificationConfiguration response.
Values:
ACTIVEAll EventRules are
ACTIVEand any call can be run.
PARTIALLY_ACTIVESome EventRules are
ACTIVEand some areINACTIVE.Any call can be run.
INACTIVEAll EventRules are
INACTIVEand any call can be run.
DELETINGThis NotificationConfiguration is being deleted. Only
GETandLISTcalls can be run.Only
GETandLISTcalls can be run.
creationTime (datetime) –
The creation time of the resource.
aggregationDuration (string) –
The aggregation preference of the NotificationConfiguration.
Values:
LONGAggregate notifications for long periods of time (12 hours).
SHORTAggregate notifications for short periods of time (5 minutes).
NONEDon’t aggregate notifications. No delay in delivery.
Exceptions
UserNotifications.Client.exceptions.AccessDeniedExceptionUserNotifications.Client.exceptions.ValidationExceptionUserNotifications.Client.exceptions.InternalServerExceptionUserNotifications.Client.exceptions.ThrottlingException