GetCommandInvocationResult class
Constructors
-
GetCommandInvocationResult({CloudWatchOutputConfig? cloudWatchOutputConfig, String? commandId, String? documentName, String? documentVersion, String? executionElapsedTime, String? executionEndDateTime, String? executionStartDateTime, String? instanceId, String? pluginName, int? responseCode, String? standardErrorContent, String? standardErrorUrl, String? standardOutputContent, String? standardOutputUrl, CommandInvocationStatus? status, String? statusDetails})
-
-
GetCommandInvocationResult.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
cloudWatchOutputConfig
→ CloudWatchOutputConfig?
-
CloudWatch Logs information where Systems Manager sent the command output.
final
-
commandId
→ String?
-
The parent command ID of the invocation plugin.
final
-
The comment text for the command.
final
-
documentName
→ String?
-
The name of the document that was run. For example, AWS-RunShellScript.
final
-
documentVersion
→ String?
-
The SSM document version used in the request.
final
-
executionElapsedTime
→ String?
-
Duration since ExecutionStartDateTime.
final
-
executionEndDateTime
→ String?
-
The date and time the plugin was finished running. Date and time are written
in ISO 8601 format. For example, June 7, 2017 is represented as 2017-06-7.
The following sample AWS CLI command uses the
InvokedAfter
filter.
final
-
executionStartDateTime
→ String?
-
The date and time the plugin started running. Date and time are written in
ISO 8601 format. For example, June 7, 2017 is represented as 2017-06-7. The
following sample AWS CLI command uses the
InvokedBefore
filter.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
instanceId
→ String?
-
The ID of the managed instance targeted by the command. A managed instance
can be an EC2 instance or an instance in your hybrid environment that is
configured for Systems Manager.
final
-
pluginName
→ String?
-
The name of the plugin for which you want detailed results. For example,
aws:RunShellScript is a plugin.
final
-
responseCode
→ int?
-
The error level response code for the plugin script. If the response code is
-1, then the command has not started running on the instance, or it was not
received by the instance.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
standardErrorContent
→ String?
-
The first 8,000 characters written by the plugin to stderr. If the command
has not finished running, then this string is empty.
final
-
standardErrorUrl
→ String?
-
The URL for the complete text written by the plugin to stderr. If the
command has not finished running, then this string is empty.
final
-
standardOutputContent
→ String?
-
The first 24,000 characters written by the plugin to stdout. If the command
has not finished running, if ExecutionStatus is neither Succeeded nor
Failed, then this string is empty.
final
-
standardOutputUrl
→ String?
-
The URL for the complete text written by the plugin to stdout in Amazon S3.
If an S3 bucket was not specified, then this string is empty.
final
-
status
→ CommandInvocationStatus?
-
The status of this invocation plugin. This status can be different than
StatusDetails.
final
-
statusDetails
→ String?
-
A detailed status of the command execution for an invocation. StatusDetails
includes more information than Status because it includes states resulting
from error and concurrency control parameters. StatusDetails can show
different results than Status. For more information about these statuses,
see Understanding
command statuses in the AWS Systems Manager User Guide.
StatusDetails can be one of the following values:
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited