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 FailedAccount = FailedAccount' {}
- newFailedAccount :: Text -> ErrorCode -> Text -> FailedAccount
- failedAccount_resourceStatus :: Lens' FailedAccount (Maybe ResourceStatus)
- failedAccount_status :: Lens' FailedAccount (Maybe Status)
- failedAccount_accountId :: Lens' FailedAccount Text
- failedAccount_errorCode :: Lens' FailedAccount ErrorCode
- failedAccount_errorMessage :: Lens' FailedAccount Text
Documentation
data FailedAccount Source #
An object with details on why an account failed to enable Amazon Inspector.
See: newFailedAccount
smart constructor.
FailedAccount' | |
|
Instances
:: Text | |
-> ErrorCode | |
-> Text | |
-> FailedAccount |
Create a value of FailedAccount
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:resourceStatus:FailedAccount'
, failedAccount_resourceStatus
- An object detailing which resources Amazon Inspector is enabled to scan
for the account.
$sel:status:FailedAccount'
, failedAccount_status
- The status of Amazon Inspector for the account.
$sel:accountId:FailedAccount'
, failedAccount_accountId
- The Amazon Web Services account ID.
$sel:errorCode:FailedAccount'
, failedAccount_errorCode
- The error code explaining why the account failed to enable Amazon
Inspector.
$sel:errorMessage:FailedAccount'
, failedAccount_errorMessage
- The error message received when the account failed to enable Amazon
Inspector.
failedAccount_resourceStatus :: Lens' FailedAccount (Maybe ResourceStatus) Source #
An object detailing which resources Amazon Inspector is enabled to scan for the account.
failedAccount_status :: Lens' FailedAccount (Maybe Status) Source #
The status of Amazon Inspector for the account.
failedAccount_accountId :: Lens' FailedAccount Text Source #
The Amazon Web Services account ID.
failedAccount_errorCode :: Lens' FailedAccount ErrorCode Source #
The error code explaining why the account failed to enable Amazon Inspector.
failedAccount_errorMessage :: Lens' FailedAccount Text Source #
The error message received when the account failed to enable Amazon Inspector.