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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.DeactivateMFADevice

Contents

Description

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.

Synopsis

Creating a Request

deactivateMFADevice Source

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:

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.