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.DeleteDataset

Description

Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can only delete datasets that have a status of ACTIVE or CREATE_FAILED. To get the status use the DescribeDataset operation.

Forecast does not automatically update any dataset groups that contain the deleted dataset. In order to update the dataset group, use the operation, omitting the deleted dataset's ARN.

Synopsis

Creating a Request

data DeleteDataset Source #

See: newDeleteDataset smart constructor.

Constructors

DeleteDataset' 

Fields

  • datasetArn :: Text

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

Instances

Instances details
Eq DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Read DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Show DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Generic DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Associated Types

type Rep DeleteDataset :: Type -> Type #

NFData DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Methods

rnf :: DeleteDataset -> () #

Hashable DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

ToJSON DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

AWSRequest DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Associated Types

type AWSResponse DeleteDataset #

ToHeaders DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

ToPath DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

ToQuery DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

type Rep DeleteDataset Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

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

Defined in Amazonka.Forecast.DeleteDataset

newDeleteDataset Source #

Create a value of DeleteDataset 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:datasetArn:DeleteDataset', deleteDataset_datasetArn - The Amazon Resource Name (ARN) of the dataset to delete.

Request Lenses

deleteDataset_datasetArn :: Lens' DeleteDataset Text Source #

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

Destructuring the Response

data DeleteDatasetResponse Source #

See: newDeleteDatasetResponse smart constructor.

Instances

Instances details
Eq DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Read DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Show DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Generic DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Associated Types

type Rep DeleteDatasetResponse :: Type -> Type #

NFData DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

Methods

rnf :: DeleteDatasetResponse -> () #

type Rep DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteDataset

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

newDeleteDatasetResponse :: DeleteDatasetResponse Source #

Create a value of DeleteDatasetResponse with all optional fields omitted.

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