| 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.DeleteForecast
Description
Deletes a forecast created using the CreateForecast operation. You can
delete only forecasts that have a status of ACTIVE or CREATE_FAILED.
To get the status, use the DescribeForecast operation.
You can't delete a forecast while it is being exported. After a forecast is deleted, you can no longer query the forecast.
Creating a Request
data DeleteForecast Source #
See: newDeleteForecast smart constructor.
Constructors
| DeleteForecast' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteForecast |
Create a value of DeleteForecast 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:
DeleteForecast, deleteForecast_forecastArn - The Amazon Resource Name (ARN) of the forecast to delete.
Request Lenses
deleteForecast_forecastArn :: Lens' DeleteForecast Text Source #
The Amazon Resource Name (ARN) of the forecast to delete.
Destructuring the Response
data DeleteForecastResponse Source #
See: newDeleteForecastResponse smart constructor.
Constructors
| DeleteForecastResponse' | |
Instances
| Generic DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast Associated Types type Rep DeleteForecastResponse :: Type -> Type # Methods from :: DeleteForecastResponse -> Rep DeleteForecastResponse x # to :: Rep DeleteForecastResponse x -> DeleteForecastResponse # | |
| Read DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast | |
| Show DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast Methods showsPrec :: Int -> DeleteForecastResponse -> ShowS # show :: DeleteForecastResponse -> String # showList :: [DeleteForecastResponse] -> ShowS # | |
| NFData DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast Methods rnf :: DeleteForecastResponse -> () # | |
| Eq DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast Methods (==) :: DeleteForecastResponse -> DeleteForecastResponse -> Bool # (/=) :: DeleteForecastResponse -> DeleteForecastResponse -> Bool # | |
| type Rep DeleteForecastResponse Source # | |
newDeleteForecastResponse :: DeleteForecastResponse Source #
Create a value of DeleteForecastResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.