1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 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):<br>required: **true**<br><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><br>
    ///   - [`db_cluster_identifier(impl 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):<br>required: **true**<br><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><br>
    ///   - [`tags(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):<br>required: **false**<br><p>The tags to be assigned to the cluster snapshot.</p><br>
    /// - 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())
    }
}