Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data DeleteVirtualMFADevice = DeleteVirtualMFADevice' {
- serialNumber :: Text
- newDeleteVirtualMFADevice :: Text -> DeleteVirtualMFADevice
- deleteVirtualMFADevice_serialNumber :: Lens' DeleteVirtualMFADevice Text
- data DeleteVirtualMFADeviceResponse = DeleteVirtualMFADeviceResponse' {
- newDeleteVirtualMFADeviceResponse :: DeleteVirtualMFADeviceResponse
Creating a Request
data DeleteVirtualMFADevice Source #
See: newDeleteVirtualMFADevice
smart constructor.
DeleteVirtualMFADevice' | |
|
Instances
newDeleteVirtualMFADevice Source #
Create a value of DeleteVirtualMFADevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:serialNumber:DeleteVirtualMFADevice'
, deleteVirtualMFADevice_serialNumber
- The serial number that uniquely identifies the MFA device. For virtual
MFA devices, the serial number is the same as the ARN.
This parameter allows (through 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: =,.@:/-
Request Lenses
deleteVirtualMFADevice_serialNumber :: 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.
This parameter allows (through 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
data DeleteVirtualMFADeviceResponse Source #
See: newDeleteVirtualMFADeviceResponse
smart constructor.
Instances
newDeleteVirtualMFADeviceResponse :: DeleteVirtualMFADeviceResponse Source #
Create a value of DeleteVirtualMFADeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.