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

****************************
list_data_set_import_history
****************************



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

  

  Lists the data set imports for the specified application.

  

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


  **Request Syntax**
  ::

    response = client.list_data_set_import_history(
        applicationId='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

    The unique identifier of the application.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of objects to return.

    

  
  :type nextToken: string
  :param nextToken: 

    A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **dataSetImportTasks** *(list) --* 

        The data set import tasks.

        
        

        - *(dict) --* 

          Contains information about a data set import task.

          
          

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

            The status of the data set import task.

            
          

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

            If dataset import failed, the failure reason will show here.

            
          

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

            A summary of the data set import 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 identifier of the data set import task.

            
      
    
      

      - **nextToken** *(string) --* 

        If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.

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

  