Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes a what-if forecast created using the CreateWhatIfForecast
operation. You can delete only what-if forecasts that have a status of
ACTIVE
or CREATE_FAILED
. To get the status, use the
DescribeWhatIfForecast operation.
You can't delete a what-if forecast while it is being exported. After a what-if forecast is deleted, you can no longer query the what-if analysis.
Synopsis
- data DeleteWhatIfForecast = DeleteWhatIfForecast' {}
- newDeleteWhatIfForecast :: Text -> DeleteWhatIfForecast
- deleteWhatIfForecast_whatIfForecastArn :: Lens' DeleteWhatIfForecast Text
- data DeleteWhatIfForecastResponse = DeleteWhatIfForecastResponse' {
- newDeleteWhatIfForecastResponse :: DeleteWhatIfForecastResponse
Creating a Request
data DeleteWhatIfForecast Source #
See: newDeleteWhatIfForecast
smart constructor.
DeleteWhatIfForecast' | |
|
Instances
newDeleteWhatIfForecast Source #
Create a value of DeleteWhatIfForecast
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteWhatIfForecast
, deleteWhatIfForecast_whatIfForecastArn
- The Amazon Resource Name (ARN) of the what-if forecast that you want to
delete.
Request Lenses
deleteWhatIfForecast_whatIfForecastArn :: Lens' DeleteWhatIfForecast Text Source #
The Amazon Resource Name (ARN) of the what-if forecast that you want to delete.
Destructuring the Response
data DeleteWhatIfForecastResponse Source #
See: newDeleteWhatIfForecastResponse
smart constructor.
Instances
newDeleteWhatIfForecastResponse :: DeleteWhatIfForecastResponse Source #
Create a value of DeleteWhatIfForecastResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.