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<S>(request_dispatcher: D, credentials_provider: P, region: Region, version: S) -> Self where S: Into<String>
fn set_endpoint<S>(&mut self, endpoint: S) where S: Into<String>
set_endpoint - Sets the correct endpoint.
The default value of the endpoint is created during the 'new' method. This sets it to s3.amazon.com
fn endpoint(&self) -> &str
Gets the endpoint value
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.