MediaConnect / Client / remove_flow_vpc_interface



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

Request Syntax

response = client.remove_flow_vpc_interface(
  • FlowArn (string) – [REQUIRED] The flow that you want to remove a VPC interface from.

  • VpcInterfaceName (string) – [REQUIRED] The name of the VPC interface that you want to remove.

Return type:



Response Syntax

    'FlowArn': 'string',
    'NonDeletedNetworkInterfaceIds': [
    'VpcInterfaceName': 'string'

Response Structure

  • (dict) – VPC interface successfully removed from flow configuration.

    • 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 Media Connect was unable to remove.

      • (string) –

    • VpcInterfaceName (string) – The name of the VPC interface that was removed.


  • MediaConnect.Client.exceptions.BadRequestException

  • MediaConnect.Client.exceptions.InternalServerErrorException

  • MediaConnect.Client.exceptions.ForbiddenException

  • MediaConnect.Client.exceptions.NotFoundException

  • MediaConnect.Client.exceptions.ServiceUnavailableException

  • MediaConnect.Client.exceptions.TooManyRequestsException