File Coverage

blib/lib/Paws/Inspector/AssessmentRunAgent.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Inspector::AssessmentRunAgent;
2 1     1   682 use Moose;
  1         4  
  1         10  
3             has AgentHealth => (is => 'ro', isa => 'Str', request_name => 'agentHealth', traits => ['NameInRequest'], required => 1);
4             has AgentHealthCode => (is => 'ro', isa => 'Str', request_name => 'agentHealthCode', traits => ['NameInRequest'], required => 1);
5             has AgentHealthDetails => (is => 'ro', isa => 'Str', request_name => 'agentHealthDetails', traits => ['NameInRequest']);
6             has AgentId => (is => 'ro', isa => 'Str', request_name => 'agentId', traits => ['NameInRequest'], required => 1);
7             has AssessmentRunArn => (is => 'ro', isa => 'Str', request_name => 'assessmentRunArn', traits => ['NameInRequest'], required => 1);
8             has AutoScalingGroup => (is => 'ro', isa => 'Str', request_name => 'autoScalingGroup', traits => ['NameInRequest']);
9             has TelemetryMetadata => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::TelemetryMetadata]', request_name => 'telemetryMetadata', traits => ['NameInRequest'], required => 1);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Inspector::AssessmentRunAgent
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::Inspector::AssessmentRunAgent object:
28              
29             $service_obj->Method(Att1 => { AgentHealth => $value, ..., TelemetryMetadata => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::Inspector::AssessmentRunAgent object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AgentHealth
37              
38             =head1 DESCRIPTION
39              
40             Contains information about an Amazon Inspector agent. This data type is
41             used as a response element in the ListAssessmentRunAgents action.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 B<REQUIRED> AgentHealth => Str
47              
48             The current health state of the agent.
49              
50              
51             =head2 B<REQUIRED> AgentHealthCode => Str
52              
53             The detailed health state of the agent.
54              
55              
56             =head2 AgentHealthDetails => Str
57              
58             The description for the agent health code.
59              
60              
61             =head2 B<REQUIRED> AgentId => Str
62              
63             The AWS account of the EC2 instance where the agent is installed.
64              
65              
66             =head2 B<REQUIRED> AssessmentRunArn => Str
67              
68             The ARN of the assessment run that is associated with the agent.
69              
70              
71             =head2 AutoScalingGroup => Str
72              
73             The Auto Scaling group of the EC2 instance that is specified by the
74             agent ID.
75              
76              
77             =head2 B<REQUIRED> TelemetryMetadata => ArrayRef[L<Paws::Inspector::TelemetryMetadata>]
78              
79             The Amazon Inspector application data metrics that are collected by the
80             agent.
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, describing an object used in L<Paws::Inspector>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95