AWS Systems Manager Change Manager 不再向新客户开放。现有客户可以继续正常使用该服务。有关更多信息,请参阅 AWS Systems Manager Change Manager 可用性变更。
将 StopAutomationExecution 与 CLI 配合使用
以下代码示例演示如何使用 StopAutomationExecution。
- CLI
-
- AWS CLI
-
停止自动化执行
以下
stop-automation-execution示例停止自动化文档。aws ssm stop-automation-execution --automation-execution-id"4105a4fc-f944-11e6-9d32-0a1b2EXAMPLE"此命令不生成任何输出。
有关更多信息,请参阅《AWS Systems Manager 用户指南》中的手动运行自动化工作流。
-
有关 API 详细信息,请参阅《AWS CLI Command Reference》中的 StopAutomationExecution
。
-
- PowerShell
-
- Tools for PowerShell V4
-
示例 1:此示例停止自动化执行。如果此命令成功,则无任何输出。
Stop-SSMAutomationExecution -AutomationExecutionId "4105a4fc-f944-11e6-9d32-8fb2db27a909"-
有关 API 详细信息,请参阅《AWS Tools for PowerShell Cmdlet 参考(V4)》中的 StopAutomationExecution。
-
- Tools for PowerShell V5
-
示例 1:此示例停止自动化执行。如果此命令成功,则无任何输出。
Stop-SSMAutomationExecution -AutomationExecutionId "4105a4fc-f944-11e6-9d32-8fb2db27a909"-
有关 API 详细信息,请参阅《AWS Tools for PowerShell Cmdlet 参考 (V5)》中的 StopAutomationExecution。
-
有关 AWS SDK 开发人员指南和代码示例的完整列表,请参阅 将此服务与 AWS 开发工具包结合使用。本主题还包括有关入门的信息以及有关先前的 SDK 版本的详细信息。
StartSession
UpdateAssociation