@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
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetprotected static final ClientConfigurationFactory configFactory
public static AWSBedrockAgentClientBuilder builder()
public AssociateAgentKnowledgeBaseResult associateAgentKnowledgeBase(AssociateAgentKnowledgeBaseRequest request)
Associate a Knowledge Base to an existing Amazon Bedrock Agent
associateAgentKnowledgeBase in interface AWSBedrockAgentassociateAgentKnowledgeBaseRequest - 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 AWSBedrockAgentcreateAgentRequest - 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 AWSBedrockAgentcreateAgentActionGroupRequest - 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 AWSBedrockAgentcreateAgentAliasRequest - 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 AWSBedrockAgentcreateDataSourceRequest - 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 AWSBedrockAgentcreateKnowledgeBaseRequest - 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 AWSBedrockAgentdeleteAgentRequest - 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 AWSBedrockAgentdeleteAgentActionGroupRequest - 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 AWSBedrockAgentdeleteAgentAliasRequest - 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 AWSBedrockAgentdeleteAgentVersionRequest - 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 AWSBedrockAgentdeleteDataSourceRequest - 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 AWSBedrockAgentdeleteKnowledgeBaseRequest - 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 AWSBedrockAgentdisassociateAgentKnowledgeBaseRequest - 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 AWSBedrockAgentgetAgentRequest - 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 AWSBedrockAgentgetAgentActionGroupRequest - 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 AWSBedrockAgentgetAgentAliasRequest - 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 AWSBedrockAgentgetAgentKnowledgeBaseRequest - 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 AWSBedrockAgentgetAgentVersionRequest - 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 AWSBedrockAgentgetDataSourceRequest - 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 AWSBedrockAgentgetIngestionJobRequest - 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 AWSBedrockAgentgetKnowledgeBaseRequest - 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 AWSBedrockAgentlistAgentActionGroupsRequest - 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 AWSBedrockAgentlistAgentAliasesRequest - 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 AWSBedrockAgentlistAgentKnowledgeBasesRequest - 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 AWSBedrockAgentlistAgentVersionsRequest - 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 AWSBedrockAgentlistAgentsRequest - 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 AWSBedrockAgentlistDataSourcesRequest - 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 AWSBedrockAgentlistIngestionJobsRequest - 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 AWSBedrockAgentlistKnowledgeBasesRequest - 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 AWSBedrockAgentlistTagsForResourceRequest - 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 AWSBedrockAgentprepareAgentRequest - 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 AWSBedrockAgentstartIngestionJobRequest - 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 AWSBedrockAgenttagResourceRequest - 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 AWSBedrockAgentuntagResourceRequest - 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 AWSBedrockAgentupdateAgentRequest - 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 AWSBedrockAgentupdateAgentActionGroupRequest - 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 AWSBedrockAgentupdateAgentAliasRequest - 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 AWSBedrockAgentupdateAgentKnowledgeBaseRequest - 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 AWSBedrockAgentupdateDataSourceRequest - 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 AWSBedrockAgentupdateKnowledgeBaseRequest - 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 AWSBedrockAgentrequest - The originally executed requestpublic void shutdown()
AWSBedrockAgentshutdown in interface AWSBedrockAgentshutdown in class AmazonWebServiceClientCopyright © 2024. All rights reserved.