AWS Systems Manager
API Reference (API Version 2014-11-06)
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with AWS services in China.


Get detailed information about a particular Automation execution.

Request Syntax

{ "AutomationExecutionId": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


The unique identifier for an existing automation execution to examine. The execution ID is returned by StartAutomationExecution when the execution of an Automation document is initiated.

Type: String

Length Constraints: Fixed length of 36.

Required: Yes

Response Syntax

{ "AutomationExecution": { "AutomationExecutionId": "string", "AutomationExecutionStatus": "string", "CurrentAction": "string", "CurrentStepName": "string", "DocumentName": "string", "DocumentVersion": "string", "ExecutedBy": "string", "ExecutionEndTime": number, "ExecutionStartTime": number, "FailureMessage": "string", "MaxConcurrency": "string", "MaxErrors": "string", "Mode": "string", "Outputs": { "string" : [ "string" ] }, "Parameters": { "string" : [ "string" ] }, "ParentAutomationExecutionId": "string", "ProgressCounters": { "CancelledSteps": number, "FailedSteps": number, "SuccessSteps": number, "TimedOutSteps": number, "TotalSteps": number }, "ResolvedTargets": { "ParameterValues": [ "string" ], "Truncated": boolean }, "StepExecutions": [ { "Action": "string", "ExecutionEndTime": number, "ExecutionStartTime": number, "FailureDetails": { "Details": { "string" : [ "string" ] }, "FailureStage": "string", "FailureType": "string" }, "FailureMessage": "string", "Inputs": { "string" : "string" }, "IsCritical": boolean, "IsEnd": boolean, "MaxAttempts": number, "NextStep": "string", "OnFailure": "string", "Outputs": { "string" : [ "string" ] }, "OverriddenParameters": { "string" : [ "string" ] }, "Response": "string", "ResponseCode": "string", "StepExecutionId": "string", "StepName": "string", "StepStatus": "string", "TargetLocation": { "Accounts": [ "string" ], "ExecutionRoleName": "string", "Regions": [ "string" ], "TargetLocationMaxConcurrency": "string", "TargetLocationMaxErrors": "string" }, "Targets": [ { "Key": "string", "Values": [ "string" ] } ], "TimeoutSeconds": number, "ValidNextSteps": [ "string" ] } ], "StepExecutionsTruncated": boolean, "Target": "string", "TargetLocations": [ { "Accounts": [ "string" ], "ExecutionRoleName": "string", "Regions": [ "string" ], "TargetLocationMaxConcurrency": "string", "TargetLocationMaxErrors": "string" } ], "TargetMaps": [ { "string" : [ "string" ] } ], "TargetParameterName": "string", "Targets": [ { "Key": "string", "Values": [ "string" ] } ] } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


Detailed information about the current state of an automation execution.

Type: AutomationExecution object


For information about the errors that are common to all actions, see Common Errors.


There is no automation execution information for the requested automation execution ID.

HTTP Status Code: 400


An error occurred on the server side.

HTTP Status Code: 500

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: