:doc:`MainframeModernization <../../m2>` / Client / get_data_set_import_task

************************
get_data_set_import_task
************************



.. py:method:: MainframeModernization.Client.get_data_set_import_task(**kwargs)

  

  Gets the status of a data set import task initiated with the  CreateDataSetImportTask operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/GetDataSetImportTask>`_  


  **Request Syntax**
  ::

    response = client.get_data_set_import_task(
        applicationId='string',
        taskId='string'
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

    The application identifier.

    

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

    The task identifier returned by the  CreateDataSetImportTask operation.

    

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

    
    ::

      {
          'status': 'Creating'|'Running'|'Completed'|'Failed',
          'summary': {
              'failed': 123,
              'inProgress': 123,
              'pending': 123,
              'succeeded': 123,
              'total': 123
          },
          'taskId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The status of the task.

        
      

      - **summary** *(dict) --* 

        A summary of the status of the task.

        
        

        - **failed** *(integer) --* 

          The number of data set imports that have failed.

          
        

        - **inProgress** *(integer) --* 

          The number of data set imports that are in progress.

          
        

        - **pending** *(integer) --* 

          The number of data set imports that are pending.

          
        

        - **succeeded** *(integer) --* 

          The number of data set imports that have succeeded.

          
        

        - **total** *(integer) --* 

          The total number of data set imports.

          
    
      

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

        The task identifier.

        
  
  **Exceptions**
  
  *   :py:class:`MainframeModernization.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`MainframeModernization.Client.exceptions.AccessDeniedException`

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

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

  