Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.
For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the Using IAM guide.
See: AWS API Reference for DeactivateMFADevice.
Creating a Request
Creates a value of DeactivateMFADevice
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeactivateMFADevice Source
See: deactivateMFADevice
smart constructor.
Request Lenses
dmdUserName :: Lens' DeactivateMFADevice Text Source
The name of the user whose MFA device you want to deactivate.
dmdSerialNumber :: Lens' DeactivateMFADevice Text Source
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
Destructuring the Response
deactivateMFADeviceResponse :: DeactivateMFADeviceResponse Source
Creates a value of DeactivateMFADeviceResponse
with the minimum fields required to make a request.
data DeactivateMFADeviceResponse Source
See: deactivateMFADeviceResponse
smart constructor.