File Coverage

blib/lib/Paws/SSM/MaintenanceWindowTarget.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::SSM::MaintenanceWindowTarget;
2 1     1   778 use Moose;
  1         5  
  1         11  
3             has OwnerInformation => (is => 'ro', isa => 'Str');
4             has ResourceType => (is => 'ro', isa => 'Str');
5             has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]');
6             has WindowId => (is => 'ro', isa => 'Str');
7             has WindowTargetId => (is => 'ro', isa => 'Str');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::SSM::MaintenanceWindowTarget
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::SSM::MaintenanceWindowTarget object:
26              
27             $service_obj->Method(Att1 => { OwnerInformation => $value, ..., WindowTargetId => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::MaintenanceWindowTarget object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->OwnerInformation
35              
36             =head1 DESCRIPTION
37              
38             The target registered with the Maintenance Window.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 OwnerInformation => Str
44              
45             User-provided value that will be included in any CloudWatch events
46             raised while running tasks for these targets in this Maintenance
47             Window.
48              
49              
50             =head2 ResourceType => Str
51              
52             The type of target.
53              
54              
55             =head2 Targets => ArrayRef[L<Paws::SSM::Target>]
56              
57             The targets (either instances or tags). Instances are specified using
58             Key=instanceids,Values=E<lt>instanceid1E<gt>,E<lt>instanceid2E<gt>.
59             Tags are specified using Key=E<lt>tag nameE<gt>,Values=E<lt>tag
60             valueE<gt>.
61              
62              
63             =head2 WindowId => Str
64              
65             The Maintenance Window ID where the target is registered.
66              
67              
68             =head2 WindowTargetId => Str
69              
70             The ID of the target.
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85