MediaConnect / Client / remove_flow_vpc_interface
remove_flow_vpc_interface#
- 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
Request Syntax
response = client.remove_flow_vpc_interface( FlowArn='string', VpcInterfaceName='string' )
- Parameters:
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:
dict
- Returns:
Response Syntax
{ 'FlowArn': 'string', 'NonDeletedNetworkInterfaceIds': [ 'string', ], '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.
Exceptions
MediaConnect.Client.exceptions.BadRequestException
MediaConnect.Client.exceptions.InternalServerErrorException
MediaConnect.Client.exceptions.ForbiddenException
MediaConnect.Client.exceptions.NotFoundException
MediaConnect.Client.exceptions.ServiceUnavailableException
MediaConnect.Client.exceptions.TooManyRequestsException