stop_automation_execution
¶
stop_automation_execution(
automation_execution_id: AutomationExecutionId,
*,
config_overrides: Optional[SSMClientConfig] = 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/ssm.py
10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 | |