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

****************
cancel_ingestion
****************



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

  

  Cancels an ongoing ingestion of data into SPICE.

  

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


  **Request Syntax**
  ::

    response = client.cancel_ingestion(
        AwsAccountId='string',
        DataSetId='string',
        IngestionId='string'
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The Amazon Web Services account ID.

    

  
  :type DataSetId: string
  :param DataSetId: **[REQUIRED]** 

    The ID of the dataset used in the ingestion.

    

  
  :type IngestionId: string
  :param IngestionId: **[REQUIRED]** 

    An ID for the ingestion.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Arn': 'string',
          'IngestionId': 'string',
          'RequestId': 'string',
          'Status': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The Amazon Resource Name (ARN) for the data ingestion.

        
      

      - **IngestionId** *(string) --* 

        An ID for the ingestion.

        
      

      - **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.ResourceNotFoundException`

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

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

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

  