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

***************
get_destination
***************



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

  

  Gets information about a destination.

  

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


  **Request Syntax**
  ::

    response = client.get_destination(
        Name='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the resource to get.

    

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

    
    ::

      {
          'Arn': 'string',
          'Name': 'string',
          'Expression': 'string',
          'ExpressionType': 'RuleName'|'MqttTopic',
          'Description': 'string',
          'RoleArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The Amazon Resource Name of the resource.

        
      

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

        The name of the resource.

        
      

      - **Expression** *(string) --* 

        The rule name or topic rule to send messages to.

        
      

      - **ExpressionType** *(string) --* 

        The type of value in ``Expression``.

        
      

      - **Description** *(string) --* 

        The description of the resource.

        
      

      - **RoleArn** *(string) --* 

        The ARN of the IAM Role that authorizes the destination.

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

  