list_anomaly_detectors
¶
list_anomaly_detectors(
workspace_id: WorkspaceId,
*,
config_overrides: Optional[ampClientConfig] = None,
alias: Optional[AnomalyDetectorAlias] = None,
max_results: Optional[int] = None,
next_token: Optional[PaginationToken] = None,
) -> ListAnomalyDetectorsResponse
Returns a paginated list of anomaly detectors for a workspace with optional filtering by alias.
Parameters:
-
workspace_id(WorkspaceId) –The identifier of the workspace containing the anomaly detectors to list.
-
alias(Optional[AnomalyDetectorAlias], default:None) –Filters the results to anomaly detectors with the specified alias.
-
max_results(Optional[int], default:None) –The maximum number of results to return in a single call. Valid range is 1 to 1000.
-
next_token(Optional[PaginationToken], default:None) –The pagination token to continue retrieving results.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The request references a resources that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amp/_services/amp.py
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 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 | |