list_virtual_interface_routes
async
¶
list_virtual_interface_routes(
*,
config_overrides: Optional[AsyncDirectConnectClientConfig] = None,
virtual_interface_id: Optional[VirtualInterfaceId] = None,
filters: Optional[RouteFilters] = None,
max_results: Optional[MaxResultSetSize] = None,
next_token: Optional[PaginationToken] = None,
) -> ListVirtualInterfaceRoutesResponse
Lists the routes for the specified virtual interface.
Use the routeDirection filter to control which routes are returned:
-
accepted: routes received from the customer network over the virtual interface. -
advertised: routes advertised to the customer network over the virtual interface.
Parameters:
-
virtual_interface_id(Optional[VirtualInterfaceId], default:None) –The ID of the virtual interface.
-
filters(Optional[RouteFilters], default:None) –The filters to apply to the routes returned.
-
max_results(Optional[MaxResultSetSize], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.If
MaxResultsis given a value larger than 100, only 100 results are returned. -
next_token(Optional[PaginationToken], default:None) –The token for the next page of results.
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/async_direct_connect.py
3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 | |