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

*************************
get_wireless_gateway_task
*************************



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

  

  Gets information about a wireless gateway task.

  

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


  **Request Syntax**
  ::

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

    The ID of the resource to get.

    

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

    
    ::

      {
          'WirelessGatewayId': 'string',
          'WirelessGatewayTaskDefinitionId': 'string',
          'LastUplinkReceivedAt': 'string',
          'TaskCreatedAt': 'string',
          'Status': 'PENDING'|'IN_PROGRESS'|'FIRST_RETRY'|'SECOND_RETRY'|'COMPLETED'|'FAILED'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **WirelessGatewayId** *(string) --* 

        The ID of the wireless gateway.

        
      

      - **WirelessGatewayTaskDefinitionId** *(string) --* 

        The ID of the WirelessGatewayTask.

        
      

      - **LastUplinkReceivedAt** *(string) --* 

        The date and time when the most recent uplink was received.

         

        .. note::

          

          This value is only valid for 3 months.

          

        
      

      - **TaskCreatedAt** *(string) --* 

        The date and time when the task was created.

        
      

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

        The status of the request.

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

  