[][src]Trait rusoto_s3::S3

pub trait S3 {
    fn abort_multipart_upload(
        &self,
        input: AbortMultipartUploadRequest
    ) -> RusotoFuture<AbortMultipartUploadOutput, AbortMultipartUploadError>;
fn complete_multipart_upload(
        &self,
        input: CompleteMultipartUploadRequest
    ) -> RusotoFuture<CompleteMultipartUploadOutput, CompleteMultipartUploadError>;
fn copy_object(
        &self,
        input: CopyObjectRequest
    ) -> RusotoFuture<CopyObjectOutput, CopyObjectError>;
fn create_bucket(
        &self,
        input: CreateBucketRequest
    ) -> RusotoFuture<CreateBucketOutput, CreateBucketError>;
fn create_multipart_upload(
        &self,
        input: CreateMultipartUploadRequest
    ) -> RusotoFuture<CreateMultipartUploadOutput, CreateMultipartUploadError>;
fn delete_bucket(
        &self,
        input: DeleteBucketRequest
    ) -> RusotoFuture<(), DeleteBucketError>;
fn delete_bucket_analytics_configuration(
        &self,
        input: DeleteBucketAnalyticsConfigurationRequest
    ) -> RusotoFuture<(), DeleteBucketAnalyticsConfigurationError>;
fn delete_bucket_cors(
        &self,
        input: DeleteBucketCorsRequest
    ) -> RusotoFuture<(), DeleteBucketCorsError>;
fn delete_bucket_encryption(
        &self,
        input: DeleteBucketEncryptionRequest
    ) -> RusotoFuture<(), DeleteBucketEncryptionError>;
fn delete_bucket_inventory_configuration(
        &self,
        input: DeleteBucketInventoryConfigurationRequest
    ) -> RusotoFuture<(), DeleteBucketInventoryConfigurationError>;
fn delete_bucket_lifecycle(
        &self,
        input: DeleteBucketLifecycleRequest
    ) -> RusotoFuture<(), DeleteBucketLifecycleError>;
fn delete_bucket_metrics_configuration(
        &self,
        input: DeleteBucketMetricsConfigurationRequest
    ) -> RusotoFuture<(), DeleteBucketMetricsConfigurationError>;
fn delete_bucket_policy(
        &self,
        input: DeleteBucketPolicyRequest
    ) -> RusotoFuture<(), DeleteBucketPolicyError>;
fn delete_bucket_replication(
        &self,
        input: DeleteBucketReplicationRequest
    ) -> RusotoFuture<(), DeleteBucketReplicationError>;
fn delete_bucket_tagging(
        &self,
        input: DeleteBucketTaggingRequest
    ) -> RusotoFuture<(), DeleteBucketTaggingError>;
fn delete_bucket_website(
        &self,
        input: DeleteBucketWebsiteRequest
    ) -> RusotoFuture<(), DeleteBucketWebsiteError>;
fn delete_object(
        &self,
        input: DeleteObjectRequest
    ) -> RusotoFuture<DeleteObjectOutput, DeleteObjectError>;
fn delete_object_tagging(
        &self,
        input: DeleteObjectTaggingRequest
    ) -> RusotoFuture<DeleteObjectTaggingOutput, DeleteObjectTaggingError>;
fn delete_objects(
        &self,
        input: DeleteObjectsRequest
    ) -> RusotoFuture<DeleteObjectsOutput, DeleteObjectsError>;
fn delete_public_access_block(
        &self,
        input: DeletePublicAccessBlockRequest
    ) -> RusotoFuture<(), DeletePublicAccessBlockError>;
fn get_bucket_accelerate_configuration(
        &self,
        input: GetBucketAccelerateConfigurationRequest
    ) -> RusotoFuture<GetBucketAccelerateConfigurationOutput, GetBucketAccelerateConfigurationError>;
fn get_bucket_acl(
        &self,
        input: GetBucketAclRequest
    ) -> RusotoFuture<GetBucketAclOutput, GetBucketAclError>;
fn get_bucket_analytics_configuration(
        &self,
        input: GetBucketAnalyticsConfigurationRequest
    ) -> RusotoFuture<GetBucketAnalyticsConfigurationOutput, GetBucketAnalyticsConfigurationError>;
fn get_bucket_cors(
        &self,
        input: GetBucketCorsRequest
    ) -> RusotoFuture<GetBucketCorsOutput, GetBucketCorsError>;
fn get_bucket_encryption(
        &self,
        input: GetBucketEncryptionRequest
    ) -> RusotoFuture<GetBucketEncryptionOutput, GetBucketEncryptionError>;
fn get_bucket_inventory_configuration(
        &self,
        input: GetBucketInventoryConfigurationRequest
    ) -> RusotoFuture<GetBucketInventoryConfigurationOutput, GetBucketInventoryConfigurationError>;
fn get_bucket_lifecycle(
        &self,
        input: GetBucketLifecycleRequest
    ) -> RusotoFuture<GetBucketLifecycleOutput, GetBucketLifecycleError>;
fn get_bucket_lifecycle_configuration(
        &self,
        input: GetBucketLifecycleConfigurationRequest
    ) -> RusotoFuture<GetBucketLifecycleConfigurationOutput, GetBucketLifecycleConfigurationError>;
fn get_bucket_location(
        &self,
        input: GetBucketLocationRequest
    ) -> RusotoFuture<GetBucketLocationOutput, GetBucketLocationError>;
fn get_bucket_logging(
        &self,
        input: GetBucketLoggingRequest
    ) -> RusotoFuture<GetBucketLoggingOutput, GetBucketLoggingError>;
fn get_bucket_metrics_configuration(
        &self,
        input: GetBucketMetricsConfigurationRequest
    ) -> RusotoFuture<GetBucketMetricsConfigurationOutput, GetBucketMetricsConfigurationError>;
fn get_bucket_notification(
        &self,
        input: GetBucketNotificationConfigurationRequest
    ) -> RusotoFuture<NotificationConfigurationDeprecated, GetBucketNotificationError>;
fn get_bucket_notification_configuration(
        &self,
        input: GetBucketNotificationConfigurationRequest
    ) -> RusotoFuture<NotificationConfiguration, GetBucketNotificationConfigurationError>;
fn get_bucket_policy(
        &self,
        input: GetBucketPolicyRequest
    ) -> RusotoFuture<GetBucketPolicyOutput, GetBucketPolicyError>;
fn get_bucket_policy_status(
        &self,
        input: GetBucketPolicyStatusRequest
    ) -> RusotoFuture<GetBucketPolicyStatusOutput, GetBucketPolicyStatusError>;
fn get_bucket_replication(
        &self,
        input: GetBucketReplicationRequest
    ) -> RusotoFuture<GetBucketReplicationOutput, GetBucketReplicationError>;
fn get_bucket_request_payment(
        &self,
        input: GetBucketRequestPaymentRequest
    ) -> RusotoFuture<GetBucketRequestPaymentOutput, GetBucketRequestPaymentError>;
fn get_bucket_tagging(
        &self,
        input: GetBucketTaggingRequest
    ) -> RusotoFuture<GetBucketTaggingOutput, GetBucketTaggingError>;
fn get_bucket_versioning(
        &self,
        input: GetBucketVersioningRequest
    ) -> RusotoFuture<GetBucketVersioningOutput, GetBucketVersioningError>;
fn get_bucket_website(
        &self,
        input: GetBucketWebsiteRequest
    ) -> RusotoFuture<GetBucketWebsiteOutput, GetBucketWebsiteError>;
fn get_object(
        &self,
        input: GetObjectRequest
    ) -> RusotoFuture<GetObjectOutput, GetObjectError>;
fn get_object_acl(
        &self,
        input: GetObjectAclRequest
    ) -> RusotoFuture<GetObjectAclOutput, GetObjectAclError>;
fn get_object_legal_hold(
        &self,
        input: GetObjectLegalHoldRequest
    ) -> RusotoFuture<GetObjectLegalHoldOutput, GetObjectLegalHoldError>;
fn get_object_lock_configuration(
        &self,
        input: GetObjectLockConfigurationRequest
    ) -> RusotoFuture<GetObjectLockConfigurationOutput, GetObjectLockConfigurationError>;
fn get_object_retention(
        &self,
        input: GetObjectRetentionRequest
    ) -> RusotoFuture<GetObjectRetentionOutput, GetObjectRetentionError>;
fn get_object_tagging(
        &self,
        input: GetObjectTaggingRequest
    ) -> RusotoFuture<GetObjectTaggingOutput, GetObjectTaggingError>;
fn get_object_torrent(
        &self,
        input: GetObjectTorrentRequest
    ) -> RusotoFuture<GetObjectTorrentOutput, GetObjectTorrentError>;
fn get_public_access_block(
        &self,
        input: GetPublicAccessBlockRequest
    ) -> RusotoFuture<GetPublicAccessBlockOutput, GetPublicAccessBlockError>;
fn head_bucket(
        &self,
        input: HeadBucketRequest
    ) -> RusotoFuture<(), HeadBucketError>;
fn head_object(
        &self,
        input: HeadObjectRequest
    ) -> RusotoFuture<HeadObjectOutput, HeadObjectError>;
fn list_bucket_analytics_configurations(
        &self,
        input: ListBucketAnalyticsConfigurationsRequest
    ) -> RusotoFuture<ListBucketAnalyticsConfigurationsOutput, ListBucketAnalyticsConfigurationsError>;
fn list_bucket_inventory_configurations(
        &self,
        input: ListBucketInventoryConfigurationsRequest
    ) -> RusotoFuture<ListBucketInventoryConfigurationsOutput, ListBucketInventoryConfigurationsError>;
fn list_bucket_metrics_configurations(
        &self,
        input: ListBucketMetricsConfigurationsRequest
    ) -> RusotoFuture<ListBucketMetricsConfigurationsOutput, ListBucketMetricsConfigurationsError>;
fn list_buckets(&self) -> RusotoFuture<ListBucketsOutput, ListBucketsError>;
fn list_multipart_uploads(
        &self,
        input: ListMultipartUploadsRequest
    ) -> RusotoFuture<ListMultipartUploadsOutput, ListMultipartUploadsError>;
fn list_object_versions(
        &self,
        input: ListObjectVersionsRequest
    ) -> RusotoFuture<ListObjectVersionsOutput, ListObjectVersionsError>;
fn list_objects(
        &self,
        input: ListObjectsRequest
    ) -> RusotoFuture<ListObjectsOutput, ListObjectsError>;
fn list_objects_v2(
        &self,
        input: ListObjectsV2Request
    ) -> RusotoFuture<ListObjectsV2Output, ListObjectsV2Error>;
fn list_parts(
        &self,
        input: ListPartsRequest
    ) -> RusotoFuture<ListPartsOutput, ListPartsError>;
fn put_bucket_accelerate_configuration(
        &self,
        input: PutBucketAccelerateConfigurationRequest
    ) -> RusotoFuture<(), PutBucketAccelerateConfigurationError>;
fn put_bucket_acl(
        &self,
        input: PutBucketAclRequest
    ) -> RusotoFuture<(), PutBucketAclError>;
fn put_bucket_analytics_configuration(
        &self,
        input: PutBucketAnalyticsConfigurationRequest
    ) -> RusotoFuture<(), PutBucketAnalyticsConfigurationError>;
fn put_bucket_cors(
        &self,
        input: PutBucketCorsRequest
    ) -> RusotoFuture<(), PutBucketCorsError>;
fn put_bucket_encryption(
        &self,
        input: PutBucketEncryptionRequest
    ) -> RusotoFuture<(), PutBucketEncryptionError>;
fn put_bucket_inventory_configuration(
        &self,
        input: PutBucketInventoryConfigurationRequest
    ) -> RusotoFuture<(), PutBucketInventoryConfigurationError>;
fn put_bucket_lifecycle(
        &self,
        input: PutBucketLifecycleRequest
    ) -> RusotoFuture<(), PutBucketLifecycleError>;
fn put_bucket_lifecycle_configuration(
        &self,
        input: PutBucketLifecycleConfigurationRequest
    ) -> RusotoFuture<(), PutBucketLifecycleConfigurationError>;
fn put_bucket_logging(
        &self,
        input: PutBucketLoggingRequest
    ) -> RusotoFuture<(), PutBucketLoggingError>;
fn put_bucket_metrics_configuration(
        &self,
        input: PutBucketMetricsConfigurationRequest
    ) -> RusotoFuture<(), PutBucketMetricsConfigurationError>;
fn put_bucket_notification(
        &self,
        input: PutBucketNotificationRequest
    ) -> RusotoFuture<(), PutBucketNotificationError>;
fn put_bucket_notification_configuration(
        &self,
        input: PutBucketNotificationConfigurationRequest
    ) -> RusotoFuture<(), PutBucketNotificationConfigurationError>;
fn put_bucket_policy(
        &self,
        input: PutBucketPolicyRequest
    ) -> RusotoFuture<(), PutBucketPolicyError>;
fn put_bucket_replication(
        &self,
        input: PutBucketReplicationRequest
    ) -> RusotoFuture<(), PutBucketReplicationError>;
fn put_bucket_request_payment(
        &self,
        input: PutBucketRequestPaymentRequest
    ) -> RusotoFuture<(), PutBucketRequestPaymentError>;
fn put_bucket_tagging(
        &self,
        input: PutBucketTaggingRequest
    ) -> RusotoFuture<(), PutBucketTaggingError>;
fn put_bucket_versioning(
        &self,
        input: PutBucketVersioningRequest
    ) -> RusotoFuture<(), PutBucketVersioningError>;
fn put_bucket_website(
        &self,
        input: PutBucketWebsiteRequest
    ) -> RusotoFuture<(), PutBucketWebsiteError>;
fn put_object(
        &self,
        input: PutObjectRequest
    ) -> RusotoFuture<PutObjectOutput, PutObjectError>;
fn put_object_acl(
        &self,
        input: PutObjectAclRequest
    ) -> RusotoFuture<PutObjectAclOutput, PutObjectAclError>;
fn put_object_legal_hold(
        &self,
        input: PutObjectLegalHoldRequest
    ) -> RusotoFuture<PutObjectLegalHoldOutput, PutObjectLegalHoldError>;
fn put_object_lock_configuration(
        &self,
        input: PutObjectLockConfigurationRequest
    ) -> RusotoFuture<PutObjectLockConfigurationOutput, PutObjectLockConfigurationError>;
fn put_object_retention(
        &self,
        input: PutObjectRetentionRequest
    ) -> RusotoFuture<PutObjectRetentionOutput, PutObjectRetentionError>;
fn put_object_tagging(
        &self,
        input: PutObjectTaggingRequest
    ) -> RusotoFuture<PutObjectTaggingOutput, PutObjectTaggingError>;
fn put_public_access_block(
        &self,
        input: PutPublicAccessBlockRequest
    ) -> RusotoFuture<(), PutPublicAccessBlockError>;
fn restore_object(
        &self,
        input: RestoreObjectRequest
    ) -> RusotoFuture<RestoreObjectOutput, RestoreObjectError>;
fn select_object_content(
        &self,
        input: SelectObjectContentRequest
    ) -> RusotoFuture<SelectObjectContentOutput, SelectObjectContentError>;
fn upload_part(
        &self,
        input: UploadPartRequest
    ) -> RusotoFuture<UploadPartOutput, UploadPartError>;
fn upload_part_copy(
        &self,
        input: UploadPartCopyRequest
    ) -> RusotoFuture<UploadPartCopyOutput, UploadPartCopyError>; }

