Struct aws_sdk_rds::client::fluent_builders::StopDBCluster
source · [−]pub struct StopDBCluster { /* private fields */ }Expand description
Fluent builder constructing a request to StopDBCluster.
Stops an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora retains the DB cluster's metadata, including its endpoints and DB parameter groups. Aurora also retains the transaction logs so you can do a point-in-time restore if necessary.
For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide.
This action only applies to Aurora DB clusters.
Implementations
sourceimpl StopDBCluster
impl StopDBCluster
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StopDBCluster, AwsResponseRetryClassifier>, SdkError<StopDBClusterError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StopDBCluster, AwsResponseRetryClassifier>, SdkError<StopDBClusterError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StopDbClusterOutput, SdkError<StopDBClusterError>>
pub async fn send(
self
) -> Result<StopDbClusterOutput, SdkError<StopDBClusterError>>
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 db_cluster_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This parameter is stored as a lowercase string.
sourcepub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This parameter is stored as a lowercase string.
Trait Implementations
sourceimpl Clone for StopDBCluster
impl Clone for StopDBCluster
sourcefn clone(&self) -> StopDBCluster
fn clone(&self) -> StopDBCluster
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more