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.
Container for the parameters to the ListRules operation. 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.
Namespace: Amazon.EventBridge.Model
Assembly: AWSSDK.EventBridge.dll
Version: 3.x.y.z
public class ListRulesRequest : AmazonEventBridgeRequest IAmazonWebServiceRequest
The ListRulesRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
ListRulesRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
EventBusName | System.String |
Gets and sets the property EventBusName. The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used. |
![]() |
Limit | System.Int32 |
Gets and sets the property Limit. The maximum number of results to return. |
![]() |
NamePrefix | System.String |
Gets and sets the property NamePrefix. The prefix matching the rule name. |
![]() |
NextToken | System.String |
Gets and sets the property NextToken. The token returned by a previous call, which you can use to retrieve the next set of results.
The value of
Using an expired pagination token results in an |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5