Difference between revisions of "Aws s3api get-bucket-policy"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* <code>[[aws s3api get-bucket-policy --bucket]] YOUR_BUCKET_NAME</code> | * <code>[[aws s3api get-bucket-policy --bucket]] YOUR_BUCKET_NAME</code> | ||
− | + | == Errors == | |
− | aws s3api get-bucket-policy --bucket YOUR_BUCKET_NAME | + | aws s3api get-bucket-policy --bucket YOUR_BUCKET_NAME |
− | |||
An error occurred ([[NoSuchBucketPolicy]]) when calling the [[GetBucketPolicy]] operation: The bucket policy does not exist | An error occurred ([[NoSuchBucketPolicy]]) when calling the [[GetBucketPolicy]] operation: The bucket policy does not exist | ||
Revision as of 08:47, 4 November 2021
https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-policy.html
aws s3api get-bucket-policy --bucket YOUR_BUCKET_NAME
Errors
aws s3api get-bucket-policy --bucket YOUR_BUCKET_NAME An error occurred (NoSuchBucketPolicy) when calling the GetBucketPolicy operation: The bucket policy does not exist
Related terms
See also
- AWS S3:
s3api
|list-buckets
|get-bucket-website
|get-bucket-policy
|create-bucket
|put-bucket-encryption
|aws s3api put-bucket-policy
|get-bucket-acl
|get-bucket-versioning
|get-bucket-location
|put-bucket-versioning | get-bucket-tagging | head-bucket | put-object-lock-configuration
- AWS S3:
aws s3control
.aws s3
[cp | ls
|sync | presing
|mb | rm | rb
]
Advertising: