QuickSight / Client / delete_data_source

delete_data_source#

QuickSight.Client.delete_data_source(**kwargs)#

Deletes the data source permanently. This operation breaks all the datasets that reference the deleted data source.

See also: AWS API Documentation

Request Syntax

response = client.delete_data_source(
    AwsAccountId='string',
    DataSourceId='string'
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The Amazon Web Services account ID.

  • DataSourceId (string) –

    [REQUIRED]

    The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'DataSourceId': 'string',
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) of the data source that you deleted.

    • DataSourceId (string) –

      The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

    • Status (integer) –

      The HTTP status of the request.

Exceptions

  • QuickSight.Client.exceptions.AccessDeniedException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.InternalFailureException