blib/lib/Paws/SSM/MaintenanceWindowTarget.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SSM::MaintenanceWindowTarget;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str');
5 has Name => (is => 'ro', isa => 'Str');
6 has OwnerInformation => (is => 'ro', isa => 'Str');
7 has ResourceType => (is => 'ro', isa => 'Str');
8 has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]');
9 has WindowId => (is => 'ro', isa => 'Str');
10 has WindowTargetId => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::SSM::MaintenanceWindowTarget
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::SSM::MaintenanceWindowTarget object:
30  
31 $service_obj->Method(Att1 => { Description => $value, ..., WindowTargetId => $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::SSM::MaintenanceWindowTarget object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Description
39  
40 =head1 DESCRIPTION
41  
42 The target registered with the maintenance window.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Description => Str
48  
49 A description for the target.
50  
51  
52 =head2 Name => Str
53  
54 The name for the maintenance window target.
55  
56  
57 =head2 OwnerInformation => Str
58  
59 A user-provided value that will be included in any CloudWatch events
60 that are raised while running tasks for these targets in this
61 maintenance window.
62  
63  
64 =head2 ResourceType => Str
65  
66 The type of target that is being registered with the maintenance
67 window.
68  
69  
70 =head2 Targets => ArrayRef[L<Paws::SSM::Target>]
71  
72 The targets, either instances or tags.
73  
74 Specify instances using the following format:
75  
76 C<Key=instanceids,Values=E<lt>instanceid1E<gt>,E<lt>instanceid2E<gt>>
77  
78 Tags are specified using the following format:
79  
80 C<Key=E<lt>tag nameE<gt>,Values=E<lt>tag valueE<gt>>.
81  
82  
83 =head2 WindowId => Str
84  
85 The ID of the maintenance window to register the target with.
86  
87  
88 =head2 WindowTargetId => Str
89  
90 The ID of the target.
91  
92  
93  
94 =head1 SEE ALSO
95  
96 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
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