[−][src]Trait rusoto_s3::S3
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>
&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>
&self,
input: CompleteMultipartUploadRequest
) -> RusotoFuture<CompleteMultipartUploadOutput, CompleteMultipartUploadError>
Completes a multipart upload by assembling previously uploaded parts.
fn copy_object(
&self,
input: CopyObjectRequest
) -> RusotoFuture<CopyObjectOutput, CopyObjectError>
&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>
&self,
input: CreateBucketRequest
) -> RusotoFuture<CreateBucketOutput, CreateBucketError>
Creates a new bucket.
fn create_multipart_upload(
&self,
input: CreateMultipartUploadRequest
) -> RusotoFuture<CreateMultipartUploadOutput, CreateMultipartUploadError>
&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>
&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>
&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>
&self,
input: DeleteBucketCorsRequest
) -> RusotoFuture<(), DeleteBucketCorsError>
Deletes the CORS configuration information set for the bucket.
fn delete_bucket_encryption(
&self,
input: DeleteBucketEncryptionRequest
) -> RusotoFuture<(), DeleteBucketEncryptionError>
&self,
input: DeleteBucketEncryptionRequest
) -> RusotoFuture<(), DeleteBucketEncryptionError>
Deletes the server-side encryption configuration from the bucket.
fn delete_bucket_inventory_configuration(
&self,
input: DeleteBucketInventoryConfigurationRequest
) -> RusotoFuture<(), DeleteBucketInventoryConfigurationError>
&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>
&self,
input: DeleteBucketLifecycleRequest
) -> RusotoFuture<(), DeleteBucketLifecycleError>
Deletes the lifecycle configuration from the bucket.
fn delete_bucket_metrics_configuration(
&self,
input: DeleteBucketMetricsConfigurationRequest
) -> RusotoFuture<(), DeleteBucketMetricsConfigurationError>
&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>
&self,
input: DeleteBucketPolicyRequest
) -> RusotoFuture<(), DeleteBucketPolicyError>
Deletes the policy from the bucket.
fn delete_bucket_replication(
&self,
input: DeleteBucketReplicationRequest
) -> RusotoFuture<(), DeleteBucketReplicationError>
&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>
&self,
input: DeleteBucketTaggingRequest
) -> RusotoFuture<(), DeleteBucketTaggingError>
Deletes the tags from the bucket.
fn delete_bucket_website(
&self,
input: DeleteBucketWebsiteRequest
) -> RusotoFuture<(), DeleteBucketWebsiteError>
&self,
input: DeleteBucketWebsiteRequest
) -> RusotoFuture<(), DeleteBucketWebsiteError>
This operation removes the website configuration from the bucket.
fn delete_object(
&self,
input: DeleteObjectRequest
) -> RusotoFuture<DeleteObjectOutput, DeleteObjectError>
&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>
&self,
input: DeleteObjectTaggingRequest
) -> RusotoFuture<DeleteObjectTaggingOutput, DeleteObjectTaggingError>
Removes the tag-set from an existing object.
fn delete_objects(
&self,
input: DeleteObjectsRequest
) -> RusotoFuture<DeleteObjectsOutput, DeleteObjectsError>
&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>
&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>
&self,
input: GetBucketAccelerateConfigurationRequest
) -> RusotoFuture<GetBucketAccelerateConfigurationOutput, GetBucketAccelerateConfigurationError>
Returns the accelerate configuration of a bucket.
fn get_bucket_acl(
&self,
input: GetBucketAclRequest
) -> RusotoFuture<GetBucketAclOutput, GetBucketAclError>
&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>
&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>
&self,
input: GetBucketCorsRequest
) -> RusotoFuture<GetBucketCorsOutput, GetBucketCorsError>
Returns the CORS configuration for the bucket.
fn get_bucket_encryption(
&self,
input: GetBucketEncryptionRequest
) -> RusotoFuture<GetBucketEncryptionOutput, GetBucketEncryptionError>
&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>
&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>
&self,
input: GetBucketLifecycleRequest
) -> RusotoFuture<GetBucketLifecycleOutput, GetBucketLifecycleError>
No longer used, see the GetBucketLifecycleConfiguration operation.
fn get_bucket_lifecycle_configuration(
&self,
input: GetBucketLifecycleConfigurationRequest
) -> RusotoFuture<GetBucketLifecycleConfigurationOutput, GetBucketLifecycleConfigurationError>
&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>
&self,
input: GetBucketLocationRequest
) -> RusotoFuture<GetBucketLocationOutput, GetBucketLocationError>
Returns the region the bucket resides in.
fn get_bucket_logging(
&self,
input: GetBucketLoggingRequest
) -> RusotoFuture<GetBucketLoggingOutput, GetBucketLoggingError>
&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>
&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>
&self,
input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfigurationDeprecated, GetBucketNotificationError>
No longer used, see the GetBucketNotificationConfiguration operation.
fn get_bucket_notification_configuration(
&self,
input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfiguration, GetBucketNotificationConfigurationError>
&self,
input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfiguration, GetBucketNotificationConfigurationError>
Returns the notification configuration of a bucket.
fn get_bucket_policy(
&self,
input: GetBucketPolicyRequest
) -> RusotoFuture<GetBucketPolicyOutput, GetBucketPolicyError>
&self,
input: GetBucketPolicyRequest
) -> RusotoFuture<GetBucketPolicyOutput, GetBucketPolicyError>
Returns the policy of a specified bucket.
fn get_bucket_policy_status(
&self,
input: GetBucketPolicyStatusRequest
) -> RusotoFuture<GetBucketPolicyStatusOutput, GetBucketPolicyStatusError>
&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>
&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>
&self,
input: GetBucketRequestPaymentRequest
) -> RusotoFuture<GetBucketRequestPaymentOutput, GetBucketRequestPaymentError>
Returns the request payment configuration of a bucket.
fn get_bucket_tagging(
&self,
input: GetBucketTaggingRequest
) -> RusotoFuture<GetBucketTaggingOutput, GetBucketTaggingError>
&self,
input: GetBucketTaggingRequest
) -> RusotoFuture<GetBucketTaggingOutput, GetBucketTaggingError>
Returns the tag set associated with the bucket.
fn get_bucket_versioning(
&self,
input: GetBucketVersioningRequest
) -> RusotoFuture<GetBucketVersioningOutput, GetBucketVersioningError>
&self,
input: GetBucketVersioningRequest
) -> RusotoFuture<GetBucketVersioningOutput, GetBucketVersioningError>
Returns the versioning state of a bucket.
fn get_bucket_website(
&self,
input: GetBucketWebsiteRequest
) -> RusotoFuture<GetBucketWebsiteOutput, GetBucketWebsiteError>
&self,
input: GetBucketWebsiteRequest
) -> RusotoFuture<GetBucketWebsiteOutput, GetBucketWebsiteError>
Returns the website configuration for a bucket.
fn get_object(
&self,
input: GetObjectRequest
) -> RusotoFuture<GetObjectOutput, GetObjectError>
&self,
input: GetObjectRequest
) -> RusotoFuture<GetObjectOutput, GetObjectError>
Retrieves objects from Amazon S3.
fn get_object_acl(
&self,
input: GetObjectAclRequest
) -> RusotoFuture<GetObjectAclOutput, GetObjectAclError>
&self,
input: GetObjectAclRequest
) -> RusotoFuture<GetObjectAclOutput, GetObjectAclError>
Returns the access control list (ACL) of an object.
fn get_object_legal_hold(
&self,
input: GetObjectLegalHoldRequest
) -> RusotoFuture<GetObjectLegalHoldOutput, GetObjectLegalHoldError>
&self,
input: GetObjectLegalHoldRequest
) -> RusotoFuture<GetObjectLegalHoldOutput, GetObjectLegalHoldError>
Gets an object's current Legal Hold status.
fn get_object_lock_configuration(
&self,
input: GetObjectLockConfigurationRequest
) -> RusotoFuture<GetObjectLockConfigurationOutput, GetObjectLockConfigurationError>
&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>
&self,
input: GetObjectRetentionRequest
) -> RusotoFuture<GetObjectRetentionOutput, GetObjectRetentionError>
Retrieves an object's retention settings.
fn get_object_tagging(
&self,
input: GetObjectTaggingRequest
) -> RusotoFuture<GetObjectTaggingOutput, GetObjectTaggingError>
&self,
input: GetObjectTaggingRequest
) -> RusotoFuture<GetObjectTaggingOutput, GetObjectTaggingError>
Returns the tag-set of an object.
fn get_object_torrent(
&self,
input: GetObjectTorrentRequest
) -> RusotoFuture<GetObjectTorrentOutput, GetObjectTorrentError>
&self,
input: GetObjectTorrentRequest
) -> RusotoFuture<GetObjectTorrentOutput, GetObjectTorrentError>
Return torrent files from a bucket.
fn get_public_access_block(
&self,
input: GetPublicAccessBlockRequest
) -> RusotoFuture<GetPublicAccessBlockOutput, GetPublicAccessBlockError>
&self,
input: GetPublicAccessBlockRequest
) -> RusotoFuture<GetPublicAccessBlockOutput, GetPublicAccessBlockError>
Retrieves the PublicAccessBlock
configuration for an Amazon S3 bucket.
fn head_bucket(
&self,
input: HeadBucketRequest
) -> RusotoFuture<(), HeadBucketError>
&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>
&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>
&self,
input: ListBucketAnalyticsConfigurationsRequest
) -> RusotoFuture<ListBucketAnalyticsConfigurationsOutput, ListBucketAnalyticsConfigurationsError>
Lists the analytics configurations for the bucket.
fn list_bucket_inventory_configurations(
&self,
input: ListBucketInventoryConfigurationsRequest
) -> RusotoFuture<ListBucketInventoryConfigurationsOutput, ListBucketInventoryConfigurationsError>
&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>
&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>
&self,
input: ListMultipartUploadsRequest
) -> RusotoFuture<ListMultipartUploadsOutput, ListMultipartUploadsError>
This operation lists in-progress multipart uploads.
fn list_object_versions(
&self,
input: ListObjectVersionsRequest
) -> RusotoFuture<ListObjectVersionsOutput, ListObjectVersionsError>
&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>
&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>
&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>
&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>
&self,
input: PutBucketAccelerateConfigurationRequest
) -> RusotoFuture<(), PutBucketAccelerateConfigurationError>
Sets the accelerate configuration of an existing bucket.
fn put_bucket_acl(
&self,
input: PutBucketAclRequest
) -> RusotoFuture<(), PutBucketAclError>
&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>
&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>
&self,
input: PutBucketCorsRequest
) -> RusotoFuture<(), PutBucketCorsError>
Sets the CORS configuration for a bucket.
fn put_bucket_encryption(
&self,
input: PutBucketEncryptionRequest
) -> RusotoFuture<(), PutBucketEncryptionError>
&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>
&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>
&self,
input: PutBucketLifecycleRequest
) -> RusotoFuture<(), PutBucketLifecycleError>
No longer used, see the PutBucketLifecycleConfiguration operation.
fn put_bucket_lifecycle_configuration(
&self,
input: PutBucketLifecycleConfigurationRequest
) -> RusotoFuture<(), PutBucketLifecycleConfigurationError>
&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>
&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>
&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>
&self,
input: PutBucketNotificationRequest
) -> RusotoFuture<(), PutBucketNotificationError>
No longer used, see the PutBucketNotificationConfiguration operation.
fn put_bucket_notification_configuration(
&self,
input: PutBucketNotificationConfigurationRequest
) -> RusotoFuture<(), PutBucketNotificationConfigurationError>
&self,
input: PutBucketNotificationConfigurationRequest
) -> RusotoFuture<(), PutBucketNotificationConfigurationError>
Enables notifications of specified events for a bucket.
fn put_bucket_policy(
&self,
input: PutBucketPolicyRequest
) -> RusotoFuture<(), PutBucketPolicyError>
&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>
&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>
&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>
&self,
input: PutBucketTaggingRequest
) -> RusotoFuture<(), PutBucketTaggingError>
Sets the tags for a bucket.
fn put_bucket_versioning(
&self,
input: PutBucketVersioningRequest
) -> RusotoFuture<(), PutBucketVersioningError>
&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>
&self,
input: PutBucketWebsiteRequest
) -> RusotoFuture<(), PutBucketWebsiteError>
Set the website configuration for a bucket.
fn put_object(
&self,
input: PutObjectRequest
) -> RusotoFuture<PutObjectOutput, PutObjectError>
&self,
input: PutObjectRequest
) -> RusotoFuture<PutObjectOutput, PutObjectError>
Adds an object to a bucket.
fn put_object_acl(
&self,
input: PutObjectAclRequest
) -> RusotoFuture<PutObjectAclOutput, PutObjectAclError>
&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
fn put_object_legal_hold(
&self,
input: PutObjectLegalHoldRequest
) -> RusotoFuture<PutObjectLegalHoldOutput, PutObjectLegalHoldError>
&self,
input: PutObjectLegalHoldRequest
) -> RusotoFuture<PutObjectLegalHoldOutput, PutObjectLegalHoldError>
Applies a Legal Hold configuration to the specified object.
fn put_object_lock_configuration(
&self,
input: PutObjectLockConfigurationRequest
) -> RusotoFuture<PutObjectLockConfigurationOutput, PutObjectLockConfigurationError>
&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>
&self,
input: PutObjectRetentionRequest
) -> RusotoFuture<PutObjectRetentionOutput, PutObjectRetentionError>
Places an Object Retention configuration on an object.
fn put_object_tagging(
&self,
input: PutObjectTaggingRequest
) -> RusotoFuture<PutObjectTaggingOutput, PutObjectTaggingError>
&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>
&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>
&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>
&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>
&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>
&self,
input: UploadPartCopyRequest
) -> RusotoFuture<UploadPartCopyOutput, UploadPartCopyError>
Uploads a part by copying data from an existing object as data source.
Implementors
impl S3 for S3Client
[src]
fn abort_multipart_upload(
&self,
input: AbortMultipartUploadRequest
) -> RusotoFuture<AbortMultipartUploadOutput, AbortMultipartUploadError>
[src]
&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>
[src]
&self,
input: CompleteMultipartUploadRequest
) -> RusotoFuture<CompleteMultipartUploadOutput, CompleteMultipartUploadError>
Completes a multipart upload by assembling previously uploaded parts.
fn copy_object(
&self,
input: CopyObjectRequest
) -> RusotoFuture<CopyObjectOutput, CopyObjectError>
[src]
&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>
[src]
&self,
input: CreateBucketRequest
) -> RusotoFuture<CreateBucketOutput, CreateBucketError>
Creates a new bucket.
fn create_multipart_upload(
&self,
input: CreateMultipartUploadRequest
) -> RusotoFuture<CreateMultipartUploadOutput, CreateMultipartUploadError>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&self,
input: DeleteBucketCorsRequest
) -> RusotoFuture<(), DeleteBucketCorsError>
Deletes the CORS configuration information set for the bucket.
fn delete_bucket_encryption(
&self,
input: DeleteBucketEncryptionRequest
) -> RusotoFuture<(), DeleteBucketEncryptionError>
[src]
&self,
input: DeleteBucketEncryptionRequest
) -> RusotoFuture<(), DeleteBucketEncryptionError>
Deletes the server-side encryption configuration from the bucket.
fn delete_bucket_inventory_configuration(
&self,
input: DeleteBucketInventoryConfigurationRequest
) -> RusotoFuture<(), DeleteBucketInventoryConfigurationError>
[src]
&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>
[src]
&self,
input: DeleteBucketLifecycleRequest
) -> RusotoFuture<(), DeleteBucketLifecycleError>
Deletes the lifecycle configuration from the bucket.
fn delete_bucket_metrics_configuration(
&self,
input: DeleteBucketMetricsConfigurationRequest
) -> RusotoFuture<(), DeleteBucketMetricsConfigurationError>
[src]
&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>
[src]
&self,
input: DeleteBucketPolicyRequest
) -> RusotoFuture<(), DeleteBucketPolicyError>
Deletes the policy from the bucket.
fn delete_bucket_replication(
&self,
input: DeleteBucketReplicationRequest
) -> RusotoFuture<(), DeleteBucketReplicationError>
[src]
&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>
[src]
&self,
input: DeleteBucketTaggingRequest
) -> RusotoFuture<(), DeleteBucketTaggingError>
Deletes the tags from the bucket.
fn delete_bucket_website(
&self,
input: DeleteBucketWebsiteRequest
) -> RusotoFuture<(), DeleteBucketWebsiteError>
[src]
&self,
input: DeleteBucketWebsiteRequest
) -> RusotoFuture<(), DeleteBucketWebsiteError>
This operation removes the website configuration from the bucket.
fn delete_object(
&self,
input: DeleteObjectRequest
) -> RusotoFuture<DeleteObjectOutput, DeleteObjectError>
[src]
&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>
[src]
&self,
input: DeleteObjectTaggingRequest
) -> RusotoFuture<DeleteObjectTaggingOutput, DeleteObjectTaggingError>
Removes the tag-set from an existing object.
fn delete_objects(
&self,
input: DeleteObjectsRequest
) -> RusotoFuture<DeleteObjectsOutput, DeleteObjectsError>
[src]
&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>
[src]
&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>
[src]
&self,
input: GetBucketAccelerateConfigurationRequest
) -> RusotoFuture<GetBucketAccelerateConfigurationOutput, GetBucketAccelerateConfigurationError>
Returns the accelerate configuration of a bucket.
fn get_bucket_acl(
&self,
input: GetBucketAclRequest
) -> RusotoFuture<GetBucketAclOutput, GetBucketAclError>
[src]
&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>
[src]
&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>
[src]
&self,
input: GetBucketCorsRequest
) -> RusotoFuture<GetBucketCorsOutput, GetBucketCorsError>
Returns the CORS configuration for the bucket.
fn get_bucket_encryption(
&self,
input: GetBucketEncryptionRequest
) -> RusotoFuture<GetBucketEncryptionOutput, GetBucketEncryptionError>
[src]
&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>
[src]
&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>
[src]
&self,
input: GetBucketLifecycleRequest
) -> RusotoFuture<GetBucketLifecycleOutput, GetBucketLifecycleError>
No longer used, see the GetBucketLifecycleConfiguration operation.
fn get_bucket_lifecycle_configuration(
&self,
input: GetBucketLifecycleConfigurationRequest
) -> RusotoFuture<GetBucketLifecycleConfigurationOutput, GetBucketLifecycleConfigurationError>
[src]
&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>
[src]
&self,
input: GetBucketLocationRequest
) -> RusotoFuture<GetBucketLocationOutput, GetBucketLocationError>
Returns the region the bucket resides in.
fn get_bucket_logging(
&self,
input: GetBucketLoggingRequest
) -> RusotoFuture<GetBucketLoggingOutput, GetBucketLoggingError>
[src]
&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>
[src]
&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>
[src]
&self,
input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfigurationDeprecated, GetBucketNotificationError>
No longer used, see the GetBucketNotificationConfiguration operation.
fn get_bucket_notification_configuration(
&self,
input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfiguration, GetBucketNotificationConfigurationError>
[src]
&self,
input: GetBucketNotificationConfigurationRequest
) -> RusotoFuture<NotificationConfiguration, GetBucketNotificationConfigurationError>
Returns the notification configuration of a bucket.
fn get_bucket_policy(
&self,
input: GetBucketPolicyRequest
) -> RusotoFuture<GetBucketPolicyOutput, GetBucketPolicyError>
[src]
&self,
input: GetBucketPolicyRequest
) -> RusotoFuture<GetBucketPolicyOutput, GetBucketPolicyError>
Returns the policy of a specified bucket.
fn get_bucket_policy_status(
&self,
input: GetBucketPolicyStatusRequest
) -> RusotoFuture<GetBucketPolicyStatusOutput, GetBucketPolicyStatusError>
[src]
&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>
[src]
&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>
[src]
&self,
input: GetBucketRequestPaymentRequest
) -> RusotoFuture<GetBucketRequestPaymentOutput, GetBucketRequestPaymentError>
Returns the request payment configuration of a bucket.
fn get_bucket_tagging(
&self,
input: GetBucketTaggingRequest
) -> RusotoFuture<GetBucketTaggingOutput, GetBucketTaggingError>
[src]
&self,
input: GetBucketTaggingRequest
) -> RusotoFuture<GetBucketTaggingOutput, GetBucketTaggingError>
Returns the tag set associated with the bucket.
fn get_bucket_versioning(
&self,
input: GetBucketVersioningRequest
) -> RusotoFuture<GetBucketVersioningOutput, GetBucketVersioningError>
[src]
&self,
input: GetBucketVersioningRequest
) -> RusotoFuture<GetBucketVersioningOutput, GetBucketVersioningError>
Returns the versioning state of a bucket.
fn get_bucket_website(
&self,
input: GetBucketWebsiteRequest
) -> RusotoFuture<GetBucketWebsiteOutput, GetBucketWebsiteError>
[src]
&self,
input: GetBucketWebsiteRequest
) -> RusotoFuture<GetBucketWebsiteOutput, GetBucketWebsiteError>
Returns the website configuration for a bucket.
fn get_object(
&self,
input: GetObjectRequest
) -> RusotoFuture<GetObjectOutput, GetObjectError>
[src]
&self,
input: GetObjectRequest
) -> RusotoFuture<GetObjectOutput, GetObjectError>
Retrieves objects from Amazon S3.
fn get_object_acl(
&self,
input: GetObjectAclRequest
) -> RusotoFuture<GetObjectAclOutput, GetObjectAclError>
[src]
&self,
input: GetObjectAclRequest
) -> RusotoFuture<GetObjectAclOutput, GetObjectAclError>
Returns the access control list (ACL) of an object.
fn get_object_legal_hold(
&self,
input: GetObjectLegalHoldRequest
) -> RusotoFuture<GetObjectLegalHoldOutput, GetObjectLegalHoldError>
[src]
&self,
input: GetObjectLegalHoldRequest
) -> RusotoFuture<GetObjectLegalHoldOutput, GetObjectLegalHoldError>
Gets an object's current Legal Hold status.
fn get_object_lock_configuration(
&self,
input: GetObjectLockConfigurationRequest
) -> RusotoFuture<GetObjectLockConfigurationOutput, GetObjectLockConfigurationError>
[src]
&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>
[src]
&self,
input: GetObjectRetentionRequest
) -> RusotoFuture<GetObjectRetentionOutput, GetObjectRetentionError>
Retrieves an object's retention settings.
fn get_object_tagging(
&self,
input: GetObjectTaggingRequest
) -> RusotoFuture<GetObjectTaggingOutput, GetObjectTaggingError>
[src]
&self,
input: GetObjectTaggingRequest
) -> RusotoFuture<GetObjectTaggingOutput, GetObjectTaggingError>
Returns the tag-set of an object.
fn get_object_torrent(
&self,
input: GetObjectTorrentRequest
) -> RusotoFuture<GetObjectTorrentOutput, GetObjectTorrentError>
[src]
&self,
input: GetObjectTorrentRequest
) -> RusotoFuture<GetObjectTorrentOutput, GetObjectTorrentError>
Return torrent files from a bucket.
fn get_public_access_block(
&self,
input: GetPublicAccessBlockRequest
) -> RusotoFuture<GetPublicAccessBlockOutput, GetPublicAccessBlockError>
[src]
&self,
input: GetPublicAccessBlockRequest
) -> RusotoFuture<GetPublicAccessBlockOutput, GetPublicAccessBlockError>
Retrieves the PublicAccessBlock
configuration for an Amazon S3 bucket.
fn head_bucket(
&self,
input: HeadBucketRequest
) -> RusotoFuture<(), HeadBucketError>
[src]
&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>
[src]
&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>
[src]
&self,
input: ListBucketAnalyticsConfigurationsRequest
) -> RusotoFuture<ListBucketAnalyticsConfigurationsOutput, ListBucketAnalyticsConfigurationsError>
Lists the analytics configurations for the bucket.
fn list_bucket_inventory_configurations(
&self,
input: ListBucketInventoryConfigurationsRequest
) -> RusotoFuture<ListBucketInventoryConfigurationsOutput, ListBucketInventoryConfigurationsError>
[src]
&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>
[src]
&self,
input: ListBucketMetricsConfigurationsRequest
) -> RusotoFuture<ListBucketMetricsConfigurationsOutput, ListBucketMetricsConfigurationsError>
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]
&self,
input: ListMultipartUploadsRequest
) -> RusotoFuture<ListMultipartUploadsOutput, ListMultipartUploadsError>
This operation lists in-progress multipart uploads.
fn list_object_versions(
&self,
input: ListObjectVersionsRequest
) -> RusotoFuture<ListObjectVersionsOutput, ListObjectVersionsError>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&self,
input: PutBucketAccelerateConfigurationRequest
) -> RusotoFuture<(), PutBucketAccelerateConfigurationError>
Sets the accelerate configuration of an existing bucket.
fn put_bucket_acl(
&self,
input: PutBucketAclRequest
) -> RusotoFuture<(), PutBucketAclError>
[src]
&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>
[src]
&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>
[src]
&self,
input: PutBucketCorsRequest
) -> RusotoFuture<(), PutBucketCorsError>
Sets the CORS configuration for a bucket.
fn put_bucket_encryption(
&self,
input: PutBucketEncryptionRequest
) -> RusotoFuture<(), PutBucketEncryptionError>
[src]
&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>
[src]
&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>
[src]
&self,
input: PutBucketLifecycleRequest
) -> RusotoFuture<(), PutBucketLifecycleError>
No longer used, see the PutBucketLifecycleConfiguration operation.
fn put_bucket_lifecycle_configuration(
&self,
input: PutBucketLifecycleConfigurationRequest
) -> RusotoFuture<(), PutBucketLifecycleConfigurationError>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&self,
input: PutBucketNotificationRequest
) -> RusotoFuture<(), PutBucketNotificationError>
No longer used, see the PutBucketNotificationConfiguration operation.
fn put_bucket_notification_configuration(
&self,
input: PutBucketNotificationConfigurationRequest
) -> RusotoFuture<(), PutBucketNotificationConfigurationError>
[src]
&self,
input: PutBucketNotificationConfigurationRequest
) -> RusotoFuture<(), PutBucketNotificationConfigurationError>
Enables notifications of specified events for a bucket.
fn put_bucket_policy(
&self,
input: PutBucketPolicyRequest
) -> RusotoFuture<(), PutBucketPolicyError>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&self,
input: PutBucketTaggingRequest
) -> RusotoFuture<(), PutBucketTaggingError>
Sets the tags for a bucket.
fn put_bucket_versioning(
&self,
input: PutBucketVersioningRequest
) -> RusotoFuture<(), PutBucketVersioningError>
[src]
&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>
[src]
&self,
input: PutBucketWebsiteRequest
) -> RusotoFuture<(), PutBucketWebsiteError>
Set the website configuration for a bucket.
fn put_object(
&self,
input: PutObjectRequest
) -> RusotoFuture<PutObjectOutput, PutObjectError>
[src]
&self,
input: PutObjectRequest
) -> RusotoFuture<PutObjectOutput, PutObjectError>
Adds an object to a bucket.
fn put_object_acl(
&self,
input: PutObjectAclRequest
) -> RusotoFuture<PutObjectAclOutput, PutObjectAclError>
[src]
&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
fn put_object_legal_hold(
&self,
input: PutObjectLegalHoldRequest
) -> RusotoFuture<PutObjectLegalHoldOutput, PutObjectLegalHoldError>
[src]
&self,
input: PutObjectLegalHoldRequest
) -> RusotoFuture<PutObjectLegalHoldOutput, PutObjectLegalHoldError>
Applies a Legal Hold configuration to the specified object.
fn put_object_lock_configuration(
&self,
input: PutObjectLockConfigurationRequest
) -> RusotoFuture<PutObjectLockConfigurationOutput, PutObjectLockConfigurationError>
[src]
&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>
[src]
&self,
input: PutObjectRetentionRequest
) -> RusotoFuture<PutObjectRetentionOutput, PutObjectRetentionError>
Places an Object Retention configuration on an object.
fn put_object_tagging(
&self,
input: PutObjectTaggingRequest
) -> RusotoFuture<PutObjectTaggingOutput, PutObjectTaggingError>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&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>
[src]
&self,
input: UploadPartCopyRequest
) -> RusotoFuture<UploadPartCopyOutput, UploadPartCopyError>
Uploads a part by copying data from an existing object as data source.