Module aws

Source
Expand description

An object store implementation for S3

§Multipart uploads

Multipart uploads can be initiated with the ObjectStore::put_multipart method.

If the writer fails for any reason, you may have parts uploaded to AWS but not used that you will be charged for. MultipartUpload::abort may be invoked to drop these unneeded parts, however, it is recommended that you consider implementing automatic cleanup of unused parts that are older than some threshold.

Structs§

AmazonS3
Interface for Amazon S3.
AmazonS3Builder
Configure a connection to Amazon S3 using the specified credentials in the specified Amazon region and bucket.
AwsAuthorizer
Authorize a Request with an AwsCredential using AWS SigV4
AwsCredential
A set of AWS security credentials
DynamoCommit
A DynamoDB-based commit protocol, used to provide conditional write support for S3
S3EncryptionHeaders
A sequence of headers to be sent for write requests that specify server-side encryption.

Enums§

AmazonS3ConfigKey
Configuration keys for AmazonS3Builder
Checksum
Enum representing checksum algorithm supported by S3.
S3ConditionalPut
Configure how to provide conditional put support for AmazonS3.
S3CopyIfNotExists
Configure how to provide ObjectStore::copy_if_not_exists for AmazonS3.

Functions§

resolve_bucket_region
Get the bucket region using the HeadBucket API. This will fail if the bucket does not exist.

Type Aliases§

AwsCredentialProvider
CredentialProvider for AmazonS3