:doc:`MediaTailor <../../mediatailor>` / Client / get_channel_policy

******************
get_channel_policy
******************



.. py:method:: MediaTailor.Client.get_channel_policy(**kwargs)

  

  Returns the channel's IAM policy. IAM policies are used to control access to your channel.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicy>`_  


  **Request Syntax**
  ::

    response = client.get_channel_policy(
        ChannelName='string'
    )
    
  :type ChannelName: string
  :param ChannelName: **[REQUIRED]** 

    The name of the channel associated with this Channel Policy.

    

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

    
    ::

      {
          'Policy': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Policy** *(string) --* 

        The IAM policy for the channel. IAM policies are used to control access to your channel.

        
  