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

******************
update_destination
******************



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

  

  Updates properties of a destination.

  

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


  **Request Syntax**
  ::

    response = client.update_destination(
        Name='string',
        ExpressionType='RuleName'|'MqttTopic',
        Expression='string',
        Description='string',
        RoleArn='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The new name of the resource.

    

  
  :type ExpressionType: string
  :param ExpressionType: 

    The type of value in ``Expression``.

    

  
  :type Expression: string
  :param Expression: 

    The new rule name or topic rule to send messages to.

    

  
  :type Description: string
  :param Description: 

    A new description of the resource.

    

  
  :type RoleArn: string
  :param RoleArn: 

    The ARN of the IAM Role that authorizes the destination.

    

  
  
  :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`

  