@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonKendraRankingAsyncClient extends AmazonKendraRankingClient implements AmazonKendraRankingAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Amazon Kendra Intelligent Ranking uses Amazon Kendra semantic search capabilities to intelligently re-rank a search service's results.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createRescoreExecutionPlan, deleteRescoreExecutionPlan, describeRescoreExecutionPlan, getCachedResponseMetadata, listRescoreExecutionPlans, listTagsForResource, rescore, tagResource, untagResource, updateRescoreExecutionPlanaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRescoreExecutionPlan, deleteRescoreExecutionPlan, describeRescoreExecutionPlan, getCachedResponseMetadata, listRescoreExecutionPlans, listTagsForResource, rescore, tagResource, untagResource, updateRescoreExecutionPlanpublic static AmazonKendraRankingAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateRescoreExecutionPlanResult> createRescoreExecutionPlanAsync(CreateRescoreExecutionPlanRequest request)
AmazonKendraRankingAsync
Creates a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used
for provisioning the Rescore API. You set the number of capacity units that you require for Amazon
Kendra Intelligent Ranking to rescore or re-rank a search service's results.
For an example of using the CreateRescoreExecutionPlan API, including using the Python and Java
SDKs, see Semantically ranking
a search service's results.
createRescoreExecutionPlanAsync in interface AmazonKendraRankingAsyncpublic Future<CreateRescoreExecutionPlanResult> createRescoreExecutionPlanAsync(CreateRescoreExecutionPlanRequest request, AsyncHandler<CreateRescoreExecutionPlanRequest,CreateRescoreExecutionPlanResult> asyncHandler)
AmazonKendraRankingAsync
Creates a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used
for provisioning the Rescore API. You set the number of capacity units that you require for Amazon
Kendra Intelligent Ranking to rescore or re-rank a search service's results.
For an example of using the CreateRescoreExecutionPlan API, including using the Python and Java
SDKs, see Semantically ranking
a search service's results.
createRescoreExecutionPlanAsync in interface AmazonKendraRankingAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRescoreExecutionPlanResult> deleteRescoreExecutionPlanAsync(DeleteRescoreExecutionPlanRequest request)
AmazonKendraRankingAsync
Deletes a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used
for provisioning the Rescore API.
deleteRescoreExecutionPlanAsync in interface AmazonKendraRankingAsyncpublic Future<DeleteRescoreExecutionPlanResult> deleteRescoreExecutionPlanAsync(DeleteRescoreExecutionPlanRequest request, AsyncHandler<DeleteRescoreExecutionPlanRequest,DeleteRescoreExecutionPlanResult> asyncHandler)
AmazonKendraRankingAsync
Deletes a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used
for provisioning the Rescore API.
deleteRescoreExecutionPlanAsync in interface AmazonKendraRankingAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRescoreExecutionPlanResult> describeRescoreExecutionPlanAsync(DescribeRescoreExecutionPlanRequest request)
AmazonKendraRankingAsync
Gets information about a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking
resource used for provisioning the Rescore API.
describeRescoreExecutionPlanAsync in interface AmazonKendraRankingAsyncpublic Future<DescribeRescoreExecutionPlanResult> describeRescoreExecutionPlanAsync(DescribeRescoreExecutionPlanRequest request, AsyncHandler<DescribeRescoreExecutionPlanRequest,DescribeRescoreExecutionPlanResult> asyncHandler)
AmazonKendraRankingAsync
Gets information about a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking
resource used for provisioning the Rescore API.
describeRescoreExecutionPlanAsync in interface AmazonKendraRankingAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRescoreExecutionPlansResult> listRescoreExecutionPlansAsync(ListRescoreExecutionPlansRequest request)
AmazonKendraRankingAsync
Lists your rescore execution plans. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource
used for provisioning the Rescore API.
listRescoreExecutionPlansAsync in interface AmazonKendraRankingAsyncpublic Future<ListRescoreExecutionPlansResult> listRescoreExecutionPlansAsync(ListRescoreExecutionPlansRequest request, AsyncHandler<ListRescoreExecutionPlansRequest,ListRescoreExecutionPlansResult> asyncHandler)
AmazonKendraRankingAsync
Lists your rescore execution plans. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource
used for provisioning the Rescore API.
listRescoreExecutionPlansAsync in interface AmazonKendraRankingAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonKendraRankingAsyncGets a list of tags associated with a specified resource. A rescore execution plan is an example of a resource that can have tags associated with it.
listTagsForResourceAsync in interface AmazonKendraRankingAsyncrequest - The request information for listing tags associated with a rescore execution plan. A rescore execution
plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonKendraRankingAsyncGets a list of tags associated with a specified resource. A rescore execution plan is an example of a resource that can have tags associated with it.
listTagsForResourceAsync in interface AmazonKendraRankingAsyncrequest - The request information for listing tags associated with a rescore execution plan. A rescore execution
plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RescoreResult> rescoreAsync(RescoreRequest request)
AmazonKendraRankingAsyncRescores or re-ranks search results from a search service such as OpenSearch (self managed). You use the semantic search capabilities of Amazon Kendra Intelligent Ranking to improve the search service's results.
rescoreAsync in interface AmazonKendraRankingAsyncpublic Future<RescoreResult> rescoreAsync(RescoreRequest request, AsyncHandler<RescoreRequest,RescoreResult> asyncHandler)
AmazonKendraRankingAsyncRescores or re-ranks search results from a search service such as OpenSearch (self managed). You use the semantic search capabilities of Amazon Kendra Intelligent Ranking to improve the search service's results.
rescoreAsync in interface AmazonKendraRankingAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonKendraRankingAsync
Adds a specified tag to a specified rescore execution plan. A rescore execution plan is an Amazon Kendra
Intelligent Ranking resource used for provisioning the Rescore API. If the tag already exists, the
existing value is replaced with the new value.
tagResourceAsync in interface AmazonKendraRankingAsyncrequest - The request information for tagging a rescore execution plan. A rescore execution plan is an Amazon Kendra
Intelligent Ranking resource used for provisioning the Rescore API.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonKendraRankingAsync
Adds a specified tag to a specified rescore execution plan. A rescore execution plan is an Amazon Kendra
Intelligent Ranking resource used for provisioning the Rescore API. If the tag already exists, the
existing value is replaced with the new value.
tagResourceAsync in interface AmazonKendraRankingAsyncrequest - The request information for tagging a rescore execution plan. A rescore execution plan is an Amazon Kendra
Intelligent Ranking resource used for provisioning the Rescore API.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonKendraRankingAsync
Removes a tag from a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking
resource used for provisioning the Rescore operation.
untagResourceAsync in interface AmazonKendraRankingAsyncrequest - The request information to remove a tag from a rescore execution plan. A rescore execution plan is an
Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonKendraRankingAsync
Removes a tag from a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking
resource used for provisioning the Rescore operation.
untagResourceAsync in interface AmazonKendraRankingAsyncrequest - The request information to remove a tag from a rescore execution plan. A rescore execution plan is an
Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRescoreExecutionPlanResult> updateRescoreExecutionPlanAsync(UpdateRescoreExecutionPlanRequest request)
AmazonKendraRankingAsync
Updates a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used
for provisioning the Rescore API. You can update the number of capacity units you require for Amazon
Kendra Intelligent Ranking to rescore or re-rank a search service's results.
updateRescoreExecutionPlanAsync in interface AmazonKendraRankingAsyncpublic Future<UpdateRescoreExecutionPlanResult> updateRescoreExecutionPlanAsync(UpdateRescoreExecutionPlanRequest request, AsyncHandler<UpdateRescoreExecutionPlanRequest,UpdateRescoreExecutionPlanResult> asyncHandler)
AmazonKendraRankingAsync
Updates a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used
for provisioning the Rescore API. You can update the number of capacity units you require for Amazon
Kendra Intelligent Ranking to rescore or re-rank a search service's results.
updateRescoreExecutionPlanAsync in interface AmazonKendraRankingAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonKendraRankingshutdown in class AmazonKendraRankingClient