:doc:`CloudWatchLogs <../../logs>` / Client / get_delivery_destination_policy

*******************************
get_delivery_destination_policy
*******************************



.. py:method:: CloudWatchLogs.Client.get_delivery_destination_policy(**kwargs)

  

  Retrieves the delivery destination policy assigned to the delivery destination that you specify. For more information about delivery destinations and their policies, see `PutDeliveryDestinationPolicy <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliveryDestinationPolicy>`_  


  **Request Syntax**
  ::

    response = client.get_delivery_destination_policy(
        deliveryDestinationName='string'
    )
    
  :type deliveryDestinationName: string
  :param deliveryDestinationName: **[REQUIRED]** 

    The name of the delivery destination that you want to retrieve the policy of.

    

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

    
    ::

      {
          'policy': {
              'deliveryDestinationPolicy': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **policy** *(dict) --* 

        The IAM policy for this delivery destination.

        
        

        - **deliveryDestinationPolicy** *(string) --* 

          The contents of the delivery destination policy.

          
    
  
  **Exceptions**
  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ValidationException`

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

  