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 [`ResyncMFADevice`](crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_name(impl Into<String>)`](crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::set_user_name):<br>required: **true**<br><p>The name of the user whose MFA device you want to resynchronize.</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::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::serial_number) / [`set_serial_number(Option<String>)`](crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::set_serial_number):<br>required: **true**<br><p>Serial number that uniquely identifies the MFA device.</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>
    ///   - [`authentication_code1(impl Into<String>)`](crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::authentication_code1) / [`set_authentication_code1(Option<String>)`](crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::set_authentication_code1):<br>required: **true**<br><p>An authentication code emitted by the device.</p>  <p>The format for this parameter is a sequence of six digits.</p><br>
    ///   - [`authentication_code2(impl Into<String>)`](crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::authentication_code2) / [`set_authentication_code2(Option<String>)`](crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::set_authentication_code2):<br>required: **true**<br><p>A subsequent authentication code emitted by the device.</p>  <p>The format for this parameter is a sequence of six digits.</p><br>
    /// - On success, responds with [`ResyncMfaDeviceOutput`](crate::operation::resync_mfa_device::ResyncMfaDeviceOutput)
    /// - On failure, responds with [`SdkError<ResyncMFADeviceError>`](crate::operation::resync_mfa_device::ResyncMFADeviceError)
    pub fn resync_mfa_device(&self) -> crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder {
        crate::operation::resync_mfa_device::builders::ResyncMFADeviceFluentBuilder::new(self.handle.clone())
    }
}