Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_data_source

delete_data_source(**kwargs)

Assigns the DELETED status to a DataSource , rendering it unusable.

After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED.

Caution: The results of the DeleteDataSource operation 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 DeleteDataSource operation.

    • DataSourceId (string) --

      A user-supplied ID that uniquely identifies the DataSource . This value should be identical to the value of the DataSourceID in the request.

Exceptions

  • MachineLearning.Client.exceptions.InvalidInputException
  • MachineLearning.Client.exceptions.ResourceNotFoundException
  • MachineLearning.Client.exceptions.InternalServerException