cli
s3_asyncio_client.cli
¶
cli(ctx, config_file, profile)
¶
Uploading/download files to/from any S3 provider.
Source code in src/s3_asyncio_client/cli.py
create_bucket(ctx, bucket)
¶
Create a new S3 bucket.
Source code in src/s3_asyncio_client/cli.py
delete_bucket(ctx, bucket)
¶
Delete an existing S3 bucket.
Source code in src/s3_asyncio_client/cli.py
delete_object(ctx, bucket, key)
¶
Delete an object from an S3 bucket.
Source code in src/s3_asyncio_client/cli.py
get_object(ctx, bucket, key, output_path)
¶
Download an object from S3 to a local file.
Source code in src/s3_asyncio_client/cli.py
head_object(ctx, bucket, key)
¶
Get object metadata without downloading the object.
Source code in src/s3_asyncio_client/cli.py
list_objects(ctx, bucket, prefix, max_keys)
¶
List all objects in a bucket without downloading them.
Source code in src/s3_asyncio_client/cli.py
presign_url(ctx, method, bucket, key, expires_in)
¶
Create a pre-signed URL for a single operation later.
Source code in src/s3_asyncio_client/cli.py
put_object(ctx, bucket, key, file_path, content_type, metadata)
¶
Upload a local file to an S3 bucket.