:doc:`IoTSiteWise <../../iotsitewise>` / Client / update_gateway

**************
update_gateway
**************



.. py:method:: IoTSiteWise.Client.update_gateway(**kwargs)

  

  Updates a gateway's name.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGateway>`_  


  **Request Syntax**
  ::

    response = client.update_gateway(
        gatewayId='string',
        gatewayName='string'
    )
    
  :type gatewayId: string
  :param gatewayId: **[REQUIRED]** 

    The ID of the gateway to update.

    

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

    A unique name for the gateway.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`IoTSiteWise.Client.exceptions.InvalidRequestException`

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

  
  *   :py:class:`IoTSiteWise.Client.exceptions.ConflictingOperationException`

  
  *   :py:class:`IoTSiteWise.Client.exceptions.InternalFailureException`

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

  