QuickSight / Client / delete_topic

delete_topic#

QuickSight.Client.delete_topic(**kwargs)#

Deletes a topic.

See also: AWS API Documentation

Request Syntax

response = client.delete_topic(
    AwsAccountId='string',
    TopicId='string'
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that contains the topic that you want to delete.

  • TopicId (string) –

    [REQUIRED]

    The ID of the topic that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) of the topic.

    • TopicId (string) –

      The ID of the topic that you want to delete. 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.ConflictException

  • QuickSight.Client.exceptions.InternalFailureException