amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IAM.Types.VirtualMFADevice

Description

 
Synopsis

Documentation

data VirtualMFADevice Source #

Contains information about a virtual MFA device.

See: newVirtualMFADevice smart constructor.

Constructors

VirtualMFADevice' 

Fields

  • base32StringSeed :: Maybe (Sensitive Base64)

    The base32 seed defined as specified in RFC3548. The Base32StringSeed is base64-encoded.

  • enableDate :: Maybe ISO8601

    The date and time on which the virtual MFA device was enabled.

  • qRCodePNG :: Maybe (Sensitive Base64)

    A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format. The Base32String value is base64-encoded.

  • tags :: Maybe [Tag]

    A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

  • user :: Maybe User

    The IAM user associated with this virtual MFA device.

  • serialNumber :: Text

    The serial number associated with VirtualMFADevice.

Instances

Instances details
FromXML VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

Generic VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

Associated Types

type Rep VirtualMFADevice :: Type -> Type #

Show VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

NFData VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

Methods

rnf :: VirtualMFADevice -> () #

Eq VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

Hashable VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

type Rep VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

type Rep VirtualMFADevice = D1 ('MetaData "VirtualMFADevice" "Amazonka.IAM.Types.VirtualMFADevice" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "VirtualMFADevice'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "base32StringSeed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Base64))) :*: (S1 ('MetaSel ('Just "enableDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "qRCodePNG") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Base64))))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe User)) :*: S1 ('MetaSel ('Just "serialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newVirtualMFADevice Source #

Create a value of VirtualMFADevice 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:base32StringSeed:VirtualMFADevice', virtualMFADevice_base32StringSeed - The base32 seed defined as specified in RFC3548. The Base32StringSeed is base64-encoded.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:enableDate:VirtualMFADevice', virtualMFADevice_enableDate - The date and time on which the virtual MFA device was enabled.

$sel:qRCodePNG:VirtualMFADevice', virtualMFADevice_qRCodePNG - A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format. The Base32String value is base64-encoded.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

VirtualMFADevice, virtualMFADevice_tags - A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

$sel:user:VirtualMFADevice', virtualMFADevice_user - The IAM user associated with this virtual MFA device.

$sel:serialNumber:VirtualMFADevice', virtualMFADevice_serialNumber - The serial number associated with VirtualMFADevice.

virtualMFADevice_base32StringSeed :: Lens' VirtualMFADevice (Maybe ByteString) Source #

The base32 seed defined as specified in RFC3548. The Base32StringSeed is base64-encoded.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

virtualMFADevice_enableDate :: Lens' VirtualMFADevice (Maybe UTCTime) Source #

The date and time on which the virtual MFA device was enabled.

virtualMFADevice_qRCodePNG :: Lens' VirtualMFADevice (Maybe ByteString) Source #

A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format. The Base32String value is base64-encoded.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

virtualMFADevice_tags :: Lens' VirtualMFADevice (Maybe [Tag]) Source #

A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

virtualMFADevice_user :: Lens' VirtualMFADevice (Maybe User) Source #

The IAM user associated with this virtual MFA device.

virtualMFADevice_serialNumber :: Lens' VirtualMFADevice Text Source #

The serial number associated with VirtualMFADevice.