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
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 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 | |