#[non_exhaustive]pub struct ResyncMfaDeviceInput {
pub user_name: Option<String>,
pub serial_number: Option<String>,
pub authentication_code1: Option<String>,
pub authentication_code2: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_name: Option<String>
The name of the user whose MFA device you want to resynchronize.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
serial_number: Option<String>
Serial number that uniquely identifies the MFA device.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
authentication_code1: Option<String>
An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
authentication_code2: Option<String>
A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
Implementations§
source§impl ResyncMfaDeviceInput
impl ResyncMfaDeviceInput
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The name of the user whose MFA device you want to resynchronize.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn serial_number(&self) -> Option<&str>
pub fn serial_number(&self) -> Option<&str>
Serial number that uniquely identifies the MFA device.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn authentication_code1(&self) -> Option<&str>
pub fn authentication_code1(&self) -> Option<&str>
An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
sourcepub fn authentication_code2(&self) -> Option<&str>
pub fn authentication_code2(&self) -> Option<&str>
A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
source§impl ResyncMfaDeviceInput
impl ResyncMfaDeviceInput
sourcepub fn builder() -> ResyncMfaDeviceInputBuilder
pub fn builder() -> ResyncMfaDeviceInputBuilder
Creates a new builder-style object to manufacture ResyncMfaDeviceInput
.
Trait Implementations§
source§impl Clone for ResyncMfaDeviceInput
impl Clone for ResyncMfaDeviceInput
source§fn clone(&self) -> ResyncMfaDeviceInput
fn clone(&self) -> ResyncMfaDeviceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResyncMfaDeviceInput
impl Debug for ResyncMfaDeviceInput
source§impl PartialEq for ResyncMfaDeviceInput
impl PartialEq for ResyncMfaDeviceInput
source§fn eq(&self, other: &ResyncMfaDeviceInput) -> bool
fn eq(&self, other: &ResyncMfaDeviceInput) -> bool
self
and other
values to be equal, and is used
by ==
.