// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ChangePassword`](crate::operation::change_password::builders::ChangePasswordFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`previous_password(impl Into<String>)`](crate::operation::change_password::builders::ChangePasswordFluentBuilder::previous_password) / [`set_previous_password(Option<String>)`](crate::operation::change_password::builders::ChangePasswordFluentBuilder::set_previous_password):<br>required: **true**<br><p>The old password.</p><br>
/// - [`proposed_password(impl Into<String>)`](crate::operation::change_password::builders::ChangePasswordFluentBuilder::proposed_password) / [`set_proposed_password(Option<String>)`](crate::operation::change_password::builders::ChangePasswordFluentBuilder::set_proposed_password):<br>required: **true**<br><p>The new password.</p><br>
/// - [`access_token(impl Into<String>)`](crate::operation::change_password::builders::ChangePasswordFluentBuilder::access_token) / [`set_access_token(Option<String>)`](crate::operation::change_password::builders::ChangePasswordFluentBuilder::set_access_token):<br>required: **true**<br><p>A valid access token that Amazon Cognito issued to the user whose password you want to change.</p><br>
/// - On success, responds with [`ChangePasswordOutput`](crate::operation::change_password::ChangePasswordOutput)
/// - On failure, responds with [`SdkError<ChangePasswordError>`](crate::operation::change_password::ChangePasswordError)
pub fn change_password(&self) -> crate::operation::change_password::builders::ChangePasswordFluentBuilder {
crate::operation::change_password::builders::ChangePasswordFluentBuilder::new(self.handle.clone())
}
}