@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSBedrockAgentRuntimeAsync extends AWSBedrockAgentRuntime
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSBedrockAgentRuntimeAsync
instead.
Amazon Bedrock Agent
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<RetrieveAndGenerateResult> |
retrieveAndGenerateAsync(RetrieveAndGenerateRequest retrieveAndGenerateRequest)
RetrieveAndGenerate API
|
Future<RetrieveAndGenerateResult> |
retrieveAndGenerateAsync(RetrieveAndGenerateRequest retrieveAndGenerateRequest,
AsyncHandler<RetrieveAndGenerateRequest,RetrieveAndGenerateResult> asyncHandler)
RetrieveAndGenerate API
|
Future<RetrieveResult> |
retrieveAsync(RetrieveRequest retrieveRequest)
Retrieve from knowledge base.
|
Future<RetrieveResult> |
retrieveAsync(RetrieveRequest retrieveRequest,
AsyncHandler<RetrieveRequest,RetrieveResult> asyncHandler)
Retrieve from knowledge base.
|
getCachedResponseMetadata, retrieve, retrieveAndGenerate, shutdown
Future<RetrieveResult> retrieveAsync(RetrieveRequest retrieveRequest)
Retrieve from knowledge base.
retrieveRequest
- Future<RetrieveResult> retrieveAsync(RetrieveRequest retrieveRequest, AsyncHandler<RetrieveRequest,RetrieveResult> asyncHandler)
Retrieve from knowledge base.
retrieveRequest
- 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.Future<RetrieveAndGenerateResult> retrieveAndGenerateAsync(RetrieveAndGenerateRequest retrieveAndGenerateRequest)
RetrieveAndGenerate API
retrieveAndGenerateRequest
- Future<RetrieveAndGenerateResult> retrieveAndGenerateAsync(RetrieveAndGenerateRequest retrieveAndGenerateRequest, AsyncHandler<RetrieveAndGenerateRequest,RetrieveAndGenerateResult> asyncHandler)
RetrieveAndGenerate API
retrieveAndGenerateRequest
- 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.