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

**************************************
list_wireless_gateway_task_definitions
**************************************



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

  

  List the wireless gateway tasks definitions registered to your AWS account.

  

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


  **Request Syntax**
  ::

    response = client.list_wireless_gateway_task_definitions(
        MaxResults=123,
        NextToken='string',
        TaskDefinitionType='UPDATE'
    )
    
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return in this operation.

    

  
  :type NextToken: string
  :param NextToken: 

    To retrieve the next set of results, the ``nextToken`` value from a previous response; otherwise **null** to receive the first set of results.

    

  
  :type TaskDefinitionType: string
  :param TaskDefinitionType: 

    A filter to list only the wireless gateway task definitions that use this task definition type.

    

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

    
    ::

      {
          'NextToken': 'string',
          'TaskDefinitions': [
              {
                  'Id': 'string',
                  'LoRaWAN': {
                      'CurrentVersion': {
                          'PackageVersion': 'string',
                          'Model': 'string',
                          'Station': 'string'
                      },
                      'UpdateVersion': {
                          'PackageVersion': 'string',
                          'Model': 'string',
                          'Station': 'string'
                      }
                  },
                  'Arn': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextToken** *(string) --* 

        The token to use to get the next set of results, or **null** if there are no additional results.

        
      

      - **TaskDefinitions** *(list) --* 

        The list of task definitions.

        
        

        - *(dict) --* 

          UpdateWirelessGatewayTaskEntry object.

          
          

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

            The ID of the new wireless gateway task entry.

            
          

          - **LoRaWAN** *(dict) --* 

            The properties that relate to the LoRaWAN wireless gateway.

            
            

            - **CurrentVersion** *(dict) --* 

              The version of the gateways that should receive the update.

              
              

              - **PackageVersion** *(string) --* 

                The version of the wireless gateway firmware.

                
              

              - **Model** *(string) --* 

                The model number of the wireless gateway.

                
              

              - **Station** *(string) --* 

                The basic station version of the wireless gateway.

                
          
            

            - **UpdateVersion** *(dict) --* 

              The firmware version to update the gateway to.

              
              

              - **PackageVersion** *(string) --* 

                The version of the wireless gateway firmware.

                
              

              - **Model** *(string) --* 

                The model number of the wireless gateway.

                
              

              - **Station** *(string) --* 

                The basic station version of the wireless gateway.

                
          
        
          

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

            The Amazon Resource Name of the resource.

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

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

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

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

  