aws_sdk_elasticache/client/delete_global_replication_group.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteGlobalReplicationGroup`](crate::operation::delete_global_replication_group::builders::DeleteGlobalReplicationGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`global_replication_group_id(impl Into<String>)`](crate::operation::delete_global_replication_group::builders::DeleteGlobalReplicationGroupFluentBuilder::global_replication_group_id) / [`set_global_replication_group_id(Option<String>)`](crate::operation::delete_global_replication_group::builders::DeleteGlobalReplicationGroupFluentBuilder::set_global_replication_group_id):<br>required: **true**<br><p>The name of the Global datastore</p><br>
7 /// - [`retain_primary_replication_group(bool)`](crate::operation::delete_global_replication_group::builders::DeleteGlobalReplicationGroupFluentBuilder::retain_primary_replication_group) / [`set_retain_primary_replication_group(Option<bool>)`](crate::operation::delete_global_replication_group::builders::DeleteGlobalReplicationGroupFluentBuilder::set_retain_primary_replication_group):<br>required: **true**<br><p>The primary replication group is retained as a standalone replication group.</p><br>
8 /// - On success, responds with [`DeleteGlobalReplicationGroupOutput`](crate::operation::delete_global_replication_group::DeleteGlobalReplicationGroupOutput) with field(s):
9 /// - [`global_replication_group(Option<GlobalReplicationGroup>)`](crate::operation::delete_global_replication_group::DeleteGlobalReplicationGroupOutput::global_replication_group): <p>Consists of a primary cluster that accepts writes and an associated secondary cluster that resides in a different Amazon region. The secondary cluster accepts only reads. The primary cluster automatically replicates updates to the secondary cluster.</p> <ul> <li> <p>The <b>GlobalReplicationGroupIdSuffix</b> represents the name of the Global datastore, which is what you use to associate a secondary cluster.</p></li> </ul>
10 /// - On failure, responds with [`SdkError<DeleteGlobalReplicationGroupError>`](crate::operation::delete_global_replication_group::DeleteGlobalReplicationGroupError)
11 pub fn delete_global_replication_group(
12 &self,
13 ) -> crate::operation::delete_global_replication_group::builders::DeleteGlobalReplicationGroupFluentBuilder {
14 crate::operation::delete_global_replication_group::builders::DeleteGlobalReplicationGroupFluentBuilder::new(self.handle.clone())
15 }
16}