Struct aws_sdk_s3::client::Client [−][src]
pub struct Client<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for Amazon Simple Storage Service
Client for invoking operations on Amazon Simple Storage Service. Each operation on Amazon Simple Storage Service is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_s3::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operationname>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_s3::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_s3::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the AbortMultipartUpload
operation.
See AbortMultipartUpload
for more information about the
operation and its arguments.
Constructs a fluent builder for the CompleteMultipartUpload
operation.
See CompleteMultipartUpload
for more information about the
operation and its arguments.
Constructs a fluent builder for the CopyObject
operation.
See CopyObject
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateBucket
operation.
See CreateBucket
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateMultipartUpload
operation.
See CreateMultipartUpload
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucket
operation.
See DeleteBucket
for more information about the
operation and its arguments.
pub fn delete_bucket_analytics_configuration(
&self
) -> DeleteBucketAnalyticsConfiguration<C, M, R>
pub fn delete_bucket_analytics_configuration(
&self
) -> DeleteBucketAnalyticsConfiguration<C, M, R>
Constructs a fluent builder for the DeleteBucketAnalyticsConfiguration
operation.
See DeleteBucketAnalyticsConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucketCors
operation.
See DeleteBucketCors
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucketEncryption
operation.
See DeleteBucketEncryption
for more information about the
operation and its arguments.
pub fn delete_bucket_intelligent_tiering_configuration(
&self
) -> DeleteBucketIntelligentTieringConfiguration<C, M, R>
pub fn delete_bucket_intelligent_tiering_configuration(
&self
) -> DeleteBucketIntelligentTieringConfiguration<C, M, R>
Constructs a fluent builder for the DeleteBucketIntelligentTieringConfiguration
operation.
See DeleteBucketIntelligentTieringConfiguration
for more information about the
operation and its arguments.
pub fn delete_bucket_inventory_configuration(
&self
) -> DeleteBucketInventoryConfiguration<C, M, R>
pub fn delete_bucket_inventory_configuration(
&self
) -> DeleteBucketInventoryConfiguration<C, M, R>
Constructs a fluent builder for the DeleteBucketInventoryConfiguration
operation.
See DeleteBucketInventoryConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucketLifecycle
operation.
See DeleteBucketLifecycle
for more information about the
operation and its arguments.
pub fn delete_bucket_metrics_configuration(
&self
) -> DeleteBucketMetricsConfiguration<C, M, R>
pub fn delete_bucket_metrics_configuration(
&self
) -> DeleteBucketMetricsConfiguration<C, M, R>
Constructs a fluent builder for the DeleteBucketMetricsConfiguration
operation.
See DeleteBucketMetricsConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucketOwnershipControls
operation.
See DeleteBucketOwnershipControls
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucketPolicy
operation.
See DeleteBucketPolicy
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucketReplication
operation.
See DeleteBucketReplication
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucketTagging
operation.
See DeleteBucketTagging
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteBucketWebsite
operation.
See DeleteBucketWebsite
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteObject
operation.
See DeleteObject
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteObjects
operation.
See DeleteObjects
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteObjectTagging
operation.
See DeleteObjectTagging
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeletePublicAccessBlock
operation.
See DeletePublicAccessBlock
for more information about the
operation and its arguments.
pub fn get_bucket_accelerate_configuration(
&self
) -> GetBucketAccelerateConfiguration<C, M, R>
pub fn get_bucket_accelerate_configuration(
&self
) -> GetBucketAccelerateConfiguration<C, M, R>
Constructs a fluent builder for the GetBucketAccelerateConfiguration
operation.
See GetBucketAccelerateConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketAcl
operation.
See GetBucketAcl
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketAnalyticsConfiguration
operation.
See GetBucketAnalyticsConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketCors
operation.
See GetBucketCors
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketEncryption
operation.
See GetBucketEncryption
for more information about the
operation and its arguments.
pub fn get_bucket_intelligent_tiering_configuration(
&self
) -> GetBucketIntelligentTieringConfiguration<C, M, R>
pub fn get_bucket_intelligent_tiering_configuration(
&self
) -> GetBucketIntelligentTieringConfiguration<C, M, R>
Constructs a fluent builder for the GetBucketIntelligentTieringConfiguration
operation.
See GetBucketIntelligentTieringConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketInventoryConfiguration
operation.
See GetBucketInventoryConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketLifecycleConfiguration
operation.
See GetBucketLifecycleConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketLocation
operation.
See GetBucketLocation
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketLogging
operation.
See GetBucketLogging
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketMetricsConfiguration
operation.
See GetBucketMetricsConfiguration
for more information about the
operation and its arguments.
pub fn get_bucket_notification_configuration(
&self
) -> GetBucketNotificationConfiguration<C, M, R>
pub fn get_bucket_notification_configuration(
&self
) -> GetBucketNotificationConfiguration<C, M, R>
Constructs a fluent builder for the GetBucketNotificationConfiguration
operation.
See GetBucketNotificationConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketOwnershipControls
operation.
See GetBucketOwnershipControls
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketPolicy
operation.
See GetBucketPolicy
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketPolicyStatus
operation.
See GetBucketPolicyStatus
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketReplication
operation.
See GetBucketReplication
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketRequestPayment
operation.
See GetBucketRequestPayment
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketTagging
operation.
See GetBucketTagging
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketVersioning
operation.
See GetBucketVersioning
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBucketWebsite
operation.
See GetBucketWebsite
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetObject
operation.
See GetObject
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetObjectAcl
operation.
See GetObjectAcl
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetObjectLegalHold
operation.
See GetObjectLegalHold
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetObjectLockConfiguration
operation.
See GetObjectLockConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetObjectRetention
operation.
See GetObjectRetention
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetObjectTagging
operation.
See GetObjectTagging
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetObjectTorrent
operation.
See GetObjectTorrent
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetPublicAccessBlock
operation.
See GetPublicAccessBlock
for more information about the
operation and its arguments.
Constructs a fluent builder for the HeadBucket
operation.
See HeadBucket
for more information about the
operation and its arguments.
Constructs a fluent builder for the HeadObject
operation.
See HeadObject
for more information about the
operation and its arguments.
pub fn list_bucket_analytics_configurations(
&self
) -> ListBucketAnalyticsConfigurations<C, M, R>
pub fn list_bucket_analytics_configurations(
&self
) -> ListBucketAnalyticsConfigurations<C, M, R>
Constructs a fluent builder for the ListBucketAnalyticsConfigurations
operation.
See ListBucketAnalyticsConfigurations
for more information about the
operation and its arguments.
pub fn list_bucket_intelligent_tiering_configurations(
&self
) -> ListBucketIntelligentTieringConfigurations<C, M, R>
pub fn list_bucket_intelligent_tiering_configurations(
&self
) -> ListBucketIntelligentTieringConfigurations<C, M, R>
Constructs a fluent builder for the ListBucketIntelligentTieringConfigurations
operation.
See ListBucketIntelligentTieringConfigurations
for more information about the
operation and its arguments.
pub fn list_bucket_inventory_configurations(
&self
) -> ListBucketInventoryConfigurations<C, M, R>
pub fn list_bucket_inventory_configurations(
&self
) -> ListBucketInventoryConfigurations<C, M, R>
Constructs a fluent builder for the ListBucketInventoryConfigurations
operation.
See ListBucketInventoryConfigurations
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListBucketMetricsConfigurations
operation.
See ListBucketMetricsConfigurations
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListBuckets
operation.
See ListBuckets
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListMultipartUploads
operation.
See ListMultipartUploads
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListObjects
operation.
See ListObjects
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListObjectsV2
operation.
See ListObjectsV2
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListObjectVersions
operation.
See ListObjectVersions
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListParts
operation.
See ListParts
for more information about the
operation and its arguments.
pub fn put_bucket_accelerate_configuration(
&self
) -> PutBucketAccelerateConfiguration<C, M, R>
pub fn put_bucket_accelerate_configuration(
&self
) -> PutBucketAccelerateConfiguration<C, M, R>
Constructs a fluent builder for the PutBucketAccelerateConfiguration
operation.
See PutBucketAccelerateConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketAcl
operation.
See PutBucketAcl
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketAnalyticsConfiguration
operation.
See PutBucketAnalyticsConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketCors
operation.
See PutBucketCors
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketEncryption
operation.
See PutBucketEncryption
for more information about the
operation and its arguments.
pub fn put_bucket_intelligent_tiering_configuration(
&self
) -> PutBucketIntelligentTieringConfiguration<C, M, R>
pub fn put_bucket_intelligent_tiering_configuration(
&self
) -> PutBucketIntelligentTieringConfiguration<C, M, R>
Constructs a fluent builder for the PutBucketIntelligentTieringConfiguration
operation.
See PutBucketIntelligentTieringConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketInventoryConfiguration
operation.
See PutBucketInventoryConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketLifecycleConfiguration
operation.
See PutBucketLifecycleConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketLogging
operation.
See PutBucketLogging
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketMetricsConfiguration
operation.
See PutBucketMetricsConfiguration
for more information about the
operation and its arguments.
pub fn put_bucket_notification_configuration(
&self
) -> PutBucketNotificationConfiguration<C, M, R>
pub fn put_bucket_notification_configuration(
&self
) -> PutBucketNotificationConfiguration<C, M, R>
Constructs a fluent builder for the PutBucketNotificationConfiguration
operation.
See PutBucketNotificationConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketOwnershipControls
operation.
See PutBucketOwnershipControls
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketPolicy
operation.
See PutBucketPolicy
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketReplication
operation.
See PutBucketReplication
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketRequestPayment
operation.
See PutBucketRequestPayment
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketTagging
operation.
See PutBucketTagging
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketVersioning
operation.
See PutBucketVersioning
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutBucketWebsite
operation.
See PutBucketWebsite
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutObject
operation.
See PutObject
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutObjectAcl
operation.
See PutObjectAcl
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutObjectLegalHold
operation.
See PutObjectLegalHold
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutObjectLockConfiguration
operation.
See PutObjectLockConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutObjectRetention
operation.
See PutObjectRetention
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutObjectTagging
operation.
See PutObjectTagging
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutPublicAccessBlock
operation.
See PutPublicAccessBlock
for more information about the
operation and its arguments.
Constructs a fluent builder for the RestoreObject
operation.
See RestoreObject
for more information about the
operation and its arguments.
Constructs a fluent builder for the SelectObjectContent
operation.
See SelectObjectContent
for more information about the
operation and its arguments.
Constructs a fluent builder for the UploadPart
operation.
See UploadPart
for more information about the
operation and its arguments.
Constructs a fluent builder for the UploadPartCopy
operation.
See UploadPartCopy
for more information about the
operation and its arguments.
Constructs a fluent builder for the WriteGetObjectResponse
operation.
See WriteGetObjectResponse
for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more