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_export_task

cancel_export_task(**kwargs)

Cancels the specified export task.

The task must be in the PENDING or RUNNING state.

See also: AWS API Documentation

Request Syntax

response = client.cancel_export_task(
    taskId='string'
)
Parameters
taskId (string) --

[REQUIRED]

The ID of the export task.

Returns
None

Exceptions

  • CloudWatchLogs.Client.exceptions.InvalidParameterException
  • CloudWatchLogs.Client.exceptions.ResourceNotFoundException
  • CloudWatchLogs.Client.exceptions.InvalidOperationException
  • CloudWatchLogs.Client.exceptions.ServiceUnavailableException