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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Deletes a virtual MFA device.

You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice.

See: AWS API Reference for DeleteVirtualMFADevice.


Creating a Request

deleteVirtualMFADevice Source

Creates a value of DeleteVirtualMFADevice with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dvmdSerialNumber :: Lens' DeleteVirtualMFADevice Text Source

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

Destructuring the Response

deleteVirtualMFADeviceResponse :: DeleteVirtualMFADeviceResponse Source

Creates a value of DeleteVirtualMFADeviceResponse with the minimum fields required to make a request.