Skip to content

Stops a running job

Description

Stops a running job. When you call stop_job, 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 delete_job.

The following operations are related to stop_job:

Usage

sagemaker_stop_job(JobName, JobCategory)

Arguments

  • JobName

[required] The name of the job to stop.

  • JobCategory

[required] The category of the job to stop.

Value

An empty list.

Request syntax

svc$stop_job(
  JobName = "string",
  JobCategory = "AgentRFT"|"AgentRFTEvaluation"
)