amazonka-iam-0.3.3: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.EnableMFADevice

Contents

Description

Enables the specified MFA device and associates it with the specified user name. When enabled, the MFA device is required for every subsequent login by the user name associated with the device.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_EnableMFADevice.html

Synopsis

Request

Request constructor

Request lenses

emfadAuthenticationCode1 :: Lens' EnableMFADevice Text Source

An authentication code emitted by the device.

emfadAuthenticationCode2 :: Lens' EnableMFADevice Text Source

A subsequent authentication code emitted by the device.

emfadSerialNumber :: Lens' EnableMFADevice Text Source

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

emfadUserName :: Lens' EnableMFADevice Text Source

The name of the user for whom you want to enable the MFA device.

Response

Response constructor