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 |
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
Synopsis
- data BatchGetAccountStatus = BatchGetAccountStatus' {
- accountIds :: Maybe [Text]
- newBatchGetAccountStatus :: BatchGetAccountStatus
- batchGetAccountStatus_accountIds :: Lens' BatchGetAccountStatus (Maybe [Text])
- data BatchGetAccountStatusResponse = BatchGetAccountStatusResponse' {
- failedAccounts :: Maybe [FailedAccount]
- httpStatus :: Int
- accounts :: [AccountState]
- newBatchGetAccountStatusResponse :: Int -> BatchGetAccountStatusResponse
- batchGetAccountStatusResponse_failedAccounts :: Lens' BatchGetAccountStatusResponse (Maybe [FailedAccount])
- batchGetAccountStatusResponse_httpStatus :: Lens' BatchGetAccountStatusResponse Int
- batchGetAccountStatusResponse_accounts :: Lens' BatchGetAccountStatusResponse [AccountState]
Creating a Request
data BatchGetAccountStatus Source #
See: newBatchGetAccountStatus
smart constructor.
BatchGetAccountStatus' | |
|
Instances
newBatchGetAccountStatus :: BatchGetAccountStatus Source #
Create a value of BatchGetAccountStatus
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:accountIds:BatchGetAccountStatus'
, batchGetAccountStatus_accountIds
- The 12-digit Amazon Web Services account IDs of the accounts to retrieve
Amazon Inspector status for.
Request Lenses
batchGetAccountStatus_accountIds :: Lens' BatchGetAccountStatus (Maybe [Text]) Source #
The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.
Destructuring the Response
data BatchGetAccountStatusResponse Source #
See: newBatchGetAccountStatusResponse
smart constructor.
BatchGetAccountStatusResponse' | |
|
Instances
newBatchGetAccountStatusResponse Source #
Create a value of BatchGetAccountStatusResponse
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:failedAccounts:BatchGetAccountStatusResponse'
, batchGetAccountStatusResponse_failedAccounts
- An array of objects detailing any accounts that failed to enable Amazon
Inspector and why.
$sel:httpStatus:BatchGetAccountStatusResponse'
, batchGetAccountStatusResponse_httpStatus
- The response's http status code.
$sel:accounts:BatchGetAccountStatusResponse'
, batchGetAccountStatusResponse_accounts
- An array of objects that provide details on the status of Amazon
Inspector for each of the requested accounts.
Response Lenses
batchGetAccountStatusResponse_failedAccounts :: Lens' BatchGetAccountStatusResponse (Maybe [FailedAccount]) Source #
An array of objects detailing any accounts that failed to enable Amazon Inspector and why.
batchGetAccountStatusResponse_httpStatus :: Lens' BatchGetAccountStatusResponse Int Source #
The response's http status code.
batchGetAccountStatusResponse_accounts :: Lens' BatchGetAccountStatusResponse [AccountState] Source #
An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.