Struct aws_sdk_s3control::client::Client
source · [−]pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_s3control::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_s3control::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_s3control::Client::from_conf(config);Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the 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 owner of the bucket for which you want to create an 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/ reportsthrough outpostmy-outpostowned by account123456789012in 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
PublicAccessBlockconfiguration that you want to apply to the access point.
- On success, responds with
CreateAccessPointOutputwith 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>
pub fn create_access_point_for_object_lambda(
&self
) -> CreateAccessPointForObjectLambda<C, M, R>
pub fn create_access_point_for_object_lambda(
&self
) -> CreateAccessPointForObjectLambda<C, M, R>
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
CreateAccessPointForObjectLambdaOutputwith field(s):object_lambda_access_point_arn(Option<String>):Specifies the ARN for the Object Lambda Access Point.
- On failure, responds with
SdkError<CreateAccessPointForObjectLambdaError>
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(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 is required by Amazon S3 on Outposts buckets.
- On success, responds with
CreateBucketOutputwith 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/ reportsthrough outpostmy-outpostowned by account123456789012in 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>
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.
- On success, responds with
CreateJobOutputwith field(s):job_id(Option<String>):The ID for this job. Amazon S3 generates this ID automatically and returns it after a successful
Create Jobrequest.
- On failure, responds with
SdkError<CreateJobError>
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
CreateMultiRegionAccessPointOutputwith 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>
Constructs a fluent builder for the DeleteAccessPoint 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 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-apthrough outpostmy-outpostowned by account123456789012in 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>
pub fn delete_access_point_for_object_lambda(
&self
) -> DeleteAccessPointForObjectLambda<C, M, R>
pub fn delete_access_point_for_object_lambda(
&self
) -> DeleteAccessPointForObjectLambda<C, M, R>
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>
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-apthrough outpostmy-outpostowned by account123456789012in 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>
pub fn delete_access_point_policy_for_object_lambda(
&self
) -> DeleteAccessPointPolicyForObjectLambda<C, M, R>
pub fn delete_access_point_policy_for_object_lambda(
&self
) -> DeleteAccessPointPolicyForObjectLambda<C, M, R>
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>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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>
pub fn delete_bucket_lifecycle_configuration(
&self
) -> DeleteBucketLifecycleConfiguration<C, M, R>
pub fn delete_bucket_lifecycle_configuration(
&self
) -> DeleteBucketLifecycleConfiguration<C, M, R>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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>
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>
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
DeleteMultiRegionAccessPointOutputwith 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>
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
PublicAccessBlockconfiguration you want to remove.
- On success, responds with
DeletePublicAccessBlockOutput - On failure, responds with
SdkError<DeletePublicAccessBlockError>
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>
pub fn delete_storage_lens_configuration_tagging(
&self
) -> DeleteStorageLensConfigurationTagging<C, M, R>
pub fn delete_storage_lens_configuration_tagging(
&self
) -> DeleteStorageLensConfigurationTagging<C, M, R>
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>
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
DescribeJobOutputwith field(s):job(Option<JobDescriptor>):Contains the configuration parameters and status for the job specified in the
Describe Jobrequest.
- On failure, responds with
SdkError<DescribeJobError>
pub fn describe_multi_region_access_point_operation(
&self
) -> DescribeMultiRegionAccessPointOperation<C, M, R>
pub fn describe_multi_region_access_point_operation(
&self
) -> DescribeMultiRegionAccessPointOperation<C, M, R>
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
DescribeMultiRegionAccessPointOperationOutputwith field(s):async_operation(Option<AsyncOperation>):A container element containing the details of the asynchronous operation.
- On failure, responds with
SdkError<DescribeMultiRegionAccessPointOperationError>
Constructs a fluent builder for the GetAccessPoint 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 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-apthrough outpostmy-outpostowned by account123456789012in 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
GetAccessPointOutputwith 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
VpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn’t allow access from the public internet. Otherwise,NetworkOriginisInternet, 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
PublicAccessBlockconfiguration 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 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.
- On failure, responds with
SdkError<GetAccessPointError>
pub fn get_access_point_configuration_for_object_lambda(
&self
) -> GetAccessPointConfigurationForObjectLambda<C, M, R>
pub fn get_access_point_configuration_for_object_lambda(
&self
) -> GetAccessPointConfigurationForObjectLambda<C, M, R>
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
GetAccessPointConfigurationForObjectLambdaOutputwith field(s):configuration(Option<ObjectLambdaConfiguration>):Object Lambda Access Point configuration document.
- On failure, responds with
SdkError<GetAccessPointConfigurationForObjectLambdaError>
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
GetAccessPointForObjectLambdaOutputwith 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.
- On failure, responds with
SdkError<GetAccessPointForObjectLambdaError>
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-apthrough outpostmy-outpostowned by account123456789012in 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
GetAccessPointPolicyOutputwith field(s):policy(Option<String>):The access point policy associated with the specified access point.
- On failure, responds with
SdkError<GetAccessPointPolicyError>
pub fn get_access_point_policy_for_object_lambda(
&self
) -> GetAccessPointPolicyForObjectLambda<C, M, R>
pub fn get_access_point_policy_for_object_lambda(
&self
) -> GetAccessPointPolicyForObjectLambda<C, M, R>
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
GetAccessPointPolicyForObjectLambdaOutputwith field(s):policy(Option<String>):Object Lambda Access Point resource policy document.
- On failure, responds with
SdkError<GetAccessPointPolicyForObjectLambdaError>
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
GetAccessPointPolicyStatusOutputwith field(s):policy_status(Option<PolicyStatus>):Indicates the current policy status of the specified access point.
- On failure, responds with
SdkError<GetAccessPointPolicyStatusError>
pub fn get_access_point_policy_status_for_object_lambda(
&self
) -> GetAccessPointPolicyStatusForObjectLambda<C, M, R>
pub fn get_access_point_policy_status_for_object_lambda(
&self
) -> GetAccessPointPolicyStatusForObjectLambda<C, M, R>
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
GetAccessPointPolicyStatusForObjectLambdaOutputwith 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>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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
GetBucketOutputwith 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>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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
GetBucketLifecycleConfigurationOutputwith field(s):rules(Option<Vec<LifecycleRule>>):Container for the lifecycle rule of the Outposts bucket.
- On failure, responds with
SdkError<GetBucketLifecycleConfigurationError>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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
GetBucketPolicyOutputwith field(s):policy(Option<String>):The policy of the Outposts bucket.
- On failure, responds with
SdkError<GetBucketPolicyError>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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
GetBucketTaggingOutputwith field(s):tag_set(Option<Vec<S3Tag>>):The tags set of the Outposts bucket.
- On failure, responds with
SdkError<GetBucketTaggingError>
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
GetJobTaggingOutputwith field(s):tags(Option<Vec<S3Tag>>):The set of tags associated with the S3 Batch Operations job.
- On failure, responds with
SdkError<GetJobTaggingError>
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
GetMultiRegionAccessPointOutputwith 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>
pub fn get_multi_region_access_point_policy(
&self
) -> GetMultiRegionAccessPointPolicy<C, M, R>
pub fn get_multi_region_access_point_policy(
&self
) -> GetMultiRegionAccessPointPolicy<C, M, R>
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
GetMultiRegionAccessPointPolicyOutputwith field(s):policy(Option<MultiRegionAccessPointPolicyDocument>):The policy associated with the specified Multi-Region Access Point.
- On failure, responds with
SdkError<GetMultiRegionAccessPointPolicyError>
pub fn get_multi_region_access_point_policy_status(
&self
) -> GetMultiRegionAccessPointPolicyStatus<C, M, R>
pub fn get_multi_region_access_point_policy_status(
&self
) -> GetMultiRegionAccessPointPolicyStatus<C, M, R>
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
GetMultiRegionAccessPointPolicyStatusOutputwith 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>
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
PublicAccessBlockconfiguration you want to retrieve.
- On success, responds with
GetPublicAccessBlockOutputwith field(s):public_access_block_configuration(Option<PublicAccessBlockConfiguration>):The
PublicAccessBlockconfiguration currently in effect for this Amazon Web Services account.
- On failure, responds with
SdkError<GetPublicAccessBlockError>
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
GetStorageLensConfigurationOutputwith field(s):storage_lens_configuration(Option<StorageLensConfiguration>):The S3 Storage Lens configuration requested.
- On failure, responds with
SdkError<GetStorageLensConfigurationError>
pub fn get_storage_lens_configuration_tagging(
&self
) -> GetStorageLensConfigurationTagging<C, M, R>
pub fn get_storage_lens_configuration_tagging(
&self
) -> GetStorageLensConfigurationTagging<C, M, R>
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
GetStorageLensConfigurationTaggingOutputwith field(s):tags(Option<Vec<StorageLensTag>>):The tags of S3 Storage Lens configuration requested.
- On failure, responds with
SdkError<GetStorageLensConfigurationTaggingError>
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 owner of the bucket whose access points you want to list.
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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
ListAccessPointsreturned a continuation token in theNextTokenfield, then providing that value here causes Amazon S3 to retrieve the next page of results.max_results(i32)/set_max_results(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
NextTokenfield that you can use to retrieve the next page of access points.
- On success, responds with
ListAccessPointsOutputwith 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>
pub fn list_access_points_for_object_lambda(
&self
) -> ListAccessPointsForObjectLambda<C, M, R>
pub fn list_access_points_for_object_lambda(
&self
) -> ListAccessPointsForObjectLambda<C, M, R>
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(i32):The maximum number of access points that you want to include in the list. If there are more than this number of access points, then the response will include a continuation token in the
NextTokenfield that you can use to retrieve the next page of access points.
- On success, responds with
ListAccessPointsForObjectLambdaOutputwith 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>
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 Jobsrequest 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
NextTokenelement of theListJobsResultfrom the previousList Jobsrequest.max_results(i32)/set_max_results(Option<i32>):The maximum number of jobs that Amazon S3 will include in the
List Jobsresponse. If there are more jobs than this number, the response will include a pagination token in theNextTokenfield to enable you to retrieve the next page of results.
- On success, responds with
ListJobsOutputwith field(s):next_token(Option<String>):If the
List Jobsrequest produced more than the maximum number of results, you can pass this value into a subsequentList Jobsrequest 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>
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(i32):Not currently used. Do not use this parameter.
- On success, responds with
ListMultiRegionAccessPointsOutputwith 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>
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(i32):outpost_id(impl Into<String>)/set_outpost_id(Option<String>):The ID of the Outposts.
This is required by Amazon S3 on Outposts buckets.
- On success, responds with
ListRegionalBucketsOutputwith field(s):regional_bucket_list(Option<Vec<RegionalBucket>>):next_token(Option<String>):NextTokenis sent whenisTruncatedis true, which means there are more buckets that can be listed. The next list requests to Amazon S3 can be continued with thisNextToken.NextTokenis obfuscated and is not a real key.
- On failure, responds with
SdkError<ListRegionalBucketsError>
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
ListStorageLensConfigurationsOutputwith 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>
pub fn put_access_point_configuration_for_object_lambda(
&self
) -> PutAccessPointConfigurationForObjectLambda<C, M, R>
pub fn put_access_point_configuration_for_object_lambda(
&self
) -> PutAccessPointConfigurationForObjectLambda<C, M, R>
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>
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-apthrough outpostmy-outpostowned by account123456789012in 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>
pub fn put_access_point_policy_for_object_lambda(
&self
) -> PutAccessPointPolicyForObjectLambda<C, M, R>
pub fn put_access_point_policy_for_object_lambda(
&self
) -> PutAccessPointPolicyForObjectLambda<C, M, R>
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>
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>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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(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>
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/ reportsthrough outpostmy-outpostowned by account123456789012in 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>
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>
pub fn put_multi_region_access_point_policy(
&self
) -> PutMultiRegionAccessPointPolicy<C, M, R>
pub fn put_multi_region_access_point_policy(
&self
) -> PutMultiRegionAccessPointPolicy<C, M, R>
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
PutMultiRegionAccessPointPolicyOutputwith 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>
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
PublicAccessBlockconfiguration 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
PublicAccessBlockconfiguration you want to set.
- On success, responds with
PutPublicAccessBlockOutput - On failure, responds with
SdkError<PutPublicAccessBlockError>
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>
pub fn put_storage_lens_configuration_tagging(
&self
) -> PutStorageLensConfigurationTagging<C, M, R>
pub fn put_storage_lens_configuration_tagging(
&self
) -> PutStorageLensConfigurationTagging<C, M, R>
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>
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(i32):The priority you want to assign to this job.
- On success, responds with
UpdateJobPriorityOutputwith 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>
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
UpdateJobStatusOutputwith 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>
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more