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

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 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::AgentPreview;
3 use Moose;
4 has AgentHealth => (is => 'ro', isa => 'Str', request_name => 'agentHealth', traits => ['NameInRequest']);
5 has AgentId => (is => 'ro', isa => 'Str', request_name => 'agentId', traits => ['NameInRequest'], required => 1);
6 has AgentVersion => (is => 'ro', isa => 'Str', request_name => 'agentVersion', traits => ['NameInRequest']);
7 has AutoScalingGroup => (is => 'ro', isa => 'Str', request_name => 'autoScalingGroup', traits => ['NameInRequest']);
8 has Hostname => (is => 'ro', isa => 'Str', request_name => 'hostname', traits => ['NameInRequest']);
9 has Ipv4Address => (is => 'ro', isa => 'Str', request_name => 'ipv4Address', traits => ['NameInRequest']);
10 has KernelVersion => (is => 'ro', isa => 'Str', request_name => 'kernelVersion', traits => ['NameInRequest']);
11 has OperatingSystem => (is => 'ro', isa => 'Str', request_name => 'operatingSystem', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Inspector::AgentPreview
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::Inspector::AgentPreview object:
31  
32 $service_obj->Method(Att1 => { AgentHealth => $value, ..., OperatingSystem => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::Inspector::AgentPreview object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->AgentHealth
40  
41 =head1 DESCRIPTION
42  
43 Used as a response element in the PreviewAgents action.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 AgentHealth => Str
49  
50 The health status of the Amazon Inspector Agent.
51  
52  
53 =head2 B<REQUIRED> AgentId => Str
54  
55 The ID of the EC2 instance where the agent is installed.
56  
57  
58 =head2 AgentVersion => Str
59  
60 The version of the Amazon Inspector Agent.
61  
62  
63 =head2 AutoScalingGroup => Str
64  
65 The Auto Scaling group for the EC2 instance where the agent is
66 installed.
67  
68  
69 =head2 Hostname => Str
70  
71 The hostname of the EC2 instance on which the Amazon Inspector Agent is
72 installed.
73  
74  
75 =head2 Ipv4Address => Str
76  
77 The IP address of the EC2 instance on which the Amazon Inspector Agent
78 is installed.
79  
80  
81 =head2 KernelVersion => Str
82  
83 The kernel version of the operating system running on the EC2 instance
84 on which the Amazon Inspector Agent is installed.
85  
86  
87 =head2 OperatingSystem => Str
88  
89 The operating system running on the EC2 instance on which the Amazon
90 Inspector Agent is installed.
91  
92  
93  
94 =head1 SEE ALSO
95  
96 This class forms part of L<Paws>, describing an object used in L<Paws::Inspector>
97  
98 =head1 BUGS and CONTRIBUTIONS
99  
100 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
101  
102 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
103  
104 =cut
105