pub struct Client { /* private fields */ }
Expand description

Client for AWS S3 Control

Client for invoking operations on AWS S3 Control. Each operation on AWS S3 Control is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Constructing a Client

A Config is required to construct a client. For most use cases, the aws-config crate should be used to automatically resolve this config using aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared across multiple different AWS SDK clients. This config resolution process can be customized by calling aws_config::from_env() instead, which returns a ConfigLoader that uses the builder pattern to customize the default config.

In the simplest case, creating a client looks as follows:

let config = aws_config::load_from_env().await;
let client = aws_sdk_s3control::Client::new(&config);

Occasionally, SDKs may have additional service-specific that can be set on the Config that is absent from SdkConfig, or slightly different settings for a specific client may be desired. The Config struct implements From<&SdkConfig>, so setting these specific settings can be done as follows:

let sdk_config = aws_config::load_from_env().await;
let config = aws_sdk_s3control::config::Builder::from(&sdk_config)
    .some_service_specific_setting("value")
    .build();

See the aws-config docs and Config for more information on customizing configuration.

Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.

Using the Client

A client has a function for every operation that can be performed by the service. For example, the CreateAccessPoint operation has a Client::create_access_point, function which returns a builder for that operation. The fluent builder ultimately has a send() function that returns an async future that returns a result, as illustrated below:

let result = client.create_access_point()
    .account_id("example")
    .send()
    .await;

The underlying HTTP requests that get made by this can be modified with the customize_operation function on the fluent builder. See the customize module for more information.

Implementations§

source§

impl Client

source

pub fn create_access_point(&self) -> CreateAccessPointFluentBuilder

Constructs a fluent builder for the CreateAccessPoint operation.

source§

impl Client

source

pub fn create_access_point_for_object_lambda( &self ) -> CreateAccessPointForObjectLambdaFluentBuilder

Constructs a fluent builder for the CreateAccessPointForObjectLambda operation.

source§

impl Client

source

pub fn create_bucket(&self) -> CreateBucketFluentBuilder

Constructs a fluent builder for the CreateBucket operation.

source§

impl Client

source

pub fn create_job(&self) -> CreateJobFluentBuilder

Constructs a fluent builder for the CreateJob operation.

source§

impl Client

source

pub fn create_multi_region_access_point( &self ) -> CreateMultiRegionAccessPointFluentBuilder

Constructs a fluent builder for the CreateMultiRegionAccessPoint operation.

source§

impl Client

source

pub fn delete_access_point(&self) -> DeleteAccessPointFluentBuilder

Constructs a fluent builder for the DeleteAccessPoint operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The Amazon Web Services account ID for the account that owns the specified access point.

    • name(impl Into<String>) / set_name(Option<String>):

      The name of the access point you want to delete.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts: : :outpost/ /accesspoint/ . For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

  • On success, responds with DeleteAccessPointOutput
  • On failure, responds with SdkError<DeleteAccessPointError>
source§

impl Client

source

pub fn delete_access_point_for_object_lambda( &self ) -> DeleteAccessPointForObjectLambdaFluentBuilder

Constructs a fluent builder for the DeleteAccessPointForObjectLambda operation.

source§

impl Client

source

pub fn delete_access_point_policy(&self) -> DeleteAccessPointPolicyFluentBuilder

Constructs a fluent builder for the DeleteAccessPointPolicy operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The account ID for the account that owns the specified access point.

    • name(impl Into<String>) / set_name(Option<String>):

      The name of the access point whose policy you want to delete.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts: : :outpost/ /accesspoint/ . For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

  • On success, responds with DeleteAccessPointPolicyOutput
  • On failure, responds with SdkError<DeleteAccessPointPolicyError>
source§

impl Client

source

pub fn delete_access_point_policy_for_object_lambda( &self ) -> DeleteAccessPointPolicyForObjectLambdaFluentBuilder

Constructs a fluent builder for the DeleteAccessPointPolicyForObjectLambda operation.

source§

impl Client

source

