blib/lib/Paws/SSM/GetCommandInvocationResult.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SSM::GetCommandInvocationResult;
3 use Moose;
4 has CloudWatchOutputConfig => (is => 'ro', isa => 'Paws::SSM::CloudWatchOutputConfig');
5 has CommandId => (is => 'ro', isa => 'Str');
6 has Comment => (is => 'ro', isa => 'Str');
7 has DocumentName => (is => 'ro', isa => 'Str');
8 has DocumentVersion => (is => 'ro', isa => 'Str');
9 has ExecutionElapsedTime => (is => 'ro', isa => 'Str');
10 has ExecutionEndDateTime => (is => 'ro', isa => 'Str');
11 has ExecutionStartDateTime => (is => 'ro', isa => 'Str');
12 has InstanceId => (is => 'ro', isa => 'Str');
13 has PluginName => (is => 'ro', isa => 'Str');
14 has ResponseCode => (is => 'ro', isa => 'Int');
15 has StandardErrorContent => (is => 'ro', isa => 'Str');
16 has StandardErrorUrl => (is => 'ro', isa => 'Str');
17 has StandardOutputContent => (is => 'ro', isa => 'Str');
18 has StandardOutputUrl => (is => 'ro', isa => 'Str');
19 has Status => (is => 'ro', isa => 'Str');
20 has StatusDetails => (is => 'ro', isa => 'Str');
21  
22 has _request_id => (is => 'ro', isa => 'Str');
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::SSM::GetCommandInvocationResult
29  
30 =head1 ATTRIBUTES
31  
32  
33 =head2 CloudWatchOutputConfig => L<Paws::SSM::CloudWatchOutputConfig>
34  
35 CloudWatch Logs information where Systems Manager sent the command
36 output.
37  
38  
39 =head2 CommandId => Str
40  
41 The parent command ID of the invocation plugin.
42  
43  
44 =head2 Comment => Str
45  
46 The comment text for the command.
47  
48  
49 =head2 DocumentName => Str
50  
51 The name of the document that was run. For example,
52 C<AWS-RunShellScript>.
53  
54  
55 =head2 DocumentVersion => Str
56  
57 The SSM document version used in the request.
58  
59  
60 =head2 ExecutionElapsedTime => Str
61  
62 Duration since C<ExecutionStartDateTime>.
63  
64  
65 =head2 ExecutionEndDateTime => Str
66  
67 The date and time the plugin finished running. Date and time are
68 written in ISO 8601 format. For example, June 7, 2017 is represented as
69 2017-06-7. The following sample AWS CLI command uses the
70 C<InvokedAfter> filter.
71  
72 C<aws ssm list-commands --filters
73 key=InvokedAfter,value=2017-06-07T00:00:00Z>
74  
75 If the plugin has not started to run, the string is empty.
76  
77  
78 =head2 ExecutionStartDateTime => Str
79  
80 The date and time the plugin started running. Date and time are written
81 in ISO 8601 format. For example, June 7, 2017 is represented as
82 2017-06-7. The following sample AWS CLI command uses the
83 C<InvokedBefore> filter.
84  
85 C<aws ssm list-commands --filters
86 key=InvokedBefore,value=2017-06-07T00:00:00Z>
87  
88 If the plugin has not started to run, the string is empty.
89  
90  
91 =head2 InstanceId => Str
92  
93 The ID of the managed instance targeted by the command. A managed
94 instance can be an EC2 instance or an instance in your hybrid
95 environment that is configured for Systems Manager.
96  
97  
98 =head2 PluginName => Str
99  
100 The name of the plugin, or I<step name>, for which details are
101 reported. For example, C<aws:RunShellScript> is a plugin.
102  
103  
104 =head2 ResponseCode => Int
105  
106 The error level response code for the plugin script. If the response
107 code is C<-1>, then the command has not started running on the
108 instance, or it was not received by the instance.
109  
110  
111 =head2 StandardErrorContent => Str
112  
113 The first 8,000 characters written by the plugin to C<stderr>. If the
114 command has not finished running, then this string is empty.
115  
116  
117 =head2 StandardErrorUrl => Str
118  
119 The URL for the complete text written by the plugin to C<stderr>. If
120 the command has not finished running, then this string is empty.
121  
122  
123 =head2 StandardOutputContent => Str
124  
125 The first 24,000 characters written by the plugin to C<stdout>. If the
126 command has not finished running, if C<ExecutionStatus> is neither
127 Succeeded nor Failed, then this string is empty.
128  
129  
130 =head2 StandardOutputUrl => Str
131  
132 The URL for the complete text written by the plugin to C<stdout> in
133 Amazon Simple Storage Service (Amazon S3). If an S3 bucket was not
134 specified, then this string is empty.
135  
136  
137 =head2 Status => Str
138  
139 The status of this invocation plugin. This status can be different than
140 C<StatusDetails>.
141  
142 Valid values are: C<"Pending">, C<"InProgress">, C<"Delayed">, C<"Success">, C<"Cancelled">, C<"TimedOut">, C<"Failed">, C<"Cancelling">
143 =head2 StatusDetails => Str
144  
145 A detailed status of the command execution for an invocation.
146 C<StatusDetails> includes more information than C<Status> because it
147 includes states resulting from error and concurrency control
148 parameters. C<StatusDetails> can show different results than C<Status>.
149 For more information about these statuses, see Understanding command
150 statuses
151 (https://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html)
152 in the I<AWS Systems Manager User Guide>. C<StatusDetails> can be one
153 of the following values:
154  
155 =over
156  
157 =item *
158  
159 Pending: The command has not been sent to the instance.
160  
161 =item *
162  
163 In Progress: The command has been sent to the instance but has not
164 reached a terminal state.
165  
166 =item *
167  
168 Delayed: The system attempted to send the command to the target, but
169 the target was not available. The instance might not be available
170 because of network issues, because the instance was stopped, or for
171 similar reasons. The system will try to send the command again.
172  
173 =item *
174  
175 Success: The command or plugin ran successfully. This is a terminal
176 state.
177  
178 =item *
179  
180 Delivery Timed Out: The command was not delivered to the instance
181 before the delivery timeout expired. Delivery timeouts do not count
182 against the parent command's C<MaxErrors> limit, but they do contribute
183 to whether the parent command status is Success or Incomplete. This is
184 a terminal state.
185  
186 =item *
187  
188 Execution Timed Out: The command started to run on the instance, but
189 the execution was not complete before the timeout expired. Execution
190 timeouts count against the C<MaxErrors> limit of the parent command.
191 This is a terminal state.
192  
193 =item *
194  
195 Failed: The command wasn't run successfully on the instance. For a
196 plugin, this indicates that the result code was not zero. For a command
197 invocation, this indicates that the result code for one or more plugins
198 was not zero. Invocation failures count against the C<MaxErrors> limit
199 of the parent command. This is a terminal state.
200  
201 =item *
202  
203 Canceled: The command was terminated before it was completed. This is a
204 terminal state.
205  
206 =item *
207  
208 Undeliverable: The command can't be delivered to the instance. The
209 instance might not exist or might not be responding. Undeliverable
210 invocations don't count against the parent command's C<MaxErrors> limit
211 and don't contribute to whether the parent command status is Success or
212 Incomplete. This is a terminal state.
213  
214 =item *
215  
216 Terminated: The parent command exceeded its C<MaxErrors> limit and
217 subsequent command invocations were canceled by the system. This is a
218 terminal state.
219  
220 =back
221  
222  
223  
224 =head2 _request_id => Str
225  
226  
227 =cut
228  
229 1;