list_link_routing_rules
¶
list_link_routing_rules(
gateway_id: GatewayId,
link_id: LinkId,
*,
config_overrides: Optional[RTBFabricClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> ListLinkRoutingRulesResponse
Lists the routing rules for a link.
Parameters:
-
gateway_id(GatewayId) –The unique identifier of the gateway.
-
link_id(LinkId) –The unique identifier of the link.
-
next_token(Optional[str], default:None) –If
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error. -
max_results(Optional[int], default:None) –The maximum number of results that are returned per call. You can use
nextTokento obtain further pages of results.This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
Raises:
-
AccessDeniedException–The request could not be completed because you do not have sufficient access to perform this action.
-
InternalServerException–The request could not be completed because of an internal server error. Try your call again.
-
ResourceNotFoundException–The request could not be completed because the resource does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request could not be completed because it fails satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List link routing rules List all routing rules for a link
>>> client.list_link_routing_rules(gateway_id='rtb-gw-12345678', link_id='link-87654321', max_results=10)
Source code in docs_src/capo_rtbfabric/_services/rtb_fabric.py
1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 | |