:doc:`QuickSight <../../quicksight>` / Client / batch_delete_topic_reviewed_answer

**********************************
batch_delete_topic_reviewed_answer
**********************************



.. py:method:: QuickSight.Client.batch_delete_topic_reviewed_answer(**kwargs)

  

  Deletes reviewed answers for Q Topic.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/BatchDeleteTopicReviewedAnswer>`_  


  **Request Syntax**
  ::

    response = client.batch_delete_topic_reviewed_answer(
        AwsAccountId='string',
        TopicId='string',
        AnswerIds=[
            'string',
        ]
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

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

    

  
  :type TopicId: string
  :param TopicId: **[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.

    

  
  :type AnswerIds: list
  :param AnswerIds: 

    The Answer IDs of the Answers to be deleted.

    

  
    - *(string) --* 

    

  
  :rtype: 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**
  
  *   :py:class:`QuickSight.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`QuickSight.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`QuickSight.Client.exceptions.ConflictException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  