UserNotifications / Client / create_notification_configuration

create_notification_configuration#

UserNotifications.Client.create_notification_configuration(**kwargs)#

Creates a new NotificationConfiguration.

See also: AWS API Documentation

Request Syntax

response = client.create_notification_configuration(
    name='string',
    description='string',
    aggregationDuration='LONG'|'SHORT'|'NONE',
    tags={
        'string': 'string'
    }
)
Parameters:
  • name (string) –

    [REQUIRED]

    The name of the NotificationConfiguration. Supports RFC 3986’s unreserved characters.

  • description (string) –

    [REQUIRED]

    The description of the NotificationConfiguration.

  • aggregationDuration (string) –

    The aggregation preference of the NotificationConfiguration.

    • Values:

      • LONG

        • Aggregate notifications for long periods of time (12 hours).

      • SHORT

        • Aggregate notifications for short periods of time (5 minutes).

      • NONE

        • Don’t aggregate notifications.

  • tags (dict) –

    A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'status': 'ACTIVE'|'PARTIALLY_ACTIVE'|'INACTIVE'|'DELETING'
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the NotificationConfiguration.

    • status (string) –

      The current status of this NotificationConfiguration.

Exceptions