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.Types.MFADevice

Description

 
Synopsis

Documentation

data MFADevice Source #

Contains information about an MFA device.

This data type is used as a response element in the ListMFADevices operation.

See: newMFADevice smart constructor.

Constructors

MFADevice' 

Fields

  • userName :: Text

    The user with whom the MFA device is associated.

  • serialNumber :: Text

    The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

  • enableDate :: ISO8601

    The date when the MFA device was enabled for the user.

Instances

Instances details
Eq MFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.MFADevice

Read MFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.MFADevice

Show MFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.MFADevice

Generic MFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.MFADevice

Associated Types

type Rep MFADevice :: Type -> Type #

NFData MFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.MFADevice

Methods

rnf :: MFADevice -> () #

Hashable MFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.MFADevice

FromXML MFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.MFADevice

type Rep MFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.MFADevice

type Rep MFADevice = D1 ('MetaData "MFADevice" "Amazonka.IAM.Types.MFADevice" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "MFADevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "serialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "enableDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newMFADevice Source #

Create a value of MFADevice 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:userName:MFADevice', mfaDevice_userName - The user with whom the MFA device is associated.

$sel:serialNumber:MFADevice', mfaDevice_serialNumber - The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

$sel:enableDate:MFADevice', mfaDevice_enableDate - The date when the MFA device was enabled for the user.

mfaDevice_userName :: Lens' MFADevice Text Source #

The user with whom the MFA device is associated.

mfaDevice_serialNumber :: Lens' MFADevice Text Source #

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

mfaDevice_enableDate :: Lens' MFADevice UTCTime Source #

The date when the MFA device was enabled for the user.