/** * <p> * Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of * the event categories and source types in <a * href="http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with Events and Notifications</a> * in the <i>AWS Database Migration Service User Guide.</i> * </p> * * @return A Java Future containing the result of the DescribeEventCategories operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <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>DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.</li> * </ul> * @sample DatabaseMigrationAsyncClient.DescribeEventCategories * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories" target="_top">AWS * API Documentation</a> */ default CompletableFuture<DescribeEventCategoriesResponse> describeEventCategories() { return describeEventCategories(DescribeEventCategoriesRequest.builder().build()); }
/** * <p> * Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of * the event categories and source types in <a * href="http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with Events and Notifications</a> * in the <i>AWS Database Migration Service User Guide.</i> * </p> * * @return A Java Future containing the result of the DescribeEventCategories operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <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>DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.</li> * </ul> * @sample DatabaseMigrationAsyncClient.DescribeEventCategories * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories" target="_top">AWS * API Documentation</a> */ default CompletableFuture<DescribeEventCategoriesResponse> describeEventCategories() { return describeEventCategories(DescribeEventCategoriesRequest.builder().build()); }
/** * <p> * Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of * the event categories and source types in <a * href="http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html"> Working with Events and Notifications * </a> in the AWS Database Migration Service User Guide. * </p> * * @return A Java Future containing the result of the DescribeEventCategories operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <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>DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.</li> * </ul> * @sample DatabaseMigrationAsyncClient.DescribeEventCategories * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories" target="_top">AWS * API Documentation</a> */ default CompletableFuture<DescribeEventCategoriesResponse> describeEventCategories() { return describeEventCategories(DescribeEventCategoriesRequest.builder().build()); }
return describeEventCategories(DescribeEventCategoriesRequest.builder().applyMutation(describeEventCategoriesRequest) .build());
return describeEventCategories(DescribeEventCategoriesRequest.builder().applyMutation(describeEventCategoriesRequest) .build());
return describeEventCategories(DescribeEventCategoriesRequest.builder().applyMutation(describeEventCategoriesRequest) .build());