UserNotifications / Client / get_notification_configuration
get_notification_configuration#
- UserNotifications.Client.get_notification_configuration(**kwargs)#
Returns a specified NotificationConfiguration.
See also: AWS API Documentation
Request Syntax
response = client.get_notification_configuration( arn='string' )
- Parameters:
arn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the NotificationConfiguration to return.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'name': 'string', 'description': 'string', 'status': 'ACTIVE'|'PARTIALLY_ACTIVE'|'INACTIVE'|'DELETING', 'creationTime': datetime(2015, 1, 1), 'aggregationDuration': 'LONG'|'SHORT'|'NONE' }
Response Structure
(dict) –
arn (string) –
The ARN of the resource.
name (string) –
The name of the NotificationConfiguration.
description (string) –
The description of the NotificationConfiguration.
status (string) –
The status of this NotificationConfiguration.
The status should always be
INACTIVEwhen 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 NotificationConfiguration.
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.ThrottlingExceptionUserNotifications.Client.exceptions.ResourceNotFoundException