// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RotateWorkspaceEncryptionKey`](crate::operation::rotate_workspace_encryption_key::builders::RotateWorkspaceEncryptionKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`org_id(impl Into<String>)`](crate::operation::rotate_workspace_encryption_key::builders::RotateWorkspaceEncryptionKeyFluentBuilder::org_id) / [`set_org_id(Option<String>)`](crate::operation::rotate_workspace_encryption_key::builders::RotateWorkspaceEncryptionKeyFluentBuilder::set_org_id):<br>required: **true**<br>(undocumented)<br>
/// - [`workspace_name(impl Into<String>)`](crate::operation::rotate_workspace_encryption_key::builders::RotateWorkspaceEncryptionKeyFluentBuilder::workspace_name) / [`set_workspace_name(Option<String>)`](crate::operation::rotate_workspace_encryption_key::builders::RotateWorkspaceEncryptionKeyFluentBuilder::set_workspace_name):<br>required: **true**<br>(undocumented)<br>
/// - On success, responds with [`RotateWorkspaceEncryptionKeyOutput`](crate::operation::rotate_workspace_encryption_key::RotateWorkspaceEncryptionKeyOutput) with field(s):
/// - [`total_secrets_re_encrypted(i64)`](crate::operation::rotate_workspace_encryption_key::RotateWorkspaceEncryptionKeyOutput::total_secrets_re_encrypted): Number of secrets that were re-encrypted with the new key.
/// - On failure, responds with [`SdkError<RotateWorkspaceEncryptionKeyError>`](crate::operation::rotate_workspace_encryption_key::RotateWorkspaceEncryptionKeyError)
pub fn rotate_workspace_encryption_key(&self) -> crate::operation::rotate_workspace_encryption_key::builders::RotateWorkspaceEncryptionKeyFluentBuilder {
crate::operation::rotate_workspace_encryption_key::builders::RotateWorkspaceEncryptionKeyFluentBuilder::new(self.handle.clone())
}
}