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 toStopping. After the job stops, the status changes toStopped. Partial results may be available in the output location if the job was in progress. To delete a stopped job, callDeleteJob.The following operations are related to
StopJob:CreateJobDescribeJobDeleteJob
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