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
sourceimpl CreateMultiRegionAccessPoint
impl CreateMultiRegionAccessPoint
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
sourceimpl Clone for CreateMultiRegionAccessPoint
impl Clone for CreateMultiRegionAccessPoint
sourcefn clone(&self) -> CreateMultiRegionAccessPoint
fn clone(&self) -> CreateMultiRegionAccessPoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateMultiRegionAccessPoint
impl Send for CreateMultiRegionAccessPoint
impl Sync for CreateMultiRegionAccessPoint
impl Unpin for CreateMultiRegionAccessPoint
impl !UnwindSafe for CreateMultiRegionAccessPoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more