pub struct CreateMultiRegionAccessPoint { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateMultiRegionAccessPoint
.
Creates a Multi-Region Access Point and associates it with the specified buckets. For more information about creating Multi-Region Access Points, see Creating Multi-Region Access Points in the Amazon S3 User Guide.
This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.
This request is asynchronous, meaning that you might receive a response before the command has completed. When this request provides a response, it provides a token that you can use to monitor the status of the request with DescribeMultiRegionAccessPointOperation
.
The following actions are related to CreateMultiRegionAccessPoint
:
Implementations§
source§impl CreateMultiRegionAccessPoint
impl CreateMultiRegionAccessPoint
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateMultiRegionAccessPoint, AwsResponseRetryClassifier>, SdkError<CreateMultiRegionAccessPointError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateMultiRegionAccessPoint, AwsResponseRetryClassifier>, SdkError<CreateMultiRegionAccessPointError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateMultiRegionAccessPointOutput, SdkError<CreateMultiRegionAccessPointError>>
pub async fn send(
self
) -> Result<CreateMultiRegionAccessPointOutput, SdkError<CreateMultiRegionAccessPointError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
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.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
An idempotency token used to identify the request and guarantee that requests are unique.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
An idempotency token used to identify the request and guarantee that requests are unique.
sourcepub fn details(self, input: CreateMultiRegionAccessPointInput) -> Self
pub fn details(self, input: CreateMultiRegionAccessPointInput) -> Self
A container element containing details about the Multi-Region Access Point.
sourcepub fn set_details(
self,
input: Option<CreateMultiRegionAccessPointInput>
) -> Self
pub fn set_details(
self,
input: Option<CreateMultiRegionAccessPointInput>
) -> Self
A container element containing details about the Multi-Region Access Point.
Trait Implementations§
source§impl Clone for CreateMultiRegionAccessPoint
impl Clone for CreateMultiRegionAccessPoint
source§fn clone(&self) -> CreateMultiRegionAccessPoint
fn clone(&self) -> CreateMultiRegionAccessPoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more