list_rules
async
¶
list_rules(
*,
config_overrides: Optional[AsyncRoute53RecoveryReadinessClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
resource_type: Optional[__string] = None,
) -> ListRulesResponse
Lists all readiness rules, or lists the readiness rules for a specific resource type.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The number of objects that you want to return with this call.
-
next_token(Optional[__string], default:None) –The token that identifies which batch of results you want to see.
-
resource_type(Optional[__string], default:None) –The resource type that a readiness rule applies to.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route53_recovery_readiness/_services/async_route53_recovery_readiness.py
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 1856 1857 1858 1859 | |