libZSservicesZSamazonka-detectiveZSamazonka-detective
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.Detective.Types.Account

Description

 
Synopsis

Documentation

data Account Source #

An AWS account that is the administrator account of or a member of a behavior graph.

See: newAccount smart constructor.

Constructors

Account' 

Fields

Instances

Instances details
Eq Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Read Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Show Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Generic Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

NFData Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Methods

rnf :: Account -> () #

Hashable Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

ToJSON Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

type Rep Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

type Rep Account = D1 ('MetaData "Account" "Amazonka.Detective.Types.Account" "libZSservicesZSamazonka-detectiveZSamazonka-detective" 'False) (C1 ('MetaCons "Account'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAccount Source #

Create a value of Account 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:Account', account_accountId - The account identifier of the AWS account.

$sel:emailAddress:Account', account_emailAddress - The AWS account root user email address for the AWS account.

account_accountId :: Lens' Account Text Source #

The account identifier of the AWS account.

account_emailAddress :: Lens' Account Text Source #

The AWS account root user email address for the AWS account.