libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.Types.AssessmentRunAgent

Description

 
Synopsis

Documentation

data AssessmentRunAgent Source #

Contains information about an Amazon Inspector agent. This data type is used as a response element in the ListAssessmentRunAgents action.

See: newAssessmentRunAgent smart constructor.

Constructors

AssessmentRunAgent' 

Fields

Instances

Instances details
Eq AssessmentRunAgent Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunAgent

Read AssessmentRunAgent Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunAgent

Show AssessmentRunAgent Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunAgent

Generic AssessmentRunAgent Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunAgent

Associated Types

type Rep AssessmentRunAgent :: Type -> Type #

NFData AssessmentRunAgent Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunAgent

Methods

rnf :: AssessmentRunAgent -> () #

Hashable AssessmentRunAgent Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunAgent

FromJSON AssessmentRunAgent Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunAgent

type Rep AssessmentRunAgent Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunAgent

type Rep AssessmentRunAgent = D1 ('MetaData "AssessmentRunAgent" "Amazonka.Inspector.Types.AssessmentRunAgent" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "AssessmentRunAgent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "autoScalingGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "agentHealthDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "agentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "assessmentRunArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "agentHealth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AgentHealth)) :*: (S1 ('MetaSel ('Just "agentHealthCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AgentHealthCode) :*: S1 ('MetaSel ('Just "telemetryMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TelemetryMetadata])))))

newAssessmentRunAgent Source #

Create a value of AssessmentRunAgent 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:autoScalingGroup:AssessmentRunAgent', assessmentRunAgent_autoScalingGroup - The Auto Scaling group of the EC2 instance that is specified by the agent ID.

$sel:agentHealthDetails:AssessmentRunAgent', assessmentRunAgent_agentHealthDetails - The description for the agent health code.

$sel:agentId:AssessmentRunAgent', assessmentRunAgent_agentId - The AWS account of the EC2 instance where the agent is installed.

$sel:assessmentRunArn:AssessmentRunAgent', assessmentRunAgent_assessmentRunArn - The ARN of the assessment run that is associated with the agent.

$sel:agentHealth:AssessmentRunAgent', assessmentRunAgent_agentHealth - The current health state of the agent.

$sel:agentHealthCode:AssessmentRunAgent', assessmentRunAgent_agentHealthCode - The detailed health state of the agent.

$sel:telemetryMetadata:AssessmentRunAgent', assessmentRunAgent_telemetryMetadata - The Amazon Inspector application data metrics that are collected by the agent.

assessmentRunAgent_autoScalingGroup :: Lens' AssessmentRunAgent (Maybe Text) Source #

The Auto Scaling group of the EC2 instance that is specified by the agent ID.

assessmentRunAgent_agentHealthDetails :: Lens' AssessmentRunAgent (Maybe Text) Source #

The description for the agent health code.

assessmentRunAgent_agentId :: Lens' AssessmentRunAgent Text Source #

The AWS account of the EC2 instance where the agent is installed.

assessmentRunAgent_assessmentRunArn :: Lens' AssessmentRunAgent Text Source #

The ARN of the assessment run that is associated with the agent.

assessmentRunAgent_telemetryMetadata :: Lens' AssessmentRunAgent [TelemetryMetadata] Source #

The Amazon Inspector application data metrics that are collected by the agent.