@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSBedrockAgentRuntimeAsync extends AbstractAWSBedrockAgentRuntime implements AWSBedrockAgentRuntimeAsync
AWSBedrockAgentRuntimeAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
deleteAgentMemory, getAgentMemory, getCachedResponseMetadata, retrieve, retrieveAndGenerate, shutdown
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteAgentMemory, getAgentMemory, getCachedResponseMetadata, retrieve, retrieveAndGenerate, shutdown
public Future<DeleteAgentMemoryResult> deleteAgentMemoryAsync(DeleteAgentMemoryRequest request)
AWSBedrockAgentRuntimeAsync
Deletes memory from the specified memory identifier.
deleteAgentMemoryAsync
in interface AWSBedrockAgentRuntimeAsync
public Future<DeleteAgentMemoryResult> deleteAgentMemoryAsync(DeleteAgentMemoryRequest request, AsyncHandler<DeleteAgentMemoryRequest,DeleteAgentMemoryResult> asyncHandler)
AWSBedrockAgentRuntimeAsync
Deletes memory from the specified memory identifier.
deleteAgentMemoryAsync
in interface AWSBedrockAgentRuntimeAsync
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<GetAgentMemoryResult> getAgentMemoryAsync(GetAgentMemoryRequest request)
AWSBedrockAgentRuntimeAsync
Gets the sessions stored in the memory of the agent.
getAgentMemoryAsync
in interface AWSBedrockAgentRuntimeAsync
public Future<GetAgentMemoryResult> getAgentMemoryAsync(GetAgentMemoryRequest request, AsyncHandler<GetAgentMemoryRequest,GetAgentMemoryResult> asyncHandler)
AWSBedrockAgentRuntimeAsync
Gets the sessions stored in the memory of the agent.
getAgentMemoryAsync
in interface AWSBedrockAgentRuntimeAsync
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<RetrieveResult> retrieveAsync(RetrieveRequest request)
AWSBedrockAgentRuntimeAsync
Queries a knowledge base and retrieves information from it.
retrieveAsync
in interface AWSBedrockAgentRuntimeAsync
public Future<RetrieveResult> retrieveAsync(RetrieveRequest request, AsyncHandler<RetrieveRequest,RetrieveResult> asyncHandler)
AWSBedrockAgentRuntimeAsync
Queries a knowledge base and retrieves information from it.
retrieveAsync
in interface AWSBedrockAgentRuntimeAsync
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<RetrieveAndGenerateResult> retrieveAndGenerateAsync(RetrieveAndGenerateRequest request)
AWSBedrockAgentRuntimeAsync
Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query.
retrieveAndGenerateAsync
in interface AWSBedrockAgentRuntimeAsync
public Future<RetrieveAndGenerateResult> retrieveAndGenerateAsync(RetrieveAndGenerateRequest request, AsyncHandler<RetrieveAndGenerateRequest,RetrieveAndGenerateResult> asyncHandler)
AWSBedrockAgentRuntimeAsync
Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query.
retrieveAndGenerateAsync
in interface AWSBedrockAgentRuntimeAsync
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.