:doc:`NeptuneGraph <../../neptune-graph>` / Client / cancel_export_task

******************
cancel_export_task
******************



.. py:method:: NeptuneGraph.Client.cancel_export_task(**kwargs)

  

  Cancel the specified export task.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/CancelExportTask>`_  


  **Request Syntax**
  ::

    response = client.cancel_export_task(
        taskIdentifier='string'
    )
    
  :type taskIdentifier: string
  :param taskIdentifier: **[REQUIRED]** 

    The unique identifier of the export task.

    

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

    
    ::

      {
          'graphId': 'string',
          'roleArn': 'string',
          'taskId': 'string',
          'status': 'INITIALIZING'|'EXPORTING'|'SUCCEEDED'|'FAILED'|'CANCELLING'|'CANCELLED'|'DELETED',
          'format': 'PARQUET'|'CSV',
          'destination': 'string',
          'kmsKeyIdentifier': 'string',
          'parquetType': 'COLUMNAR',
          'statusReason': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **graphId** *(string) --* 

        The source graph identifier of the cancelled export task.

        
      

      - **roleArn** *(string) --* 

        The ARN of the IAM role that will allow the exporting of data to the destination.

        
      

      - **taskId** *(string) --* 

        The unique identifier of the export task.

        
      

      - **status** *(string) --* 

        The current status of the export task. The status is ``CANCELLING`` when the export task is cancelled.

        
      

      - **format** *(string) --* 

        The format of the cancelled export task.

        
      

      - **destination** *(string) --* 

        The Amazon S3 URI of the cancelled export task where data will be exported to.

        
      

      - **kmsKeyIdentifier** *(string) --* 

        The KMS key identifier of the cancelled export task.

        
      

      - **parquetType** *(string) --* 

        The parquet type of the cancelled export task.

        
      

      - **statusReason** *(string) --* 

        The reason that the export task has this status value.

        
  
  **Exceptions**
  
  *   :py:class:`NeptuneGraph.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NeptuneGraph.Client.exceptions.ValidationException`

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

  
  *   :py:class:`NeptuneGraph.Client.exceptions.InternalServerException`

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

  