Skip to content

ListAnomaliesRequest

Source code in docs_src/capo_cloudwatch_logs/types/list_anomalies_request.py
class ListAnomaliesRequest(TypedDict, closed=True):
    anomaly_detector_arn: NotRequired[
        "capo_cloudwatch_logs.types.anomaly_detector_arn.AnomalyDetectorArn"
    ]
    """<p>Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.</p>"""
    suppression_state: NotRequired[
        "capo_cloudwatch_logs.types.suppression_state.SuppressionState"
    ]
    """<p>You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.</p>"""
    limit: NotRequired[
        "capo_cloudwatch_logs.types.list_anomalies_limit.ListAnomaliesLimit"
    ]
    """<p>The maximum number of items to return. If you don't specify a value, the default maximum value of 50 items is used.</p>"""
    next_token: NotRequired["capo_cloudwatch_logs.types.next_token.NextToken"]

anomaly_detector_arn instance-attribute

anomaly_detector_arn: NotRequired[AnomalyDetectorArn]

Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.

limit instance-attribute

limit: NotRequired[ListAnomaliesLimit]

The maximum number of items to return. If you don't specify a value, the default maximum value of 50 items is used.

next_token instance-attribute

next_token: NotRequired[NextToken]

suppression_state instance-attribute

suppression_state: NotRequired[SuppressionState]

You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.