aws-s3api
Low-level S3 API operations
TLDR
List all buckets in your account
SYNOPSIS
aws s3api subcommand [options]
DESCRIPTION
aws s3api provides low-level access to Amazon S3 API operations. Unlike the high-level aws s3 commands, s3api exposes the full S3 API with fine-grained control over request parameters and response handling.
Use s3api when you need direct API access for operations not available in the high-level commands, such as managing bucket policies, configuring lifecycle rules, handling multipart uploads, or working with object versions.
SUBCOMMANDS
Bucket Operations
create-bucket, delete-bucket, list-buckets, head-bucket, get-bucket-locationObject Operations
put-object, get-object, delete-object, delete-objects, head-object, copy-object, list-objects-v2Bucket Configuration
put-bucket-policy, get-bucket-policy, put-bucket-acl, get-bucket-acl, put-bucket-cors, get-bucket-corsVersioning
put-bucket-versioning, get-bucket-versioning, list-object-versionsLifecycle
put-bucket-lifecycle-configuration, get-bucket-lifecycle-configuration, delete-bucket-lifecycleEncryption
put-bucket-encryption, get-bucket-encryption, delete-bucket-encryptionMultipart Uploads
create-multipart-upload, upload-part, complete-multipart-upload, abort-multipart-upload, list-multipart-uploadsTagging
put-bucket-tagging, get-bucket-tagging, put-object-tagging, get-object-tagging
CAVEATS
The s3api commands require more verbose syntax than the high-level aws s3 commands but provide complete API coverage. When creating buckets outside us-east-1, you must specify --create-bucket-configuration. Object keys are case-sensitive. For large file uploads, consider using multipart upload operations.
