:doc:`NeptuneGraph <../../neptune-graph>` / Waiter / ImportTaskCancelled

*******************
ImportTaskCancelled
*******************



.. py:class:: NeptuneGraph.Waiter.ImportTaskCancelled

  ::

    
    waiter = client.get_waiter('import_task_cancelled')

  
  

  .. py:method:: wait(**kwargs)

    Polls :py:meth:`NeptuneGraph.Client.get_import_task` every 60 seconds until a successful state is reached. An error is raised after 60 failed checks.

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


    **Request Syntax**
    ::

      waiter.wait(
          taskIdentifier='string',
          WaiterConfig={
              'Delay': 123,
              'MaxAttempts': 123
          }
      )
      
    :type taskIdentifier: string
    :param taskIdentifier: **[REQUIRED]** 

      The unique identifier of the import task.

      

    
    :type WaiterConfig: dict
    :param WaiterConfig: 

      A dictionary that provides parameters to control waiting behavior.

      

    
      - **Delay** *(integer) --* 

        The amount of time in seconds to wait between attempts. Default: 60

        

      
      - **MaxAttempts** *(integer) --* 

        The maximum number of attempts to be made. Default: 60

        

      
    
    
    :returns: None