| 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 |
Amazonka.Personalize.DeleteDataset
Description
Deletes a dataset. You can't delete a dataset if an associated
DatasetImportJob or SolutionVersion is in the CREATE PENDING or IN
PROGRESS state. For more information on datasets, see CreateDataset.
Synopsis
Creating a Request
data DeleteDataset Source #
See: newDeleteDataset smart constructor.
Constructors
| DeleteDataset' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteDataset |
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.
Constructors
| DeleteDatasetResponse' | |
Instances
newDeleteDatasetResponse :: DeleteDatasetResponse Source #
Create a value of DeleteDatasetResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.