CodeStarNotifications / Client / delete_notification_rule

delete_notification_rule#

CodeStarNotifications.Client.delete_notification_rule(**kwargs)#

Deletes a notification rule for a resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_notification_rule(
    Arn='string'
)
Parameters:

Arn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the notification rule you want to delete.

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string'
}

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) of the deleted notification rule.

Exceptions

  • CodeStarNotifications.Client.exceptions.ValidationException

  • CodeStarNotifications.Client.exceptions.LimitExceededException

  • CodeStarNotifications.Client.exceptions.ConcurrentModificationException