Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / s3api / get-bucket-policy-status.rst
Size: Mime:
**To retrieve the policy status for a bucket indicating whether the bucket is public**

The following ``get-bucket-policy-status`` example retrieves the policy status for the bucket ``my-bucket``. ::

    aws s3api get-bucket-policy-status \
        --bucket my-bucket

Output::

    {
        "PolicyStatus": {
            "IsPublic": false
        }
    }