libZSservicesZSamazonka-personalizeZSamazonka-personalize
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.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

  • datasetArn :: Text

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

Instances

Instances details
Eq DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Read DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Show DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Generic DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Associated Types

type Rep DeleteDataset :: Type -> Type #

NFData DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Methods

rnf :: DeleteDataset -> () #

Hashable DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

ToJSON DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

AWSRequest DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Associated Types

type AWSResponse DeleteDataset #

ToHeaders DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

ToPath DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

ToQuery DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

type Rep DeleteDataset Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

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

Defined in Amazonka.Personalize.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.Personalize.DeleteDataset

Read DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Show DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Generic DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Associated Types

type Rep DeleteDatasetResponse :: Type -> Type #

NFData DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

Methods

rnf :: DeleteDatasetResponse -> () #

type Rep DeleteDatasetResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteDataset

type Rep DeleteDatasetResponse = D1 ('MetaData "DeleteDatasetResponse" "Amazonka.Personalize.DeleteDataset" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" '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.