// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeactivateMFADevice`](crate::operation::deactivate_mfa_device::builders::DeactivateMFADeviceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_name(impl Into<String>)`](crate::operation::deactivate_mfa_device::builders::DeactivateMFADeviceFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::deactivate_mfa_device::builders::DeactivateMFADeviceFluentBuilder::set_user_name):<br>required: **true**<br><p>The name of the user whose MFA device you want to deactivate.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
/// - [`serial_number(impl Into<String>)`](crate::operation::deactivate_mfa_device::builders::DeactivateMFADeviceFluentBuilder::serial_number) / [`set_serial_number(Option<String>)`](crate::operation::deactivate_mfa_device::builders::DeactivateMFADeviceFluentBuilder::set_serial_number):<br>required: **true**<br><p>The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-</p><br>
/// - On success, responds with [`DeactivateMfaDeviceOutput`](crate::operation::deactivate_mfa_device::DeactivateMfaDeviceOutput)
/// - On failure, responds with [`SdkError<DeactivateMFADeviceError>`](crate::operation::deactivate_mfa_device::DeactivateMFADeviceError)
pub fn deactivate_mfa_device(&self) -> crate::operation::deactivate_mfa_device::builders::DeactivateMFADeviceFluentBuilder {
crate::operation::deactivate_mfa_device::builders::DeactivateMFADeviceFluentBuilder::new(self.handle.clone())
}
}