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 |
Synopsis
- data MFADevice = MFADevice' {
- userName :: Text
- serialNumber :: Text
- enableDate :: ISO8601
- newMFADevice :: Text -> Text -> UTCTime -> MFADevice
- mfaDevice_userName :: Lens' MFADevice Text
- mfaDevice_serialNumber :: Lens' MFADevice Text
- mfaDevice_enableDate :: Lens' MFADevice UTCTime
Documentation
Contains information about an MFA device.
This data type is used as a response element in the ListMFADevices operation.
See: newMFADevice
smart constructor.
MFADevice' | |
|
Instances
Eq MFADevice Source # | |
Read MFADevice Source # | |
Show MFADevice Source # | |
Generic MFADevice Source # | |
NFData MFADevice Source # | |
Defined in Amazonka.IAM.Types.MFADevice | |
Hashable MFADevice Source # | |
Defined in Amazonka.IAM.Types.MFADevice | |
FromXML MFADevice Source # | |
type Rep MFADevice Source # | |
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)))) |
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.