
aws-s3api
List of commands for aws-s3api:
-
aws-s3api:tldr:2c76c aws-s3api: Delete a bucket.$ aws s3api delete-bucket --bucket ${bucket_name}try on your machineexplain this command
-
aws-s3api:tldr:2f416 aws-s3api: Add an object to a bucket.$ aws s3api put-object --bucket ${bucket_name} --key ${object_key} --body ${filename}try on your machineexplain this command
-
aws-s3api:tldr:30938 aws-s3api: Download the Amazon S3 bucket policy from a specified bucket.$ aws s3api get-bucket-policy --bucket ${bucket_name} --query Policy --output ${select} > ${path-to-bucket_policy}try on your machineexplain this command
-
aws-s3api:tldr:67d82 aws-s3api: Download object from a bucket (The output file is always the last argument).$ aws s3api get-object --bucket ${bucket_name} --key ${object_key} ${path-to-output_file}try on your machineexplain this command
-
aws-s3api:tldr:9fcf3 aws-s3api: List buckets.$ aws s3api list-bucketstry on your machineexplain this command
-
aws-s3api:tldr:a4eac aws-s3api: Create bucket in a specific region.$ aws s3api create-bucket --bucket ${bucket_name} --region ${region} --create-bucket-configuration LocationConstraint=${region}try on your machineexplain this command
-
aws-s3api:tldr:b2a27 aws-s3api: Apply an Amazon S3 bucket policy to a specified bucket.$ aws s3api put-bucket-policy --bucket ${bucket_name} --policy file://${path-to-bucket_policy-json}try on your machineexplain this command
-
aws-s3api:tldr:d3358 aws-s3api: List the objects inside of a bucket and only show each object's key and size.$ aws s3api list-objects --bucket ${bucket_name} --query '${Contents[]-{Key: Key, Size: Size}}'try on your machineexplain this command