Struct aws_sdk_rust::aws::s3::s3client::S3Client [] [src]

pub struct S3Client<P, D> where
    P: AwsCredentialsProvider,
    D: DispatchSignedRequest
{ /* fields omitted */ }

S3Client - Base client all Virtual Hosting S3 docs - http://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html

Methods

impl<P> S3Client<P, Client> where
    P: AwsCredentialsProvider
[src]

Entry point for S3Client. Must provide a Provider to the S3Client. Example:

let provider = DefaultCredentialsProvider::new(None).unwrap();

impl<P, D> S3Client<P, D> where
    P: AwsCredentialsProvider,
    D: DispatchSignedRequest
[src]

Creator of the S3Client object.

Returns the current Endpoint of the S3Client.

Creates a new bucket. All requests go to the us-east-1/us-standard endpoint, but can create buckets anywhere.

head_bucket is good for seeing if a bucket exists and you have permission to access it. AWS will return 200 if it found it and you have permission. It will return 404 or 403 if the bucket is not found or you don't have permission.

head_bucket returns Ok(()) if found and you have permission else error.

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

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

Sets the bucket ACLs

Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it.

Set the website configuration for a bucket.

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.

Creates a new replication configuration (or replaces an existing one, if present).

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

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.

Deletes the tags from the bucket.

Deletes the cors configuration information set for the bucket.

This operation removes the website configuration from the bucket.

Deletes the policy from the bucket.

Deletes bucket replication.

Returns the cors configuration for the bucket.

Gets the access control policy for the bucket.

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.

Returns the notification configuration of a bucket.

Returns the bucket versioning output object if versioning is enabled.

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.

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.

Retrieves objects from Amazon S3.

Keep in mind way to increase performance: http://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html

AWS S3 recommends any GET operations that exceed 300 per second should open a support ticket to increase the rate. See the link above more details.

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

Returns a value for a requested header.

Use the Hyper response to populate the GetObjectOutput

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

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

Deletes a given object from the bucket.

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.

Keep in mind ways to help performance: http://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html

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.

Completes a multipart upload by assembling previously uploaded parts.

This operation lists in-progress multipart uploads.

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

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.

Restores an archived copy of an object back into Amazon S3

Adds an object to a bucket.

Keep in mind ways to increase performance: http://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html

AWS S3 recommends any PUT/LIST/DELETE operations that exceed 100 per second should open a support ticket to increase the rate. See the link above more details.

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

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

This method is for Ceph RGW Admin requests only. It performs the base Admin operations found in radosgw-admin but from a library.

Trait Implementations

impl<P: Debug, D: Debug> Debug for S3Client<P, D> where
    P: AwsCredentialsProvider,
    D: DispatchSignedRequest
[src]

Formats the value using the given formatter.