v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451299221.6 KB

Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names.

ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule.

post/#X-Amz-Target=AWSEvents.ListRules

Headers

X-Amz-Target'AWSEvents.ListRules' required

Request body

NamePrefixstring

The prefix matching the rule name.

EventBusNamestring

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

NextTokenstring

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

Limitinteger

The maximum number of results to return.

Response

Success

NextTokenstring

Indicates whether there are additional results to retrieve. If there are no more results, the value is null.