SageMaker / Client / stop_job

stop_job

SageMaker.Client.stop_job(**kwargs)

Stops a running job. When you call StopJob, Amazon SageMaker sets the job status to Stopping. After the job stops, the status changes to Stopped. Partial results may be available in the output location if the job was in progress. To delete a stopped job, call DeleteJob.

The following operations are related to StopJob:

  • CreateJob

  • DescribeJob

  • DeleteJob

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of the job to stop.

  • JobCategory (string) –

    [REQUIRED]

    The category of the job to stop.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions