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.BatchGetFreeTrialInfo

Description

Gets free trial status for multiple Amazon Web Services accounts.

Synopsis

Creating a Request

data BatchGetFreeTrialInfo Source #

See: newBatchGetFreeTrialInfo smart constructor.

Constructors

BatchGetFreeTrialInfo' 

Fields

Instances

Instances details
ToJSON BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

ToHeaders BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

ToPath BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

ToQuery BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

AWSRequest BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

Associated Types

type AWSResponse BatchGetFreeTrialInfo #

Generic BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

Associated Types

type Rep BatchGetFreeTrialInfo :: Type -> Type #

Read BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

Show BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

NFData BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

Methods

rnf :: BatchGetFreeTrialInfo -> () #

Eq BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

Hashable BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

type AWSResponse BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

type Rep BatchGetFreeTrialInfo Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

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

newBatchGetFreeTrialInfo Source #

Create a value of BatchGetFreeTrialInfo 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:BatchGetFreeTrialInfo', batchGetFreeTrialInfo_accountIds - The account IDs to get free trial status for.

Request Lenses

batchGetFreeTrialInfo_accountIds :: Lens' BatchGetFreeTrialInfo (NonEmpty Text) Source #

The account IDs to get free trial status for.

Destructuring the Response

data BatchGetFreeTrialInfoResponse Source #

See: newBatchGetFreeTrialInfoResponse smart constructor.

Constructors

BatchGetFreeTrialInfoResponse' 

Fields

Instances

Instances details
Generic BatchGetFreeTrialInfoResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

Associated Types

type Rep BatchGetFreeTrialInfoResponse :: Type -> Type #

Read BatchGetFreeTrialInfoResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

Show BatchGetFreeTrialInfoResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

NFData BatchGetFreeTrialInfoResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

Eq BatchGetFreeTrialInfoResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

type Rep BatchGetFreeTrialInfoResponse Source # 
Instance details

Defined in Amazonka.Inspector2.BatchGetFreeTrialInfo

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

newBatchGetFreeTrialInfoResponse Source #

Create a value of BatchGetFreeTrialInfoResponse 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:httpStatus:BatchGetFreeTrialInfoResponse', batchGetFreeTrialInfoResponse_httpStatus - The response's http status code.

$sel:accounts:BatchGetFreeTrialInfoResponse', batchGetFreeTrialInfoResponse_accounts - An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.

$sel:failedAccounts:BatchGetFreeTrialInfoResponse', batchGetFreeTrialInfoResponse_failedAccounts - An array of objects detailing any accounts that free trial data could not be returned for.

Response Lenses

batchGetFreeTrialInfoResponse_accounts :: Lens' BatchGetFreeTrialInfoResponse [FreeTrialAccountInfo] Source #

An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.

batchGetFreeTrialInfoResponse_failedAccounts :: Lens' BatchGetFreeTrialInfoResponse [FreeTrialInfoError] Source #

An array of objects detailing any accounts that free trial data could not be returned for.