Re-exports§
pub use errors::Error;pub use errors::Result;pub use aws_sdk::HeadObjectInfo;
Modules§
Structs§
- Config
- Holds configuration information for the library.
- Pending
Upload - Presigned
Multipart Upload - S3Object
Enums§
Constants§
Functions§
- abort_
presigned_ multipart_ upload - Abort a multipart upload.
- complete_
presigned_ multipart_ upload - Complete a multipart upload.
- compute_
etag - compute_
etag_ from_ reader - copy
- delete
- Delete a remote object given a bucket and a key.
- delete_
file_ presigned - Helper to delete a file using a presigned URL.
- delete_
streaming - Delete from a bucket with a stream of keys. Returns a stream of futures which can be forced with futures::stream::StreamExt::buffered or futures::stream::StreamExt::buffer_unordered.
- download
- download_
file_ presigned - Helper to download a file using a presigned URL, taking care of transparent compression.
- download_
streaming - head_
object - init_
default_ s3client - This function builds a AWS client using the default AWS region and default credentials_provider
- init_
default_ s3client_ with_ region - This function builds a AWS client using default credentials_provider, allowing you to optionally override the default aws_region
- init_
s3client - This function builds a AWS client using the default AWS region.
- init_
s3client_ with_ region - This function builds a AWS client, while allowing you to optionally override the default aws region.
- list_
directory - list_
directory_ stream - list_
objects - list_
objects_ stream - new_
https_ connector - presign_
delete - Generate a presigned URL for a client to use to delete a file. The file can be deleted using an HTTP DELETE on this URL.
- presign_
get - Generate a presigned URL for a client to use to download a file. The file can be downloaded using an HTTP GET on this URL.
- presign_
put - Generate a presigned URL for a client to use to upload a file.
The file can be deleted using an HTTP PUT on this URL.
Note that the headers
Content-Length,x-amz-acl,x-amz-storage-classandx-amz-meta-esthri_compress_versionmay need to be set. - setup_
presigned_ multipart_ upload - Begin a multipart upload and presign the urls for each part.
- sync
- Syncs between S3 prefixes and local directories
- sync_
streaming - Stream Sync from S3 prefixes to local directories (for now)
- upload
- upload_
file_ presigned - Helper to download a file using a presigned URL, setting appropriate headers.
- upload_
file_ presigned_ multipart_ upload - Upload a file using a presigned multipart upload.
- upload_
from_ reader