| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IAM.DeleteVirtualMFADevice
Description
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.
Constructors
| DeleteVirtualMFADevice' | |
Fields
| |
Instances
newDeleteVirtualMFADevice Source #
Arguments
| :: Text | |
| -> DeleteVirtualMFADevice |
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:
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.
Constructors
| DeleteVirtualMFADeviceResponse' | |
Instances
| Generic DeleteVirtualMFADeviceResponse Source # | |
Defined in Amazonka.IAM.DeleteVirtualMFADevice Associated Types type Rep DeleteVirtualMFADeviceResponse :: Type -> Type # | |
| Read DeleteVirtualMFADeviceResponse Source # | |
| Show DeleteVirtualMFADeviceResponse Source # | |
Defined in Amazonka.IAM.DeleteVirtualMFADevice Methods showsPrec :: Int -> DeleteVirtualMFADeviceResponse -> ShowS # show :: DeleteVirtualMFADeviceResponse -> String # showList :: [DeleteVirtualMFADeviceResponse] -> ShowS # | |
| NFData DeleteVirtualMFADeviceResponse Source # | |
Defined in Amazonka.IAM.DeleteVirtualMFADevice Methods rnf :: DeleteVirtualMFADeviceResponse -> () # | |
| Eq DeleteVirtualMFADeviceResponse Source # | |
Defined in Amazonka.IAM.DeleteVirtualMFADevice | |
| type Rep DeleteVirtualMFADeviceResponse Source # | |
Defined in Amazonka.IAM.DeleteVirtualMFADevice | |
newDeleteVirtualMFADeviceResponse :: DeleteVirtualMFADeviceResponse Source #
Create a value of DeleteVirtualMFADeviceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.