delete_predictor

delete_predictor(**kwargs)

Deletes a predictor created using the DescribePredictor or CreatePredictor operations. You can delete only predictor that have a status of ACTIVE or CREATE_FAILED . To get the status, use the DescribePredictor operation.

See also: AWS API Documentation

Request Syntax

response = client.delete_predictor(
    PredictorArn='string'
)
Parameters
PredictorArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the predictor to delete.

Returns
None

Exceptions

  • ForecastService.Client.exceptions.InvalidInputException
  • ForecastService.Client.exceptions.ResourceNotFoundException
  • ForecastService.Client.exceptions.ResourceInUseException