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.Types.AmiAggregationResponse

Description

 
Synopsis

Documentation

data AmiAggregationResponse Source #

A response that contains the results of a finding aggregation by AMI.

See: newAmiAggregationResponse smart constructor.

Constructors

AmiAggregationResponse' 

Fields

Instances

Instances details
FromJSON AmiAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AmiAggregationResponse

Generic AmiAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AmiAggregationResponse

Associated Types

type Rep AmiAggregationResponse :: Type -> Type #

Read AmiAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AmiAggregationResponse

Show AmiAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AmiAggregationResponse

NFData AmiAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AmiAggregationResponse

Methods

rnf :: AmiAggregationResponse -> () #

Eq AmiAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AmiAggregationResponse

Hashable AmiAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AmiAggregationResponse

type Rep AmiAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AmiAggregationResponse

type Rep AmiAggregationResponse = D1 ('MetaData "AmiAggregationResponse" "Amazonka.Inspector2.Types.AmiAggregationResponse" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "AmiAggregationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "affectedInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "severityCounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SeverityCounts)) :*: S1 ('MetaSel ('Just "ami") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAmiAggregationResponse Source #

Create a value of AmiAggregationResponse 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:AmiAggregationResponse', amiAggregationResponse_accountId - The Amazon Web Services account ID for the AMI.

$sel:affectedInstances:AmiAggregationResponse', amiAggregationResponse_affectedInstances - The IDs of Amazon EC2 instances using this AMI.

$sel:severityCounts:AmiAggregationResponse', amiAggregationResponse_severityCounts - An object that contains the count of matched findings per severity.

$sel:ami:AmiAggregationResponse', amiAggregationResponse_ami - The ID of the AMI that findings were aggregated for.

amiAggregationResponse_accountId :: Lens' AmiAggregationResponse (Maybe Text) Source #

The Amazon Web Services account ID for the AMI.

amiAggregationResponse_affectedInstances :: Lens' AmiAggregationResponse (Maybe Integer) Source #

The IDs of Amazon EC2 instances using this AMI.

amiAggregationResponse_severityCounts :: Lens' AmiAggregationResponse (Maybe SeverityCounts) Source #

An object that contains the count of matched findings per severity.

amiAggregationResponse_ami :: Lens' AmiAggregationResponse Text Source #

The ID of the AMI that findings were aggregated for.