1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RotateEncryptionKey`](crate::operation::rotate_encryption_key::builders::RotateEncryptionKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_identifier(impl Into<String>)`](crate::operation::rotate_encryption_key::builders::RotateEncryptionKeyFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::rotate_encryption_key::builders::RotateEncryptionKeyFluentBuilder::set_cluster_identifier): <p>The unique identifier of the cluster that you want to rotate the encryption keys for.</p>  <p>Constraints: Must be the name of valid cluster that has encryption enabled.</p>
    /// - On success, responds with [`RotateEncryptionKeyOutput`](crate::operation::rotate_encryption_key::RotateEncryptionKeyOutput) with field(s):
    ///   - [`cluster(Option<Cluster>)`](crate::operation::rotate_encryption_key::RotateEncryptionKeyOutput::cluster): <p>Describes a cluster.</p>
    /// - On failure, responds with [`SdkError<RotateEncryptionKeyError>`](crate::operation::rotate_encryption_key::RotateEncryptionKeyError)
    pub fn rotate_encryption_key(&self) -> crate::operation::rotate_encryption_key::builders::RotateEncryptionKeyFluentBuilder {
        crate::operation::rotate_encryption_key::builders::RotateEncryptionKeyFluentBuilder::new(self.handle.clone())
    }
}