@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface WisdomClient extends SdkClient
builder()
method.
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 the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static WisdomClientBuilder |
builder()
Create a builder that can be used to configure and create a
WisdomClient. |
static WisdomClient |
create()
Create a
WisdomClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAssistantResponse |
createAssistant(Consumer<CreateAssistantRequest.Builder> createAssistantRequest)
Creates an Amazon Connect Wisdom assistant.
|
default CreateAssistantResponse |
createAssistant(CreateAssistantRequest createAssistantRequest)
Creates an Amazon Connect Wisdom assistant.
|
default CreateAssistantAssociationResponse |
createAssistantAssociation(Consumer<CreateAssistantAssociationRequest.Builder> createAssistantAssociationRequest)
Creates an association between an Amazon Connect Wisdom assistant and another resource.
|
default CreateAssistantAssociationResponse |
createAssistantAssociation(CreateAssistantAssociationRequest createAssistantAssociationRequest)
Creates an association between an Amazon Connect Wisdom assistant and another resource.
|
default CreateContentResponse |
createContent(Consumer<CreateContentRequest.Builder> createContentRequest)
Creates Wisdom content.
|
default CreateContentResponse |
createContent(CreateContentRequest createContentRequest)
Creates Wisdom content.
|
default CreateKnowledgeBaseResponse |
createKnowledgeBase(Consumer<CreateKnowledgeBaseRequest.Builder> createKnowledgeBaseRequest)
Creates a knowledge base.
|
default CreateKnowledgeBaseResponse |
createKnowledgeBase(CreateKnowledgeBaseRequest createKnowledgeBaseRequest)
Creates a knowledge base.
|
default CreateSessionResponse |
createSession(Consumer<CreateSessionRequest.Builder> createSessionRequest)
Creates a session.
|
default CreateSessionResponse |
createSession(CreateSessionRequest createSessionRequest)
Creates a session.
|
default DeleteAssistantResponse |
deleteAssistant(Consumer<DeleteAssistantRequest.Builder> deleteAssistantRequest)
Deletes an assistant.
|
default DeleteAssistantResponse |
deleteAssistant(DeleteAssistantRequest deleteAssistantRequest)
Deletes an assistant.
|
default DeleteAssistantAssociationResponse |
deleteAssistantAssociation(Consumer<DeleteAssistantAssociationRequest.Builder> deleteAssistantAssociationRequest)
Deletes an assistant association.
|
default DeleteAssistantAssociationResponse |
deleteAssistantAssociation(DeleteAssistantAssociationRequest deleteAssistantAssociationRequest)
Deletes an assistant association.
|
default DeleteContentResponse |
deleteContent(Consumer<DeleteContentRequest.Builder> deleteContentRequest)
Deletes the content.
|
default DeleteContentResponse |
deleteContent(DeleteContentRequest deleteContentRequest)
Deletes the content.
|
default DeleteKnowledgeBaseResponse |
deleteKnowledgeBase(Consumer<DeleteKnowledgeBaseRequest.Builder> deleteKnowledgeBaseRequest)
Deletes the knowledge base.
|
default DeleteKnowledgeBaseResponse |
deleteKnowledgeBase(DeleteKnowledgeBaseRequest deleteKnowledgeBaseRequest)
Deletes the knowledge base.
|
default GetAssistantResponse |
getAssistant(Consumer<GetAssistantRequest.Builder> getAssistantRequest)
Retrieves information about an assistant.
|
default GetAssistantResponse |
getAssistant(GetAssistantRequest getAssistantRequest)
Retrieves information about an assistant.
|
default GetAssistantAssociationResponse |
getAssistantAssociation(Consumer<GetAssistantAssociationRequest.Builder> getAssistantAssociationRequest)
Retrieves information about an assistant association.
|
default GetAssistantAssociationResponse |
getAssistantAssociation(GetAssistantAssociationRequest getAssistantAssociationRequest)
Retrieves information about an assistant association.
|
default GetContentResponse |
getContent(Consumer<GetContentRequest.Builder> getContentRequest)
Retrieves content, including a pre-signed URL to download the content.
|
default GetContentResponse |
getContent(GetContentRequest getContentRequest)
Retrieves content, including a pre-signed URL to download the content.
|
default GetContentSummaryResponse |
getContentSummary(Consumer<GetContentSummaryRequest.Builder> getContentSummaryRequest)
Retrieves summary information about the content.
|
default GetContentSummaryResponse |
getContentSummary(GetContentSummaryRequest getContentSummaryRequest)
Retrieves summary information about the content.
|
default GetKnowledgeBaseResponse |
getKnowledgeBase(Consumer<GetKnowledgeBaseRequest.Builder> getKnowledgeBaseRequest)
Retrieves information about the knowledge base.
|
default GetKnowledgeBaseResponse |
getKnowledgeBase(GetKnowledgeBaseRequest getKnowledgeBaseRequest)
Retrieves information about the knowledge base.
|
default GetRecommendationsResponse |
getRecommendations(Consumer<GetRecommendationsRequest.Builder> getRecommendationsRequest)
Retrieves recommendations for the specified session.
|
default GetRecommendationsResponse |
getRecommendations(GetRecommendationsRequest getRecommendationsRequest)
Retrieves recommendations for the specified session.
|
default GetSessionResponse |
getSession(Consumer<GetSessionRequest.Builder> getSessionRequest)
Retrieves information for a specified session.
|
default GetSessionResponse |
getSession(GetSessionRequest getSessionRequest)
Retrieves information for a specified session.
|
default ListAssistantAssociationsResponse |
listAssistantAssociations(Consumer<ListAssistantAssociationsRequest.Builder> listAssistantAssociationsRequest)
Lists information about assistant associations.
|
default ListAssistantAssociationsResponse |
listAssistantAssociations(ListAssistantAssociationsRequest listAssistantAssociationsRequest)
Lists information about assistant associations.
|
default ListAssistantAssociationsIterable |
listAssistantAssociationsPaginator(Consumer<ListAssistantAssociationsRequest.Builder> listAssistantAssociationsRequest)
Lists information about assistant associations.
|
default ListAssistantAssociationsIterable |
listAssistantAssociationsPaginator(ListAssistantAssociationsRequest listAssistantAssociationsRequest)
Lists information about assistant associations.
|
default ListAssistantsResponse |
listAssistants(Consumer<ListAssistantsRequest.Builder> listAssistantsRequest)
Lists information about assistants.
|
default ListAssistantsResponse |
listAssistants(ListAssistantsRequest listAssistantsRequest)
Lists information about assistants.
|
default ListAssistantsIterable |
listAssistantsPaginator(Consumer<ListAssistantsRequest.Builder> listAssistantsRequest)
Lists information about assistants.
|
default ListAssistantsIterable |
listAssistantsPaginator(ListAssistantsRequest listAssistantsRequest)
Lists information about assistants.
|
default ListContentsResponse |
listContents(Consumer<ListContentsRequest.Builder> listContentsRequest)
Lists the content.
|
default ListContentsResponse |
listContents(ListContentsRequest listContentsRequest)
Lists the content.
|
default ListContentsIterable |
listContentsPaginator(Consumer<ListContentsRequest.Builder> listContentsRequest)
Lists the content.
|
default ListContentsIterable |
listContentsPaginator(ListContentsRequest listContentsRequest)
Lists the content.
|
default ListKnowledgeBasesResponse |
listKnowledgeBases(Consumer<ListKnowledgeBasesRequest.Builder> listKnowledgeBasesRequest)
Lists the knowledge bases.
|
default ListKnowledgeBasesResponse |
listKnowledgeBases(ListKnowledgeBasesRequest listKnowledgeBasesRequest)
Lists the knowledge bases.
|
default ListKnowledgeBasesIterable |
listKnowledgeBasesPaginator(Consumer<ListKnowledgeBasesRequest.Builder> listKnowledgeBasesRequest)
Lists the knowledge bases.
|
default ListKnowledgeBasesIterable |
listKnowledgeBasesPaginator(ListKnowledgeBasesRequest listKnowledgeBasesRequest)
Lists the knowledge bases.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default NotifyRecommendationsReceivedResponse |
notifyRecommendationsReceived(Consumer<NotifyRecommendationsReceivedRequest.Builder> notifyRecommendationsReceivedRequest)
Removes the specified recommendations from the specified assistant's queue of newly available recommendations.
|
default NotifyRecommendationsReceivedResponse |
notifyRecommendationsReceived(NotifyRecommendationsReceivedRequest notifyRecommendationsReceivedRequest)
Removes the specified recommendations from the specified assistant's queue of newly available recommendations.
|
default QueryAssistantResponse |
queryAssistant(Consumer<QueryAssistantRequest.Builder> queryAssistantRequest)
Performs a manual search against the specified assistant.
|
default QueryAssistantResponse |
queryAssistant(QueryAssistantRequest queryAssistantRequest)
Performs a manual search against the specified assistant.
|
default QueryAssistantIterable |
queryAssistantPaginator(Consumer<QueryAssistantRequest.Builder> queryAssistantRequest)
Performs a manual search against the specified assistant.
|
default QueryAssistantIterable |
queryAssistantPaginator(QueryAssistantRequest queryAssistantRequest)
Performs a manual search against the specified assistant.
|
default RemoveKnowledgeBaseTemplateUriResponse |
removeKnowledgeBaseTemplateUri(Consumer<RemoveKnowledgeBaseTemplateUriRequest.Builder> removeKnowledgeBaseTemplateUriRequest)
Removes a URI template from a knowledge base.
|
default RemoveKnowledgeBaseTemplateUriResponse |
removeKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest removeKnowledgeBaseTemplateUriRequest)
Removes a URI template from a knowledge base.
|
default SearchContentResponse |
searchContent(Consumer<SearchContentRequest.Builder> searchContentRequest)
Searches for content in a specified knowledge base.
|
default SearchContentResponse |
searchContent(SearchContentRequest searchContentRequest)
Searches for content in a specified knowledge base.
|
default SearchContentIterable |
searchContentPaginator(Consumer<SearchContentRequest.Builder> searchContentRequest)
Searches for content in a specified knowledge base.
|
default SearchContentIterable |
searchContentPaginator(SearchContentRequest searchContentRequest)
Searches for content in a specified knowledge base.
|
default SearchSessionsResponse |
searchSessions(Consumer<SearchSessionsRequest.Builder> searchSessionsRequest)
Searches for sessions.
|
default SearchSessionsResponse |
searchSessions(SearchSessionsRequest searchSessionsRequest)
Searches for sessions.
|
default SearchSessionsIterable |
searchSessionsPaginator(Consumer<SearchSessionsRequest.Builder> searchSessionsRequest)
Searches for sessions.
|
default SearchSessionsIterable |
searchSessionsPaginator(SearchSessionsRequest searchSessionsRequest)
Searches for sessions.
|
static ServiceMetadata |
serviceMetadata() |
default StartContentUploadResponse |
startContentUpload(Consumer<StartContentUploadRequest.Builder> startContentUploadRequest)
Get a URL to upload content to a knowledge base.
|
default StartContentUploadResponse |
startContentUpload(StartContentUploadRequest startContentUploadRequest)
Get a URL to upload content to a knowledge base.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds the specified tags to the specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
|
default UpdateContentResponse |
updateContent(Consumer<UpdateContentRequest.Builder> updateContentRequest)
Updates information about the content.
|
default UpdateContentResponse |
updateContent(UpdateContentRequest updateContentRequest)
Updates information about the content.
|
default UpdateKnowledgeBaseTemplateUriResponse |
updateKnowledgeBaseTemplateUri(Consumer<UpdateKnowledgeBaseTemplateUriRequest.Builder> updateKnowledgeBaseTemplateUriRequest)
Updates the template URI of a knowledge base.
|
default UpdateKnowledgeBaseTemplateUriResponse |
updateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest updateKnowledgeBaseTemplateUriRequest)
Updates the template URI of a knowledge base.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CreateAssistantResponse createAssistant(CreateAssistantRequest createAssistantRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
Creates an Amazon Connect Wisdom assistant.
createAssistantRequest - 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.AwsServiceExceptiondefault CreateAssistantResponse createAssistant(Consumer<CreateAssistantRequest.Builder> createAssistantRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
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()
createAssistantRequest - A Consumer that will call methods on CreateAssistantRequest.Builder to create a request.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.AwsServiceExceptiondefault CreateAssistantAssociationResponse createAssistantAssociation(CreateAssistantAssociationRequest createAssistantAssociationRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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.
createAssistantAssociationRequest - 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.AwsServiceExceptiondefault CreateAssistantAssociationResponse createAssistantAssociation(Consumer<CreateAssistantAssociationRequest.Builder> createAssistantAssociationRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
createAssistantAssociationRequest - A Consumer that will call methods on CreateAssistantAssociationRequest.Builder to create a
request.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.AwsServiceExceptiondefault CreateContentResponse createContent(CreateContentRequest createContentRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.
createContentRequest - 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.AwsServiceExceptiondefault CreateContentResponse createContent(Consumer<CreateContentRequest.Builder> createContentRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
createContentRequest - A Consumer that will call methods on CreateContentRequest.Builder to create a request.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.AwsServiceExceptiondefault CreateKnowledgeBaseResponse createKnowledgeBase(CreateKnowledgeBaseRequest createKnowledgeBaseRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
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.
<p>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:</p> <ol> <li> <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different one.</p> </li> <li> <p>Call CreateKnowledgeBase.</p> </li> </ol> </note>
createKnowledgeBaseRequest - 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.AwsServiceExceptiondefault CreateKnowledgeBaseResponse createKnowledgeBase(Consumer<CreateKnowledgeBaseRequest.Builder> createKnowledgeBaseRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
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.
<p>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:</p> <ol> <li> <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different one.</p> </li> <li> <p>Call CreateKnowledgeBase.</p> </li> </ol> </note>
This is a convenience which creates an instance of the CreateKnowledgeBaseRequest.Builder avoiding the
need to create one manually via CreateKnowledgeBaseRequest.builder()
createKnowledgeBaseRequest - A Consumer that will call methods on CreateKnowledgeBaseRequest.Builder to create a
request.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.AwsServiceExceptiondefault CreateSessionResponse createSession(CreateSessionRequest createSessionRequest) throws ConflictException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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.
createSessionRequest - 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.AwsServiceExceptiondefault CreateSessionResponse createSession(Consumer<CreateSessionRequest.Builder> createSessionRequest) throws ConflictException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
createSessionRequest - A Consumer that will call methods on CreateSessionRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteAssistantResponse deleteAssistant(DeleteAssistantRequest deleteAssistantRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Deletes an assistant.
deleteAssistantRequest - 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.AwsServiceExceptiondefault DeleteAssistantResponse deleteAssistant(Consumer<DeleteAssistantRequest.Builder> deleteAssistantRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
deleteAssistantRequest - A Consumer that will call methods on DeleteAssistantRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteAssistantAssociationResponse deleteAssistantAssociation(DeleteAssistantAssociationRequest deleteAssistantAssociationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Deletes an assistant association.
deleteAssistantAssociationRequest - 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.AwsServiceExceptiondefault DeleteAssistantAssociationResponse deleteAssistantAssociation(Consumer<DeleteAssistantAssociationRequest.Builder> deleteAssistantAssociationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
deleteAssistantAssociationRequest - A Consumer that will call methods on DeleteAssistantAssociationRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeleteContentResponse deleteContent(DeleteContentRequest deleteContentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Deletes the content.
deleteContentRequest - 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.AwsServiceExceptiondefault DeleteContentResponse deleteContent(Consumer<DeleteContentRequest.Builder> deleteContentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
deleteContentRequest - A Consumer that will call methods on DeleteContentRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteKnowledgeBaseResponse deleteKnowledgeBase(DeleteKnowledgeBaseRequest deleteKnowledgeBaseRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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.
deleteKnowledgeBaseRequest - 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.AwsServiceExceptiondefault DeleteKnowledgeBaseResponse deleteKnowledgeBase(Consumer<DeleteKnowledgeBaseRequest.Builder> deleteKnowledgeBaseRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
deleteKnowledgeBaseRequest - A Consumer that will call methods on DeleteKnowledgeBaseRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetAssistantResponse getAssistant(GetAssistantRequest getAssistantRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Retrieves information about an assistant.
getAssistantRequest - 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.AwsServiceExceptiondefault GetAssistantResponse getAssistant(Consumer<GetAssistantRequest.Builder> getAssistantRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
getAssistantRequest - A Consumer that will call methods on GetAssistantRequest.Builder to create a request.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.AwsServiceExceptiondefault GetAssistantAssociationResponse getAssistantAssociation(GetAssistantAssociationRequest getAssistantAssociationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Retrieves information about an assistant association.
getAssistantAssociationRequest - 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.AwsServiceExceptiondefault GetAssistantAssociationResponse getAssistantAssociation(Consumer<GetAssistantAssociationRequest.Builder> getAssistantAssociationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
getAssistantAssociationRequest - A Consumer that will call methods on GetAssistantAssociationRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetContentResponse getContent(GetContentRequest getContentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Retrieves content, including a pre-signed URL to download the content.
getContentRequest - 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.AwsServiceExceptiondefault GetContentResponse getContent(Consumer<GetContentRequest.Builder> getContentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
getContentRequest - A Consumer that will call methods on GetContentRequest.Builder to create a request.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.AwsServiceExceptiondefault GetContentSummaryResponse getContentSummary(GetContentSummaryRequest getContentSummaryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Retrieves summary information about the content.
getContentSummaryRequest - 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.AwsServiceExceptiondefault GetContentSummaryResponse getContentSummary(Consumer<GetContentSummaryRequest.Builder> getContentSummaryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
getContentSummaryRequest - A Consumer that will call methods on GetContentSummaryRequest.Builder to create a request.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.AwsServiceExceptiondefault GetKnowledgeBaseResponse getKnowledgeBase(GetKnowledgeBaseRequest getKnowledgeBaseRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Retrieves information about the knowledge base.
getKnowledgeBaseRequest - 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.AwsServiceExceptiondefault GetKnowledgeBaseResponse getKnowledgeBase(Consumer<GetKnowledgeBaseRequest.Builder> getKnowledgeBaseRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
getKnowledgeBaseRequest - A Consumer that will call methods on GetKnowledgeBaseRequest.Builder to create a request.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.AwsServiceExceptiondefault GetRecommendationsResponse getRecommendations(GetRecommendationsRequest getRecommendationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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.
getRecommendationsRequest - 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.AwsServiceExceptiondefault GetRecommendationsResponse getRecommendations(Consumer<GetRecommendationsRequest.Builder> getRecommendationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
getRecommendationsRequest - A Consumer that will call methods on GetRecommendationsRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetSessionResponse getSession(GetSessionRequest getSessionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Retrieves information for a specified session.
getSessionRequest - 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.AwsServiceExceptiondefault GetSessionResponse getSession(Consumer<GetSessionRequest.Builder> getSessionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
getSessionRequest - A Consumer that will call methods on GetSessionRequest.Builder to create a request.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.AwsServiceExceptiondefault ListAssistantAssociationsResponse listAssistantAssociations(ListAssistantAssociationsRequest listAssistantAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Lists information about assistant associations.
listAssistantAssociationsRequest - 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.AwsServiceExceptiondefault ListAssistantAssociationsResponse listAssistantAssociations(Consumer<ListAssistantAssociationsRequest.Builder> listAssistantAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
listAssistantAssociationsRequest - A Consumer that will call methods on ListAssistantAssociationsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListAssistantAssociationsIterable listAssistantAssociationsPaginator(ListAssistantAssociationsRequest listAssistantAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Lists information about assistant associations.
This is a variant of
listAssistantAssociations(software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsIterable responses = client.listAssistantAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsIterable responses = client
.listAssistantAssociationsPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsIterable responses = client.listAssistantAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listAssistantAssociationsRequest - 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.AwsServiceExceptiondefault ListAssistantAssociationsIterable listAssistantAssociationsPaginator(Consumer<ListAssistantAssociationsRequest.Builder> listAssistantAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Lists information about assistant associations.
This is a variant of
listAssistantAssociations(software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsIterable responses = client.listAssistantAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsIterable responses = client
.listAssistantAssociationsPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.ListAssistantAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.ListAssistantAssociationsIterable responses = client.listAssistantAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
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()
listAssistantAssociationsRequest - A Consumer that will call methods on ListAssistantAssociationsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListAssistantsResponse listAssistants(ListAssistantsRequest listAssistantsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
Lists information about assistants.
listAssistantsRequest - 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.AwsServiceExceptiondefault ListAssistantsResponse listAssistants(Consumer<ListAssistantsRequest.Builder> listAssistantsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
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()
listAssistantsRequest - A Consumer that will call methods on ListAssistantsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListAssistantsIterable listAssistantsPaginator(ListAssistantsRequest listAssistantsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
Lists information about assistants.
This is a variant of listAssistants(software.amazon.awssdk.services.wisdom.model.ListAssistantsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.ListAssistantsIterable responses = client.listAssistantsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.ListAssistantsIterable responses = client.listAssistantsPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.ListAssistantsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.ListAssistantsIterable responses = client.listAssistantsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listAssistantsRequest - 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.AwsServiceExceptiondefault ListAssistantsIterable listAssistantsPaginator(Consumer<ListAssistantsRequest.Builder> listAssistantsRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
Lists information about assistants.
This is a variant of listAssistants(software.amazon.awssdk.services.wisdom.model.ListAssistantsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.ListAssistantsIterable responses = client.listAssistantsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.ListAssistantsIterable responses = client.listAssistantsPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.ListAssistantsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.ListAssistantsIterable responses = client.listAssistantsPaginator(request);
responses.iterator().forEachRemaining(....);
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()
listAssistantsRequest - A Consumer that will call methods on ListAssistantsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListContentsResponse listContents(ListContentsRequest listContentsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Lists the content.
listContentsRequest - 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.AwsServiceExceptiondefault ListContentsResponse listContents(Consumer<ListContentsRequest.Builder> listContentsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
listContentsRequest - A Consumer that will call methods on ListContentsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListContentsIterable listContentsPaginator(ListContentsRequest listContentsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Lists the content.
This is a variant of listContents(software.amazon.awssdk.services.wisdom.model.ListContentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.ListContentsIterable responses = client.listContentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.ListContentsIterable responses = client.listContentsPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.ListContentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.ListContentsIterable responses = client.listContentsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listContentsRequest - 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.AwsServiceExceptiondefault ListContentsIterable listContentsPaginator(Consumer<ListContentsRequest.Builder> listContentsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Lists the content.
This is a variant of listContents(software.amazon.awssdk.services.wisdom.model.ListContentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.ListContentsIterable responses = client.listContentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.ListContentsIterable responses = client.listContentsPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.ListContentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.ListContentsIterable responses = client.listContentsPaginator(request);
responses.iterator().forEachRemaining(....);
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()
listContentsRequest - A Consumer that will call methods on ListContentsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListKnowledgeBasesResponse listKnowledgeBases(ListKnowledgeBasesRequest listKnowledgeBasesRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
Lists the knowledge bases.
listKnowledgeBasesRequest - 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.AwsServiceExceptiondefault ListKnowledgeBasesResponse listKnowledgeBases(Consumer<ListKnowledgeBasesRequest.Builder> listKnowledgeBasesRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
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()
listKnowledgeBasesRequest - A Consumer that will call methods on ListKnowledgeBasesRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListKnowledgeBasesIterable listKnowledgeBasesPaginator(ListKnowledgeBasesRequest listKnowledgeBasesRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
Lists the knowledge bases.
This is a variant of
listKnowledgeBases(software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesIterable responses = client.listKnowledgeBasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesIterable responses = client
.listKnowledgeBasesPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesIterable responses = client.listKnowledgeBasesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listKnowledgeBasesRequest - 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.AwsServiceExceptiondefault ListKnowledgeBasesIterable listKnowledgeBasesPaginator(Consumer<ListKnowledgeBasesRequest.Builder> listKnowledgeBasesRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, WisdomException
Lists the knowledge bases.
This is a variant of
listKnowledgeBases(software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesIterable responses = client.listKnowledgeBasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesIterable responses = client
.listKnowledgeBasesPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.ListKnowledgeBasesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.ListKnowledgeBasesIterable responses = client.listKnowledgeBasesPaginator(request);
responses.iterator().forEachRemaining(....);
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()
listKnowledgeBasesRequest - A Consumer that will call methods on ListKnowledgeBasesRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Lists the tags for the specified resource.
listTagsForResourceRequest - 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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault NotifyRecommendationsReceivedResponse notifyRecommendationsReceived(NotifyRecommendationsReceivedRequest notifyRecommendationsReceivedRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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.
notifyRecommendationsReceivedRequest - 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.AwsServiceExceptiondefault NotifyRecommendationsReceivedResponse notifyRecommendationsReceived(Consumer<NotifyRecommendationsReceivedRequest.Builder> notifyRecommendationsReceivedRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
notifyRecommendationsReceivedRequest - A Consumer that will call methods on NotifyRecommendationsReceivedRequest.Builder to
create a request.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.AwsServiceExceptiondefault QueryAssistantResponse queryAssistant(QueryAssistantRequest queryAssistantRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistantRequest - 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.AwsServiceExceptiondefault QueryAssistantResponse queryAssistant(Consumer<QueryAssistantRequest.Builder> queryAssistantRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
queryAssistantRequest - A Consumer that will call methods on QueryAssistantRequest.Builder to create a request.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.AwsServiceExceptiondefault QueryAssistantIterable queryAssistantPaginator(QueryAssistantRequest queryAssistantRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
This is a variant of queryAssistant(software.amazon.awssdk.services.wisdom.model.QueryAssistantRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.QueryAssistantIterable responses = client.queryAssistantPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.QueryAssistantIterable responses = client.queryAssistantPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.QueryAssistantResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.QueryAssistantIterable responses = client.queryAssistantPaginator(request);
responses.iterator().forEachRemaining(....);
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.
queryAssistantRequest - 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.AwsServiceExceptiondefault QueryAssistantIterable queryAssistantPaginator(Consumer<QueryAssistantRequest.Builder> queryAssistantRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
This is a variant of queryAssistant(software.amazon.awssdk.services.wisdom.model.QueryAssistantRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.QueryAssistantIterable responses = client.queryAssistantPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.QueryAssistantIterable responses = client.queryAssistantPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.QueryAssistantResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.QueryAssistantIterable responses = client.queryAssistantPaginator(request);
responses.iterator().forEachRemaining(....);
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()
queryAssistantRequest - A Consumer that will call methods on QueryAssistantRequest.Builder to create a request.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.AwsServiceExceptiondefault RemoveKnowledgeBaseTemplateUriResponse removeKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest removeKnowledgeBaseTemplateUriRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Removes a URI template from a knowledge base.
removeKnowledgeBaseTemplateUriRequest - 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.AwsServiceExceptiondefault RemoveKnowledgeBaseTemplateUriResponse removeKnowledgeBaseTemplateUri(Consumer<RemoveKnowledgeBaseTemplateUriRequest.Builder> removeKnowledgeBaseTemplateUriRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
removeKnowledgeBaseTemplateUriRequest - A Consumer that will call methods on RemoveKnowledgeBaseTemplateUriRequest.Builder to
create a request.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.AwsServiceExceptiondefault SearchContentResponse searchContent(SearchContentRequest searchContentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContentRequest - 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.AwsServiceExceptiondefault SearchContentResponse searchContent(Consumer<SearchContentRequest.Builder> searchContentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
searchContentRequest - A Consumer that will call methods on SearchContentRequest.Builder to create a request.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.AwsServiceExceptiondefault SearchContentIterable searchContentPaginator(SearchContentRequest searchContentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
This is a variant of searchContent(software.amazon.awssdk.services.wisdom.model.SearchContentRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.SearchContentIterable responses = client.searchContentPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.SearchContentIterable responses = client.searchContentPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.SearchContentResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.SearchContentIterable responses = client.searchContentPaginator(request);
responses.iterator().forEachRemaining(....);
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.
searchContentRequest - 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.AwsServiceExceptiondefault SearchContentIterable searchContentPaginator(Consumer<SearchContentRequest.Builder> searchContentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
This is a variant of searchContent(software.amazon.awssdk.services.wisdom.model.SearchContentRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.SearchContentIterable responses = client.searchContentPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.SearchContentIterable responses = client.searchContentPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.SearchContentResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.SearchContentIterable responses = client.searchContentPaginator(request);
responses.iterator().forEachRemaining(....);
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()
searchContentRequest - A Consumer that will call methods on SearchContentRequest.Builder to create a request.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.AwsServiceExceptiondefault SearchSessionsResponse searchSessions(SearchSessionsRequest searchSessionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Searches for sessions.
searchSessionsRequest - 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.AwsServiceExceptiondefault SearchSessionsResponse searchSessions(Consumer<SearchSessionsRequest.Builder> searchSessionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
searchSessionsRequest - A Consumer that will call methods on SearchSessionsRequest.Builder to create a request.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.AwsServiceExceptiondefault SearchSessionsIterable searchSessionsPaginator(SearchSessionsRequest searchSessionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Searches for sessions.
This is a variant of searchSessions(software.amazon.awssdk.services.wisdom.model.SearchSessionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.SearchSessionsIterable responses = client.searchSessionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.SearchSessionsIterable responses = client.searchSessionsPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.SearchSessionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.SearchSessionsIterable responses = client.searchSessionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
searchSessionsRequest - 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.AwsServiceExceptiondefault SearchSessionsIterable searchSessionsPaginator(Consumer<SearchSessionsRequest.Builder> searchSessionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Searches for sessions.
This is a variant of searchSessions(software.amazon.awssdk.services.wisdom.model.SearchSessionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.wisdom.paginators.SearchSessionsIterable responses = client.searchSessionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.wisdom.paginators.SearchSessionsIterable responses = client.searchSessionsPaginator(request);
for (software.amazon.awssdk.services.wisdom.model.SearchSessionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.wisdom.paginators.SearchSessionsIterable responses = client.searchSessionsPaginator(request);
responses.iterator().forEachRemaining(....);
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()
searchSessionsRequest - A Consumer that will call methods on SearchSessionsRequest.Builder to create a request.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.AwsServiceExceptiondefault StartContentUploadResponse startContentUpload(StartContentUploadRequest startContentUploadRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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.
startContentUploadRequest - 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.AwsServiceExceptiondefault StartContentUploadResponse startContentUpload(Consumer<StartContentUploadRequest.Builder> startContentUploadRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
startContentUploadRequest - A Consumer that will call methods on StartContentUploadRequest.Builder to create a
request.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.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws TooManyTagsException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Adds the specified tags to the specified resource.
tagResourceRequest - 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.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws TooManyTagsException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.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.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Removes the specified tags from the specified resource.
untagResourceRequest - 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.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.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.AwsServiceExceptiondefault UpdateContentResponse updateContent(UpdateContentRequest updateContentRequest) throws ValidationException, AccessDeniedException, PreconditionFailedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
Updates information about the content.
updateContentRequest - 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.AwsServiceExceptiondefault UpdateContentResponse updateContent(Consumer<UpdateContentRequest.Builder> updateContentRequest) throws ValidationException, AccessDeniedException, PreconditionFailedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
updateContentRequest - A Consumer that will call methods on UpdateContentRequest.Builder to create a request.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.AwsServiceExceptiondefault UpdateKnowledgeBaseTemplateUriResponse updateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest updateKnowledgeBaseTemplateUriRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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.
updateKnowledgeBaseTemplateUriRequest - 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.AwsServiceExceptiondefault UpdateKnowledgeBaseTemplateUriResponse updateKnowledgeBaseTemplateUri(Consumer<UpdateKnowledgeBaseTemplateUriRequest.Builder> updateKnowledgeBaseTemplateUriRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, WisdomException
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()
updateKnowledgeBaseTemplateUriRequest - A Consumer that will call methods on UpdateKnowledgeBaseTemplateUriRequest.Builder to
create a request.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.AwsServiceExceptionstatic WisdomClient create()
WisdomClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static WisdomClientBuilder builder()
WisdomClient.static ServiceMetadata serviceMetadata()
Copyright © 2023. All rights reserved.