Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteForecast' | |
|
Instances
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:
$sel:forecastArn: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.
Instances
Eq DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast | |
Read DeleteForecastResponse Source # | |
Show DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast showsPrec :: Int -> DeleteForecastResponse -> ShowS # show :: DeleteForecastResponse -> String # showList :: [DeleteForecastResponse] -> ShowS # | |
Generic DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast type Rep DeleteForecastResponse :: Type -> Type # | |
NFData DeleteForecastResponse Source # | |
Defined in Amazonka.Forecast.DeleteForecast rnf :: DeleteForecastResponse -> () # | |
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.