| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Detective.Types.Account
Description
Synopsis
- data Account = Account' {
- accountId :: Text
- emailAddress :: Text
- newAccount :: Text -> Text -> Account
- account_accountId :: Lens' Account Text
- account_emailAddress :: Lens' Account Text
Documentation
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
| |
Instances
| ToJSON Account Source # | |
Defined in Amazonka.Detective.Types.Account | |
| Generic Account Source # | |
| Read Account Source # | |
| Show Account Source # | |
| NFData Account Source # | |
Defined in Amazonka.Detective.Types.Account | |
| Eq Account Source # | |
| Hashable 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" "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))) | |
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.