@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBedrockAgentAsyncClient extends AWSBedrockAgentClient implements AWSBedrockAgentAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
An example service, deployed with the Octane Service creator, which will echo the string
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateAgentKnowledgeBase, builder, createAgent, createAgentActionGroup, createAgentAlias, createDataSource, createKnowledgeBase, deleteAgent, deleteAgentActionGroup, deleteAgentAlias, deleteAgentVersion, deleteDataSource, deleteKnowledgeBase, disassociateAgentKnowledgeBase, getAgent, getAgentActionGroup, getAgentAlias, getAgentKnowledgeBase, getAgentVersion, getCachedResponseMetadata, getDataSource, getIngestionJob, getKnowledgeBase, listAgentActionGroups, listAgentAliases, listAgentKnowledgeBases, listAgents, listAgentVersions, listDataSources, listIngestionJobs, listKnowledgeBases, listTagsForResource, prepareAgent, startIngestionJob, tagResource, untagResource, updateAgent, updateAgentActionGroup, updateAgentAlias, updateAgentKnowledgeBase, updateDataSource, updateKnowledgeBase
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateAgentKnowledgeBase, createAgent, createAgentActionGroup, createAgentAlias, createDataSource, createKnowledgeBase, deleteAgent, deleteAgentActionGroup, deleteAgentAlias, deleteAgentVersion, deleteDataSource, deleteKnowledgeBase, disassociateAgentKnowledgeBase, getAgent, getAgentActionGroup, getAgentAlias, getAgentKnowledgeBase, getAgentVersion, getCachedResponseMetadata, getDataSource, getIngestionJob, getKnowledgeBase, listAgentActionGroups, listAgentAliases, listAgentKnowledgeBases, listAgents, listAgentVersions, listDataSources, listIngestionJobs, listKnowledgeBases, listTagsForResource, prepareAgent, startIngestionJob, tagResource, untagResource, updateAgent, updateAgentActionGroup, updateAgentAlias, updateAgentKnowledgeBase, updateDataSource, updateKnowledgeBase
public static AWSBedrockAgentAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateAgentKnowledgeBaseResult> associateAgentKnowledgeBaseAsync(AssociateAgentKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Associate a Knowledge Base to an existing Amazon Bedrock Agent
associateAgentKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
request
- Associate Agent Knowledge Base Requestpublic Future<AssociateAgentKnowledgeBaseResult> associateAgentKnowledgeBaseAsync(AssociateAgentKnowledgeBaseRequest request, AsyncHandler<AssociateAgentKnowledgeBaseRequest,AssociateAgentKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Associate a Knowledge Base to an existing Amazon Bedrock Agent
associateAgentKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
request
- Associate Agent Knowledge Base RequestasyncHandler
- 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<CreateAgentResult> createAgentAsync(CreateAgentRequest request)
AWSBedrockAgentAsync
Creates an Amazon Bedrock Agent
createAgentAsync
in interface AWSBedrockAgentAsync
request
- Create Agent Requestpublic Future<CreateAgentResult> createAgentAsync(CreateAgentRequest request, AsyncHandler<CreateAgentRequest,CreateAgentResult> asyncHandler)
AWSBedrockAgentAsync
Creates an Amazon Bedrock Agent
createAgentAsync
in interface AWSBedrockAgentAsync
request
- Create Agent RequestasyncHandler
- 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<CreateAgentActionGroupResult> createAgentActionGroupAsync(CreateAgentActionGroupRequest request)
AWSBedrockAgentAsync
Creates an Action Group for existing Amazon Bedrock Agent
createAgentActionGroupAsync
in interface AWSBedrockAgentAsync
request
- Create Action Group Requestpublic Future<CreateAgentActionGroupResult> createAgentActionGroupAsync(CreateAgentActionGroupRequest request, AsyncHandler<CreateAgentActionGroupRequest,CreateAgentActionGroupResult> asyncHandler)
AWSBedrockAgentAsync
Creates an Action Group for existing Amazon Bedrock Agent
createAgentActionGroupAsync
in interface AWSBedrockAgentAsync
request
- Create Action Group RequestasyncHandler
- 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<CreateAgentAliasResult> createAgentAliasAsync(CreateAgentAliasRequest request)
AWSBedrockAgentAsync
Creates an Alias for an existing Amazon Bedrock Agent
createAgentAliasAsync
in interface AWSBedrockAgentAsync
request
- Create Agent Alias Requestpublic Future<CreateAgentAliasResult> createAgentAliasAsync(CreateAgentAliasRequest request, AsyncHandler<CreateAgentAliasRequest,CreateAgentAliasResult> asyncHandler)
AWSBedrockAgentAsync
Creates an Alias for an existing Amazon Bedrock Agent
createAgentAliasAsync
in interface AWSBedrockAgentAsync
request
- Create Agent Alias RequestasyncHandler
- 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<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest request)
AWSBedrockAgentAsync
Create a new data source
createDataSourceAsync
in interface AWSBedrockAgentAsync
public Future<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest request, AsyncHandler<CreateDataSourceRequest,CreateDataSourceResult> asyncHandler)
AWSBedrockAgentAsync
Create a new data source
createDataSourceAsync
in interface AWSBedrockAgentAsync
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<CreateKnowledgeBaseResult> createKnowledgeBaseAsync(CreateKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Create a new knowledge base
createKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
public Future<CreateKnowledgeBaseResult> createKnowledgeBaseAsync(CreateKnowledgeBaseRequest request, AsyncHandler<CreateKnowledgeBaseRequest,CreateKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Create a new knowledge base
createKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
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<DeleteAgentResult> deleteAgentAsync(DeleteAgentRequest request)
AWSBedrockAgentAsync
Deletes an Agent for existing Amazon Bedrock Agent
deleteAgentAsync
in interface AWSBedrockAgentAsync
request
- Delete Agent Requestpublic Future<DeleteAgentResult> deleteAgentAsync(DeleteAgentRequest request, AsyncHandler<DeleteAgentRequest,DeleteAgentResult> asyncHandler)
AWSBedrockAgentAsync
Deletes an Agent for existing Amazon Bedrock Agent
deleteAgentAsync
in interface AWSBedrockAgentAsync
request
- Delete Agent RequestasyncHandler
- 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<DeleteAgentActionGroupResult> deleteAgentActionGroupAsync(DeleteAgentActionGroupRequest request)
AWSBedrockAgentAsync
Deletes an Action Group for existing Amazon Bedrock Agent.
deleteAgentActionGroupAsync
in interface AWSBedrockAgentAsync
request
- Delete Action Group Requestpublic Future<DeleteAgentActionGroupResult> deleteAgentActionGroupAsync(DeleteAgentActionGroupRequest request, AsyncHandler<DeleteAgentActionGroupRequest,DeleteAgentActionGroupResult> asyncHandler)
AWSBedrockAgentAsync
Deletes an Action Group for existing Amazon Bedrock Agent.
deleteAgentActionGroupAsync
in interface AWSBedrockAgentAsync
request
- Delete Action Group RequestasyncHandler
- 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<DeleteAgentAliasResult> deleteAgentAliasAsync(DeleteAgentAliasRequest request)
AWSBedrockAgentAsync
Deletes an Alias for a Amazon Bedrock Agent
deleteAgentAliasAsync
in interface AWSBedrockAgentAsync
request
- Delete Agent Alias Requestpublic Future<DeleteAgentAliasResult> deleteAgentAliasAsync(DeleteAgentAliasRequest request, AsyncHandler<DeleteAgentAliasRequest,DeleteAgentAliasResult> asyncHandler)
AWSBedrockAgentAsync
Deletes an Alias for a Amazon Bedrock Agent
deleteAgentAliasAsync
in interface AWSBedrockAgentAsync
request
- Delete Agent Alias RequestasyncHandler
- 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<DeleteAgentVersionResult> deleteAgentVersionAsync(DeleteAgentVersionRequest request)
AWSBedrockAgentAsync
Deletes an Agent version for existing Amazon Bedrock Agent
deleteAgentVersionAsync
in interface AWSBedrockAgentAsync
request
- Delete Agent Version Requestpublic Future<DeleteAgentVersionResult> deleteAgentVersionAsync(DeleteAgentVersionRequest request, AsyncHandler<DeleteAgentVersionRequest,DeleteAgentVersionResult> asyncHandler)
AWSBedrockAgentAsync
Deletes an Agent version for existing Amazon Bedrock Agent
deleteAgentVersionAsync
in interface AWSBedrockAgentAsync
request
- Delete Agent Version RequestasyncHandler
- 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<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest request)
AWSBedrockAgentAsync
Delete an existing data source
deleteDataSourceAsync
in interface AWSBedrockAgentAsync
public Future<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest request, AsyncHandler<DeleteDataSourceRequest,DeleteDataSourceResult> asyncHandler)
AWSBedrockAgentAsync
Delete an existing data source
deleteDataSourceAsync
in interface AWSBedrockAgentAsync
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<DeleteKnowledgeBaseResult> deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Delete an existing knowledge base
deleteKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
public Future<DeleteKnowledgeBaseResult> deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request, AsyncHandler<DeleteKnowledgeBaseRequest,DeleteKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Delete an existing knowledge base
deleteKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
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<DisassociateAgentKnowledgeBaseResult> disassociateAgentKnowledgeBaseAsync(DisassociateAgentKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Disassociate an existing Knowledge Base from an Amazon Bedrock Agent
disassociateAgentKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
request
- Disassociate Agent Knowledge Base Requestpublic Future<DisassociateAgentKnowledgeBaseResult> disassociateAgentKnowledgeBaseAsync(DisassociateAgentKnowledgeBaseRequest request, AsyncHandler<DisassociateAgentKnowledgeBaseRequest,DisassociateAgentKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Disassociate an existing Knowledge Base from an Amazon Bedrock Agent
disassociateAgentKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
request
- Disassociate Agent Knowledge Base RequestasyncHandler
- 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<GetAgentResult> getAgentAsync(GetAgentRequest request)
AWSBedrockAgentAsync
Gets an Agent for existing Amazon Bedrock Agent
getAgentAsync
in interface AWSBedrockAgentAsync
request
- Get Agent Requestpublic Future<GetAgentResult> getAgentAsync(GetAgentRequest request, AsyncHandler<GetAgentRequest,GetAgentResult> asyncHandler)
AWSBedrockAgentAsync
Gets an Agent for existing Amazon Bedrock Agent
getAgentAsync
in interface AWSBedrockAgentAsync
request
- Get Agent RequestasyncHandler
- 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<GetAgentActionGroupResult> getAgentActionGroupAsync(GetAgentActionGroupRequest request)
AWSBedrockAgentAsync
Gets an Action Group for existing Amazon Bedrock Agent Version
getAgentActionGroupAsync
in interface AWSBedrockAgentAsync
request
- Get Action Group Requestpublic Future<GetAgentActionGroupResult> getAgentActionGroupAsync(GetAgentActionGroupRequest request, AsyncHandler<GetAgentActionGroupRequest,GetAgentActionGroupResult> asyncHandler)
AWSBedrockAgentAsync
Gets an Action Group for existing Amazon Bedrock Agent Version
getAgentActionGroupAsync
in interface AWSBedrockAgentAsync
request
- Get Action Group RequestasyncHandler
- 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<GetAgentAliasResult> getAgentAliasAsync(GetAgentAliasRequest request)
AWSBedrockAgentAsync
Describes an Alias for a Amazon Bedrock Agent
getAgentAliasAsync
in interface AWSBedrockAgentAsync
request
- Get Agent Alias Requestpublic Future<GetAgentAliasResult> getAgentAliasAsync(GetAgentAliasRequest request, AsyncHandler<GetAgentAliasRequest,GetAgentAliasResult> asyncHandler)
AWSBedrockAgentAsync
Describes an Alias for a Amazon Bedrock Agent
getAgentAliasAsync
in interface AWSBedrockAgentAsync
request
- Get Agent Alias RequestasyncHandler
- 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<GetAgentKnowledgeBaseResult> getAgentKnowledgeBaseAsync(GetAgentKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Gets a knowledge base associated to an existing Amazon Bedrock Agent Version
getAgentKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
request
- Get Agent Knowledge Base Requestpublic Future<GetAgentKnowledgeBaseResult> getAgentKnowledgeBaseAsync(GetAgentKnowledgeBaseRequest request, AsyncHandler<GetAgentKnowledgeBaseRequest,GetAgentKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Gets a knowledge base associated to an existing Amazon Bedrock Agent Version
getAgentKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
request
- Get Agent Knowledge Base RequestasyncHandler
- 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<GetAgentVersionResult> getAgentVersionAsync(GetAgentVersionRequest request)
AWSBedrockAgentAsync
Gets an Agent version for existing Amazon Bedrock Agent
getAgentVersionAsync
in interface AWSBedrockAgentAsync
request
- Get Agent Version Requestpublic Future<GetAgentVersionResult> getAgentVersionAsync(GetAgentVersionRequest request, AsyncHandler<GetAgentVersionRequest,GetAgentVersionResult> asyncHandler)
AWSBedrockAgentAsync
Gets an Agent version for existing Amazon Bedrock Agent
getAgentVersionAsync
in interface AWSBedrockAgentAsync
request
- Get Agent Version RequestasyncHandler
- 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<GetDataSourceResult> getDataSourceAsync(GetDataSourceRequest request)
AWSBedrockAgentAsync
Get an existing data source
getDataSourceAsync
in interface AWSBedrockAgentAsync
public Future<GetDataSourceResult> getDataSourceAsync(GetDataSourceRequest request, AsyncHandler<GetDataSourceRequest,GetDataSourceResult> asyncHandler)
AWSBedrockAgentAsync
Get an existing data source
getDataSourceAsync
in interface AWSBedrockAgentAsync
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<GetIngestionJobResult> getIngestionJobAsync(GetIngestionJobRequest request)
AWSBedrockAgentAsync
Get an ingestion job
getIngestionJobAsync
in interface AWSBedrockAgentAsync
public Future<GetIngestionJobResult> getIngestionJobAsync(GetIngestionJobRequest request, AsyncHandler<GetIngestionJobRequest,GetIngestionJobResult> asyncHandler)
AWSBedrockAgentAsync
Get an ingestion job
getIngestionJobAsync
in interface AWSBedrockAgentAsync
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<GetKnowledgeBaseResult> getKnowledgeBaseAsync(GetKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Get an existing knowledge base
getKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
public Future<GetKnowledgeBaseResult> getKnowledgeBaseAsync(GetKnowledgeBaseRequest request, AsyncHandler<GetKnowledgeBaseRequest,GetKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Get an existing knowledge base
getKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
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<ListAgentActionGroupsResult> listAgentActionGroupsAsync(ListAgentActionGroupsRequest request)
AWSBedrockAgentAsync
Lists an Action Group for existing Amazon Bedrock Agent Version
listAgentActionGroupsAsync
in interface AWSBedrockAgentAsync
request
- List Action Groups Requestpublic Future<ListAgentActionGroupsResult> listAgentActionGroupsAsync(ListAgentActionGroupsRequest request, AsyncHandler<ListAgentActionGroupsRequest,ListAgentActionGroupsResult> asyncHandler)
AWSBedrockAgentAsync
Lists an Action Group for existing Amazon Bedrock Agent Version
listAgentActionGroupsAsync
in interface AWSBedrockAgentAsync
request
- List Action Groups RequestasyncHandler
- 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<ListAgentAliasesResult> listAgentAliasesAsync(ListAgentAliasesRequest request)
AWSBedrockAgentAsync
Lists all the Aliases for an Amazon Bedrock Agent
listAgentAliasesAsync
in interface AWSBedrockAgentAsync
request
- List Agent Aliases Requestpublic Future<ListAgentAliasesResult> listAgentAliasesAsync(ListAgentAliasesRequest request, AsyncHandler<ListAgentAliasesRequest,ListAgentAliasesResult> asyncHandler)
AWSBedrockAgentAsync
Lists all the Aliases for an Amazon Bedrock Agent
listAgentAliasesAsync
in interface AWSBedrockAgentAsync
request
- List Agent Aliases RequestasyncHandler
- 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<ListAgentKnowledgeBasesResult> listAgentKnowledgeBasesAsync(ListAgentKnowledgeBasesRequest request)
AWSBedrockAgentAsync
List of Knowledge Bases associated to an existing Amazon Bedrock Agent Version
listAgentKnowledgeBasesAsync
in interface AWSBedrockAgentAsync
request
- List Agent Knowledge Bases Requestpublic Future<ListAgentKnowledgeBasesResult> listAgentKnowledgeBasesAsync(ListAgentKnowledgeBasesRequest request, AsyncHandler<ListAgentKnowledgeBasesRequest,ListAgentKnowledgeBasesResult> asyncHandler)
AWSBedrockAgentAsync
List of Knowledge Bases associated to an existing Amazon Bedrock Agent Version
listAgentKnowledgeBasesAsync
in interface AWSBedrockAgentAsync
request
- List Agent Knowledge Bases RequestasyncHandler
- 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<ListAgentVersionsResult> listAgentVersionsAsync(ListAgentVersionsRequest request)
AWSBedrockAgentAsync
Lists Agent Versions
listAgentVersionsAsync
in interface AWSBedrockAgentAsync
request
- List Agent Versions Requestpublic Future<ListAgentVersionsResult> listAgentVersionsAsync(ListAgentVersionsRequest request, AsyncHandler<ListAgentVersionsRequest,ListAgentVersionsResult> asyncHandler)
AWSBedrockAgentAsync
Lists Agent Versions
listAgentVersionsAsync
in interface AWSBedrockAgentAsync
request
- List Agent Versions RequestasyncHandler
- 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<ListAgentsResult> listAgentsAsync(ListAgentsRequest request)
AWSBedrockAgentAsync
Lists Agents
listAgentsAsync
in interface AWSBedrockAgentAsync
request
- List Agent Requestpublic Future<ListAgentsResult> listAgentsAsync(ListAgentsRequest request, AsyncHandler<ListAgentsRequest,ListAgentsResult> asyncHandler)
AWSBedrockAgentAsync
Lists Agents
listAgentsAsync
in interface AWSBedrockAgentAsync
request
- List Agent RequestasyncHandler
- 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<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest request)
AWSBedrockAgentAsync
List data sources
listDataSourcesAsync
in interface AWSBedrockAgentAsync
public Future<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest request, AsyncHandler<ListDataSourcesRequest,ListDataSourcesResult> asyncHandler)
AWSBedrockAgentAsync
List data sources
listDataSourcesAsync
in interface AWSBedrockAgentAsync
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<ListIngestionJobsResult> listIngestionJobsAsync(ListIngestionJobsRequest request)
AWSBedrockAgentAsync
List ingestion jobs
listIngestionJobsAsync
in interface AWSBedrockAgentAsync
public Future<ListIngestionJobsResult> listIngestionJobsAsync(ListIngestionJobsRequest request, AsyncHandler<ListIngestionJobsRequest,ListIngestionJobsResult> asyncHandler)
AWSBedrockAgentAsync
List ingestion jobs
listIngestionJobsAsync
in interface AWSBedrockAgentAsync
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<ListKnowledgeBasesResult> listKnowledgeBasesAsync(ListKnowledgeBasesRequest request)
AWSBedrockAgentAsync
List Knowledge Bases
listKnowledgeBasesAsync
in interface AWSBedrockAgentAsync
public Future<ListKnowledgeBasesResult> listKnowledgeBasesAsync(ListKnowledgeBasesRequest request, AsyncHandler<ListKnowledgeBasesRequest,ListKnowledgeBasesResult> asyncHandler)
AWSBedrockAgentAsync
List Knowledge Bases
listKnowledgeBasesAsync
in interface AWSBedrockAgentAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSBedrockAgentAsync
List tags for a resource
listTagsForResourceAsync
in interface AWSBedrockAgentAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSBedrockAgentAsync
List tags for a resource
listTagsForResourceAsync
in interface AWSBedrockAgentAsync
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<PrepareAgentResult> prepareAgentAsync(PrepareAgentRequest request)
AWSBedrockAgentAsync
Prepares an existing Amazon Bedrock Agent to receive runtime requests
prepareAgentAsync
in interface AWSBedrockAgentAsync
request
- PrepareAgent Requestpublic Future<PrepareAgentResult> prepareAgentAsync(PrepareAgentRequest request, AsyncHandler<PrepareAgentRequest,PrepareAgentResult> asyncHandler)
AWSBedrockAgentAsync
Prepares an existing Amazon Bedrock Agent to receive runtime requests
prepareAgentAsync
in interface AWSBedrockAgentAsync
request
- PrepareAgent RequestasyncHandler
- 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<StartIngestionJobResult> startIngestionJobAsync(StartIngestionJobRequest request)
AWSBedrockAgentAsync
Start a new ingestion job
startIngestionJobAsync
in interface AWSBedrockAgentAsync
public Future<StartIngestionJobResult> startIngestionJobAsync(StartIngestionJobRequest request, AsyncHandler<StartIngestionJobRequest,StartIngestionJobResult> asyncHandler)
AWSBedrockAgentAsync
Start a new ingestion job
startIngestionJobAsync
in interface AWSBedrockAgentAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBedrockAgentAsync
Tag a resource
tagResourceAsync
in interface AWSBedrockAgentAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBedrockAgentAsync
Tag a resource
tagResourceAsync
in interface AWSBedrockAgentAsync
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)
AWSBedrockAgentAsync
Untag a resource
untagResourceAsync
in interface AWSBedrockAgentAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBedrockAgentAsync
Untag a resource
untagResourceAsync
in interface AWSBedrockAgentAsync
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<UpdateAgentResult> updateAgentAsync(UpdateAgentRequest request)
AWSBedrockAgentAsync
Updates an existing Amazon Bedrock Agent
updateAgentAsync
in interface AWSBedrockAgentAsync
request
- Update Agent Requestpublic Future<UpdateAgentResult> updateAgentAsync(UpdateAgentRequest request, AsyncHandler<UpdateAgentRequest,UpdateAgentResult> asyncHandler)
AWSBedrockAgentAsync
Updates an existing Amazon Bedrock Agent
updateAgentAsync
in interface AWSBedrockAgentAsync
request
- Update Agent RequestasyncHandler
- 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<UpdateAgentActionGroupResult> updateAgentActionGroupAsync(UpdateAgentActionGroupRequest request)
AWSBedrockAgentAsync
Updates an existing Action Group for Amazon Bedrock Agent
updateAgentActionGroupAsync
in interface AWSBedrockAgentAsync
request
- Update Action Group Requestpublic Future<UpdateAgentActionGroupResult> updateAgentActionGroupAsync(UpdateAgentActionGroupRequest request, AsyncHandler<UpdateAgentActionGroupRequest,UpdateAgentActionGroupResult> asyncHandler)
AWSBedrockAgentAsync
Updates an existing Action Group for Amazon Bedrock Agent
updateAgentActionGroupAsync
in interface AWSBedrockAgentAsync
request
- Update Action Group RequestasyncHandler
- 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<UpdateAgentAliasResult> updateAgentAliasAsync(UpdateAgentAliasRequest request)
AWSBedrockAgentAsync
Updates an existing Alias for an Amazon Bedrock Agent
updateAgentAliasAsync
in interface AWSBedrockAgentAsync
request
- Update Agent Alias Requestpublic Future<UpdateAgentAliasResult> updateAgentAliasAsync(UpdateAgentAliasRequest request, AsyncHandler<UpdateAgentAliasRequest,UpdateAgentAliasResult> asyncHandler)
AWSBedrockAgentAsync
Updates an existing Alias for an Amazon Bedrock Agent
updateAgentAliasAsync
in interface AWSBedrockAgentAsync
request
- Update Agent Alias RequestasyncHandler
- 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<UpdateAgentKnowledgeBaseResult> updateAgentKnowledgeBaseAsync(UpdateAgentKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Updates an existing Knowledge Base associated to an Amazon Bedrock Agent
updateAgentKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
request
- Update Agent Knowledge Base Requestpublic Future<UpdateAgentKnowledgeBaseResult> updateAgentKnowledgeBaseAsync(UpdateAgentKnowledgeBaseRequest request, AsyncHandler<UpdateAgentKnowledgeBaseRequest,UpdateAgentKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Updates an existing Knowledge Base associated to an Amazon Bedrock Agent
updateAgentKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
request
- Update Agent Knowledge Base RequestasyncHandler
- 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<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest request)
AWSBedrockAgentAsync
Update an existing data source
updateDataSourceAsync
in interface AWSBedrockAgentAsync
public Future<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest request, AsyncHandler<UpdateDataSourceRequest,UpdateDataSourceResult> asyncHandler)
AWSBedrockAgentAsync
Update an existing data source
updateDataSourceAsync
in interface AWSBedrockAgentAsync
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<UpdateKnowledgeBaseResult> updateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Update an existing knowledge base
updateKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
public Future<UpdateKnowledgeBaseResult> updateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest request, AsyncHandler<UpdateKnowledgeBaseRequest,UpdateKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Update an existing knowledge base
updateKnowledgeBaseAsync
in interface AWSBedrockAgentAsync
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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSBedrockAgent
shutdown
in class AWSBedrockAgentClient