Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 1594

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

The following command retrieves the notification configuration for a bucket named ``my-bucket``::

  aws s3api get-bucket-notification-configuration --bucket my-bucket

Output::

  {
      "TopicConfigurations": [
          {
              "Id": "YmQzMmEwM2EjZWVlI0NGItNzVtZjI1MC00ZjgyLWZDBiZWNl",
              "TopicArn": "arn:aws:sns:us-west-2:123456789012:my-notification-topic",
              "Events": [
                  "s3:ObjectCreated:*"
              ]
          }
      ]
  }