Amazon.CloudWatchEvents.AmazonCloudWatchEventsClient.ListRulesAsync C# (CSharp) Method

ListRulesAsync() public method

Lists the Amazon CloudWatch Events rules in your account. You can either list all the rules or you can provide a prefix to match to the rule names. If you have more rules in your account than the given limit, the results will be paginated. In that case, use the next token returned in the response and repeat ListRules until the NextToken in the response is returned as null.
/// This exception occurs due to unexpected causes. ///
public ListRulesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListRulesResponse> ListRulesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            return ListRulesAsync(new ListRulesRequest(), cancellationToken);
        }
        /// <summary>

Same methods

AmazonCloudWatchEventsClient::ListRulesAsync ( ListRulesRequest request, System cancellationToken = default(CancellationToken) ) : Task