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

******************
remove_flow_output
******************



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

  

  Removes an output from an existing flow. This request can be made only on an output that does not have an entitlement associated with it. If the output has an entitlement, you must revoke the entitlement instead. When an entitlement is revoked from a flow, the service automatically removes the associated output.

  

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


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the flow that you want to remove an output from.

    

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

    The ARN of the output that you want to remove.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The ARN of the flow that the output was removed from.

        
      

      - **OutputArn** *(string) --* 

        The ARN of the output that was removed.

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

  