Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data EnableMFADevice
- enableMFADevice :: Text -> Text -> Text -> Text -> EnableMFADevice
- emfadAuthenticationCode1 :: Lens' EnableMFADevice Text
- emfadAuthenticationCode2 :: Lens' EnableMFADevice Text
- emfadSerialNumber :: Lens' EnableMFADevice Text
- emfadUserName :: Lens' EnableMFADevice Text
- data EnableMFADeviceResponse
- enableMFADeviceResponse :: EnableMFADeviceResponse
Request
data EnableMFADevice Source
Request constructor
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> EnableMFADevice |
EnableMFADevice
constructor.
The fields accessible through corresponding lenses are:
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.