https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/codestar-notifications/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/codestar-notifications/describe-notification-rule.rst
**To retrieve details of a notification rule**

The following ``describe-notification-rule`` example retrieves the details of the specified notification rule. ::

    aws codestar-notifications describe-notification-rule \
        --arn arn:aws:codestar-notifications:us-west-2:123456789012:notificationrule/dc82df7a-EXAMPLE

Output::

    {
        "LastModifiedTimestamp": 1569199844.857,
        "EventTypes": [
            {
                "ServiceName": "CodeCommit",
                "EventTypeName": "Branches and tags: Created",
                "ResourceType": "Repository",
                "EventTypeId": "codecommit-repository-branches-and-tags-created"
            }
        ],
        "Status": "ENABLED",
        "DetailType": "FULL",
        "Resource": "arn:aws:codecommit:us-west-2:123456789012:MyDemoRepo",
        "Arn": "arn:aws:codestar-notifications:us-west-w:123456789012:notificationrule/dc82df7a-EXAMPLE",
        "Targets": [
            {
                "TargetStatus": "ACTIVE",
                "TargetAddress": "arn:aws:sns:us-west-2:123456789012:MyNotificationTopic",
                "TargetType": "SNS"
            }
        ],
        "Name": "MyNotificationRule",
        "CreatedTimestamp": 1569199844.857,
        "CreatedBy": "arn:aws:iam::123456789012:user/Mary_Major"
    }

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*.

https://t.me/RX1948 - 2025