Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EnableMFADeviceRequest

import type { EnableMFADeviceRequest } from "https://aws-api.deno.dev/v0.4/services/iam.ts?docs=full";
interface EnableMFADeviceRequest {
AuthenticationCode1: string;
AuthenticationCode2: string;
SerialNumber: string;
UserName: string;
}

§Properties

§
AuthenticationCode1: string
[src]

An authentication code emitted by the device.

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

! IMPORTANT: ! Submit your request immediately after generating the authentication codes. ! If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. ! This happens because time-based one-time passwords (TOTP) expire after a short period of time. ! If this happens, you can resync the device.

§
AuthenticationCode2: string
[src]

A subsequent authentication code emitted by the device.

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

! IMPORTANT: ! Submit your request immediately after generating the authentication codes. ! If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. ! This happens because time-based one-time passwords (TOTP) expire after a short period of time. ! If this happens, you can resync the device.

§
SerialNumber: string
[src]

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

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

§
UserName: string
[src]

The name of the IAM user for whom you want to enable 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: _+=,.@-