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

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

Methods

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

fn new(credentials_provider: P, region: Region) -> Self

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

fn with_request_dispatcher(request_dispatcher: D, credentials_provider: P, region: Region) -> Self

fn create_bucket(&self, input: &CreateBucketRequest) -> Result<CreateBucketOutputS3Error>

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

fn list_buckets(&self) -> Result<ListBucketsOutputS3Error>

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

Trait Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.