libZSservicesZSamazonka-forecastZSamazonka-forecast
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

Synopsis

Creating a Request

data DeleteForecast Source #

See: newDeleteForecast smart constructor.

Constructors

DeleteForecast' 

Fields

  • forecastArn :: Text

    The Amazon Resource Name (ARN) of the forecast to delete.

Instances

Instances details
Eq DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Read DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Show DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Generic DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Associated Types

type Rep DeleteForecast :: Type -> Type #

NFData DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Methods

rnf :: DeleteForecast -> () #

Hashable DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

ToJSON DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

AWSRequest DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Associated Types

type AWSResponse DeleteForecast #

ToHeaders DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

ToPath DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

ToQuery DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

type Rep DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

type Rep DeleteForecast = D1 ('MetaData "DeleteForecast" "Amazonka.Forecast.DeleteForecast" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "DeleteForecast'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forecastArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

newDeleteForecast Source #

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

Instances details
Eq DeleteForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Read DeleteForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Show DeleteForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Generic DeleteForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Associated Types

type Rep DeleteForecastResponse :: Type -> Type #

NFData DeleteForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

Methods

rnf :: DeleteForecastResponse -> () #

type Rep DeleteForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteForecast

type Rep DeleteForecastResponse = D1 ('MetaData "DeleteForecastResponse" "Amazonka.Forecast.DeleteForecast" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "DeleteForecastResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteForecastResponse :: DeleteForecastResponse Source #

Create a value of DeleteForecastResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.