SageMaker / Client / delete_job

delete_job

SageMaker.Client.delete_job(**kwargs)

Deletes a job. This operation is idempotent. If the job is currently running, you must stop it before deleting it by calling StopJob.

The following operations are related to DeleteJob:

  • CreateJob

  • StopJob

  • DescribeJob

See also: AWS API Documentation

Request Syntax

response = client.delete_job(
    JobName='string',
    JobCategory='AgentRFT'|'AgentRFTEvaluation'
)
Parameters:
  • JobName (string) –

    [REQUIRED]

    The name of the job to delete.

  • JobCategory (string) –

    [REQUIRED]

    The category of the job to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions