pub trait S3Storage {
Show 16 methods
fn complete_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CompleteMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CompleteMultipartUploadOutput, CompleteMultipartUploadError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn copy_object<'life0, 'async_trait>(
&'life0 self,
input: CopyObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CopyObjectOutput, CopyObjectError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn create_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CreateMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateMultipartUploadOutput, CreateMultipartUploadError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn create_bucket<'life0, 'async_trait>(
&'life0 self,
input: CreateBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateBucketOutput, CreateBucketError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_bucket<'life0, 'async_trait>(
&'life0 self,
input: DeleteBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteBucketOutput, DeleteBucketError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_object<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectOutput, DeleteObjectError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_objects<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectsOutput, DeleteObjectsError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_bucket_location<'life0, 'async_trait>(
&'life0 self,
input: GetBucketLocationRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetBucketLocationOutput, GetBucketLocationError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_object<'life0, 'async_trait>(
&'life0 self,
input: GetObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetObjectOutput, GetObjectError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn head_bucket<'life0, 'async_trait>(
&'life0 self,
input: HeadBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadBucketOutput, HeadBucketError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn head_object<'life0, 'async_trait>(
&'life0 self,
input: HeadObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadObjectOutput, HeadObjectError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn list_buckets<'life0, 'async_trait>(
&'life0 self,
input: ListBucketsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListBucketsOutput, ListBucketsError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn list_objects<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsOutput, ListObjectsError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn list_objects_v2<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsV2Request
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsV2Output, ListObjectsV2Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn put_object<'life0, 'async_trait>(
&'life0 self,
input: PutObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<PutObjectOutput, PutObjectError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn upload_part<'life0, 'async_trait>(
&'life0 self,
input: UploadPartRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<UploadPartOutput, UploadPartError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Trait representing the capabilities of the Amazon S3 API at server side.
See https://docs.aws.amazon.com/AmazonS3/latest/API/API_Operations_Amazon_Simple_Storage_Service.html
Required methods
fn complete_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CompleteMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CompleteMultipartUploadOutput, CompleteMultipartUploadError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn complete_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CompleteMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CompleteMultipartUploadOutput, CompleteMultipartUploadError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn copy_object<'life0, 'async_trait>(
&'life0 self,
input: CopyObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CopyObjectOutput, CopyObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn copy_object<'life0, 'async_trait>(
&'life0 self,
input: CopyObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CopyObjectOutput, CopyObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See CopyObject
fn create_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CreateMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateMultipartUploadOutput, CreateMultipartUploadError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CreateMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateMultipartUploadOutput, CreateMultipartUploadError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_bucket<'life0, 'async_trait>(
&'life0 self,
input: CreateBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateBucketOutput, CreateBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_bucket<'life0, 'async_trait>(
&'life0 self,
input: CreateBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateBucketOutput, CreateBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See CreateBucket
fn delete_bucket<'life0, 'async_trait>(
&'life0 self,
input: DeleteBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteBucketOutput, DeleteBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_bucket<'life0, 'async_trait>(
&'life0 self,
input: DeleteBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteBucketOutput, DeleteBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See DeleteBucket
fn delete_object<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectOutput, DeleteObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_object<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectOutput, DeleteObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See DeleteObject
fn delete_objects<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectsOutput, DeleteObjectsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_objects<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectsOutput, DeleteObjectsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See DeleteObject
fn get_bucket_location<'life0, 'async_trait>(
&'life0 self,
input: GetBucketLocationRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetBucketLocationOutput, GetBucketLocationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_bucket_location<'life0, 'async_trait>(
&'life0 self,
input: GetBucketLocationRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetBucketLocationOutput, GetBucketLocationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_object<'life0, 'async_trait>(
&'life0 self,
input: GetObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetObjectOutput, GetObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_object<'life0, 'async_trait>(
&'life0 self,
input: GetObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetObjectOutput, GetObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See GetObject
fn head_bucket<'life0, 'async_trait>(
&'life0 self,
input: HeadBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadBucketOutput, HeadBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn head_bucket<'life0, 'async_trait>(
&'life0 self,
input: HeadBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadBucketOutput, HeadBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See HeadBucket
fn head_object<'life0, 'async_trait>(
&'life0 self,
input: HeadObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadObjectOutput, HeadObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn head_object<'life0, 'async_trait>(
&'life0 self,
input: HeadObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadObjectOutput, HeadObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See HeadObject
fn list_buckets<'life0, 'async_trait>(
&'life0 self,
input: ListBucketsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListBucketsOutput, ListBucketsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_buckets<'life0, 'async_trait>(
&'life0 self,
input: ListBucketsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListBucketsOutput, ListBucketsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See ListBuckets
fn list_objects<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsOutput, ListObjectsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_objects<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsOutput, ListObjectsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See ListObjects
fn list_objects_v2<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsV2Request
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsV2Output, ListObjectsV2Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_objects_v2<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsV2Request
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsV2Output, ListObjectsV2Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See ListObjectsV2
fn put_object<'life0, 'async_trait>(
&'life0 self,
input: PutObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<PutObjectOutput, PutObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_object<'life0, 'async_trait>(
&'life0 self,
input: PutObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<PutObjectOutput, PutObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See PutObject
fn upload_part<'life0, 'async_trait>(
&'life0 self,
input: UploadPartRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<UploadPartOutput, UploadPartError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn upload_part<'life0, 'async_trait>(
&'life0 self,
input: UploadPartRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<UploadPartOutput, UploadPartError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See UploadPart