delete_link_routing_rule
async
¶
delete_link_routing_rule(
gateway_id: GatewayId,
link_id: LinkId,
rule_id: RuleId,
*,
config_overrides: Optional[AsyncRTBFabricClientConfig] = None,
) -> DeleteLinkRoutingRuleResponse
Deletes a routing rule from a link.
Parameters:
-
gateway_id(GatewayId) –The unique identifier of the gateway.
-
link_id(LinkId) –The unique identifier of the link.
-
rule_id(RuleId) –The unique identifier of the routing rule.
Raises:
-
AccessDeniedException–The request could not be completed because you do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed because of a conflict in the current state of the resource.
-
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:
Delete a link routing rule Delete a link routing rule
>>> await client.delete_link_routing_rule(gateway_id='rtb-gw-12345678', link_id='link-87654321', rule_id='rule-abc123def456')
Source code in docs_src/capo_rtbfabric/_services/async_rtb_fabric.py
1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 | |