Interface MachineLearningAsyncWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface MachineLearningAsyncWaiter extends SdkAutoCloseable
Waiter utility class that polls a resource until a desired state is reached or until it is determined that the resource will never enter into the desired state. This can be created using the staticbuilder()method
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMachineLearningAsyncWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilBatchPredictionAvailable
default CompletableFuture<WaiterResponse<DescribeBatchPredictionsResponse>> waitUntilBatchPredictionAvailable(DescribeBatchPredictionsRequest describeBatchPredictionsRequest)
PollsMachineLearningAsyncClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)API until the desired conditionBatchPredictionAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeBatchPredictionsRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilBatchPredictionAvailable
default CompletableFuture<WaiterResponse<DescribeBatchPredictionsResponse>> waitUntilBatchPredictionAvailable(Consumer<DescribeBatchPredictionsRequest.Builder> describeBatchPredictionsRequest)
PollsMachineLearningAsyncClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)API until the desired conditionBatchPredictionAvailableis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeBatchPredictionsRequest.builder()- Parameters:
describeBatchPredictionsRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBatchPredictionAvailable
default CompletableFuture<WaiterResponse<DescribeBatchPredictionsResponse>> waitUntilBatchPredictionAvailable(DescribeBatchPredictionsRequest describeBatchPredictionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsMachineLearningAsyncClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)API until the desired conditionBatchPredictionAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeBatchPredictionsRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBatchPredictionAvailable
default CompletableFuture<WaiterResponse<DescribeBatchPredictionsResponse>> waitUntilBatchPredictionAvailable(Consumer<DescribeBatchPredictionsRequest.Builder> describeBatchPredictionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMachineLearningAsyncClient.describeBatchPredictions(software.amazon.awssdk.services.machinelearning.model.DescribeBatchPredictionsRequest)API until the desired conditionBatchPredictionAvailableis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeBatchPredictionsRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default CompletableFuture<WaiterResponse<DescribeDataSourcesResponse>> waitUntilDataSourceAvailable(DescribeDataSourcesRequest describeDataSourcesRequest)
PollsMachineLearningAsyncClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)API until the desired conditionDataSourceAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDataSourcesRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilDataSourceAvailable
default CompletableFuture<WaiterResponse<DescribeDataSourcesResponse>> waitUntilDataSourceAvailable(Consumer<DescribeDataSourcesRequest.Builder> describeDataSourcesRequest)
PollsMachineLearningAsyncClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)API until the desired conditionDataSourceAvailableis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeDataSourcesRequest.builder()- Parameters:
describeDataSourcesRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default CompletableFuture<WaiterResponse<DescribeDataSourcesResponse>> waitUntilDataSourceAvailable(DescribeDataSourcesRequest describeDataSourcesRequest, WaiterOverrideConfiguration overrideConfig)
PollsMachineLearningAsyncClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)API until the desired conditionDataSourceAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDataSourcesRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default CompletableFuture<WaiterResponse<DescribeDataSourcesResponse>> waitUntilDataSourceAvailable(Consumer<DescribeDataSourcesRequest.Builder> describeDataSourcesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMachineLearningAsyncClient.describeDataSources(software.amazon.awssdk.services.machinelearning.model.DescribeDataSourcesRequest)API until the desired conditionDataSourceAvailableis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeDataSourcesRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default CompletableFuture<WaiterResponse<DescribeEvaluationsResponse>> waitUntilEvaluationAvailable(DescribeEvaluationsRequest describeEvaluationsRequest)
PollsMachineLearningAsyncClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)API until the desired conditionEvaluationAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeEvaluationsRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilEvaluationAvailable
default CompletableFuture<WaiterResponse<DescribeEvaluationsResponse>> waitUntilEvaluationAvailable(Consumer<DescribeEvaluationsRequest.Builder> describeEvaluationsRequest)
PollsMachineLearningAsyncClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)API until the desired conditionEvaluationAvailableis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeEvaluationsRequest.builder()- Parameters:
describeEvaluationsRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default CompletableFuture<WaiterResponse<DescribeEvaluationsResponse>> waitUntilEvaluationAvailable(DescribeEvaluationsRequest describeEvaluationsRequest, WaiterOverrideConfiguration overrideConfig)
PollsMachineLearningAsyncClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)API until the desired conditionEvaluationAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeEvaluationsRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default CompletableFuture<WaiterResponse<DescribeEvaluationsResponse>> waitUntilEvaluationAvailable(Consumer<DescribeEvaluationsRequest.Builder> describeEvaluationsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMachineLearningAsyncClient.describeEvaluations(software.amazon.awssdk.services.machinelearning.model.DescribeEvaluationsRequest)API until the desired conditionEvaluationAvailableis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeEvaluationsRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default CompletableFuture<WaiterResponse<DescribeMlModelsResponse>> waitUntilMLModelAvailable(DescribeMlModelsRequest describeMlModelsRequest)
PollsMachineLearningAsyncClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)API until the desired conditionMLModelAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMlModelsRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilMLModelAvailable
default CompletableFuture<WaiterResponse<DescribeMlModelsResponse>> waitUntilMLModelAvailable(Consumer<DescribeMlModelsRequest.Builder> describeMlModelsRequest)
PollsMachineLearningAsyncClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)API until the desired conditionMLModelAvailableis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeMlModelsRequest.builder()- Parameters:
describeMlModelsRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default CompletableFuture<WaiterResponse<DescribeMlModelsResponse>> waitUntilMLModelAvailable(DescribeMlModelsRequest describeMlModelsRequest, WaiterOverrideConfiguration overrideConfig)
PollsMachineLearningAsyncClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)API until the desired conditionMLModelAvailableis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMlModelsRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default CompletableFuture<WaiterResponse<DescribeMlModelsResponse>> waitUntilMLModelAvailable(Consumer<DescribeMlModelsRequest.Builder> describeMlModelsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMachineLearningAsyncClient.describeMLModels(software.amazon.awssdk.services.machinelearning.model.DescribeMlModelsRequest)API until the desired conditionMLModelAvailableis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeMlModelsRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
builder
static MachineLearningAsyncWaiter.Builder builder()
Create a builder that can be used to configure and create aMachineLearningAsyncWaiter.- Returns:
- a builder
-
create
static MachineLearningAsyncWaiter create()
Create an instance ofMachineLearningAsyncWaiterwith the default configuration.A default
MachineLearningAsyncClientwill be created to poll resources. It is recommended to share a single instance of the waiter created via this method. If it is not desirable to share a waiter instance, invokeSdkAutoCloseable.close()to release the resources once the waiter is not needed.- Returns:
- an instance of
MachineLearningAsyncWaiter
-
-