Struct aws_sdk_s3control::Client
source · 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
impl Client
sourcepub fn create_access_point(&self) -> CreateAccessPointFluentBuilder
pub fn create_access_point(&self) -> CreateAccessPointFluentBuilder
Constructs a fluent builder for the CreateAccessPoint
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 you want to assign to this access point.
bucket(impl Into<String>)
/set_bucket(Option<String>)
:The name of the bucket that you want to associate this access point with.
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL encoded.vpc_configuration(VpcConfiguration)
/set_vpc_configuration(Option<VpcConfiguration>)
:If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
This is required for creating an access point for Amazon S3 on Outposts buckets.
public_access_block_configuration(PublicAccessBlockConfiguration)
/set_public_access_block_configuration(Option<PublicAccessBlockConfiguration>)
:The
PublicAccessBlock
configuration that you want to apply to the access point.bucket_account_id(impl Into<String>)
/set_bucket_account_id(Option<String>)
:The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
- On success, responds with
CreateAccessPointOutput
with field(s):access_point_arn(Option<String>)
:The ARN of the access point.
This is only supported by Amazon S3 on Outposts.
alias(Option<String>)
:The name or alias of the access point.
- On failure, responds with
SdkError<CreateAccessPointError>
source§impl Client
impl Client
sourcepub fn create_access_point_for_object_lambda(
&self
) -> CreateAccessPointForObjectLambdaFluentBuilder
pub fn create_access_point_for_object_lambda( &self ) -> CreateAccessPointForObjectLambdaFluentBuilder
Constructs a fluent builder for the CreateAccessPointForObjectLambda
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for owner of the specified Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name you want to assign to this Object Lambda Access Point.
configuration(ObjectLambdaConfiguration)
/set_configuration(Option<ObjectLambdaConfiguration>)
:Object Lambda Access Point configuration as a JSON document.
- On success, responds with
CreateAccessPointForObjectLambdaOutput
with field(s):object_lambda_access_point_arn(Option<String>)
:Specifies the ARN for the Object Lambda Access Point.
alias(Option<ObjectLambdaAccessPointAlias>)
:The alias of the Object Lambda Access Point.
- On failure, responds with
SdkError<CreateAccessPointForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn create_bucket(&self) -> CreateBucketFluentBuilder
pub fn create_bucket(&self) -> CreateBucketFluentBuilder
Constructs a fluent builder for the CreateBucket
operation.
- The fluent builder is configurable:
acl(BucketCannedAcl)
/set_acl(Option<BucketCannedAcl>)
:The canned ACL to apply to the bucket.
This is not supported by Amazon S3 on Outposts buckets.
bucket(impl Into<String>)
/set_bucket(Option<String>)
:The name of the bucket.
create_bucket_configuration(CreateBucketConfiguration)
/set_create_bucket_configuration(Option<CreateBucketConfiguration>)
:The configuration information for the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grant_full_control(impl Into<String>)
/set_grant_full_control(Option<String>)
:Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grant_read(impl Into<String>)
/set_grant_read(Option<String>)
:Allows grantee to list the objects in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grant_read_acp(impl Into<String>)
/set_grant_read_acp(Option<String>)
:Allows grantee to read the bucket ACL.
This is not supported by Amazon S3 on Outposts buckets.
grant_write(impl Into<String>)
/set_grant_write(Option<String>)
:Allows grantee to create, overwrite, and delete any object in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grant_write_acp(impl Into<String>)
/set_grant_write_acp(Option<String>)
:Allows grantee to write the ACL for the applicable bucket.
This is not supported by Amazon S3 on Outposts buckets.
object_lock_enabled_for_bucket(bool)
/set_object_lock_enabled_for_bucket(Option<bool>)
:Specifies whether you want S3 Object Lock to be enabled for the new bucket.
This is not supported by Amazon S3 on Outposts buckets.
outpost_id(impl Into<String>)
/set_outpost_id(Option<String>)
:The ID of the Outposts where the bucket is being created.
This ID is required by Amazon S3 on Outposts buckets.
- On success, responds with
CreateBucketOutput
with field(s):location(Option<String>)
:The location of the bucket.
bucket_arn(Option<String>)
:The Amazon Resource Name (ARN) of 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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL encoded.
- On failure, responds with
SdkError<CreateBucketError>
source§impl Client
impl Client
sourcepub fn create_job(&self) -> CreateJobFluentBuilder
pub fn create_job(&self) -> CreateJobFluentBuilder
Constructs a fluent builder for the CreateJob
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID that creates the job.
confirmation_required(bool)
/set_confirmation_required(Option<bool>)
:Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
operation(JobOperation)
/set_operation(Option<JobOperation>)
:The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
report(JobReport)
/set_report(Option<JobReport>)
:Configuration parameters for the optional job-completion report.
client_request_token(impl Into<String>)
/set_client_request_token(Option<String>)
:An idempotency token to ensure that you don’t accidentally submit the same request twice. You can use any string up to the maximum length.
manifest(JobManifest)
/set_manifest(Option<JobManifest>)
:Configuration parameters for the manifest.
description(impl Into<String>)
/set_description(Option<String>)
:A description for this job. You can use any string within the permitted length. Descriptions don’t need to be unique and can be used for multiple jobs.
priority(i32)
/set_priority(Option<i32>)
:The numerical priority for this job. Higher numbers indicate higher priority.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job’s action on every object in the manifest.
tags(Vec<S3Tag>)
/set_tags(Option<Vec<S3Tag>>)
:A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
manifest_generator(JobManifestGenerator)
/set_manifest_generator(Option<JobManifestGenerator>)
:The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
- On success, responds with
CreateJobOutput
with field(s):job_id(Option<String>)
:The ID for this job. Amazon S3 generates this ID automatically and returns it after a successful
Create Job
request.
- On failure, responds with
SdkError<CreateJobError>
source§impl Client
impl Client
sourcepub fn create_multi_region_access_point(
&self
) -> CreateMultiRegionAccessPointFluentBuilder
pub fn create_multi_region_access_point( &self ) -> CreateMultiRegionAccessPointFluentBuilder
Constructs a fluent builder for the CreateMultiRegionAccessPoint
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own the underlying buckets.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:An idempotency token used to identify the request and guarantee that requests are unique.
details(CreateMultiRegionAccessPointInput)
/set_details(Option<CreateMultiRegionAccessPointInput>)
:A container element containing details about the Multi-Region Access Point.
- On success, responds with
CreateMultiRegionAccessPointOutput
with field(s):request_token_arn(Option<String>)
:The request token associated with the request. You can use this token with DescribeMultiRegionAccessPointOperation to determine the status of asynchronous requests.
- On failure, responds with
SdkError<CreateMultiRegionAccessPointError>
source§impl Client
impl Client
sourcepub fn delete_access_point(&self) -> DeleteAccessPointFluentBuilder
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:
. For example, to access the access point: :outpost/ /accesspoint/ reports-ap
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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
impl Client
sourcepub fn delete_access_point_for_object_lambda(
&self
) -> DeleteAccessPointForObjectLambdaFluentBuilder
pub fn delete_access_point_for_object_lambda( &self ) -> DeleteAccessPointForObjectLambdaFluentBuilder
Constructs a fluent builder for the DeleteAccessPointForObjectLambda
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 Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the access point you want to delete.
- On success, responds with
DeleteAccessPointForObjectLambdaOutput
- On failure, responds with
SdkError<DeleteAccessPointForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn delete_access_point_policy(&self) -> DeleteAccessPointPolicyFluentBuilder
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:
. For example, to access the access point: :outpost/ /accesspoint/ reports-ap
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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
impl Client
sourcepub fn delete_access_point_policy_for_object_lambda(
&self
) -> DeleteAccessPointPolicyForObjectLambdaFluentBuilder
pub fn delete_access_point_policy_for_object_lambda( &self ) -> DeleteAccessPointPolicyForObjectLambdaFluentBuilder
Constructs a fluent builder for the DeleteAccessPointPolicyForObjectLambda
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 Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Object Lambda Access Point you want to delete the policy for.
- On success, responds with
DeleteAccessPointPolicyForObjectLambdaOutput
- On failure, responds with
SdkError<DeleteAccessPointPolicyForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn delete_bucket(&self) -> DeleteBucketFluentBuilder
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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
impl Client
sourcepub fn delete_bucket_lifecycle_configuration(
&self
) -> DeleteBucketLifecycleConfigurationFluentBuilder
pub fn delete_bucket_lifecycle_configuration( &self ) -> DeleteBucketLifecycleConfigurationFluentBuilder
Constructs a fluent builder for the DeleteBucketLifecycleConfiguration
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID of the lifecycle configuration to delete.
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL encoded.
- On success, responds with
DeleteBucketLifecycleConfigurationOutput
- On failure, responds with
SdkError<DeleteBucketLifecycleConfigurationError>
source§impl Client
impl Client
sourcepub fn delete_bucket_policy(&self) -> DeleteBucketPolicyFluentBuilder
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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
impl Client
sourcepub fn delete_bucket_replication(&self) -> DeleteBucketReplicationFluentBuilder
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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
impl Client
sourcepub fn delete_bucket_tagging(&self) -> DeleteBucketTaggingFluentBuilder
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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
impl Client
sourcepub fn delete_job_tagging(&self) -> DeleteJobTaggingFluentBuilder
pub fn delete_job_tagging(&self) -> DeleteJobTaggingFluentBuilder
Constructs a fluent builder for the DeleteJobTagging
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID associated with the S3 Batch Operations job.
job_id(impl Into<String>)
/set_job_id(Option<String>)
:The ID for the S3 Batch Operations job whose tags you want to delete.
- On success, responds with
DeleteJobTaggingOutput
- On failure, responds with
SdkError<DeleteJobTaggingError>
source§impl Client
impl Client
sourcepub fn delete_multi_region_access_point(
&self
) -> DeleteMultiRegionAccessPointFluentBuilder
pub fn delete_multi_region_access_point( &self ) -> DeleteMultiRegionAccessPointFluentBuilder
Constructs a fluent builder for the DeleteMultiRegionAccessPoint
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:An idempotency token used to identify the request and guarantee that requests are unique.
details(DeleteMultiRegionAccessPointInput)
/set_details(Option<DeleteMultiRegionAccessPointInput>)
:A container element containing details about the Multi-Region Access Point.
- On success, responds with
DeleteMultiRegionAccessPointOutput
with field(s):request_token_arn(Option<String>)
:The request token associated with the request. You can use this token with DescribeMultiRegionAccessPointOperation to determine the status of asynchronous requests.
- On failure, responds with
SdkError<DeleteMultiRegionAccessPointError>
source§impl Client
impl Client
sourcepub fn delete_public_access_block(&self) -> DeletePublicAccessBlockFluentBuilder
pub fn delete_public_access_block(&self) -> DeletePublicAccessBlockFluentBuilder
Constructs a fluent builder for the DeletePublicAccessBlock
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID for the Amazon Web Services account whose
PublicAccessBlock
configuration you want to remove.
- On success, responds with
DeletePublicAccessBlockOutput
- On failure, responds with
SdkError<DeletePublicAccessBlockError>
source§impl Client
impl Client
sourcepub fn delete_storage_lens_configuration(
&self
) -> DeleteStorageLensConfigurationFluentBuilder
pub fn delete_storage_lens_configuration( &self ) -> DeleteStorageLensConfigurationFluentBuilder
Constructs a fluent builder for the DeleteStorageLensConfiguration
operation.
- The fluent builder is configurable:
config_id(impl Into<String>)
/set_config_id(Option<String>)
:The ID of the S3 Storage Lens configuration.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID of the requester.
- On success, responds with
DeleteStorageLensConfigurationOutput
- On failure, responds with
SdkError<DeleteStorageLensConfigurationError>
source§impl Client
impl Client
sourcepub fn delete_storage_lens_configuration_tagging(
&self
) -> DeleteStorageLensConfigurationTaggingFluentBuilder
pub fn delete_storage_lens_configuration_tagging( &self ) -> DeleteStorageLensConfigurationTaggingFluentBuilder
Constructs a fluent builder for the DeleteStorageLensConfigurationTagging
operation.
- The fluent builder is configurable:
config_id(impl Into<String>)
/set_config_id(Option<String>)
:The ID of the S3 Storage Lens configuration.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID of the requester.
- On success, responds with
DeleteStorageLensConfigurationTaggingOutput
- On failure, responds with
SdkError<DeleteStorageLensConfigurationTaggingError>
source§impl Client
impl Client
sourcepub fn describe_job(&self) -> DescribeJobFluentBuilder
pub fn describe_job(&self) -> DescribeJobFluentBuilder
Constructs a fluent builder for the DescribeJob
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID associated with the S3 Batch Operations job.
job_id(impl Into<String>)
/set_job_id(Option<String>)
:The ID for the job whose information you want to retrieve.
- On success, responds with
DescribeJobOutput
with field(s):job(Option<JobDescriptor>)
:Contains the configuration parameters and status for the job specified in the
Describe Job
request.
- On failure, responds with
SdkError<DescribeJobError>
source§impl Client
impl Client
sourcepub fn describe_multi_region_access_point_operation(
&self
) -> DescribeMultiRegionAccessPointOperationFluentBuilder
pub fn describe_multi_region_access_point_operation( &self ) -> DescribeMultiRegionAccessPointOperationFluentBuilder
Constructs a fluent builder for the DescribeMultiRegionAccessPointOperation
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
request_token_arn(impl Into<String>)
/set_request_token_arn(Option<String>)
:The request token associated with the request you want to know about. This request token is returned as part of the response when you make an asynchronous request. You provide this token to query about the status of the asynchronous action.
- On success, responds with
DescribeMultiRegionAccessPointOperationOutput
with field(s):async_operation(Option<AsyncOperation>)
:A container element containing the details of the asynchronous operation.
- On failure, responds with
SdkError<DescribeMultiRegionAccessPointOperationError>
source§impl Client
impl Client
sourcepub fn get_access_point(&self) -> GetAccessPointFluentBuilder
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:
. For example, to access the access point: :outpost/ /accesspoint/ reports-ap
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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):name(Option<String>)
:The name of the specified access point.
bucket(Option<String>)
:The name of the bucket associated with the specified access point.
network_origin(Option<NetworkOrigin>)
:Indicates whether this access point allows access from the public internet. If
VpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn’t allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, and the access point allows access from the public internet, subject to the access point and bucket access policies.This will always be true for an Amazon S3 on Outposts access point
vpc_configuration(Option<VpcConfiguration>)
:Contains the virtual private cloud (VPC) configuration for the specified access point.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
public_access_block_configuration(Option<PublicAccessBlockConfiguration>)
:The
PublicAccessBlock
configuration that you want to apply to this Amazon S3 account. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of “Public” in the Amazon S3 User Guide.This data type is not supported for Amazon S3 on Outposts.
creation_date(Option<DateTime>)
:The date and time when the specified access point was created.
alias(Option<String>)
:The name or alias of the access point.
access_point_arn(Option<String>)
:The ARN of the access point.
endpoints(Option<HashMap<String, String>>)
:The VPC endpoint for the access point.
bucket_account_id(Option<String>)
:The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
- On failure, responds with
SdkError<GetAccessPointError>
source§impl Client
impl Client
sourcepub fn get_access_point_configuration_for_object_lambda(
&self
) -> GetAccessPointConfigurationForObjectLambdaFluentBuilder
pub fn get_access_point_configuration_for_object_lambda( &self ) -> GetAccessPointConfigurationForObjectLambdaFluentBuilder
Constructs a fluent builder for the GetAccessPointConfigurationForObjectLambda
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 Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Object Lambda Access Point you want to return the configuration for.
- On success, responds with
GetAccessPointConfigurationForObjectLambdaOutput
with field(s):configuration(Option<ObjectLambdaConfiguration>)
:Object Lambda Access Point configuration document.
- On failure, responds with
SdkError<GetAccessPointConfigurationForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn get_access_point_for_object_lambda(
&self
) -> GetAccessPointForObjectLambdaFluentBuilder
pub fn get_access_point_for_object_lambda( &self ) -> GetAccessPointForObjectLambdaFluentBuilder
Constructs a fluent builder for the GetAccessPointForObjectLambda
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 Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Object Lambda Access Point.
- On success, responds with
GetAccessPointForObjectLambdaOutput
with field(s):name(Option<String>)
:The name of the Object Lambda Access Point.
public_access_block_configuration(Option<PublicAccessBlockConfiguration>)
:Configuration to block all public access. This setting is turned on and can not be edited.
creation_date(Option<DateTime>)
:The date and time when the specified Object Lambda Access Point was created.
alias(Option<ObjectLambdaAccessPointAlias>)
:The alias of the Object Lambda Access Point.
- On failure, responds with
SdkError<GetAccessPointForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn get_access_point_policy(&self) -> GetAccessPointPolicyFluentBuilder
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:
. For example, to access the access point: :outpost/ /accesspoint/ reports-ap
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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):policy(Option<String>)
:The access point policy associated with the specified access point.
- On failure, responds with
SdkError<GetAccessPointPolicyError>
source§impl Client
impl Client
sourcepub fn get_access_point_policy_for_object_lambda(
&self
) -> GetAccessPointPolicyForObjectLambdaFluentBuilder
pub fn get_access_point_policy_for_object_lambda( &self ) -> GetAccessPointPolicyForObjectLambdaFluentBuilder
Constructs a fluent builder for the GetAccessPointPolicyForObjectLambda
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 Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Object Lambda Access Point.
- On success, responds with
GetAccessPointPolicyForObjectLambdaOutput
with field(s):policy(Option<String>)
:Object Lambda Access Point resource policy document.
- On failure, responds with
SdkError<GetAccessPointPolicyForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn get_access_point_policy_status(
&self
) -> GetAccessPointPolicyStatusFluentBuilder
pub fn get_access_point_policy_status( &self ) -> GetAccessPointPolicyStatusFluentBuilder
Constructs a fluent builder for the GetAccessPointPolicyStatus
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 status you want to retrieve.
- On success, responds with
GetAccessPointPolicyStatusOutput
with field(s):policy_status(Option<PolicyStatus>)
:Indicates the current policy status of the specified access point.
- On failure, responds with
SdkError<GetAccessPointPolicyStatusError>
source§impl Client
impl Client
sourcepub fn get_access_point_policy_status_for_object_lambda(
&self
) -> GetAccessPointPolicyStatusForObjectLambdaFluentBuilder
pub fn get_access_point_policy_status_for_object_lambda( &self ) -> GetAccessPointPolicyStatusForObjectLambdaFluentBuilder
Constructs a fluent builder for the GetAccessPointPolicyStatusForObjectLambda
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 Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Object Lambda Access Point.
- On success, responds with
GetAccessPointPolicyStatusForObjectLambdaOutput
with field(s):policy_status(Option<PolicyStatus>)
:Indicates whether this access point policy is public. For more information about how Amazon S3 evaluates policies to determine whether they are public, see The Meaning of “Public” in the Amazon S3 User Guide.
- On failure, responds with
SdkError<GetAccessPointPolicyStatusForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn get_bucket(&self) -> GetBucketFluentBuilder
pub fn get_bucket(&self) -> GetBucketFluentBuilder
Constructs a fluent builder for the GetBucket
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL encoded.
- On success, responds with
GetBucketOutput
with field(s):bucket(Option<String>)
:The Outposts bucket requested.
public_access_block_enabled(bool)
:creation_date(Option<DateTime>)
:The creation date of the Outposts bucket.
- On failure, responds with
SdkError<GetBucketError>
source§impl Client
impl Client
sourcepub fn get_bucket_lifecycle_configuration(
&self
) -> GetBucketLifecycleConfigurationFluentBuilder
pub fn get_bucket_lifecycle_configuration( &self ) -> GetBucketLifecycleConfigurationFluentBuilder
Constructs a fluent builder for the GetBucketLifecycleConfiguration
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>)
:The Amazon Resource Name (ARN) of 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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL encoded.
- On success, responds with
GetBucketLifecycleConfigurationOutput
with field(s):rules(Option<Vec<LifecycleRule>>)
:Container for the lifecycle rule of the Outposts bucket.
- On failure, responds with
SdkError<GetBucketLifecycleConfigurationError>
source§impl Client
impl Client
sourcepub fn get_bucket_policy(&self) -> GetBucketPolicyFluentBuilder
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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):policy(Option<String>)
:The policy of the Outposts bucket.
- On failure, responds with
SdkError<GetBucketPolicyError>
source§impl Client
impl Client
sourcepub fn get_bucket_replication(&self) -> GetBucketReplicationFluentBuilder
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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):replication_configuration(Option<ReplicationConfiguration>)
:A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB.
- On failure, responds with
SdkError<GetBucketReplicationError>
source§impl Client
impl Client
sourcepub fn get_bucket_tagging(&self) -> GetBucketTaggingFluentBuilder
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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):tag_set(Option<Vec<S3Tag>>)
:The tags set of the Outposts bucket.
- On failure, responds with
SdkError<GetBucketTaggingError>
source§impl Client
impl Client
sourcepub fn get_bucket_versioning(&self) -> GetBucketVersioningFluentBuilder
pub fn get_bucket_versioning(&self) -> GetBucketVersioningFluentBuilder
Constructs a fluent builder for the GetBucketVersioning
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID of the S3 on Outposts bucket.
bucket(impl Into<String>)
/set_bucket(Option<String>)
:The S3 on Outposts bucket to return the versioning state for.
- On success, responds with
GetBucketVersioningOutput
with field(s):status(Option<BucketVersioningStatus>)
:The versioning state of the S3 on Outposts bucket.
mfa_delete(Option<MfaDeleteStatus>)
:Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is returned only if the bucket has been configured with MFA delete. If MFA delete has never been configured for the bucket, this element is not returned.
- On failure, responds with
SdkError<GetBucketVersioningError>
source§impl Client
impl Client
sourcepub fn get_job_tagging(&self) -> GetJobTaggingFluentBuilder
pub fn get_job_tagging(&self) -> GetJobTaggingFluentBuilder
Constructs a fluent builder for the GetJobTagging
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID associated with the S3 Batch Operations job.
job_id(impl Into<String>)
/set_job_id(Option<String>)
:The ID for the S3 Batch Operations job whose tags you want to retrieve.
- On success, responds with
GetJobTaggingOutput
with field(s):tags(Option<Vec<S3Tag>>)
:The set of tags associated with the S3 Batch Operations job.
- On failure, responds with
SdkError<GetJobTaggingError>
source§impl Client
impl Client
sourcepub fn get_multi_region_access_point(
&self
) -> GetMultiRegionAccessPointFluentBuilder
pub fn get_multi_region_access_point( &self ) -> GetMultiRegionAccessPointFluentBuilder
Constructs a fluent builder for the GetMultiRegionAccessPoint
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Multi-Region Access Point whose configuration information you want to receive. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points in the Amazon S3 User Guide.
- On success, responds with
GetMultiRegionAccessPointOutput
with field(s):access_point(Option<MultiRegionAccessPointReport>)
:A container element containing the details of the requested Multi-Region Access Point.
- On failure, responds with
SdkError<GetMultiRegionAccessPointError>
source§impl Client
impl Client
sourcepub fn get_multi_region_access_point_policy(
&self
) -> GetMultiRegionAccessPointPolicyFluentBuilder
pub fn get_multi_region_access_point_policy( &self ) -> GetMultiRegionAccessPointPolicyFluentBuilder
Constructs a fluent builder for the GetMultiRegionAccessPointPolicy
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:Specifies the Multi-Region Access Point. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points in the Amazon S3 User Guide.
- On success, responds with
GetMultiRegionAccessPointPolicyOutput
with field(s):policy(Option<MultiRegionAccessPointPolicyDocument>)
:The policy associated with the specified Multi-Region Access Point.
- On failure, responds with
SdkError<GetMultiRegionAccessPointPolicyError>
source§impl Client
impl Client
sourcepub fn get_multi_region_access_point_policy_status(
&self
) -> GetMultiRegionAccessPointPolicyStatusFluentBuilder
pub fn get_multi_region_access_point_policy_status( &self ) -> GetMultiRegionAccessPointPolicyStatusFluentBuilder
Constructs a fluent builder for the GetMultiRegionAccessPointPolicyStatus
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:Specifies the Multi-Region Access Point. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points in the Amazon S3 User Guide.
- On success, responds with
GetMultiRegionAccessPointPolicyStatusOutput
with field(s):established(Option<PolicyStatus>)
:Indicates whether this access point policy is public. For more information about how Amazon S3 evaluates policies to determine whether they are public, see The Meaning of “Public” in the Amazon S3 User Guide.
- On failure, responds with
SdkError<GetMultiRegionAccessPointPolicyStatusError>
source§impl Client
impl Client
sourcepub fn get_multi_region_access_point_routes(
&self
) -> GetMultiRegionAccessPointRoutesFluentBuilder
pub fn get_multi_region_access_point_routes( &self ) -> GetMultiRegionAccessPointRoutesFluentBuilder
Constructs a fluent builder for the GetMultiRegionAccessPointRoutes
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
mrap(impl Into<String>)
/set_mrap(Option<String>)
:The Multi-Region Access Point ARN.
- On success, responds with
GetMultiRegionAccessPointRoutesOutput
with field(s):mrap(Option<String>)
:The Multi-Region Access Point ARN.
routes(Option<Vec<MultiRegionAccessPointRoute>>)
:The different routes that make up the route configuration. Active routes return a value of
100
, and passive routes return a value of0
.
- On failure, responds with
SdkError<GetMultiRegionAccessPointRoutesError>
source§impl Client
impl Client
sourcepub fn get_public_access_block(&self) -> GetPublicAccessBlockFluentBuilder
pub fn get_public_access_block(&self) -> GetPublicAccessBlockFluentBuilder
Constructs a fluent builder for the GetPublicAccessBlock
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID for the Amazon Web Services account whose
PublicAccessBlock
configuration you want to retrieve.
- On success, responds with
GetPublicAccessBlockOutput
with field(s):public_access_block_configuration(Option<PublicAccessBlockConfiguration>)
:The
PublicAccessBlock
configuration currently in effect for this Amazon Web Services account.
- On failure, responds with
SdkError<GetPublicAccessBlockError>
source§impl Client
impl Client
sourcepub fn get_storage_lens_configuration(
&self
) -> GetStorageLensConfigurationFluentBuilder
pub fn get_storage_lens_configuration( &self ) -> GetStorageLensConfigurationFluentBuilder
Constructs a fluent builder for the GetStorageLensConfiguration
operation.
- The fluent builder is configurable:
config_id(impl Into<String>)
/set_config_id(Option<String>)
:The ID of the Amazon S3 Storage Lens configuration.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID of the requester.
- On success, responds with
GetStorageLensConfigurationOutput
with field(s):storage_lens_configuration(Option<StorageLensConfiguration>)
:The S3 Storage Lens configuration requested.
- On failure, responds with
SdkError<GetStorageLensConfigurationError>
source§impl Client
impl Client
sourcepub fn get_storage_lens_configuration_tagging(
&self
) -> GetStorageLensConfigurationTaggingFluentBuilder
pub fn get_storage_lens_configuration_tagging( &self ) -> GetStorageLensConfigurationTaggingFluentBuilder
Constructs a fluent builder for the GetStorageLensConfigurationTagging
operation.
- The fluent builder is configurable:
config_id(impl Into<String>)
/set_config_id(Option<String>)
:The ID of the Amazon S3 Storage Lens configuration.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID of the requester.
- On success, responds with
GetStorageLensConfigurationTaggingOutput
with field(s):tags(Option<Vec<StorageLensTag>>)
:The tags of S3 Storage Lens configuration requested.
- On failure, responds with
SdkError<GetStorageLensConfigurationTaggingError>
source§impl Client
impl Client
sourcepub fn list_access_points(&self) -> ListAccessPointsFluentBuilder
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn: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 theNextToken
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
impl Client
sourcepub fn list_access_points_for_object_lambda(
&self
) -> ListAccessPointsForObjectLambdaFluentBuilder
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()
.
- 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 Object Lambda Access Point.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:If the list 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.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of access points that you want to include in the list. The response may contain fewer access points but will never contain more. If there are 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
ListAccessPointsForObjectLambdaOutput
with field(s):object_lambda_access_point_list(Option<Vec<ObjectLambdaAccessPoint>>)
:Returns list of Object Lambda Access Points.
next_token(Option<String>)
:If the list 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<ListAccessPointsForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn list_jobs(&self) -> ListJobsFluentBuilder
pub fn list_jobs(&self) -> ListJobsFluentBuilder
Constructs a fluent builder for the ListJobs
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 associated with the S3 Batch Operations job.
job_statuses(Vec<JobStatus>)
/set_job_statuses(Option<Vec<JobStatus>>)
:The
List Jobs
request returns jobs that match the statuses listed in this element.next_token(impl Into<String>)
/set_next_token(Option<String>)
:A pagination token to request the next page of results. Use the token that Amazon S3 returned in the
NextToken
element of theListJobsResult
from the previousList Jobs
request.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of jobs that Amazon S3 will include in the
List Jobs
response. If there are more jobs than this number, the response will include a pagination token in theNextToken
field to enable you to retrieve the next page of results.
- On success, responds with
ListJobsOutput
with field(s):next_token(Option<String>)
:If the
List Jobs
request produced more than the maximum number of results, you can pass this value into a subsequentList Jobs
request in order to retrieve the next page of results.jobs(Option<Vec<JobListDescriptor>>)
:The list of current jobs and jobs that have ended within the last 30 days.
- On failure, responds with
SdkError<ListJobsError>
source§impl Client
impl Client
sourcepub fn list_multi_region_access_points(
&self
) -> ListMultiRegionAccessPointsFluentBuilder
pub fn list_multi_region_access_points( &self ) -> ListMultiRegionAccessPointsFluentBuilder
Constructs a fluent builder for the ListMultiRegionAccessPoints
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 owner of the Multi-Region Access Point.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:Not currently used. Do not use this parameter.
max_results(i32)
/set_max_results(Option<i32>)
:Not currently used. Do not use this parameter.
- On success, responds with
ListMultiRegionAccessPointsOutput
with field(s):access_points(Option<Vec<MultiRegionAccessPointReport>>)
:The list of Multi-Region Access Points associated with the user.
next_token(Option<String>)
:If the specified bucket has more Multi-Region Access Points than can be returned in one call to this action, this field contains a continuation token. You can use this token tin subsequent calls to this action to retrieve additional Multi-Region Access Points.
- On failure, responds with
SdkError<ListMultiRegionAccessPointsError>
source§impl Client
impl Client
sourcepub fn list_regional_buckets(&self) -> ListRegionalBucketsFluentBuilder
pub fn list_regional_buckets(&self) -> ListRegionalBucketsFluentBuilder
Constructs a fluent builder for the ListRegionalBuckets
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 of the Outposts bucket.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:max_results(i32)
/set_max_results(Option<i32>)
:outpost_id(impl Into<String>)
/set_outpost_id(Option<String>)
:The ID of the Outposts resource.
This ID is required by Amazon S3 on Outposts buckets.
- On success, responds with
ListRegionalBucketsOutput
with field(s):regional_bucket_list(Option<Vec<RegionalBucket>>)
:next_token(Option<String>)
:NextToken
is sent whenisTruncated
is true, which means there are more buckets that can be listed. The next list requests to Amazon S3 can be continued with thisNextToken
.NextToken
is obfuscated and is not a real key.
- On failure, responds with
SdkError<ListRegionalBucketsError>
source§impl Client
impl Client
sourcepub fn list_storage_lens_configurations(
&self
) -> ListStorageLensConfigurationsFluentBuilder
pub fn list_storage_lens_configurations( &self ) -> ListStorageLensConfigurationsFluentBuilder
Constructs a fluent builder for the ListStorageLensConfigurations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID of the requester.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A pagination token to request the next page of results.
- On success, responds with
ListStorageLensConfigurationsOutput
with field(s):next_token(Option<String>)
:If the request produced more than the maximum number of S3 Storage Lens configuration results, you can pass this value into a subsequent request to retrieve the next page of results.
storage_lens_configuration_list(Option<Vec<ListStorageLensConfigurationEntry>>)
:A list of S3 Storage Lens configurations.
- On failure, responds with
SdkError<ListStorageLensConfigurationsError>
source§impl Client
impl Client
sourcepub fn put_access_point_configuration_for_object_lambda(
&self
) -> PutAccessPointConfigurationForObjectLambdaFluentBuilder
pub fn put_access_point_configuration_for_object_lambda( &self ) -> PutAccessPointConfigurationForObjectLambdaFluentBuilder
Constructs a fluent builder for the PutAccessPointConfigurationForObjectLambda
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 Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Object Lambda Access Point.
configuration(ObjectLambdaConfiguration)
/set_configuration(Option<ObjectLambdaConfiguration>)
:Object Lambda Access Point configuration document.
- On success, responds with
PutAccessPointConfigurationForObjectLambdaOutput
- On failure, responds with
SdkError<PutAccessPointConfigurationForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn put_access_point_policy(&self) -> PutAccessPointPolicyFluentBuilder
pub fn put_access_point_policy(&self) -> PutAccessPointPolicyFluentBuilder
Constructs a fluent builder for the PutAccessPointPolicy
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for owner of the bucket associated with the specified access point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the access point that you want to associate with the specified policy.
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:
. For example, to access the access point: :outpost/ /accesspoint/ reports-ap
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap
. The value must be URL encoded.policy(impl Into<String>)
/set_policy(Option<String>)
:The policy that you want to apply to the specified access point. For more information about access point policies, see Managing data access with Amazon S3 access points in the Amazon S3 User Guide.
- On success, responds with
PutAccessPointPolicyOutput
- On failure, responds with
SdkError<PutAccessPointPolicyError>
source§impl Client
impl Client
sourcepub fn put_access_point_policy_for_object_lambda(
&self
) -> PutAccessPointPolicyForObjectLambdaFluentBuilder
pub fn put_access_point_policy_for_object_lambda( &self ) -> PutAccessPointPolicyForObjectLambdaFluentBuilder
Constructs a fluent builder for the PutAccessPointPolicyForObjectLambda
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 Object Lambda Access Point.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the Object Lambda Access Point.
policy(impl Into<String>)
/set_policy(Option<String>)
:Object Lambda Access Point resource policy document.
- On success, responds with
PutAccessPointPolicyForObjectLambdaOutput
- On failure, responds with
SdkError<PutAccessPointPolicyForObjectLambdaError>
source§impl Client
impl Client
sourcepub fn put_bucket_lifecycle_configuration(
&self
) -> PutBucketLifecycleConfigurationFluentBuilder
pub fn put_bucket_lifecycle_configuration( &self ) -> PutBucketLifecycleConfigurationFluentBuilder
Constructs a fluent builder for the PutBucketLifecycleConfiguration
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>)
:The name of the bucket for which to set the configuration.
lifecycle_configuration(LifecycleConfiguration)
/set_lifecycle_configuration(Option<LifecycleConfiguration>)
:Container for lifecycle rules. You can add as many as 1,000 rules.
- On success, responds with
PutBucketLifecycleConfigurationOutput
- On failure, responds with
SdkError<PutBucketLifecycleConfigurationError>
source§impl Client
impl Client
sourcepub fn put_bucket_policy(&self) -> PutBucketPolicyFluentBuilder
pub fn put_bucket_policy(&self) -> PutBucketPolicyFluentBuilder
Constructs a fluent builder for the PutBucketPolicy
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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL encoded.confirm_remove_self_bucket_access(bool)
/set_confirm_remove_self_bucket_access(Option<bool>)
:Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
This is not supported by Amazon S3 on Outposts buckets.
policy(impl Into<String>)
/set_policy(Option<String>)
:The bucket policy as a JSON document.
- On success, responds with
PutBucketPolicyOutput
- On failure, responds with
SdkError<PutBucketPolicyError>
source§impl Client
impl Client
sourcepub fn put_bucket_replication(&self) -> PutBucketReplicationFluentBuilder
pub fn put_bucket_replication(&self) -> PutBucketReplicationFluentBuilder
Constructs a fluent builder for the PutBucketReplication
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 S3 on Outposts bucket to set the 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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL encoded.replication_configuration(ReplicationConfiguration)
/set_replication_configuration(Option<ReplicationConfiguration>)
:
- On success, responds with
PutBucketReplicationOutput
- On failure, responds with
SdkError<PutBucketReplicationError>
source§impl Client
impl Client
sourcepub fn put_bucket_tagging(&self) -> PutBucketTaggingFluentBuilder
pub fn put_bucket_tagging(&self) -> PutBucketTaggingFluentBuilder
Constructs a fluent builder for the PutBucketTagging
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>)
:The Amazon Resource Name (ARN) of 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:
. For example, to access the bucket: :outpost/ /bucket/ reports
through Outpostmy-outpost
owned by account123456789012
in Regionus-west-2
, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL encoded.tagging(Tagging)
/set_tagging(Option<Tagging>)
:
- On success, responds with
PutBucketTaggingOutput
- On failure, responds with
SdkError<PutBucketTaggingError>
source§impl Client
impl Client
sourcepub fn put_bucket_versioning(&self) -> PutBucketVersioningFluentBuilder
pub fn put_bucket_versioning(&self) -> PutBucketVersioningFluentBuilder
Constructs a fluent builder for the PutBucketVersioning
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID of the S3 on Outposts bucket.
bucket(impl Into<String>)
/set_bucket(Option<String>)
:The S3 on Outposts bucket to set the versioning state for.
mfa(impl Into<String>)
/set_mfa(Option<String>)
:The concatenation of the authentication device’s serial number, a space, and the value that is displayed on your authentication device.
versioning_configuration(VersioningConfiguration)
/set_versioning_configuration(Option<VersioningConfiguration>)
:The root-level tag for the
VersioningConfiguration
parameters.
- On success, responds with
PutBucketVersioningOutput
- On failure, responds with
SdkError<PutBucketVersioningError>
source§impl Client
impl Client
sourcepub fn put_job_tagging(&self) -> PutJobTaggingFluentBuilder
pub fn put_job_tagging(&self) -> PutJobTaggingFluentBuilder
Constructs a fluent builder for the PutJobTagging
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID associated with the S3 Batch Operations job.
job_id(impl Into<String>)
/set_job_id(Option<String>)
:The ID for the S3 Batch Operations job whose tags you want to replace.
tags(Vec<S3Tag>)
/set_tags(Option<Vec<S3Tag>>)
:The set of tags to associate with the S3 Batch Operations job.
- On success, responds with
PutJobTaggingOutput
- On failure, responds with
SdkError<PutJobTaggingError>
source§impl Client
impl Client
sourcepub fn put_multi_region_access_point_policy(
&self
) -> PutMultiRegionAccessPointPolicyFluentBuilder
pub fn put_multi_region_access_point_policy( &self ) -> PutMultiRegionAccessPointPolicyFluentBuilder
Constructs a fluent builder for the PutMultiRegionAccessPointPolicy
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:An idempotency token used to identify the request and guarantee that requests are unique.
details(PutMultiRegionAccessPointPolicyInput)
/set_details(Option<PutMultiRegionAccessPointPolicyInput>)
:A container element containing the details of the policy for the Multi-Region Access Point.
- On success, responds with
PutMultiRegionAccessPointPolicyOutput
with field(s):request_token_arn(Option<String>)
:The request token associated with the request. You can use this token with DescribeMultiRegionAccessPointOperation to determine the status of asynchronous requests.
- On failure, responds with
SdkError<PutMultiRegionAccessPointPolicyError>
source§impl Client
impl Client
sourcepub fn put_public_access_block(&self) -> PutPublicAccessBlockFluentBuilder
pub fn put_public_access_block(&self) -> PutPublicAccessBlockFluentBuilder
Constructs a fluent builder for the PutPublicAccessBlock
operation.
- The fluent builder is configurable:
public_access_block_configuration(PublicAccessBlockConfiguration)
/set_public_access_block_configuration(Option<PublicAccessBlockConfiguration>)
:The
PublicAccessBlock
configuration that you want to apply to the specified Amazon Web Services account.account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID for the Amazon Web Services account whose
PublicAccessBlock
configuration you want to set.
- On success, responds with
PutPublicAccessBlockOutput
- On failure, responds with
SdkError<PutPublicAccessBlockError>
source§impl Client
impl Client
sourcepub fn put_storage_lens_configuration(
&self
) -> PutStorageLensConfigurationFluentBuilder
pub fn put_storage_lens_configuration( &self ) -> PutStorageLensConfigurationFluentBuilder
Constructs a fluent builder for the PutStorageLensConfiguration
operation.
- The fluent builder is configurable:
config_id(impl Into<String>)
/set_config_id(Option<String>)
:The ID of the S3 Storage Lens configuration.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID of the requester.
storage_lens_configuration(StorageLensConfiguration)
/set_storage_lens_configuration(Option<StorageLensConfiguration>)
:The S3 Storage Lens configuration.
tags(Vec<StorageLensTag>)
/set_tags(Option<Vec<StorageLensTag>>)
:The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
- On success, responds with
PutStorageLensConfigurationOutput
- On failure, responds with
SdkError<PutStorageLensConfigurationError>
source§impl Client
impl Client
sourcepub fn put_storage_lens_configuration_tagging(
&self
) -> PutStorageLensConfigurationTaggingFluentBuilder
pub fn put_storage_lens_configuration_tagging( &self ) -> PutStorageLensConfigurationTaggingFluentBuilder
Constructs a fluent builder for the PutStorageLensConfigurationTagging
operation.
- The fluent builder is configurable:
config_id(impl Into<String>)
/set_config_id(Option<String>)
:The ID of the S3 Storage Lens configuration.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The account ID of the requester.
tags(Vec<StorageLensTag>)
/set_tags(Option<Vec<StorageLensTag>>)
:The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
- On success, responds with
PutStorageLensConfigurationTaggingOutput
- On failure, responds with
SdkError<PutStorageLensConfigurationTaggingError>
source§impl Client
impl Client
sourcepub fn submit_multi_region_access_point_routes(
&self
) -> SubmitMultiRegionAccessPointRoutesFluentBuilder
pub fn submit_multi_region_access_point_routes( &self ) -> SubmitMultiRegionAccessPointRoutesFluentBuilder
Constructs a fluent builder for the SubmitMultiRegionAccessPointRoutes
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
mrap(impl Into<String>)
/set_mrap(Option<String>)
:The Multi-Region Access Point ARN.
route_updates(Vec<MultiRegionAccessPointRoute>)
/set_route_updates(Option<Vec<MultiRegionAccessPointRoute>>)
:The different routes that make up the new route configuration. Active routes return a value of
100
, and passive routes return a value of0
.
- On success, responds with
SubmitMultiRegionAccessPointRoutesOutput
- On failure, responds with
SdkError<SubmitMultiRegionAccessPointRoutesError>
source§impl Client
impl Client
sourcepub fn update_job_priority(&self) -> UpdateJobPriorityFluentBuilder
pub fn update_job_priority(&self) -> UpdateJobPriorityFluentBuilder
Constructs a fluent builder for the UpdateJobPriority
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID associated with the S3 Batch Operations job.
job_id(impl Into<String>)
/set_job_id(Option<String>)
:The ID for the job whose priority you want to update.
priority(i32)
/set_priority(Option<i32>)
:The priority you want to assign to this job.
- On success, responds with
UpdateJobPriorityOutput
with field(s):job_id(Option<String>)
:The ID for the job whose priority Amazon S3 updated.
priority(i32)
:The new priority assigned to the specified job.
- On failure, responds with
SdkError<UpdateJobPriorityError>
source§impl Client
impl Client
sourcepub fn update_job_status(&self) -> UpdateJobStatusFluentBuilder
pub fn update_job_status(&self) -> UpdateJobStatusFluentBuilder
Constructs a fluent builder for the UpdateJobStatus
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID associated with the S3 Batch Operations job.
job_id(impl Into<String>)
/set_job_id(Option<String>)
:The ID of the job whose status you want to update.
requested_job_status(RequestedJobStatus)
/set_requested_job_status(Option<RequestedJobStatus>)
:The status that you want to move the specified job to.
status_update_reason(impl Into<String>)
/set_status_update_reason(Option<String>)
:A description of the reason why you want to change the specified job’s status. This field can be any string up to the maximum length.
- On success, responds with
UpdateJobStatusOutput
with field(s):job_id(Option<String>)
:The ID for the job whose status was updated.
status(Option<JobStatus>)
:The current status for the specified job.
status_update_reason(Option<String>)
:The reason that the specified job’s status was updated.
- On failure, responds with
SdkError<UpdateJobStatusError>
source§impl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config( client: Client<DynConnector, DynMiddleware<DynConnector>>, conf: Config ) -> Self
Creates a client with the given service configuration.
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
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 thesleep_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 thehttp_connector
on the Config passed into this function to fix it.
sourcepub fn from_conf(conf: Config) -> Self
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 thesleep_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 thehttp_connector
on the Config passed into this function to fix it.