MachineLearning / Client / update_data_source
update_data_source#
- MachineLearning.Client.update_data_source(**kwargs)#
- Updates the - DataSourceNameof a- DataSource.- You can use the - GetDataSourceoperation 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' ) - Parameters:
- DataSourceId (string) – - [REQUIRED] - The ID assigned to the - DataSourceduring creation.
- DataSourceName (string) – - [REQUIRED] - A new user-supplied name or description of the - DataSourcethat will replace the current description.
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'DataSourceId': 'string' } - Response Structure - (dict) – - Represents the output of an - UpdateDataSourceoperation.- You can see the updated content by using the - GetBatchPredictionoperation.- DataSourceId (string) – - The ID assigned to the - DataSourceduring creation. This value should be identical to the value of the- DataSourceIDin the request.
 
 
 - Exceptions - MachineLearning.Client.exceptions.InvalidInputException
- MachineLearning.Client.exceptions.ResourceNotFoundException
- MachineLearning.Client.exceptions.InternalServerException