/** * <p> * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match * to the rule names. * </p> * <p> * ListRules does not list the targets of a rule. To see the targets associated with a rule, use * <a>ListTargetsByRule</a>. * </p> * * @return Result of the ListRules operation returned by the service. * @throws InternalException * This exception occurs due to unexpected causes. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CloudWatchEventsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CloudWatchEventsClient.ListRules * @see #listRules(ListRulesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API * Documentation</a> */ default ListRulesResponse listRules() throws InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return listRules(ListRulesRequest.builder().build()); }
/** * <p> * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match * to the rule names. * </p> * <p> * ListRules does not list the targets of a rule. To see the targets associated with a rule, use * <a>ListTargetsByRule</a>. * </p> * * @return A Java Future containing the result of the ListRules operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>InternalException This exception occurs due to unexpected causes.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.</li> * </ul> * @sample CloudWatchEventsAsyncClient.ListRules * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API * Documentation</a> */ default CompletableFuture<ListRulesResponse> listRules() { return listRules(ListRulesRequest.builder().build()); }
/** * <p> * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match * to the rule names. * </p> * * @return Result of the ListRules operation returned by the service. * @throws InternalException * This exception occurs due to unexpected causes. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CloudWatchEventsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CloudWatchEventsClient.ListRules * @see #listRules(ListRulesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API * Documentation</a> */ default ListRulesResponse listRules() throws InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return listRules(ListRulesRequest.builder().build()); }
/** * <p> * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match * to the rule names. * </p> * * @return A Java Future containing the result of the ListRules operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>InternalException This exception occurs due to unexpected causes.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.</li> * </ul> * @sample CloudWatchEventsAsyncClient.ListRules * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API * Documentation</a> */ default CompletableFuture<ListRulesResponse> listRules() { return listRules(ListRulesRequest.builder().build()); }
/** * <p> * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match * to the rule names. * </p> * <p> * ListRules does not list the targets of a rule. To see the targets associated with a rule, use * <a>ListTargetsByRule</a>. * </p> * * @return A Java Future containing the result of the ListRules operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>InternalException This exception occurs due to unexpected causes.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.</li> * </ul> * @sample CloudWatchEventsAsyncClient.ListRules * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API * Documentation</a> */ default CompletableFuture<ListRulesResponse> listRules() { return listRules(ListRulesRequest.builder().build()); }
/** * <p> * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match * to the rule names. * </p> * <p> * ListRules does not list the targets of a rule. To see the targets associated with a rule, use * <a>ListTargetsByRule</a>. * </p> * * @return Result of the ListRules operation returned by the service. * @throws InternalException * This exception occurs due to unexpected causes. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CloudWatchEventsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CloudWatchEventsClient.ListRules * @see #listRules(ListRulesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API * Documentation</a> */ default ListRulesResponse listRules() throws InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return listRules(ListRulesRequest.builder().build()); }
return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());