Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AssessmentRunAgent = AssessmentRunAgent' {}
- newAssessmentRunAgent :: Text -> Text -> AgentHealth -> AgentHealthCode -> AssessmentRunAgent
- assessmentRunAgent_autoScalingGroup :: Lens' AssessmentRunAgent (Maybe Text)
- assessmentRunAgent_agentHealthDetails :: Lens' AssessmentRunAgent (Maybe Text)
- assessmentRunAgent_agentId :: Lens' AssessmentRunAgent Text
- assessmentRunAgent_assessmentRunArn :: Lens' AssessmentRunAgent Text
- assessmentRunAgent_agentHealth :: Lens' AssessmentRunAgent AgentHealth
- assessmentRunAgent_agentHealthCode :: Lens' AssessmentRunAgent AgentHealthCode
- assessmentRunAgent_telemetryMetadata :: Lens' AssessmentRunAgent [TelemetryMetadata]
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.
AssessmentRunAgent' | |
|
Instances
newAssessmentRunAgent Source #
:: Text | |
-> Text | |
-> AgentHealth | |
-> AgentHealthCode | |
-> AssessmentRunAgent |
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_agentHealth :: Lens' AssessmentRunAgent AgentHealth Source #
The current health state of the agent.
assessmentRunAgent_agentHealthCode :: Lens' AssessmentRunAgent AgentHealthCode Source #
The detailed health state of the agent.
assessmentRunAgent_telemetryMetadata :: Lens' AssessmentRunAgent [TelemetryMetadata] Source #
The Amazon Inspector application data metrics that are collected by the agent.