pub fn delete_bucket(&self) -> DeleteBucketFluentBuilder

Constructs a fluent builder for the DeleteBucket operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The account ID that owns the Outposts bucket.

    • bucket(impl Into<String>) / set_bucket(Option<String>):

      Specifies the bucket being deleted.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts: : :outpost/ /bucket/ . For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

  • On success, responds with DeleteBucketOutput
  • On failure, responds with SdkError<DeleteBucketError>
source§

impl Client

source

pub fn delete_bucket_lifecycle_configuration( &self ) -> DeleteBucketLifecycleConfigurationFluentBuilder

Constructs a fluent builder for the DeleteBucketLifecycleConfiguration operation.

source§

impl Client

source

pub fn delete_bucket_policy(&self) -> DeleteBucketPolicyFluentBuilder

Constructs a fluent builder for the DeleteBucketPolicy operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The account ID of the Outposts bucket.

    • bucket(impl Into<String>) / set_bucket(Option<String>):

      Specifies the bucket.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts: : :outpost/ /bucket/ . For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

  • On success, responds with DeleteBucketPolicyOutput
  • On failure, responds with SdkError<DeleteBucketPolicyError>
source§

impl Client

source

pub fn delete_bucket_replication(&self) -> DeleteBucketReplicationFluentBuilder

Constructs a fluent builder for the DeleteBucketReplication operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The Amazon Web Services account ID of the Outposts bucket to delete the replication configuration for.

    • bucket(impl Into<String>) / set_bucket(Option<String>):

      Specifies the S3 on Outposts bucket to delete the replication configuration for.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts: : :outpost/ /bucket/ . For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

  • On success, responds with DeleteBucketReplicationOutput
  • On failure, responds with SdkError<DeleteBucketReplicationError>
source§

impl Client

source

pub fn delete_bucket_tagging(&self) -> DeleteBucketTaggingFluentBuilder

Constructs a fluent builder for the DeleteBucketTagging operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The Amazon Web Services account ID of the Outposts bucket tag set to be removed.

    • bucket(impl Into<String>) / set_bucket(Option<String>):

      The bucket ARN that has the tag set to be removed.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts: : :outpost/ /bucket/ . For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

  • On success, responds with DeleteBucketTaggingOutput
  • On failure, responds with SdkError<DeleteBucketTaggingError>
source§

impl Client

source

pub fn delete_job_tagging(&self) -> DeleteJobTaggingFluentBuilder

Constructs a fluent builder for the DeleteJobTagging operation.

source§

impl Client

source

pub fn delete_multi_region_access_point( &self ) -> DeleteMultiRegionAccessPointFluentBuilder

Constructs a fluent builder for the DeleteMultiRegionAccessPoint operation.

source§

impl Client

source

pub fn delete_public_access_block(&self) -> DeletePublicAccessBlockFluentBuilder

Constructs a fluent builder for the DeletePublicAccessBlock operation.

source§

impl Client

source

pub fn delete_storage_lens_configuration( &self ) -> DeleteStorageLensConfigurationFluentBuilder

Constructs a fluent builder for the DeleteStorageLensConfiguration operation.

source§

impl Client

source

pub fn delete_storage_lens_configuration_tagging( &self ) -> DeleteStorageLensConfigurationTaggingFluentBuilder

Constructs a fluent builder for the DeleteStorageLensConfigurationTagging operation.

source§

impl Client

source

pub fn describe_job(&self) -> DescribeJobFluentBuilder

Constructs a fluent builder for the DescribeJob operation.

source§

impl Client

source

pub fn describe_multi_region_access_point_operation( &self ) -> DescribeMultiRegionAccessPointOperationFluentBuilder

Constructs a fluent builder for the DescribeMultiRegionAccessPointOperation operation.

source§

impl Client

source

pub fn get_access_point(&self) -> GetAccessPointFluentBuilder

