ListAnomaliesInput
¶
Source code in docs_src/capo_cloudwatchomni/types/list_anomalies_input.py
anomaly_ids
instance-attribute
¶
anomaly_ids: NotRequired[AnomalyIdList]
Optional batch-get filter. When set, anomalies are fetched by ID under the caller's account. Pagination still applies: maxResults bounds the returned anomalies per page; nextToken cursors through the input ID list. An ID that does not exist, or that the caller is not permitted to read, is omitted from items; compare the IDs you requested against the IDs returned across all pages to find them. anomalyIds is mutually exclusive with the other filters (timeRange, services, signalTypes, severity, sourceAccountId) — passing any of them alongside anomalyIds returns a ValidationException. Use a follow-up ListAnomalies call without anomalyIds for filtered queries.
max_results
instance-attribute
¶
max_results: NotRequired[int]
Maximum number of anomalies to return per page.
next_token
instance-attribute
¶
next_token: NotRequired[PaginationToken]
Pagination token from a previous response.
services
instance-attribute
¶
services: NotRequired[IntelligenceServiceNameList]
Filter by service names.
severity
instance-attribute
¶
severity: NotRequired[Severity]
Filter by severity level. Anomaly severities are lowercase, so send "high", not "HIGH". One level only; there is no severity list and no minimum-severity filter.
signal_types
instance-attribute
¶
signal_types: NotRequired[AnomalySignalTypeList]
Filter by signal types (e.g. logs, metrics, traces).
source_account_id
instance-attribute
¶
source_account_id: NotRequired[SourceAccountIdList]
Filter by the accounts that produced the signal.
time_range
instance-attribute
¶
time_range: NotRequired[IntelligenceTimeRange]
Time window to scope the anomaly search.