@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBedrockAgentClient extends AmazonWebServiceClient implements AWSBedrockAgent
An example service, deployed with the Octane Service creator, which will echo the string
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
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
public static AWSBedrockAgentClientBuilder builder()
public AssociateAgentKnowledgeBaseResult associateAgentKnowledgeBase(AssociateAgentKnowledgeBaseRequest request)
Associate a Knowledge Base to an existing Amazon Bedrock Agent
associateAgentKnowledgeBase
in interface AWSBedrockAgent
associateAgentKnowledgeBaseRequest
- Associate Agent Knowledge Base RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic CreateAgentResult createAgent(CreateAgentRequest request)
Creates an Amazon Bedrock Agent
createAgent
in interface AWSBedrockAgent
createAgentRequest
- Create Agent RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic CreateAgentActionGroupResult createAgentActionGroup(CreateAgentActionGroupRequest request)
Creates an Action Group for existing Amazon Bedrock Agent
createAgentActionGroup
in interface AWSBedrockAgent
createAgentActionGroupRequest
- Create Action Group RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic CreateAgentAliasResult createAgentAlias(CreateAgentAliasRequest request)
Creates an Alias for an existing Amazon Bedrock Agent
createAgentAlias
in interface AWSBedrockAgent
createAgentAliasRequest
- Create Agent Alias RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic CreateDataSourceResult createDataSource(CreateDataSourceRequest request)
Create a new data source
createDataSource
in interface AWSBedrockAgent
createDataSourceRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic CreateKnowledgeBaseResult createKnowledgeBase(CreateKnowledgeBaseRequest request)
Create a new knowledge base
createKnowledgeBase
in interface AWSBedrockAgent
createKnowledgeBaseRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic DeleteAgentResult deleteAgent(DeleteAgentRequest request)
Deletes an Agent for existing Amazon Bedrock Agent
deleteAgent
in interface AWSBedrockAgent
deleteAgentRequest
- Delete Agent RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic DeleteAgentActionGroupResult deleteAgentActionGroup(DeleteAgentActionGroupRequest request)
Deletes an Action Group for existing Amazon Bedrock Agent.
deleteAgentActionGroup
in interface AWSBedrockAgent
deleteAgentActionGroupRequest
- Delete Action Group RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic DeleteAgentAliasResult deleteAgentAlias(DeleteAgentAliasRequest request)
Deletes an Alias for a Amazon Bedrock Agent
deleteAgentAlias
in interface AWSBedrockAgent
deleteAgentAliasRequest
- Delete Agent Alias RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic DeleteAgentVersionResult deleteAgentVersion(DeleteAgentVersionRequest request)
Deletes an Agent version for existing Amazon Bedrock Agent
deleteAgentVersion
in interface AWSBedrockAgent
deleteAgentVersionRequest
- Delete Agent Version RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic DeleteDataSourceResult deleteDataSource(DeleteDataSourceRequest request)
Delete an existing data source
deleteDataSource
in interface AWSBedrockAgent
deleteDataSourceRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic DeleteKnowledgeBaseResult deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
Delete an existing knowledge base
deleteKnowledgeBase
in interface AWSBedrockAgent
deleteKnowledgeBaseRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic DisassociateAgentKnowledgeBaseResult disassociateAgentKnowledgeBase(DisassociateAgentKnowledgeBaseRequest request)
Disassociate an existing Knowledge Base from an Amazon Bedrock Agent
disassociateAgentKnowledgeBase
in interface AWSBedrockAgent
disassociateAgentKnowledgeBaseRequest
- Disassociate Agent Knowledge Base RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic GetAgentResult getAgent(GetAgentRequest request)
Gets an Agent for existing Amazon Bedrock Agent
getAgent
in interface AWSBedrockAgent
getAgentRequest
- Get Agent RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic GetAgentActionGroupResult getAgentActionGroup(GetAgentActionGroupRequest request)
Gets an Action Group for existing Amazon Bedrock Agent Version
getAgentActionGroup
in interface AWSBedrockAgent
getAgentActionGroupRequest
- Get Action Group RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic GetAgentAliasResult getAgentAlias(GetAgentAliasRequest request)
Describes an Alias for a Amazon Bedrock Agent
getAgentAlias
in interface AWSBedrockAgent
getAgentAliasRequest
- Get Agent Alias RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic GetAgentKnowledgeBaseResult getAgentKnowledgeBase(GetAgentKnowledgeBaseRequest request)
Gets a knowledge base associated to an existing Amazon Bedrock Agent Version
getAgentKnowledgeBase
in interface AWSBedrockAgent
getAgentKnowledgeBaseRequest
- Get Agent Knowledge Base RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic GetAgentVersionResult getAgentVersion(GetAgentVersionRequest request)
Gets an Agent version for existing Amazon Bedrock Agent
getAgentVersion
in interface AWSBedrockAgent
getAgentVersionRequest
- Get Agent Version RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic GetDataSourceResult getDataSource(GetDataSourceRequest request)
Get an existing data source
getDataSource
in interface AWSBedrockAgent
getDataSourceRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic GetIngestionJobResult getIngestionJob(GetIngestionJobRequest request)
Get an ingestion job
getIngestionJob
in interface AWSBedrockAgent
getIngestionJobRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic GetKnowledgeBaseResult getKnowledgeBase(GetKnowledgeBaseRequest request)
Get an existing knowledge base
getKnowledgeBase
in interface AWSBedrockAgent
getKnowledgeBaseRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic ListAgentActionGroupsResult listAgentActionGroups(ListAgentActionGroupsRequest request)
Lists an Action Group for existing Amazon Bedrock Agent Version
listAgentActionGroups
in interface AWSBedrockAgent
listAgentActionGroupsRequest
- List Action Groups RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic ListAgentAliasesResult listAgentAliases(ListAgentAliasesRequest request)
Lists all the Aliases for an Amazon Bedrock Agent
listAgentAliases
in interface AWSBedrockAgent
listAgentAliasesRequest
- List Agent Aliases RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic ListAgentKnowledgeBasesResult listAgentKnowledgeBases(ListAgentKnowledgeBasesRequest request)
List of Knowledge Bases associated to an existing Amazon Bedrock Agent Version
listAgentKnowledgeBases
in interface AWSBedrockAgent
listAgentKnowledgeBasesRequest
- List Agent Knowledge Bases RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic ListAgentVersionsResult listAgentVersions(ListAgentVersionsRequest request)
Lists Agent Versions
listAgentVersions
in interface AWSBedrockAgent
listAgentVersionsRequest
- List Agent Versions RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic ListAgentsResult listAgents(ListAgentsRequest request)
Lists Agents
listAgents
in interface AWSBedrockAgent
listAgentsRequest
- List Agent RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestpublic ListDataSourcesResult listDataSources(ListDataSourcesRequest request)
List data sources
listDataSources
in interface AWSBedrockAgent
listDataSourcesRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic ListIngestionJobsResult listIngestionJobs(ListIngestionJobsRequest request)
List ingestion jobs
listIngestionJobs
in interface AWSBedrockAgent
listIngestionJobsRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic ListKnowledgeBasesResult listKnowledgeBases(ListKnowledgeBasesRequest request)
List Knowledge Bases
listKnowledgeBases
in interface AWSBedrockAgent
listKnowledgeBasesRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
List tags for a resource
listTagsForResource
in interface AWSBedrockAgent
listTagsForResourceRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic PrepareAgentResult prepareAgent(PrepareAgentRequest request)
Prepares an existing Amazon Bedrock Agent to receive runtime requests
prepareAgent
in interface AWSBedrockAgent
prepareAgentRequest
- PrepareAgent RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic StartIngestionJobResult startIngestionJob(StartIngestionJobRequest request)
Start a new ingestion job
startIngestionJob
in interface AWSBedrockAgent
startIngestionJobRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic TagResourceResult tagResource(TagResourceRequest request)
Tag a resource
tagResource
in interface AWSBedrockAgent
tagResourceRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic UntagResourceResult untagResource(UntagResourceRequest request)
Untag a resource
untagResource
in interface AWSBedrockAgent
untagResourceRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existpublic UpdateAgentResult updateAgent(UpdateAgentRequest request)
Updates an existing Amazon Bedrock Agent
updateAgent
in interface AWSBedrockAgent
updateAgentRequest
- Update Agent RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic UpdateAgentActionGroupResult updateAgentActionGroup(UpdateAgentActionGroupRequest request)
Updates an existing Action Group for Amazon Bedrock Agent
updateAgentActionGroup
in interface AWSBedrockAgent
updateAgentActionGroupRequest
- Update Action Group RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic UpdateAgentAliasResult updateAgentAlias(UpdateAgentAliasRequest request)
Updates an existing Alias for an Amazon Bedrock Agent
updateAgentAlias
in interface AWSBedrockAgent
updateAgentAliasRequest
- Update Agent Alias RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationServiceQuotaExceededException
- This exception is thrown when a request is made beyond the service quotapublic UpdateAgentKnowledgeBaseResult updateAgentKnowledgeBase(UpdateAgentKnowledgeBaseRequest request)
Updates an existing Knowledge Base associated to an Amazon Bedrock Agent
updateAgentKnowledgeBase
in interface AWSBedrockAgent
updateAgentKnowledgeBaseRequest
- Update Agent Knowledge Base RequestThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic UpdateDataSourceResult updateDataSource(UpdateDataSourceRequest request)
Update an existing data source
updateDataSource
in interface AWSBedrockAgent
updateDataSourceRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic UpdateKnowledgeBaseResult updateKnowledgeBase(UpdateKnowledgeBaseRequest request)
Update an existing knowledge base
updateKnowledgeBase
in interface AWSBedrockAgent
updateKnowledgeBaseRequest
- ThrottlingException
- This exception is thrown when the number of requests exceeds the limitAccessDeniedException
- This exception is thrown when a request is denied per access permissionsValidationException
- This exception is thrown when the request's input validation failsInternalServerException
- This exception is thrown if there was an unexpected error during processing of requestResourceNotFoundException
- This exception is thrown when a resource referenced by the operation does not existConflictException
- This exception is thrown when there is a conflict performing an operationpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSBedrockAgent
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSBedrockAgent
shutdown
in class AmazonWebServiceClient