Stopping Resources - Amazon Forecast

Stopping Resources

The Amazon Forecast Stop Resource (StopResource) operation stops a resource job that is in progress. You can stop the following resource jobs:

  • Dataset group import (CreateDatasetImportJob)

  • Predictor training (CreateAutoPredictor and CreatePredictor)

  • Predictor backtest export (CreatePredictorBacktestExportJob)

  • Forecast (CreateForecast)

  • Forecast export (CreateForecastExportJob)

  • What-if analysis (CreateWhatIfAnalysis)

  • What-if forecast (CreateWhatIfForecast)

  • What-if forecast export (CreateWhatIfForecastExportJob)

You can't resume a resource job after it has stopped.

Stopping a resource ends its workflow, but doesn't delete the resource. You can still preview the resource parameters in the console and with the Describe operation.

When you stop a predictor or forecast job, you are billed for resources used up to the point when the job stopped.

You can stop a resource job using the Forecast console or the AWS Software Development Kit (SDK).


To stop a resource job

  1. Sign in to the AWS Management Console and open the Amazon Forecast console at

  2. In the navigation pane, choose the resource type.

  3. Choose the resource job.

  4. Choose Stop.


To stop a resource job

Using the StopResource operation, set the value of ResourceArn to the Amazon Resource Name (ARN) that identifies the resource job that you want to stop.

{ "ResourceArn": "arn:partition:service:region:account-id:resource-id" }