Menu
AWS CodeCommit
User Guide (API Version 2015-04-13)

Delete Notification Settings for a Repository

If you no longer want notifications for your repository, you can delete the settings. Deleting the settings also deletes the CloudWatch Events rule created for notifications for the repository. It does not delete any subscriptions or the Amazon SNS topic used for notifications.

Note

If you change the name of a repository from the console, notifications continue to work without modification. However, if you change the name of your repository from the command line or by using the API, notifications no longer work. The easiest way to restore notifications is to delete the notification settings and then configure them again.

To delete notification settings (console)

  1. Open the AWS CodeCommit console at https://console.aws.amazon.com/codecommit.

  2. In the list of repositories, choose the name of the repository where notifications are disabled.

  3. In the navigation pane, choose Settings, and then choose Notifications.

    
            Notifications configured in an AWS CodeCommit repository
  4. Choose Delete.

  5. In Delete notification settings, choose Delete notification settings.

    
            Confirming deletion of notification settings in an AWS CodeCommit repository
  6. (Optional) To change or delete the Amazon SNS topic used for notifications after you delete notification settings, go to the Amazon SNS console at https://console.aws.amazon.com/sns/v2/home. For more information, see Clean Up in Amazon Simple Notification Service Developer Guide.