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]
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<CreateBucketOutput, S3Error>
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<ListBucketsOutput, S3Error>
Returns a list of all buckets owned by the authenticated sender of the request.