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

**********************
update_wireless_device
**********************



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

  

  Updates properties of a wireless device.

  

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


  **Request Syntax**
  ::

    response = client.update_wireless_device(
        Id='string',
        DestinationName='string',
        Name='string',
        Description='string',
        LoRaWAN={
            'DeviceProfileId': 'string',
            'ServiceProfileId': 'string',
            'AbpV1_1': {
                'FCntStart': 123
            },
            'AbpV1_0_x': {
                'FCntStart': 123
            },
            'FPorts': {
                'Positioning': {
                    'ClockSync': 123,
                    'Stream': 123,
                    'Gnss': 123
                },
                'Applications': [
                    {
                        'FPort': 123,
                        'Type': 'SemtechGeolocation',
                        'DestinationName': 'string'
                    },
                ]
            }
        },
        Positioning='Enabled'|'Disabled',
        Sidewalk={
            'Positioning': {
                'DestinationName': 'string'
            }
        }
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The ID of the resource to update.

    

  
  :type DestinationName: string
  :param DestinationName: 

    The name of the new destination for the device.

    

  
  :type Name: string
  :param Name: 

    The new name of the resource.

     

    .. note::

      

      The following special characters aren't accepted: ``<>^#~$``

      

    

  
  :type Description: string
  :param Description: 

    A new description of the resource.

    

  
  :type LoRaWAN: dict
  :param LoRaWAN: 

    The updated wireless device's configuration.

    

  
    - **DeviceProfileId** *(string) --* 

      The ID of the device profile for the wireless device.

      

    
    - **ServiceProfileId** *(string) --* 

      The ID of the service profile.

      

    
    - **AbpV1_1** *(dict) --* 

      ABP device object for update APIs for v1.1

      

    
      - **FCntStart** *(integer) --* 

        The FCnt init value.

        

      
    
    - **AbpV1_0_x** *(dict) --* 

      ABP device object for update APIs for v1.0.x

      

    
      - **FCntStart** *(integer) --* 

        The FCnt init value.

        

      
    
    - **FPorts** *(dict) --* 

      FPorts object for the positioning information of the device.

      

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

        Positioning FPorts for the ClockSync, Stream, and GNSS functions.

        

      
        - **ClockSync** *(integer) --* 

          The Fport value.

          

        
        - **Stream** *(integer) --* 

          The Fport value.

          

        
        - **Gnss** *(integer) --* 

          The Fport value.

          

        
      
      - **Applications** *(list) --* 

        LoRaWAN application, which can be used for geolocation by activating positioning.

        

      
        - *(dict) --* 

          LoRaWAN application configuration, which can be used to perform geolocation.

          

        
          - **FPort** *(integer) --* 

            The Fport value.

            

          
          - **Type** *(string) --* 

            Application type, which can be specified to obtain real-time position information of your LoRaWAN device.

            

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

            The name of the position data destination that describes the AWS IoT rule that processes the device's position data for use by AWS IoT Core for LoRaWAN.

            

          
        
    
    
  
  :type Positioning: string
  :param Positioning: 

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

    

  
  :type Sidewalk: dict
  :param Sidewalk: 

    The updated sidewalk properties.

    

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

      The Positioning object of the Sidewalk device.

      

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

        The location destination name of the Sidewalk device.

        

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoTWireless.Client.exceptions.ValidationException`

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

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

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

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

  