Struct aws_sdk_elasticache::client::fluent_builders::CreateGlobalReplicationGroup [−][src]
pub struct CreateGlobalReplicationGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateGlobalReplicationGroup
.
Global Datastore for Redis offers fully managed, fast, reliable and secure cross-region replication. Using Global Datastore for Redis, you can create cross-region read replica clusters for ElastiCache for Redis to enable low-latency reads and disaster recovery across regions. For more information,
see Replication Across Regions Using Global Datastore.
-
The GlobalReplicationGroupIdSuffix is the name of the Global datastore.
-
The PrimaryReplicationGroupId represents the name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
Implementations
impl<C, M, R> CreateGlobalReplicationGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateGlobalReplicationGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateGlobalReplicationGroupOutput, SdkError<CreateGlobalReplicationGroupError>> where
R::Policy: SmithyRetryPolicy<CreateGlobalReplicationGroupInputOperationOutputAlias, CreateGlobalReplicationGroupOutput, CreateGlobalReplicationGroupError, CreateGlobalReplicationGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateGlobalReplicationGroupOutput, SdkError<CreateGlobalReplicationGroupError>> where
R::Policy: SmithyRetryPolicy<CreateGlobalReplicationGroupInputOperationOutputAlias, CreateGlobalReplicationGroupOutput, CreateGlobalReplicationGroupError, CreateGlobalReplicationGroupInputOperationRetryAlias>,
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 suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
Provides details of the Global datastore
Provides details of the Global datastore
The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateGlobalReplicationGroup<C, M, R>
impl<C, M, R> Send for CreateGlobalReplicationGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateGlobalReplicationGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateGlobalReplicationGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateGlobalReplicationGroup<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