Trait representing the capabilities of the Amazon S3 API. Amazon S3 clients implement this trait.

Required methods

fn abort_multipart_upload(
    &self,
    input: AbortMultipartUploadRequest
) -> RusotoFuture<AbortMultipartUploadOutput, AbortMultipartUploadError>

Aborts a multipart upload.

To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty.

fn complete_multipart_upload(
    &self,
    input: CompleteMultipartUploadRequest
) -> RusotoFuture<CompleteMultipartUploadOutput, CompleteMultipartUploadError>

Completes a multipart upload by assembling previously uploaded parts.

fn copy_object(
    &self,
    input: CopyObjectRequest
) -> RusotoFuture<CopyObjectOutput, CopyObjectError>

Creates a copy of an object that is already stored in Amazon S3.

fn create_bucket(
    &self,
    input: CreateBucketRequest
) -> RusotoFuture<CreateBucketOutput, CreateBucketError>

Creates a new bucket.

fn create_multipart_upload(
    &self,
    input: CreateMultipartUploadRequest
) -> RusotoFuture<CreateMultipartUploadOutput, CreateMultipartUploadError>

Initiates a multipart upload and returns an upload ID.

Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.

fn delete_bucket(
    &self,
    input: DeleteBucketRequest
) -> RusotoFuture<(), DeleteBucketError>

Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.

