software.amazon.awssdk.services.entityresolution.EntityResolutionAsyncClient Maven / Gradle / Ivy
Show all versions of entityresolution Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.entityresolution;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.entityresolution.model.AddPolicyStatementRequest;
import software.amazon.awssdk.services.entityresolution.model.AddPolicyStatementResponse;
import software.amazon.awssdk.services.entityresolution.model.BatchDeleteUniqueIdRequest;
import software.amazon.awssdk.services.entityresolution.model.BatchDeleteUniqueIdResponse;
import software.amazon.awssdk.services.entityresolution.model.CreateIdMappingWorkflowRequest;
import software.amazon.awssdk.services.entityresolution.model.CreateIdMappingWorkflowResponse;
import software.amazon.awssdk.services.entityresolution.model.CreateIdNamespaceRequest;
import software.amazon.awssdk.services.entityresolution.model.CreateIdNamespaceResponse;
import software.amazon.awssdk.services.entityresolution.model.CreateMatchingWorkflowRequest;
import software.amazon.awssdk.services.entityresolution.model.CreateMatchingWorkflowResponse;
import software.amazon.awssdk.services.entityresolution.model.CreateSchemaMappingRequest;
import software.amazon.awssdk.services.entityresolution.model.CreateSchemaMappingResponse;
import software.amazon.awssdk.services.entityresolution.model.DeleteIdMappingWorkflowRequest;
import software.amazon.awssdk.services.entityresolution.model.DeleteIdMappingWorkflowResponse;
import software.amazon.awssdk.services.entityresolution.model.DeleteIdNamespaceRequest;
import software.amazon.awssdk.services.entityresolution.model.DeleteIdNamespaceResponse;
import software.amazon.awssdk.services.entityresolution.model.DeleteMatchingWorkflowRequest;
import software.amazon.awssdk.services.entityresolution.model.DeleteMatchingWorkflowResponse;
import software.amazon.awssdk.services.entityresolution.model.DeletePolicyStatementRequest;
import software.amazon.awssdk.services.entityresolution.model.DeletePolicyStatementResponse;
import software.amazon.awssdk.services.entityresolution.model.DeleteSchemaMappingRequest;
import software.amazon.awssdk.services.entityresolution.model.DeleteSchemaMappingResponse;
import software.amazon.awssdk.services.entityresolution.model.GetIdMappingJobRequest;
import software.amazon.awssdk.services.entityresolution.model.GetIdMappingJobResponse;
import software.amazon.awssdk.services.entityresolution.model.GetIdMappingWorkflowRequest;
import software.amazon.awssdk.services.entityresolution.model.GetIdMappingWorkflowResponse;
import software.amazon.awssdk.services.entityresolution.model.GetIdNamespaceRequest;
import software.amazon.awssdk.services.entityresolution.model.GetIdNamespaceResponse;
import software.amazon.awssdk.services.entityresolution.model.GetMatchIdRequest;
import software.amazon.awssdk.services.entityresolution.model.GetMatchIdResponse;
import software.amazon.awssdk.services.entityresolution.model.GetMatchingJobRequest;
import software.amazon.awssdk.services.entityresolution.model.GetMatchingJobResponse;
import software.amazon.awssdk.services.entityresolution.model.GetMatchingWorkflowRequest;
import software.amazon.awssdk.services.entityresolution.model.GetMatchingWorkflowResponse;
import software.amazon.awssdk.services.entityresolution.model.GetPolicyRequest;
import software.amazon.awssdk.services.entityresolution.model.GetPolicyResponse;
import software.amazon.awssdk.services.entityresolution.model.GetProviderServiceRequest;
import software.amazon.awssdk.services.entityresolution.model.GetProviderServiceResponse;
import software.amazon.awssdk.services.entityresolution.model.GetSchemaMappingRequest;
import software.amazon.awssdk.services.entityresolution.model.GetSchemaMappingResponse;
import software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsRequest;
import software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsResponse;
import software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsRequest;
import software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsResponse;
import software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesRequest;
import software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesResponse;
import software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsRequest;
import software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsResponse;
import software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsRequest;
import software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsResponse;
import software.amazon.awssdk.services.entityresolution.model.ListProviderServicesRequest;
import software.amazon.awssdk.services.entityresolution.model.ListProviderServicesResponse;
import software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsRequest;
import software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsResponse;
import software.amazon.awssdk.services.entityresolution.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.entityresolution.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.entityresolution.model.PutPolicyRequest;
import software.amazon.awssdk.services.entityresolution.model.PutPolicyResponse;
import software.amazon.awssdk.services.entityresolution.model.StartIdMappingJobRequest;
import software.amazon.awssdk.services.entityresolution.model.StartIdMappingJobResponse;
import software.amazon.awssdk.services.entityresolution.model.StartMatchingJobRequest;
import software.amazon.awssdk.services.entityresolution.model.StartMatchingJobResponse;
import software.amazon.awssdk.services.entityresolution.model.TagResourceRequest;
import software.amazon.awssdk.services.entityresolution.model.TagResourceResponse;
import software.amazon.awssdk.services.entityresolution.model.UntagResourceRequest;
import software.amazon.awssdk.services.entityresolution.model.UntagResourceResponse;
import software.amazon.awssdk.services.entityresolution.model.UpdateIdMappingWorkflowRequest;
import software.amazon.awssdk.services.entityresolution.model.UpdateIdMappingWorkflowResponse;
import software.amazon.awssdk.services.entityresolution.model.UpdateIdNamespaceRequest;
import software.amazon.awssdk.services.entityresolution.model.UpdateIdNamespaceResponse;
import software.amazon.awssdk.services.entityresolution.model.UpdateMatchingWorkflowRequest;
import software.amazon.awssdk.services.entityresolution.model.UpdateMatchingWorkflowResponse;
import software.amazon.awssdk.services.entityresolution.model.UpdateSchemaMappingRequest;
import software.amazon.awssdk.services.entityresolution.model.UpdateSchemaMappingResponse;
import software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingJobsPublisher;
import software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingWorkflowsPublisher;
import software.amazon.awssdk.services.entityresolution.paginators.ListIdNamespacesPublisher;
import software.amazon.awssdk.services.entityresolution.paginators.ListMatchingJobsPublisher;
import software.amazon.awssdk.services.entityresolution.paginators.ListMatchingWorkflowsPublisher;
import software.amazon.awssdk.services.entityresolution.paginators.ListProviderServicesPublisher;
import software.amazon.awssdk.services.entityresolution.paginators.ListSchemaMappingsPublisher;
/**
* Service client for accessing AWSEntityResolution asynchronously. This can be created using the static
* {@link #builder()} method.The asynchronous client performs non-blocking I/O when configured with any
* {@code SdkAsyncHttpClient} supported in the SDK. However, full non-blocking is not guaranteed as the async client may
* perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
* call.
*
*
* Welcome to the Entity Resolution API Reference.
*
*
* Entity Resolution is an Amazon Web Services service that provides pre-configured entity resolution capabilities that
* enable developers and analysts at advertising and marketing companies to build an accurate and complete view of their
* consumers.
*
*
* With Entity Resolution, you can match source records containing consumer identifiers, such as name, email address,
* and phone number. This is true even when these records have incomplete or conflicting identifiers. For example,
* Entity Resolution can effectively match a source record from a customer relationship management (CRM) system with a
* source record from a marketing system containing campaign information.
*
*
* To learn more about Entity Resolution concepts, procedures, and best practices, see the Entity Resolution User
* Guide.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface EntityResolutionAsyncClient extends AwsClient {
String SERVICE_NAME = "entityresolution";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "entityresolution";
/**
*
* Adds a policy statement object. To retrieve a list of existing policy statements, use the GetPolicy
* API.
*
*
* @param addPolicyStatementRequest
* @return A Java Future containing the result of the AddPolicyStatement operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.AddPolicyStatement
* @see AWS API Documentation
*/
default CompletableFuture addPolicyStatement(AddPolicyStatementRequest addPolicyStatementRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Adds a policy statement object. To retrieve a list of existing policy statements, use the GetPolicy
* API.
*
*
*
* This is a convenience which creates an instance of the {@link AddPolicyStatementRequest.Builder} avoiding the
* need to create one manually via {@link AddPolicyStatementRequest#builder()}
*
*
* @param addPolicyStatementRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.AddPolicyStatementRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the AddPolicyStatement operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.AddPolicyStatement
* @see AWS API Documentation
*/
default CompletableFuture addPolicyStatement(
Consumer addPolicyStatementRequest) {
return addPolicyStatement(AddPolicyStatementRequest.builder().applyMutation(addPolicyStatementRequest).build());
}
/**
*
* Deletes multiple unique IDs in a matching workflow.
*
*
* @param batchDeleteUniqueIdRequest
* @return A Java Future containing the result of the BatchDeleteUniqueId operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.BatchDeleteUniqueId
* @see AWS API Documentation
*/
default CompletableFuture batchDeleteUniqueId(
BatchDeleteUniqueIdRequest batchDeleteUniqueIdRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes multiple unique IDs in a matching workflow.
*
*
*
* This is a convenience which creates an instance of the {@link BatchDeleteUniqueIdRequest.Builder} avoiding the
* need to create one manually via {@link BatchDeleteUniqueIdRequest#builder()}
*
*
* @param batchDeleteUniqueIdRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.BatchDeleteUniqueIdRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the BatchDeleteUniqueId operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.BatchDeleteUniqueId
* @see AWS API Documentation
*/
default CompletableFuture batchDeleteUniqueId(
Consumer batchDeleteUniqueIdRequest) {
return batchDeleteUniqueId(BatchDeleteUniqueIdRequest.builder().applyMutation(batchDeleteUniqueIdRequest).build());
}
/**
*
* Creates an IdMappingWorkflow
object which stores the configuration of the data processing job to be
* run. Each IdMappingWorkflow
must have a unique workflow name. To modify an existing workflow, use
* the UpdateIdMappingWorkflow
API.
*
*
* @param createIdMappingWorkflowRequest
* @return A Java Future containing the result of the CreateIdMappingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.CreateIdMappingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture createIdMappingWorkflow(
CreateIdMappingWorkflowRequest createIdMappingWorkflowRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an IdMappingWorkflow
object which stores the configuration of the data processing job to be
* run. Each IdMappingWorkflow
must have a unique workflow name. To modify an existing workflow, use
* the UpdateIdMappingWorkflow
API.
*
*
*
* This is a convenience which creates an instance of the {@link CreateIdMappingWorkflowRequest.Builder} avoiding
* the need to create one manually via {@link CreateIdMappingWorkflowRequest#builder()}
*
*
* @param createIdMappingWorkflowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.CreateIdMappingWorkflowRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the CreateIdMappingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.CreateIdMappingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture createIdMappingWorkflow(
Consumer createIdMappingWorkflowRequest) {
return createIdMappingWorkflow(CreateIdMappingWorkflowRequest.builder().applyMutation(createIdMappingWorkflowRequest)
.build());
}
/**
*
* Creates an ID namespace object which will help customers provide metadata explaining their dataset and how to use
* it. Each ID namespace must have a unique name. To modify an existing ID namespace, use the
* UpdateIdNamespace
API.
*
*
* @param createIdNamespaceRequest
* @return A Java Future containing the result of the CreateIdNamespace operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.CreateIdNamespace
* @see AWS API Documentation
*/
default CompletableFuture createIdNamespace(CreateIdNamespaceRequest createIdNamespaceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an ID namespace object which will help customers provide metadata explaining their dataset and how to use
* it. Each ID namespace must have a unique name. To modify an existing ID namespace, use the
* UpdateIdNamespace
API.
*
*
*
* This is a convenience which creates an instance of the {@link CreateIdNamespaceRequest.Builder} avoiding the need
* to create one manually via {@link CreateIdNamespaceRequest#builder()}
*
*
* @param createIdNamespaceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.CreateIdNamespaceRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the CreateIdNamespace operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.CreateIdNamespace
* @see AWS API Documentation
*/
default CompletableFuture createIdNamespace(
Consumer createIdNamespaceRequest) {
return createIdNamespace(CreateIdNamespaceRequest.builder().applyMutation(createIdNamespaceRequest).build());
}
/**
*
* Creates a MatchingWorkflow
object which stores the configuration of the data processing job to be
* run. It is important to note that there should not be a pre-existing MatchingWorkflow
with the same
* name. To modify an existing workflow, utilize the UpdateMatchingWorkflow
API.
*
*
* @param createMatchingWorkflowRequest
* @return A Java Future containing the result of the CreateMatchingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.CreateMatchingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture createMatchingWorkflow(
CreateMatchingWorkflowRequest createMatchingWorkflowRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a MatchingWorkflow
object which stores the configuration of the data processing job to be
* run. It is important to note that there should not be a pre-existing MatchingWorkflow
with the same
* name. To modify an existing workflow, utilize the UpdateMatchingWorkflow
API.
*
*
*
* This is a convenience which creates an instance of the {@link CreateMatchingWorkflowRequest.Builder} avoiding the
* need to create one manually via {@link CreateMatchingWorkflowRequest#builder()}
*
*
* @param createMatchingWorkflowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.CreateMatchingWorkflowRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the CreateMatchingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.CreateMatchingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture createMatchingWorkflow(
Consumer createMatchingWorkflowRequest) {
return createMatchingWorkflow(CreateMatchingWorkflowRequest.builder().applyMutation(createMatchingWorkflowRequest)
.build());
}
/**
*
* Creates a schema mapping, which defines the schema of the input customer records table. The
* SchemaMapping
also provides Entity Resolution with some metadata about the table, such as the
* attribute types of the columns and which columns to match on.
*
*
* @param createSchemaMappingRequest
* @return A Java Future containing the result of the CreateSchemaMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.CreateSchemaMapping
* @see AWS API Documentation
*/
default CompletableFuture createSchemaMapping(
CreateSchemaMappingRequest createSchemaMappingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a schema mapping, which defines the schema of the input customer records table. The
* SchemaMapping
also provides Entity Resolution with some metadata about the table, such as the
* attribute types of the columns and which columns to match on.
*
*
*
* This is a convenience which creates an instance of the {@link CreateSchemaMappingRequest.Builder} avoiding the
* need to create one manually via {@link CreateSchemaMappingRequest#builder()}
*
*
* @param createSchemaMappingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.CreateSchemaMappingRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the CreateSchemaMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.CreateSchemaMapping
* @see AWS API Documentation
*/
default CompletableFuture createSchemaMapping(
Consumer createSchemaMappingRequest) {
return createSchemaMapping(CreateSchemaMappingRequest.builder().applyMutation(createSchemaMappingRequest).build());
}
/**
*
* Deletes the IdMappingWorkflow
with a given name. This operation will succeed even if a workflow with
* the given name does not exist.
*
*
* @param deleteIdMappingWorkflowRequest
* @return A Java Future containing the result of the DeleteIdMappingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeleteIdMappingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture deleteIdMappingWorkflow(
DeleteIdMappingWorkflowRequest deleteIdMappingWorkflowRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the IdMappingWorkflow
with a given name. This operation will succeed even if a workflow with
* the given name does not exist.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteIdMappingWorkflowRequest.Builder} avoiding
* the need to create one manually via {@link DeleteIdMappingWorkflowRequest#builder()}
*
*
* @param deleteIdMappingWorkflowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.DeleteIdMappingWorkflowRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeleteIdMappingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeleteIdMappingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture deleteIdMappingWorkflow(
Consumer deleteIdMappingWorkflowRequest) {
return deleteIdMappingWorkflow(DeleteIdMappingWorkflowRequest.builder().applyMutation(deleteIdMappingWorkflowRequest)
.build());
}
/**
*
* Deletes the IdNamespace
with a given name.
*
*
* @param deleteIdNamespaceRequest
* @return A Java Future containing the result of the DeleteIdNamespace operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeleteIdNamespace
* @see AWS API Documentation
*/
default CompletableFuture deleteIdNamespace(DeleteIdNamespaceRequest deleteIdNamespaceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the IdNamespace
with a given name.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteIdNamespaceRequest.Builder} avoiding the need
* to create one manually via {@link DeleteIdNamespaceRequest#builder()}
*
*
* @param deleteIdNamespaceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.DeleteIdNamespaceRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the DeleteIdNamespace operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeleteIdNamespace
* @see AWS API Documentation
*/
default CompletableFuture deleteIdNamespace(
Consumer deleteIdNamespaceRequest) {
return deleteIdNamespace(DeleteIdNamespaceRequest.builder().applyMutation(deleteIdNamespaceRequest).build());
}
/**
*
* Deletes the MatchingWorkflow
with a given name. This operation will succeed even if a workflow with
* the given name does not exist.
*
*
* @param deleteMatchingWorkflowRequest
* @return A Java Future containing the result of the DeleteMatchingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeleteMatchingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture deleteMatchingWorkflow(
DeleteMatchingWorkflowRequest deleteMatchingWorkflowRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the MatchingWorkflow
with a given name. This operation will succeed even if a workflow with
* the given name does not exist.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteMatchingWorkflowRequest.Builder} avoiding the
* need to create one manually via {@link DeleteMatchingWorkflowRequest#builder()}
*
*
* @param deleteMatchingWorkflowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.DeleteMatchingWorkflowRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeleteMatchingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeleteMatchingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture deleteMatchingWorkflow(
Consumer deleteMatchingWorkflowRequest) {
return deleteMatchingWorkflow(DeleteMatchingWorkflowRequest.builder().applyMutation(deleteMatchingWorkflowRequest)
.build());
}
/**
*
* Deletes the policy statement.
*
*
* @param deletePolicyStatementRequest
* @return A Java Future containing the result of the DeletePolicyStatement operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeletePolicyStatement
* @see AWS API Documentation
*/
default CompletableFuture deletePolicyStatement(
DeletePolicyStatementRequest deletePolicyStatementRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the policy statement.
*
*
*
* This is a convenience which creates an instance of the {@link DeletePolicyStatementRequest.Builder} avoiding the
* need to create one manually via {@link DeletePolicyStatementRequest#builder()}
*
*
* @param deletePolicyStatementRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.DeletePolicyStatementRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeletePolicyStatement operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeletePolicyStatement
* @see AWS API Documentation
*/
default CompletableFuture deletePolicyStatement(
Consumer deletePolicyStatementRequest) {
return deletePolicyStatement(DeletePolicyStatementRequest.builder().applyMutation(deletePolicyStatementRequest).build());
}
/**
*
* Deletes the SchemaMapping
with a given name. This operation will succeed even if a schema with the
* given name does not exist. This operation will fail if there is a MatchingWorkflow
object that
* references the SchemaMapping
in the workflow's InputSourceConfig
.
*
*
* @param deleteSchemaMappingRequest
* @return A Java Future containing the result of the DeleteSchemaMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeleteSchemaMapping
* @see AWS API Documentation
*/
default CompletableFuture deleteSchemaMapping(
DeleteSchemaMappingRequest deleteSchemaMappingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the SchemaMapping
with a given name. This operation will succeed even if a schema with the
* given name does not exist. This operation will fail if there is a MatchingWorkflow
object that
* references the SchemaMapping
in the workflow's InputSourceConfig
.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteSchemaMappingRequest.Builder} avoiding the
* need to create one manually via {@link DeleteSchemaMappingRequest#builder()}
*
*
* @param deleteSchemaMappingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.DeleteSchemaMappingRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeleteSchemaMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.DeleteSchemaMapping
* @see AWS API Documentation
*/
default CompletableFuture deleteSchemaMapping(
Consumer deleteSchemaMappingRequest) {
return deleteSchemaMapping(DeleteSchemaMappingRequest.builder().applyMutation(deleteSchemaMappingRequest).build());
}
/**
*
* Gets the status, metrics, and errors (if there are any) that are associated with a job.
*
*
* @param getIdMappingJobRequest
* @return A Java Future containing the result of the GetIdMappingJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetIdMappingJob
* @see AWS API Documentation
*/
default CompletableFuture getIdMappingJob(GetIdMappingJobRequest getIdMappingJobRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the status, metrics, and errors (if there are any) that are associated with a job.
*
*
*
* This is a convenience which creates an instance of the {@link GetIdMappingJobRequest.Builder} avoiding the need
* to create one manually via {@link GetIdMappingJobRequest#builder()}
*
*
* @param getIdMappingJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetIdMappingJobRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetIdMappingJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetIdMappingJob
* @see AWS API Documentation
*/
default CompletableFuture getIdMappingJob(
Consumer getIdMappingJobRequest) {
return getIdMappingJob(GetIdMappingJobRequest.builder().applyMutation(getIdMappingJobRequest).build());
}
/**
*
* Returns the IdMappingWorkflow
with a given name, if it exists.
*
*
* @param getIdMappingWorkflowRequest
* @return A Java Future containing the result of the GetIdMappingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetIdMappingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture getIdMappingWorkflow(
GetIdMappingWorkflowRequest getIdMappingWorkflowRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the IdMappingWorkflow
with a given name, if it exists.
*
*
*
* This is a convenience which creates an instance of the {@link GetIdMappingWorkflowRequest.Builder} avoiding the
* need to create one manually via {@link GetIdMappingWorkflowRequest#builder()}
*
*
* @param getIdMappingWorkflowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetIdMappingWorkflowRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the GetIdMappingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetIdMappingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture getIdMappingWorkflow(
Consumer getIdMappingWorkflowRequest) {
return getIdMappingWorkflow(GetIdMappingWorkflowRequest.builder().applyMutation(getIdMappingWorkflowRequest).build());
}
/**
*
* Returns the IdNamespace
with a given name, if it exists.
*
*
* @param getIdNamespaceRequest
* @return A Java Future containing the result of the GetIdNamespace operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetIdNamespace
* @see AWS API Documentation
*/
default CompletableFuture getIdNamespace(GetIdNamespaceRequest getIdNamespaceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the IdNamespace
with a given name, if it exists.
*
*
*
* This is a convenience which creates an instance of the {@link GetIdNamespaceRequest.Builder} avoiding the need to
* create one manually via {@link GetIdNamespaceRequest#builder()}
*
*
* @param getIdNamespaceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetIdNamespaceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetIdNamespace operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetIdNamespace
* @see AWS API Documentation
*/
default CompletableFuture getIdNamespace(Consumer getIdNamespaceRequest) {
return getIdNamespace(GetIdNamespaceRequest.builder().applyMutation(getIdNamespaceRequest).build());
}
/**
*
* Returns the corresponding Match ID of a customer record if the record has been processed.
*
*
* @param getMatchIdRequest
* @return A Java Future containing the result of the GetMatchId operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetMatchId
* @see AWS
* API Documentation
*/
default CompletableFuture getMatchId(GetMatchIdRequest getMatchIdRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the corresponding Match ID of a customer record if the record has been processed.
*
*
*
* This is a convenience which creates an instance of the {@link GetMatchIdRequest.Builder} avoiding the need to
* create one manually via {@link GetMatchIdRequest#builder()}
*
*
* @param getMatchIdRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetMatchIdRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetMatchId operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetMatchId
* @see AWS
* API Documentation
*/
default CompletableFuture getMatchId(Consumer getMatchIdRequest) {
return getMatchId(GetMatchIdRequest.builder().applyMutation(getMatchIdRequest).build());
}
/**
*
* Gets the status, metrics, and errors (if there are any) that are associated with a job.
*
*
* @param getMatchingJobRequest
* @return A Java Future containing the result of the GetMatchingJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetMatchingJob
* @see AWS API Documentation
*/
default CompletableFuture getMatchingJob(GetMatchingJobRequest getMatchingJobRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the status, metrics, and errors (if there are any) that are associated with a job.
*
*
*
* This is a convenience which creates an instance of the {@link GetMatchingJobRequest.Builder} avoiding the need to
* create one manually via {@link GetMatchingJobRequest#builder()}
*
*
* @param getMatchingJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetMatchingJobRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetMatchingJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetMatchingJob
* @see AWS API Documentation
*/
default CompletableFuture getMatchingJob(Consumer getMatchingJobRequest) {
return getMatchingJob(GetMatchingJobRequest.builder().applyMutation(getMatchingJobRequest).build());
}
/**
*
* Returns the MatchingWorkflow
with a given name, if it exists.
*
*
* @param getMatchingWorkflowRequest
* @return A Java Future containing the result of the GetMatchingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetMatchingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture getMatchingWorkflow(
GetMatchingWorkflowRequest getMatchingWorkflowRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the MatchingWorkflow
with a given name, if it exists.
*
*
*
* This is a convenience which creates an instance of the {@link GetMatchingWorkflowRequest.Builder} avoiding the
* need to create one manually via {@link GetMatchingWorkflowRequest#builder()}
*
*
* @param getMatchingWorkflowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetMatchingWorkflowRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the GetMatchingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetMatchingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture getMatchingWorkflow(
Consumer getMatchingWorkflowRequest) {
return getMatchingWorkflow(GetMatchingWorkflowRequest.builder().applyMutation(getMatchingWorkflowRequest).build());
}
/**
*
* Returns the resource-based policy.
*
*
* @param getPolicyRequest
* @return A Java Future containing the result of the GetPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetPolicy
* @see AWS
* API Documentation
*/
default CompletableFuture getPolicy(GetPolicyRequest getPolicyRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the resource-based policy.
*
*
*
* This is a convenience which creates an instance of the {@link GetPolicyRequest.Builder} avoiding the need to
* create one manually via {@link GetPolicyRequest#builder()}
*
*
* @param getPolicyRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetPolicyRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetPolicy
* @see AWS
* API Documentation
*/
default CompletableFuture getPolicy(Consumer getPolicyRequest) {
return getPolicy(GetPolicyRequest.builder().applyMutation(getPolicyRequest).build());
}
/**
*
* Returns the ProviderService
of a given name.
*
*
* @param getProviderServiceRequest
* @return A Java Future containing the result of the GetProviderService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetProviderService
* @see AWS API Documentation
*/
default CompletableFuture getProviderService(GetProviderServiceRequest getProviderServiceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the ProviderService
of a given name.
*
*
*
* This is a convenience which creates an instance of the {@link GetProviderServiceRequest.Builder} avoiding the
* need to create one manually via {@link GetProviderServiceRequest#builder()}
*
*
* @param getProviderServiceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetProviderServiceRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the GetProviderService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetProviderService
* @see AWS API Documentation
*/
default CompletableFuture getProviderService(
Consumer getProviderServiceRequest) {
return getProviderService(GetProviderServiceRequest.builder().applyMutation(getProviderServiceRequest).build());
}
/**
*
* Returns the SchemaMapping of a given name.
*
*
* @param getSchemaMappingRequest
* @return A Java Future containing the result of the GetSchemaMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetSchemaMapping
* @see AWS API Documentation
*/
default CompletableFuture getSchemaMapping(GetSchemaMappingRequest getSchemaMappingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the SchemaMapping of a given name.
*
*
*
* This is a convenience which creates an instance of the {@link GetSchemaMappingRequest.Builder} avoiding the need
* to create one manually via {@link GetSchemaMappingRequest#builder()}
*
*
* @param getSchemaMappingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.GetSchemaMappingRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetSchemaMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.GetSchemaMapping
* @see AWS API Documentation
*/
default CompletableFuture getSchemaMapping(
Consumer getSchemaMappingRequest) {
return getSchemaMapping(GetSchemaMappingRequest.builder().applyMutation(getSchemaMappingRequest).build());
}
/**
*
* Lists all ID mapping jobs for a given workflow.
*
*
* @param listIdMappingJobsRequest
* @return A Java Future containing the result of the ListIdMappingJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdMappingJobs
* @see AWS API Documentation
*/
default CompletableFuture listIdMappingJobs(ListIdMappingJobsRequest listIdMappingJobsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all ID mapping jobs for a given workflow.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdMappingJobsRequest.Builder} avoiding the need
* to create one manually via {@link ListIdMappingJobsRequest#builder()}
*
*
* @param listIdMappingJobsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the ListIdMappingJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdMappingJobs
* @see AWS API Documentation
*/
default CompletableFuture listIdMappingJobs(
Consumer listIdMappingJobsRequest) {
return listIdMappingJobs(ListIdMappingJobsRequest.builder().applyMutation(listIdMappingJobsRequest).build());
}
/**
*
* This is a variant of
* {@link #listIdMappingJobs(software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingJobsPublisher publisher = client.listIdMappingJobsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingJobsPublisher publisher = client.listIdMappingJobsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdMappingJobs(software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsRequest)}
* operation.
*
*
* @param listIdMappingJobsRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdMappingJobs
* @see AWS API Documentation
*/
default ListIdMappingJobsPublisher listIdMappingJobsPaginator(ListIdMappingJobsRequest listIdMappingJobsRequest) {
return new ListIdMappingJobsPublisher(this, listIdMappingJobsRequest);
}
/**
*
* This is a variant of
* {@link #listIdMappingJobs(software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingJobsPublisher publisher = client.listIdMappingJobsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingJobsPublisher publisher = client.listIdMappingJobsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdMappingJobs(software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdMappingJobsRequest.Builder} avoiding the need
* to create one manually via {@link ListIdMappingJobsRequest#builder()}
*
*
* @param listIdMappingJobsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListIdMappingJobsRequest.Builder} to create
* a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdMappingJobs
* @see AWS API Documentation
*/
default ListIdMappingJobsPublisher listIdMappingJobsPaginator(
Consumer listIdMappingJobsRequest) {
return listIdMappingJobsPaginator(ListIdMappingJobsRequest.builder().applyMutation(listIdMappingJobsRequest).build());
}
/**
*
* Returns a list of all the IdMappingWorkflows
that have been created for an Amazon Web Services
* account.
*
*
* @param listIdMappingWorkflowsRequest
* @return A Java Future containing the result of the ListIdMappingWorkflows operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdMappingWorkflows
* @see AWS API Documentation
*/
default CompletableFuture listIdMappingWorkflows(
ListIdMappingWorkflowsRequest listIdMappingWorkflowsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of all the IdMappingWorkflows
that have been created for an Amazon Web Services
* account.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdMappingWorkflowsRequest.Builder} avoiding the
* need to create one manually via {@link ListIdMappingWorkflowsRequest#builder()}
*
*
* @param listIdMappingWorkflowsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListIdMappingWorkflows operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdMappingWorkflows
* @see AWS API Documentation
*/
default CompletableFuture listIdMappingWorkflows(
Consumer listIdMappingWorkflowsRequest) {
return listIdMappingWorkflows(ListIdMappingWorkflowsRequest.builder().applyMutation(listIdMappingWorkflowsRequest)
.build());
}
/**
*
* This is a variant of
* {@link #listIdMappingWorkflows(software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingWorkflowsPublisher publisher = client.listIdMappingWorkflowsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingWorkflowsPublisher publisher = client.listIdMappingWorkflowsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdMappingWorkflows(software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsRequest)}
* operation.
*
*
* @param listIdMappingWorkflowsRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdMappingWorkflows
* @see AWS API Documentation
*/
default ListIdMappingWorkflowsPublisher listIdMappingWorkflowsPaginator(
ListIdMappingWorkflowsRequest listIdMappingWorkflowsRequest) {
return new ListIdMappingWorkflowsPublisher(this, listIdMappingWorkflowsRequest);
}
/**
*
* This is a variant of
* {@link #listIdMappingWorkflows(software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingWorkflowsPublisher publisher = client.listIdMappingWorkflowsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdMappingWorkflowsPublisher publisher = client.listIdMappingWorkflowsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdMappingWorkflows(software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdMappingWorkflowsRequest.Builder} avoiding the
* need to create one manually via {@link ListIdMappingWorkflowsRequest#builder()}
*
*
* @param listIdMappingWorkflowsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListIdMappingWorkflowsRequest.Builder} to
* create a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdMappingWorkflows
* @see AWS API Documentation
*/
default ListIdMappingWorkflowsPublisher listIdMappingWorkflowsPaginator(
Consumer listIdMappingWorkflowsRequest) {
return listIdMappingWorkflowsPaginator(ListIdMappingWorkflowsRequest.builder()
.applyMutation(listIdMappingWorkflowsRequest).build());
}
/**
*
* Returns a list of all ID namespaces.
*
*
* @param listIdNamespacesRequest
* @return A Java Future containing the result of the ListIdNamespaces operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdNamespaces
* @see AWS API Documentation
*/
default CompletableFuture listIdNamespaces(ListIdNamespacesRequest listIdNamespacesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of all ID namespaces.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdNamespacesRequest.Builder} avoiding the need
* to create one manually via {@link ListIdNamespacesRequest#builder()}
*
*
* @param listIdNamespacesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListIdNamespaces operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdNamespaces
* @see AWS API Documentation
*/
default CompletableFuture listIdNamespaces(
Consumer listIdNamespacesRequest) {
return listIdNamespaces(ListIdNamespacesRequest.builder().applyMutation(listIdNamespacesRequest).build());
}
/**
*
* This is a variant of
* {@link #listIdNamespaces(software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdNamespacesPublisher publisher = client.listIdNamespacesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdNamespacesPublisher publisher = client.listIdNamespacesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdNamespaces(software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesRequest)}
* operation.
*
*
* @param listIdNamespacesRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdNamespaces
* @see AWS API Documentation
*/
default ListIdNamespacesPublisher listIdNamespacesPaginator(ListIdNamespacesRequest listIdNamespacesRequest) {
return new ListIdNamespacesPublisher(this, listIdNamespacesRequest);
}
/**
*
* This is a variant of
* {@link #listIdNamespaces(software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdNamespacesPublisher publisher = client.listIdNamespacesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListIdNamespacesPublisher publisher = client.listIdNamespacesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdNamespaces(software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdNamespacesRequest.Builder} avoiding the need
* to create one manually via {@link ListIdNamespacesRequest#builder()}
*
*
* @param listIdNamespacesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListIdNamespacesRequest.Builder} to create a
* request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListIdNamespaces
* @see AWS API Documentation
*/
default ListIdNamespacesPublisher listIdNamespacesPaginator(Consumer listIdNamespacesRequest) {
return listIdNamespacesPaginator(ListIdNamespacesRequest.builder().applyMutation(listIdNamespacesRequest).build());
}
/**
*
* Lists all jobs for a given workflow.
*
*
* @param listMatchingJobsRequest
* @return A Java Future containing the result of the ListMatchingJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListMatchingJobs
* @see AWS API Documentation
*/
default CompletableFuture listMatchingJobs(ListMatchingJobsRequest listMatchingJobsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all jobs for a given workflow.
*
*
*
* This is a convenience which creates an instance of the {@link ListMatchingJobsRequest.Builder} avoiding the need
* to create one manually via {@link ListMatchingJobsRequest#builder()}
*
*
* @param listMatchingJobsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListMatchingJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListMatchingJobs
* @see AWS API Documentation
*/
default CompletableFuture listMatchingJobs(
Consumer listMatchingJobsRequest) {
return listMatchingJobs(ListMatchingJobsRequest.builder().applyMutation(listMatchingJobsRequest).build());
}
/**
*
* This is a variant of
* {@link #listMatchingJobs(software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListMatchingJobsPublisher publisher = client.listMatchingJobsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListMatchingJobsPublisher publisher = client.listMatchingJobsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listMatchingJobs(software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsRequest)}
* operation.
*
*
* @param listMatchingJobsRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListMatchingJobs
* @see AWS API Documentation
*/
default ListMatchingJobsPublisher listMatchingJobsPaginator(ListMatchingJobsRequest listMatchingJobsRequest) {
return new ListMatchingJobsPublisher(this, listMatchingJobsRequest);
}
/**
*
* This is a variant of
* {@link #listMatchingJobs(software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListMatchingJobsPublisher publisher = client.listMatchingJobsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListMatchingJobsPublisher publisher = client.listMatchingJobsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listMatchingJobs(software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListMatchingJobsRequest.Builder} avoiding the need
* to create one manually via {@link ListMatchingJobsRequest#builder()}
*
*
* @param listMatchingJobsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListMatchingJobsRequest.Builder} to create a
* request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListMatchingJobs
* @see AWS API Documentation
*/
default ListMatchingJobsPublisher listMatchingJobsPaginator(Consumer listMatchingJobsRequest) {
return listMatchingJobsPaginator(ListMatchingJobsRequest.builder().applyMutation(listMatchingJobsRequest).build());
}
/**
*
* Returns a list of all the MatchingWorkflows
that have been created for an Amazon Web Services
* account.
*
*
* @param listMatchingWorkflowsRequest
* @return A Java Future containing the result of the ListMatchingWorkflows operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListMatchingWorkflows
* @see AWS API Documentation
*/
default CompletableFuture listMatchingWorkflows(
ListMatchingWorkflowsRequest listMatchingWorkflowsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of all the MatchingWorkflows
that have been created for an Amazon Web Services
* account.
*
*
*
* This is a convenience which creates an instance of the {@link ListMatchingWorkflowsRequest.Builder} avoiding the
* need to create one manually via {@link ListMatchingWorkflowsRequest#builder()}
*
*
* @param listMatchingWorkflowsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListMatchingWorkflows operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListMatchingWorkflows
* @see AWS API Documentation
*/
default CompletableFuture listMatchingWorkflows(
Consumer listMatchingWorkflowsRequest) {
return listMatchingWorkflows(ListMatchingWorkflowsRequest.builder().applyMutation(listMatchingWorkflowsRequest).build());
}
/**
*
* This is a variant of
* {@link #listMatchingWorkflows(software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListMatchingWorkflowsPublisher publisher = client.listMatchingWorkflowsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListMatchingWorkflowsPublisher publisher = client.listMatchingWorkflowsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listMatchingWorkflows(software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsRequest)}
* operation.
*
*
* @param listMatchingWorkflowsRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListMatchingWorkflows
* @see AWS API Documentation
*/
default ListMatchingWorkflowsPublisher listMatchingWorkflowsPaginator(
ListMatchingWorkflowsRequest listMatchingWorkflowsRequest) {
return new ListMatchingWorkflowsPublisher(this, listMatchingWorkflowsRequest);
}
/**
*
* This is a variant of
* {@link #listMatchingWorkflows(software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListMatchingWorkflowsPublisher publisher = client.listMatchingWorkflowsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListMatchingWorkflowsPublisher publisher = client.listMatchingWorkflowsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listMatchingWorkflows(software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListMatchingWorkflowsRequest.Builder} avoiding the
* need to create one manually via {@link ListMatchingWorkflowsRequest#builder()}
*
*
* @param listMatchingWorkflowsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListMatchingWorkflowsRequest.Builder} to
* create a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListMatchingWorkflows
* @see AWS API Documentation
*/
default ListMatchingWorkflowsPublisher listMatchingWorkflowsPaginator(
Consumer listMatchingWorkflowsRequest) {
return listMatchingWorkflowsPaginator(ListMatchingWorkflowsRequest.builder().applyMutation(listMatchingWorkflowsRequest)
.build());
}
/**
*
* Returns a list of all the ProviderServices
that are available in this Amazon Web Services Region.
*
*
* @param listProviderServicesRequest
* @return A Java Future containing the result of the ListProviderServices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListProviderServices
* @see AWS API Documentation
*/
default CompletableFuture listProviderServices(
ListProviderServicesRequest listProviderServicesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of all the ProviderServices
that are available in this Amazon Web Services Region.
*
*
*
* This is a convenience which creates an instance of the {@link ListProviderServicesRequest.Builder} avoiding the
* need to create one manually via {@link ListProviderServicesRequest#builder()}
*
*
* @param listProviderServicesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListProviderServicesRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListProviderServices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListProviderServices
* @see AWS API Documentation
*/
default CompletableFuture listProviderServices(
Consumer listProviderServicesRequest) {
return listProviderServices(ListProviderServicesRequest.builder().applyMutation(listProviderServicesRequest).build());
}
/**
*
* This is a variant of
* {@link #listProviderServices(software.amazon.awssdk.services.entityresolution.model.ListProviderServicesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListProviderServicesPublisher publisher = client.listProviderServicesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListProviderServicesPublisher publisher = client.listProviderServicesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListProviderServicesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listProviderServices(software.amazon.awssdk.services.entityresolution.model.ListProviderServicesRequest)}
* operation.
*
*
* @param listProviderServicesRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListProviderServices
* @see AWS API Documentation
*/
default ListProviderServicesPublisher listProviderServicesPaginator(ListProviderServicesRequest listProviderServicesRequest) {
return new ListProviderServicesPublisher(this, listProviderServicesRequest);
}
/**
*
* This is a variant of
* {@link #listProviderServices(software.amazon.awssdk.services.entityresolution.model.ListProviderServicesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListProviderServicesPublisher publisher = client.listProviderServicesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListProviderServicesPublisher publisher = client.listProviderServicesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListProviderServicesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listProviderServices(software.amazon.awssdk.services.entityresolution.model.ListProviderServicesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListProviderServicesRequest.Builder} avoiding the
* need to create one manually via {@link ListProviderServicesRequest#builder()}
*
*
* @param listProviderServicesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListProviderServicesRequest.Builder} to
* create a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListProviderServices
* @see AWS API Documentation
*/
default ListProviderServicesPublisher listProviderServicesPaginator(
Consumer listProviderServicesRequest) {
return listProviderServicesPaginator(ListProviderServicesRequest.builder().applyMutation(listProviderServicesRequest)
.build());
}
/**
*
* Returns a list of all the SchemaMappings
that have been created for an Amazon Web Services account.
*
*
* @param listSchemaMappingsRequest
* @return A Java Future containing the result of the ListSchemaMappings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListSchemaMappings
* @see AWS API Documentation
*/
default CompletableFuture listSchemaMappings(ListSchemaMappingsRequest listSchemaMappingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of all the SchemaMappings
that have been created for an Amazon Web Services account.
*
*
*
* This is a convenience which creates an instance of the {@link ListSchemaMappingsRequest.Builder} avoiding the
* need to create one manually via {@link ListSchemaMappingsRequest#builder()}
*
*
* @param listSchemaMappingsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the ListSchemaMappings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListSchemaMappings
* @see AWS API Documentation
*/
default CompletableFuture listSchemaMappings(
Consumer listSchemaMappingsRequest) {
return listSchemaMappings(ListSchemaMappingsRequest.builder().applyMutation(listSchemaMappingsRequest).build());
}
/**
*
* This is a variant of
* {@link #listSchemaMappings(software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListSchemaMappingsPublisher publisher = client.listSchemaMappingsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListSchemaMappingsPublisher publisher = client.listSchemaMappingsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listSchemaMappings(software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsRequest)}
* operation.
*
*
* @param listSchemaMappingsRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListSchemaMappings
* @see AWS API Documentation
*/
default ListSchemaMappingsPublisher listSchemaMappingsPaginator(ListSchemaMappingsRequest listSchemaMappingsRequest) {
return new ListSchemaMappingsPublisher(this, listSchemaMappingsRequest);
}
/**
*
* This is a variant of
* {@link #listSchemaMappings(software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListSchemaMappingsPublisher publisher = client.listSchemaMappingsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.entityresolution.paginators.ListSchemaMappingsPublisher publisher = client.listSchemaMappingsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listSchemaMappings(software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListSchemaMappingsRequest.Builder} avoiding the
* need to create one manually via {@link ListSchemaMappingsRequest#builder()}
*
*
* @param listSchemaMappingsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListSchemaMappingsRequest.Builder} to create
* a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListSchemaMappings
* @see AWS API Documentation
*/
default ListSchemaMappingsPublisher listSchemaMappingsPaginator(
Consumer listSchemaMappingsRequest) {
return listSchemaMappingsPaginator(ListSchemaMappingsRequest.builder().applyMutation(listSchemaMappingsRequest).build());
}
/**
*
* Displays the tags associated with an Entity Resolution resource. In Entity Resolution, SchemaMapping
* , and MatchingWorkflow
can be tagged.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListTagsForResource
* @see AWS API Documentation
*/
default CompletableFuture listTagsForResource(
ListTagsForResourceRequest listTagsForResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Displays the tags associated with an Entity Resolution resource. In Entity Resolution, SchemaMapping
* , and MatchingWorkflow
can be tagged.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.ListTagsForResourceRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.ListTagsForResource
* @see AWS API Documentation
*/
default CompletableFuture listTagsForResource(
Consumer listTagsForResourceRequest) {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Updates the resource-based policy.
*
*
* @param putPolicyRequest
* @return A Java Future containing the result of the PutPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.PutPolicy
* @see AWS
* API Documentation
*/
default CompletableFuture putPolicy(PutPolicyRequest putPolicyRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the resource-based policy.
*
*
*
* This is a convenience which creates an instance of the {@link PutPolicyRequest.Builder} avoiding the need to
* create one manually via {@link PutPolicyRequest#builder()}
*
*
* @param putPolicyRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.PutPolicyRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the PutPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.PutPolicy
* @see AWS
* API Documentation
*/
default CompletableFuture putPolicy(Consumer putPolicyRequest) {
return putPolicy(PutPolicyRequest.builder().applyMutation(putPolicyRequest).build());
}
/**
*
* Starts the IdMappingJob
of a workflow. The workflow must have previously been created using the
* CreateIdMappingWorkflow
endpoint.
*
*
* @param startIdMappingJobRequest
* @return A Java Future containing the result of the StartIdMappingJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.StartIdMappingJob
* @see AWS API Documentation
*/
default CompletableFuture startIdMappingJob(StartIdMappingJobRequest startIdMappingJobRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Starts the IdMappingJob
of a workflow. The workflow must have previously been created using the
* CreateIdMappingWorkflow
endpoint.
*
*
*
* This is a convenience which creates an instance of the {@link StartIdMappingJobRequest.Builder} avoiding the need
* to create one manually via {@link StartIdMappingJobRequest#builder()}
*
*
* @param startIdMappingJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.StartIdMappingJobRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the StartIdMappingJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.StartIdMappingJob
* @see AWS API Documentation
*/
default CompletableFuture startIdMappingJob(
Consumer startIdMappingJobRequest) {
return startIdMappingJob(StartIdMappingJobRequest.builder().applyMutation(startIdMappingJobRequest).build());
}
/**
*
* Starts the MatchingJob
of a workflow. The workflow must have previously been created using the
* CreateMatchingWorkflow
endpoint.
*
*
* @param startMatchingJobRequest
* @return A Java Future containing the result of the StartMatchingJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.StartMatchingJob
* @see AWS API Documentation
*/
default CompletableFuture startMatchingJob(StartMatchingJobRequest startMatchingJobRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Starts the MatchingJob
of a workflow. The workflow must have previously been created using the
* CreateMatchingWorkflow
endpoint.
*
*
*
* This is a convenience which creates an instance of the {@link StartMatchingJobRequest.Builder} avoiding the need
* to create one manually via {@link StartMatchingJobRequest#builder()}
*
*
* @param startMatchingJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.StartMatchingJobRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the StartMatchingJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ExceedsLimitException The request was rejected because it attempted to create resources beyond the
* current Entity Resolution account limits. The error message describes the limit exceeded.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.StartMatchingJob
* @see AWS API Documentation
*/
default CompletableFuture startMatchingJob(
Consumer startMatchingJobRequest) {
return startMatchingJob(StartMatchingJobRequest.builder().applyMutation(startMatchingJobRequest).build());
}
/**
*
* Assigns one or more tags (key-value pairs) to the specified Entity Resolution resource. Tags can help you
* organize and categorize your resources. You can also use them to scope user permissions by granting a user
* permission to access or change only resources with certain tag values. In Entity Resolution,
* SchemaMapping
and MatchingWorkflow
can be tagged. Tags don't have any semantic meaning
* to Amazon Web Services and are interpreted strictly as strings of characters. You can use the
* TagResource
action with a resource that already has tags. If you specify a new tag key, this tag is
* appended to the list of tags associated with the resource. If you specify a tag key that is already associated
* with the resource, the new tag value that you specify replaces the previous value for that tag.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.TagResource
* @see AWS
* API Documentation
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Assigns one or more tags (key-value pairs) to the specified Entity Resolution resource. Tags can help you
* organize and categorize your resources. You can also use them to scope user permissions by granting a user
* permission to access or change only resources with certain tag values. In Entity Resolution,
* SchemaMapping
and MatchingWorkflow
can be tagged. Tags don't have any semantic meaning
* to Amazon Web Services and are interpreted strictly as strings of characters. You can use the
* TagResource
action with a resource that already has tags. If you specify a new tag key, this tag is
* appended to the list of tags associated with the resource. If you specify a tag key that is already associated
* with the resource, the new tag value that you specify replaces the previous value for that tag.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.TagResourceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.TagResource
* @see AWS
* API Documentation
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes one or more tags from the specified Entity Resolution resource. In Entity Resolution,
* SchemaMapping
, and MatchingWorkflow
can be tagged.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UntagResource
* @see AWS API Documentation
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Removes one or more tags from the specified Entity Resolution resource. In Entity Resolution,
* SchemaMapping
, and MatchingWorkflow
can be tagged.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.UntagResourceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UntagResource
* @see AWS API Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates an existing IdMappingWorkflow
. This method is identical to
* CreateIdMappingWorkflow
, except it uses an HTTP PUT
request instead of a
* POST
request, and the IdMappingWorkflow
must already exist for the method to succeed.
*
*
* @param updateIdMappingWorkflowRequest
* @return A Java Future containing the result of the UpdateIdMappingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UpdateIdMappingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture updateIdMappingWorkflow(
UpdateIdMappingWorkflowRequest updateIdMappingWorkflowRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing IdMappingWorkflow
. This method is identical to
* CreateIdMappingWorkflow
, except it uses an HTTP PUT
request instead of a
* POST
request, and the IdMappingWorkflow
must already exist for the method to succeed.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateIdMappingWorkflowRequest.Builder} avoiding
* the need to create one manually via {@link UpdateIdMappingWorkflowRequest#builder()}
*
*
* @param updateIdMappingWorkflowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.UpdateIdMappingWorkflowRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the UpdateIdMappingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UpdateIdMappingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture updateIdMappingWorkflow(
Consumer updateIdMappingWorkflowRequest) {
return updateIdMappingWorkflow(UpdateIdMappingWorkflowRequest.builder().applyMutation(updateIdMappingWorkflowRequest)
.build());
}
/**
*
* Updates an existing ID namespace.
*
*
* @param updateIdNamespaceRequest
* @return A Java Future containing the result of the UpdateIdNamespace operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UpdateIdNamespace
* @see AWS API Documentation
*/
default CompletableFuture updateIdNamespace(UpdateIdNamespaceRequest updateIdNamespaceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing ID namespace.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateIdNamespaceRequest.Builder} avoiding the need
* to create one manually via {@link UpdateIdNamespaceRequest#builder()}
*
*
* @param updateIdNamespaceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.UpdateIdNamespaceRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the UpdateIdNamespace operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UpdateIdNamespace
* @see AWS API Documentation
*/
default CompletableFuture updateIdNamespace(
Consumer updateIdNamespaceRequest) {
return updateIdNamespace(UpdateIdNamespaceRequest.builder().applyMutation(updateIdNamespaceRequest).build());
}
/**
*
* Updates an existing MatchingWorkflow
. This method is identical to
* CreateMatchingWorkflow
, except it uses an HTTP PUT
request instead of a
* POST
request, and the MatchingWorkflow
must already exist for the method to succeed.
*
*
* @param updateMatchingWorkflowRequest
* @return A Java Future containing the result of the UpdateMatchingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UpdateMatchingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture updateMatchingWorkflow(
UpdateMatchingWorkflowRequest updateMatchingWorkflowRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing MatchingWorkflow
. This method is identical to
* CreateMatchingWorkflow
, except it uses an HTTP PUT
request instead of a
* POST
request, and the MatchingWorkflow
must already exist for the method to succeed.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateMatchingWorkflowRequest.Builder} avoiding the
* need to create one manually via {@link UpdateMatchingWorkflowRequest#builder()}
*
*
* @param updateMatchingWorkflowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.UpdateMatchingWorkflowRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the UpdateMatchingWorkflow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UpdateMatchingWorkflow
* @see AWS API Documentation
*/
default CompletableFuture updateMatchingWorkflow(
Consumer updateMatchingWorkflowRequest) {
return updateMatchingWorkflow(UpdateMatchingWorkflowRequest.builder().applyMutation(updateMatchingWorkflowRequest)
.build());
}
/**
*
* Updates a schema mapping.
*
*
*
* A schema is immutable if it is being used by a workflow. Therefore, you can't update a schema mapping if it's
* associated with a workflow.
*
*
*
* @param updateSchemaMappingRequest
* @return A Java Future containing the result of the UpdateSchemaMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UpdateSchemaMapping
* @see AWS API Documentation
*/
default CompletableFuture updateSchemaMapping(
UpdateSchemaMappingRequest updateSchemaMappingRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a schema mapping.
*
*
*
* A schema is immutable if it is being used by a workflow. Therefore, you can't update a schema mapping if it's
* associated with a workflow.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateSchemaMappingRequest.Builder} avoiding the
* need to create one manually via {@link UpdateSchemaMappingRequest#builder()}
*
*
* @param updateSchemaMappingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.entityresolution.model.UpdateSchemaMappingRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the UpdateSchemaMapping operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ThrottlingException The request was denied due to request throttling.
* - InternalServerException This exception occurs when there is an internal failure in the Entity
* Resolution service.
* - ResourceNotFoundException The resource could not be found.
* - AccessDeniedException You do not have sufficient access to perform this action.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
* - ValidationException The input fails to satisfy the constraints specified by Entity Resolution.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - EntityResolutionException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample EntityResolutionAsyncClient.UpdateSchemaMapping
* @see AWS API Documentation
*/
default CompletableFuture updateSchemaMapping(
Consumer updateSchemaMappingRequest) {
return updateSchemaMapping(UpdateSchemaMappingRequest.builder().applyMutation(updateSchemaMappingRequest).build());
}
@Override
default EntityResolutionServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link EntityResolutionAsyncClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static EntityResolutionAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link EntityResolutionAsyncClient}.
*/
static EntityResolutionAsyncClientBuilder builder() {
return new DefaultEntityResolutionAsyncClientBuilder();
}
}