AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names.
The maximum number of results per page for requests is 100.
ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule.
For .NET Core this operation is only available in asynchronous form. Please refer to ListRulesAsync.
Namespace: Amazon.EventBridge
Assembly: AWSSDK.EventBridge.dll
Version: 3.x.y.z
public virtual ListRulesResponse ListRules( ListRulesRequest request )
Container for the necessary parameters to execute the ListRules service method.
Exception | Condition |
---|---|
InternalException | This exception occurs due to unexpected causes. |
ResourceNotFoundException | An entity that you specified does not exist. |
.NET Framework:
Supported in: 4.5 and newer, 3.5