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

************************************
get_wireless_gateway_task_definition
************************************



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

  

  Gets information about a wireless gateway task definition.

  

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


  **Request Syntax**
  ::

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

    The ID of the resource to get.

    

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

    
    ::

      {
          'AutoCreateTasks': True|False,
          'Name': 'string',
          'Update': {
              'UpdateDataSource': 'string',
              'UpdateDataRole': 'string',
              'LoRaWAN': {
                  'UpdateSignature': 'string',
                  'SigKeyCrc': 123,
                  'CurrentVersion': {
                      'PackageVersion': 'string',
                      'Model': 'string',
                      'Station': 'string'
                  },
                  'UpdateVersion': {
                      'PackageVersion': 'string',
                      'Model': 'string',
                      'Station': 'string'
                  }
              }
          },
          'Arn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AutoCreateTasks** *(boolean) --* 

        Whether to automatically create tasks using this task definition for all gateways with the specified current version. If ``false``, the task must me created by calling ``CreateWirelessGatewayTask``.

        
      

      - **Name** *(string) --* 

        The name of the resource.

        
      

      - **Update** *(dict) --* 

        Information about the gateways to update.

        
        

        - **UpdateDataSource** *(string) --* 

          The link to the S3 bucket.

          
        

        - **UpdateDataRole** *(string) --* 

          The IAM role used to read data from the S3 bucket.

          
        

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

          The properties that relate to the LoRaWAN wireless gateway.

          
          

          - **UpdateSignature** *(string) --* 

            The signature used to verify the update firmware.

            
          

          - **SigKeyCrc** *(integer) --* 

            The CRC of the signature private key to check.

            
          

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

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

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

  