Constructs a fluent builder for the GetAccessPoint operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The Amazon Web Services account ID for the account that owns the specified access point.

    • name(impl Into<String>) / set_name(Option<String>):

      The name of the access point whose configuration information you want to retrieve.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts: : :outpost/ /accesspoint/ . For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

  • On success, responds with GetAccessPointOutput with field(s):
  • On failure, responds with SdkError<GetAccessPointError>
source§

impl Client

source

pub fn get_access_point_configuration_for_object_lambda( &self ) -> GetAccessPointConfigurationForObjectLambdaFluentBuilder

Constructs a fluent builder for the GetAccessPointConfigurationForObjectLambda operation.

source§

impl Client

source

pub fn get_access_point_for_object_lambda( &self ) -> GetAccessPointForObjectLambdaFluentBuilder

Constructs a fluent builder for the GetAccessPointForObjectLambda operation.

source§

impl Client

source

pub fn get_access_point_policy(&self) -> GetAccessPointPolicyFluentBuilder

Constructs a fluent builder for the GetAccessPointPolicy operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The account ID for the account that owns the specified access point.

    • name(impl Into<String>) / set_name(Option<String>):

      The name of the access point whose policy you want to retrieve.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts: : :outpost/ /accesspoint/ . For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

  • On success, responds with GetAccessPointPolicyOutput with field(s):
  • On failure, responds with SdkError<GetAccessPointPolicyError>
source§

impl Client

source

pub fn get_access_point_policy_for_object_lambda( &self ) -> GetAccessPointPolicyForObjectLambdaFluentBuilder

Constructs a fluent builder for the GetAccessPointPolicyForObjectLambda operation.

source§

impl Client

source

pub fn get_access_point_policy_status( &self ) -> GetAccessPointPolicyStatusFluentBuilder

Constructs a fluent builder for the GetAccessPointPolicyStatus operation.

source§

impl Client

source

pub fn get_access_point_policy_status_for_object_lambda( &self ) -> GetAccessPointPolicyStatusForObjectLambdaFluentBuilder

Constructs a fluent builder for the GetAccessPointPolicyStatusForObjectLambda operation.

source§

impl Client

source

pub fn get_bucket(&self) -> GetBucketFluentBuilder

Constructs a fluent builder for the GetBucket operation.

source§

impl Client

source

pub fn get_bucket_lifecycle_configuration( &self ) -> GetBucketLifecycleConfigurationFluentBuilder

Constructs a fluent builder for the GetBucketLifecycleConfiguration operation.

source§

impl Client

source

pub fn get_bucket_policy(&self) -> GetBucketPolicyFluentBuilder

Constructs a fluent builder for the GetBucketPolicy operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The Amazon Web Services account ID of the Outposts bucket.

    • bucket(impl Into<String>) / set_bucket(Option<String>):

      Specifies the bucket.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts: : :outpost/ /bucket/ . For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

  • On success, responds with GetBucketPolicyOutput with field(s):
  • On failure, responds with SdkError<GetBucketPolicyError>
source§

impl Client

source

pub fn get_bucket_replication(&self) -> GetBucketReplicationFluentBuilder

Constructs a fluent builder for the GetBucketReplication operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The Amazon Web Services account ID of the Outposts bucket.

    • bucket(impl Into<String>) / set_bucket(Option<String>):

      Specifies the bucket to get the replication information for.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts: : :outpost/ /bucket/ . For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

  • On success, responds with GetBucketReplicationOutput with field(s):
  • On failure, responds with SdkError<GetBucketReplicationError>
source§

impl Client

source

pub fn get_bucket_tagging(&self) -> GetBucketTaggingFluentBuilder

Constructs a fluent builder for the GetBucketTagging operation.

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The Amazon Web Services account ID of the Outposts bucket.

    • bucket(impl Into<String>) / set_bucket(Option<String>):

      Specifies the bucket.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts: : :outpost/ /bucket/ . For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

  • On success, responds with GetBucketTaggingOutput with field(s):
  • On failure, responds with SdkError<GetBucketTaggingError>
source§

impl Client

