amazonka-inspector2-2.0: Amazon Inspector2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector2.BatchGetAccountStatus

Description

Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.

Synopsis

Creating a Request

data BatchGetAccountStatus Source #

See: newBatchGetAccountStatus smart constructor.

Constructors

BatchGetAccountStatus' 

Fields

  • accountIds :: Maybe [Text]

    The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.

Instances

Instances details
ToJSON BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

ToHeaders BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

ToPath BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

ToQuery BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

AWSRequest BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

Associated Types

type AWSResponse BatchGetAccountStatus #

Generic BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

Associated Types

type Rep BatchGetAccountStatus :: Type -> Type #

Read BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

Show BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

NFData BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

Methods

rnf :: BatchGetAccountStatus -> () #

Eq BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

Hashable BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

type AWSResponse BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

type Rep BatchGetAccountStatus Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

type Rep BatchGetAccountStatus = D1 ('MetaData "BatchGetAccountStatus" "Amazonka.Inspector2.BatchGetAccountStatus" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "BatchGetAccountStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

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.

Constructors

BatchGetAccountStatusResponse' 

Fields

Instances

Instances details
Generic BatchGetAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

Associated Types

type Rep BatchGetAccountStatusResponse :: Type -> Type #

Read BatchGetAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

Show BatchGetAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

NFData BatchGetAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

Eq BatchGetAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

type Rep BatchGetAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetAccountStatus

type Rep BatchGetAccountStatusResponse = D1 ('MetaData "BatchGetAccountStatusResponse" "Amazonka.Inspector2.BatchGetAccountStatus" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "BatchGetAccountStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedAccount])) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "accounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AccountState]))))

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_accounts :: Lens' BatchGetAccountStatusResponse [AccountState] Source #

An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.