:doc:`IoTWireless <../../iotwireless>` / Client / get_wireless_device_import_task

*******************************
get_wireless_device_import_task
*******************************



.. py:method:: IoTWireless.Client.get_wireless_device_import_task(**kwargs)

  

  Get information about an import task and count of device onboarding summary information for the import task.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessDeviceImportTask>`_  


  **Request Syntax**
  ::

    response = client.get_wireless_device_import_task(
        Id='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The identifier of the import task for which information is requested.

    

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

    
    ::

      {
          'Id': 'string',
          'Arn': 'string',
          'DestinationName': 'string',
          'Positioning': 'Enabled'|'Disabled',
          'Sidewalk': {
              'DeviceCreationFileList': [
                  'string',
              ],
              'Role': 'string',
              'Positioning': {
                  'DestinationName': 'string'
              }
          },
          'CreationTime': datetime(2015, 1, 1),
          'Status': 'INITIALIZING'|'INITIALIZED'|'PENDING'|'COMPLETE'|'FAILED'|'DELETING',
          'StatusReason': 'string',
          'InitializedImportedDeviceCount': 123,
          'PendingImportedDeviceCount': 123,
          'OnboardedImportedDeviceCount': 123,
          'FailedImportedDeviceCount': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Id** *(string) --* 

        The identifier of the import task for which information is retrieved.

        
      

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

        The ARN (Amazon Resource Name) of the import task.

        
      

      - **DestinationName** *(string) --* 

        The name of the destination that's assigned to the wireless devices in the import task.

        
      

      - **Positioning** *(string) --* 

        The integration status of the Device Location feature for LoRaWAN and Sidewalk devices.

        
      

      - **Sidewalk** *(dict) --* 

        The Sidewalk-related information about an import task.

        
        

        - **DeviceCreationFileList** *(list) --* 

          List of Sidewalk devices that are added to the import task.

          
          

          - *(string) --* 
      
        

        - **Role** *(string) --* 

          The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 bucket.

          
        

        - **Positioning** *(dict) --* 

          The Positioning object of the Sidewalk device.

          
          

          - **DestinationName** *(string) --* 

            The location destination name of the Sidewalk device.

            
      
    
      

      - **CreationTime** *(datetime) --* 

        The time at which the import task was created.

        
      

      - **Status** *(string) --* 

        The import task status.

        
      

      - **StatusReason** *(string) --* 

        The reason for the provided status information, such as a validation error that causes the import task to fail.

        
      

      - **InitializedImportedDeviceCount** *(integer) --* 

        The number of devices in the import task that are waiting for the control log to start processing.

        
      

      - **PendingImportedDeviceCount** *(integer) --* 

        The number of devices in the import task that are waiting in the import task queue to be onboarded.

        
      

      - **OnboardedImportedDeviceCount** *(integer) --* 

        The number of devices in the import task that have been onboarded to the import task.

        
      

      - **FailedImportedDeviceCount** *(integer) --* 

        The number of devices in the import task that failed to onboard to the import task.

        
  
  **Exceptions**
  
  *   :py:class:`IoTWireless.Client.exceptions.ValidationException`

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

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

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

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

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

  