Interface WisdomAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface WisdomAsyncClient
    extends AwsClient
    Service client for accessing Amazon Connect Wisdom Service asynchronously. This can be created using the static 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.

    Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively speaking with customers. Agents can search across connected repositories from within their agent desktop to find answers quickly. Use Amazon Connect Wisdom to create an assistant and a knowledge base, for example, or manage content by uploading custom files.

    • Method Detail

      • createAssistant

        default CompletableFuture<CreateAssistantResponse> createAssistant​(CreateAssistantRequest createAssistantRequest)

        Creates an Amazon Connect Wisdom assistant.

        Parameters:
        createAssistantRequest -
        Returns:
        A Java Future containing the result of the CreateAssistant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createAssistant

        default CompletableFuture<CreateAssistantResponse> createAssistant​(Consumer<CreateAssistantRequest.Builder> createAssistantRequest)

        Creates an Amazon Connect Wisdom assistant.


        This is a convenience which creates an instance of the CreateAssistantRequest.Builder avoiding the need to create one manually via CreateAssistantRequest.builder()

        Parameters:
        createAssistantRequest - A Consumer that will call methods on CreateAssistantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateAssistant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createAssistantAssociation

        default CompletableFuture<CreateAssistantAssociationResponse> createAssistantAssociation​(CreateAssistantAssociationRequest createAssistantAssociationRequest)

        Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.

        Parameters:
        createAssistantAssociationRequest -
        Returns:
        A Java Future containing the result of the CreateAssistantAssociation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createAssistantAssociation

        default CompletableFuture<CreateAssistantAssociationResponse> createAssistantAssociation​(Consumer<CreateAssistantAssociationRequest.Builder> createAssistantAssociationRequest)

        Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.


        This is a convenience which creates an instance of the CreateAssistantAssociationRequest.Builder avoiding the need to create one manually via CreateAssistantAssociationRequest.builder()

        Parameters:
        createAssistantAssociationRequest - A Consumer that will call methods on CreateAssistantAssociationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateAssistantAssociation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createContent

        default CompletableFuture<CreateContentResponse> createContent​(CreateContentRequest createContentRequest)

        Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.

        Parameters:
        createContentRequest -
        Returns:
        A Java Future containing the result of the CreateContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createContent

        default CompletableFuture<CreateContentResponse> createContent​(Consumer<CreateContentRequest.Builder> createContentRequest)

        Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.


        This is a convenience which creates an instance of the CreateContentRequest.Builder avoiding the need to create one manually via CreateContentRequest.builder()

        Parameters:
        createContentRequest - A Consumer that will call methods on CreateContentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createKnowledgeBase

        default CompletableFuture<CreateKnowledgeBaseResponse> createKnowledgeBase​(CreateKnowledgeBaseRequest createKnowledgeBaseRequest)

        Creates a knowledge base.

        When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error.

        For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:

        1. Call DeleteKnowledgeBase .

        2. Call DeleteDataIntegration.

        3. Call CreateDataIntegration to recreate the DataIntegration or a create different one.

        4. Call CreateKnowledgeBase.

        Parameters:
        createKnowledgeBaseRequest -
        Returns:
        A Java Future containing the result of the CreateKnowledgeBase operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createKnowledgeBase

        default CompletableFuture<CreateKnowledgeBaseResponse> createKnowledgeBase​(Consumer<CreateKnowledgeBaseRequest.Builder> createKnowledgeBaseRequest)

        Creates a knowledge base.

        When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error.

        For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:

        1. Call DeleteKnowledgeBase .

        2. Call DeleteDataIntegration.

        3. Call CreateDataIntegration to recreate the DataIntegration or a create different one.

        4. Call CreateKnowledgeBase.


        This is a convenience which creates an instance of the CreateKnowledgeBaseRequest.Builder avoiding the need to create one manually via CreateKnowledgeBaseRequest.builder()

        Parameters:
        createKnowledgeBaseRequest - A Consumer that will call methods on CreateKnowledgeBaseRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateKnowledgeBase operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createQuickResponse

        default CompletableFuture<CreateQuickResponseResponse> createQuickResponse​(CreateQuickResponseRequest createQuickResponseRequest)

        Creates a Wisdom quick response.

        Parameters:
        createQuickResponseRequest -
        Returns:
        A Java Future containing the result of the CreateQuickResponse operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createQuickResponse

        default CompletableFuture<CreateQuickResponseResponse> createQuickResponse​(Consumer<CreateQuickResponseRequest.Builder> createQuickResponseRequest)

        Creates a Wisdom quick response.


        This is a convenience which creates an instance of the CreateQuickResponseRequest.Builder avoiding the need to create one manually via CreateQuickResponseRequest.builder()

        Parameters:
        createQuickResponseRequest - A Consumer that will call methods on CreateQuickResponseRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateQuickResponse operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSession

        default CompletableFuture<CreateSessionResponse> createSession​(CreateSessionRequest createSessionRequest)

        Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.

        Parameters:
        createSessionRequest -
        Returns:
        A Java Future containing the result of the CreateSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSession

        default CompletableFuture<CreateSessionResponse> createSession​(Consumer<CreateSessionRequest.Builder> createSessionRequest)

        Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.


        This is a convenience which creates an instance of the CreateSessionRequest.Builder avoiding the need to create one manually via CreateSessionRequest.builder()

        Parameters:
        createSessionRequest - A Consumer that will call methods on CreateSessionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteAssistant

        default CompletableFuture<DeleteAssistantResponse> deleteAssistant​(DeleteAssistantRequest deleteAssistantRequest)

        Deletes an assistant.

        Parameters:
        deleteAssistantRequest -
        Returns:
        A Java Future containing the result of the DeleteAssistant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteAssistant

        default CompletableFuture<DeleteAssistantResponse> deleteAssistant​(Consumer<DeleteAssistantRequest.Builder> deleteAssistantRequest)

        Deletes an assistant.


        This is a convenience which creates an instance of the DeleteAssistantRequest.Builder avoiding the need to create one manually via DeleteAssistantRequest.builder()

        Parameters:
        deleteAssistantRequest - A Consumer that will call methods on DeleteAssistantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteAssistant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteAssistantAssociation

        default CompletableFuture<DeleteAssistantAssociationResponse> deleteAssistantAssociation​(DeleteAssistantAssociationRequest deleteAssistantAssociationRequest)

        Deletes an assistant association.

        Parameters:
        deleteAssistantAssociationRequest -
        Returns:
        A Java Future containing the result of the DeleteAssistantAssociation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteAssistantAssociation

        default CompletableFuture<DeleteAssistantAssociationResponse> deleteAssistantAssociation​(Consumer<DeleteAssistantAssociationRequest.Builder> deleteAssistantAssociationRequest)

        Deletes an assistant association.


        This is a convenience which creates an instance of the DeleteAssistantAssociationRequest.Builder avoiding the need to create one manually via DeleteAssistantAssociationRequest.builder()

        Parameters:
        deleteAssistantAssociationRequest - A Consumer that will call methods on DeleteAssistantAssociationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteAssistantAssociation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteContent

        default CompletableFuture<DeleteContentResponse> deleteContent​(DeleteContentRequest deleteContentRequest)

        Deletes the content.

        Parameters:
        deleteContentRequest -
        Returns:
        A Java Future containing the result of the DeleteContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteContent

        default CompletableFuture<DeleteContentResponse> deleteContent​(Consumer<DeleteContentRequest.Builder> deleteContentRequest)

        Deletes the content.


        This is a convenience which creates an instance of the DeleteContentRequest.Builder avoiding the need to create one manually via DeleteContentRequest.builder()

        Parameters:
        deleteContentRequest - A Consumer that will call methods on DeleteContentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteImportJob

        default CompletableFuture<DeleteImportJobResponse> deleteImportJob​(DeleteImportJobRequest deleteImportJobRequest)

        Deletes the quick response import job.

        Parameters:
        deleteImportJobRequest -
        Returns:
        A Java Future containing the result of the DeleteImportJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteImportJob

        default CompletableFuture<DeleteImportJobResponse> deleteImportJob​(Consumer<DeleteImportJobRequest.Builder> deleteImportJobRequest)

        Deletes the quick response import job.


        This is a convenience which creates an instance of the DeleteImportJobRequest.Builder avoiding the need to create one manually via DeleteImportJobRequest.builder()

        Parameters:
        deleteImportJobRequest - A Consumer that will call methods on DeleteImportJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteImportJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteKnowledgeBase

        default CompletableFuture<DeleteKnowledgeBaseResponse> deleteKnowledgeBase​(DeleteKnowledgeBaseRequest deleteKnowledgeBaseRequest)

        Deletes the knowledge base.

        When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.

        Parameters:
        deleteKnowledgeBaseRequest -
        Returns:
        A Java Future containing the result of the DeleteKnowledgeBase operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteKnowledgeBase

        default CompletableFuture<DeleteKnowledgeBaseResponse> deleteKnowledgeBase​(Consumer<DeleteKnowledgeBaseRequest.Builder> deleteKnowledgeBaseRequest)

        Deletes the knowledge base.

        When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.


        This is a convenience which creates an instance of the DeleteKnowledgeBaseRequest.Builder avoiding the need to create one manually via DeleteKnowledgeBaseRequest.builder()

        Parameters:
        deleteKnowledgeBaseRequest - A Consumer that will call methods on DeleteKnowledgeBaseRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteKnowledgeBase operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteQuickResponse

        default CompletableFuture<DeleteQuickResponseResponse> deleteQuickResponse​(DeleteQuickResponseRequest deleteQuickResponseRequest)

        Deletes a quick response.

        Parameters:
        deleteQuickResponseRequest -
        Returns:
        A Java Future containing the result of the DeleteQuickResponse operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteQuickResponse

        default CompletableFuture<DeleteQuickResponseResponse> deleteQuickResponse​(Consumer<DeleteQuickResponseRequest.Builder> deleteQuickResponseRequest)

        Deletes a quick response.


        This is a convenience which creates an instance of the DeleteQuickResponseRequest.Builder avoiding the need to create one manually via DeleteQuickResponseRequest.builder()

        Parameters:
        deleteQuickResponseRequest - A Consumer that will call methods on DeleteQuickResponseRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteQuickResponse operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAssistant

        default CompletableFuture<GetAssistantResponse> getAssistant​(GetAssistantRequest getAssistantRequest)

        Retrieves information about an assistant.

        Parameters:
        getAssistantRequest -
        Returns:
        A Java Future containing the result of the GetAssistant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAssistant

        default CompletableFuture<GetAssistantResponse> getAssistant​(Consumer<GetAssistantRequest.Builder> getAssistantRequest)

        Retrieves information about an assistant.


        This is a convenience which creates an instance of the GetAssistantRequest.Builder avoiding the need to create one manually via GetAssistantRequest.builder()

        Parameters:
        getAssistantRequest - A Consumer that will call methods on GetAssistantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetAssistant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAssistantAssociation

        default CompletableFuture<GetAssistantAssociationResponse> getAssistantAssociation​(GetAssistantAssociationRequest getAssistantAssociationRequest)

        Retrieves information about an assistant association.

        Parameters:
        getAssistantAssociationRequest -
        Returns:
        A Java Future containing the result of the GetAssistantAssociation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAssistantAssociation

        default CompletableFuture<GetAssistantAssociationResponse> getAssistantAssociation​(Consumer<GetAssistantAssociationRequest.Builder> getAssistantAssociationRequest)

        Retrieves information about an assistant association.


        This is a convenience which creates an instance of the GetAssistantAssociationRequest.Builder avoiding the need to create one manually via GetAssistantAssociationRequest.builder()

        Parameters:
        getAssistantAssociationRequest - A Consumer that will call methods on GetAssistantAssociationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetAssistantAssociation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getContent

        default CompletableFuture<GetContentResponse> getContent​(GetContentRequest getContentRequest)

        Retrieves content, including a pre-signed URL to download the content.

        Parameters:
        getContentRequest -
        Returns:
        A Java Future containing the result of the GetContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getContent

        default CompletableFuture<GetContentResponse> getContent​(Consumer<GetContentRequest.Builder> getContentRequest)

        Retrieves content, including a pre-signed URL to download the content.


        This is a convenience which creates an instance of the GetContentRequest.Builder avoiding the need to create one manually via GetContentRequest.builder()

        Parameters:
        getContentRequest - A Consumer that will call methods on GetContentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getContentSummary

        default CompletableFuture<GetContentSummaryResponse> getContentSummary​(GetContentSummaryRequest getContentSummaryRequest)

        Retrieves summary information about the content.

        Parameters:
        getContentSummaryRequest -
        Returns:
        A Java Future containing the result of the GetContentSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getContentSummary

        default CompletableFuture<GetContentSummaryResponse> getContentSummary​(Consumer<GetContentSummaryRequest.Builder> getContentSummaryRequest)

        Retrieves summary information about the content.


        This is a convenience which creates an instance of the GetContentSummaryRequest.Builder avoiding the need to create one manually via GetContentSummaryRequest.builder()

        Parameters:
        getContentSummaryRequest - A Consumer that will call methods on GetContentSummaryRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetContentSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getImportJob

        default CompletableFuture<GetImportJobResponse> getImportJob​(GetImportJobRequest getImportJobRequest)

        Retrieves the started import job.

        Parameters:
        getImportJobRequest -
        Returns:
        A Java Future containing the result of the GetImportJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getImportJob

        default CompletableFuture<GetImportJobResponse> getImportJob​(Consumer<GetImportJobRequest.Builder> getImportJobRequest)

        Retrieves the started import job.


        This is a convenience which creates an instance of the GetImportJobRequest.Builder avoiding the need to create one manually via GetImportJobRequest.builder()

        Parameters:
        getImportJobRequest - A Consumer that will call methods on GetImportJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetImportJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getKnowledgeBase

        default CompletableFuture<GetKnowledgeBaseResponse> getKnowledgeBase​(GetKnowledgeBaseRequest getKnowledgeBaseRequest)

        Retrieves information about the knowledge base.

        Parameters:
        getKnowledgeBaseRequest -
        Returns:
        A Java Future containing the result of the GetKnowledgeBase operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getKnowledgeBase

        default CompletableFuture<GetKnowledgeBaseResponse> getKnowledgeBase​(Consumer<GetKnowledgeBaseRequest.Builder> getKnowledgeBaseRequest)

        Retrieves information about the knowledge base.


        This is a convenience which creates an instance of the GetKnowledgeBaseRequest.Builder avoiding the need to create one manually via GetKnowledgeBaseRequest.builder()

        Parameters:
        getKnowledgeBaseRequest - A Consumer that will call methods on GetKnowledgeBaseRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetKnowledgeBase operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getQuickResponse

        default CompletableFuture<GetQuickResponseResponse> getQuickResponse​(GetQuickResponseRequest getQuickResponseRequest)

        Retrieves the quick response.

        Parameters:
        getQuickResponseRequest -
        Returns:
        A Java Future containing the result of the GetQuickResponse operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getQuickResponse

        default CompletableFuture<GetQuickResponseResponse> getQuickResponse​(Consumer<GetQuickResponseRequest.Builder> getQuickResponseRequest)

        Retrieves the quick response.


        This is a convenience which creates an instance of the GetQuickResponseRequest.Builder avoiding the need to create one manually via GetQuickResponseRequest.builder()

        Parameters:
        getQuickResponseRequest - A Consumer that will call methods on GetQuickResponseRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetQuickResponse operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecommendations

        @Deprecated
        default CompletableFuture<GetRecommendationsResponse> getRecommendations​(GetRecommendationsRequest getRecommendationsRequest)
        Deprecated.
        GetRecommendations API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.

        Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the waitTimeSeconds parameter. Short poll is the default behavior and only returns recommendations already available. To perform a manual query against an assistant, use QueryAssistant.

        Parameters:
        getRecommendationsRequest -
        Returns:
        A Java Future containing the result of the GetRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecommendations

        @Deprecated
        default CompletableFuture<GetRecommendationsResponse> getRecommendations​(Consumer<GetRecommendationsRequest.Builder> getRecommendationsRequest)
        Deprecated.
        GetRecommendations API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.

        Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the waitTimeSeconds parameter. Short poll is the default behavior and only returns recommendations already available. To perform a manual query against an assistant, use QueryAssistant.


        This is a convenience which creates an instance of the GetRecommendationsRequest.Builder avoiding the need to create one manually via GetRecommendationsRequest.builder()

        Parameters:
        getRecommendationsRequest - A Consumer that will call methods on GetRecommendationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSession

        default CompletableFuture<GetSessionResponse> getSession​(GetSessionRequest getSessionRequest)

        Retrieves information for a specified session.

        Parameters:
        getSessionRequest -
        Returns:
        A Java Future containing the result of the GetSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSession

        default CompletableFuture<GetSessionResponse> getSession​(Consumer<GetSessionRequest.Builder> getSessionRequest)

        Retrieves information for a specified session.


        This is a convenience which creates an instance of the GetSessionRequest.Builder avoiding the need to create one manually via GetSessionRequest.builder()

        Parameters:
        getSessionRequest - A Consumer that will call methods on GetSessionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssistantAssociations

        default CompletableFuture<ListAssistantAssociationsResponse> listAssistantAssociations​(ListAssistantAssociationsRequest listAssistantAssociationsRequest)

        Lists information about assistant associations.

        Parameters:
        listAssistantAssociationsRequest -
        Returns:
        A Java Future containing the result of the ListAssistantAssociations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssistantAssociations

        default CompletableFuture<ListAssistantAssociationsResponse> listAssistantAssociations​(Consumer<ListAssistantAssociationsRequest.Builder> listAssistantAssociationsRequest)

        Lists information about assistant associations.


        This is a convenience which creates an instance of the ListAssistantAssociationsRequest.Builder avoiding the need to create one manually via ListAssistantAssociationsRequest.builder()

        Parameters:
        listAssistantAssociationsRequest - A Consumer that will call methods on ListAssistantAssociationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListAssistantAssociations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssistantAssociationsPaginator

        default ListAssistantAssociationsPublisher listAssistantAssociationsPaginator​(ListAssistantAssociationsRequest listAssistantAssociationsRequest)

        This is a variant of listAssistantAssociations(software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsPublisher publisher = client.listAssistantAssociationsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsPublisher publisher = client.listAssistantAssociationsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listAssistantAssociations(software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsRequest) operation.

        Parameters:
        listAssistantAssociationsRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssistantAssociationsPaginator

        default ListAssistantAssociationsPublisher listAssistantAssociationsPaginator​(Consumer<ListAssistantAssociationsRequest.Builder> listAssistantAssociationsRequest)

        This is a variant of listAssistantAssociations(software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsPublisher publisher = client.listAssistantAssociationsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsPublisher publisher = client.listAssistantAssociationsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listAssistantAssociations(software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsRequest) operation.


        This is a convenience which creates an instance of the ListAssistantAssociationsRequest.Builder avoiding the need to create one manually via ListAssistantAssociationsRequest.builder()

        Parameters:
        listAssistantAssociationsRequest - A Consumer that will call methods on ListAssistantAssociationsRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssistants

        default CompletableFuture<ListAssistantsResponse> listAssistants​(ListAssistantsRequest listAssistantsRequest)

        Lists information about assistants.

        Parameters:
        listAssistantsRequest -
        Returns:
        A Java Future containing the result of the ListAssistants operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssistants

        default CompletableFuture<ListAssistantsResponse> listAssistants​(Consumer<ListAssistantsRequest.Builder> listAssistantsRequest)

        Lists information about assistants.


        This is a convenience which creates an instance of the ListAssistantsRequest.Builder avoiding the need to create one manually via ListAssistantsRequest.builder()

        Parameters:
        listAssistantsRequest - A Consumer that will call methods on ListAssistantsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListAssistants operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssistantsPaginator

        default ListAssistantsPublisher listAssistantsPaginator​(ListAssistantsRequest listAssistantsRequest)

        This is a variant of listAssistants(software.amazon.awssdk.services.wisdom.model.ListAssistantsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListAssistantsPublisher publisher = client.listAssistantsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListAssistantsPublisher publisher = client.listAssistantsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListAssistantsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListAssistantsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listAssistants(software.amazon.awssdk.services.wisdom.model.ListAssistantsRequest) operation.

        Parameters:
        listAssistantsRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssistantsPaginator

        default ListAssistantsPublisher listAssistantsPaginator​(Consumer<ListAssistantsRequest.Builder> listAssistantsRequest)

        This is a variant of listAssistants(software.amazon.awssdk.services.wisdom.model.ListAssistantsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListAssistantsPublisher publisher = client.listAssistantsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListAssistantsPublisher publisher = client.listAssistantsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListAssistantsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListAssistantsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listAssistants(software.amazon.awssdk.services.wisdom.model.ListAssistantsRequest) operation.


        This is a convenience which creates an instance of the ListAssistantsRequest.Builder avoiding the need to create one manually via ListAssistantsRequest.builder()

        Parameters:
        listAssistantsRequest - A Consumer that will call methods on ListAssistantsRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listContents

        default CompletableFuture<ListContentsResponse> listContents​(ListContentsRequest listContentsRequest)

        Lists the content.

        Parameters:
        listContentsRequest -
        Returns:
        A Java Future containing the result of the ListContents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listContents

        default CompletableFuture<ListContentsResponse> listContents​(Consumer<ListContentsRequest.Builder> listContentsRequest)

        Lists the content.


        This is a convenience which creates an instance of the ListContentsRequest.Builder avoiding the need to create one manually via ListContentsRequest.builder()

        Parameters:
        listContentsRequest - A Consumer that will call methods on ListContentsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListContents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listContentsPaginator

        default ListContentsPublisher listContentsPaginator​(ListContentsRequest listContentsRequest)

        This is a variant of listContents(software.amazon.awssdk.services.wisdom.model.ListContentsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListContentsPublisher publisher = client.listContentsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListContentsPublisher publisher = client.listContentsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListContentsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListContentsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listContents(software.amazon.awssdk.services.wisdom.model.ListContentsRequest) operation.

        Parameters:
        listContentsRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listContentsPaginator

        default ListContentsPublisher listContentsPaginator​(Consumer<ListContentsRequest.Builder> listContentsRequest)

        This is a variant of listContents(software.amazon.awssdk.services.wisdom.model.ListContentsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListContentsPublisher publisher = client.listContentsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListContentsPublisher publisher = client.listContentsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListContentsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListContentsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listContents(software.amazon.awssdk.services.wisdom.model.ListContentsRequest) operation.


        This is a convenience which creates an instance of the ListContentsRequest.Builder avoiding the need to create one manually via ListContentsRequest.builder()

        Parameters:
        listContentsRequest - A Consumer that will call methods on ListContentsRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listImportJobs

        default CompletableFuture<ListImportJobsResponse> listImportJobs​(ListImportJobsRequest listImportJobsRequest)

        Lists information about import jobs.

        Parameters:
        listImportJobsRequest -
        Returns:
        A Java Future containing the result of the ListImportJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listImportJobs

        default CompletableFuture<ListImportJobsResponse> listImportJobs​(Consumer<ListImportJobsRequest.Builder> listImportJobsRequest)

        Lists information about import jobs.


        This is a convenience which creates an instance of the ListImportJobsRequest.Builder avoiding the need to create one manually via ListImportJobsRequest.builder()

        Parameters:
        listImportJobsRequest - A Consumer that will call methods on ListImportJobsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListImportJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listImportJobsPaginator

        default ListImportJobsPublisher listImportJobsPaginator​(ListImportJobsRequest listImportJobsRequest)

        This is a variant of listImportJobs(software.amazon.awssdk.services.wisdom.model.ListImportJobsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListImportJobsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListImportJobsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listImportJobs(software.amazon.awssdk.services.wisdom.model.ListImportJobsRequest) operation.

        Parameters:
        listImportJobsRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listImportJobsPaginator

        default ListImportJobsPublisher listImportJobsPaginator​(Consumer<ListImportJobsRequest.Builder> listImportJobsRequest)

        This is a variant of listImportJobs(software.amazon.awssdk.services.wisdom.model.ListImportJobsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListImportJobsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListImportJobsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listImportJobs(software.amazon.awssdk.services.wisdom.model.ListImportJobsRequest) operation.


        This is a convenience which creates an instance of the ListImportJobsRequest.Builder avoiding the need to create one manually via ListImportJobsRequest.builder()

        Parameters:
        listImportJobsRequest - A Consumer that will call methods on ListImportJobsRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listKnowledgeBases

        default CompletableFuture<ListKnowledgeBasesResponse> listKnowledgeBases​(ListKnowledgeBasesRequest listKnowledgeBasesRequest)

        Lists the knowledge bases.

        Parameters:
        listKnowledgeBasesRequest -
        Returns:
        A Java Future containing the result of the ListKnowledgeBases operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listKnowledgeBases

        default CompletableFuture<ListKnowledgeBasesResponse> listKnowledgeBases​(Consumer<ListKnowledgeBasesRequest.Builder> listKnowledgeBasesRequest)

        Lists the knowledge bases.


        This is a convenience which creates an instance of the ListKnowledgeBasesRequest.Builder avoiding the need to create one manually via ListKnowledgeBasesRequest.builder()

        Parameters:
        listKnowledgeBasesRequest - A Consumer that will call methods on ListKnowledgeBasesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListKnowledgeBases operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listKnowledgeBasesPaginator

        default ListKnowledgeBasesPublisher listKnowledgeBasesPaginator​(ListKnowledgeBasesRequest listKnowledgeBasesRequest)

        This is a variant of listKnowledgeBases(software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesPublisher publisher = client.listKnowledgeBasesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesPublisher publisher = client.listKnowledgeBasesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listKnowledgeBases(software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesRequest) operation.

        Parameters:
        listKnowledgeBasesRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listKnowledgeBasesPaginator

        default ListKnowledgeBasesPublisher listKnowledgeBasesPaginator​(Consumer<ListKnowledgeBasesRequest.Builder> listKnowledgeBasesRequest)

        This is a variant of listKnowledgeBases(software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesPublisher publisher = client.listKnowledgeBasesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesPublisher publisher = client.listKnowledgeBasesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listKnowledgeBases(software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesRequest) operation.


        This is a convenience which creates an instance of the ListKnowledgeBasesRequest.Builder avoiding the need to create one manually via ListKnowledgeBasesRequest.builder()

        Parameters:
        listKnowledgeBasesRequest - A Consumer that will call methods on ListKnowledgeBasesRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listQuickResponses

        default CompletableFuture<ListQuickResponsesResponse> listQuickResponses​(ListQuickResponsesRequest listQuickResponsesRequest)

        Lists information about quick response.

        Parameters:
        listQuickResponsesRequest -
        Returns:
        A Java Future containing the result of the ListQuickResponses operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listQuickResponses

        default CompletableFuture<ListQuickResponsesResponse> listQuickResponses​(Consumer<ListQuickResponsesRequest.Builder> listQuickResponsesRequest)

        Lists information about quick response.


        This is a convenience which creates an instance of the ListQuickResponsesRequest.Builder avoiding the need to create one manually via ListQuickResponsesRequest.builder()

        Parameters:
        listQuickResponsesRequest - A Consumer that will call methods on ListQuickResponsesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListQuickResponses operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listQuickResponsesPaginator

        default ListQuickResponsesPublisher listQuickResponsesPaginator​(ListQuickResponsesRequest listQuickResponsesRequest)

        This is a variant of listQuickResponses(software.amazon.awssdk.services.wisdom.model.ListQuickResponsesRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListQuickResponsesPublisher publisher = client.listQuickResponsesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListQuickResponsesPublisher publisher = client.listQuickResponsesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListQuickResponsesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListQuickResponsesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listQuickResponses(software.amazon.awssdk.services.wisdom.model.ListQuickResponsesRequest) operation.

        Parameters:
        listQuickResponsesRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listQuickResponsesPaginator

        default ListQuickResponsesPublisher listQuickResponsesPaginator​(Consumer<ListQuickResponsesRequest.Builder> listQuickResponsesRequest)

        This is a variant of listQuickResponses(software.amazon.awssdk.services.wisdom.model.ListQuickResponsesRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.ListQuickResponsesPublisher publisher = client.listQuickResponsesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.ListQuickResponsesPublisher publisher = client.listQuickResponsesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.ListQuickResponsesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.ListQuickResponsesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 listQuickResponses(software.amazon.awssdk.services.wisdom.model.ListQuickResponsesRequest) operation.


        This is a convenience which creates an instance of the ListQuickResponsesRequest.Builder avoiding the need to create one manually via ListQuickResponsesRequest.builder()

        Parameters:
        listQuickResponsesRequest - A Consumer that will call methods on ListQuickResponsesRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)

        Lists the tags for the specified resource.

        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

        Lists the tags for the specified resource.


        This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

        Parameters:
        listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • notifyRecommendationsReceived

        default CompletableFuture<NotifyRecommendationsReceivedResponse> notifyRecommendationsReceived​(NotifyRecommendationsReceivedRequest notifyRecommendationsReceivedRequest)

        Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations.

        Parameters:
        notifyRecommendationsReceivedRequest -
        Returns:
        A Java Future containing the result of the NotifyRecommendationsReceived operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • notifyRecommendationsReceived

        default CompletableFuture<NotifyRecommendationsReceivedResponse> notifyRecommendationsReceived​(Consumer<NotifyRecommendationsReceivedRequest.Builder> notifyRecommendationsReceivedRequest)

        Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations.


        This is a convenience which creates an instance of the NotifyRecommendationsReceivedRequest.Builder avoiding the need to create one manually via NotifyRecommendationsReceivedRequest.builder()

        Parameters:
        notifyRecommendationsReceivedRequest - A Consumer that will call methods on NotifyRecommendationsReceivedRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the NotifyRecommendationsReceived operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • queryAssistant

        @Deprecated
        default CompletableFuture<QueryAssistantResponse> queryAssistant​(QueryAssistantRequest queryAssistantRequest)
        Deprecated.
        QueryAssistant API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.

        Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.

        Parameters:
        queryAssistantRequest -
        Returns:
        A Java Future containing the result of the QueryAssistant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • RequestTimeoutException The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • queryAssistant

        @Deprecated
        default CompletableFuture<QueryAssistantResponse> queryAssistant​(Consumer<QueryAssistantRequest.Builder> queryAssistantRequest)
        Deprecated.
        QueryAssistant API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.

        Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.


        This is a convenience which creates an instance of the QueryAssistantRequest.Builder avoiding the need to create one manually via QueryAssistantRequest.builder()

        Parameters:
        queryAssistantRequest - A Consumer that will call methods on QueryAssistantRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the QueryAssistant operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • RequestTimeoutException The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • queryAssistantPaginator

        @Deprecated
        default QueryAssistantPublisher queryAssistantPaginator​(QueryAssistantRequest queryAssistantRequest)
        Deprecated.
        QueryAssistant API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.

        This is a variant of queryAssistant(software.amazon.awssdk.services.wisdom.model.QueryAssistantRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.QueryAssistantPublisher publisher = client.queryAssistantPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.QueryAssistantPublisher publisher = client.queryAssistantPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.QueryAssistantResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.QueryAssistantResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 queryAssistant(software.amazon.awssdk.services.wisdom.model.QueryAssistantRequest) operation.

        Parameters:
        queryAssistantRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • RequestTimeoutException The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • queryAssistantPaginator

        @Deprecated
        default QueryAssistantPublisher queryAssistantPaginator​(Consumer<QueryAssistantRequest.Builder> queryAssistantRequest)
        Deprecated.
        QueryAssistant API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.

        This is a variant of queryAssistant(software.amazon.awssdk.services.wisdom.model.QueryAssistantRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.QueryAssistantPublisher publisher = client.queryAssistantPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.QueryAssistantPublisher publisher = client.queryAssistantPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.QueryAssistantResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.QueryAssistantResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 queryAssistant(software.amazon.awssdk.services.wisdom.model.QueryAssistantRequest) operation.


        This is a convenience which creates an instance of the QueryAssistantRequest.Builder avoiding the need to create one manually via QueryAssistantRequest.builder()

        Parameters:
        queryAssistantRequest - A Consumer that will call methods on QueryAssistantRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • RequestTimeoutException The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • removeKnowledgeBaseTemplateUri

        default CompletableFuture<RemoveKnowledgeBaseTemplateUriResponse> removeKnowledgeBaseTemplateUri​(RemoveKnowledgeBaseTemplateUriRequest removeKnowledgeBaseTemplateUriRequest)

        Removes a URI template from a knowledge base.

        Parameters:
        removeKnowledgeBaseTemplateUriRequest -
        Returns:
        A Java Future containing the result of the RemoveKnowledgeBaseTemplateUri operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • removeKnowledgeBaseTemplateUri

        default CompletableFuture<RemoveKnowledgeBaseTemplateUriResponse> removeKnowledgeBaseTemplateUri​(Consumer<RemoveKnowledgeBaseTemplateUriRequest.Builder> removeKnowledgeBaseTemplateUriRequest)

        Removes a URI template from a knowledge base.


        This is a convenience which creates an instance of the RemoveKnowledgeBaseTemplateUriRequest.Builder avoiding the need to create one manually via RemoveKnowledgeBaseTemplateUriRequest.builder()

        Parameters:
        removeKnowledgeBaseTemplateUriRequest - A Consumer that will call methods on RemoveKnowledgeBaseTemplateUriRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the RemoveKnowledgeBaseTemplateUri operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchContent

        default CompletableFuture<SearchContentResponse> searchContent​(SearchContentRequest searchContentRequest)

        Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.

        Parameters:
        searchContentRequest -
        Returns:
        A Java Future containing the result of the SearchContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchContent

        default CompletableFuture<SearchContentResponse> searchContent​(Consumer<SearchContentRequest.Builder> searchContentRequest)

        Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.


        This is a convenience which creates an instance of the SearchContentRequest.Builder avoiding the need to create one manually via SearchContentRequest.builder()

        Parameters:
        searchContentRequest - A Consumer that will call methods on SearchContentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the SearchContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchContentPaginator

        default SearchContentPublisher searchContentPaginator​(SearchContentRequest searchContentRequest)

        This is a variant of searchContent(software.amazon.awssdk.services.wisdom.model.SearchContentRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.SearchContentPublisher publisher = client.searchContentPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.SearchContentPublisher publisher = client.searchContentPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.SearchContentResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.SearchContentResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 searchContent(software.amazon.awssdk.services.wisdom.model.SearchContentRequest) operation.

        Parameters:
        searchContentRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchContentPaginator

        default SearchContentPublisher searchContentPaginator​(Consumer<SearchContentRequest.Builder> searchContentRequest)

        This is a variant of searchContent(software.amazon.awssdk.services.wisdom.model.SearchContentRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.SearchContentPublisher publisher = client.searchContentPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.SearchContentPublisher publisher = client.searchContentPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.SearchContentResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.SearchContentResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 searchContent(software.amazon.awssdk.services.wisdom.model.SearchContentRequest) operation.


        This is a convenience which creates an instance of the SearchContentRequest.Builder avoiding the need to create one manually via SearchContentRequest.builder()

        Parameters:
        searchContentRequest - A Consumer that will call methods on SearchContentRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchQuickResponses

        default CompletableFuture<SearchQuickResponsesResponse> searchQuickResponses​(SearchQuickResponsesRequest searchQuickResponsesRequest)

        Searches existing Wisdom quick responses in a Wisdom knowledge base.

        Parameters:
        searchQuickResponsesRequest -
        Returns:
        A Java Future containing the result of the SearchQuickResponses operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • RequestTimeoutException The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchQuickResponses

        default CompletableFuture<SearchQuickResponsesResponse> searchQuickResponses​(Consumer<SearchQuickResponsesRequest.Builder> searchQuickResponsesRequest)

        Searches existing Wisdom quick responses in a Wisdom knowledge base.


        This is a convenience which creates an instance of the SearchQuickResponsesRequest.Builder avoiding the need to create one manually via SearchQuickResponsesRequest.builder()

        Parameters:
        searchQuickResponsesRequest - A Consumer that will call methods on SearchQuickResponsesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the SearchQuickResponses operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • RequestTimeoutException The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchQuickResponsesPaginator

        default SearchQuickResponsesPublisher searchQuickResponsesPaginator​(SearchQuickResponsesRequest searchQuickResponsesRequest)

        This is a variant of searchQuickResponses(software.amazon.awssdk.services.wisdom.model.SearchQuickResponsesRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.SearchQuickResponsesPublisher publisher = client.searchQuickResponsesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.SearchQuickResponsesPublisher publisher = client.searchQuickResponsesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.SearchQuickResponsesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.SearchQuickResponsesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 searchQuickResponses(software.amazon.awssdk.services.wisdom.model.SearchQuickResponsesRequest) operation.

        Parameters:
        searchQuickResponsesRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • RequestTimeoutException The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchQuickResponsesPaginator

        default SearchQuickResponsesPublisher searchQuickResponsesPaginator​(Consumer<SearchQuickResponsesRequest.Builder> searchQuickResponsesRequest)

        This is a variant of searchQuickResponses(software.amazon.awssdk.services.wisdom.model.SearchQuickResponsesRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.SearchQuickResponsesPublisher publisher = client.searchQuickResponsesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.SearchQuickResponsesPublisher publisher = client.searchQuickResponsesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.SearchQuickResponsesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.SearchQuickResponsesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 searchQuickResponses(software.amazon.awssdk.services.wisdom.model.SearchQuickResponsesRequest) operation.


        This is a convenience which creates an instance of the SearchQuickResponsesRequest.Builder avoiding the need to create one manually via SearchQuickResponsesRequest.builder()

        Parameters:
        searchQuickResponsesRequest - A Consumer that will call methods on SearchQuickResponsesRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • RequestTimeoutException The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchSessions

        default CompletableFuture<SearchSessionsResponse> searchSessions​(SearchSessionsRequest searchSessionsRequest)

        Searches for sessions.

        Parameters:
        searchSessionsRequest -
        Returns:
        A Java Future containing the result of the SearchSessions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchSessions

        default CompletableFuture<SearchSessionsResponse> searchSessions​(Consumer<SearchSessionsRequest.Builder> searchSessionsRequest)

        Searches for sessions.


        This is a convenience which creates an instance of the SearchSessionsRequest.Builder avoiding the need to create one manually via SearchSessionsRequest.builder()

        Parameters:
        searchSessionsRequest - A Consumer that will call methods on SearchSessionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the SearchSessions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchSessionsPaginator

        default SearchSessionsPublisher searchSessionsPaginator​(SearchSessionsRequest searchSessionsRequest)

        This is a variant of searchSessions(software.amazon.awssdk.services.wisdom.model.SearchSessionsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.SearchSessionsPublisher publisher = client.searchSessionsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.SearchSessionsPublisher publisher = client.searchSessionsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.SearchSessionsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.SearchSessionsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 searchSessions(software.amazon.awssdk.services.wisdom.model.SearchSessionsRequest) operation.

        Parameters:
        searchSessionsRequest -
        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchSessionsPaginator

        default SearchSessionsPublisher searchSessionsPaginator​(Consumer<SearchSessionsRequest.Builder> searchSessionsRequest)

        This is a variant of searchSessions(software.amazon.awssdk.services.wisdom.model.SearchSessionsRequest) 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 new Subscription 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 method
         
         software.amazon.awssdk.services.wisdom.paginators.SearchSessionsPublisher publisher = client.searchSessionsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.wisdom.paginators.SearchSessionsPublisher publisher = client.searchSessionsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wisdom.model.SearchSessionsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.wisdom.model.SearchSessionsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 searchSessions(software.amazon.awssdk.services.wisdom.model.SearchSessionsRequest) operation.


        This is a convenience which creates an instance of the SearchSessionsRequest.Builder avoiding the need to create one manually via SearchSessionsRequest.builder()

        Parameters:
        searchSessionsRequest - A Consumer that will call methods on SearchSessionsRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startContentUpload

        default CompletableFuture<StartContentUploadResponse> startContentUpload​(StartContentUploadRequest startContentUploadRequest)

        Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use CreateContent to finalize the content creation process or UpdateContent to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.

        Parameters:
        startContentUploadRequest -
        Returns:
        A Java Future containing the result of the StartContentUpload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startContentUpload

        default CompletableFuture<StartContentUploadResponse> startContentUpload​(Consumer<StartContentUploadRequest.Builder> startContentUploadRequest)

        Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use CreateContent to finalize the content creation process or UpdateContent to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.


        This is a convenience which creates an instance of the StartContentUploadRequest.Builder avoiding the need to create one manually via StartContentUploadRequest.builder()

        Parameters:
        startContentUploadRequest - A Consumer that will call methods on StartContentUploadRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartContentUpload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startImportJob

        default CompletableFuture<StartImportJobResponse> startImportJob​(StartImportJobRequest startImportJobRequest)

        Start an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.

        • For importing Wisdom quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.

        Parameters:
        startImportJobRequest -
        Returns:
        A Java Future containing the result of the StartImportJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startImportJob

        default CompletableFuture<StartImportJobResponse> startImportJob​(Consumer<StartImportJobRequest.Builder> startImportJobRequest)

        Start an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.

        • For importing Wisdom quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.


        This is a convenience which creates an instance of the StartImportJobRequest.Builder avoiding the need to create one manually via StartImportJobRequest.builder()

        Parameters:
        startImportJobRequest - A Consumer that will call methods on StartImportJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartImportJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)

        Adds the specified tags to the specified resource.

        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • TooManyTagsException Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)

        Adds the specified tags to the specified resource.


        This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

        Parameters:
        tagResourceRequest - A Consumer that will call methods on TagResourceRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • TooManyTagsException Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)

        Removes the specified tags from the specified resource.

        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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

        Removes the specified tags from the specified resource.


        This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

        Parameters:
        untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateContent

        default CompletableFuture<UpdateContentResponse> updateContent​(UpdateContentRequest updateContentRequest)

        Updates information about the content.

        Parameters:
        updateContentRequest -
        Returns:
        A Java Future containing the result of the UpdateContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • PreconditionFailedException The provided revisionId does not match, indicating the content has been modified since it was last read.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateContent

        default CompletableFuture<UpdateContentResponse> updateContent​(Consumer<UpdateContentRequest.Builder> updateContentRequest)

        Updates information about the content.


        This is a convenience which creates an instance of the UpdateContentRequest.Builder avoiding the need to create one manually via UpdateContentRequest.builder()

        Parameters:
        updateContentRequest - A Consumer that will call methods on UpdateContentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateContent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • PreconditionFailedException The provided revisionId does not match, indicating the content has been modified since it was last read.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateKnowledgeBaseTemplateUri

        default CompletableFuture<UpdateKnowledgeBaseTemplateUriResponse> updateKnowledgeBaseTemplateUri​(UpdateKnowledgeBaseTemplateUriRequest updateKnowledgeBaseTemplateUriRequest)

        Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. Include a single variable in ${variable} format; this interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce article, it has an Id value, and you can set the template URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view.

        Parameters:
        updateKnowledgeBaseTemplateUriRequest -
        Returns:
        A Java Future containing the result of the UpdateKnowledgeBaseTemplateUri operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateKnowledgeBaseTemplateUri

        default CompletableFuture<UpdateKnowledgeBaseTemplateUriResponse> updateKnowledgeBaseTemplateUri​(Consumer<UpdateKnowledgeBaseTemplateUriRequest.Builder> updateKnowledgeBaseTemplateUriRequest)

        Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. Include a single variable in ${variable} format; this interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce article, it has an Id value, and you can set the template URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view.


        This is a convenience which creates an instance of the UpdateKnowledgeBaseTemplateUriRequest.Builder avoiding the need to create one manually via UpdateKnowledgeBaseTemplateUriRequest.builder()

        Parameters:
        updateKnowledgeBaseTemplateUriRequest - A Consumer that will call methods on UpdateKnowledgeBaseTemplateUriRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateKnowledgeBaseTemplateUri operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateQuickResponse

        default CompletableFuture<UpdateQuickResponseResponse> updateQuickResponse​(UpdateQuickResponseRequest updateQuickResponseRequest)

        Updates an existing Wisdom quick response.

        Parameters:
        updateQuickResponseRequest -
        Returns:
        A Java Future containing the result of the UpdateQuickResponse operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • PreconditionFailedException The provided revisionId does not match, indicating the content has been modified since it was last read.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateQuickResponse

        default CompletableFuture<UpdateQuickResponseResponse> updateQuickResponse​(Consumer<UpdateQuickResponseRequest.Builder> updateQuickResponseRequest)

        Updates an existing Wisdom quick response.


        This is a convenience which creates an instance of the UpdateQuickResponseRequest.Builder avoiding the need to create one manually via UpdateQuickResponseRequest.builder()

        Parameters:
        updateQuickResponseRequest - A Consumer that will call methods on UpdateQuickResponseRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateQuickResponse operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
        • ValidationException The input fails to satisfy the constraints specified by a service.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • PreconditionFailedException The provided revisionId does not match, indicating the content has been modified since it was last read.
        • ResourceNotFoundException The specified resource does not exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • WisdomException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation