QuickSight / Client / batch_delete_topic_reviewed_answer

batch_delete_topic_reviewed_answer#

QuickSight.Client.batch_delete_topic_reviewed_answer(**kwargs)#

Deletes reviewed answers for Q Topic.

See also: AWS API Documentation

Request Syntax

response = client.batch_delete_topic_reviewed_answer(
    AwsAccountId='string',
    TopicId='string',
    AnswerIds=[
        'string',
    ]
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that you want to delete a reviewed answers in.

  • TopicId (string) –

    [REQUIRED]

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

  • AnswerIds (list) –

    The Answer IDs of the Answers to be deleted.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'TopicId': 'string',
    'TopicArn': 'string',
    'SucceededAnswers': [
        {
            'AnswerId': 'string'
        },
    ],
    'InvalidAnswers': [
        {
            'AnswerId': 'string',
            'Error': 'INTERNAL_ERROR'|'MISSING_ANSWER'|'DATASET_DOES_NOT_EXIST'|'INVALID_DATASET_ARN'|'DUPLICATED_ANSWER'|'INVALID_DATA'|'MISSING_REQUIRED_FIELDS'
        },
    ],
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) –

    • TopicId (string) –

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

    • TopicArn (string) –

      The Amazon Resource Name (ARN) of the topic.

    • SucceededAnswers (list) –

      The definition of Answers that are successfully deleted.

      • (dict) –

        The definition for a SucceededTopicReviewedAnswer.

        • AnswerId (string) –

          The answer ID for the SucceededTopicReviewedAnswer.

    • InvalidAnswers (list) –

      The definition of Answers that are invalid and not deleted.

      • (dict) –

        The definition for a InvalidTopicReviewedAnswer.

        • AnswerId (string) –

          The answer ID for the InvalidTopicReviewedAnswer.

        • Error (string) –

          The error that is returned for the InvalidTopicReviewedAnswer.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

    • Status (integer) –

      The HTTP status of the request.

Exceptions