UserNotifications / Client / update_notification_configuration

update_notification_configuration#

UserNotifications.Client.update_notification_configuration(**kwargs)#

Updates a NotificationConfiguration.

See also: AWS API Documentation

Request Syntax

response = client.update_notification_configuration(
    arn='string',
    name='string',
    description='string',
    aggregationDuration='LONG'|'SHORT'|'NONE'
)
Parameters:
  • arn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) used to update the NotificationConfiguration.

  • name (string) – The name of the NotificationConfiguration.

  • description (string) – The description of the NotificationConfiguration.

  • aggregationDuration (string) –

    The status of this NotificationConfiguration.

    The status should always be INACTIVE when part of the CreateNotificationConfiguration response.

    • Values:

      • ACTIVE

        • All EventRules are ACTIVE and any call can be run.

      • PARTIALLY_ACTIVE

        • Some EventRules are ACTIVE and some are INACTIVE. Any call can be run.

        • Any call can be run.

      • INACTIVE

        • All EventRules are INACTIVE and any call can be run.

      • DELETING

        • This NotificationConfiguration is being deleted.

        • Only GET and LIST calls can be run.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string'
}

Response Structure

  • (dict) –

    • arn (string) –

      The ARN used to update the NotificationConfiguration.

Exceptions

  • UserNotifications.Client.exceptions.AccessDeniedException

  • UserNotifications.Client.exceptions.ValidationException

  • UserNotifications.Client.exceptions.InternalServerException

  • UserNotifications.Client.exceptions.ThrottlingException

  • UserNotifications.Client.exceptions.ConflictException

  • UserNotifications.Client.exceptions.ResourceNotFoundException