1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateDBClusterSnapshot`](crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`db_cluster_snapshot_identifier(impl ::std::convert::Into<String>)`](crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder::db_cluster_snapshot_identifier) / [`set_db_cluster_snapshot_identifier(Option<String>)`](crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder::set_db_cluster_snapshot_identifier): <p>The identifier of the cluster snapshot. This parameter is stored as a lowercase string.</p>  <p>Constraints:</p>  <ul>   <li> <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p> </li>   <li> <p>The 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-cluster-snapshot1</code> </p>
    ///   - [`db_cluster_identifier(impl ::std::convert::Into<String>)`](crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder::db_cluster_identifier) / [`set_db_cluster_identifier(Option<String>)`](crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder::set_db_cluster_identifier): <p>The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.</p>  <p>Constraints:</p>  <ul>   <li> <p>Must match the identifier of an existing <code>DBCluster</code>.</p> </li>  </ul>  <p>Example: <code>my-cluster</code> </p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder::set_tags): <p>The tags to be assigned to the cluster snapshot.</p>
    /// - On success, responds with [`CreateDbClusterSnapshotOutput`](crate::operation::create_db_cluster_snapshot::CreateDbClusterSnapshotOutput) with field(s):
    ///   - [`db_cluster_snapshot(Option<DbClusterSnapshot>)`](crate::operation::create_db_cluster_snapshot::CreateDbClusterSnapshotOutput::db_cluster_snapshot): <p>Detailed information about a cluster snapshot. </p>
    /// - On failure, responds with [`SdkError<CreateDBClusterSnapshotError>`](crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError)
    pub fn create_db_cluster_snapshot(
        &self,
    ) -> crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder
    {
        crate::operation::create_db_cluster_snapshot::builders::CreateDBClusterSnapshotFluentBuilder::new(self.handle.clone())
    }
}