CmdID

CmdID / aws / aws ssm

aws ssm deregister-task-from-maintenance-window

Removes a task from a maintenance window. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To remove a task from a maintenance window

The following deregister-task-from-maintenance-window example removes the specified task from the specified maintenance window.

aws ssm deregister-task-from-maintenance-window --window-id "mw-ab12cd34efEXAMPLE" --window-task-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify
--window-idThe ID of the maintenance window the task should be removed from.
--window-task-idThe ID of the task to remove from the maintenance window.
Its output
{
    "WindowTaskId":"a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
    "WindowId":"mw-ab12cd34efEXAMPLE"
}

For more information, see Systems Manager Maintenance Windows Tutorials (AWS CLI) in the AWS Systems Manager User Guide.

Options

2 in the AWS CLI reference
--window-idThe ID of the maintenance window the task should be removed from.
--window-task-idThe ID of the task to remove from the maintenance window.