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 |
Synopsis
- data Account = Account' {}
- newAccount :: Text -> ResourceStatus -> Status -> Account
- account_accountId :: Lens' Account Text
- account_resourceStatus :: Lens' Account ResourceStatus
- account_status :: Lens' Account Status
Documentation
An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.
See: newAccount
smart constructor.
Account' | |
|
Instances
FromJSON Account Source # | |
Generic Account Source # | |
Read Account Source # | |
Show Account Source # | |
NFData Account Source # | |
Defined in Amazonka.Inspector2.Types.Account | |
Eq Account Source # | |
Hashable Account Source # | |
Defined in Amazonka.Inspector2.Types.Account | |
type Rep Account Source # | |
Defined in Amazonka.Inspector2.Types.Account type Rep Account = D1 ('MetaData "Account" "Amazonka.Inspector2.Types.Account" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Account'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceStatus) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Status)))) |
:: Text | |
-> ResourceStatus | |
-> Status | |
-> Account |
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 ID of the Amazon Web Services account.
$sel:resourceStatus:Account'
, account_resourceStatus
- Details of the status of Amazon Inspector scans by resource type.
$sel:status:Account'
, account_status
- The status of Amazon Inspector for the account.
account_resourceStatus :: Lens' Account ResourceStatus Source #
Details of the status of Amazon Inspector scans by resource type.