list_link_routing_rules
async
¶
list_link_routing_rules(
gateway_id: GatewayId,
link_id: LinkId,
*,
config_overrides: Optional[AsyncRTBFabricClientConfig] = 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
>>> await 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/async_rtb_fabric.py
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 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 | |