| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.MachineLearning.UpdateDataSource
Description
Updates the DataSourceName of a DataSource.
You can use the GetDataSource operation to view the contents of the updated
data element.
http://http://docs.aws.amazon.com/machine-learning/latest/APIReference/API_UpdateDataSource.html
- data UpdateDataSource
- updateDataSource :: Text -> Text -> UpdateDataSource
- udsDataSourceId :: Lens' UpdateDataSource Text
- udsDataSourceName :: Lens' UpdateDataSource Text
- data UpdateDataSourceResponse
- updateDataSourceResponse :: UpdateDataSourceResponse
- udsrDataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text)
Request
data UpdateDataSource Source
Instances
Request constructor
Arguments
| :: Text | |
| -> Text | |
| -> UpdateDataSource |
UpdateDataSource constructor.
The fields accessible through corresponding lenses are:
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.
Response
Response constructor
updateDataSourceResponse :: UpdateDataSourceResponse Source
UpdateDataSourceResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
udsrDataSourceId :: 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.