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

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

Creating a Request

data DeleteVirtualMFADevice Source #

See: newDeleteVirtualMFADevice smart constructor.

Constructors

DeleteVirtualMFADevice' 

Fields

  • serialNumber :: Text

    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: =,.@:/-

Instances

Instances details
Eq DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Read DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Show DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Generic DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Associated Types

type Rep DeleteVirtualMFADevice :: Type -> Type #

NFData DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Methods

rnf :: DeleteVirtualMFADevice -> () #

Hashable DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

AWSRequest DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Associated Types

type AWSResponse DeleteVirtualMFADevice #

ToHeaders DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

ToPath DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

ToQuery DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

type Rep DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

type Rep DeleteVirtualMFADevice = D1 ('MetaData "DeleteVirtualMFADevice" "Amazonka.IAM.DeleteVirtualMFADevice" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "DeleteVirtualMFADevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteVirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

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

Instances details
Eq DeleteVirtualMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Read DeleteVirtualMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Show DeleteVirtualMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Generic DeleteVirtualMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

Associated Types

type Rep DeleteVirtualMFADeviceResponse :: Type -> Type #

NFData DeleteVirtualMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

type Rep DeleteVirtualMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteVirtualMFADevice

type Rep DeleteVirtualMFADeviceResponse = D1 ('MetaData "DeleteVirtualMFADeviceResponse" "Amazonka.IAM.DeleteVirtualMFADevice" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "DeleteVirtualMFADeviceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteVirtualMFADeviceResponse :: DeleteVirtualMFADeviceResponse Source #

Create a value of DeleteVirtualMFADeviceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.