Skip to content

Delete What If Analysis

forecastservice_delete_what_if_analysis R Documentation

Deletes a what-if analysis created using the CreateWhatIfAnalysis operation

Description

Deletes a what-if analysis created using the create_what_if_analysis operation. You can delete only what-if analyses that have a status of ACTIVE or CREATE_FAILED. To get the status, use the describe_what_if_analysis operation.

You can't delete a what-if analysis while any of its forecasts are being exported.

Usage

forecastservice_delete_what_if_analysis(WhatIfAnalysisArn)

Arguments

WhatIfAnalysisArn

[required] The Amazon Resource Name (ARN) of the what-if analysis that you want to delete.

Value

An empty list.

Request syntax

svc$delete_what_if_analysis(
  WhatIfAnalysisArn = "string"
)