File Coverage

blib/lib/Paws/SSM/UpdateMaintenanceWindowTarget.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::UpdateMaintenanceWindowTarget;
3 1     1   269 use Moose;
  1         4  
  1         6  
4             has Description => (is => 'ro', isa => 'Str');
5             has Name => (is => 'ro', isa => 'Str');
6             has OwnerInformation => (is => 'ro', isa => 'Str');
7             has Replace => (is => 'ro', isa => 'Bool');
8             has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]');
9             has WindowId => (is => 'ro', isa => 'Str', required => 1);
10             has WindowTargetId => (is => 'ro', isa => 'Str', required => 1);
11              
12 1     1   5262 use MooseX::ClassAttribute;
  1         2  
  1         8  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateMaintenanceWindowTarget');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::UpdateMaintenanceWindowTargetResult');
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::UpdateMaintenanceWindowTarget - Arguments for method UpdateMaintenanceWindowTarget on Paws::SSM
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method UpdateMaintenanceWindowTarget on the
28             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
29             as arguments to method UpdateMaintenanceWindowTarget.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMaintenanceWindowTarget.
32              
33             As an example:
34              
35             $service_obj->UpdateMaintenanceWindowTarget(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 Description => Str
43              
44             An optional description for the update.
45              
46              
47              
48             =head2 Name => Str
49              
50             A name for the update.
51              
52              
53              
54             =head2 OwnerInformation => Str
55              
56             User-provided value that will be included in any CloudWatch events
57             raised while running tasks for these targets in this Maintenance
58             Window.
59              
60              
61              
62             =head2 Replace => Bool
63              
64             If True, then all fields that are required by the
65             RegisterTargetWithMaintenanceWindow action are also required for this
66             API request. Optional fields that are not specified are set to null.
67              
68              
69              
70             =head2 Targets => ArrayRef[L<Paws::SSM::Target>]
71              
72             The targets to add or replace.
73              
74              
75              
76             =head2 B<REQUIRED> WindowId => Str
77              
78             The Maintenance Window ID with which to modify the target.
79              
80              
81              
82             =head2 B<REQUIRED> WindowTargetId => Str
83              
84             The target ID to modify.
85              
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, documenting arguments for method UpdateMaintenanceWindowTarget in L<Paws::SSM>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100