AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

AssessmentRunAgent

import "github.com/aws/aws-sdk-go/service/inspector"

type AssessmentRunAgent struct { AgentHealth *string `locationName:"agentHealth" type:"string" required:"true" enum:"AgentHealth"` AgentHealthCode *string `locationName:"agentHealthCode" type:"string" required:"true" enum:"AgentHealthCode"` AgentHealthDetails *string `locationName:"agentHealthDetails" type:"string"` AgentId *string `locationName:"agentId" min:"1" type:"string" required:"true"` AssessmentRunArn *string `locationName:"assessmentRunArn" min:"1" type:"string" required:"true"` AutoScalingGroup *string `locationName:"autoScalingGroup" min:"1" type:"string"` TelemetryMetadata []*TelemetryMetadata `locationName:"telemetryMetadata" type:"list" required:"true"` }

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

AgentHealth

Type: *string

The current health state of the agent.

AgentHealth is a required field

AgentHealthCode

Type: *string

The detailed health state of the agent.

AgentHealthCode is a required field

AgentHealthDetails

Type: *string

The description for the agent health code.

AgentId

Type: *string

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

AgentId is a required field

AssessmentRunArn

Type: *string

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

AssessmentRunArn is a required field

AutoScalingGroup

Type: *string

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

TelemetryMetadata

The metadata about the Amazon Inspector application data metrics collected by the agent. This data type is used as the response element in the GetTelemetryMetadata action.

Method

GoString

func (s AssessmentRunAgent) GoString() string

GoString returns the string representation

SetAgentHealth

func (s *AssessmentRunAgent) SetAgentHealth(v string) *AssessmentRunAgent

SetAgentHealth sets the AgentHealth field's value.

SetAgentHealthCode

func (s *AssessmentRunAgent) SetAgentHealthCode(v string) *AssessmentRunAgent

SetAgentHealthCode sets the AgentHealthCode field's value.

SetAgentHealthDetails

func (s *AssessmentRunAgent) SetAgentHealthDetails(v string) *AssessmentRunAgent

SetAgentHealthDetails sets the AgentHealthDetails field's value.

SetAgentId

func (s *AssessmentRunAgent) SetAgentId(v string) *AssessmentRunAgent

SetAgentId sets the AgentId field's value.

SetAssessmentRunArn

func (s *AssessmentRunAgent) SetAssessmentRunArn(v string) *AssessmentRunAgent

SetAssessmentRunArn sets the AssessmentRunArn field's value.

SetAutoScalingGroup

func (s *AssessmentRunAgent) SetAutoScalingGroup(v string) *AssessmentRunAgent

SetAutoScalingGroup sets the AutoScalingGroup field's value.

SetTelemetryMetadata

func (s *AssessmentRunAgent) SetTelemetryMetadata(v []*TelemetryMetadata) *AssessmentRunAgent

SetTelemetryMetadata sets the TelemetryMetadata field's value.

String

func (s AssessmentRunAgent) String() string

String returns the string representation

On this page: