SSM / Client / stop_automation_execution

stop_automation_execution#

SSM.Client.stop_automation_execution(**kwargs)#

Stop an Automation that is currently running.

See also: AWS API Documentation

Request Syntax

response = client.stop_automation_execution(
    AutomationExecutionId='string',
    Type='Complete'|'Cancel'
)
Parameters:
  • AutomationExecutionId (string) –

    [REQUIRED]

    The execution ID of the Automation to stop.

  • Type (string) – The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SSM.Client.exceptions.AutomationExecutionNotFoundException

  • SSM.Client.exceptions.InvalidAutomationStatusUpdateException

  • SSM.Client.exceptions.InternalServerError