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

Description

 
Synopsis

Documentation

data Ec2InstanceAggregationResponse Source #

A response that contains the results of a finding aggregation by Amazon EC2 instance.

See: newEc2InstanceAggregationResponse smart constructor.

Constructors

Ec2InstanceAggregationResponse' 

Fields

Instances

Instances details
FromJSON Ec2InstanceAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregationResponse

Generic Ec2InstanceAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregationResponse

Associated Types

type Rep Ec2InstanceAggregationResponse :: Type -> Type #

Read Ec2InstanceAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregationResponse

Show Ec2InstanceAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregationResponse

NFData Ec2InstanceAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregationResponse

Eq Ec2InstanceAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregationResponse

Hashable Ec2InstanceAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregationResponse

type Rep Ec2InstanceAggregationResponse Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregationResponse

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

newEc2InstanceAggregationResponse Source #

Create a value of Ec2InstanceAggregationResponse 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:Ec2InstanceAggregationResponse', ec2InstanceAggregationResponse_accountId - The Amazon Web Services account for the Amazon EC2 instance.

$sel:ami:Ec2InstanceAggregationResponse', ec2InstanceAggregationResponse_ami - The Amazon Machine Image (AMI) of the Amazon EC2 instance.

$sel:instanceTags:Ec2InstanceAggregationResponse', ec2InstanceAggregationResponse_instanceTags - The tags attached to the instance.

$sel:networkFindings:Ec2InstanceAggregationResponse', ec2InstanceAggregationResponse_networkFindings - The number of network findings for the Amazon EC2 instance.

$sel:operatingSystem:Ec2InstanceAggregationResponse', ec2InstanceAggregationResponse_operatingSystem - The operating system of the Amazon EC2 instance.

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

$sel:instanceId:Ec2InstanceAggregationResponse', ec2InstanceAggregationResponse_instanceId - The Amazon EC2 instance ID.

ec2InstanceAggregationResponse_accountId :: Lens' Ec2InstanceAggregationResponse (Maybe Text) Source #

The Amazon Web Services account for the Amazon EC2 instance.

ec2InstanceAggregationResponse_ami :: Lens' Ec2InstanceAggregationResponse (Maybe Text) Source #

The Amazon Machine Image (AMI) of the Amazon EC2 instance.

ec2InstanceAggregationResponse_networkFindings :: Lens' Ec2InstanceAggregationResponse (Maybe Integer) Source #

The number of network findings for the Amazon EC2 instance.

ec2InstanceAggregationResponse_severityCounts :: Lens' Ec2InstanceAggregationResponse (Maybe SeverityCounts) Source #

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