HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/codestar-notifications/list-notification-rules.rst
**To retrieve a list of notification rules**

The following ``list-notification-rules`` example retrieves a list of all notification rules in the specified AWS Region. ::

    aws codestar-notifications list-notification-rules --region us-east-1

Output::

    {
        "NotificationRules": [
            {
                "Id": "dc82df7a-EXAMPLE",
                "Arn": "arn:aws:codestar-notifications:us-east-1:123456789012:notificationrule/dc82df7a-EXAMPLE"
            },
            {
                "Id": "8d1f0983-EXAMPLE",
                "Arn": "arn:aws:codestar-notifications:us-east-1:123456789012:notificationrule/8d1f0983-EXAMPLE"
            }
        ]
    }

For more information, see `View Notification Rules <https://docs.aws.amazon.com/codestar-notifications/latest/userguide/notification-rule-view.html>`__ in the *AWS Developer Tools Console User Guide*.