Interface QBusinessAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
This is the Amazon Q Business API Reference. Amazon Q Business is a fully managed, generative-AI powered enterprise chat assistant that you can deploy within your organization. Amazon Q Business enhances employee productivity by supporting key tasks such as question-answering, knowledge discovery, writing email messages, summarizing text, drafting document outlines, and brainstorming ideas. Users ask questions of Amazon Q Business and get answers that are presented in a conversational manner. For an introduction to the service, see the Amazon Q Business User Guide .
For an overview of the Amazon Q Business APIs, see Overview of Amazon Q Business API operations.
For information about the IAM access control permissions you need to use this API, see IAM roles for Amazon Q Business in the Amazon Q Business User Guide.
You can use the following AWS SDKs to access Amazon Q Business APIs:
The following resources provide additional information about using the Amazon Q Business API:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbatchDeleteDocument
(Consumer<BatchDeleteDocumentRequest.Builder> batchDeleteDocumentRequest) Asynchronously deletes one or more documents added using theBatchPutDocument
API from an Amazon Q Business index.batchDeleteDocument
(BatchDeleteDocumentRequest batchDeleteDocumentRequest) Asynchronously deletes one or more documents added using theBatchPutDocument
API from an Amazon Q Business index.batchPutDocument
(Consumer<BatchPutDocumentRequest.Builder> batchPutDocumentRequest) Adds one or more documents to an Amazon Q Business index.batchPutDocument
(BatchPutDocumentRequest batchPutDocumentRequest) Adds one or more documents to an Amazon Q Business index.static QBusinessAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aQBusinessAsyncClient
.default CompletableFuture
<Void> chat
(Consumer<ChatRequest.Builder> chatRequest, org.reactivestreams.Publisher<ChatInputStream> requestStream, ChatResponseHandler asyncResponseHandler) Starts or continues a streaming Amazon Q Business conversation.default CompletableFuture
<Void> chat
(ChatRequest chatRequest, org.reactivestreams.Publisher<ChatInputStream> requestStream, ChatResponseHandler asyncResponseHandler) Starts or continues a streaming Amazon Q Business conversation.default CompletableFuture
<ChatSyncResponse> chatSync
(Consumer<ChatSyncRequest.Builder> chatSyncRequest) Starts or continues a non-streaming Amazon Q Business conversation.default CompletableFuture
<ChatSyncResponse> chatSync
(ChatSyncRequest chatSyncRequest) Starts or continues a non-streaming Amazon Q Business conversation.static QBusinessAsyncClient
create()
Create aQBusinessAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createApplication
(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates an Amazon Q Business application.createApplication
(CreateApplicationRequest createApplicationRequest) Creates an Amazon Q Business application.createDataSource
(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest) Creates a data source connector for an Amazon Q Business application.createDataSource
(CreateDataSourceRequest createDataSourceRequest) Creates a data source connector for an Amazon Q Business application.default CompletableFuture
<CreateIndexResponse> createIndex
(Consumer<CreateIndexRequest.Builder> createIndexRequest) Creates an Amazon Q Business index.default CompletableFuture
<CreateIndexResponse> createIndex
(CreateIndexRequest createIndexRequest) Creates an Amazon Q Business index.default CompletableFuture
<CreatePluginResponse> createPlugin
(Consumer<CreatePluginRequest.Builder> createPluginRequest) Creates an Amazon Q Business plugin.default CompletableFuture
<CreatePluginResponse> createPlugin
(CreatePluginRequest createPluginRequest) Creates an Amazon Q Business plugin.default CompletableFuture
<CreateRetrieverResponse> createRetriever
(Consumer<CreateRetrieverRequest.Builder> createRetrieverRequest) Adds a retriever to your Amazon Q Business application.default CompletableFuture
<CreateRetrieverResponse> createRetriever
(CreateRetrieverRequest createRetrieverRequest) Adds a retriever to your Amazon Q Business application.default CompletableFuture
<CreateUserResponse> createUser
(Consumer<CreateUserRequest.Builder> createUserRequest) Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.default CompletableFuture
<CreateUserResponse> createUser
(CreateUserRequest createUserRequest) Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.createWebExperience
(Consumer<CreateWebExperienceRequest.Builder> createWebExperienceRequest) Creates an Amazon Q Business web experience.createWebExperience
(CreateWebExperienceRequest createWebExperienceRequest) Creates an Amazon Q Business web experience.deleteApplication
(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an Amazon Q Business application.deleteApplication
(DeleteApplicationRequest deleteApplicationRequest) Deletes an Amazon Q Business application.deleteChatControlsConfiguration
(Consumer<DeleteChatControlsConfigurationRequest.Builder> deleteChatControlsConfigurationRequest) Deletes chat controls configured for an existing Amazon Q Business application.deleteChatControlsConfiguration
(DeleteChatControlsConfigurationRequest deleteChatControlsConfigurationRequest) Deletes chat controls configured for an existing Amazon Q Business application.deleteConversation
(Consumer<DeleteConversationRequest.Builder> deleteConversationRequest) Deletes an Amazon Q Business web experience conversation.deleteConversation
(DeleteConversationRequest deleteConversationRequest) Deletes an Amazon Q Business web experience conversation.deleteDataSource
(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest) Deletes an Amazon Q Business data source connector.deleteDataSource
(DeleteDataSourceRequest deleteDataSourceRequest) Deletes an Amazon Q Business data source connector.default CompletableFuture
<DeleteGroupResponse> deleteGroup
(Consumer<DeleteGroupRequest.Builder> deleteGroupRequest) Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group.default CompletableFuture
<DeleteGroupResponse> deleteGroup
(DeleteGroupRequest deleteGroupRequest) Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group.default CompletableFuture
<DeleteIndexResponse> deleteIndex
(Consumer<DeleteIndexRequest.Builder> deleteIndexRequest) Deletes an Amazon Q Business index.default CompletableFuture
<DeleteIndexResponse> deleteIndex
(DeleteIndexRequest deleteIndexRequest) Deletes an Amazon Q Business index.default CompletableFuture
<DeletePluginResponse> deletePlugin
(Consumer<DeletePluginRequest.Builder> deletePluginRequest) Deletes an Amazon Q Business plugin.default CompletableFuture
<DeletePluginResponse> deletePlugin
(DeletePluginRequest deletePluginRequest) Deletes an Amazon Q Business plugin.default CompletableFuture
<DeleteRetrieverResponse> deleteRetriever
(Consumer<DeleteRetrieverRequest.Builder> deleteRetrieverRequest) Deletes the retriever used by an Amazon Q Business application.default CompletableFuture
<DeleteRetrieverResponse> deleteRetriever
(DeleteRetrieverRequest deleteRetrieverRequest) Deletes the retriever used by an Amazon Q Business application.default CompletableFuture
<DeleteUserResponse> deleteUser
(Consumer<DeleteUserRequest.Builder> deleteUserRequest) Deletes a user by email id.default CompletableFuture
<DeleteUserResponse> deleteUser
(DeleteUserRequest deleteUserRequest) Deletes a user by email id.deleteWebExperience
(Consumer<DeleteWebExperienceRequest.Builder> deleteWebExperienceRequest) Deletes an Amazon Q Business web experience.deleteWebExperience
(DeleteWebExperienceRequest deleteWebExperienceRequest) Deletes an Amazon Q Business web experience.default CompletableFuture
<GetApplicationResponse> getApplication
(Consumer<GetApplicationRequest.Builder> getApplicationRequest) Gets information about an existing Amazon Q Business application.default CompletableFuture
<GetApplicationResponse> getApplication
(GetApplicationRequest getApplicationRequest) Gets information about an existing Amazon Q Business application.getChatControlsConfiguration
(Consumer<GetChatControlsConfigurationRequest.Builder> getChatControlsConfigurationRequest) Gets information about an chat controls configured for an existing Amazon Q Business application.getChatControlsConfiguration
(GetChatControlsConfigurationRequest getChatControlsConfigurationRequest) Gets information about an chat controls configured for an existing Amazon Q Business application.getChatControlsConfigurationPaginator
(Consumer<GetChatControlsConfigurationRequest.Builder> getChatControlsConfigurationRequest) This is a variant ofgetChatControlsConfiguration(software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationRequest)
operation.getChatControlsConfigurationPaginator
(GetChatControlsConfigurationRequest getChatControlsConfigurationRequest) This is a variant ofgetChatControlsConfiguration(software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationRequest)
operation.default CompletableFuture
<GetDataSourceResponse> getDataSource
(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest) Gets information about an existing Amazon Q Business data source connector.default CompletableFuture
<GetDataSourceResponse> getDataSource
(GetDataSourceRequest getDataSourceRequest) Gets information about an existing Amazon Q Business data source connector.default CompletableFuture
<GetGroupResponse> getGroup
(Consumer<GetGroupRequest.Builder> getGroupRequest) Describes a group by group name.default CompletableFuture
<GetGroupResponse> getGroup
(GetGroupRequest getGroupRequest) Describes a group by group name.default CompletableFuture
<GetIndexResponse> getIndex
(Consumer<GetIndexRequest.Builder> getIndexRequest) Gets information about an existing Amazon Q Business index.default CompletableFuture
<GetIndexResponse> getIndex
(GetIndexRequest getIndexRequest) Gets information about an existing Amazon Q Business index.default CompletableFuture
<GetPluginResponse> getPlugin
(Consumer<GetPluginRequest.Builder> getPluginRequest) Gets information about an existing Amazon Q Business plugin.default CompletableFuture
<GetPluginResponse> getPlugin
(GetPluginRequest getPluginRequest) Gets information about an existing Amazon Q Business plugin.default CompletableFuture
<GetRetrieverResponse> getRetriever
(Consumer<GetRetrieverRequest.Builder> getRetrieverRequest) Gets information about an existing retriever used by an Amazon Q Business application.default CompletableFuture
<GetRetrieverResponse> getRetriever
(GetRetrieverRequest getRetrieverRequest) Gets information about an existing retriever used by an Amazon Q Business application.default CompletableFuture
<GetUserResponse> getUser
(Consumer<GetUserRequest.Builder> getUserRequest) Describes the universally unique identifier (UUID) associated with a local user in a data source.default CompletableFuture
<GetUserResponse> getUser
(GetUserRequest getUserRequest) Describes the universally unique identifier (UUID) associated with a local user in a data source.getWebExperience
(Consumer<GetWebExperienceRequest.Builder> getWebExperienceRequest) Gets information about an existing Amazon Q Business web experience.getWebExperience
(GetWebExperienceRequest getWebExperienceRequest) Gets information about an existing Amazon Q Business web experience.listApplications
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Lists Amazon Q Business applications.listApplications
(ListApplicationsRequest listApplicationsRequest) Lists Amazon Q Business applications.default ListApplicationsPublisher
listApplicationsPaginator
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.qbusiness.model.ListApplicationsRequest)
operation.default ListApplicationsPublisher
listApplicationsPaginator
(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.qbusiness.model.ListApplicationsRequest)
operation.listConversations
(Consumer<ListConversationsRequest.Builder> listConversationsRequest) Lists one or more Amazon Q Business conversations.listConversations
(ListConversationsRequest listConversationsRequest) Lists one or more Amazon Q Business conversations.default ListConversationsPublisher
listConversationsPaginator
(Consumer<ListConversationsRequest.Builder> listConversationsRequest) This is a variant oflistConversations(software.amazon.awssdk.services.qbusiness.model.ListConversationsRequest)
operation.default ListConversationsPublisher
listConversationsPaginator
(ListConversationsRequest listConversationsRequest) This is a variant oflistConversations(software.amazon.awssdk.services.qbusiness.model.ListConversationsRequest)
operation.default CompletableFuture
<ListDataSourcesResponse> listDataSources
(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) Lists the Amazon Q Business data source connectors that you have created.default CompletableFuture
<ListDataSourcesResponse> listDataSources
(ListDataSourcesRequest listDataSourcesRequest) Lists the Amazon Q Business data source connectors that you have created.default ListDataSourcesPublisher
listDataSourcesPaginator
(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) This is a variant oflistDataSources(software.amazon.awssdk.services.qbusiness.model.ListDataSourcesRequest)
operation.default ListDataSourcesPublisher
listDataSourcesPaginator
(ListDataSourcesRequest listDataSourcesRequest) This is a variant oflistDataSources(software.amazon.awssdk.services.qbusiness.model.ListDataSourcesRequest)
operation.listDataSourceSyncJobs
(Consumer<ListDataSourceSyncJobsRequest.Builder> listDataSourceSyncJobsRequest) Get information about an Amazon Q Business data source connector synchronization.listDataSourceSyncJobs
(ListDataSourceSyncJobsRequest listDataSourceSyncJobsRequest) Get information about an Amazon Q Business data source connector synchronization.default ListDataSourceSyncJobsPublisher
listDataSourceSyncJobsPaginator
(Consumer<ListDataSourceSyncJobsRequest.Builder> listDataSourceSyncJobsRequest) This is a variant oflistDataSourceSyncJobs(software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsRequest)
operation.default ListDataSourceSyncJobsPublisher
listDataSourceSyncJobsPaginator
(ListDataSourceSyncJobsRequest listDataSourceSyncJobsRequest) This is a variant oflistDataSourceSyncJobs(software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsRequest)
operation.default CompletableFuture
<ListDocumentsResponse> listDocuments
(Consumer<ListDocumentsRequest.Builder> listDocumentsRequest) A list of documents attached to an index.default CompletableFuture
<ListDocumentsResponse> listDocuments
(ListDocumentsRequest listDocumentsRequest) A list of documents attached to an index.default ListDocumentsPublisher
listDocumentsPaginator
(Consumer<ListDocumentsRequest.Builder> listDocumentsRequest) This is a variant oflistDocuments(software.amazon.awssdk.services.qbusiness.model.ListDocumentsRequest)
operation.default ListDocumentsPublisher
listDocumentsPaginator
(ListDocumentsRequest listDocumentsRequest) This is a variant oflistDocuments(software.amazon.awssdk.services.qbusiness.model.ListDocumentsRequest)
operation.default CompletableFuture
<ListGroupsResponse> listGroups
(Consumer<ListGroupsRequest.Builder> listGroupsRequest) Provides a list of groups that are mapped to users.default CompletableFuture
<ListGroupsResponse> listGroups
(ListGroupsRequest listGroupsRequest) Provides a list of groups that are mapped to users.default ListGroupsPublisher
listGroupsPaginator
(Consumer<ListGroupsRequest.Builder> listGroupsRequest) This is a variant oflistGroups(software.amazon.awssdk.services.qbusiness.model.ListGroupsRequest)
operation.default ListGroupsPublisher
listGroupsPaginator
(ListGroupsRequest listGroupsRequest) This is a variant oflistGroups(software.amazon.awssdk.services.qbusiness.model.ListGroupsRequest)
operation.default CompletableFuture
<ListIndicesResponse> listIndices
(Consumer<ListIndicesRequest.Builder> listIndicesRequest) Lists the Amazon Q Business indices you have created.default CompletableFuture
<ListIndicesResponse> listIndices
(ListIndicesRequest listIndicesRequest) Lists the Amazon Q Business indices you have created.default ListIndicesPublisher
listIndicesPaginator
(Consumer<ListIndicesRequest.Builder> listIndicesRequest) This is a variant oflistIndices(software.amazon.awssdk.services.qbusiness.model.ListIndicesRequest)
operation.default ListIndicesPublisher
listIndicesPaginator
(ListIndicesRequest listIndicesRequest) This is a variant oflistIndices(software.amazon.awssdk.services.qbusiness.model.ListIndicesRequest)
operation.default CompletableFuture
<ListMessagesResponse> listMessages
(Consumer<ListMessagesRequest.Builder> listMessagesRequest) Gets a list of messages associated with an Amazon Q Business web experience.default CompletableFuture
<ListMessagesResponse> listMessages
(ListMessagesRequest listMessagesRequest) Gets a list of messages associated with an Amazon Q Business web experience.default ListMessagesPublisher
listMessagesPaginator
(Consumer<ListMessagesRequest.Builder> listMessagesRequest) This is a variant oflistMessages(software.amazon.awssdk.services.qbusiness.model.ListMessagesRequest)
operation.default ListMessagesPublisher
listMessagesPaginator
(ListMessagesRequest listMessagesRequest) This is a variant oflistMessages(software.amazon.awssdk.services.qbusiness.model.ListMessagesRequest)
operation.default CompletableFuture
<ListPluginsResponse> listPlugins
(Consumer<ListPluginsRequest.Builder> listPluginsRequest) Lists configured Amazon Q Business plugins.default CompletableFuture
<ListPluginsResponse> listPlugins
(ListPluginsRequest listPluginsRequest) Lists configured Amazon Q Business plugins.default ListPluginsPublisher
listPluginsPaginator
(Consumer<ListPluginsRequest.Builder> listPluginsRequest) This is a variant oflistPlugins(software.amazon.awssdk.services.qbusiness.model.ListPluginsRequest)
operation.default ListPluginsPublisher
listPluginsPaginator
(ListPluginsRequest listPluginsRequest) This is a variant oflistPlugins(software.amazon.awssdk.services.qbusiness.model.ListPluginsRequest)
operation.default CompletableFuture
<ListRetrieversResponse> listRetrievers
(Consumer<ListRetrieversRequest.Builder> listRetrieversRequest) Lists the retriever used by an Amazon Q Business application.default CompletableFuture
<ListRetrieversResponse> listRetrievers
(ListRetrieversRequest listRetrieversRequest) Lists the retriever used by an Amazon Q Business application.default ListRetrieversPublisher
listRetrieversPaginator
(Consumer<ListRetrieversRequest.Builder> listRetrieversRequest) This is a variant oflistRetrievers(software.amazon.awssdk.services.qbusiness.model.ListRetrieversRequest)
operation.default ListRetrieversPublisher
listRetrieversPaginator
(ListRetrieversRequest listRetrieversRequest) This is a variant oflistRetrievers(software.amazon.awssdk.services.qbusiness.model.ListRetrieversRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Gets a list of tags associated with a specified resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Gets a list of tags associated with a specified resource.listWebExperiences
(Consumer<ListWebExperiencesRequest.Builder> listWebExperiencesRequest) Lists one or more Amazon Q Business Web Experiences.listWebExperiences
(ListWebExperiencesRequest listWebExperiencesRequest) Lists one or more Amazon Q Business Web Experiences.default ListWebExperiencesPublisher
listWebExperiencesPaginator
(Consumer<ListWebExperiencesRequest.Builder> listWebExperiencesRequest) This is a variant oflistWebExperiences(software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesRequest)
operation.default ListWebExperiencesPublisher
listWebExperiencesPaginator
(ListWebExperiencesRequest listWebExperiencesRequest) This is a variant oflistWebExperiences(software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesRequest)
operation.default CompletableFuture
<PutFeedbackResponse> putFeedback
(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest) Enables your end user to provide feedback on their Amazon Q Business generated chat responses.default CompletableFuture
<PutFeedbackResponse> putFeedback
(PutFeedbackRequest putFeedbackRequest) Enables your end user to provide feedback on their Amazon Q Business generated chat responses.default CompletableFuture
<PutGroupResponse> putGroup
(Consumer<PutGroupRequest.Builder> putGroupRequest) Create, or updates, a mapping of users—who have access to a document—to groups.default CompletableFuture
<PutGroupResponse> putGroup
(PutGroupRequest putGroupRequest) Create, or updates, a mapping of users—who have access to a document—to groups.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartDataSourceSyncJob
(Consumer<StartDataSourceSyncJobRequest.Builder> startDataSourceSyncJobRequest) Starts a data source connector synchronization job.startDataSourceSyncJob
(StartDataSourceSyncJobRequest startDataSourceSyncJobRequest) Starts a data source connector synchronization job.stopDataSourceSyncJob
(Consumer<StopDataSourceSyncJobRequest.Builder> stopDataSourceSyncJobRequest) Stops an Amazon Q Business data source connector synchronization job already in progress.stopDataSourceSyncJob
(StopDataSourceSyncJobRequest stopDataSourceSyncJobRequest) Stops an Amazon Q Business data source connector synchronization job already in progress.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tag to the specified Amazon Q Business application or data source resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds the specified tag to the specified Amazon Q Business application or data source resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from an Amazon Q Business application or a data source.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes a tag from an Amazon Q Business application or a data source.updateApplication
(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates an existing Amazon Q Business application.updateApplication
(UpdateApplicationRequest updateApplicationRequest) Updates an existing Amazon Q Business application.updateChatControlsConfiguration
(Consumer<UpdateChatControlsConfigurationRequest.Builder> updateChatControlsConfigurationRequest) Updates an set of chat controls configured for an existing Amazon Q Business application.updateChatControlsConfiguration
(UpdateChatControlsConfigurationRequest updateChatControlsConfigurationRequest) Updates an set of chat controls configured for an existing Amazon Q Business application.updateDataSource
(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest) Updates an existing Amazon Q Business data source connector.updateDataSource
(UpdateDataSourceRequest updateDataSourceRequest) Updates an existing Amazon Q Business data source connector.default CompletableFuture
<UpdateIndexResponse> updateIndex
(Consumer<UpdateIndexRequest.Builder> updateIndexRequest) Updates an Amazon Q Business index.default CompletableFuture
<UpdateIndexResponse> updateIndex
(UpdateIndexRequest updateIndexRequest) Updates an Amazon Q Business index.default CompletableFuture
<UpdatePluginResponse> updatePlugin
(Consumer<UpdatePluginRequest.Builder> updatePluginRequest) Updates an Amazon Q Business plugin.default CompletableFuture
<UpdatePluginResponse> updatePlugin
(UpdatePluginRequest updatePluginRequest) Updates an Amazon Q Business plugin.default CompletableFuture
<UpdateRetrieverResponse> updateRetriever
(Consumer<UpdateRetrieverRequest.Builder> updateRetrieverRequest) Updates the retriever used for your Amazon Q Business application.default CompletableFuture
<UpdateRetrieverResponse> updateRetriever
(UpdateRetrieverRequest updateRetrieverRequest) Updates the retriever used for your Amazon Q Business application.default CompletableFuture
<UpdateUserResponse> updateUser
(Consumer<UpdateUserRequest.Builder> updateUserRequest) Updates a information associated with a user id.default CompletableFuture
<UpdateUserResponse> updateUser
(UpdateUserRequest updateUserRequest) Updates a information associated with a user id.updateWebExperience
(Consumer<UpdateWebExperienceRequest.Builder> updateWebExperienceRequest) Updates an Amazon Q Business web experience.updateWebExperience
(UpdateWebExperienceRequest updateWebExperienceRequest) Updates an Amazon Q Business web experience.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchDeleteDocument
default CompletableFuture<BatchDeleteDocumentResponse> batchDeleteDocument(BatchDeleteDocumentRequest batchDeleteDocumentRequest) Asynchronously deletes one or more documents added using the
BatchPutDocument
API from an Amazon Q Business index.You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
- Parameters:
batchDeleteDocumentRequest
-- Returns:
- A Java Future containing the result of the BatchDeleteDocument operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteDocument
default CompletableFuture<BatchDeleteDocumentResponse> batchDeleteDocument(Consumer<BatchDeleteDocumentRequest.Builder> batchDeleteDocumentRequest) Asynchronously deletes one or more documents added using the
BatchPutDocument
API from an Amazon Q Business index.You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
This is a convenience which creates an instance of the
BatchDeleteDocumentRequest.Builder
avoiding the need to create one manually viaBatchDeleteDocumentRequest.builder()
- Parameters:
batchDeleteDocumentRequest
- AConsumer
that will call methods onBatchDeleteDocumentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchDeleteDocument operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchPutDocument
default CompletableFuture<BatchPutDocumentResponse> batchPutDocument(BatchPutDocumentRequest batchPutDocumentRequest) Adds one or more documents to an Amazon Q Business index.
You use this API to:
-
ingest your structured and unstructured documents and documents stored in an Amazon S3 bucket into an Amazon Q Business index.
-
add custom attributes to documents in an Amazon Q Business index.
-
attach an access control list to the documents added to an Amazon Q Business index.
You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
- Parameters:
batchPutDocumentRequest
-- Returns:
- A Java Future containing the result of the BatchPutDocument operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
batchPutDocument
default CompletableFuture<BatchPutDocumentResponse> batchPutDocument(Consumer<BatchPutDocumentRequest.Builder> batchPutDocumentRequest) Adds one or more documents to an Amazon Q Business index.
You use this API to:
-
ingest your structured and unstructured documents and documents stored in an Amazon S3 bucket into an Amazon Q Business index.
-
add custom attributes to documents in an Amazon Q Business index.
-
attach an access control list to the documents added to an Amazon Q Business index.
You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
This is a convenience which creates an instance of the
BatchPutDocumentRequest.Builder
avoiding the need to create one manually viaBatchPutDocumentRequest.builder()
- Parameters:
batchPutDocumentRequest
- AConsumer
that will call methods onBatchPutDocumentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchPutDocument operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
chat
default CompletableFuture<Void> chat(ChatRequest chatRequest, org.reactivestreams.Publisher<ChatInputStream> requestStream, ChatResponseHandler asyncResponseHandler) Starts or continues a streaming Amazon Q Business conversation.
- Parameters:
chatRequest
-- Returns:
- A Java Future containing the result of the Chat operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
chat
default CompletableFuture<Void> chat(Consumer<ChatRequest.Builder> chatRequest, org.reactivestreams.Publisher<ChatInputStream> requestStream, ChatResponseHandler asyncResponseHandler) Starts or continues a streaming Amazon Q Business conversation.
This is a convenience which creates an instance of the
ChatRequest.Builder
avoiding the need to create one manually viaChatRequest.builder()
- Parameters:
chatRequest
- AConsumer
that will call methods onChatRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the Chat operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
chatSync
Starts or continues a non-streaming Amazon Q Business conversation.
- Parameters:
chatSyncRequest
-- Returns:
- A Java Future containing the result of the ChatSync operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
chatSync
default CompletableFuture<ChatSyncResponse> chatSync(Consumer<ChatSyncRequest.Builder> chatSyncRequest) Starts or continues a non-streaming Amazon Q Business conversation.
This is a convenience which creates an instance of the
ChatSyncRequest.Builder
avoiding the need to create one manually viaChatSyncRequest.builder()
- Parameters:
chatSyncRequest
- AConsumer
that will call methods onChatSyncRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ChatSync operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest) Creates an Amazon Q Business application.
There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see Amazon Q Business tiers. You must use the Amazon Q Business console to assign subscription tiers to users.
- Parameters:
createApplicationRequest
-- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates an Amazon Q Business application.
There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see Amazon Q Business tiers. You must use the Amazon Q Business console to assign subscription tiers to users.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builder
avoiding the need to create one manually viaCreateApplicationRequest.builder()
- Parameters:
createApplicationRequest
- AConsumer
that will call methods onCreateApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataSource
default CompletableFuture<CreateDataSourceResponse> createDataSource(CreateDataSourceRequest createDataSourceRequest) Creates a data source connector for an Amazon Q Business application.
CreateDataSource
is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.- Parameters:
createDataSourceRequest
-- Returns:
- A Java Future containing the result of the CreateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataSource
default CompletableFuture<CreateDataSourceResponse> createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest) Creates a data source connector for an Amazon Q Business application.
CreateDataSource
is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
This is a convenience which creates an instance of the
CreateDataSourceRequest.Builder
avoiding the need to create one manually viaCreateDataSourceRequest.builder()
- Parameters:
createDataSourceRequest
- AConsumer
that will call methods onCreateDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIndex
Creates an Amazon Q Business index.
To determine if index creation has completed, check the
Status
field returned from a call toDescribeIndex
. TheStatus
field is set toACTIVE
when the index is ready to use.Once the index is active, you can index your documents using the
BatchPutDocument
API or theCreateDataSource
API.- Parameters:
createIndexRequest
-- Returns:
- A Java Future containing the result of the CreateIndex operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIndex
default CompletableFuture<CreateIndexResponse> createIndex(Consumer<CreateIndexRequest.Builder> createIndexRequest) Creates an Amazon Q Business index.
To determine if index creation has completed, check the
Status
field returned from a call toDescribeIndex
. TheStatus
field is set toACTIVE
when the index is ready to use.Once the index is active, you can index your documents using the
BatchPutDocument
API or theCreateDataSource
API.
This is a convenience which creates an instance of the
CreateIndexRequest.Builder
avoiding the need to create one manually viaCreateIndexRequest.builder()
- Parameters:
createIndexRequest
- AConsumer
that will call methods onCreateIndexRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateIndex operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPlugin
default CompletableFuture<CreatePluginResponse> createPlugin(CreatePluginRequest createPluginRequest) Creates an Amazon Q Business plugin.
- Parameters:
createPluginRequest
-- Returns:
- A Java Future containing the result of the CreatePlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPlugin
default CompletableFuture<CreatePluginResponse> createPlugin(Consumer<CreatePluginRequest.Builder> createPluginRequest) Creates an Amazon Q Business plugin.
This is a convenience which creates an instance of the
CreatePluginRequest.Builder
avoiding the need to create one manually viaCreatePluginRequest.builder()
- Parameters:
createPluginRequest
- AConsumer
that will call methods onCreatePluginRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreatePlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRetriever
default CompletableFuture<CreateRetrieverResponse> createRetriever(CreateRetrieverRequest createRetrieverRequest) Adds a retriever to your Amazon Q Business application.
- Parameters:
createRetrieverRequest
-- Returns:
- A Java Future containing the result of the CreateRetriever operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRetriever
default CompletableFuture<CreateRetrieverResponse> createRetriever(Consumer<CreateRetrieverRequest.Builder> createRetrieverRequest) Adds a retriever to your Amazon Q Business application.
This is a convenience which creates an instance of the
CreateRetrieverRequest.Builder
avoiding the need to create one manually viaCreateRetrieverRequest.builder()
- Parameters:
createRetrieverRequest
- AConsumer
that will call methods onCreateRetrieverRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRetriever operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUser
Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
- Parameters:
createUserRequest
-- Returns:
- A Java Future containing the result of the CreateUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUser
default CompletableFuture<CreateUserResponse> createUser(Consumer<CreateUserRequest.Builder> createUserRequest) Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
This is a convenience which creates an instance of the
CreateUserRequest.Builder
avoiding the need to create one manually viaCreateUserRequest.builder()
- Parameters:
createUserRequest
- AConsumer
that will call methods onCreateUserRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWebExperience
default CompletableFuture<CreateWebExperienceResponse> createWebExperience(CreateWebExperienceRequest createWebExperienceRequest) Creates an Amazon Q Business web experience.
- Parameters:
createWebExperienceRequest
-- Returns:
- A Java Future containing the result of the CreateWebExperience operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWebExperience
default CompletableFuture<CreateWebExperienceResponse> createWebExperience(Consumer<CreateWebExperienceRequest.Builder> createWebExperienceRequest) Creates an Amazon Q Business web experience.
This is a convenience which creates an instance of the
CreateWebExperienceRequest.Builder
avoiding the need to create one manually viaCreateWebExperienceRequest.builder()
- Parameters:
createWebExperienceRequest
- AConsumer
that will call methods onCreateWebExperienceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateWebExperience operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest) Deletes an Amazon Q Business application.
- Parameters:
deleteApplicationRequest
-- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an Amazon Q Business application.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builder
avoiding the need to create one manually viaDeleteApplicationRequest.builder()
- Parameters:
deleteApplicationRequest
- AConsumer
that will call methods onDeleteApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteChatControlsConfiguration
default CompletableFuture<DeleteChatControlsConfigurationResponse> deleteChatControlsConfiguration(DeleteChatControlsConfigurationRequest deleteChatControlsConfigurationRequest) Deletes chat controls configured for an existing Amazon Q Business application.
- Parameters:
deleteChatControlsConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteChatControlsConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteChatControlsConfiguration
default CompletableFuture<DeleteChatControlsConfigurationResponse> deleteChatControlsConfiguration(Consumer<DeleteChatControlsConfigurationRequest.Builder> deleteChatControlsConfigurationRequest) Deletes chat controls configured for an existing Amazon Q Business application.
This is a convenience which creates an instance of the
DeleteChatControlsConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteChatControlsConfigurationRequest.builder()
- Parameters:
deleteChatControlsConfigurationRequest
- AConsumer
that will call methods onDeleteChatControlsConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteChatControlsConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConversation
default CompletableFuture<DeleteConversationResponse> deleteConversation(DeleteConversationRequest deleteConversationRequest) Deletes an Amazon Q Business web experience conversation.
- Parameters:
deleteConversationRequest
-- Returns:
- A Java Future containing the result of the DeleteConversation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConversation
default CompletableFuture<DeleteConversationResponse> deleteConversation(Consumer<DeleteConversationRequest.Builder> deleteConversationRequest) Deletes an Amazon Q Business web experience conversation.
This is a convenience which creates an instance of the
DeleteConversationRequest.Builder
avoiding the need to create one manually viaDeleteConversationRequest.builder()
- Parameters:
deleteConversationRequest
- AConsumer
that will call methods onDeleteConversationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteConversation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataSource
default CompletableFuture<DeleteDataSourceResponse> deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest) Deletes an Amazon Q Business data source connector. While the data source is being deleted, the
Status
field returned by a call to theDescribeDataSource
API is set toDELETING
.- Parameters:
deleteDataSourceRequest
-- Returns:
- A Java Future containing the result of the DeleteDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataSource
default CompletableFuture<DeleteDataSourceResponse> deleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest) Deletes an Amazon Q Business data source connector. While the data source is being deleted, the
Status
field returned by a call to theDescribeDataSource
API is set toDELETING
.
This is a convenience which creates an instance of the
DeleteDataSourceRequest.Builder
avoiding the need to create one manually viaDeleteDataSourceRequest.builder()
- Parameters:
deleteDataSourceRequest
- AConsumer
that will call methods onDeleteDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGroup
Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their chat results.
If you want to delete, update, or replace users or sub groups of a group, you need to use the
PutGroup
operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when callingPutGroup
.- Parameters:
deleteGroupRequest
-- Returns:
- A Java Future containing the result of the DeleteGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGroup
default CompletableFuture<DeleteGroupResponse> deleteGroup(Consumer<DeleteGroupRequest.Builder> deleteGroupRequest) Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their chat results.
If you want to delete, update, or replace users or sub groups of a group, you need to use the
PutGroup
operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when callingPutGroup
.
This is a convenience which creates an instance of the
DeleteGroupRequest.Builder
avoiding the need to create one manually viaDeleteGroupRequest.builder()
- Parameters:
deleteGroupRequest
- AConsumer
that will call methods onDeleteGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIndex
Deletes an Amazon Q Business index.
- Parameters:
deleteIndexRequest
-- Returns:
- A Java Future containing the result of the DeleteIndex operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIndex
default CompletableFuture<DeleteIndexResponse> deleteIndex(Consumer<DeleteIndexRequest.Builder> deleteIndexRequest) Deletes an Amazon Q Business index.
This is a convenience which creates an instance of the
DeleteIndexRequest.Builder
avoiding the need to create one manually viaDeleteIndexRequest.builder()
- Parameters:
deleteIndexRequest
- AConsumer
that will call methods onDeleteIndexRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteIndex operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePlugin
default CompletableFuture<DeletePluginResponse> deletePlugin(DeletePluginRequest deletePluginRequest) Deletes an Amazon Q Business plugin.
- Parameters:
deletePluginRequest
-- Returns:
- A Java Future containing the result of the DeletePlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePlugin
default CompletableFuture<DeletePluginResponse> deletePlugin(Consumer<DeletePluginRequest.Builder> deletePluginRequest) Deletes an Amazon Q Business plugin.
This is a convenience which creates an instance of the
DeletePluginRequest.Builder
avoiding the need to create one manually viaDeletePluginRequest.builder()
- Parameters:
deletePluginRequest
- AConsumer
that will call methods onDeletePluginRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeletePlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRetriever
default CompletableFuture<DeleteRetrieverResponse> deleteRetriever(DeleteRetrieverRequest deleteRetrieverRequest) Deletes the retriever used by an Amazon Q Business application.
- Parameters:
deleteRetrieverRequest
-- Returns:
- A Java Future containing the result of the DeleteRetriever operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRetriever
default CompletableFuture<DeleteRetrieverResponse> deleteRetriever(Consumer<DeleteRetrieverRequest.Builder> deleteRetrieverRequest) Deletes the retriever used by an Amazon Q Business application.
This is a convenience which creates an instance of the
DeleteRetrieverRequest.Builder
avoiding the need to create one manually viaDeleteRetrieverRequest.builder()
- Parameters:
deleteRetrieverRequest
- AConsumer
that will call methods onDeleteRetrieverRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRetriever operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUser
Deletes a user by email id.
- Parameters:
deleteUserRequest
-- Returns:
- A Java Future containing the result of the DeleteUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUser
default CompletableFuture<DeleteUserResponse> deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest) Deletes a user by email id.
This is a convenience which creates an instance of the
DeleteUserRequest.Builder
avoiding the need to create one manually viaDeleteUserRequest.builder()
- Parameters:
deleteUserRequest
- AConsumer
that will call methods onDeleteUserRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWebExperience
default CompletableFuture<DeleteWebExperienceResponse> deleteWebExperience(DeleteWebExperienceRequest deleteWebExperienceRequest) Deletes an Amazon Q Business web experience.
- Parameters:
deleteWebExperienceRequest
-- Returns:
- A Java Future containing the result of the DeleteWebExperience operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWebExperience
default CompletableFuture<DeleteWebExperienceResponse> deleteWebExperience(Consumer<DeleteWebExperienceRequest.Builder> deleteWebExperienceRequest) Deletes an Amazon Q Business web experience.
This is a convenience which creates an instance of the
DeleteWebExperienceRequest.Builder
avoiding the need to create one manually viaDeleteWebExperienceRequest.builder()
- Parameters:
deleteWebExperienceRequest
- AConsumer
that will call methods onDeleteWebExperienceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteWebExperience operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplication
default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest) Gets information about an existing Amazon Q Business application.
- Parameters:
getApplicationRequest
-- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplication
default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) Gets information about an existing Amazon Q Business application.
This is a convenience which creates an instance of the
GetApplicationRequest.Builder
avoiding the need to create one manually viaGetApplicationRequest.builder()
- Parameters:
getApplicationRequest
- AConsumer
that will call methods onGetApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChatControlsConfiguration
default CompletableFuture<GetChatControlsConfigurationResponse> getChatControlsConfiguration(GetChatControlsConfigurationRequest getChatControlsConfigurationRequest) Gets information about an chat controls configured for an existing Amazon Q Business application.
- Parameters:
getChatControlsConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetChatControlsConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChatControlsConfiguration
default CompletableFuture<GetChatControlsConfigurationResponse> getChatControlsConfiguration(Consumer<GetChatControlsConfigurationRequest.Builder> getChatControlsConfigurationRequest) Gets information about an chat controls configured for an existing Amazon Q Business application.
This is a convenience which creates an instance of the
GetChatControlsConfigurationRequest.Builder
avoiding the need to create one manually viaGetChatControlsConfigurationRequest.builder()
- Parameters:
getChatControlsConfigurationRequest
- AConsumer
that will call methods onGetChatControlsConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetChatControlsConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChatControlsConfigurationPaginator
default GetChatControlsConfigurationPublisher getChatControlsConfigurationPaginator(GetChatControlsConfigurationRequest getChatControlsConfigurationRequest) This is a variant of
getChatControlsConfiguration(software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.GetChatControlsConfigurationPublisher publisher = client.getChatControlsConfigurationPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.GetChatControlsConfigurationPublisher publisher = client.getChatControlsConfigurationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChatControlsConfiguration(software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationRequest)
operation.- Parameters:
getChatControlsConfigurationRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChatControlsConfigurationPaginator
default GetChatControlsConfigurationPublisher getChatControlsConfigurationPaginator(Consumer<GetChatControlsConfigurationRequest.Builder> getChatControlsConfigurationRequest) This is a variant of
getChatControlsConfiguration(software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.GetChatControlsConfigurationPublisher publisher = client.getChatControlsConfigurationPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.GetChatControlsConfigurationPublisher publisher = client.getChatControlsConfigurationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChatControlsConfiguration(software.amazon.awssdk.services.qbusiness.model.GetChatControlsConfigurationRequest)
operation.
This is a convenience which creates an instance of the
GetChatControlsConfigurationRequest.Builder
avoiding the need to create one manually viaGetChatControlsConfigurationRequest.builder()
- Parameters:
getChatControlsConfigurationRequest
- AConsumer
that will call methods onGetChatControlsConfigurationRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDataSource
default CompletableFuture<GetDataSourceResponse> getDataSource(GetDataSourceRequest getDataSourceRequest) Gets information about an existing Amazon Q Business data source connector.
- Parameters:
getDataSourceRequest
-- Returns:
- A Java Future containing the result of the GetDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDataSource
default CompletableFuture<GetDataSourceResponse> getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest) Gets information about an existing Amazon Q Business data source connector.
This is a convenience which creates an instance of the
GetDataSourceRequest.Builder
avoiding the need to create one manually viaGetDataSourceRequest.builder()
- Parameters:
getDataSourceRequest
- AConsumer
that will call methods onGetDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGroup
Describes a group by group name.
- Parameters:
getGroupRequest
-- Returns:
- A Java Future containing the result of the GetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGroup
default CompletableFuture<GetGroupResponse> getGroup(Consumer<GetGroupRequest.Builder> getGroupRequest) Describes a group by group name.
This is a convenience which creates an instance of the
GetGroupRequest.Builder
avoiding the need to create one manually viaGetGroupRequest.builder()
- Parameters:
getGroupRequest
- AConsumer
that will call methods onGetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIndex
Gets information about an existing Amazon Q Business index.
- Parameters:
getIndexRequest
-- Returns:
- A Java Future containing the result of the GetIndex operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIndex
default CompletableFuture<GetIndexResponse> getIndex(Consumer<GetIndexRequest.Builder> getIndexRequest) Gets information about an existing Amazon Q Business index.
This is a convenience which creates an instance of the
GetIndexRequest.Builder
avoiding the need to create one manually viaGetIndexRequest.builder()
- Parameters:
getIndexRequest
- AConsumer
that will call methods onGetIndexRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetIndex operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPlugin
Gets information about an existing Amazon Q Business plugin.
- Parameters:
getPluginRequest
-- Returns:
- A Java Future containing the result of the GetPlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPlugin
default CompletableFuture<GetPluginResponse> getPlugin(Consumer<GetPluginRequest.Builder> getPluginRequest) Gets information about an existing Amazon Q Business plugin.
This is a convenience which creates an instance of the
GetPluginRequest.Builder
avoiding the need to create one manually viaGetPluginRequest.builder()
- Parameters:
getPluginRequest
- AConsumer
that will call methods onGetPluginRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetPlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRetriever
default CompletableFuture<GetRetrieverResponse> getRetriever(GetRetrieverRequest getRetrieverRequest) Gets information about an existing retriever used by an Amazon Q Business application.
- Parameters:
getRetrieverRequest
-- Returns:
- A Java Future containing the result of the GetRetriever operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRetriever
default CompletableFuture<GetRetrieverResponse> getRetriever(Consumer<GetRetrieverRequest.Builder> getRetrieverRequest) Gets information about an existing retriever used by an Amazon Q Business application.
This is a convenience which creates an instance of the
GetRetrieverRequest.Builder
avoiding the need to create one manually viaGetRetrieverRequest.builder()
- Parameters:
getRetrieverRequest
- AConsumer
that will call methods onGetRetrieverRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRetriever operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUser
Describes the universally unique identifier (UUID) associated with a local user in a data source.
- Parameters:
getUserRequest
-- Returns:
- A Java Future containing the result of the GetUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUser
Describes the universally unique identifier (UUID) associated with a local user in a data source.
This is a convenience which creates an instance of the
GetUserRequest.Builder
avoiding the need to create one manually viaGetUserRequest.builder()
- Parameters:
getUserRequest
- AConsumer
that will call methods onGetUserRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWebExperience
default CompletableFuture<GetWebExperienceResponse> getWebExperience(GetWebExperienceRequest getWebExperienceRequest) Gets information about an existing Amazon Q Business web experience.
- Parameters:
getWebExperienceRequest
-- Returns:
- A Java Future containing the result of the GetWebExperience operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWebExperience
default CompletableFuture<GetWebExperienceResponse> getWebExperience(Consumer<GetWebExperienceRequest.Builder> getWebExperienceRequest) Gets information about an existing Amazon Q Business web experience.
This is a convenience which creates an instance of the
GetWebExperienceRequest.Builder
avoiding the need to create one manually viaGetWebExperienceRequest.builder()
- Parameters:
getWebExperienceRequest
- AConsumer
that will call methods onGetWebExperienceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetWebExperience operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest) Lists Amazon Q Business applications.
- Parameters:
listApplicationsRequest
-- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Lists Amazon Q Business applications.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builder
avoiding the need to create one manually viaListApplicationsRequest.builder()
- Parameters:
listApplicationsRequest
- AConsumer
that will call methods onListApplicationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.qbusiness.model.ListApplicationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListApplicationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.qbusiness.model.ListApplicationsRequest)
operation.- Parameters:
listApplicationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.qbusiness.model.ListApplicationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListApplicationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.qbusiness.model.ListApplicationsRequest)
operation.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builder
avoiding the need to create one manually viaListApplicationsRequest.builder()
- Parameters:
listApplicationsRequest
- AConsumer
that will call methods onListApplicationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConversations
default CompletableFuture<ListConversationsResponse> listConversations(ListConversationsRequest listConversationsRequest) Lists one or more Amazon Q Business conversations.
- Parameters:
listConversationsRequest
-- Returns:
- A Java Future containing the result of the ListConversations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConversations
default CompletableFuture<ListConversationsResponse> listConversations(Consumer<ListConversationsRequest.Builder> listConversationsRequest) Lists one or more Amazon Q Business conversations.
This is a convenience which creates an instance of the
ListConversationsRequest.Builder
avoiding the need to create one manually viaListConversationsRequest.builder()
- Parameters:
listConversationsRequest
- AConsumer
that will call methods onListConversationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListConversations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConversationsPaginator
default ListConversationsPublisher listConversationsPaginator(ListConversationsRequest listConversationsRequest) This is a variant of
listConversations(software.amazon.awssdk.services.qbusiness.model.ListConversationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListConversationsPublisher publisher = client.listConversationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListConversationsPublisher publisher = client.listConversationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListConversationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListConversationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConversations(software.amazon.awssdk.services.qbusiness.model.ListConversationsRequest)
operation.- Parameters:
listConversationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConversationsPaginator
default ListConversationsPublisher listConversationsPaginator(Consumer<ListConversationsRequest.Builder> listConversationsRequest) This is a variant of
listConversations(software.amazon.awssdk.services.qbusiness.model.ListConversationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListConversationsPublisher publisher = client.listConversationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListConversationsPublisher publisher = client.listConversationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListConversationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListConversationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConversations(software.amazon.awssdk.services.qbusiness.model.ListConversationsRequest)
operation.
This is a convenience which creates an instance of the
ListConversationsRequest.Builder
avoiding the need to create one manually viaListConversationsRequest.builder()
- Parameters:
listConversationsRequest
- AConsumer
that will call methods onListConversationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceSyncJobs
default CompletableFuture<ListDataSourceSyncJobsResponse> listDataSourceSyncJobs(ListDataSourceSyncJobsRequest listDataSourceSyncJobsRequest) Get information about an Amazon Q Business data source connector synchronization.
- Parameters:
listDataSourceSyncJobsRequest
-- Returns:
- A Java Future containing the result of the ListDataSourceSyncJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceSyncJobs
default CompletableFuture<ListDataSourceSyncJobsResponse> listDataSourceSyncJobs(Consumer<ListDataSourceSyncJobsRequest.Builder> listDataSourceSyncJobsRequest) Get information about an Amazon Q Business data source connector synchronization.
This is a convenience which creates an instance of the
ListDataSourceSyncJobsRequest.Builder
avoiding the need to create one manually viaListDataSourceSyncJobsRequest.builder()
- Parameters:
listDataSourceSyncJobsRequest
- AConsumer
that will call methods onListDataSourceSyncJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataSourceSyncJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceSyncJobsPaginator
default ListDataSourceSyncJobsPublisher listDataSourceSyncJobsPaginator(ListDataSourceSyncJobsRequest listDataSourceSyncJobsRequest) This is a variant of
listDataSourceSyncJobs(software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListDataSourceSyncJobsPublisher publisher = client.listDataSourceSyncJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListDataSourceSyncJobsPublisher publisher = client.listDataSourceSyncJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataSourceSyncJobs(software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsRequest)
operation.- Parameters:
listDataSourceSyncJobsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceSyncJobsPaginator
default ListDataSourceSyncJobsPublisher listDataSourceSyncJobsPaginator(Consumer<ListDataSourceSyncJobsRequest.Builder> listDataSourceSyncJobsRequest) This is a variant of
listDataSourceSyncJobs(software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListDataSourceSyncJobsPublisher publisher = client.listDataSourceSyncJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListDataSourceSyncJobsPublisher publisher = client.listDataSourceSyncJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataSourceSyncJobs(software.amazon.awssdk.services.qbusiness.model.ListDataSourceSyncJobsRequest)
operation.
This is a convenience which creates an instance of the
ListDataSourceSyncJobsRequest.Builder
avoiding the need to create one manually viaListDataSourceSyncJobsRequest.builder()
- Parameters:
listDataSourceSyncJobsRequest
- AConsumer
that will call methods onListDataSourceSyncJobsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSources
default CompletableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest listDataSourcesRequest) Lists the Amazon Q Business data source connectors that you have created.
- Parameters:
listDataSourcesRequest
-- Returns:
- A Java Future containing the result of the ListDataSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSources
default CompletableFuture<ListDataSourcesResponse> listDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) Lists the Amazon Q Business data source connectors that you have created.
This is a convenience which creates an instance of the
ListDataSourcesRequest.Builder
avoiding the need to create one manually viaListDataSourcesRequest.builder()
- Parameters:
listDataSourcesRequest
- AConsumer
that will call methods onListDataSourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourcesPaginator
default ListDataSourcesPublisher listDataSourcesPaginator(ListDataSourcesRequest listDataSourcesRequest) This is a variant of
listDataSources(software.amazon.awssdk.services.qbusiness.model.ListDataSourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListDataSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListDataSourcesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataSources(software.amazon.awssdk.services.qbusiness.model.ListDataSourcesRequest)
operation.- Parameters:
listDataSourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourcesPaginator
default ListDataSourcesPublisher listDataSourcesPaginator(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) This is a variant of
listDataSources(software.amazon.awssdk.services.qbusiness.model.ListDataSourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListDataSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListDataSourcesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataSources(software.amazon.awssdk.services.qbusiness.model.ListDataSourcesRequest)
operation.
This is a convenience which creates an instance of the
ListDataSourcesRequest.Builder
avoiding the need to create one manually viaListDataSourcesRequest.builder()
- Parameters:
listDataSourcesRequest
- AConsumer
that will call methods onListDataSourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDocuments
default CompletableFuture<ListDocumentsResponse> listDocuments(ListDocumentsRequest listDocumentsRequest) A list of documents attached to an index.
- Parameters:
listDocumentsRequest
-- Returns:
- A Java Future containing the result of the ListDocuments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDocuments
default CompletableFuture<ListDocumentsResponse> listDocuments(Consumer<ListDocumentsRequest.Builder> listDocumentsRequest) A list of documents attached to an index.
This is a convenience which creates an instance of the
ListDocumentsRequest.Builder
avoiding the need to create one manually viaListDocumentsRequest.builder()
- Parameters:
listDocumentsRequest
- AConsumer
that will call methods onListDocumentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDocuments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDocumentsPaginator
This is a variant of
listDocuments(software.amazon.awssdk.services.qbusiness.model.ListDocumentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListDocumentsPublisher publisher = client.listDocumentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListDocumentsPublisher publisher = client.listDocumentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListDocumentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListDocumentsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDocuments(software.amazon.awssdk.services.qbusiness.model.ListDocumentsRequest)
operation.- Parameters:
listDocumentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDocumentsPaginator
default ListDocumentsPublisher listDocumentsPaginator(Consumer<ListDocumentsRequest.Builder> listDocumentsRequest) This is a variant of
listDocuments(software.amazon.awssdk.services.qbusiness.model.ListDocumentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListDocumentsPublisher publisher = client.listDocumentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListDocumentsPublisher publisher = client.listDocumentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListDocumentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListDocumentsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDocuments(software.amazon.awssdk.services.qbusiness.model.ListDocumentsRequest)
operation.
This is a convenience which creates an instance of the
ListDocumentsRequest.Builder
avoiding the need to create one manually viaListDocumentsRequest.builder()
- Parameters:
listDocumentsRequest
- AConsumer
that will call methods onListDocumentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGroups
Provides a list of groups that are mapped to users.
- Parameters:
listGroupsRequest
-- Returns:
- A Java Future containing the result of the ListGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGroups
default CompletableFuture<ListGroupsResponse> listGroups(Consumer<ListGroupsRequest.Builder> listGroupsRequest) Provides a list of groups that are mapped to users.
This is a convenience which creates an instance of the
ListGroupsRequest.Builder
avoiding the need to create one manually viaListGroupsRequest.builder()
- Parameters:
listGroupsRequest
- AConsumer
that will call methods onListGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGroupsPaginator
This is a variant of
listGroups(software.amazon.awssdk.services.qbusiness.model.ListGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListGroupsPublisher publisher = client.listGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListGroupsPublisher publisher = client.listGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListGroupsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGroups(software.amazon.awssdk.services.qbusiness.model.ListGroupsRequest)
operation.- Parameters:
listGroupsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGroupsPaginator
default ListGroupsPublisher listGroupsPaginator(Consumer<ListGroupsRequest.Builder> listGroupsRequest) This is a variant of
listGroups(software.amazon.awssdk.services.qbusiness.model.ListGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListGroupsPublisher publisher = client.listGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListGroupsPublisher publisher = client.listGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListGroupsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGroups(software.amazon.awssdk.services.qbusiness.model.ListGroupsRequest)
operation.
This is a convenience which creates an instance of the
ListGroupsRequest.Builder
avoiding the need to create one manually viaListGroupsRequest.builder()
- Parameters:
listGroupsRequest
- AConsumer
that will call methods onListGroupsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIndices
Lists the Amazon Q Business indices you have created.
- Parameters:
listIndicesRequest
-- Returns:
- A Java Future containing the result of the ListIndices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIndices
default CompletableFuture<ListIndicesResponse> listIndices(Consumer<ListIndicesRequest.Builder> listIndicesRequest) Lists the Amazon Q Business indices you have created.
This is a convenience which creates an instance of the
ListIndicesRequest.Builder
avoiding the need to create one manually viaListIndicesRequest.builder()
- Parameters:
listIndicesRequest
- AConsumer
that will call methods onListIndicesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListIndices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIndicesPaginator
This is a variant of
listIndices(software.amazon.awssdk.services.qbusiness.model.ListIndicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListIndicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListIndicesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.qbusiness.model.ListIndicesRequest)
operation.- Parameters:
listIndicesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIndicesPaginator
default ListIndicesPublisher listIndicesPaginator(Consumer<ListIndicesRequest.Builder> listIndicesRequest) This is a variant of
listIndices(software.amazon.awssdk.services.qbusiness.model.ListIndicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListIndicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListIndicesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.qbusiness.model.ListIndicesRequest)
operation.
This is a convenience which creates an instance of the
ListIndicesRequest.Builder
avoiding the need to create one manually viaListIndicesRequest.builder()
- Parameters:
listIndicesRequest
- AConsumer
that will call methods onListIndicesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMessages
default CompletableFuture<ListMessagesResponse> listMessages(ListMessagesRequest listMessagesRequest) Gets a list of messages associated with an Amazon Q Business web experience.
- Parameters:
listMessagesRequest
-- Returns:
- A Java Future containing the result of the ListMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMessages
default CompletableFuture<ListMessagesResponse> listMessages(Consumer<ListMessagesRequest.Builder> listMessagesRequest) Gets a list of messages associated with an Amazon Q Business web experience.
This is a convenience which creates an instance of the
ListMessagesRequest.Builder
avoiding the need to create one manually viaListMessagesRequest.builder()
- Parameters:
listMessagesRequest
- AConsumer
that will call methods onListMessagesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMessagesPaginator
This is a variant of
listMessages(software.amazon.awssdk.services.qbusiness.model.ListMessagesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListMessagesPublisher publisher = client.listMessagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListMessagesPublisher publisher = client.listMessagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListMessagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListMessagesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMessages(software.amazon.awssdk.services.qbusiness.model.ListMessagesRequest)
operation.- Parameters:
listMessagesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMessagesPaginator
default ListMessagesPublisher listMessagesPaginator(Consumer<ListMessagesRequest.Builder> listMessagesRequest) This is a variant of
listMessages(software.amazon.awssdk.services.qbusiness.model.ListMessagesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListMessagesPublisher publisher = client.listMessagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListMessagesPublisher publisher = client.listMessagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListMessagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListMessagesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMessages(software.amazon.awssdk.services.qbusiness.model.ListMessagesRequest)
operation.
This is a convenience which creates an instance of the
ListMessagesRequest.Builder
avoiding the need to create one manually viaListMessagesRequest.builder()
- Parameters:
listMessagesRequest
- AConsumer
that will call methods onListMessagesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- LicenseNotFoundException You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPlugins
Lists configured Amazon Q Business plugins.
- Parameters:
listPluginsRequest
-- Returns:
- A Java Future containing the result of the ListPlugins operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPlugins
default CompletableFuture<ListPluginsResponse> listPlugins(Consumer<ListPluginsRequest.Builder> listPluginsRequest) Lists configured Amazon Q Business plugins.
This is a convenience which creates an instance of the
ListPluginsRequest.Builder
avoiding the need to create one manually viaListPluginsRequest.builder()
- Parameters:
listPluginsRequest
- AConsumer
that will call methods onListPluginsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPlugins operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPluginsPaginator
This is a variant of
listPlugins(software.amazon.awssdk.services.qbusiness.model.ListPluginsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListPluginsPublisher publisher = client.listPluginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListPluginsPublisher publisher = client.listPluginsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListPluginsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListPluginsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPlugins(software.amazon.awssdk.services.qbusiness.model.ListPluginsRequest)
operation.- Parameters:
listPluginsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPluginsPaginator
default ListPluginsPublisher listPluginsPaginator(Consumer<ListPluginsRequest.Builder> listPluginsRequest) This is a variant of
listPlugins(software.amazon.awssdk.services.qbusiness.model.ListPluginsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListPluginsPublisher publisher = client.listPluginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListPluginsPublisher publisher = client.listPluginsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListPluginsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListPluginsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPlugins(software.amazon.awssdk.services.qbusiness.model.ListPluginsRequest)
operation.
This is a convenience which creates an instance of the
ListPluginsRequest.Builder
avoiding the need to create one manually viaListPluginsRequest.builder()
- Parameters:
listPluginsRequest
- AConsumer
that will call methods onListPluginsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRetrievers
default CompletableFuture<ListRetrieversResponse> listRetrievers(ListRetrieversRequest listRetrieversRequest) Lists the retriever used by an Amazon Q Business application.
- Parameters:
listRetrieversRequest
-- Returns:
- A Java Future containing the result of the ListRetrievers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRetrievers
default CompletableFuture<ListRetrieversResponse> listRetrievers(Consumer<ListRetrieversRequest.Builder> listRetrieversRequest) Lists the retriever used by an Amazon Q Business application.
This is a convenience which creates an instance of the
ListRetrieversRequest.Builder
avoiding the need to create one manually viaListRetrieversRequest.builder()
- Parameters:
listRetrieversRequest
- AConsumer
that will call methods onListRetrieversRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRetrievers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRetrieversPaginator
default ListRetrieversPublisher listRetrieversPaginator(ListRetrieversRequest listRetrieversRequest) This is a variant of
listRetrievers(software.amazon.awssdk.services.qbusiness.model.ListRetrieversRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListRetrieversPublisher publisher = client.listRetrieversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListRetrieversPublisher publisher = client.listRetrieversPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListRetrieversResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListRetrieversResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRetrievers(software.amazon.awssdk.services.qbusiness.model.ListRetrieversRequest)
operation.- Parameters:
listRetrieversRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRetrieversPaginator
default ListRetrieversPublisher listRetrieversPaginator(Consumer<ListRetrieversRequest.Builder> listRetrieversRequest) This is a variant of
listRetrievers(software.amazon.awssdk.services.qbusiness.model.ListRetrieversRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListRetrieversPublisher publisher = client.listRetrieversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListRetrieversPublisher publisher = client.listRetrieversPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListRetrieversResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListRetrieversResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRetrievers(software.amazon.awssdk.services.qbusiness.model.ListRetrieversRequest)
operation.
This is a convenience which creates an instance of the
ListRetrieversRequest.Builder
avoiding the need to create one manually viaListRetrieversRequest.builder()
- Parameters:
listRetrieversRequest
- AConsumer
that will call methods onListRetrieversRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Gets a list of tags associated with a specified resource. Amazon Q Business applications and data sources can have tags associated with them.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Gets a list of tags associated with a specified resource. Amazon Q Business applications and data sources can have tags associated with them.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWebExperiences
default CompletableFuture<ListWebExperiencesResponse> listWebExperiences(ListWebExperiencesRequest listWebExperiencesRequest) Lists one or more Amazon Q Business Web Experiences.
- Parameters:
listWebExperiencesRequest
-- Returns:
- A Java Future containing the result of the ListWebExperiences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWebExperiences
default CompletableFuture<ListWebExperiencesResponse> listWebExperiences(Consumer<ListWebExperiencesRequest.Builder> listWebExperiencesRequest) Lists one or more Amazon Q Business Web Experiences.
This is a convenience which creates an instance of the
ListWebExperiencesRequest.Builder
avoiding the need to create one manually viaListWebExperiencesRequest.builder()
- Parameters:
listWebExperiencesRequest
- AConsumer
that will call methods onListWebExperiencesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWebExperiences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWebExperiencesPaginator
default ListWebExperiencesPublisher listWebExperiencesPaginator(ListWebExperiencesRequest listWebExperiencesRequest) This is a variant of
listWebExperiences(software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListWebExperiencesPublisher publisher = client.listWebExperiencesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListWebExperiencesPublisher publisher = client.listWebExperiencesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWebExperiences(software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesRequest)
operation.- Parameters:
listWebExperiencesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWebExperiencesPaginator
default ListWebExperiencesPublisher listWebExperiencesPaginator(Consumer<ListWebExperiencesRequest.Builder> listWebExperiencesRequest) This is a variant of
listWebExperiences(software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.qbusiness.paginators.ListWebExperiencesPublisher publisher = client.listWebExperiencesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListWebExperiencesPublisher publisher = client.listWebExperiencesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWebExperiences(software.amazon.awssdk.services.qbusiness.model.ListWebExperiencesRequest)
operation.
This is a convenience which creates an instance of the
ListWebExperiencesRequest.Builder
avoiding the need to create one manually viaListWebExperiencesRequest.builder()
- Parameters:
listWebExperiencesRequest
- AConsumer
that will call methods onListWebExperiencesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putFeedback
Enables your end user to provide feedback on their Amazon Q Business generated chat responses.
- Parameters:
putFeedbackRequest
-- Returns:
- A Java Future containing the result of the PutFeedback operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putFeedback
default CompletableFuture<PutFeedbackResponse> putFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest) Enables your end user to provide feedback on their Amazon Q Business generated chat responses.
This is a convenience which creates an instance of the
PutFeedbackRequest.Builder
avoiding the need to create one manually viaPutFeedbackRequest.builder()
- Parameters:
putFeedbackRequest
- AConsumer
that will call methods onPutFeedbackRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutFeedback operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putGroup
Create, or updates, a mapping of users—who have access to a document—to groups.
You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their Amazon Q Business chat results.
- Parameters:
putGroupRequest
-- Returns:
- A Java Future containing the result of the PutGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putGroup
default CompletableFuture<PutGroupResponse> putGroup(Consumer<PutGroupRequest.Builder> putGroupRequest) Create, or updates, a mapping of users—who have access to a document—to groups.
You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their Amazon Q Business chat results.
This is a convenience which creates an instance of the
PutGroupRequest.Builder
avoiding the need to create one manually viaPutGroupRequest.builder()
- Parameters:
putGroupRequest
- AConsumer
that will call methods onPutGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDataSourceSyncJob
default CompletableFuture<StartDataSourceSyncJobResponse> startDataSourceSyncJob(StartDataSourceSyncJobRequest startDataSourceSyncJobRequest) Starts a data source connector synchronization job. If a synchronization job is already in progress, Amazon Q Business returns a
ConflictException
.- Parameters:
startDataSourceSyncJobRequest
-- Returns:
- A Java Future containing the result of the StartDataSourceSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDataSourceSyncJob
default CompletableFuture<StartDataSourceSyncJobResponse> startDataSourceSyncJob(Consumer<StartDataSourceSyncJobRequest.Builder> startDataSourceSyncJobRequest) Starts a data source connector synchronization job. If a synchronization job is already in progress, Amazon Q Business returns a
ConflictException
.
This is a convenience which creates an instance of the
StartDataSourceSyncJobRequest.Builder
avoiding the need to create one manually viaStartDataSourceSyncJobRequest.builder()
- Parameters:
startDataSourceSyncJobRequest
- AConsumer
that will call methods onStartDataSourceSyncJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartDataSourceSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopDataSourceSyncJob
default CompletableFuture<StopDataSourceSyncJobResponse> stopDataSourceSyncJob(StopDataSourceSyncJobRequest stopDataSourceSyncJobRequest) Stops an Amazon Q Business data source connector synchronization job already in progress.
- Parameters:
stopDataSourceSyncJobRequest
-- Returns:
- A Java Future containing the result of the StopDataSourceSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopDataSourceSyncJob
default CompletableFuture<StopDataSourceSyncJobResponse> stopDataSourceSyncJob(Consumer<StopDataSourceSyncJobRequest.Builder> stopDataSourceSyncJobRequest) Stops an Amazon Q Business data source connector synchronization job already in progress.
This is a convenience which creates an instance of the
StopDataSourceSyncJobRequest.Builder
avoiding the need to create one manually viaStopDataSourceSyncJobRequest.builder()
- Parameters:
stopDataSourceSyncJobRequest
- AConsumer
that will call methods onStopDataSourceSyncJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopDataSourceSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds the specified tag to the specified Amazon Q Business application or data source resource. If the tag already exists, the existing value is replaced with the new value.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tag to the specified Amazon Q Business application or data source resource. If the tag already exists, the existing value is replaced with the new value.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag from an Amazon Q Business application or a data source.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from an Amazon Q Business application or a data source.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest) Updates an existing Amazon Q Business application.
- Parameters:
updateApplicationRequest
-- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates an existing Amazon Q Business application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builder
avoiding the need to create one manually viaUpdateApplicationRequest.builder()
- Parameters:
updateApplicationRequest
- AConsumer
that will call methods onUpdateApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateChatControlsConfiguration
default CompletableFuture<UpdateChatControlsConfigurationResponse> updateChatControlsConfiguration(UpdateChatControlsConfigurationRequest updateChatControlsConfigurationRequest) Updates an set of chat controls configured for an existing Amazon Q Business application.
- Parameters:
updateChatControlsConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateChatControlsConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateChatControlsConfiguration
default CompletableFuture<UpdateChatControlsConfigurationResponse> updateChatControlsConfiguration(Consumer<UpdateChatControlsConfigurationRequest.Builder> updateChatControlsConfigurationRequest) Updates an set of chat controls configured for an existing Amazon Q Business application.
This is a convenience which creates an instance of the
UpdateChatControlsConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateChatControlsConfigurationRequest.builder()
- Parameters:
updateChatControlsConfigurationRequest
- AConsumer
that will call methods onUpdateChatControlsConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateChatControlsConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDataSource
default CompletableFuture<UpdateDataSourceResponse> updateDataSource(UpdateDataSourceRequest updateDataSourceRequest) Updates an existing Amazon Q Business data source connector.
- Parameters:
updateDataSourceRequest
-- Returns:
- A Java Future containing the result of the UpdateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDataSource
default CompletableFuture<UpdateDataSourceResponse> updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest) Updates an existing Amazon Q Business data source connector.
This is a convenience which creates an instance of the
UpdateDataSourceRequest.Builder
avoiding the need to create one manually viaUpdateDataSourceRequest.builder()
- Parameters:
updateDataSourceRequest
- AConsumer
that will call methods onUpdateDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIndex
Updates an Amazon Q Business index.
- Parameters:
updateIndexRequest
-- Returns:
- A Java Future containing the result of the UpdateIndex operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIndex
default CompletableFuture<UpdateIndexResponse> updateIndex(Consumer<UpdateIndexRequest.Builder> updateIndexRequest) Updates an Amazon Q Business index.
This is a convenience which creates an instance of the
UpdateIndexRequest.Builder
avoiding the need to create one manually viaUpdateIndexRequest.builder()
- Parameters:
updateIndexRequest
- AConsumer
that will call methods onUpdateIndexRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateIndex operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePlugin
default CompletableFuture<UpdatePluginResponse> updatePlugin(UpdatePluginRequest updatePluginRequest) Updates an Amazon Q Business plugin.
- Parameters:
updatePluginRequest
-- Returns:
- A Java Future containing the result of the UpdatePlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePlugin
default CompletableFuture<UpdatePluginResponse> updatePlugin(Consumer<UpdatePluginRequest.Builder> updatePluginRequest) Updates an Amazon Q Business plugin.
This is a convenience which creates an instance of the
UpdatePluginRequest.Builder
avoiding the need to create one manually viaUpdatePluginRequest.builder()
- Parameters:
updatePluginRequest
- AConsumer
that will call methods onUpdatePluginRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdatePlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRetriever
default CompletableFuture<UpdateRetrieverResponse> updateRetriever(UpdateRetrieverRequest updateRetrieverRequest) Updates the retriever used for your Amazon Q Business application.
- Parameters:
updateRetrieverRequest
-- Returns:
- A Java Future containing the result of the UpdateRetriever operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRetriever
default CompletableFuture<UpdateRetrieverResponse> updateRetriever(Consumer<UpdateRetrieverRequest.Builder> updateRetrieverRequest) Updates the retriever used for your Amazon Q Business application.
This is a convenience which creates an instance of the
UpdateRetrieverRequest.Builder
avoiding the need to create one manually viaUpdateRetrieverRequest.builder()
- Parameters:
updateRetrieverRequest
- AConsumer
that will call methods onUpdateRetrieverRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateRetriever operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUser
Updates a information associated with a user id.
- Parameters:
updateUserRequest
-- Returns:
- A Java Future containing the result of the UpdateUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUser
default CompletableFuture<UpdateUserResponse> updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest) Updates a information associated with a user id.
This is a convenience which creates an instance of the
UpdateUserRequest.Builder
avoiding the need to create one manually viaUpdateUserRequest.builder()
- Parameters:
updateUserRequest
- AConsumer
that will call methods onUpdateUserRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- ServiceQuotaExceededException You have exceeded the set limits for your Amazon Q Business service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWebExperience
default CompletableFuture<UpdateWebExperienceResponse> updateWebExperience(UpdateWebExperienceRequest updateWebExperienceRequest) Updates an Amazon Q Business web experience.
- Parameters:
updateWebExperienceRequest
-- Returns:
- A Java Future containing the result of the UpdateWebExperience operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWebExperience
default CompletableFuture<UpdateWebExperienceResponse> updateWebExperience(Consumer<UpdateWebExperienceRequest.Builder> updateWebExperienceRequest) Updates an Amazon Q Business web experience.
This is a convenience which creates an instance of the
UpdateWebExperienceRequest.Builder
avoiding the need to create one manually viaUpdateWebExperienceRequest.builder()
- Parameters:
updateWebExperienceRequest
- AConsumer
that will call methods onUpdateWebExperienceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateWebExperience operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- InternalServerException An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
- ThrottlingException The request was denied due to throttling. Reduce the number of requests and try again.
- ValidationException The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
- AccessDeniedException You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- QBusinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aQBusinessAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aQBusinessAsyncClient
.
-