Skip to content

ListRulesRequest

Source code in docs_src/capo_cloudwatch_events/types/list_rules_request.py
class ListRulesRequest(TypedDict, closed=True):
    name_prefix: NotRequired["capo_cloudwatch_events.types.rule_name.RuleName"]
    """<p>The prefix matching the rule name.</p>"""
    event_bus_name: NotRequired[
        "capo_cloudwatch_events.types.event_bus_name_or_arn.EventBusNameOrArn"
    ]
    """<p>The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.</p>"""
    next_token: NotRequired["capo_cloudwatch_events.types.next_token.NextToken"]
    """<p>The token returned by a previous call to retrieve the next set of results.</p>"""
    limit: NotRequired["capo_cloudwatch_events.types.limit_max100.LimitMax100"]
    """<p>The maximum number of results to return.</p>"""

event_bus_name instance-attribute

event_bus_name: NotRequired[EventBusNameOrArn]

The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.

limit instance-attribute

limit: NotRequired[LimitMax100]

The maximum number of results to return.

name_prefix instance-attribute

name_prefix: NotRequired[RuleName]

The prefix matching the rule name.

next_token instance-attribute

next_token: NotRequired[NextToken]

The token returned by a previous call to retrieve the next set of results.