@Override public CompletableFuture<DescribeEventsResponse> nextPage(final DescribeEventsResponse previousPage) { if (previousPage == null) { return client.describeEvents(firstRequest); } return client.describeEvents(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public CompletableFuture<DescribeEventsResponse> nextPage(final DescribeEventsResponse previousPage) { if (previousPage == null) { return client.describeEvents(firstRequest); } return client.describeEvents(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public CompletableFuture<DescribeEventsResponse> nextPage(final DescribeEventsResponse previousPage) { if (previousPage == null) { return client.describeEvents(firstRequest); } return client.describeEvents(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
/** * <p> * Lists events for a given source identifier and source type. You can also specify a start and end time. For more * information on AWS DMS events, see <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 User Guide.</i> * </p> * * @return A Java Future containing the result of the DescribeEvents 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.DescribeEvents * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeEventsResponse> describeEvents() { return describeEvents(DescribeEventsRequest.builder().build()); }
/** * <p> * Lists events for a given source identifier and source type. You can also specify a start and end time. For more * information on AWS DMS events, see <a href="http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html"> * Working with Events and Notifications </a>. * </p> * * @return A Java Future containing the result of the DescribeEvents 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.DescribeEvents * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeEventsResponse> describeEvents() { return describeEvents(DescribeEventsRequest.builder().build()); }
/** * <p> * Lists events for a given source identifier and source type. You can also specify a start and end time. For more * information on AWS DMS events, see <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 User Guide.</i> * </p> * * @return A Java Future containing the result of the DescribeEvents 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.DescribeEvents * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeEventsResponse> describeEvents() { return describeEvents(DescribeEventsRequest.builder().build()); }
return describeEvents(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());
return describeEvents(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());
return describeEvents(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());