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

An authentication code emitted by the device.

The format for this parameter is a string of 6 digits.

A subsequent authentication code emitted by the device.

The format for this parameter is a string of 6 digits.

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: =/:,.@-

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]

Returns the "default value" for a type. Read more

impl Debug for EnableMFADeviceRequest
[src]

Formats the value using the given formatter.

impl Clone for EnableMFADeviceRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more