Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Account = Account' {
- accountId :: Text
- emailAddress :: Text
- newAccount :: Text -> Text -> Account
- account_accountId :: Lens' Account Text
- account_emailAddress :: Lens' Account Text
Documentation
An AWS account that is the administrator account of or a member of a behavior graph.
See: newAccount
smart constructor.
Account' | |
|
Instances
Eq Account Source # | |
Read Account Source # | |
Show Account Source # | |
Generic Account Source # | |
NFData Account Source # | |
Defined in Amazonka.Detective.Types.Account | |
Hashable Account Source # | |
Defined in Amazonka.Detective.Types.Account | |
ToJSON Account Source # | |
Defined in Amazonka.Detective.Types.Account | |
type Rep Account Source # | |
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))) |
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.