// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateClusterSnapshot`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`snapshot_identifier(impl Into<String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::snapshot_identifier) / [`set_snapshot_identifier(Option<String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::set_snapshot_identifier): <p>A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.</p> <p>Constraints:</p> <ul> <li> <p>Cannot be null, empty, or blank</p> </li> <li> <p>Must contain from 1 to 255 alphanumeric characters or hyphens</p> </li> <li> <p>First character must be a letter</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens</p> </li> </ul> <p>Example: <code>my-snapshot-id</code> </p>
/// - [`cluster_identifier(impl Into<String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::set_cluster_identifier): <p>The cluster identifier for which you want a snapshot.</p>
/// - [`manual_snapshot_retention_period(i32)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::manual_snapshot_retention_period) / [`set_manual_snapshot_retention_period(Option<i32>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::set_manual_snapshot_retention_period): <p>The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. </p> <p>The value must be either -1 or an integer between 1 and 3,653.</p> <p>The default value is -1.</p>
/// - [`tags(Tag)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::set_tags): <p>A list of tag instances.</p>
/// - On success, responds with [`CreateClusterSnapshotOutput`](crate::operation::create_cluster_snapshot::CreateClusterSnapshotOutput) with field(s):
/// - [`snapshot(Option<Snapshot>)`](crate::operation::create_cluster_snapshot::CreateClusterSnapshotOutput::snapshot): <p>Describes a snapshot.</p>
/// - On failure, responds with [`SdkError<CreateClusterSnapshotError>`](crate::operation::create_cluster_snapshot::CreateClusterSnapshotError)
pub fn create_cluster_snapshot(&self) -> crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder {
crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::new(self.handle.clone())
}
}