Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 IAM User Guide .
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:
dmdUserName
- The name of the user whose MFA device you want to deactivate. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-dmdSerialNumber
- The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
data DeactivateMFADevice Source #
See: deactivateMFADevice
smart constructor.
Instances
Request Lenses
dmdUserName :: Lens' DeactivateMFADevice Text Source #
The name of the user whose MFA device you want to deactivate. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
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. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
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.