SageMaker / Client / stop_ai_recommendation_job

stop_ai_recommendation_job

SageMaker.Client.stop_ai_recommendation_job(**kwargs)

Stops a running AI recommendation job.

See also: AWS API Documentation

Request Syntax

response = client.stop_ai_recommendation_job(
    AIRecommendationJobName='string'
)
Parameters:

AIRecommendationJobName (string) –

[REQUIRED]

The name of the AI recommendation job to stop.

Return type:

dict

Returns:

Response Syntax

{
    'AIRecommendationJobArn': 'string'
}

Response Structure

  • (dict) –

    • AIRecommendationJobArn (string) –

      The Amazon Resource Name (ARN) of the stopped recommendation job.

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound