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.
The following resources provide additional information about using the Amazon Q Business API:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionassociatePermission
(Consumer<AssociatePermissionRequest.Builder> associatePermissionRequest) Adds or updates a permission policy for a Amazon Q Business application, allowing cross-account access for an ISV.associatePermission
(AssociatePermissionRequest associatePermissionRequest) Adds or updates a permission policy for a Amazon Q Business application, allowing cross-account access for an ISV.batchDeleteDocument
(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
.cancelSubscription
(Consumer<CancelSubscriptionRequest.Builder> cancelSubscriptionRequest) Unsubscribes a user or a group from their pricing tier in an Amazon Q Business application.cancelSubscription
(CancelSubscriptionRequest cancelSubscriptionRequest) Unsubscribes a user or a group from their pricing tier in an Amazon Q Business application.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.checkDocumentAccess
(Consumer<CheckDocumentAccessRequest.Builder> checkDocumentAccessRequest) Verifies if a user has access permissions for a specified document and returns the actual ACL attached to the document.checkDocumentAccess
(CheckDocumentAccessRequest checkDocumentAccessRequest) Verifies if a user has access permissions for a specified document and returns the actual ACL attached to the document.static QBusinessAsyncClient
create()
Create aQBusinessAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createAnonymousWebExperienceUrl
(Consumer<CreateAnonymousWebExperienceUrlRequest.Builder> createAnonymousWebExperienceUrlRequest) Creates a unique URL for anonymous Amazon Q Business web experience.createAnonymousWebExperienceUrl
(CreateAnonymousWebExperienceUrlRequest createAnonymousWebExperienceUrlRequest) Creates a unique URL for anonymous Amazon Q Business web experience.createApplication
(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates an Amazon Q Business application.createApplication
(CreateApplicationRequest createApplicationRequest) Creates an Amazon Q Business application.createChatResponseConfiguration
(Consumer<CreateChatResponseConfigurationRequest.Builder> createChatResponseConfigurationRequest) Creates a new chat response configuration for an Amazon Q Business application.createChatResponseConfiguration
(CreateChatResponseConfigurationRequest createChatResponseConfigurationRequest) Creates a new chat response configuration for an Amazon Q Business application.createDataAccessor
(Consumer<CreateDataAccessorRequest.Builder> createDataAccessorRequest) Creates a new data accessor for an ISV to access data from a Amazon Q Business application.createDataAccessor
(CreateDataAccessorRequest createDataAccessorRequest) Creates a new data accessor for an ISV to access data from a 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.createSubscription
(Consumer<CreateSubscriptionRequest.Builder> createSubscriptionRequest) Subscribes an IAM Identity Center user or a group to a pricing tier for an Amazon Q Business application.createSubscription
(CreateSubscriptionRequest createSubscriptionRequest) Subscribes an IAM Identity Center user or a group to a pricing tier for an 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.deleteAttachment
(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest) Deletes an attachment associated with a specific Amazon Q Business conversation.deleteAttachment
(DeleteAttachmentRequest deleteAttachmentRequest) Deletes an attachment associated with a specific Amazon Q Business conversation.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.deleteChatResponseConfiguration
(Consumer<DeleteChatResponseConfigurationRequest.Builder> deleteChatResponseConfigurationRequest) Deletes a specified chat response configuration from an Amazon Q Business application.deleteChatResponseConfiguration
(DeleteChatResponseConfigurationRequest deleteChatResponseConfigurationRequest) Deletes a specified chat response configuration from an 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.deleteDataAccessor
(Consumer<DeleteDataAccessorRequest.Builder> deleteDataAccessorRequest) Deletes a specified data accessor.deleteDataAccessor
(DeleteDataAccessorRequest deleteDataAccessorRequest) Deletes a specified data accessor.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.disassociatePermission
(Consumer<DisassociatePermissionRequest.Builder> disassociatePermissionRequest) Removes a permission policy from a Amazon Q Business application, revoking the cross-account access that was previously granted to an ISV.disassociatePermission
(DisassociatePermissionRequest disassociatePermissionRequest) Removes a permission policy from a Amazon Q Business application, revoking the cross-account access that was previously granted to an ISV.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 chat controls configured for an existing Amazon Q Business application.getChatControlsConfiguration
(GetChatControlsConfigurationRequest getChatControlsConfigurationRequest) Gets information about 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.getChatResponseConfiguration
(Consumer<GetChatResponseConfigurationRequest.Builder> getChatResponseConfigurationRequest) Retrieves detailed information about a specific chat response configuration from an Amazon Q Business application.getChatResponseConfiguration
(GetChatResponseConfigurationRequest getChatResponseConfigurationRequest) Retrieves detailed information about a specific chat response configuration from an Amazon Q Business application.default CompletableFuture
<GetDataAccessorResponse> getDataAccessor
(Consumer<GetDataAccessorRequest.Builder> getDataAccessorRequest) Retrieves information about a specified data accessor.default CompletableFuture
<GetDataAccessorResponse> getDataAccessor
(GetDataAccessorRequest getDataAccessorRequest) Retrieves information about a specified data accessor.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
<GetMediaResponse> getMedia
(Consumer<GetMediaRequest.Builder> getMediaRequest) Returns the image bytes corresponding to a media object.default CompletableFuture
<GetMediaResponse> getMedia
(GetMediaRequest getMediaRequest) Returns the image bytes corresponding to a media object.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
<GetPolicyResponse> getPolicy
(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves the current permission policy for a Amazon Q Business application.default CompletableFuture
<GetPolicyResponse> getPolicy
(GetPolicyRequest getPolicyRequest) Retrieves the current permission policy for a Amazon Q Business application.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.default CompletableFuture
<ListAttachmentsResponse> listAttachments
(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) Gets a list of attachments associated with an Amazon Q Business web experience or a list of attachements associated with a specific Amazon Q Business conversation.default CompletableFuture
<ListAttachmentsResponse> listAttachments
(ListAttachmentsRequest listAttachmentsRequest) Gets a list of attachments associated with an Amazon Q Business web experience or a list of attachements associated with a specific Amazon Q Business conversation.default ListAttachmentsPublisher
listAttachmentsPaginator
(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.qbusiness.model.ListAttachmentsRequest)
operation.default ListAttachmentsPublisher
listAttachmentsPaginator
(ListAttachmentsRequest listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.qbusiness.model.ListAttachmentsRequest)
operation.listChatResponseConfigurations
(Consumer<ListChatResponseConfigurationsRequest.Builder> listChatResponseConfigurationsRequest) Retrieves a list of all chat response configurations available in a specified Amazon Q Business application.listChatResponseConfigurations
(ListChatResponseConfigurationsRequest listChatResponseConfigurationsRequest) Retrieves a list of all chat response configurations available in a specified Amazon Q Business application.listChatResponseConfigurationsPaginator
(Consumer<ListChatResponseConfigurationsRequest.Builder> listChatResponseConfigurationsRequest) This is a variant oflistChatResponseConfigurations(software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsRequest)
operation.listChatResponseConfigurationsPaginator
(ListChatResponseConfigurationsRequest listChatResponseConfigurationsRequest) This is a variant oflistChatResponseConfigurations(software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsRequest)
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.listDataAccessors
(Consumer<ListDataAccessorsRequest.Builder> listDataAccessorsRequest) Lists the data accessors for a Amazon Q Business application.listDataAccessors
(ListDataAccessorsRequest listDataAccessorsRequest) Lists the data accessors for a Amazon Q Business application.default ListDataAccessorsPublisher
listDataAccessorsPaginator
(Consumer<ListDataAccessorsRequest.Builder> listDataAccessorsRequest) This is a variant oflistDataAccessors(software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsRequest)
operation.default ListDataAccessorsPublisher
listDataAccessorsPaginator
(ListDataAccessorsRequest listDataAccessorsRequest) This is a variant oflistDataAccessors(software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsRequest)
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.listPluginActions
(Consumer<ListPluginActionsRequest.Builder> listPluginActionsRequest) Lists configured Amazon Q Business actions for a specific plugin in an Amazon Q Business application.listPluginActions
(ListPluginActionsRequest listPluginActionsRequest) Lists configured Amazon Q Business actions for a specific plugin in an Amazon Q Business application.default ListPluginActionsPublisher
listPluginActionsPaginator
(Consumer<ListPluginActionsRequest.Builder> listPluginActionsRequest) This is a variant oflistPluginActions(software.amazon.awssdk.services.qbusiness.model.ListPluginActionsRequest)
operation.default ListPluginActionsPublisher
listPluginActionsPaginator
(ListPluginActionsRequest listPluginActionsRequest) This is a variant oflistPluginActions(software.amazon.awssdk.services.qbusiness.model.ListPluginActionsRequest)
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.listPluginTypeActions
(Consumer<ListPluginTypeActionsRequest.Builder> listPluginTypeActionsRequest) Lists configured Amazon Q Business actions for any plugin type—both built-in and custom.listPluginTypeActions
(ListPluginTypeActionsRequest listPluginTypeActionsRequest) Lists configured Amazon Q Business actions for any plugin type—both built-in and custom.default ListPluginTypeActionsPublisher
listPluginTypeActionsPaginator
(Consumer<ListPluginTypeActionsRequest.Builder> listPluginTypeActionsRequest) This is a variant oflistPluginTypeActions(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsRequest)
operation.default ListPluginTypeActionsPublisher
listPluginTypeActionsPaginator
(ListPluginTypeActionsRequest listPluginTypeActionsRequest) This is a variant oflistPluginTypeActions(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsRequest)
operation.listPluginTypeMetadata
(Consumer<ListPluginTypeMetadataRequest.Builder> listPluginTypeMetadataRequest) Lists metadata for all Amazon Q Business plugin types.listPluginTypeMetadata
(ListPluginTypeMetadataRequest listPluginTypeMetadataRequest) Lists metadata for all Amazon Q Business plugin types.default ListPluginTypeMetadataPublisher
listPluginTypeMetadataPaginator
(Consumer<ListPluginTypeMetadataRequest.Builder> listPluginTypeMetadataRequest) This is a variant oflistPluginTypeMetadata(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataRequest)
operation.default ListPluginTypeMetadataPublisher
listPluginTypeMetadataPaginator
(ListPluginTypeMetadataRequest listPluginTypeMetadataRequest) This is a variant oflistPluginTypeMetadata(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataRequest)
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.listSubscriptions
(Consumer<ListSubscriptionsRequest.Builder> listSubscriptionsRequest) Lists all subscriptions created in an Amazon Q Business application.listSubscriptions
(ListSubscriptionsRequest listSubscriptionsRequest) Lists all subscriptions created in an Amazon Q Business application.default ListSubscriptionsPublisher
listSubscriptionsPaginator
(Consumer<ListSubscriptionsRequest.Builder> listSubscriptionsRequest) This is a variant oflistSubscriptions(software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsRequest)
operation.default ListSubscriptionsPublisher
listSubscriptionsPaginator
(ListSubscriptionsRequest listSubscriptionsRequest) This is a variant oflistSubscriptions(software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsRequest)
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.searchRelevantContent
(Consumer<SearchRelevantContentRequest.Builder> searchRelevantContentRequest) Searches for relevant content in a Amazon Q Business application based on a query.searchRelevantContent
(SearchRelevantContentRequest searchRelevantContentRequest) Searches for relevant content in a Amazon Q Business application based on a query.default SearchRelevantContentPublisher
searchRelevantContentPaginator
(Consumer<SearchRelevantContentRequest.Builder> searchRelevantContentRequest) This is a variant ofsearchRelevantContent(software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentRequest)
operation.default SearchRelevantContentPublisher
searchRelevantContentPaginator
(SearchRelevantContentRequest searchRelevantContentRequest) This is a variant ofsearchRelevantContent(software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentRequest)
operation.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 a set of chat controls configured for an existing Amazon Q Business application.updateChatControlsConfiguration
(UpdateChatControlsConfigurationRequest updateChatControlsConfigurationRequest) Updates a set of chat controls configured for an existing Amazon Q Business application.updateChatResponseConfiguration
(Consumer<UpdateChatResponseConfigurationRequest.Builder> updateChatResponseConfigurationRequest) Updates an existing chat response configuration in an Amazon Q Business application.updateChatResponseConfiguration
(UpdateChatResponseConfigurationRequest updateChatResponseConfigurationRequest) Updates an existing chat response configuration in an Amazon Q Business application.updateDataAccessor
(Consumer<UpdateDataAccessorRequest.Builder> updateDataAccessorRequest) Updates an existing data accessor.updateDataAccessor
(UpdateDataAccessorRequest updateDataAccessorRequest) Updates an existing data accessor.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.updateSubscription
(Consumer<UpdateSubscriptionRequest.Builder> updateSubscriptionRequest) Updates the pricing tier for an Amazon Q Business subscription.updateSubscription
(UpdateSubscriptionRequest updateSubscriptionRequest) Updates the pricing tier for an Amazon Q Business subscription.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
-
associatePermission
default CompletableFuture<AssociatePermissionResponse> associatePermission(AssociatePermissionRequest associatePermissionRequest) Adds or updates a permission policy for a Amazon Q Business application, allowing cross-account access for an ISV. This operation creates a new policy statement for the specified Amazon Q Business application. The policy statement defines the IAM actions that the ISV is allowed to perform on the Amazon Q Business application's resources.
- Parameters:
associatePermissionRequest
-- Returns:
- A Java Future containing the result of the AssociatePermission 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
associatePermission
default CompletableFuture<AssociatePermissionResponse> associatePermission(Consumer<AssociatePermissionRequest.Builder> associatePermissionRequest) Adds or updates a permission policy for a Amazon Q Business application, allowing cross-account access for an ISV. This operation creates a new policy statement for the specified Amazon Q Business application. The policy statement defines the IAM actions that the ISV is allowed to perform on the Amazon Q Business application's resources.
This is a convenience which creates an instance of the
AssociatePermissionRequest.Builder
avoiding the need to create one manually viaAssociatePermissionRequest.builder()
- Parameters:
associatePermissionRequest
- AConsumer
that will call methods onAssociatePermissionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociatePermission 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
-
cancelSubscription
default CompletableFuture<CancelSubscriptionResponse> cancelSubscription(CancelSubscriptionRequest cancelSubscriptionRequest) Unsubscribes a user or a group from their pricing tier in an Amazon Q Business application. An unsubscribed user or group loses all Amazon Q Business feature access at the start of next month.
- Parameters:
cancelSubscriptionRequest
-- Returns:
- A Java Future containing the result of the CancelSubscription 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
cancelSubscription
default CompletableFuture<CancelSubscriptionResponse> cancelSubscription(Consumer<CancelSubscriptionRequest.Builder> cancelSubscriptionRequest) Unsubscribes a user or a group from their pricing tier in an Amazon Q Business application. An unsubscribed user or group loses all Amazon Q Business feature access at the start of next month.
This is a convenience which creates an instance of the
CancelSubscriptionRequest.Builder
avoiding the need to create one manually viaCancelSubscriptionRequest.builder()
- Parameters:
cancelSubscriptionRequest
- AConsumer
that will call methods onCancelSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CancelSubscription 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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(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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
- 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.
- ExternalResourceException An external resource that you configured with your application is returning errors and preventing this operation from succeeding. Fix those errors 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
- 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.
- ExternalResourceException An external resource that you configured with your application is returning errors and preventing this operation from succeeding. Fix those errors 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
- 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.
- ExternalResourceException An external resource that you configured with your application is returning errors and preventing this operation from succeeding. Fix those errors 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
- 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.
- ExternalResourceException An external resource that you configured with your application is returning errors and preventing this operation from succeeding. Fix those errors 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:
-
checkDocumentAccess
default CompletableFuture<CheckDocumentAccessResponse> checkDocumentAccess(CheckDocumentAccessRequest checkDocumentAccessRequest) Verifies if a user has access permissions for a specified document and returns the actual ACL attached to the document. Resolves user access on the document via user aliases and groups when verifying user access.
- Parameters:
checkDocumentAccessRequest
-- Returns:
- A Java Future containing the result of the CheckDocumentAccess 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
checkDocumentAccess
default CompletableFuture<CheckDocumentAccessResponse> checkDocumentAccess(Consumer<CheckDocumentAccessRequest.Builder> checkDocumentAccessRequest) Verifies if a user has access permissions for a specified document and returns the actual ACL attached to the document. Resolves user access on the document via user aliases and groups when verifying user access.
This is a convenience which creates an instance of the
CheckDocumentAccessRequest.Builder
avoiding the need to create one manually viaCheckDocumentAccessRequest.builder()
- Parameters:
checkDocumentAccessRequest
- AConsumer
that will call methods onCheckDocumentAccessRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CheckDocumentAccess 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
createAnonymousWebExperienceUrl
default CompletableFuture<CreateAnonymousWebExperienceUrlResponse> createAnonymousWebExperienceUrl(CreateAnonymousWebExperienceUrlRequest createAnonymousWebExperienceUrlRequest) Creates a unique URL for anonymous Amazon Q Business web experience. This URL can only be used once and must be used within 5 minutes after it's generated.
- Parameters:
createAnonymousWebExperienceUrlRequest
-- Returns:
- A Java Future containing the result of the CreateAnonymousWebExperienceUrl 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
createAnonymousWebExperienceUrl
default CompletableFuture<CreateAnonymousWebExperienceUrlResponse> createAnonymousWebExperienceUrl(Consumer<CreateAnonymousWebExperienceUrlRequest.Builder> createAnonymousWebExperienceUrlRequest) Creates a unique URL for anonymous Amazon Q Business web experience. This URL can only be used once and must be used within 5 minutes after it's generated.
This is a convenience which creates an instance of the
CreateAnonymousWebExperienceUrlRequest.Builder
avoiding the need to create one manually viaCreateAnonymousWebExperienceUrlRequest.builder()
- Parameters:
createAnonymousWebExperienceUrlRequest
- AConsumer
that will call methods onCreateAnonymousWebExperienceUrlRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAnonymousWebExperienceUrl 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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(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.
An Amazon Q Apps service linked role will be created if it's absent in the Amazon Web Services account when
QAppsConfiguration
is enabled in the request. For more information, see Using service-linked roles for Q Apps.When you create an application, Amazon Q Business may securely transmit data for processing from your selected Amazon Web Services region, but within your geography. For more information, see Cross region inference in Amazon Q Business.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.
An Amazon Q Apps service linked role will be created if it's absent in the Amazon Web Services account when
QAppsConfiguration
is enabled in the request. For more information, see Using service-linked roles for Q Apps.When you create an application, Amazon Q Business may securely transmit data for processing from your selected Amazon Web Services region, but within your geography. For more information, see Cross region inference in Amazon Q Business.
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
createChatResponseConfiguration
default CompletableFuture<CreateChatResponseConfigurationResponse> createChatResponseConfiguration(CreateChatResponseConfigurationRequest createChatResponseConfigurationRequest) Creates a new chat response configuration for an Amazon Q Business application. This operation establishes a set of parameters that define how the system generates and formats responses to user queries in chat interactions.
- Parameters:
createChatResponseConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateChatResponseConfiguration 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
createChatResponseConfiguration
default CompletableFuture<CreateChatResponseConfigurationResponse> createChatResponseConfiguration(Consumer<CreateChatResponseConfigurationRequest.Builder> createChatResponseConfigurationRequest) Creates a new chat response configuration for an Amazon Q Business application. This operation establishes a set of parameters that define how the system generates and formats responses to user queries in chat interactions.
This is a convenience which creates an instance of the
CreateChatResponseConfigurationRequest.Builder
avoiding the need to create one manually viaCreateChatResponseConfigurationRequest.builder()
- Parameters:
createChatResponseConfigurationRequest
- AConsumer
that will call methods onCreateChatResponseConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateChatResponseConfiguration 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
createDataAccessor
default CompletableFuture<CreateDataAccessorResponse> createDataAccessor(CreateDataAccessorRequest createDataAccessorRequest) Creates a new data accessor for an ISV to access data from a Amazon Q Business application. The data accessor is an entity that represents the ISV's access to the Amazon Q Business application's data. It includes the IAM role ARN for the ISV, a friendly name, and a set of action configurations that define the specific actions the ISV is allowed to perform and any associated data filters. When the data accessor is created, an IAM Identity Center application is also created to manage the ISV's identity and authentication for accessing the Amazon Q Business application.
- Parameters:
createDataAccessorRequest
-- Returns:
- A Java Future containing the result of the CreateDataAccessor 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
createDataAccessor
default CompletableFuture<CreateDataAccessorResponse> createDataAccessor(Consumer<CreateDataAccessorRequest.Builder> createDataAccessorRequest) Creates a new data accessor for an ISV to access data from a Amazon Q Business application. The data accessor is an entity that represents the ISV's access to the Amazon Q Business application's data. It includes the IAM role ARN for the ISV, a friendly name, and a set of action configurations that define the specific actions the ISV is allowed to perform and any associated data filters. When the data accessor is created, an IAM Identity Center application is also created to manage the ISV's identity and authentication for accessing the Amazon Q Business application.
This is a convenience which creates an instance of the
CreateDataAccessorRequest.Builder
avoiding the need to create one manually viaCreateDataAccessorRequest.builder()
- Parameters:
createDataAccessorRequest
- AConsumer
that will call methods onCreateDataAccessorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDataAccessor 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
createSubscription
default CompletableFuture<CreateSubscriptionResponse> createSubscription(CreateSubscriptionRequest createSubscriptionRequest) Subscribes an IAM Identity Center user or a group to a pricing tier for an Amazon Q Business application.
Amazon Q Business offers two subscription tiers:
Q_LITE
andQ_BUSINESS
. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see Amazon Q Business pricing.- Parameters:
createSubscriptionRequest
-- Returns:
- A Java Future containing the result of the CreateSubscription 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
createSubscription
default CompletableFuture<CreateSubscriptionResponse> createSubscription(Consumer<CreateSubscriptionRequest.Builder> createSubscriptionRequest) Subscribes an IAM Identity Center user or a group to a pricing tier for an Amazon Q Business application.
Amazon Q Business offers two subscription tiers:
Q_LITE
andQ_BUSINESS
. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see Amazon Q Business pricing.
This is a convenience which creates an instance of the
CreateSubscriptionRequest.Builder
avoiding the need to create one manually viaCreateSubscriptionRequest.builder()
- Parameters:
createSubscriptionRequest
- AConsumer
that will call methods onCreateSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSubscription 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
deleteAttachment
default CompletableFuture<DeleteAttachmentResponse> deleteAttachment(DeleteAttachmentRequest deleteAttachmentRequest) Deletes an attachment associated with a specific Amazon Q Business conversation.
- Parameters:
deleteAttachmentRequest
-- Returns:
- A Java Future containing the result of the DeleteAttachment 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
deleteAttachment
default CompletableFuture<DeleteAttachmentResponse> deleteAttachment(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest) Deletes an attachment associated with a specific Amazon Q Business conversation.
This is a convenience which creates an instance of the
DeleteAttachmentRequest.Builder
avoiding the need to create one manually viaDeleteAttachmentRequest.builder()
- Parameters:
deleteAttachmentRequest
- AConsumer
that will call methods onDeleteAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAttachment 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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(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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
deleteChatResponseConfiguration
default CompletableFuture<DeleteChatResponseConfigurationResponse> deleteChatResponseConfiguration(DeleteChatResponseConfigurationRequest deleteChatResponseConfigurationRequest) Deletes a specified chat response configuration from an Amazon Q Business application.
- Parameters:
deleteChatResponseConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteChatResponseConfiguration 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
deleteChatResponseConfiguration
default CompletableFuture<DeleteChatResponseConfigurationResponse> deleteChatResponseConfiguration(Consumer<DeleteChatResponseConfigurationRequest.Builder> deleteChatResponseConfigurationRequest) Deletes a specified chat response configuration from an Amazon Q Business application.
This is a convenience which creates an instance of the
DeleteChatResponseConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteChatResponseConfigurationRequest.builder()
- Parameters:
deleteChatResponseConfigurationRequest
- AConsumer
that will call methods onDeleteChatResponseConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteChatResponseConfiguration 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
deleteDataAccessor
default CompletableFuture<DeleteDataAccessorResponse> deleteDataAccessor(DeleteDataAccessorRequest deleteDataAccessorRequest) Deletes a specified data accessor. This operation permanently removes the data accessor and its associated IAM Identity Center application. Any access granted to the ISV through this data accessor will be revoked.
- Parameters:
deleteDataAccessorRequest
-- Returns:
- A Java Future containing the result of the DeleteDataAccessor 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
deleteDataAccessor
default CompletableFuture<DeleteDataAccessorResponse> deleteDataAccessor(Consumer<DeleteDataAccessorRequest.Builder> deleteDataAccessorRequest) Deletes a specified data accessor. This operation permanently removes the data accessor and its associated IAM Identity Center application. Any access granted to the ISV through this data accessor will be revoked.
This is a convenience which creates an instance of the
DeleteDataAccessorRequest.Builder
avoiding the need to create one manually viaDeleteDataAccessorRequest.builder()
- Parameters:
deleteDataAccessorRequest
- AConsumer
that will call methods onDeleteDataAccessorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDataAccessor 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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(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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
disassociatePermission
default CompletableFuture<DisassociatePermissionResponse> disassociatePermission(DisassociatePermissionRequest disassociatePermissionRequest) Removes a permission policy from a Amazon Q Business application, revoking the cross-account access that was previously granted to an ISV. This operation deletes the specified policy statement from the application's permission policy.
- Parameters:
disassociatePermissionRequest
-- Returns:
- A Java Future containing the result of the DisassociatePermission 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
disassociatePermission
default CompletableFuture<DisassociatePermissionResponse> disassociatePermission(Consumer<DisassociatePermissionRequest.Builder> disassociatePermissionRequest) Removes a permission policy from a Amazon Q Business application, revoking the cross-account access that was previously granted to an ISV. This operation deletes the specified policy statement from the application's permission policy.
This is a convenience which creates an instance of the
DisassociatePermissionRequest.Builder
avoiding the need to create one manually viaDisassociatePermissionRequest.builder()
- Parameters:
disassociatePermissionRequest
- AConsumer
that will call methods onDisassociatePermissionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociatePermission 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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(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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getChatControlsConfiguration
default CompletableFuture<GetChatControlsConfigurationResponse> getChatControlsConfiguration(GetChatControlsConfigurationRequest getChatControlsConfigurationRequest) Gets information about 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getChatControlsConfiguration
default CompletableFuture<GetChatControlsConfigurationResponse> getChatControlsConfiguration(Consumer<GetChatControlsConfigurationRequest.Builder> getChatControlsConfigurationRequest) Gets information about 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getChatResponseConfiguration
default CompletableFuture<GetChatResponseConfigurationResponse> getChatResponseConfiguration(GetChatResponseConfigurationRequest getChatResponseConfigurationRequest) Retrieves detailed information about a specific chat response configuration from an Amazon Q Business application. This operation returns the complete configuration settings and metadata.
- Parameters:
getChatResponseConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetChatResponseConfiguration 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getChatResponseConfiguration
default CompletableFuture<GetChatResponseConfigurationResponse> getChatResponseConfiguration(Consumer<GetChatResponseConfigurationRequest.Builder> getChatResponseConfigurationRequest) Retrieves detailed information about a specific chat response configuration from an Amazon Q Business application. This operation returns the complete configuration settings and metadata.
This is a convenience which creates an instance of the
GetChatResponseConfigurationRequest.Builder
avoiding the need to create one manually viaGetChatResponseConfigurationRequest.builder()
- Parameters:
getChatResponseConfigurationRequest
- AConsumer
that will call methods onGetChatResponseConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetChatResponseConfiguration 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getDataAccessor
default CompletableFuture<GetDataAccessorResponse> getDataAccessor(GetDataAccessorRequest getDataAccessorRequest) Retrieves information about a specified data accessor. This operation returns details about the data accessor, including its display name, unique identifier, Amazon Resource Name (ARN), the associated Amazon Q Business application and IAM Identity Center application, the IAM role for the ISV, the action configurations, and the timestamps for when the data accessor was created and last updated.
- Parameters:
getDataAccessorRequest
-- Returns:
- A Java Future containing the result of the GetDataAccessor 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getDataAccessor
default CompletableFuture<GetDataAccessorResponse> getDataAccessor(Consumer<GetDataAccessorRequest.Builder> getDataAccessorRequest) Retrieves information about a specified data accessor. This operation returns details about the data accessor, including its display name, unique identifier, Amazon Resource Name (ARN), the associated Amazon Q Business application and IAM Identity Center application, the IAM role for the ISV, the action configurations, and the timestamps for when the data accessor was created and last updated.
This is a convenience which creates an instance of the
GetDataAccessorRequest.Builder
avoiding the need to create one manually viaGetDataAccessorRequest.builder()
- Parameters:
getDataAccessorRequest
- AConsumer
that will call methods onGetDataAccessorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDataAccessor 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getMedia
Returns the image bytes corresponding to a media object. If you have implemented your own application with the Chat and ChatSync APIs, and have enabled content extraction from visual data in Amazon Q Business, you use the GetMedia API operation to download the images so you can show them in your UI with responses.
For more information, see Extracting semantic meaning from images and visuals.
- Parameters:
getMediaRequest
-- Returns:
- A Java Future containing the result of the GetMedia 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.
- MediaTooLargeException The requested media object is too large to be returned.
- 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:
-
getMedia
default CompletableFuture<GetMediaResponse> getMedia(Consumer<GetMediaRequest.Builder> getMediaRequest) Returns the image bytes corresponding to a media object. If you have implemented your own application with the Chat and ChatSync APIs, and have enabled content extraction from visual data in Amazon Q Business, you use the GetMedia API operation to download the images so you can show them in your UI with responses.
For more information, see Extracting semantic meaning from images and visuals.
This is a convenience which creates an instance of the
GetMediaRequest.Builder
avoiding the need to create one manually viaGetMediaRequest.builder()
- Parameters:
getMediaRequest
- AConsumer
that will call methods onGetMediaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetMedia 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.
- MediaTooLargeException The requested media object is too large to be returned.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getPolicy
Retrieves the current permission policy for a Amazon Q Business application. The policy is returned as a JSON-formatted string and defines the IAM actions that are allowed or denied for the application's resources.
- Parameters:
getPolicyRequest
-- Returns:
- A Java Future containing the result of the GetPolicy 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
getPolicy
default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves the current permission policy for a Amazon Q Business application. The policy is returned as a JSON-formatted string and defines the IAM actions that are allowed or denied for the application's resources.
This is a convenience which creates an instance of the
GetPolicyRequest.Builder
avoiding the need to create one manually viaGetPolicyRequest.builder()
- Parameters:
getPolicyRequest
- AConsumer
that will call methods onGetPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetPolicy 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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(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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest) Lists Amazon Q Business applications.
Amazon Q Business applications may securely transmit data for processing across Amazon Web Services Regions within your geography. For more information, see Cross region inference in Amazon Q Business.
- 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.
Amazon Q Business applications may securely transmit data for processing across Amazon Web Services Regions within your geography. For more information, see Cross region inference in Amazon Q Business.
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:
-
listAttachments
default CompletableFuture<ListAttachmentsResponse> listAttachments(ListAttachmentsRequest listAttachmentsRequest) Gets a list of attachments associated with an Amazon Q Business web experience or a list of attachements associated with a specific Amazon Q Business conversation.
- Parameters:
listAttachmentsRequest
-- Returns:
- A Java Future containing the result of the ListAttachments 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
listAttachments
default CompletableFuture<ListAttachmentsResponse> listAttachments(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) Gets a list of attachments associated with an Amazon Q Business web experience or a list of attachements associated with a specific Amazon Q Business conversation.
This is a convenience which creates an instance of the
ListAttachmentsRequest.Builder
avoiding the need to create one manually viaListAttachmentsRequest.builder()
- Parameters:
listAttachmentsRequest
- AConsumer
that will call methods onListAttachmentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAttachments 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
listAttachmentsPaginator
default ListAttachmentsPublisher listAttachmentsPaginator(ListAttachmentsRequest listAttachmentsRequest) This is a variant of
listAttachments(software.amazon.awssdk.services.qbusiness.model.ListAttachmentsRequest)
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.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListAttachmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListAttachmentsResponse 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
listAttachments(software.amazon.awssdk.services.qbusiness.model.ListAttachmentsRequest)
operation.- Parameters:
listAttachmentsRequest
-- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
listAttachmentsPaginator
default ListAttachmentsPublisher listAttachmentsPaginator(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) This is a variant of
listAttachments(software.amazon.awssdk.services.qbusiness.model.ListAttachmentsRequest)
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.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListAttachmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListAttachmentsResponse 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
listAttachments(software.amazon.awssdk.services.qbusiness.model.ListAttachmentsRequest)
operation.
This is a convenience which creates an instance of the
ListAttachmentsRequest.Builder
avoiding the need to create one manually viaListAttachmentsRequest.builder()
- Parameters:
listAttachmentsRequest
- AConsumer
that will call methods onListAttachmentsRequest.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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
listChatResponseConfigurations
default CompletableFuture<ListChatResponseConfigurationsResponse> listChatResponseConfigurations(ListChatResponseConfigurationsRequest listChatResponseConfigurationsRequest) Retrieves a list of all chat response configurations available in a specified Amazon Q Business application. This operation returns summary information about each configuration to help administrators manage and select appropriate response settings.
- Parameters:
listChatResponseConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListChatResponseConfigurations 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listChatResponseConfigurations
default CompletableFuture<ListChatResponseConfigurationsResponse> listChatResponseConfigurations(Consumer<ListChatResponseConfigurationsRequest.Builder> listChatResponseConfigurationsRequest) Retrieves a list of all chat response configurations available in a specified Amazon Q Business application. This operation returns summary information about each configuration to help administrators manage and select appropriate response settings.
This is a convenience which creates an instance of the
ListChatResponseConfigurationsRequest.Builder
avoiding the need to create one manually viaListChatResponseConfigurationsRequest.builder()
- Parameters:
listChatResponseConfigurationsRequest
- AConsumer
that will call methods onListChatResponseConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListChatResponseConfigurations 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listChatResponseConfigurationsPaginator
default ListChatResponseConfigurationsPublisher listChatResponseConfigurationsPaginator(ListChatResponseConfigurationsRequest listChatResponseConfigurationsRequest) This is a variant of
listChatResponseConfigurations(software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsRequest)
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.ListChatResponseConfigurationsPublisher publisher = client.listChatResponseConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListChatResponseConfigurationsPublisher publisher = client.listChatResponseConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsResponse 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
listChatResponseConfigurations(software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsRequest)
operation.- Parameters:
listChatResponseConfigurationsRequest
-- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listChatResponseConfigurationsPaginator
default ListChatResponseConfigurationsPublisher listChatResponseConfigurationsPaginator(Consumer<ListChatResponseConfigurationsRequest.Builder> listChatResponseConfigurationsRequest) This is a variant of
listChatResponseConfigurations(software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsRequest)
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.ListChatResponseConfigurationsPublisher publisher = client.listChatResponseConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListChatResponseConfigurationsPublisher publisher = client.listChatResponseConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsResponse 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
listChatResponseConfigurations(software.amazon.awssdk.services.qbusiness.model.ListChatResponseConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListChatResponseConfigurationsRequest.Builder
avoiding the need to create one manually viaListChatResponseConfigurationsRequest.builder()
- Parameters:
listChatResponseConfigurationsRequest
- AConsumer
that will call methods onListChatResponseConfigurationsRequest.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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
listDataAccessors
default CompletableFuture<ListDataAccessorsResponse> listDataAccessors(ListDataAccessorsRequest listDataAccessorsRequest) Lists the data accessors for a Amazon Q Business application. This operation returns a paginated list of data accessor summaries, including the friendly name, unique identifier, ARN, associated IAM role, and creation/update timestamps for each data accessor.
- Parameters:
listDataAccessorsRequest
-- Returns:
- A Java Future containing the result of the ListDataAccessors 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listDataAccessors
default CompletableFuture<ListDataAccessorsResponse> listDataAccessors(Consumer<ListDataAccessorsRequest.Builder> listDataAccessorsRequest) Lists the data accessors for a Amazon Q Business application. This operation returns a paginated list of data accessor summaries, including the friendly name, unique identifier, ARN, associated IAM role, and creation/update timestamps for each data accessor.
This is a convenience which creates an instance of the
ListDataAccessorsRequest.Builder
avoiding the need to create one manually viaListDataAccessorsRequest.builder()
- Parameters:
listDataAccessorsRequest
- AConsumer
that will call methods onListDataAccessorsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataAccessors 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listDataAccessorsPaginator
default ListDataAccessorsPublisher listDataAccessorsPaginator(ListDataAccessorsRequest listDataAccessorsRequest) This is a variant of
listDataAccessors(software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsRequest)
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.ListDataAccessorsPublisher publisher = client.listDataAccessorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListDataAccessorsPublisher publisher = client.listDataAccessorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsResponse 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
listDataAccessors(software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsRequest)
operation.- Parameters:
listDataAccessorsRequest
-- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listDataAccessorsPaginator
default ListDataAccessorsPublisher listDataAccessorsPaginator(Consumer<ListDataAccessorsRequest.Builder> listDataAccessorsRequest) This is a variant of
listDataAccessors(software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsRequest)
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.ListDataAccessorsPublisher publisher = client.listDataAccessorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListDataAccessorsPublisher publisher = client.listDataAccessorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsResponse 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
listDataAccessors(software.amazon.awssdk.services.qbusiness.model.ListDataAccessorsRequest)
operation.
This is a convenience which creates an instance of the
ListDataAccessorsRequest.Builder
avoiding the need to create one manually viaListDataAccessorsRequest.builder()
- Parameters:
listDataAccessorsRequest
- AConsumer
that will call methods onListDataAccessorsRequest.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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
listPluginActions
default CompletableFuture<ListPluginActionsResponse> listPluginActions(ListPluginActionsRequest listPluginActionsRequest) Lists configured Amazon Q Business actions for a specific plugin in an Amazon Q Business application.
- Parameters:
listPluginActionsRequest
-- Returns:
- A Java Future containing the result of the ListPluginActions 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listPluginActions
default CompletableFuture<ListPluginActionsResponse> listPluginActions(Consumer<ListPluginActionsRequest.Builder> listPluginActionsRequest) Lists configured Amazon Q Business actions for a specific plugin in an Amazon Q Business application.
This is a convenience which creates an instance of the
ListPluginActionsRequest.Builder
avoiding the need to create one manually viaListPluginActionsRequest.builder()
- Parameters:
listPluginActionsRequest
- AConsumer
that will call methods onListPluginActionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPluginActions 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listPluginActionsPaginator
default ListPluginActionsPublisher listPluginActionsPaginator(ListPluginActionsRequest listPluginActionsRequest) This is a variant of
listPluginActions(software.amazon.awssdk.services.qbusiness.model.ListPluginActionsRequest)
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.ListPluginActionsPublisher publisher = client.listPluginActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListPluginActionsPublisher publisher = client.listPluginActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListPluginActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListPluginActionsResponse 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
listPluginActions(software.amazon.awssdk.services.qbusiness.model.ListPluginActionsRequest)
operation.- Parameters:
listPluginActionsRequest
-- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listPluginActionsPaginator
default ListPluginActionsPublisher listPluginActionsPaginator(Consumer<ListPluginActionsRequest.Builder> listPluginActionsRequest) This is a variant of
listPluginActions(software.amazon.awssdk.services.qbusiness.model.ListPluginActionsRequest)
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.ListPluginActionsPublisher publisher = client.listPluginActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListPluginActionsPublisher publisher = client.listPluginActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListPluginActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListPluginActionsResponse 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
listPluginActions(software.amazon.awssdk.services.qbusiness.model.ListPluginActionsRequest)
operation.
This is a convenience which creates an instance of the
ListPluginActionsRequest.Builder
avoiding the need to create one manually viaListPluginActionsRequest.builder()
- Parameters:
listPluginActionsRequest
- AConsumer
that will call methods onListPluginActionsRequest.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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listPluginTypeActions
default CompletableFuture<ListPluginTypeActionsResponse> listPluginTypeActions(ListPluginTypeActionsRequest listPluginTypeActionsRequest) Lists configured Amazon Q Business actions for any plugin type—both built-in and custom.
- Parameters:
listPluginTypeActionsRequest
-- Returns:
- A Java Future containing the result of the ListPluginTypeActions 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:
-
listPluginTypeActions
default CompletableFuture<ListPluginTypeActionsResponse> listPluginTypeActions(Consumer<ListPluginTypeActionsRequest.Builder> listPluginTypeActionsRequest) Lists configured Amazon Q Business actions for any plugin type—both built-in and custom.
This is a convenience which creates an instance of the
ListPluginTypeActionsRequest.Builder
avoiding the need to create one manually viaListPluginTypeActionsRequest.builder()
- Parameters:
listPluginTypeActionsRequest
- AConsumer
that will call methods onListPluginTypeActionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPluginTypeActions 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:
-
listPluginTypeActionsPaginator
default ListPluginTypeActionsPublisher listPluginTypeActionsPaginator(ListPluginTypeActionsRequest listPluginTypeActionsRequest) This is a variant of
listPluginTypeActions(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsRequest)
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.ListPluginTypeActionsPublisher publisher = client.listPluginTypeActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListPluginTypeActionsPublisher publisher = client.listPluginTypeActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsResponse 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
listPluginTypeActions(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsRequest)
operation.- Parameters:
listPluginTypeActionsRequest
-- 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:
-
listPluginTypeActionsPaginator
default ListPluginTypeActionsPublisher listPluginTypeActionsPaginator(Consumer<ListPluginTypeActionsRequest.Builder> listPluginTypeActionsRequest) This is a variant of
listPluginTypeActions(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsRequest)
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.ListPluginTypeActionsPublisher publisher = client.listPluginTypeActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListPluginTypeActionsPublisher publisher = client.listPluginTypeActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsResponse 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
listPluginTypeActions(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeActionsRequest)
operation.
This is a convenience which creates an instance of the
ListPluginTypeActionsRequest.Builder
avoiding the need to create one manually viaListPluginTypeActionsRequest.builder()
- Parameters:
listPluginTypeActionsRequest
- AConsumer
that will call methods onListPluginTypeActionsRequest.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:
-
listPluginTypeMetadata
default CompletableFuture<ListPluginTypeMetadataResponse> listPluginTypeMetadata(ListPluginTypeMetadataRequest listPluginTypeMetadataRequest) Lists metadata for all Amazon Q Business plugin types.
- Parameters:
listPluginTypeMetadataRequest
-- Returns:
- A Java Future containing the result of the ListPluginTypeMetadata 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:
-
listPluginTypeMetadata
default CompletableFuture<ListPluginTypeMetadataResponse> listPluginTypeMetadata(Consumer<ListPluginTypeMetadataRequest.Builder> listPluginTypeMetadataRequest) Lists metadata for all Amazon Q Business plugin types.
This is a convenience which creates an instance of the
ListPluginTypeMetadataRequest.Builder
avoiding the need to create one manually viaListPluginTypeMetadataRequest.builder()
- Parameters:
listPluginTypeMetadataRequest
- AConsumer
that will call methods onListPluginTypeMetadataRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPluginTypeMetadata 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:
-
listPluginTypeMetadataPaginator
default ListPluginTypeMetadataPublisher listPluginTypeMetadataPaginator(ListPluginTypeMetadataRequest listPluginTypeMetadataRequest) This is a variant of
listPluginTypeMetadata(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataRequest)
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.ListPluginTypeMetadataPublisher publisher = client.listPluginTypeMetadataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListPluginTypeMetadataPublisher publisher = client.listPluginTypeMetadataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataResponse 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
listPluginTypeMetadata(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataRequest)
operation.- Parameters:
listPluginTypeMetadataRequest
-- 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:
-
listPluginTypeMetadataPaginator
default ListPluginTypeMetadataPublisher listPluginTypeMetadataPaginator(Consumer<ListPluginTypeMetadataRequest.Builder> listPluginTypeMetadataRequest) This is a variant of
listPluginTypeMetadata(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataRequest)
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.ListPluginTypeMetadataPublisher publisher = client.listPluginTypeMetadataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListPluginTypeMetadataPublisher publisher = client.listPluginTypeMetadataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataResponse 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
listPluginTypeMetadata(software.amazon.awssdk.services.qbusiness.model.ListPluginTypeMetadataRequest)
operation.
This is a convenience which creates an instance of the
ListPluginTypeMetadataRequest.Builder
avoiding the need to create one manually viaListPluginTypeMetadataRequest.builder()
- Parameters:
listPluginTypeMetadataRequest
- AConsumer
that will call methods onListPluginTypeMetadataRequest.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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
listSubscriptions
default CompletableFuture<ListSubscriptionsResponse> listSubscriptions(ListSubscriptionsRequest listSubscriptionsRequest) Lists all subscriptions created in an Amazon Q Business application.
- Parameters:
listSubscriptionsRequest
-- Returns:
- A Java Future containing the result of the ListSubscriptions 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
listSubscriptions
default CompletableFuture<ListSubscriptionsResponse> listSubscriptions(Consumer<ListSubscriptionsRequest.Builder> listSubscriptionsRequest) Lists all subscriptions created in an Amazon Q Business application.
This is a convenience which creates an instance of the
ListSubscriptionsRequest.Builder
avoiding the need to create one manually viaListSubscriptionsRequest.builder()
- Parameters:
listSubscriptionsRequest
- AConsumer
that will call methods onListSubscriptionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSubscriptions 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
listSubscriptionsPaginator
default ListSubscriptionsPublisher listSubscriptionsPaginator(ListSubscriptionsRequest listSubscriptionsRequest) This is a variant of
listSubscriptions(software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsRequest)
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.ListSubscriptionsPublisher publisher = client.listSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListSubscriptionsPublisher publisher = client.listSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsResponse 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
listSubscriptions(software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsRequest)
operation.- Parameters:
listSubscriptionsRequest
-- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
listSubscriptionsPaginator
default ListSubscriptionsPublisher listSubscriptionsPaginator(Consumer<ListSubscriptionsRequest.Builder> listSubscriptionsRequest) This is a variant of
listSubscriptions(software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsRequest)
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.ListSubscriptionsPublisher publisher = client.listSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.ListSubscriptionsPublisher publisher = client.listSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsResponse 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
listSubscriptions(software.amazon.awssdk.services.qbusiness.model.ListSubscriptionsRequest)
operation.
This is a convenience which creates an instance of the
ListSubscriptionsRequest.Builder
avoiding the need to create one manually viaListSubscriptionsRequest.builder()
- Parameters:
listSubscriptionsRequest
- AConsumer
that will call methods onListSubscriptionsRequest.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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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:
-
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.
There are two options for creating groups, either passing group members inline or using an S3 file via the S3PathForGroupMembers field. For inline groups, there is a limit of 1000 members per group and for provided S3 files there is a limit of 100 thousand members. When creating a group using an S3 file, you provide both an S3 file and a
RoleArn
for Amazon Q Buisness to access the file.- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.
There are two options for creating groups, either passing group members inline or using an S3 file via the S3PathForGroupMembers field. For inline groups, there is a limit of 1000 members per group and for provided S3 files there is a limit of 100 thousand members. When creating a group using an S3 file, you provide both an S3 file and a
RoleArn
for Amazon Q Buisness to access the file.
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
searchRelevantContent
default CompletableFuture<SearchRelevantContentResponse> searchRelevantContent(SearchRelevantContentRequest searchRelevantContentRequest) Searches for relevant content in a Amazon Q Business application based on a query. This operation takes a search query text, the Amazon Q Business application identifier, and optional filters (such as content source and maximum results) as input. It returns a list of relevant content items, where each item includes the content text, the unique document identifier, the document title, the document URI, any relevant document attributes, and score attributes indicating the confidence level of the relevance.
- Parameters:
searchRelevantContentRequest
-- Returns:
- A Java Future containing the result of the SearchRelevantContent 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
searchRelevantContent
default CompletableFuture<SearchRelevantContentResponse> searchRelevantContent(Consumer<SearchRelevantContentRequest.Builder> searchRelevantContentRequest) Searches for relevant content in a Amazon Q Business application based on a query. This operation takes a search query text, the Amazon Q Business application identifier, and optional filters (such as content source and maximum results) as input. It returns a list of relevant content items, where each item includes the content text, the unique document identifier, the document title, the document URI, any relevant document attributes, and score attributes indicating the confidence level of the relevance.
This is a convenience which creates an instance of the
SearchRelevantContentRequest.Builder
avoiding the need to create one manually viaSearchRelevantContentRequest.builder()
- Parameters:
searchRelevantContentRequest
- AConsumer
that will call methods onSearchRelevantContentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SearchRelevantContent 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
searchRelevantContentPaginator
default SearchRelevantContentPublisher searchRelevantContentPaginator(SearchRelevantContentRequest searchRelevantContentRequest) This is a variant of
searchRelevantContent(software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentRequest)
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.SearchRelevantContentPublisher publisher = client.searchRelevantContentPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.SearchRelevantContentPublisher publisher = client.searchRelevantContentPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentResponse 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
searchRelevantContent(software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentRequest)
operation.- Parameters:
searchRelevantContentRequest
-- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
searchRelevantContentPaginator
default SearchRelevantContentPublisher searchRelevantContentPaginator(Consumer<SearchRelevantContentRequest.Builder> searchRelevantContentRequest) This is a variant of
searchRelevantContent(software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentRequest)
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.SearchRelevantContentPublisher publisher = client.searchRelevantContentPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.qbusiness.paginators.SearchRelevantContentPublisher publisher = client.searchRelevantContentPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentResponse 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
searchRelevantContent(software.amazon.awssdk.services.qbusiness.model.SearchRelevantContentRequest)
operation.
This is a convenience which creates an instance of the
SearchRelevantContentRequest.Builder
avoiding the need to create one manually viaSearchRelevantContentRequest.builder()
- Parameters:
searchRelevantContentRequest
- AConsumer
that will call methods onSearchRelevantContentRequest.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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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(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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource 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(UpdateApplicationRequest updateApplicationRequest) Updates an existing Amazon Q Business application.
Amazon Q Business applications may securely transmit data for processing across Amazon Web Services Regions within your geography. For more information, see Cross region inference in Amazon Q Business.
An Amazon Q Apps service-linked role will be created if it's absent in the Amazon Web Services account when
QAppsConfiguration
is enabled in the request. For more information, see Using service-linked roles for Q Apps.- 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.
Amazon Q Business applications may securely transmit data for processing across Amazon Web Services Regions within your geography. For more information, see Cross region inference in Amazon Q Business.
An Amazon Q Apps service-linked role will be created if it's absent in the Amazon Web Services account when
QAppsConfiguration
is enabled in the request. For more information, see Using service-linked roles for Q Apps.
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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 a 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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 a 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
updateChatResponseConfiguration
default CompletableFuture<UpdateChatResponseConfigurationResponse> updateChatResponseConfiguration(UpdateChatResponseConfigurationRequest updateChatResponseConfigurationRequest) Updates an existing chat response configuration in an Amazon Q Business application. This operation allows administrators to modify configuration settings, display name, and response parameters to refine how the system generates responses.
- Parameters:
updateChatResponseConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateChatResponseConfiguration 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
updateChatResponseConfiguration
default CompletableFuture<UpdateChatResponseConfigurationResponse> updateChatResponseConfiguration(Consumer<UpdateChatResponseConfigurationRequest.Builder> updateChatResponseConfigurationRequest) Updates an existing chat response configuration in an Amazon Q Business application. This operation allows administrators to modify configuration settings, display name, and response parameters to refine how the system generates responses.
This is a convenience which creates an instance of the
UpdateChatResponseConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateChatResponseConfigurationRequest.builder()
- Parameters:
updateChatResponseConfigurationRequest
- AConsumer
that will call methods onUpdateChatResponseConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateChatResponseConfiguration 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
updateDataAccessor
default CompletableFuture<UpdateDataAccessorResponse> updateDataAccessor(UpdateDataAccessorRequest updateDataAccessorRequest) Updates an existing data accessor. This operation allows modifying the action configurations (the allowed actions and associated filters) and the display name of the data accessor. It does not allow changing the IAM role associated with the data accessor or other core properties of the data accessor.
- Parameters:
updateDataAccessorRequest
-- Returns:
- A Java Future containing the result of the UpdateDataAccessor 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
updateDataAccessor
default CompletableFuture<UpdateDataAccessorResponse> updateDataAccessor(Consumer<UpdateDataAccessorRequest.Builder> updateDataAccessorRequest) Updates an existing data accessor. This operation allows modifying the action configurations (the allowed actions and associated filters) and the display name of the data accessor. It does not allow changing the IAM role associated with the data accessor or other core properties of the data accessor.
This is a convenience which creates an instance of the
UpdateDataAccessorRequest.Builder
avoiding the need to create one manually viaUpdateDataAccessorRequest.builder()
- Parameters:
updateDataAccessorRequest
- AConsumer
that will call methods onUpdateDataAccessorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDataAccessor 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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(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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
updateSubscription
default CompletableFuture<UpdateSubscriptionResponse> updateSubscription(UpdateSubscriptionRequest updateSubscriptionRequest) Updates the pricing tier for an Amazon Q Business subscription. Upgrades are instant. Downgrades apply at the start of the next month. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see Amazon Q Business pricing.
- Parameters:
updateSubscriptionRequest
-- Returns:
- A Java Future containing the result of the UpdateSubscription 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
updateSubscription
default CompletableFuture<UpdateSubscriptionResponse> updateSubscription(Consumer<UpdateSubscriptionRequest.Builder> updateSubscriptionRequest) Updates the pricing tier for an Amazon Q Business subscription. Upgrades are instant. Downgrades apply at the start of the next month. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see Amazon Q Business pricing.
This is a convenience which creates an instance of the
UpdateSubscriptionRequest.Builder
avoiding the need to create one manually viaUpdateSubscriptionRequest.builder()
- Parameters:
updateSubscriptionRequest
- AConsumer
that will call methods onUpdateSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSubscription 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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:
-
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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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.- 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.
- ResourceNotFoundException The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
- ConflictException You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies 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
.
-