Stopping Resources - Amazon Forecast

Amazon Forecast is no longer available to new customers. Existing customers of Amazon Forecast can continue to use the service as normal. Learn more"

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).

Console

To stop a resource job

  1. Sign in to the AWS Management Console and open the Amazon Forecast console at https://console.aws.amazon.com/forecast/.

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

  3. Choose the resource job.

  4. Choose Stop.

Forecast export details showing ARN, IAM role, creation date, status, and S3 path.
SDK

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" }