amazonka-forecast-2.0: Amazon Forecast Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data DeleteWhatIfForecast Source #

See: newDeleteWhatIfForecast smart constructor.

Constructors

DeleteWhatIfForecast' 

Fields

Instances

Instances details
ToJSON DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

ToHeaders DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

ToPath DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

ToQuery DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

AWSRequest DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

Associated Types

type AWSResponse DeleteWhatIfForecast #

Generic DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

Associated Types

type Rep DeleteWhatIfForecast :: Type -> Type #

Read DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

Show DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

NFData DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

Methods

rnf :: DeleteWhatIfForecast -> () #

Eq DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

Hashable DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

type AWSResponse DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

type Rep DeleteWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

type Rep DeleteWhatIfForecast = D1 ('MetaData "DeleteWhatIfForecast" "Amazonka.Forecast.DeleteWhatIfForecast" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "DeleteWhatIfForecast'" 'PrefixI 'True) (S1 ('MetaSel ('Just "whatIfForecastArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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

Instances details
Generic DeleteWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

Associated Types

type Rep DeleteWhatIfForecastResponse :: Type -> Type #

Read DeleteWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

Show DeleteWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

NFData DeleteWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

Eq DeleteWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

type Rep DeleteWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteWhatIfForecast

type Rep DeleteWhatIfForecastResponse = D1 ('MetaData "DeleteWhatIfForecastResponse" "Amazonka.Forecast.DeleteWhatIfForecast" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "DeleteWhatIfForecastResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteWhatIfForecastResponse :: DeleteWhatIfForecastResponse Source #

Create a value of DeleteWhatIfForecastResponse with all optional fields omitted.

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