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

*************************
remove_flow_vpc_interface
*************************



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

  

  Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.

  

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


  **Request Syntax**
  ::

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

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

    

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

    The name of the VPC interface that you want to remove.

    

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

    
    ::

      {
          'FlowArn': 'string',
          'NonDeletedNetworkInterfaceIds': [
              'string',
          ],
          'VpcInterfaceName': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ARN of the flow that is associated with the VPC interface you removed.

        
      

      - **NonDeletedNetworkInterfaceIds** *(list) --* 

        IDs of network interfaces associated with the removed VPC interface that MediaConnect was unable to remove.

        
        

        - *(string) --* 
    
      

      - **VpcInterfaceName** *(string) --* 

        The name of the VPC interface 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`

  