Menu
AWS Systems Manager
API Reference (API Version 2014-11-06)

StopAutomationExecution

Stop an Automation that is currently executing.

Request Syntax

{ "AutomationExecutionId": "string", "Type": "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.

AutomationExecutionId

The execution ID of the Automation to stop.

Type: String

Length Constraints: Fixed length of 36.

Required: Yes

Type

The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.

Type: String

Valid Values: Complete | Cancel

Required: No

Response Elements

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

Errors

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

AutomationExecutionNotFoundException

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

HTTP Status Code: 400

InternalServerError

An error occurred on the server side.

HTTP Status Code: 400

InvalidAutomationStatusUpdateException

The specified update status operation is not valid.

HTTP Status Code: 400

See Also

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