fn delete_bucket_analytics_configuration(
    &self,
    input: DeleteBucketAnalyticsConfigurationRequest
) -> RusotoFuture<(), DeleteBucketAnalyticsConfigurationError>

Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).

To use this operation, you must have permissions to perform the s3:PutAnalyticsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others.

fn delete_bucket_cors(
    &self,
    input: DeleteBucketCorsRequest
) -> RusotoFuture<(), DeleteBucketCorsError>

Deletes the CORS configuration information set for the bucket.

fn delete_bucket_encryption(
    &self,
    input: DeleteBucketEncryptionRequest
) -> RusotoFuture<(), DeleteBucketEncryptionError>

Deletes the server-side encryption configuration from the bucket.

fn delete_bucket_inventory_configuration(
    &self,
    input: DeleteBucketInventoryConfigurationRequest
) -> RusotoFuture<(), DeleteBucketInventoryConfigurationError>

Deletes an inventory configuration (identified by the inventory ID) from the bucket.

fn delete_bucket_lifecycle(
    &self,
    input: DeleteBucketLifecycleRequest
) -> RusotoFuture<(), DeleteBucketLifecycleError>

Deletes the lifecycle configuration from the bucket.

fn delete_bucket_metrics_configuration(
    &self,
    input: DeleteBucketMetricsConfigurationRequest
) -> RusotoFuture<(), DeleteBucketMetricsConfigurationError>

Deletes a metrics configuration (specified by the metrics configuration ID) from the bucket.

fn delete_bucket_policy(
    &self,
    input: DeleteBucketPolicyRequest
) -> RusotoFuture<(), DeleteBucketPolicyError>

Deletes the policy from the bucket.

fn delete_bucket_replication(
    &self,
    input: DeleteBucketReplicationRequest
) -> RusotoFuture<(), DeleteBucketReplicationError>

Deletes the replication configuration from the bucket. For information about replication configuration, see Cross-Region Replication (CRR) in the Amazon S3 Developer Guide.

fn delete_bucket_tagging(
    &self,
    input: DeleteBucketTaggingRequest
) -> RusotoFuture<(), DeleteBucketTaggingError>

Deletes the tags from the bucket.

fn delete_bucket_website(
    &self,
    input: DeleteBucketWebsiteRequest
) -> RusotoFuture<(), DeleteBucketWebsiteError>

This operation removes the website configuration from the bucket.

fn delete_object(
    &self,
    input: DeleteObjectRequest
) -> RusotoFuture<DeleteObjectOutput, DeleteObjectError>

Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects.

fn delete_object_tagging(
    &self,
    input: DeleteObjectTaggingRequest
) -> RusotoFuture<DeleteObjectTaggingOutput, DeleteObjectTaggingError>

Removes the tag-set from an existing object.

fn delete_objects(
    &self,
    input: DeleteObjectsRequest
) -> RusotoFuture<DeleteObjectsOutput, DeleteObjectsError>

This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys.

fn delete_public_access_block(
    &self,
    input: DeletePublicAccessBlockRequest
) -> RusotoFuture<(), DeletePublicAccessBlockError>

Removes the PublicAccessBlock configuration from an Amazon S3 bucket.

fn get_bucket_accelerate_configuration(
    &self,
    input: GetBucketAccelerateConfigurationRequest
) -> RusotoFuture<GetBucketAccelerateConfigurationOutput, GetBucketAccelerateConfigurationError>

Returns the accelerate configuration of a bucket.

fn get_bucket_acl(
    &self,
    input: GetBucketAclRequest
) -> RusotoFuture<GetBucketAclOutput, GetBucketAclError>

Gets the access control policy for the bucket.

fn get_bucket_analytics_configuration(
    &self,
    input: GetBucketAnalyticsConfigurationRequest
) -> RusotoFuture<GetBucketAnalyticsConfigurationOutput, GetBucketAnalyticsConfigurationError>

Gets an analytics configuration for the bucket (specified by the analytics configuration ID).

fn get_bucket_cors(
    &self,
    input: GetBucketCorsRequest
) -> RusotoFuture<GetBucketCorsOutput, GetBucketCorsError>

Returns the CORS configuration for the bucket.

fn get_bucket_encryption(
    &self,
    input: GetBucketEncryptionRequest
) -> RusotoFuture<GetBucketEncryptionOutput, GetBucketEncryptionError>

Returns the server-side encryption configuration of a bucket.

fn get_bucket_inventory_configuration(
    &self,
    input: GetBucketInventoryConfigurationRequest
) -> RusotoFuture<GetBucketInventoryConfigurationOutput, GetBucketInventoryConfigurationError>

Returns an inventory configuration (identified by the inventory ID) from the bucket.

fn get_bucket_lifecycle(
    &self,
    input: GetBucketLifecycleRequest
) -> RusotoFuture<GetBucketLifecycleOutput, GetBucketLifecycleError>

No longer used, see the GetBucketLifecycleConfiguration operation.

fn get_bucket_lifecycle_configuration(
    &self,
    input: GetBucketLifecycleConfigurationRequest
) -> RusotoFuture<GetBucketLifecycleConfigurationOutput, GetBucketLifecycleConfigurationError>

Returns the lifecycle configuration information set on the bucket.

fn get_bucket_location(
    &self,
    input: GetBucketLocationRequest
) -> RusotoFuture<GetBucketLocationOutput, GetBucketLocationError>

Returns the region the bucket resides in.

fn get_bucket_logging(
    &self,
    input: GetBucketLoggingRequest
) -> RusotoFuture<GetBucketLoggingOutput, GetBucketLoggingError>

Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.

fn get_bucket_metrics_configuration(
    &self,
    input: GetBucketMetricsConfigurationRequest
) -> RusotoFuture<GetBucketMetricsConfigurationOutput, GetBucketMetricsConfigurationError>

Gets a metrics configuration (specified by the metrics configuration ID) from the bucket.

