amazonka-detective-2.0: Amazon Detective 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.Detective.Types.Account

Description

 
Synopsis

Documentation

data Account Source #

An Amazon Web Services account that is the administrator account of or a member of a behavior graph.

See: newAccount smart constructor.

Constructors

Account' 

Fields

  • accountId :: Text

    The account identifier of the Amazon Web Services account.

  • emailAddress :: Text

    The Amazon Web Services account root user email address for the Amazon Web Services account.

Instances

Instances details
ToJSON 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 #

Read Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Show Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

NFData Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Methods

rnf :: Account -> () #

Eq Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Methods

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

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

Hashable Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

type Rep Account Source # 
Instance details

Defined in Amazonka.Detective.Types.Account

type Rep Account = D1 ('MetaData "Account" "Amazonka.Detective.Types.Account" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" '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 Amazon Web Services account.

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

account_accountId :: Lens' Account Text Source #

The account identifier of the Amazon Web Services account.

account_emailAddress :: Lens' Account Text Source #

The Amazon Web Services account root user email address for the Amazon Web Services account.