Skip to content

ListAlertsInput

Source code in docs_src/capo_cloudwatchomni/types/list_alerts_input.py
class ListAlertsInput(TypedDict, closed=True):
    space_id: "capo_cloudwatchomni.types.space_id.SpaceId"
    """The unique ID of the space."""
    filter_criteria: NotRequired[
        "capo_cloudwatchomni.types.alert_filter_criteria.AlertFilterCriteria"
    ]
    """Filter criteria narrowing which alerts are returned. All members are optional; the three name/id filters are mutually exclusive."""
    sort_by: NotRequired["capo_cloudwatchomni.types.alert_sort_field.AlertSortField"]
    """The field to sort results by."""
    sort_order: NotRequired["capo_cloudwatchomni.types.alert_sort_order.AlertSortOrder"]
    """The order in which to sort results."""
    next_token: NotRequired["capo_cloudwatchomni.types.next_token.NextToken"]
    """A token to retrieve the next page of results."""
    max_results: NotRequired["int"]
    """The maximum number of alerts to return per page."""

filter_criteria instance-attribute

filter_criteria: NotRequired[AlertFilterCriteria]

Filter criteria narrowing which alerts are returned. All members are optional; the three name/id filters are mutually exclusive.

max_results instance-attribute

max_results: NotRequired[int]

The maximum number of alerts to return per page.

next_token instance-attribute

next_token: NotRequired[NextToken]

A token to retrieve the next page of results.

sort_by instance-attribute

sort_by: NotRequired[AlertSortField]

The field to sort results by.

sort_order instance-attribute

sort_order: NotRequired[AlertSortOrder]

The order in which to sort results.

space_id instance-attribute

space_id: SpaceId

The unique ID of the space.