File Coverage

blib/lib/Paws/SSM/Association.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::Association;
2 1     1   572 use Moose;
  1         5  
  1         9  
3             has AssociationId => (is => 'ro', isa => 'Str');
4             has DocumentVersion => (is => 'ro', isa => 'Str');
5             has InstanceId => (is => 'ro', isa => 'Str');
6             has LastExecutionDate => (is => 'ro', isa => 'Str');
7             has Name => (is => 'ro', isa => 'Str');
8             has Overview => (is => 'ro', isa => 'Paws::SSM::AssociationOverview');
9             has ScheduleExpression => (is => 'ro', isa => 'Str');
10             has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::SSM::Association
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::SSM::Association object:
29              
30             $service_obj->Method(Att1 => { AssociationId => $value, ..., Targets => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::Association object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->AssociationId
38              
39             =head1 DESCRIPTION
40              
41             Describes an association of a Systems Manager document and an instance.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 AssociationId => Str
47              
48             The ID created by the system when you create an association. An
49             association is a binding between a document and a set of targets with a
50             schedule.
51              
52              
53             =head2 DocumentVersion => Str
54              
55             The version of the document used in the association.
56              
57              
58             =head2 InstanceId => Str
59              
60             The ID of the instance.
61              
62              
63             =head2 LastExecutionDate => Str
64              
65             The date on which the association was last run.
66              
67              
68             =head2 Name => Str
69              
70             The name of the SSM document.
71              
72              
73             =head2 Overview => L<Paws::SSM::AssociationOverview>
74              
75             Information about the association.
76              
77              
78             =head2 ScheduleExpression => Str
79              
80             A cron expression that specifies a schedule when the association runs.
81              
82              
83             =head2 Targets => ArrayRef[L<Paws::SSM::Target>]
84              
85             The instances targeted by the request to create an association.
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, describing an object used 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