File Coverage

blib/lib/Paws/SSM/RegisterTargetWithMaintenanceWindow.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::SSM::RegisterTargetWithMaintenanceWindow;
3 1     1   618 use Moose;
  1         5  
  1         11  
4             has ClientToken => (is => 'ro', isa => 'Str');
5             has Description => (is => 'ro', isa => 'Str');
6             has Name => (is => 'ro', isa => 'Str');
7             has OwnerInformation => (is => 'ro', isa => 'Str');
8             has ResourceType => (is => 'ro', isa => 'Str', required => 1);
9             has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]', required => 1);
10             has WindowId => (is => 'ro', isa => 'Str', required => 1);
11              
12 1     1   8836 use MooseX::ClassAttribute;
  1         4  
  1         14  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterTargetWithMaintenanceWindow');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::RegisterTargetWithMaintenanceWindowResult');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::SSM::RegisterTargetWithMaintenanceWindow - Arguments for method RegisterTargetWithMaintenanceWindow on Paws::SSM
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method RegisterTargetWithMaintenanceWindow on the
28             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
29             as arguments to method RegisterTargetWithMaintenanceWindow.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterTargetWithMaintenanceWindow.
32              
33             As an example:
34              
35             $service_obj->RegisterTargetWithMaintenanceWindow(Att1 => $value1, Att2 => $value2, ...);
36              
37             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 ClientToken => Str
43              
44             User-provided idempotency token.
45              
46              
47              
48             =head2 Description => Str
49              
50             An optional description for the target.
51              
52              
53              
54             =head2 Name => Str
55              
56             An optional name for the target.
57              
58              
59              
60             =head2 OwnerInformation => Str
61              
62             User-provided value that will be included in any CloudWatch events
63             raised while running tasks for these targets in this Maintenance
64             Window.
65              
66              
67              
68             =head2 B<REQUIRED> ResourceType => Str
69              
70             The type of target being registered with the Maintenance Window.
71              
72             Valid values are: C<"INSTANCE">
73              
74             =head2 B<REQUIRED> Targets => ArrayRef[L<Paws::SSM::Target>]
75              
76             The targets (either instances or tags). Instances are specified using
77             Key=instanceids,Values=E<lt>instanceid1E<gt>,E<lt>instanceid2E<gt>.
78             Tags are specified using Key=E<lt>tag nameE<gt>,Values=E<lt>tag
79             valueE<gt>.
80              
81              
82              
83             =head2 B<REQUIRED> WindowId => Str
84              
85             The ID of the Maintenance Window the target should be registered with.
86              
87              
88              
89              
90             =head1 SEE ALSO
91              
92             This class forms part of L<Paws>, documenting arguments for method RegisterTargetWithMaintenanceWindow in L<Paws::SSM>
93              
94             =head1 BUGS and CONTRIBUTIONS
95              
96             The source code is located here: https://github.com/pplu/aws-sdk-perl
97              
98             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
99              
100             =cut
101