#[non_exhaustive]pub struct DeleteReplicationGroupInput { /* private fields */ }
Expand description
Represents the input of a DeleteReplicationGroup
operation.
Implementations§
source§impl DeleteReplicationGroupInput
impl DeleteReplicationGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteReplicationGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteReplicationGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteReplicationGroup
>
Examples found in repository?
src/client.rs (line 4756)
4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteReplicationGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteReplicationGroupError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DeleteReplicationGroupOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteReplicationGroupError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteReplicationGroupInput
.
source§impl DeleteReplicationGroupInput
impl DeleteReplicationGroupInput
sourcepub fn replication_group_id(&self) -> Option<&str>
pub fn replication_group_id(&self) -> Option<&str>
The identifier for the cluster to be deleted. This parameter is not case sensitive.
sourcepub fn retain_primary_cluster(&self) -> Option<bool>
pub fn retain_primary_cluster(&self) -> Option<bool>
If set to true
, all of the read replicas are deleted, but the primary node is retained.
sourcepub fn final_snapshot_identifier(&self) -> Option<&str>
pub fn final_snapshot_identifier(&self) -> Option<&str>
The name of a final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the replication group is immediately deleted.
Trait Implementations§
source§impl Clone for DeleteReplicationGroupInput
impl Clone for DeleteReplicationGroupInput
source§fn clone(&self) -> DeleteReplicationGroupInput
fn clone(&self) -> DeleteReplicationGroupInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more