MachineLearning / Client / delete_data_source
delete_data_source#
- MachineLearning.Client.delete_data_source(**kwargs)#
- Assigns the DELETED status to a - DataSource, rendering it unusable.- After using the - DeleteDataSourceoperation, you can use the GetDataSource operation to verify that the status of the- DataSourcechanged to DELETED.- Caution: The results of the - DeleteDataSourceoperation are irreversible.- See also: AWS API Documentation - Request Syntax - response = client.delete_data_source( DataSourceId='string' ) - Parameters:
- DataSourceId (string) – - [REQUIRED] - A user-supplied ID that uniquely identifies the - DataSource.
- Return type:
- dict 
- Returns:
- Response Syntax - { 'DataSourceId': 'string' } - Response Structure - (dict) – - Represents the output of a - DeleteDataSourceoperation.- DataSourceId (string) – - A user-supplied ID that uniquely identifies the - DataSource. 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