Difference between revisions of "Aws s3 ls"
Jump to navigation
Jump to search
(→Errors) |
|||
Line 10: | Line 10: | ||
== Errors == | == Errors == | ||
* <code>[[An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied]]</code> | * <code>[[An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied]]</code> | ||
+ | * <code>[[An error occurred (InvalidToken) when calling the ListBuckets operation: The provided token is malformed or otherwise invalid.]]</code> | ||
== Related terms == | == Related terms == |
Revision as of 18:17, 12 November 2021
https://docs.aws.amazon.com/cli/latest/reference/s3/ls.html
Listing all user owned buckets:
aws s3 ls
Listing bucket content:
aws s3 ls your_bucket_name
Errors
An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied
An error occurred (InvalidToken) when calling the ListBuckets operation: The provided token is malformed or otherwise invalid.
Related terms
aws list all
aws s3api list-buckets
aws s3api get-bucket-policy --bucket YOUR_BUCKET_NAME
See also
Advertising: