142
edits
| Line 13: | Line 13: | ||
| First, we make sure that <code>my-bucket</code> has currently no policy.   | First, we make sure that <code>my-bucket</code> has currently no policy.   | ||
| <syntaxhighlight  | <syntaxhighlight> | ||
| $ aws s3api --profile my-project  get-bucket-policy --bucket  my-bucket | $aws s3api --profile my-project  get-bucket-policy --bucket  my-bucket | ||
| 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 | ||
edits