Amazon Forecast
Developer Guide

This is prerelease documentation for a service in preview release. It is subject to change.

The Amazon Forecast API underwent significant changes during the scheduled maintenance that occurred from 7/22/19 through 7/23/19. As part of maintenance, all Forecast resources (datasets, predictors, and forecasts) were deleted.

To use the new APIs, you must install new JSON service files by following Steps 3 through 6 in Set Up the AWS CLI and modify your existing code to reflect the syntax changes. We have revised our GitHub notebooks to help you understand how to interact with the new APIs. If you use only the console, no changes are necessary.

For a table describing the API changes, see API Changes in Amazon Forecast.

If you have questions, contact .


Deletes an Amazon Forecast dataset created using the CreateDataset operation. To be deleted, the dataset must have a status of ACTIVE or CREATE_FAILED. Use the DescribeDataset operation to get the status.

Request Syntax

{ "DatasetArn": "string" }

Request Parameters

The request accepts the following data in JSON format.


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

Type: String

Length Constraints: Maximum length of 256.

Pattern: ^[a-zA-Z0-9\-\_\.\/\:]+$

Required: Yes

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.



We can't process the request because it includes an invalid value or a value that exceeds the valid range.

HTTP Status Code: 400


The specified resource is in use.

HTTP Status Code: 400


We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: