amazonka-sso-2.0: Amazon Single Sign-On 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.SSO.Types.AccountInfo

Description

 
Synopsis

Documentation

data AccountInfo Source #

Provides information about your AWS account.

See: newAccountInfo smart constructor.

Constructors

AccountInfo' 

Fields

Instances

Instances details
FromJSON AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Generic AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Associated Types

type Rep AccountInfo :: Type -> Type #

Read AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Show AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

NFData AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Methods

rnf :: AccountInfo -> () #

Eq AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Hashable AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

type Rep AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

type Rep AccountInfo = D1 ('MetaData "AccountInfo" "Amazonka.SSO.Types.AccountInfo" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "AccountInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "accountName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAccountInfo :: AccountInfo Source #

Create a value of AccountInfo 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:accountId:AccountInfo', accountInfo_accountId - The identifier of the AWS account that is assigned to the user.

$sel:accountName:AccountInfo', accountInfo_accountName - The display name of the AWS account that is assigned to the user.

$sel:emailAddress:AccountInfo', accountInfo_emailAddress - The email address of the AWS account that is assigned to the user.

accountInfo_accountId :: Lens' AccountInfo (Maybe Text) Source #

The identifier of the AWS account that is assigned to the user.

accountInfo_accountName :: Lens' AccountInfo (Maybe Text) Source #

The display name of the AWS account that is assigned to the user.

accountInfo_emailAddress :: Lens' AccountInfo (Maybe Text) Source #

The email address of the AWS account that is assigned to the user.