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)

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