Interface MachineLearningWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface MachineLearningWaiter 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 interfaceMachineLearningWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilBatchPredictionAvailable
default WaiterResponse<DescribeBatchPredictionsResponse> waitUntilBatchPredictionAvailable(DescribeBatchPredictionsRequest describeBatchPredictionsRequest)
PollsMachineLearningClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBatchPredictionAvailable
default WaiterResponse<DescribeBatchPredictionsResponse> waitUntilBatchPredictionAvailable(Consumer<DescribeBatchPredictionsRequest.Builder> describeBatchPredictionsRequest)
PollsMachineLearningClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilBatchPredictionAvailable
default WaiterResponse<DescribeBatchPredictionsResponse> waitUntilBatchPredictionAvailable(DescribeBatchPredictionsRequest describeBatchPredictionsRequest, WaiterOverrideConfiguration overrideConfig)
PollsMachineLearningClient.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 WaiterResponse<DescribeBatchPredictionsResponse> waitUntilBatchPredictionAvailable(Consumer<DescribeBatchPredictionsRequest.Builder> describeBatchPredictionsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMachineLearningClient.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 WaiterResponse<DescribeDataSourcesResponse> waitUntilDataSourceAvailable(DescribeDataSourcesRequest describeDataSourcesRequest)
PollsMachineLearningClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default WaiterResponse<DescribeDataSourcesResponse> waitUntilDataSourceAvailable(Consumer<DescribeDataSourcesRequest.Builder> describeDataSourcesRequest)
PollsMachineLearningClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilDataSourceAvailable
default WaiterResponse<DescribeDataSourcesResponse> waitUntilDataSourceAvailable(DescribeDataSourcesRequest describeDataSourcesRequest, WaiterOverrideConfiguration overrideConfig)
PollsMachineLearningClient.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 WaiterResponse<DescribeDataSourcesResponse> waitUntilDataSourceAvailable(Consumer<DescribeDataSourcesRequest.Builder> describeDataSourcesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMachineLearningClient.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 WaiterResponse<DescribeEvaluationsResponse> waitUntilEvaluationAvailable(DescribeEvaluationsRequest describeEvaluationsRequest)
PollsMachineLearningClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default WaiterResponse<DescribeEvaluationsResponse> waitUntilEvaluationAvailable(Consumer<DescribeEvaluationsRequest.Builder> describeEvaluationsRequest)
PollsMachineLearningClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEvaluationAvailable
default WaiterResponse<DescribeEvaluationsResponse> waitUntilEvaluationAvailable(DescribeEvaluationsRequest describeEvaluationsRequest, WaiterOverrideConfiguration overrideConfig)
PollsMachineLearningClient.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 WaiterResponse<DescribeEvaluationsResponse> waitUntilEvaluationAvailable(Consumer<DescribeEvaluationsRequest.Builder> describeEvaluationsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMachineLearningClient.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 WaiterResponse<DescribeMlModelsResponse> waitUntilMLModelAvailable(DescribeMlModelsRequest describeMlModelsRequest)
PollsMachineLearningClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default WaiterResponse<DescribeMlModelsResponse> waitUntilMLModelAvailable(Consumer<DescribeMlModelsRequest.Builder> describeMlModelsRequest)
PollsMachineLearningClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMLModelAvailable
default WaiterResponse<DescribeMlModelsResponse> waitUntilMLModelAvailable(DescribeMlModelsRequest describeMlModelsRequest, WaiterOverrideConfiguration overrideConfig)
PollsMachineLearningClient.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 WaiterResponse<DescribeMlModelsResponse> waitUntilMLModelAvailable(Consumer<DescribeMlModelsRequest.Builder> describeMlModelsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMachineLearningClient.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 MachineLearningWaiter.Builder builder()
Create a builder that can be used to configure and create aMachineLearningWaiter.- Returns:
- a builder
-
create
static MachineLearningWaiter create()
Create an instance ofMachineLearningWaiterwith the default configuration.A default
MachineLearningClientwill 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
MachineLearningWaiter
-
-