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