:doc:`mediapackagev2 <../../mediapackagev2>` / Client / delete_channel_policy

*********************
delete_channel_policy
*********************



.. py:method:: mediapackagev2.Client.delete_channel_policy(**kwargs)

  

  Delete a channel policy.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelPolicy>`_  


  **Request Syntax**
  ::

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

    The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.

    

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

    The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`mediapackagev2.Client.exceptions.ConflictException`

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

  
  *   :py:class:`mediapackagev2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`mediapackagev2.Client.exceptions.InternalServerException`

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

  