| 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.Inspector2.Types.AccountState
Description
Documentation
data AccountState Source #
An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.
See: newAccountState smart constructor.
Constructors
| AccountState' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ResourceState | |
| -> State | |
| -> AccountState |
Create a value of AccountState 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:AccountState', accountState_accountId - The Amazon Web Services account ID.
$sel:resourceState:AccountState', accountState_resourceState - An object detailing which resources Amazon Inspector is enabled to scan
for the account.
$sel:state:AccountState', accountState_state - An object detailing the status of Amazon Inspector for the account.
accountState_accountId :: Lens' AccountState Text Source #
The Amazon Web Services account ID.
accountState_resourceState :: Lens' AccountState ResourceState Source #
An object detailing which resources Amazon Inspector is enabled to scan for the account.
accountState_state :: Lens' AccountState State Source #
An object detailing the status of Amazon Inspector for the account.