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 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.
DeleteDataset' | |
|
Instances
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
Eq DeleteDatasetResponse Source # | |
Defined in Amazonka.Forecast.DeleteDataset (==) :: DeleteDatasetResponse -> DeleteDatasetResponse -> Bool # (/=) :: DeleteDatasetResponse -> DeleteDatasetResponse -> Bool # | |
Read DeleteDatasetResponse Source # | |
Show DeleteDatasetResponse Source # | |
Defined in Amazonka.Forecast.DeleteDataset showsPrec :: Int -> DeleteDatasetResponse -> ShowS # show :: DeleteDatasetResponse -> String # showList :: [DeleteDatasetResponse] -> ShowS # | |
Generic DeleteDatasetResponse Source # | |
Defined in Amazonka.Forecast.DeleteDataset type Rep DeleteDatasetResponse :: Type -> Type # | |
NFData DeleteDatasetResponse Source # | |
Defined in Amazonka.Forecast.DeleteDataset rnf :: DeleteDatasetResponse -> () # | |
type Rep DeleteDatasetResponse Source # | |
newDeleteDatasetResponse :: DeleteDatasetResponse Source #
Create a value of DeleteDatasetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.