File Coverage

blib/lib/Paws/SSM/CreateAssociation.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::CreateAssociation;
3 1     1   300 use Moose;
  1         3  
  1         7  
4             has AssociationName => (is => 'ro', isa => 'Str');
5             has DocumentVersion => (is => 'ro', isa => 'Str');
6             has InstanceId => (is => 'ro', isa => 'Str');
7             has Name => (is => 'ro', isa => 'Str', required => 1);
8             has OutputLocation => (is => 'ro', isa => 'Paws::SSM::InstanceAssociationOutputLocation');
9             has Parameters => (is => 'ro', isa => 'Paws::SSM::Parameters');
10             has ScheduleExpression => (is => 'ro', isa => 'Str');
11             has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]');
12              
13 1     1   5369 use MooseX::ClassAttribute;
  1         2  
  1         6  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAssociation');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::CreateAssociationResult');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::SSM::CreateAssociation - Arguments for method CreateAssociation on Paws::SSM
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method CreateAssociation on the
29             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
30             as arguments to method CreateAssociation.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAssociation.
33              
34             As an example:
35              
36             $service_obj->CreateAssociation(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 AssociationName => Str
44              
45             Specify a descriptive name for the association.
46              
47              
48              
49             =head2 DocumentVersion => Str
50              
51             The document version you want to associate with the target(s). Can be a
52             specific version or the default version.
53              
54              
55              
56             =head2 InstanceId => Str
57              
58             The instance ID.
59              
60              
61              
62             =head2 B<REQUIRED> Name => Str
63              
64             The name of the Systems Manager document.
65              
66              
67              
68             =head2 OutputLocation => L<Paws::SSM::InstanceAssociationOutputLocation>
69              
70             An Amazon S3 bucket where you want to store the output details of the
71             request.
72              
73              
74              
75             =head2 Parameters => L<Paws::SSM::Parameters>
76              
77             The parameters for the documents runtime configuration.
78              
79              
80              
81             =head2 ScheduleExpression => Str
82              
83             A cron expression when the association will be applied to the
84             target(s).
85              
86              
87              
88             =head2 Targets => ArrayRef[L<Paws::SSM::Target>]
89              
90             The targets (either instances or tags) for the association.
91              
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, documenting arguments for method CreateAssociation in L<Paws::SSM>
98              
99             =head1 BUGS and CONTRIBUTIONS
100              
101             The source code is located here: https://github.com/pplu/aws-sdk-perl
102              
103             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
104              
105             =cut
106