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

Description

 
Synopsis

Documentation

data SessionIssuer Source #

Provides information about the source and type of temporary security credentials that were issued to an entity.

See: newSessionIssuer smart constructor.

Constructors

SessionIssuer' 

Fields

  • principalId :: Maybe Text

    The unique identifier for the entity that was used to get the credentials.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.

  • userName :: Maybe Text

    The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

  • accountId :: Maybe Text

    The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.

  • type' :: Maybe Text

    The source of the temporary security credentials, such as Root, IAMUser, or Role.

Instances

Instances details
Eq SessionIssuer Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionIssuer

Read SessionIssuer Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionIssuer

Show SessionIssuer Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionIssuer

Generic SessionIssuer Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionIssuer

Associated Types

type Rep SessionIssuer :: Type -> Type #

NFData SessionIssuer Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionIssuer

Methods

rnf :: SessionIssuer -> () #

Hashable SessionIssuer Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionIssuer

FromJSON SessionIssuer Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionIssuer

type Rep SessionIssuer Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SessionIssuer

type Rep SessionIssuer = D1 ('MetaData "SessionIssuer" "Amazonka.MacieV2.Types.SessionIssuer" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "SessionIssuer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newSessionIssuer :: SessionIssuer Source #

Create a value of SessionIssuer 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:principalId:SessionIssuer', sessionIssuer_principalId - The unique identifier for the entity that was used to get the credentials.

$sel:arn:SessionIssuer', sessionIssuer_arn - The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.

$sel:userName:SessionIssuer', sessionIssuer_userName - The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

$sel:accountId:SessionIssuer', sessionIssuer_accountId - The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.

$sel:type':SessionIssuer', sessionIssuer_type - The source of the temporary security credentials, such as Root, IAMUser, or Role.

sessionIssuer_principalId :: Lens' SessionIssuer (Maybe Text) Source #

The unique identifier for the entity that was used to get the credentials.

sessionIssuer_arn :: Lens' SessionIssuer (Maybe Text) Source #

The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.

sessionIssuer_userName :: Lens' SessionIssuer (Maybe Text) Source #

The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

sessionIssuer_accountId :: Lens' SessionIssuer (Maybe Text) Source #

The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.

sessionIssuer_type :: Lens' SessionIssuer (Maybe Text) Source #

The source of the temporary security credentials, such as Root, IAMUser, or Role.