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

Description

 
Synopsis

Documentation

data SessionContext Source #

Provides information about a session that was created for an entity that performed an action by using temporary security credentials.

See: newSessionContext smart constructor.

Constructors

SessionContext' 

Fields

Instances

Instances details
Eq SessionContext Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContext

Read SessionContext Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContext

Show SessionContext Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContext

Generic SessionContext Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContext

Associated Types

type Rep SessionContext :: Type -> Type #

NFData SessionContext Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContext

Methods

rnf :: SessionContext -> () #

Hashable SessionContext Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContext

FromJSON SessionContext Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContext

type Rep SessionContext Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionContext

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

newSessionContext :: SessionContext Source #

Create a value of SessionContext 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:attributes:SessionContext', sessionContext_attributes - The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.

$sel:sessionIssuer:SessionContext', sessionContext_sessionIssuer - The source and type of credentials that were issued to the entity.

sessionContext_attributes :: Lens' SessionContext (Maybe SessionContextAttributes) Source #

The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.

sessionContext_sessionIssuer :: Lens' SessionContext (Maybe SessionIssuer) Source #

The source and type of credentials that were issued to the entity.