list_anomaly_detectors
async
¶
list_anomaly_detectors(
workspace_id: WorkspaceId,
*,
config_overrides: Optional[AsyncampClientConfig] = 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/async_amp.py
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 | |