amazonka-ml-1.3.2: Amazon Machine Learning SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MachineLearning.DeleteDataSource

Contents

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.

See: AWS API Reference for DeleteDataSource.

Synopsis

Creating a Request

deleteDataSource Source

Creates a value of DeleteDataSource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ddsDataSourceId :: Lens' DeleteDataSource Text Source

A user-supplied ID that uniquely identifies the DataSource.

Destructuring the Response

deleteDataSourceResponse Source

Creates a value of DeleteDataSourceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ddsrsDataSourceId :: 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.