blib/lib/Paws/Inspector/AssessmentRunAgent.pm untested

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