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

***************
update_position
***************



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

  

  Update the position information of a resource.

   

  .. warning::

     

    This action is no longer supported. Calls to update the position information should use the `UpdateResourcePosition <https://docs.aws.amazon.com/iot-wireless/latest/apireference/API_UpdateResourcePosition.html>`__ API operation instead.

    

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

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


  **Request Syntax**
  ::

    response = client.update_position(
        ResourceIdentifier='string',
        ResourceType='WirelessDevice'|'WirelessGateway',
        Position=[
            ...,
        ]
    )
    
  :type ResourceIdentifier: string
  :param ResourceIdentifier: **[REQUIRED]** 

    Resource identifier of the resource for which position is updated.

    

  
  :type ResourceType: string
  :param ResourceType: **[REQUIRED]** 

    Resource type of the resource for which position is updated.

    

  
  :type Position: list
  :param Position: **[REQUIRED]** 

    The position information of the resource.

    

  
    - *(float) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

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

  