SSM / Client / deregister_task_from_maintenance_window

deregister_task_from_maintenance_window#

SSM.Client.deregister_task_from_maintenance_window(**kwargs)#

Removes a task from a maintenance window.

See also: AWS API Documentation

Request Syntax

response = client.deregister_task_from_maintenance_window(
    WindowId='string',
    WindowTaskId='string'
)
Parameters:
  • WindowId (string) –

    [REQUIRED]

    The ID of the maintenance window the task should be removed from.

  • WindowTaskId (string) –

    [REQUIRED]

    The ID of the task to remove from the maintenance window.

Return type:

dict

Returns:

Response Syntax

{
    'WindowId': 'string',
    'WindowTaskId': 'string'
}

Response Structure

  • (dict) –

    • WindowId (string) –

      The ID of the maintenance window the task was removed from.

    • WindowTaskId (string) –

      The ID of the task removed from the maintenance window.

Exceptions