Struct aws_sdk_directory::client::fluent_builders::AddRegion
source · [−]pub struct AddRegion<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to AddRegion
.
Adds two domain controllers in the specified Region for the specified directory.
Implementations
impl<C, M, R> AddRegion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AddRegion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<AddRegionOutput, SdkError<AddRegionError>> where
R::Policy: SmithyRetryPolicy<AddRegionInputOperationOutputAlias, AddRegionOutput, AddRegionError, AddRegionInputOperationRetryAlias>,
pub async fn send(self) -> Result<AddRegionOutput, SdkError<AddRegionError>> where
R::Policy: SmithyRetryPolicy<AddRegionInputOperationOutputAlias, AddRegionOutput, AddRegionError, AddRegionInputOperationRetryAlias>,
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.
The identifier of the directory to which you want to add Region replication.
The identifier of the directory to which you want to add Region replication.
The name of the Region where you want to add domain controllers for replication. For example, us-east-1
.
The name of the Region where you want to add domain controllers for replication. For example, us-east-1
.
Contains VPC information for the CreateDirectory
or CreateMicrosoftAD
operation.
Contains VPC information for the CreateDirectory
or CreateMicrosoftAD
operation.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AddRegion<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AddRegion<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