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

******************
remove_flow_source
******************



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

  

  Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.

  

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


  **Request Syntax**
  ::

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

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

    

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

    The ARN of the source that you want to remove.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

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

        
      

      - **SourceArn** *(string) --* 

        The ARN of the source 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`

  