cancel_job

DataExchange.Client.cancel_job(**kwargs)

This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.

See also: AWS API Documentation

Request Syntax

response = client.cancel_job(
    JobId='string'
)
Parameters
JobId (string) --

[REQUIRED]

The unique identifier for a job.

Returns
None

Exceptions

  • DataExchange.Client.exceptions.ResourceNotFoundException
  • DataExchange.Client.exceptions.ThrottlingException
  • DataExchange.Client.exceptions.ConflictException
  • DataExchange.Client.exceptions.ValidationException
  • DataExchange.Client.exceptions.InternalServerException