amazonka-ml-1.3.3.1: 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.UpdateDataSource

Contents

Description

Updates the DataSourceName of a DataSource.

You can use the GetDataSource operation to view the contents of the updated data element.

See: AWS API Reference for UpdateDataSource.

Synopsis

Creating a Request

updateDataSource Source

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

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

Request Lenses

udsDataSourceId :: Lens' UpdateDataSource Text Source

The ID assigned to the DataSource during creation.

udsDataSourceName :: Lens' UpdateDataSource Text Source

A new user-supplied name or description of the DataSource that will replace the current description.

Destructuring the Response

updateDataSourceResponse Source

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

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

data UpdateDataSourceResponse Source

Represents the output of an UpdateDataSource operation.

You can see the updated content by using the GetBatchPrediction operation.

See: updateDataSourceResponse smart constructor.

Response Lenses

udsrsDataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text) Source

The ID assigned to the DataSource during creation. This value should be identical to the value of the DataSourceID in the request.