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.VirtualMFADevice

Description

 
Synopsis

Documentation

data VirtualMFADevice Source #

Contains information about a virtual MFA device.

See: newVirtualMFADevice smart constructor.

Constructors

VirtualMFADevice' 

Fields

  • 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.

  • base32StringSeed :: Maybe (Sensitive Base64)

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

  • user :: Maybe User

    The IAM user associated with this virtual MFA device.

  • enableDate :: Maybe ISO8601

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

  • 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.

  • serialNumber :: Text

    The serial number associated with VirtualMFADevice.

Instances

Instances details
Eq VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

Show 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 #

NFData VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

Methods

rnf :: VirtualMFADevice -> () #

Hashable VirtualMFADevice Source # 
Instance details

Defined in Amazonka.IAM.Types.VirtualMFADevice

FromXML 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" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "VirtualMFADevice'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "qRCodePNG") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Base64))) :*: (S1 ('MetaSel ('Just "base32StringSeed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Base64))) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe User)))) :*: (S1 ('MetaSel ('Just "enableDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: 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: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.

$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:user:VirtualMFADevice', virtualMFADevice_user - The IAM user associated with this virtual MFA device.

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

$sel:tags: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:serialNumber:VirtualMFADevice', virtualMFADevice_serialNumber - The serial number associated with VirtualMFADevice.

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_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_user :: Lens' VirtualMFADevice (Maybe User) Source #

The IAM user associated with this virtual MFA device.

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

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

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_serialNumber :: Lens' VirtualMFADevice Text Source #

The serial number associated with VirtualMFADevice.