Crate esthri

Crate esthri 

Source

Re-exports§

pub use errors::Error;
pub use errors::Result;
pub use aws_sdk::HeadObjectInfo;

Modules§

aws_sdk
blocking
errors
opts

Structs§

Config
Holds configuration information for the library.
PendingUpload
PresignedMultipartUpload
S3Object

Enums§

AwsCredProvider
GlobFilter
S3ListingItem
S3PathParam

Constants§

FILTER_EMPTY

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-class and x-amz-meta-esthri_compress_version may 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