@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSBedrockAgentAsync extends AbstractAWSBedrockAgent implements AWSBedrockAgentAsync
AWSBedrockAgentAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIXassociateAgentKnowledgeBase, createAgent, createAgentActionGroup, createAgentAlias, createDataSource, createFlow, createFlowAlias, createFlowVersion, createKnowledgeBase, createPrompt, createPromptVersion, deleteAgent, deleteAgentActionGroup, deleteAgentAlias, deleteAgentVersion, deleteDataSource, deleteFlow, deleteFlowAlias, deleteFlowVersion, deleteKnowledgeBase, deletePrompt, disassociateAgentKnowledgeBase, getAgent, getAgentActionGroup, getAgentAlias, getAgentKnowledgeBase, getAgentVersion, getCachedResponseMetadata, getDataSource, getFlow, getFlowAlias, getFlowVersion, getIngestionJob, getKnowledgeBase, getPrompt, listAgentActionGroups, listAgentAliases, listAgentKnowledgeBases, listAgents, listAgentVersions, listDataSources, listFlowAliases, listFlows, listFlowVersions, listIngestionJobs, listKnowledgeBases, listPrompts, listTagsForResource, prepareAgent, prepareFlow, shutdown, startIngestionJob, tagResource, untagResource, updateAgent, updateAgentActionGroup, updateAgentAlias, updateAgentKnowledgeBase, updateDataSource, updateFlow, updateFlowAlias, updateKnowledgeBase, updatePromptequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateAgentKnowledgeBase, createAgent, createAgentActionGroup, createAgentAlias, createDataSource, createFlow, createFlowAlias, createFlowVersion, createKnowledgeBase, createPrompt, createPromptVersion, deleteAgent, deleteAgentActionGroup, deleteAgentAlias, deleteAgentVersion, deleteDataSource, deleteFlow, deleteFlowAlias, deleteFlowVersion, deleteKnowledgeBase, deletePrompt, disassociateAgentKnowledgeBase, getAgent, getAgentActionGroup, getAgentAlias, getAgentKnowledgeBase, getAgentVersion, getCachedResponseMetadata, getDataSource, getFlow, getFlowAlias, getFlowVersion, getIngestionJob, getKnowledgeBase, getPrompt, listAgentActionGroups, listAgentAliases, listAgentKnowledgeBases, listAgents, listAgentVersions, listDataSources, listFlowAliases, listFlows, listFlowVersions, listIngestionJobs, listKnowledgeBases, listPrompts, listTagsForResource, prepareAgent, prepareFlow, shutdown, startIngestionJob, tagResource, untagResource, updateAgent, updateAgentActionGroup, updateAgentAlias, updateAgentKnowledgeBase, updateDataSource, updateFlow, updateFlowAlias, updateKnowledgeBase, updatePromptpublic Future<AssociateAgentKnowledgeBaseResult> associateAgentKnowledgeBaseAsync(AssociateAgentKnowledgeBaseRequest request)
AWSBedrockAgentAsync
Associates a knowledge base with an agent. If a knowledge base is associated and its indexState is
set to Enabled, the agent queries the knowledge base for information to augment its response to the
user.
associateAgentKnowledgeBaseAsync in interface AWSBedrockAgentAsyncpublic Future<AssociateAgentKnowledgeBaseResult> associateAgentKnowledgeBaseAsync(AssociateAgentKnowledgeBaseRequest request, AsyncHandler<AssociateAgentKnowledgeBaseRequest,AssociateAgentKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsync
Associates a knowledge base with an agent. If a knowledge base is associated and its indexState is
set to Enabled, the agent queries the knowledge base for information to augment its response to the
user.
associateAgentKnowledgeBaseAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncCreates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.
Specify the following fields for security purposes.
agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API
operations on an agent.
(Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the
creation of the agent.
(Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should
maintain session information. After this time expires, the subsequent InvokeAgent request begins a
new session.
To enable your agent to retain conversational context across multiple sessions, include a
memoryConfiguration object. For more information, see Configure memory.
To override the default prompt behavior for agent orchestration and to use advanced prompts, include a
promptOverrideConfiguration object. For more information, see Advanced prompts.
If you agent fails to be created, the response returns a list of failureReasons alongside a list of
recommendedActions for you to troubleshoot.
createAgentAsync in interface AWSBedrockAgentAsyncpublic Future<CreateAgentResult> createAgentAsync(CreateAgentRequest request, AsyncHandler<CreateAgentRequest,CreateAgentResult> asyncHandler)
AWSBedrockAgentAsyncCreates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.
Specify the following fields for security purposes.
agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API
operations on an agent.
(Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the
creation of the agent.
(Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should
maintain session information. After this time expires, the subsequent InvokeAgent request begins a
new session.
To enable your agent to retain conversational context across multiple sessions, include a
memoryConfiguration object. For more information, see Configure memory.
To override the default prompt behavior for agent orchestration and to use advanced prompts, include a
promptOverrideConfiguration object. For more information, see Advanced prompts.
If you agent fails to be created, the response returns a list of failureReasons alongside a list of
recommendedActions for you to troubleshoot.
createAgentAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncCreates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.
To allow your agent to request the user for additional information when trying to complete a task, add an action
group with the parentActionGroupSignature field set to AMAZON.UserInput.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group
with the parentActionGroupSignature field set to AMAZON.CodeInterpreter.
You must leave the description, apiSchema, and actionGroupExecutor fields
blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an
action group, but doesn't have enough information to complete the API request, it will invoke this action group
instead and return an Observation
reprompting the user for more information.
createAgentActionGroupAsync in interface AWSBedrockAgentAsyncpublic Future<CreateAgentActionGroupResult> createAgentActionGroupAsync(CreateAgentActionGroupRequest request, AsyncHandler<CreateAgentActionGroupRequest,CreateAgentActionGroupResult> asyncHandler)
AWSBedrockAgentAsyncCreates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.
To allow your agent to request the user for additional information when trying to complete a task, add an action
group with the parentActionGroupSignature field set to AMAZON.UserInput.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group
with the parentActionGroupSignature field set to AMAZON.CodeInterpreter.
You must leave the description, apiSchema, and actionGroupExecutor fields
blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an
action group, but doesn't have enough information to complete the API request, it will invoke this action group
instead and return an Observation
reprompting the user for more information.
createAgentActionGroupAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncCreates an alias of an agent that can be used to deploy the agent.
createAgentAliasAsync in interface AWSBedrockAgentAsyncpublic Future<CreateAgentAliasResult> createAgentAliasAsync(CreateAgentAliasRequest request, AsyncHandler<CreateAgentAliasRequest,CreateAgentAliasResult> asyncHandler)
AWSBedrockAgentAsyncCreates an alias of an agent that can be used to deploy the agent.
createAgentAliasAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncCreates a data source connector for a knowledge base.
You can't change the chunkingConfiguration after you create the data source connector.
createDataSourceAsync in interface AWSBedrockAgentAsyncpublic Future<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest request, AsyncHandler<CreateDataSourceRequest,CreateDataSourceResult> asyncHandler)
AWSBedrockAgentAsyncCreates a data source connector for a knowledge base.
You can't change the chunkingConfiguration after you create the data source connector.
createDataSourceAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<CreateFlowResult> createFlowAsync(CreateFlowRequest request)
AWSBedrockAgentAsyncCreates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
createFlowAsync in interface AWSBedrockAgentAsyncpublic Future<CreateFlowResult> createFlowAsync(CreateFlowRequest request, AsyncHandler<CreateFlowRequest,CreateFlowResult> asyncHandler)
AWSBedrockAgentAsyncCreates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
createFlowAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<CreateFlowAliasResult> createFlowAliasAsync(CreateFlowAliasRequest request)
AWSBedrockAgentAsyncCreates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
createFlowAliasAsync in interface AWSBedrockAgentAsyncpublic Future<CreateFlowAliasResult> createFlowAliasAsync(CreateFlowAliasRequest request, AsyncHandler<CreateFlowAliasRequest,CreateFlowAliasResult> asyncHandler)
AWSBedrockAgentAsyncCreates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
createFlowAliasAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<CreateFlowVersionResult> createFlowVersionAsync(CreateFlowVersionRequest request)
AWSBedrockAgentAsyncCreates a version of the flow that you can deploy. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
createFlowVersionAsync in interface AWSBedrockAgentAsyncpublic Future<CreateFlowVersionResult> createFlowVersionAsync(CreateFlowVersionRequest request, AsyncHandler<CreateFlowVersionRequest,CreateFlowVersionResult> asyncHandler)
AWSBedrockAgentAsyncCreates a version of the flow that you can deploy. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
createFlowVersionAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncCreates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up your data for ingestion.
If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base.
Provide the name and an optional description.
Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the roleArn
field.
Provide the embedding model to use in the embeddingModelArn field in the
knowledgeBaseConfiguration object.
Provide the configuration for your vector store in the storageConfiguration object.
For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration object. For
more information, see Create a vector store
in Amazon OpenSearch Service.
For an Amazon Aurora database, use the RdsConfiguration object. For more information, see Create a vector store
in Amazon Aurora.
For a Pinecone database, use the pineconeConfiguration object. For more information, see Create a vector
store in Pinecone.
For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration object. For more
information, see Create a vector store
in Redis Enterprise Cloud.
createKnowledgeBaseAsync in interface AWSBedrockAgentAsyncpublic Future<CreateKnowledgeBaseResult> createKnowledgeBaseAsync(CreateKnowledgeBaseRequest request, AsyncHandler<CreateKnowledgeBaseRequest,CreateKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsyncCreates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up your data for ingestion.
If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base.
Provide the name and an optional description.
Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the roleArn
field.
Provide the embedding model to use in the embeddingModelArn field in the
knowledgeBaseConfiguration object.
Provide the configuration for your vector store in the storageConfiguration object.
For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration object. For
more information, see Create a vector store
in Amazon OpenSearch Service.
For an Amazon Aurora database, use the RdsConfiguration object. For more information, see Create a vector store
in Amazon Aurora.
For a Pinecone database, use the pineconeConfiguration object. For more information, see Create a vector
store in Pinecone.
For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration object. For more
information, see Create a vector store
in Redis Enterprise Cloud.
createKnowledgeBaseAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<CreatePromptResult> createPromptAsync(CreatePromptRequest request)
AWSBedrockAgentAsyncCreates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
createPromptAsync in interface AWSBedrockAgentAsyncpublic Future<CreatePromptResult> createPromptAsync(CreatePromptRequest request, AsyncHandler<CreatePromptRequest,CreatePromptResult> asyncHandler)
AWSBedrockAgentAsyncCreates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
createPromptAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<CreatePromptVersionResult> createPromptVersionAsync(CreatePromptVersionRequest request)
AWSBedrockAgentAsyncCreates a static snapshot of your prompt that can be deployed to production. For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
createPromptVersionAsync in interface AWSBedrockAgentAsyncpublic Future<CreatePromptVersionResult> createPromptVersionAsync(CreatePromptVersionRequest request, AsyncHandler<CreatePromptVersionRequest,CreatePromptVersionResult> asyncHandler)
AWSBedrockAgentAsyncCreates a static snapshot of your prompt that can be deployed to production. For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
createPromptVersionAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncDeletes an agent.
deleteAgentAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteAgentResult> deleteAgentAsync(DeleteAgentRequest request, AsyncHandler<DeleteAgentRequest,DeleteAgentResult> asyncHandler)
AWSBedrockAgentAsyncDeletes an agent.
deleteAgentAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncDeletes an action group in an agent.
deleteAgentActionGroupAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteAgentActionGroupResult> deleteAgentActionGroupAsync(DeleteAgentActionGroupRequest request, AsyncHandler<DeleteAgentActionGroupRequest,DeleteAgentActionGroupResult> asyncHandler)
AWSBedrockAgentAsyncDeletes an action group in an agent.
deleteAgentActionGroupAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncDeletes an alias of an agent.
deleteAgentAliasAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteAgentAliasResult> deleteAgentAliasAsync(DeleteAgentAliasRequest request, AsyncHandler<DeleteAgentAliasRequest,DeleteAgentAliasResult> asyncHandler)
AWSBedrockAgentAsyncDeletes an alias of an agent.
deleteAgentAliasAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncDeletes a version of an agent.
deleteAgentVersionAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteAgentVersionResult> deleteAgentVersionAsync(DeleteAgentVersionRequest request, AsyncHandler<DeleteAgentVersionRequest,DeleteAgentVersionResult> asyncHandler)
AWSBedrockAgentAsyncDeletes a version of an agent.
deleteAgentVersionAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncDeletes a data source from a knowledge base.
deleteDataSourceAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest request, AsyncHandler<DeleteDataSourceRequest,DeleteDataSourceResult> asyncHandler)
AWSBedrockAgentAsyncDeletes a data source from a knowledge base.
deleteDataSourceAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<DeleteFlowResult> deleteFlowAsync(DeleteFlowRequest request)
AWSBedrockAgentAsyncDeletes a flow.
deleteFlowAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteFlowResult> deleteFlowAsync(DeleteFlowRequest request, AsyncHandler<DeleteFlowRequest,DeleteFlowResult> asyncHandler)
AWSBedrockAgentAsyncDeletes a flow.
deleteFlowAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<DeleteFlowAliasResult> deleteFlowAliasAsync(DeleteFlowAliasRequest request)
AWSBedrockAgentAsyncDeletes an alias of a flow.
deleteFlowAliasAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteFlowAliasResult> deleteFlowAliasAsync(DeleteFlowAliasRequest request, AsyncHandler<DeleteFlowAliasRequest,DeleteFlowAliasResult> asyncHandler)
AWSBedrockAgentAsyncDeletes an alias of a flow.
deleteFlowAliasAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<DeleteFlowVersionResult> deleteFlowVersionAsync(DeleteFlowVersionRequest request)
AWSBedrockAgentAsyncDeletes a version of a flow.
deleteFlowVersionAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteFlowVersionResult> deleteFlowVersionAsync(DeleteFlowVersionRequest request, AsyncHandler<DeleteFlowVersionRequest,DeleteFlowVersionResult> asyncHandler)
AWSBedrockAgentAsyncDeletes a version of a flow.
deleteFlowVersionAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncDeletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
deleteKnowledgeBaseAsync in interface AWSBedrockAgentAsyncpublic Future<DeleteKnowledgeBaseResult> deleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request, AsyncHandler<DeleteKnowledgeBaseRequest,DeleteKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsyncDeletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
deleteKnowledgeBaseAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<DeletePromptResult> deletePromptAsync(DeletePromptRequest request)
AWSBedrockAgentAsyncDeletes a prompt or a prompt version from the Prompt management tool. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.
deletePromptAsync in interface AWSBedrockAgentAsyncpublic Future<DeletePromptResult> deletePromptAsync(DeletePromptRequest request, AsyncHandler<DeletePromptRequest,DeletePromptResult> asyncHandler)
AWSBedrockAgentAsyncDeletes a prompt or a prompt version from the Prompt management tool. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.
deletePromptAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncDisassociates a knowledge base from an agent.
disassociateAgentKnowledgeBaseAsync in interface AWSBedrockAgentAsyncpublic Future<DisassociateAgentKnowledgeBaseResult> disassociateAgentKnowledgeBaseAsync(DisassociateAgentKnowledgeBaseRequest request, AsyncHandler<DisassociateAgentKnowledgeBaseRequest,DisassociateAgentKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsyncDisassociates a knowledge base from an agent.
disassociateAgentKnowledgeBaseAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncGets information about an agent.
getAgentAsync in interface AWSBedrockAgentAsyncpublic Future<GetAgentResult> getAgentAsync(GetAgentRequest request, AsyncHandler<GetAgentRequest,GetAgentResult> asyncHandler)
AWSBedrockAgentAsyncGets information about an agent.
getAgentAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncGets information about an action group for an agent.
getAgentActionGroupAsync in interface AWSBedrockAgentAsyncpublic Future<GetAgentActionGroupResult> getAgentActionGroupAsync(GetAgentActionGroupRequest request, AsyncHandler<GetAgentActionGroupRequest,GetAgentActionGroupResult> asyncHandler)
AWSBedrockAgentAsyncGets information about an action group for an agent.
getAgentActionGroupAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncGets information about an alias of an agent.
getAgentAliasAsync in interface AWSBedrockAgentAsyncpublic Future<GetAgentAliasResult> getAgentAliasAsync(GetAgentAliasRequest request, AsyncHandler<GetAgentAliasRequest,GetAgentAliasResult> asyncHandler)
AWSBedrockAgentAsyncGets information about an alias of an agent.
getAgentAliasAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncGets information about a knowledge base associated with an agent.
getAgentKnowledgeBaseAsync in interface AWSBedrockAgentAsyncpublic Future<GetAgentKnowledgeBaseResult> getAgentKnowledgeBaseAsync(GetAgentKnowledgeBaseRequest request, AsyncHandler<GetAgentKnowledgeBaseRequest,GetAgentKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsyncGets information about a knowledge base associated with an agent.
getAgentKnowledgeBaseAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncGets details about a version of an agent.
getAgentVersionAsync in interface AWSBedrockAgentAsyncpublic Future<GetAgentVersionResult> getAgentVersionAsync(GetAgentVersionRequest request, AsyncHandler<GetAgentVersionRequest,GetAgentVersionResult> asyncHandler)
AWSBedrockAgentAsyncGets details about a version of an agent.
getAgentVersionAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncGets information about a data source.
getDataSourceAsync in interface AWSBedrockAgentAsyncpublic Future<GetDataSourceResult> getDataSourceAsync(GetDataSourceRequest request, AsyncHandler<GetDataSourceRequest,GetDataSourceResult> asyncHandler)
AWSBedrockAgentAsyncGets information about a data source.
getDataSourceAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<GetFlowResult> getFlowAsync(GetFlowRequest request)
AWSBedrockAgentAsyncRetrieves information about a flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
getFlowAsync in interface AWSBedrockAgentAsyncpublic Future<GetFlowResult> getFlowAsync(GetFlowRequest request, AsyncHandler<GetFlowRequest,GetFlowResult> asyncHandler)
AWSBedrockAgentAsyncRetrieves information about a flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
getFlowAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<GetFlowAliasResult> getFlowAliasAsync(GetFlowAliasRequest request)
AWSBedrockAgentAsyncRetrieves information about a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
getFlowAliasAsync in interface AWSBedrockAgentAsyncpublic Future<GetFlowAliasResult> getFlowAliasAsync(GetFlowAliasRequest request, AsyncHandler<GetFlowAliasRequest,GetFlowAliasResult> asyncHandler)
AWSBedrockAgentAsyncRetrieves information about a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
getFlowAliasAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<GetFlowVersionResult> getFlowVersionAsync(GetFlowVersionRequest request)
AWSBedrockAgentAsyncRetrieves information about a version of a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
getFlowVersionAsync in interface AWSBedrockAgentAsyncpublic Future<GetFlowVersionResult> getFlowVersionAsync(GetFlowVersionRequest request, AsyncHandler<GetFlowVersionRequest,GetFlowVersionResult> asyncHandler)
AWSBedrockAgentAsyncRetrieves information about a version of a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
getFlowVersionAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncGets information about a ingestion job, in which a data source is added to a knowledge base.
getIngestionJobAsync in interface AWSBedrockAgentAsyncpublic Future<GetIngestionJobResult> getIngestionJobAsync(GetIngestionJobRequest request, AsyncHandler<GetIngestionJobRequest,GetIngestionJobResult> asyncHandler)
AWSBedrockAgentAsyncGets information about a ingestion job, in which a data source is added to a knowledge base.
getIngestionJobAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncGets information about a knoweldge base.
getKnowledgeBaseAsync in interface AWSBedrockAgentAsyncpublic Future<GetKnowledgeBaseResult> getKnowledgeBaseAsync(GetKnowledgeBaseRequest request, AsyncHandler<GetKnowledgeBaseRequest,GetKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsyncGets information about a knoweldge base.
getKnowledgeBaseAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<GetPromptResult> getPromptAsync(GetPromptRequest request)
AWSBedrockAgentAsyncRetrieves information about a prompt or a version of it. For more information, see View information about prompts using Prompt management and View information about a version of your prompt in the Amazon Bedrock User Guide.
getPromptAsync in interface AWSBedrockAgentAsyncpublic Future<GetPromptResult> getPromptAsync(GetPromptRequest request, AsyncHandler<GetPromptRequest,GetPromptResult> asyncHandler)
AWSBedrockAgentAsyncRetrieves information about a prompt or a version of it. For more information, see View information about prompts using Prompt management and View information about a version of your prompt in the Amazon Bedrock User Guide.
getPromptAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncLists the action groups for an agent and information about each one.
listAgentActionGroupsAsync in interface AWSBedrockAgentAsyncpublic Future<ListAgentActionGroupsResult> listAgentActionGroupsAsync(ListAgentActionGroupsRequest request, AsyncHandler<ListAgentActionGroupsRequest,ListAgentActionGroupsResult> asyncHandler)
AWSBedrockAgentAsyncLists the action groups for an agent and information about each one.
listAgentActionGroupsAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncLists the aliases of an agent and information about each one.
listAgentAliasesAsync in interface AWSBedrockAgentAsyncpublic Future<ListAgentAliasesResult> listAgentAliasesAsync(ListAgentAliasesRequest request, AsyncHandler<ListAgentAliasesRequest,ListAgentAliasesResult> asyncHandler)
AWSBedrockAgentAsyncLists the aliases of an agent and information about each one.
listAgentAliasesAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncLists knowledge bases associated with an agent and information about each one.
listAgentKnowledgeBasesAsync in interface AWSBedrockAgentAsyncpublic Future<ListAgentKnowledgeBasesResult> listAgentKnowledgeBasesAsync(ListAgentKnowledgeBasesRequest request, AsyncHandler<ListAgentKnowledgeBasesRequest,ListAgentKnowledgeBasesResult> asyncHandler)
AWSBedrockAgentAsyncLists knowledge bases associated with an agent and information about each one.
listAgentKnowledgeBasesAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncLists the versions of an agent and information about each version.
listAgentVersionsAsync in interface AWSBedrockAgentAsyncpublic Future<ListAgentVersionsResult> listAgentVersionsAsync(ListAgentVersionsRequest request, AsyncHandler<ListAgentVersionsRequest,ListAgentVersionsResult> asyncHandler)
AWSBedrockAgentAsyncLists the versions of an agent and information about each version.
listAgentVersionsAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncLists the agents belonging to an account and information about each agent.
listAgentsAsync in interface AWSBedrockAgentAsyncpublic Future<ListAgentsResult> listAgentsAsync(ListAgentsRequest request, AsyncHandler<ListAgentsRequest,ListAgentsResult> asyncHandler)
AWSBedrockAgentAsyncLists the agents belonging to an account and information about each agent.
listAgentsAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncLists the data sources in a knowledge base and information about each one.
listDataSourcesAsync in interface AWSBedrockAgentAsyncpublic Future<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest request, AsyncHandler<ListDataSourcesRequest,ListDataSourcesResult> asyncHandler)
AWSBedrockAgentAsyncLists the data sources in a knowledge base and information about each one.
listDataSourcesAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<ListFlowAliasesResult> listFlowAliasesAsync(ListFlowAliasesRequest request)
AWSBedrockAgentAsyncReturns a list of aliases for a flow.
listFlowAliasesAsync in interface AWSBedrockAgentAsyncpublic Future<ListFlowAliasesResult> listFlowAliasesAsync(ListFlowAliasesRequest request, AsyncHandler<ListFlowAliasesRequest,ListFlowAliasesResult> asyncHandler)
AWSBedrockAgentAsyncReturns a list of aliases for a flow.
listFlowAliasesAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<ListFlowVersionsResult> listFlowVersionsAsync(ListFlowVersionsRequest request)
AWSBedrockAgentAsyncReturns a list of information about each flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
listFlowVersionsAsync in interface AWSBedrockAgentAsyncpublic Future<ListFlowVersionsResult> listFlowVersionsAsync(ListFlowVersionsRequest request, AsyncHandler<ListFlowVersionsRequest,ListFlowVersionsResult> asyncHandler)
AWSBedrockAgentAsyncReturns a list of information about each flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
listFlowVersionsAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<ListFlowsResult> listFlowsAsync(ListFlowsRequest request)
AWSBedrockAgentAsyncReturns a list of flows and information about each flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
listFlowsAsync in interface AWSBedrockAgentAsyncpublic Future<ListFlowsResult> listFlowsAsync(ListFlowsRequest request, AsyncHandler<ListFlowsRequest,ListFlowsResult> asyncHandler)
AWSBedrockAgentAsyncReturns a list of flows and information about each flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
listFlowsAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncLists the ingestion jobs for a data source and information about each of them.
listIngestionJobsAsync in interface AWSBedrockAgentAsyncpublic Future<ListIngestionJobsResult> listIngestionJobsAsync(ListIngestionJobsRequest request, AsyncHandler<ListIngestionJobsRequest,ListIngestionJobsResult> asyncHandler)
AWSBedrockAgentAsyncLists the ingestion jobs for a data source and information about each of them.
listIngestionJobsAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncLists the knowledge bases in an account and information about each of them.
listKnowledgeBasesAsync in interface AWSBedrockAgentAsyncpublic Future<ListKnowledgeBasesResult> listKnowledgeBasesAsync(ListKnowledgeBasesRequest request, AsyncHandler<ListKnowledgeBasesRequest,ListKnowledgeBasesResult> asyncHandler)
AWSBedrockAgentAsyncLists the knowledge bases in an account and information about each of them.
listKnowledgeBasesAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<ListPromptsResult> listPromptsAsync(ListPromptsRequest request)
AWSBedrockAgentAsyncReturns a list of prompts from the Prompt management tool and information about each prompt. For more information, see View information about prompts using Prompt management in the Amazon Bedrock User Guide.
listPromptsAsync in interface AWSBedrockAgentAsyncpublic Future<ListPromptsResult> listPromptsAsync(ListPromptsRequest request, AsyncHandler<ListPromptsRequest,ListPromptsResult> asyncHandler)
AWSBedrockAgentAsyncReturns a list of prompts from the Prompt management tool and information about each prompt. For more information, see View information about prompts using Prompt management in the Amazon Bedrock User Guide.
listPromptsAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncList all the tags for the resource you specify.
listTagsForResourceAsync in interface AWSBedrockAgentAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSBedrockAgentAsyncList all the tags for the resource you specify.
listTagsForResourceAsync in interface AWSBedrockAgentAsyncasyncHandler - 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
Creates a DRAFT version of the agent that can be used for internal testing.
prepareAgentAsync in interface AWSBedrockAgentAsyncpublic Future<PrepareAgentResult> prepareAgentAsync(PrepareAgentRequest request, AsyncHandler<PrepareAgentRequest,PrepareAgentResult> asyncHandler)
AWSBedrockAgentAsync
Creates a DRAFT version of the agent that can be used for internal testing.
prepareAgentAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<PrepareFlowResult> prepareFlowAsync(PrepareFlowRequest request)
AWSBedrockAgentAsync
Prepares the DRAFT version of a flow so that it can be invoked. For more information, see Test a flow in Amazon Bedrock in
the Amazon Bedrock User Guide.
prepareFlowAsync in interface AWSBedrockAgentAsyncpublic Future<PrepareFlowResult> prepareFlowAsync(PrepareFlowRequest request, AsyncHandler<PrepareFlowRequest,PrepareFlowResult> asyncHandler)
AWSBedrockAgentAsync
Prepares the DRAFT version of a flow so that it can be invoked. For more information, see Test a flow in Amazon Bedrock in
the Amazon Bedrock User Guide.
prepareFlowAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncBegins an ingestion job, in which a data source is added to a knowledge base.
startIngestionJobAsync in interface AWSBedrockAgentAsyncpublic Future<StartIngestionJobResult> startIngestionJobAsync(StartIngestionJobRequest request, AsyncHandler<StartIngestionJobRequest,StartIngestionJobResult> asyncHandler)
AWSBedrockAgentAsyncBegins an ingestion job, in which a data source is added to a knowledge base.
startIngestionJobAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncAssociate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
tagResourceAsync in interface AWSBedrockAgentAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBedrockAgentAsyncAssociate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
tagResourceAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncRemove tags from a resource.
untagResourceAsync in interface AWSBedrockAgentAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBedrockAgentAsyncRemove tags from a resource.
untagResourceAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncUpdates the configuration of an agent.
updateAgentAsync in interface AWSBedrockAgentAsyncpublic Future<UpdateAgentResult> updateAgentAsync(UpdateAgentRequest request, AsyncHandler<UpdateAgentRequest,UpdateAgentResult> asyncHandler)
AWSBedrockAgentAsyncUpdates the configuration of an agent.
updateAgentAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncUpdates the configuration for an action group for an agent.
updateAgentActionGroupAsync in interface AWSBedrockAgentAsyncpublic Future<UpdateAgentActionGroupResult> updateAgentActionGroupAsync(UpdateAgentActionGroupRequest request, AsyncHandler<UpdateAgentActionGroupRequest,UpdateAgentActionGroupResult> asyncHandler)
AWSBedrockAgentAsyncUpdates the configuration for an action group for an agent.
updateAgentActionGroupAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncUpdates configurations for an alias of an agent.
updateAgentAliasAsync in interface AWSBedrockAgentAsyncpublic Future<UpdateAgentAliasResult> updateAgentAliasAsync(UpdateAgentAliasRequest request, AsyncHandler<UpdateAgentAliasRequest,UpdateAgentAliasResult> asyncHandler)
AWSBedrockAgentAsyncUpdates configurations for an alias of an agent.
updateAgentAliasAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncUpdates the configuration for a knowledge base that has been associated with an agent.
updateAgentKnowledgeBaseAsync in interface AWSBedrockAgentAsyncpublic Future<UpdateAgentKnowledgeBaseResult> updateAgentKnowledgeBaseAsync(UpdateAgentKnowledgeBaseRequest request, AsyncHandler<UpdateAgentKnowledgeBaseRequest,UpdateAgentKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsyncUpdates the configuration for a knowledge base that has been associated with an agent.
updateAgentKnowledgeBaseAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncUpdates the configurations for a data source connector.
You can't change the chunkingConfiguration after you create the data source connector. Specify the
existing chunkingConfiguration.
updateDataSourceAsync in interface AWSBedrockAgentAsyncpublic Future<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest request, AsyncHandler<UpdateDataSourceRequest,UpdateDataSourceResult> asyncHandler)
AWSBedrockAgentAsyncUpdates the configurations for a data source connector.
You can't change the chunkingConfiguration after you create the data source connector. Specify the
existing chunkingConfiguration.
updateDataSourceAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<UpdateFlowResult> updateFlowAsync(UpdateFlowRequest request)
AWSBedrockAgentAsyncModifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
updateFlowAsync in interface AWSBedrockAgentAsyncpublic Future<UpdateFlowResult> updateFlowAsync(UpdateFlowRequest request, AsyncHandler<UpdateFlowRequest,UpdateFlowResult> asyncHandler)
AWSBedrockAgentAsyncModifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
updateFlowAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<UpdateFlowAliasResult> updateFlowAliasAsync(UpdateFlowAliasRequest request)
AWSBedrockAgentAsyncModifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
updateFlowAliasAsync in interface AWSBedrockAgentAsyncpublic Future<UpdateFlowAliasResult> updateFlowAliasAsync(UpdateFlowAliasRequest request, AsyncHandler<UpdateFlowAliasRequest,UpdateFlowAliasResult> asyncHandler)
AWSBedrockAgentAsyncModifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
updateFlowAliasAsync in interface AWSBedrockAgentAsyncasyncHandler - 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)
AWSBedrockAgentAsyncUpdates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same.
You can change the following fields:
name
description
roleArn
You can't change the knowledgeBaseConfiguration or storageConfiguration fields, so you
must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.
updateKnowledgeBaseAsync in interface AWSBedrockAgentAsyncpublic Future<UpdateKnowledgeBaseResult> updateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest request, AsyncHandler<UpdateKnowledgeBaseRequest,UpdateKnowledgeBaseResult> asyncHandler)
AWSBedrockAgentAsyncUpdates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same.
You can change the following fields:
name
description
roleArn
You can't change the knowledgeBaseConfiguration or storageConfiguration fields, so you
must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.
updateKnowledgeBaseAsync in interface AWSBedrockAgentAsyncasyncHandler - 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<UpdatePromptResult> updatePromptAsync(UpdatePromptRequest request)
AWSBedrockAgentAsyncModifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
updatePromptAsync in interface AWSBedrockAgentAsyncpublic Future<UpdatePromptResult> updatePromptAsync(UpdatePromptRequest request, AsyncHandler<UpdatePromptRequest,UpdatePromptResult> asyncHandler)
AWSBedrockAgentAsyncModifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
updatePromptAsync in interface AWSBedrockAgentAsyncasyncHandler - 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.