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
NotificationConfigurationto 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.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.
Exceptions
UserNotifications.Client.exceptions.AccessDeniedExceptionUserNotifications.Client.exceptions.ValidationExceptionUserNotifications.Client.exceptions.InternalServerExceptionUserNotifications.Client.exceptions.ThrottlingExceptionUserNotifications.Client.exceptions.ResourceNotFoundException