libZSservicesZSamazonka-mlZSamazonka-ml
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.MachineLearning.DeleteDataSource

Description

Assigns the DELETED status to a DataSource, rendering it unusable.

After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED.

Caution: The results of the DeleteDataSource operation are irreversible.

Synopsis

Creating a Request

data DeleteDataSource Source #

See: newDeleteDataSource smart constructor.

Constructors

DeleteDataSource' 

Fields

Instances

Instances details
Eq DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Read DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Show DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Generic DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Associated Types

type Rep DeleteDataSource :: Type -> Type #

NFData DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Methods

rnf :: DeleteDataSource -> () #

Hashable DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

ToJSON DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

AWSRequest DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Associated Types

type AWSResponse DeleteDataSource #

ToHeaders DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

ToPath DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

ToQuery DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

type Rep DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

type Rep DeleteDataSource = D1 ('MetaData "DeleteDataSource" "Amazonka.MachineLearning.DeleteDataSource" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "DeleteDataSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

newDeleteDataSource Source #

Create a value of DeleteDataSource 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:dataSourceId:DeleteDataSource', deleteDataSource_dataSourceId - A user-supplied ID that uniquely identifies the DataSource.

Request Lenses

deleteDataSource_dataSourceId :: Lens' DeleteDataSource Text Source #

A user-supplied ID that uniquely identifies the DataSource.

Destructuring the Response

data DeleteDataSourceResponse Source #

Represents the output of a DeleteDataSource operation.

See: newDeleteDataSourceResponse smart constructor.

Constructors

DeleteDataSourceResponse' 

Fields

  • dataSourceId :: Maybe Text

    A user-supplied ID that uniquely identifies the DataSource. This value should be identical to the value of the DataSourceID in the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Read DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Show DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Generic DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

Associated Types

type Rep DeleteDataSourceResponse :: Type -> Type #

NFData DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

type Rep DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteDataSource

type Rep DeleteDataSourceResponse = D1 ('MetaData "DeleteDataSourceResponse" "Amazonka.MachineLearning.DeleteDataSource" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "DeleteDataSourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteDataSourceResponse Source #

Create a value of DeleteDataSourceResponse 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:dataSourceId:DeleteDataSource', deleteDataSourceResponse_dataSourceId - A user-supplied ID that uniquely identifies the DataSource. This value should be identical to the value of the DataSourceID in the request.

$sel:httpStatus:DeleteDataSourceResponse', deleteDataSourceResponse_httpStatus - The response's http status code.

Response Lenses

deleteDataSourceResponse_dataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text) Source #

A user-supplied ID that uniquely identifies the DataSource. This value should be identical to the value of the DataSourceID in the request.