v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1428150188.6 KB

Updates the DataSourceName of a DataSource.

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

post/#X-Amz-Target=AmazonML_20141212.UpdateDataSource

Headers

X-Amz-Target'AmazonML_20141212.UpdateDataSource' required

Request body

DataSourceIdstring required

The ID assigned to the <code>DataSource</code> during creation.

DataSourceNamestring required

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

Response

Success

DataSourceIdstring

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