fn get_bucket_notification(
    &self,
    input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfigurationDeprecated, GetBucketNotificationError>

No longer used, see the GetBucketNotificationConfiguration operation.

fn get_bucket_notification_configuration(
    &self,
    input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfiguration, GetBucketNotificationConfigurationError>

Returns the notification configuration of a bucket.

fn get_bucket_policy(
    &self,
    input: GetBucketPolicyRequest
) -> RusotoFuture<GetBucketPolicyOutput, GetBucketPolicyError>

Returns the policy of a specified bucket.

fn get_bucket_policy_status(
    &self,
    input: GetBucketPolicyStatusRequest
) -> RusotoFuture<GetBucketPolicyStatusOutput, GetBucketPolicyStatusError>

Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.

fn get_bucket_replication(
    &self,
    input: GetBucketReplicationRequest
) -> RusotoFuture<GetBucketReplicationOutput, GetBucketReplicationError>

Returns the replication configuration of a bucket.

It can take a while to propagate the put or delete a replication configuration to all Amazon S3 systems. Therefore, a get request soon after put or delete can return a wrong result.

fn get_bucket_request_payment(
    &self,
    input: GetBucketRequestPaymentRequest
) -> RusotoFuture<GetBucketRequestPaymentOutput, GetBucketRequestPaymentError>

Returns the request payment configuration of a bucket.

fn get_bucket_tagging(
    &self,
    input: GetBucketTaggingRequest
) -> RusotoFuture<GetBucketTaggingOutput, GetBucketTaggingError>

Returns the tag set associated with the bucket.

fn get_bucket_versioning(
    &self,
    input: GetBucketVersioningRequest
) -> RusotoFuture<GetBucketVersioningOutput, GetBucketVersioningError>

Returns the versioning state of a bucket.

fn get_bucket_website(
    &self,
    input: GetBucketWebsiteRequest
) -> RusotoFuture<GetBucketWebsiteOutput, GetBucketWebsiteError>

Returns the website configuration for a bucket.

fn get_object(
    &self,
    input: GetObjectRequest
) -> RusotoFuture<GetObjectOutput, GetObjectError>

Retrieves objects from Amazon S3.

fn get_object_acl(
    &self,
    input: GetObjectAclRequest
) -> RusotoFuture<GetObjectAclOutput, GetObjectAclError>

Returns the access control list (ACL) of an object.

Gets an object's current Legal Hold status.

fn get_object_lock_configuration(
    &self,
    input: GetObjectLockConfigurationRequest
) -> RusotoFuture<GetObjectLockConfigurationOutput, GetObjectLockConfigurationError>

Gets the object lock configuration for a bucket. The rule specified in the object lock configuration will be applied by default to every new object placed in the specified bucket.

fn get_object_retention(
    &self,
    input: GetObjectRetentionRequest
) -> RusotoFuture<GetObjectRetentionOutput, GetObjectRetentionError>

Retrieves an object's retention settings.

fn get_object_tagging(
    &self,
    input: GetObjectTaggingRequest
) -> RusotoFuture<GetObjectTaggingOutput, GetObjectTaggingError>

Returns the tag-set of an object.

fn get_object_torrent(
    &self,
    input: GetObjectTorrentRequest
) -> RusotoFuture<GetObjectTorrentOutput, GetObjectTorrentError>

Return torrent files from a bucket.

fn get_public_access_block(
    &self,
    input: GetPublicAccessBlockRequest
) -> RusotoFuture<GetPublicAccessBlockOutput, GetPublicAccessBlockError>

Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket.

fn head_bucket(
    &self,
    input: HeadBucketRequest
) -> RusotoFuture<(), HeadBucketError>

This operation is useful to determine if a bucket exists and you have permission to access it.

fn head_object(
    &self,
    input: HeadObjectRequest
) -> RusotoFuture<HeadObjectOutput, HeadObjectError>

The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object.

fn list_bucket_analytics_configurations(
    &self,
    input: ListBucketAnalyticsConfigurationsRequest
) -> RusotoFuture<ListBucketAnalyticsConfigurationsOutput, ListBucketAnalyticsConfigurationsError>

Lists the analytics configurations for the bucket.

fn list_bucket_inventory_configurations(
    &self,
    input: ListBucketInventoryConfigurationsRequest
) -> RusotoFuture<ListBucketInventoryConfigurationsOutput, ListBucketInventoryConfigurationsError>

Returns a list of inventory configurations for the bucket.

fn list_bucket_metrics_configurations(
    &self,
    input: ListBucketMetricsConfigurationsRequest
) -> RusotoFuture<ListBucketMetricsConfigurationsOutput, ListBucketMetricsConfigurationsError>

Lists the metrics configurations for the bucket.

fn list_buckets(&self) -> RusotoFuture<ListBucketsOutput, ListBucketsError>

Returns a list of all buckets owned by the authenticated sender of the request.

fn list_multipart_uploads(
    &self,
    input: ListMultipartUploadsRequest
) -> RusotoFuture<ListMultipartUploadsOutput, ListMultipartUploadsError>

This operation lists in-progress multipart uploads.

fn list_object_versions(
    &self,
    input: ListObjectVersionsRequest
) -> RusotoFuture<ListObjectVersionsOutput, ListObjectVersionsError>

Returns metadata about all of the versions of objects in a bucket.

fn list_objects(
    &self,
    input: ListObjectsRequest
) -> RusotoFuture<ListObjectsOutput, ListObjectsError>

Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket.

fn list_objects_v2(
    &self,
    input: ListObjectsV2Request
) -> RusotoFuture<ListObjectsV2Output, ListObjectsV2Error>

Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. Note: ListObjectsV2 is the revised List Objects API and we recommend you use this revised API for new application development.

fn list_parts(
    &self,
    input: ListPartsRequest
) -> RusotoFuture<ListPartsOutput, ListPartsError>

Lists the parts that have been uploaded for a specific multipart upload.

fn put_bucket_accelerate_configuration(
    &self,
    input: PutBucketAccelerateConfigurationRequest
) -> RusotoFuture<(), PutBucketAccelerateConfigurationError>

Sets the accelerate configuration of an existing bucket.

fn put_bucket_acl(
    &self,
    input: PutBucketAclRequest
) -> RusotoFuture<(), PutBucketAclError>

Sets the permissions on a bucket using access control lists (ACL).

fn put_bucket_analytics_configuration(
    &self,
    input: PutBucketAnalyticsConfigurationRequest
) -> RusotoFuture<(), PutBucketAnalyticsConfigurationError>

Sets an analytics configuration for the bucket (specified by the analytics configuration ID).

fn put_bucket_cors(
    &self,
    input: PutBucketCorsRequest
) -> RusotoFuture<(), PutBucketCorsError>

Sets the CORS configuration for a bucket.

fn put_bucket_encryption(
    &self,
    input: PutBucketEncryptionRequest
) -> RusotoFuture<(), PutBucketEncryptionError>

Creates a new server-side encryption configuration (or replaces an existing one, if present).

fn put_bucket_inventory_configuration(
    &self,
    input: PutBucketInventoryConfigurationRequest
) -> RusotoFuture<(), PutBucketInventoryConfigurationError>

Adds an inventory configuration (identified by the inventory ID) from the bucket.

fn put_bucket_lifecycle(
    &self,
    input: PutBucketLifecycleRequest
) -> RusotoFuture<(), PutBucketLifecycleError>

No longer used, see the PutBucketLifecycleConfiguration operation.

fn put_bucket_lifecycle_configuration(
    &self,
    input: PutBucketLifecycleConfigurationRequest
) -> RusotoFuture<(), PutBucketLifecycleConfigurationError>

Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it.

fn put_bucket_logging(
    &self,
    input: PutBucketLoggingRequest
) -> RusotoFuture<(), PutBucketLoggingError>

Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.

fn put_bucket_metrics_configuration(
    &self,
    input: PutBucketMetricsConfigurationRequest
) -> RusotoFuture<(), PutBucketMetricsConfigurationError>

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.

fn put_bucket_notification(
    &self,
    input: PutBucketNotificationRequest
) -> RusotoFuture<(), PutBucketNotificationError>

No longer used, see the PutBucketNotificationConfiguration operation.

fn put_bucket_notification_configuration(
    &self,
    input: PutBucketNotificationConfigurationRequest
) -> RusotoFuture<(), PutBucketNotificationConfigurationError>

Enables notifications of specified events for a bucket.

fn put_bucket_policy(
    &self,
    input: PutBucketPolicyRequest
) -> RusotoFuture<(), PutBucketPolicyError>

Applies an Amazon S3 bucket policy to an Amazon S3 bucket.

fn put_bucket_replication(
    &self,
    input: PutBucketReplicationRequest
) -> RusotoFuture<(), PutBucketReplicationError>

Creates a replication configuration or replaces an existing one. For more information, see Cross-Region Replication (CRR) in the Amazon S3 Developer Guide.

fn put_bucket_request_payment(
    &self,
    input: PutBucketRequestPaymentRequest
) -> RusotoFuture<(), PutBucketRequestPaymentError>

Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. Documentation on requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html

fn put_bucket_tagging(
    &self,
    input: PutBucketTaggingRequest
) -> RusotoFuture<(), PutBucketTaggingError>

Sets the tags for a bucket.

fn put_bucket_versioning(
    &self,
    input: PutBucketVersioningRequest
) -> RusotoFuture<(), PutBucketVersioningError>

Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.

fn put_bucket_website(
    &self,
    input: PutBucketWebsiteRequest
) -> RusotoFuture<(), PutBucketWebsiteError>

Set the website configuration for a bucket.

fn put_object(
    &self,
    input: PutObjectRequest
) -> RusotoFuture<PutObjectOutput, PutObjectError>

Adds an object to a bucket.

fn put_object_acl(
    &self,
    input: PutObjectAclRequest
) -> RusotoFuture<PutObjectAclOutput, PutObjectAclError>

uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket

Applies a Legal Hold configuration to the specified object.

fn put_object_lock_configuration(
    &self,
    input: PutObjectLockConfigurationRequest
) -> RusotoFuture<PutObjectLockConfigurationOutput, PutObjectLockConfigurationError>

Places an object lock configuration on the specified bucket. The rule specified in the object lock configuration will be applied by default to every new object placed in the specified bucket.

fn put_object_retention(
    &self,
    input: PutObjectRetentionRequest
) -> RusotoFuture<PutObjectRetentionOutput, PutObjectRetentionError>

Places an Object Retention configuration on an object.

fn put_object_tagging(
    &self,
    input: PutObjectTaggingRequest
) -> RusotoFuture<PutObjectTaggingOutput, PutObjectTaggingError>

Sets the supplied tag-set to an object that already exists in a bucket

fn put_public_access_block(
    &self,
    input: PutPublicAccessBlockRequest
) -> RusotoFuture<(), PutPublicAccessBlockError>

Creates or modifies the PublicAccessBlock configuration for an Amazon S3 bucket.

fn restore_object(
    &self,
    input: RestoreObjectRequest
) -> RusotoFuture<RestoreObjectOutput, RestoreObjectError>

Restores an archived copy of an object back into Amazon S3

fn select_object_content(
    &self,
    input: SelectObjectContentRequest
) -> RusotoFuture<SelectObjectContentOutput, SelectObjectContentError>

This operation filters the contents of an Amazon S3 object based on a simple Structured Query Language (SQL) statement. In the request, along with the SQL expression, you must also specify a data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data into records, and returns only records that match the specified SQL expression. You must also specify the data serialization format for the response.

fn upload_part(
    &self,
    input: UploadPartRequest
) -> RusotoFuture<UploadPartOutput, UploadPartError>

Uploads a part in a multipart upload.

Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.

fn upload_part_copy(
    &self,
    input: UploadPartCopyRequest
) -> RusotoFuture<UploadPartCopyOutput, UploadPartCopyError>

Uploads a part by copying data from an existing object as data source.

Loading content...

Implementors

impl S3 for S3Client[src]

fn abort_multipart_upload(
    &self,
    input: AbortMultipartUploadRequest
) -> RusotoFuture<AbortMultipartUploadOutput, AbortMultipartUploadError>
[src]

Aborts a multipart upload.

To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty.

fn complete_multipart_upload(
    &self,
    input: CompleteMultipartUploadRequest
) -> RusotoFuture<CompleteMultipartUploadOutput, CompleteMultipartUploadError>
[src]

Completes a multipart upload by assembling previously uploaded parts.

fn copy_object(
    &self,
    input: CopyObjectRequest
) -> RusotoFuture<CopyObjectOutput, CopyObjectError>
[src]

Creates a copy of an object that is already stored in Amazon S3.

fn create_bucket(
    &self,
    input: CreateBucketRequest
) -> RusotoFuture<CreateBucketOutput, CreateBucketError>
[src]

Creates a new bucket.

fn create_multipart_upload(
    &self,
    input: CreateMultipartUploadRequest
) -> RusotoFuture<CreateMultipartUploadOutput, CreateMultipartUploadError>
[src]

Initiates a multipart upload and returns an upload ID.

Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.

fn delete_bucket(
    &self,
    input: DeleteBucketRequest
) -> RusotoFuture<(), DeleteBucketError>
[src]

Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.

fn delete_bucket_analytics_configuration(
    &self,
    input: DeleteBucketAnalyticsConfigurationRequest
) -> RusotoFuture<(), DeleteBucketAnalyticsConfigurationError>
[src]

Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).

To use this operation, you must have permissions to perform the s3:PutAnalyticsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others.

fn delete_bucket_cors(
    &self,
    input: DeleteBucketCorsRequest
) -> RusotoFuture<(), DeleteBucketCorsError>
[src]

Deletes the CORS configuration information set for the bucket.

fn delete_bucket_encryption(
    &self,
    input: DeleteBucketEncryptionRequest
) -> RusotoFuture<(), DeleteBucketEncryptionError>
[src]

Deletes the server-side encryption configuration from the bucket.

fn delete_bucket_inventory_configuration(
    &self,
    input: DeleteBucketInventoryConfigurationRequest
) -> RusotoFuture<(), DeleteBucketInventoryConfigurationError>
[src]

Deletes an inventory configuration (identified by the inventory ID) from the bucket.

fn delete_bucket_lifecycle(
    &self,
    input: DeleteBucketLifecycleRequest
) -> RusotoFuture<(), DeleteBucketLifecycleError>
[src]

Deletes the lifecycle configuration from the bucket.

fn delete_bucket_metrics_configuration(
    &self,
    input: DeleteBucketMetricsConfigurationRequest
) -> RusotoFuture<(), DeleteBucketMetricsConfigurationError>
[src]

Deletes a metrics configuration (specified by the metrics configuration ID) from the bucket.

fn delete_bucket_policy(
    &self,
    input: DeleteBucketPolicyRequest
) -> RusotoFuture<(), DeleteBucketPolicyError>
[src]

Deletes the policy from the bucket.

fn delete_bucket_replication(
    &self,
    input: DeleteBucketReplicationRequest
) -> RusotoFuture<(), DeleteBucketReplicationError>
[src]

Deletes the replication configuration from the bucket. For information about replication configuration, see Cross-Region Replication (CRR) in the Amazon S3 Developer Guide.

fn delete_bucket_tagging(
    &self,
    input: DeleteBucketTaggingRequest
) -> RusotoFuture<(), DeleteBucketTaggingError>
[src]

Deletes the tags from the bucket.

fn delete_bucket_website(
    &self,
    input: DeleteBucketWebsiteRequest
) -> RusotoFuture<(), DeleteBucketWebsiteError>
[src]

This operation removes the website configuration from the bucket.

fn delete_object(
    &self,
    input: DeleteObjectRequest
) -> RusotoFuture<DeleteObjectOutput, DeleteObjectError>
[src]

Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects.

fn delete_object_tagging(
    &self,
    input: DeleteObjectTaggingRequest
) -> RusotoFuture<DeleteObjectTaggingOutput, DeleteObjectTaggingError>
[src]

Removes the tag-set from an existing object.

fn delete_objects(
    &self,
    input: DeleteObjectsRequest
) -> RusotoFuture<DeleteObjectsOutput, DeleteObjectsError>
[src]

This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys.

fn delete_public_access_block(
    &self,
    input: DeletePublicAccessBlockRequest
) -> RusotoFuture<(), DeletePublicAccessBlockError>
[src]

Removes the PublicAccessBlock configuration from an Amazon S3 bucket.

fn get_bucket_accelerate_configuration(
    &self,
    input: GetBucketAccelerateConfigurationRequest
) -> RusotoFuture<GetBucketAccelerateConfigurationOutput, GetBucketAccelerateConfigurationError>
[src]

Returns the accelerate configuration of a bucket.

fn get_bucket_acl(
    &self,
    input: GetBucketAclRequest
) -> RusotoFuture<GetBucketAclOutput, GetBucketAclError>
[src]

Gets the access control policy for the bucket.

fn get_bucket_analytics_configuration(
    &self,
    input: GetBucketAnalyticsConfigurationRequest
) -> RusotoFuture<GetBucketAnalyticsConfigurationOutput, GetBucketAnalyticsConfigurationError>
[src]

Gets an analytics configuration for the bucket (specified by the analytics configuration ID).

fn get_bucket_cors(
    &self,
    input: GetBucketCorsRequest
) -> RusotoFuture<GetBucketCorsOutput, GetBucketCorsError>
[src]

Returns the CORS configuration for the bucket.

fn get_bucket_encryption(
    &self,
    input: GetBucketEncryptionRequest
) -> RusotoFuture<GetBucketEncryptionOutput, GetBucketEncryptionError>
[src]

Returns the server-side encryption configuration of a bucket.

fn get_bucket_inventory_configuration(
    &self,
    input: GetBucketInventoryConfigurationRequest
) -> RusotoFuture<GetBucketInventoryConfigurationOutput, GetBucketInventoryConfigurationError>
[src]

Returns an inventory configuration (identified by the inventory ID) from the bucket.

fn get_bucket_lifecycle(
    &self,
    input: GetBucketLifecycleRequest
) -> RusotoFuture<GetBucketLifecycleOutput, GetBucketLifecycleError>
[src]

No longer used, see the GetBucketLifecycleConfiguration operation.

fn get_bucket_lifecycle_configuration(
    &self,
    input: GetBucketLifecycleConfigurationRequest
) -> RusotoFuture<GetBucketLifecycleConfigurationOutput, GetBucketLifecycleConfigurationError>
[src]

Returns the lifecycle configuration information set on the bucket.

fn get_bucket_location(
    &self,
    input: GetBucketLocationRequest
) -> RusotoFuture<GetBucketLocationOutput, GetBucketLocationError>
[src]

Returns the region the bucket resides in.

fn get_bucket_logging(
    &self,
    input: GetBucketLoggingRequest
) -> RusotoFuture<GetBucketLoggingOutput, GetBucketLoggingError>
[src]

Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.

fn get_bucket_metrics_configuration(
    &self,
    input: GetBucketMetricsConfigurationRequest
) -> RusotoFuture<GetBucketMetricsConfigurationOutput, GetBucketMetricsConfigurationError>
[src]

Gets a metrics configuration (specified by the metrics configuration ID) from the bucket.

fn get_bucket_notification(
    &self,
    input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfigurationDeprecated, GetBucketNotificationError>
[src]

No longer used, see the GetBucketNotificationConfiguration operation.

fn get_bucket_notification_configuration(
    &self,
    input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfiguration, GetBucketNotificationConfigurationError>
[src]

Returns the notification configuration of a bucket.

fn get_bucket_policy(
    &self,
    input: GetBucketPolicyRequest
) -> RusotoFuture<GetBucketPolicyOutput, GetBucketPolicyError>
[src]

Returns the policy of a specified bucket.

fn get_bucket_policy_status(
    &self,
    input: GetBucketPolicyStatusRequest
) -> RusotoFuture<GetBucketPolicyStatusOutput, GetBucketPolicyStatusError>
[src]

Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.

fn get_bucket_replication(
    &self,
    input: GetBucketReplicationRequest
) -> RusotoFuture<GetBucketReplicationOutput, GetBucketReplicationError>
[src]

Returns the replication configuration of a bucket.

It can take a while to propagate the put or delete a replication configuration to all Amazon S3 systems. Therefore, a get request soon after put or delete can return a wrong result.

fn get_bucket_request_payment(
    &self,
    input: GetBucketRequestPaymentRequest
) -> RusotoFuture<GetBucketRequestPaymentOutput, GetBucketRequestPaymentError>
[src]

Returns the request payment configuration of a bucket.

fn get_bucket_tagging(
    &self,
    input: GetBucketTaggingRequest
) -> RusotoFuture<GetBucketTaggingOutput, GetBucketTaggingError>
[src]

Returns the tag set associated with the bucket.

fn get_bucket_versioning(
    &self,
    input: GetBucketVersioningRequest
) -> RusotoFuture<GetBucketVersioningOutput, GetBucketVersioningError>
[src]

Returns the versioning state of a bucket.

fn get_bucket_website(
    &self,
    input: GetBucketWebsiteRequest
) -> RusotoFuture<GetBucketWebsiteOutput, GetBucketWebsiteError>
[src]

Returns the website configuration for a bucket.

fn get_object(
    &self,
    input: GetObjectRequest
) -> RusotoFuture<GetObjectOutput, GetObjectError>
[src]

Retrieves objects from Amazon S3.

fn get_object_acl(
    &self,
    input: GetObjectAclRequest
) -> RusotoFuture<GetObjectAclOutput, GetObjectAclError>
[src]

Returns the access control list (ACL) of an object.

Gets an object's current Legal Hold status.

fn get_object_lock_configuration(
    &self,
    input: GetObjectLockConfigurationRequest
) -> RusotoFuture<GetObjectLockConfigurationOutput, GetObjectLockConfigurationError>
[src]

Gets the object lock configuration for a bucket. The rule specified in the object lock configuration will be applied by default to every new object placed in the specified bucket.

fn get_object_retention(
    &self,
    input: GetObjectRetentionRequest
) -> RusotoFuture<GetObjectRetentionOutput, GetObjectRetentionError>
[src]

Retrieves an object's retention settings.

fn get_object_tagging(
    &self,
    input: GetObjectTaggingRequest
) -> RusotoFuture<GetObjectTaggingOutput, GetObjectTaggingError>
[src]

Returns the tag-set of an object.

fn get_object_torrent(
    &self,
    input: GetObjectTorrentRequest
) -> RusotoFuture<GetObjectTorrentOutput, GetObjectTorrentError>
[src]

Return torrent files from a bucket.

fn get_public_access_block(
    &self,
    input: GetPublicAccessBlockRequest
) -> RusotoFuture<GetPublicAccessBlockOutput, GetPublicAccessBlockError>
[src]

Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket.

fn head_bucket(
    &self,
    input: HeadBucketRequest
) -> RusotoFuture<(), HeadBucketError>
[src]

This operation is useful to determine if a bucket exists and you have permission to access it.

fn head_object(
    &self,
    input: HeadObjectRequest
) -> RusotoFuture<HeadObjectOutput, HeadObjectError>
[src]

The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object.

fn list_bucket_analytics_configurations(
    &self,
    input: ListBucketAnalyticsConfigurationsRequest
) -> RusotoFuture<ListBucketAnalyticsConfigurationsOutput, ListBucketAnalyticsConfigurationsError>
[src]

Lists the analytics configurations for the bucket.

fn list_bucket_inventory_configurations(
    &self,
    input: ListBucketInventoryConfigurationsRequest
) -> RusotoFuture<ListBucketInventoryConfigurationsOutput, ListBucketInventoryConfigurationsError>
[src]

Returns a list of inventory configurations for the bucket.

fn list_bucket_metrics_configurations(
    &self,
    input: ListBucketMetricsConfigurationsRequest
) -> RusotoFuture<ListBucketMetricsConfigurationsOutput, ListBucketMetricsConfigurationsError>
[src]

Lists the metrics configurations for the bucket.

fn list_buckets(&self) -> RusotoFuture<ListBucketsOutput, ListBucketsError>[src]

Returns a list of all buckets owned by the authenticated sender of the request.

fn list_multipart_uploads(
    &self,
    input: ListMultipartUploadsRequest
) -> RusotoFuture<ListMultipartUploadsOutput, ListMultipartUploadsError>
[src]

This operation lists in-progress multipart uploads.

fn list_object_versions(
    &self,
    input: ListObjectVersionsRequest
) -> RusotoFuture<ListObjectVersionsOutput, ListObjectVersionsError>
[src]

Returns metadata about all of the versions of objects in a bucket.

fn list_objects(
    &self,
    input: ListObjectsRequest
) -> RusotoFuture<ListObjectsOutput, ListObjectsError>
[src]

Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket.

fn list_objects_v2(
    &self,
    input: ListObjectsV2Request
) -> RusotoFuture<ListObjectsV2Output, ListObjectsV2Error>
[src]

Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. Note: ListObjectsV2 is the revised List Objects API and we recommend you use this revised API for new application development.

fn list_parts(
    &self,
    input: ListPartsRequest
) -> RusotoFuture<ListPartsOutput, ListPartsError>
[src]

Lists the parts that have been uploaded for a specific multipart upload.

fn put_bucket_accelerate_configuration(
    &self,
    input: PutBucketAccelerateConfigurationRequest
) -> RusotoFuture<(), PutBucketAccelerateConfigurationError>
[src]

Sets the accelerate configuration of an existing bucket.

fn put_bucket_acl(
    &self,
    input: PutBucketAclRequest
) -> RusotoFuture<(), PutBucketAclError>
[src]

Sets the permissions on a bucket using access control lists (ACL).

fn put_bucket_analytics_configuration(
    &self,
    input: PutBucketAnalyticsConfigurationRequest
) -> RusotoFuture<(), PutBucketAnalyticsConfigurationError>
[src]

Sets an analytics configuration for the bucket (specified by the analytics configuration ID).

fn put_bucket_cors(
    &self,
    input: PutBucketCorsRequest
) -> RusotoFuture<(), PutBucketCorsError>
[src]

Sets the CORS configuration for a bucket.

fn put_bucket_encryption(
    &self,
    input: PutBucketEncryptionRequest
) -> RusotoFuture<(), PutBucketEncryptionError>
[src]

Creates a new server-side encryption configuration (or replaces an existing one, if present).

fn put_bucket_inventory_configuration(
    &self,
    input: PutBucketInventoryConfigurationRequest
) -> RusotoFuture<(), PutBucketInventoryConfigurationError>
[src]

Adds an inventory configuration (identified by the inventory ID) from the bucket.

fn put_bucket_lifecycle(
    &self,
    input: PutBucketLifecycleRequest
) -> RusotoFuture<(), PutBucketLifecycleError>
[src]

No longer used, see the PutBucketLifecycleConfiguration operation.

fn put_bucket_lifecycle_configuration(
    &self,
    input: PutBucketLifecycleConfigurationRequest
) -> RusotoFuture<(), PutBucketLifecycleConfigurationError>
[src]

Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it.

fn put_bucket_logging(
    &self,
    input: PutBucketLoggingRequest
) -> RusotoFuture<(), PutBucketLoggingError>
[src]

Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.

fn put_bucket_metrics_configuration(
    &self,
    input: PutBucketMetricsConfigurationRequest
) -> RusotoFuture<(), PutBucketMetricsConfigurationError>
[src]

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.

fn put_bucket_notification(
    &self,
    input: PutBucketNotificationRequest
) -> RusotoFuture<(), PutBucketNotificationError>
[src]

No longer used, see the PutBucketNotificationConfiguration operation.

fn put_bucket_notification_configuration(
    &self,
    input: PutBucketNotificationConfigurationRequest
) -> RusotoFuture<(), PutBucketNotificationConfigurationError>
[src]

Enables notifications of specified events for a bucket.

fn put_bucket_policy(
    &self,
    input: PutBucketPolicyRequest
) -> RusotoFuture<(), PutBucketPolicyError>
[src]

Applies an Amazon S3 bucket policy to an Amazon S3 bucket.

fn put_bucket_replication(
    &self,
    input: PutBucketReplicationRequest
) -> RusotoFuture<(), PutBucketReplicationError>
[src]

Creates a replication configuration or replaces an existing one. For more information, see Cross-Region Replication (CRR) in the Amazon S3 Developer Guide.

fn put_bucket_request_payment(
    &self,
    input: PutBucketRequestPaymentRequest
) -> RusotoFuture<(), PutBucketRequestPaymentError>
[src]

Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. Documentation on requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html

fn put_bucket_tagging(
    &self,
    input: PutBucketTaggingRequest
) -> RusotoFuture<(), PutBucketTaggingError>
[src]

Sets the tags for a bucket.

fn put_bucket_versioning(
    &self,
    input: PutBucketVersioningRequest
) -> RusotoFuture<(), PutBucketVersioningError>
[src]

Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.

fn put_bucket_website(
    &self,
    input: PutBucketWebsiteRequest
) -> RusotoFuture<(), PutBucketWebsiteError>
[src]

Set the website configuration for a bucket.

fn put_object(
    &self,
    input: PutObjectRequest
) -> RusotoFuture<PutObjectOutput, PutObjectError>
[src]

Adds an object to a bucket.

fn put_object_acl(
    &self,
    input: PutObjectAclRequest
) -> RusotoFuture<PutObjectAclOutput, PutObjectAclError>
[src]

uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket

Applies a Legal Hold configuration to the specified object.

fn put_object_lock_configuration(
    &self,
    input: PutObjectLockConfigurationRequest
) -> RusotoFuture<PutObjectLockConfigurationOutput, PutObjectLockConfigurationError>
[src]

Places an object lock configuration on the specified bucket. The rule specified in the object lock configuration will be applied by default to every new object placed in the specified bucket.

fn put_object_retention(
    &self,
    input: PutObjectRetentionRequest
) -> RusotoFuture<PutObjectRetentionOutput, PutObjectRetentionError>
[src]

Places an Object Retention configuration on an object.

fn put_object_tagging(
    &self,
    input: PutObjectTaggingRequest
) -> RusotoFuture<PutObjectTaggingOutput, PutObjectTaggingError>
[src]

Sets the supplied tag-set to an object that already exists in a bucket

fn put_public_access_block(
    &self,
    input: PutPublicAccessBlockRequest
) -> RusotoFuture<(), PutPublicAccessBlockError>
[src]

Creates or modifies the PublicAccessBlock configuration for an Amazon S3 bucket.

fn restore_object(
    &self,
    input: RestoreObjectRequest
) -> RusotoFuture<RestoreObjectOutput, RestoreObjectError>
[src]

Restores an archived copy of an object back into Amazon S3

fn select_object_content(
    &self,
    input: SelectObjectContentRequest
) -> RusotoFuture<SelectObjectContentOutput, SelectObjectContentError>
[src]

This operation filters the contents of an Amazon S3 object based on a simple Structured Query Language (SQL) statement. In the request, along with the SQL expression, you must also specify a data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data into records, and returns only records that match the specified SQL expression. You must also specify the data serialization format for the response.

fn upload_part(
    &self,
    input: UploadPartRequest
) -> RusotoFuture<UploadPartOutput, UploadPartError>
[src]

Uploads a part in a multipart upload.

Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.

fn upload_part_copy(
    &self,
    input: UploadPartCopyRequest
) -> RusotoFuture<UploadPartCopyOutput, UploadPartCopyError>
[src]

Uploads a part by copying data from an existing object as data source.

Loading content...