source

pub fn get_bucket_versioning(&self) -> GetBucketVersioningFluentBuilder

Constructs a fluent builder for the GetBucketVersioning operation.

source§

impl Client

source

pub fn get_job_tagging(&self) -> GetJobTaggingFluentBuilder

Constructs a fluent builder for the GetJobTagging operation.

source§

impl Client

source

pub fn get_multi_region_access_point( &self ) -> GetMultiRegionAccessPointFluentBuilder

Constructs a fluent builder for the GetMultiRegionAccessPoint operation.

source§

impl Client

source

pub fn get_multi_region_access_point_policy( &self ) -> GetMultiRegionAccessPointPolicyFluentBuilder

Constructs a fluent builder for the GetMultiRegionAccessPointPolicy operation.

source§

impl Client

source

pub fn get_multi_region_access_point_policy_status( &self ) -> GetMultiRegionAccessPointPolicyStatusFluentBuilder

Constructs a fluent builder for the GetMultiRegionAccessPointPolicyStatus operation.

source§

impl Client

source

pub fn get_multi_region_access_point_routes( &self ) -> GetMultiRegionAccessPointRoutesFluentBuilder

Constructs a fluent builder for the GetMultiRegionAccessPointRoutes operation.

source§

impl Client

source

pub fn get_public_access_block(&self) -> GetPublicAccessBlockFluentBuilder

Constructs a fluent builder for the GetPublicAccessBlock operation.

source§

impl Client

source

pub fn get_storage_lens_configuration( &self ) -> GetStorageLensConfigurationFluentBuilder

Constructs a fluent builder for the GetStorageLensConfiguration operation.

source§

impl Client

source

pub fn get_storage_lens_configuration_tagging( &self ) -> GetStorageLensConfigurationTaggingFluentBuilder

Constructs a fluent builder for the GetStorageLensConfigurationTagging operation.

source§

impl Client

source

pub fn list_access_points(&self) -> ListAccessPointsFluentBuilder

Constructs a fluent builder for the ListAccessPoints operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • account_id(impl Into<String>) / set_account_id(Option<String>):

      The Amazon Web Services account ID for the account that owns the specified access points.

    • bucket(impl Into<String>) / set_bucket(Option<String>):

      The name of the bucket whose associated access points you want to list.

      For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

      For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts: : :outpost/ /bucket/ . For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

    • next_token(impl Into<String>) / set_next_token(Option<String>):

      A continuation token. If a previous call to ListAccessPoints returned a continuation token in the NextToken field, then providing that value here causes Amazon S3 to retrieve the next page of results.

    • max_results(i32) / set_max_results(Option<i32>):

      The maximum number of access points that you want to include in the list. If the specified bucket has more than this number of access points, then the response will include a continuation token in the NextToken field that you can use to retrieve the next page of access points.

  • On success, responds with ListAccessPointsOutput with field(s):
    • access_point_list(Option<Vec<AccessPoint>>):

      Contains identification and configuration information for one or more access points associated with the specified bucket.

    • next_token(Option<String>):

      If the specified bucket has more access points than can be returned in one call to this API, this field contains a continuation token that you can provide in subsequent calls to this API to retrieve additional access points.

  • On failure, responds with SdkError<ListAccessPointsError>
source§

impl Client

source

pub fn list_access_points_for_object_lambda( &self ) -> ListAccessPointsForObjectLambdaFluentBuilder

Constructs a fluent builder for the ListAccessPointsForObjectLambda operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_jobs(&self) -> ListJobsFluentBuilder

Constructs a fluent builder for the ListJobs operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_multi_region_access_points( &self ) -> ListMultiRegionAccessPointsFluentBuilder

Constructs a fluent builder for the ListMultiRegionAccessPoints operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_regional_buckets(&self) -> ListRegionalBucketsFluentBuilder

Constructs a fluent builder for the ListRegionalBuckets operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_storage_lens_configurations( &self ) -> ListStorageLensConfigurationsFluentBuilder

