SSM / Client / cancel_maintenance_window_execution

cancel_maintenance_window_execution#

SSM.Client.cancel_maintenance_window_execution(**kwargs)#

Stops a maintenance window execution that is already in progress and cancels any tasks in the window that haven’t already starting running. Tasks already in progress will continue to completion.

See also: AWS API Documentation

Request Syntax

response = client.cancel_maintenance_window_execution(
    WindowExecutionId='string'
)
Parameters:

WindowExecutionId (string) –

[REQUIRED]

The ID of the maintenance window execution to stop.

Return type:

dict

Returns:

Response Syntax

{
    'WindowExecutionId': 'string'
}

Response Structure

  • (dict) –

    • WindowExecutionId (string) –

      The ID of the maintenance window execution that has been stopped.

Exceptions