stop_automation_execution
async
¶
stop_automation_execution(
automation_execution_id: AutomationExecutionId,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
type: Optional[StopType] = None,
) -> StopAutomationExecutionResult
Stop an Automation that is currently running.
Parameters:
-
automation_execution_id(AutomationExecutionId) –The execution ID of the Automation to stop.
-
type(Optional[StopType], default:None) –The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
Raises:
-
AutomationExecutionNotFoundException–There is no automation execution information for the requested automation execution ID.
-
InternalServerError–An error occurred on the server side.
-
InvalidAutomationStatusUpdateException–The specified update status operation isn't valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/async_ssm.py
11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 | |