:doc:`MediaConnect <../../mediaconnect>` / Client / revoke_flow_entitlement

***********************
revoke_flow_entitlement
***********************



.. py:method:: MediaConnect.Client.revoke_flow_entitlement(**kwargs)

  

  Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlement>`_  


  **Request Syntax**
  ::

    response = client.revoke_flow_entitlement(
        EntitlementArn='string',
        FlowArn='string'
    )
    
  :type EntitlementArn: string
  :param EntitlementArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the entitlement that you want to revoke.

    

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

    The flow that you want to revoke an entitlement from.

    

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

    
    ::

      {
          'EntitlementArn': 'string',
          'FlowArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **EntitlementArn** *(string) --* 

        The ARN of the entitlement that was revoked.

        
      

      - **FlowArn** *(string) --* 

        The ARN of the flow that the entitlement was revoked from.

        
  
  **Exceptions**
  
  *   :py:class:`MediaConnect.Client.exceptions.BadRequestException`

  
  *   :py:class:`MediaConnect.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`MediaConnect.Client.exceptions.ForbiddenException`

  
  *   :py:class:`MediaConnect.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`MediaConnect.Client.exceptions.NotFoundException`

  
  *   :py:class:`MediaConnect.Client.exceptions.ServiceUnavailableException`

  