File Coverage

blib/lib/Paws/SSM/UpdateAssociation.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::UpdateAssociation;
3 1     1   279 use Moose;
  1         2  
  1         5  
4             has AssociationId => (is => 'ro', isa => 'Str', required => 1);
5             has AssociationName => (is => 'ro', isa => 'Str');
6             has AssociationVersion => (is => 'ro', isa => 'Str');
7             has DocumentVersion => (is => 'ro', isa => 'Str');
8             has Name => (is => 'ro', isa => 'Str');
9             has OutputLocation => (is => 'ro', isa => 'Paws::SSM::InstanceAssociationOutputLocation');
10             has Parameters => (is => 'ro', isa => 'Paws::SSM::Parameters');
11             has ScheduleExpression => (is => 'ro', isa => 'Str');
12             has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]');
13              
14 1     1   5515 use MooseX::ClassAttribute;
  1         3  
  1         5  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAssociation');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::UpdateAssociationResult');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::SSM::UpdateAssociation - Arguments for method UpdateAssociation on Paws::SSM
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method UpdateAssociation on the
30             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
31             as arguments to method UpdateAssociation.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAssociation.
34              
35             As an example:
36              
37             $service_obj->UpdateAssociation(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> AssociationId => Str
45              
46             The ID of the association you want to update.
47              
48              
49              
50             =head2 AssociationName => Str
51              
52             The name of the association that you want to update.
53              
54              
55              
56             =head2 AssociationVersion => Str
57              
58             This parameter is provided for concurrency control purposes. You must
59             specify the latest association version in the service. If you want to
60             ensure that this request succeeds, either specify C<$LATEST>, or omit
61             this parameter.
62              
63              
64              
65             =head2 DocumentVersion => Str
66              
67             The document version you want update for the association.
68              
69              
70              
71             =head2 Name => Str
72              
73             The name of the association document.
74              
75              
76              
77             =head2 OutputLocation => L<Paws::SSM::InstanceAssociationOutputLocation>
78              
79             An Amazon S3 bucket where you want to store the results of this
80             request.
81              
82              
83              
84             =head2 Parameters => L<Paws::SSM::Parameters>
85              
86             The parameters you want to update for the association. If you create a
87             parameter using Parameter Store, you can reference the parameter using
88             {{ssm:parameter-name}}
89              
90              
91              
92             =head2 ScheduleExpression => Str
93              
94             The cron expression used to schedule the association that you want to
95             update.
96              
97              
98              
99             =head2 Targets => ArrayRef[L<Paws::SSM::Target>]
100              
101             The targets of the association.
102              
103              
104              
105              
106             =head1 SEE ALSO
107              
108             This class forms part of L<Paws>, documenting arguments for method UpdateAssociation in L<Paws::SSM>
109              
110             =head1 BUGS and CONTRIBUTIONS
111              
112             The source code is located here: https://github.com/pplu/aws-sdk-perl
113              
114             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
115              
116             =cut
117