Constructs a fluent builder for the ListStorageLensConfigurations operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn put_access_point_configuration_for_object_lambda( &self ) -> PutAccessPointConfigurationForObjectLambdaFluentBuilder

Constructs a fluent builder for the PutAccessPointConfigurationForObjectLambda operation.

source§

impl Client

source

pub fn put_access_point_policy(&self) -> PutAccessPointPolicyFluentBuilder

Constructs a fluent builder for the PutAccessPointPolicy operation.

source§

impl Client

source

pub fn put_access_point_policy_for_object_lambda( &self ) -> PutAccessPointPolicyForObjectLambdaFluentBuilder

Constructs a fluent builder for the PutAccessPointPolicyForObjectLambda operation.

source§

impl Client

source

pub fn put_bucket_lifecycle_configuration( &self ) -> PutBucketLifecycleConfigurationFluentBuilder

Constructs a fluent builder for the PutBucketLifecycleConfiguration operation.

source§

impl Client

source

pub fn put_bucket_policy(&self) -> PutBucketPolicyFluentBuilder

Constructs a fluent builder for the PutBucketPolicy operation.

source§

impl Client

source

pub fn put_bucket_replication(&self) -> PutBucketReplicationFluentBuilder

Constructs a fluent builder for the PutBucketReplication operation.

source§

impl Client

source

pub fn put_bucket_tagging(&self) -> PutBucketTaggingFluentBuilder

Constructs a fluent builder for the PutBucketTagging operation.

source§

impl Client

source

pub fn put_bucket_versioning(&self) -> PutBucketVersioningFluentBuilder

Constructs a fluent builder for the PutBucketVersioning operation.

source§

impl Client

source

pub fn put_job_tagging(&self) -> PutJobTaggingFluentBuilder

Constructs a fluent builder for the PutJobTagging operation.

source§

impl Client

source

pub fn put_multi_region_access_point_policy( &self ) -> PutMultiRegionAccessPointPolicyFluentBuilder

Constructs a fluent builder for the PutMultiRegionAccessPointPolicy operation.

source§

impl Client

source

pub fn put_public_access_block(&self) -> PutPublicAccessBlockFluentBuilder

Constructs a fluent builder for the PutPublicAccessBlock operation.

source§

impl Client

source

pub fn put_storage_lens_configuration( &self ) -> PutStorageLensConfigurationFluentBuilder

Constructs a fluent builder for the PutStorageLensConfiguration operation.

source§

impl Client

source

pub fn put_storage_lens_configuration_tagging( &self ) -> PutStorageLensConfigurationTaggingFluentBuilder

Constructs a fluent builder for the PutStorageLensConfigurationTagging operation.

source§

impl Client

source

pub fn submit_multi_region_access_point_routes( &self ) -> SubmitMultiRegionAccessPointRoutesFluentBuilder

Constructs a fluent builder for the SubmitMultiRegionAccessPointRoutes operation.

source§

impl Client

source

pub fn update_job_priority(&self) -> UpdateJobPriorityFluentBuilder

Constructs a fluent builder for the UpdateJobPriority operation.

source§

impl Client

source

pub fn update_job_status(&self) -> UpdateJobStatusFluentBuilder

Constructs a fluent builder for the UpdateJobStatus operation.

source§

impl Client

source

pub fn with_config( client: Client<DynConnector, DynMiddleware<DynConnector>>, conf: Config ) -> Self

Creates a client with the given service configuration.

source

pub fn conf(&self) -> &Config

Returns the client’s configuration.

source§

impl Client

source

pub fn new(sdk_config: &SdkConfig) -> Self

Creates a new client from an SDK Config.

Panics
  • This method will panic if the sdk_config is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the sdk_config is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.
source

pub fn from_conf(conf: Config) -> Self

Creates a new client from the service Config.

Panics
  • This method will panic if the conf is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the conf is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.

Trait Implementations§

source§

impl Clone for Client

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Client

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client

source§

fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl !UnwindSafe for Client

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more