Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

cancel_maintenance_window_execution

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

  • SSM.Client.exceptions.InternalServerError
  • SSM.Client.exceptions.DoesNotExistException