line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::SSM::CommandPlugin; |
2
|
1
|
|
|
1
|
|
695
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
10
|
|
3
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str'); |
4
|
|
|
|
|
|
|
has Output => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has OutputS3BucketName => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has OutputS3KeyPrefix => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has OutputS3Region => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has ResponseCode => (is => 'ro', isa => 'Int'); |
9
|
|
|
|
|
|
|
has ResponseFinishDateTime => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
has ResponseStartDateTime => (is => 'ro', isa => 'Str'); |
11
|
|
|
|
|
|
|
has StandardErrorUrl => (is => 'ro', isa => 'Str'); |
12
|
|
|
|
|
|
|
has StandardOutputUrl => (is => 'ro', isa => 'Str'); |
13
|
|
|
|
|
|
|
has Status => (is => 'ro', isa => 'Str'); |
14
|
|
|
|
|
|
|
has StatusDetails => (is => 'ro', isa => 'Str'); |
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
### main pod documentation begin ### |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Paws::SSM::CommandPlugin |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 USAGE |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This class represents one of two things: |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
30
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::SSM::CommandPlugin object: |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { Name => $value, ..., StatusDetails => $value }); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head3 Results returned from an API call |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::CommandPlugin object: |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
41
|
|
|
|
|
|
|
$result->Att1->Name |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 DESCRIPTION |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Describes plugin details. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 Name => Str |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
The name of the plugin. Must be one of the following: aws:updateAgent, |
53
|
|
|
|
|
|
|
aws:domainjoin, aws:applications, aws:runPowerShellScript, |
54
|
|
|
|
|
|
|
aws:psmodule, aws:cloudWatch, aws:runShellScript, or |
55
|
|
|
|
|
|
|
aws:updateSSMAgent. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 Output => Str |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Output of the plugin execution. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 OutputS3BucketName => Str |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
The S3 bucket where the responses to the command executions should be |
66
|
|
|
|
|
|
|
stored. This was requested when issuing the command. For example, in |
67
|
|
|
|
|
|
|
the following response: |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
test_folder/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-1234567876543/awsrunShellScript |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
test_folder is the name of the Amazon S3 bucket; |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix; |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
i-1234567876543 is the instance ID; |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
awsrunShellScript is the name of the plugin. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 OutputS3KeyPrefix => Str |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
The S3 directory path inside the bucket where the responses to the |
83
|
|
|
|
|
|
|
command executions should be stored. This was requested when issuing |
84
|
|
|
|
|
|
|
the command. For example, in the following response: |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
test_folder/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-1234567876543/awsrunShellScript |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
test_folder is the name of the Amazon S3 bucket; |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix; |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
i-1234567876543 is the instance ID; |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
awsrunShellScript is the name of the plugin. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 OutputS3Region => Str |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
(Deprecated) You can no longer specify this parameter. The system |
100
|
|
|
|
|
|
|
ignores it. Instead, Systems Manager automatically determines the |
101
|
|
|
|
|
|
|
Amazon S3 bucket region. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head2 ResponseCode => Int |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
A numeric response code generated after executing the plugin. |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head2 ResponseFinishDateTime => Str |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
The time the plugin stopped executing. Could stop prematurely if, for |
112
|
|
|
|
|
|
|
example, a cancel command was sent. |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 ResponseStartDateTime => Str |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
The time the plugin started executing. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 StandardErrorUrl => Str |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
The URL for the complete text written by the plugin to stderr. If |
123
|
|
|
|
|
|
|
execution is not yet complete, then this string is empty. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head2 StandardOutputUrl => Str |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
The URL for the complete text written by the plugin to stdout in Amazon |
129
|
|
|
|
|
|
|
S3. If the Amazon S3 bucket for the command was not specified, then |
130
|
|
|
|
|
|
|
this string is empty. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 Status => Str |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
The status of this plugin. You can execute a document with multiple |
136
|
|
|
|
|
|
|
plugins. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 StatusDetails => Str |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
A detailed status of the plugin execution. StatusDetails includes more |
142
|
|
|
|
|
|
|
information than Status because it includes states resulting from error |
143
|
|
|
|
|
|
|
and concurrency control parameters. StatusDetails can show different |
144
|
|
|
|
|
|
|
results than Status. For more information about these statuses, see Run |
145
|
|
|
|
|
|
|
Command Status. StatusDetails can be one of the following values: |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=over |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=item * |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Pending: The command has not been sent to the instance. |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=item * |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
In Progress: The command has been sent to the instance but has not |
156
|
|
|
|
|
|
|
reached a terminal state. |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=item * |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
Success: The execution of the command or plugin was successfully |
161
|
|
|
|
|
|
|
completed. This is a terminal state. |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=item * |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
Delivery Timed Out: The command was not delivered to the instance |
166
|
|
|
|
|
|
|
before the delivery timeout expired. Delivery timeouts do not count |
167
|
|
|
|
|
|
|
against the parent command's MaxErrors limit, but they do contribute to |
168
|
|
|
|
|
|
|
whether the parent command status is Success or Incomplete. This is a |
169
|
|
|
|
|
|
|
terminal state. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=item * |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
Execution Timed Out: Command execution started on the instance, but the |
174
|
|
|
|
|
|
|
execution was not complete before the execution timeout expired. |
175
|
|
|
|
|
|
|
Execution timeouts count against the MaxErrors limit of the parent |
176
|
|
|
|
|
|
|
command. This is a terminal state. |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=item * |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
Failed: The command was not successful on the instance. For a plugin, |
181
|
|
|
|
|
|
|
this indicates that the result code was not zero. For a command |
182
|
|
|
|
|
|
|
invocation, this indicates that the result code for one or more plugins |
183
|
|
|
|
|
|
|
was not zero. Invocation failures count against the MaxErrors limit of |
184
|
|
|
|
|
|
|
the parent command. This is a terminal state. |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=item * |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
Canceled: The command was terminated before it was completed. This is a |
189
|
|
|
|
|
|
|
terminal state. |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=item * |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
Undeliverable: The command can't be delivered to the instance. The |
194
|
|
|
|
|
|
|
instance might not exist, or it might not be responding. Undeliverable |
195
|
|
|
|
|
|
|
invocations don't count against the parent command's MaxErrors limit, |
196
|
|
|
|
|
|
|
and they don't contribute to whether the parent command status is |
197
|
|
|
|
|
|
|
Success or Incomplete. This is a terminal state. |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=item * |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
Terminated: The parent command exceeded its MaxErrors limit and |
202
|
|
|
|
|
|
|
subsequent command invocations were canceled by the system. This is a |
203
|
|
|
|
|
|
|
terminal state. |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
=back |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=head1 SEE ALSO |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::SSM> |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
=cut |
221
|
|
|
|
|
|
|
|