MachineLearning.Client.update_data_source(**kwargs)¶Updates the DataSourceName of a DataSource .
You can use the GetDataSource operation to view the contents of the updated data element.
See also: AWS API Documentation
Request Syntax
response = client.update_data_source(
DataSourceId='string',
DataSourceName='string'
)
[REQUIRED]
The ID assigned to the DataSource during creation.
[REQUIRED]
A new user-supplied name or description of the DataSource that will replace the current description.
dict
Response Syntax
{
'DataSourceId': 'string'
}
Response Structure
(dict) --
Represents the output of an UpdateDataSource operation.
You can see the updated content by using the GetBatchPrediction operation.
DataSourceId (string) --
The ID assigned to the DataSource during creation. This value should be identical to the value of the DataSourceID in the request.
Exceptions
MachineLearning.Client.exceptions.InvalidInputExceptionMachineLearning.Client.exceptions.ResourceNotFoundExceptionMachineLearning.Client.exceptions.InternalServerException