libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.Types.SessionContextAttributes

Description

 
Synopsis

Documentation

data SessionContextAttributes Source #

Provides information about the context in which temporary security credentials were issued to an entity.

See: newSessionContextAttributes smart constructor.

Constructors

SessionContextAttributes' 

Fields

  • creationDate :: Maybe POSIX

    The date and time, in UTC and ISO 8601 format, when the credentials were issued.

  • mfaAuthenticated :: Maybe Bool

    Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.

Instances

Instances details
Eq SessionContextAttributes Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContextAttributes

Read SessionContextAttributes Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContextAttributes

Show SessionContextAttributes Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContextAttributes

Generic SessionContextAttributes Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContextAttributes

Associated Types

type Rep SessionContextAttributes :: Type -> Type #

NFData SessionContextAttributes Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContextAttributes

Hashable SessionContextAttributes Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContextAttributes

FromJSON SessionContextAttributes Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContextAttributes

type Rep SessionContextAttributes Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContextAttributes

type Rep SessionContextAttributes = D1 ('MetaData "SessionContextAttributes" "Amazonka.MacieV2.Types.SessionContextAttributes" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "SessionContextAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "mfaAuthenticated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newSessionContextAttributes :: SessionContextAttributes Source #

Create a value of SessionContextAttributes 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:creationDate:SessionContextAttributes', sessionContextAttributes_creationDate - The date and time, in UTC and ISO 8601 format, when the credentials were issued.

$sel:mfaAuthenticated:SessionContextAttributes', sessionContextAttributes_mfaAuthenticated - Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.

sessionContextAttributes_creationDate :: Lens' SessionContextAttributes (Maybe UTCTime) Source #

The date and time, in UTC and ISO 8601 format, when the credentials were issued.

sessionContextAttributes_mfaAuthenticated :: Lens' SessionContextAttributes (Maybe Bool) Source #

Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.