Struct rusoto_iam::EnableMFADeviceRequest
[−]
[src]
pub struct EnableMFADeviceRequest { pub authentication_code_1: AuthenticationCodeType, pub authentication_code_2: AuthenticationCodeType, pub serial_number: SerialNumberType, pub user_name: ExistingUserNameType, }
Fields
authentication_code_1: AuthenticationCodeType
An authentication code emitted by the device.
The format for this parameter is a string of 6 digits.
authentication_code_2: AuthenticationCodeType
A subsequent authentication code emitted by the device.
The format for this parameter is a string of 6 digits.
serial_number: SerialNumberType
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
This parameter allows (per 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: =/:,.@-
user_name: ExistingUserNameType
The name of the IAM user for whom you want to enable the MFA device.
This parameter allows (per 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: =,.@-
Trait Implementations
impl Default for EnableMFADeviceRequest
[src]
fn default() -> EnableMFADeviceRequest
Returns the "default value" for a type. Read more
impl Debug for EnableMFADeviceRequest
[src]
impl Clone for EnableMFADeviceRequest
[src]
fn clone(&self) -> EnableMFADeviceRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more