| 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 |
Amazonka.Forecast.DeleteWhatIfForecast
Description
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.
Constructors
| DeleteWhatIfForecast' | |
Fields
| |
Instances
newDeleteWhatIfForecast Source #
Arguments
| :: Text | |
| -> DeleteWhatIfForecast |
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.
Constructors
| DeleteWhatIfForecastResponse' | |
Instances
| Generic DeleteWhatIfForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteWhatIfForecast Associated Types type Rep DeleteWhatIfForecastResponse :: Type -> Type # | |
| Read DeleteWhatIfForecastResponse Source # | |
| Show DeleteWhatIfForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteWhatIfForecast Methods showsPrec :: Int -> DeleteWhatIfForecastResponse -> ShowS # show :: DeleteWhatIfForecastResponse -> String # showList :: [DeleteWhatIfForecastResponse] -> ShowS # | |
| NFData DeleteWhatIfForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteWhatIfForecast Methods rnf :: DeleteWhatIfForecastResponse -> () # | |
| Eq DeleteWhatIfForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteWhatIfForecast Methods (==) :: DeleteWhatIfForecastResponse -> DeleteWhatIfForecastResponse -> Bool # (/=) :: DeleteWhatIfForecastResponse -> DeleteWhatIfForecastResponse -> Bool # | |
| type Rep DeleteWhatIfForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteWhatIfForecast | |
newDeleteWhatIfForecastResponse :: DeleteWhatIfForecastResponse Source #
Create a value of DeleteWhatIfForecastResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.