ConnectWisdomServiceClient#
Index > ConnectWisdomService > ConnectWisdomServiceClient
Auto-generated documentation for ConnectWisdomService type annotations stubs module types-boto3-wisdom.
ConnectWisdomServiceClient#
Type annotations and code completion for boto3.client("wisdom")
.
boto3 documentation
# ConnectWisdomServiceClient usage example
from boto3.session import Session
from types_boto3_wisdom.client import ConnectWisdomServiceClient
def get_wisdom_client() -> ConnectWisdomServiceClient:
return Session().client("wisdom")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("wisdom").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("wisdom")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.PreconditionFailedException,
client.exceptions.RequestTimeoutException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ServiceQuotaExceededException,
client.exceptions.TooManyTagsException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from types_boto3_wisdom.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("wisdom").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("wisdom").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
create_assistant#
Creates an Amazon Connect Wisdom assistant.
Type annotations and code completion for boto3.client("wisdom").create_assistant
method.
boto3 documentation
# create_assistant method definition
def create_assistant(
self,
*,
name: str,
type: AssistantTypeType, # (1)
clientToken: str = ...,
description: str = ...,
serverSideEncryptionConfiguration: ServerSideEncryptionConfigurationTypeDef = ..., # (2)
tags: Mapping[str, str] = ...,
) -> CreateAssistantResponseTypeDef: # (3)
...
- See AssistantTypeType
- See ServerSideEncryptionConfigurationTypeDef
- See CreateAssistantResponseTypeDef
# create_assistant method usage example with argument unpacking
kwargs: CreateAssistantRequestRequestTypeDef = { # (1)
"name": ...,
"type": ...,
}
parent.create_assistant(**kwargs)
create_assistant_association#
Creates an association between an Amazon Connect Wisdom assistant and another resource.
Type annotations and code completion for boto3.client("wisdom").create_assistant_association
method.
boto3 documentation
# create_assistant_association method definition
def create_assistant_association(
self,
*,
assistantId: str,
association: AssistantAssociationInputDataTypeDef, # (1)
associationType: AssociationTypeType, # (2)
clientToken: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateAssistantAssociationResponseTypeDef: # (3)
...
- See AssistantAssociationInputDataTypeDef
- See AssociationTypeType
- See CreateAssistantAssociationResponseTypeDef
# create_assistant_association method usage example with argument unpacking
kwargs: CreateAssistantAssociationRequestRequestTypeDef = { # (1)
"assistantId": ...,
"association": ...,
"associationType": ...,
}
parent.create_assistant_association(**kwargs)
create_content#
Creates Wisdom content.
Type annotations and code completion for boto3.client("wisdom").create_content
method.
boto3 documentation
# create_content method definition
def create_content(
self,
*,
knowledgeBaseId: str,
name: str,
uploadId: str,
clientToken: str = ...,
metadata: Mapping[str, str] = ...,
overrideLinkOutUri: str = ...,
tags: Mapping[str, str] = ...,
title: str = ...,
) -> CreateContentResponseTypeDef: # (1)
...
# create_content method usage example with argument unpacking
kwargs: CreateContentRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
"name": ...,
"uploadId": ...,
}
parent.create_content(**kwargs)
create_knowledge_base#
Creates a knowledge base.
Type annotations and code completion for boto3.client("wisdom").create_knowledge_base
method.
boto3 documentation
# create_knowledge_base method definition
def create_knowledge_base(
self,
*,
knowledgeBaseType: KnowledgeBaseTypeType, # (1)
name: str,
clientToken: str = ...,
description: str = ...,
renderingConfiguration: RenderingConfigurationTypeDef = ..., # (2)
serverSideEncryptionConfiguration: ServerSideEncryptionConfigurationTypeDef = ..., # (3)
sourceConfiguration: SourceConfigurationTypeDef = ..., # (4)
tags: Mapping[str, str] = ...,
) -> CreateKnowledgeBaseResponseTypeDef: # (5)
...
- See KnowledgeBaseTypeType
- See RenderingConfigurationTypeDef
- See ServerSideEncryptionConfigurationTypeDef
- See SourceConfigurationTypeDef
- See CreateKnowledgeBaseResponseTypeDef
# create_knowledge_base method usage example with argument unpacking
kwargs: CreateKnowledgeBaseRequestRequestTypeDef = { # (1)
"knowledgeBaseType": ...,
"name": ...,
}
parent.create_knowledge_base(**kwargs)
create_quick_response#
Creates a Wisdom quick response.
Type annotations and code completion for boto3.client("wisdom").create_quick_response
method.
boto3 documentation
# create_quick_response method definition
def create_quick_response(
self,
*,
content: QuickResponseDataProviderTypeDef, # (1)
knowledgeBaseId: str,
name: str,
channels: Sequence[str] = ...,
clientToken: str = ...,
contentType: str = ...,
description: str = ...,
groupingConfiguration: GroupingConfigurationTypeDef = ..., # (2)
isActive: bool = ...,
language: str = ...,
shortcutKey: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateQuickResponseResponseTypeDef: # (3)
...
- See QuickResponseDataProviderTypeDef
- See GroupingConfigurationTypeDef
- See CreateQuickResponseResponseTypeDef
# create_quick_response method usage example with argument unpacking
kwargs: CreateQuickResponseRequestRequestTypeDef = { # (1)
"content": ...,
"knowledgeBaseId": ...,
"name": ...,
}
parent.create_quick_response(**kwargs)
create_session#
Creates a session.
Type annotations and code completion for boto3.client("wisdom").create_session
method.
boto3 documentation
# create_session method definition
def create_session(
self,
*,
assistantId: str,
name: str,
clientToken: str = ...,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateSessionResponseTypeDef: # (1)
...
# create_session method usage example with argument unpacking
kwargs: CreateSessionRequestRequestTypeDef = { # (1)
"assistantId": ...,
"name": ...,
}
parent.create_session(**kwargs)
delete_assistant#
Deletes an assistant.
Type annotations and code completion for boto3.client("wisdom").delete_assistant
method.
boto3 documentation
# delete_assistant method definition
def delete_assistant(
self,
*,
assistantId: str,
) -> dict[str, Any]:
...
# delete_assistant method usage example with argument unpacking
kwargs: DeleteAssistantRequestRequestTypeDef = { # (1)
"assistantId": ...,
}
parent.delete_assistant(**kwargs)
delete_assistant_association#
Deletes an assistant association.
Type annotations and code completion for boto3.client("wisdom").delete_assistant_association
method.
boto3 documentation
# delete_assistant_association method definition
def delete_assistant_association(
self,
*,
assistantAssociationId: str,
assistantId: str,
) -> dict[str, Any]:
...
# delete_assistant_association method usage example with argument unpacking
kwargs: DeleteAssistantAssociationRequestRequestTypeDef = { # (1)
"assistantAssociationId": ...,
"assistantId": ...,
}
parent.delete_assistant_association(**kwargs)
delete_content#
Deletes the content.
Type annotations and code completion for boto3.client("wisdom").delete_content
method.
boto3 documentation
# delete_content method definition
def delete_content(
self,
*,
contentId: str,
knowledgeBaseId: str,
) -> dict[str, Any]:
...
# delete_content method usage example with argument unpacking
kwargs: DeleteContentRequestRequestTypeDef = { # (1)
"contentId": ...,
"knowledgeBaseId": ...,
}
parent.delete_content(**kwargs)
delete_import_job#
Deletes the quick response import job.
Type annotations and code completion for boto3.client("wisdom").delete_import_job
method.
boto3 documentation
# delete_import_job method definition
def delete_import_job(
self,
*,
importJobId: str,
knowledgeBaseId: str,
) -> dict[str, Any]:
...
# delete_import_job method usage example with argument unpacking
kwargs: DeleteImportJobRequestRequestTypeDef = { # (1)
"importJobId": ...,
"knowledgeBaseId": ...,
}
parent.delete_import_job(**kwargs)
delete_knowledge_base#
Deletes the knowledge base.
Type annotations and code completion for boto3.client("wisdom").delete_knowledge_base
method.
boto3 documentation
# delete_knowledge_base method definition
def delete_knowledge_base(
self,
*,
knowledgeBaseId: str,
) -> dict[str, Any]:
...
# delete_knowledge_base method usage example with argument unpacking
kwargs: DeleteKnowledgeBaseRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.delete_knowledge_base(**kwargs)
delete_quick_response#
Deletes a quick response.
Type annotations and code completion for boto3.client("wisdom").delete_quick_response
method.
boto3 documentation
# delete_quick_response method definition
def delete_quick_response(
self,
*,
knowledgeBaseId: str,
quickResponseId: str,
) -> dict[str, Any]:
...
# delete_quick_response method usage example with argument unpacking
kwargs: DeleteQuickResponseRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
"quickResponseId": ...,
}
parent.delete_quick_response(**kwargs)
get_assistant#
Retrieves information about an assistant.
Type annotations and code completion for boto3.client("wisdom").get_assistant
method.
boto3 documentation
# get_assistant method definition
def get_assistant(
self,
*,
assistantId: str,
) -> GetAssistantResponseTypeDef: # (1)
...
# get_assistant method usage example with argument unpacking
kwargs: GetAssistantRequestRequestTypeDef = { # (1)
"assistantId": ...,
}
parent.get_assistant(**kwargs)
get_assistant_association#
Retrieves information about an assistant association.
Type annotations and code completion for boto3.client("wisdom").get_assistant_association
method.
boto3 documentation
# get_assistant_association method definition
def get_assistant_association(
self,
*,
assistantAssociationId: str,
assistantId: str,
) -> GetAssistantAssociationResponseTypeDef: # (1)
...
# get_assistant_association method usage example with argument unpacking
kwargs: GetAssistantAssociationRequestRequestTypeDef = { # (1)
"assistantAssociationId": ...,
"assistantId": ...,
}
parent.get_assistant_association(**kwargs)
get_content#
Retrieves content, including a pre-signed URL to download the content.
Type annotations and code completion for boto3.client("wisdom").get_content
method.
boto3 documentation
# get_content method definition
def get_content(
self,
*,
contentId: str,
knowledgeBaseId: str,
) -> GetContentResponseTypeDef: # (1)
...
# get_content method usage example with argument unpacking
kwargs: GetContentRequestRequestTypeDef = { # (1)
"contentId": ...,
"knowledgeBaseId": ...,
}
parent.get_content(**kwargs)
get_content_summary#
Retrieves summary information about the content.
Type annotations and code completion for boto3.client("wisdom").get_content_summary
method.
boto3 documentation
# get_content_summary method definition
def get_content_summary(
self,
*,
contentId: str,
knowledgeBaseId: str,
) -> GetContentSummaryResponseTypeDef: # (1)
...
# get_content_summary method usage example with argument unpacking
kwargs: GetContentSummaryRequestRequestTypeDef = { # (1)
"contentId": ...,
"knowledgeBaseId": ...,
}
parent.get_content_summary(**kwargs)
get_import_job#
Retrieves the started import job.
Type annotations and code completion for boto3.client("wisdom").get_import_job
method.
boto3 documentation
# get_import_job method definition
def get_import_job(
self,
*,
importJobId: str,
knowledgeBaseId: str,
) -> GetImportJobResponseTypeDef: # (1)
...
# get_import_job method usage example with argument unpacking
kwargs: GetImportJobRequestRequestTypeDef = { # (1)
"importJobId": ...,
"knowledgeBaseId": ...,
}
parent.get_import_job(**kwargs)
get_knowledge_base#
Retrieves information about the knowledge base.
Type annotations and code completion for boto3.client("wisdom").get_knowledge_base
method.
boto3 documentation
# get_knowledge_base method definition
def get_knowledge_base(
self,
*,
knowledgeBaseId: str,
) -> GetKnowledgeBaseResponseTypeDef: # (1)
...
# get_knowledge_base method usage example with argument unpacking
kwargs: GetKnowledgeBaseRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.get_knowledge_base(**kwargs)
get_quick_response#
Retrieves the quick response.
Type annotations and code completion for boto3.client("wisdom").get_quick_response
method.
boto3 documentation
# get_quick_response method definition
def get_quick_response(
self,
*,
knowledgeBaseId: str,
quickResponseId: str,
) -> GetQuickResponseResponseTypeDef: # (1)
...
# get_quick_response method usage example with argument unpacking
kwargs: GetQuickResponseRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
"quickResponseId": ...,
}
parent.get_quick_response(**kwargs)
get_recommendations#
Retrieves recommendations for the specified session.
Type annotations and code completion for boto3.client("wisdom").get_recommendations
method.
boto3 documentation
# get_recommendations method definition
def get_recommendations(
self,
*,
assistantId: str,
sessionId: str,
maxResults: int = ...,
waitTimeSeconds: int = ...,
) -> GetRecommendationsResponseTypeDef: # (1)
...
# get_recommendations method usage example with argument unpacking
kwargs: GetRecommendationsRequestRequestTypeDef = { # (1)
"assistantId": ...,
"sessionId": ...,
}
parent.get_recommendations(**kwargs)
get_session#
Retrieves information for a specified session.
Type annotations and code completion for boto3.client("wisdom").get_session
method.
boto3 documentation
# get_session method definition
def get_session(
self,
*,
assistantId: str,
sessionId: str,
) -> GetSessionResponseTypeDef: # (1)
...
# get_session method usage example with argument unpacking
kwargs: GetSessionRequestRequestTypeDef = { # (1)
"assistantId": ...,
"sessionId": ...,
}
parent.get_session(**kwargs)
list_assistant_associations#
Lists information about assistant associations.
Type annotations and code completion for boto3.client("wisdom").list_assistant_associations
method.
boto3 documentation
# list_assistant_associations method definition
def list_assistant_associations(
self,
*,
assistantId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAssistantAssociationsResponseTypeDef: # (1)
...
# list_assistant_associations method usage example with argument unpacking
kwargs: ListAssistantAssociationsRequestRequestTypeDef = { # (1)
"assistantId": ...,
}
parent.list_assistant_associations(**kwargs)
list_assistants#
Lists information about assistants.
Type annotations and code completion for boto3.client("wisdom").list_assistants
method.
boto3 documentation
# list_assistants method definition
def list_assistants(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAssistantsResponseTypeDef: # (1)
...
# list_assistants method usage example with argument unpacking
kwargs: ListAssistantsRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_assistants(**kwargs)
list_contents#
Lists the content.
Type annotations and code completion for boto3.client("wisdom").list_contents
method.
boto3 documentation
# list_contents method definition
def list_contents(
self,
*,
knowledgeBaseId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListContentsResponseTypeDef: # (1)
...
# list_contents method usage example with argument unpacking
kwargs: ListContentsRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.list_contents(**kwargs)
list_import_jobs#
Lists information about import jobs.
Type annotations and code completion for boto3.client("wisdom").list_import_jobs
method.
boto3 documentation
# list_import_jobs method definition
def list_import_jobs(
self,
*,
knowledgeBaseId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListImportJobsResponseTypeDef: # (1)
...
# list_import_jobs method usage example with argument unpacking
kwargs: ListImportJobsRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.list_import_jobs(**kwargs)
list_knowledge_bases#
Lists the knowledge bases.
Type annotations and code completion for boto3.client("wisdom").list_knowledge_bases
method.
boto3 documentation
# list_knowledge_bases method definition
def list_knowledge_bases(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> ListKnowledgeBasesResponseTypeDef: # (1)
...
# list_knowledge_bases method usage example with argument unpacking
kwargs: ListKnowledgeBasesRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_knowledge_bases(**kwargs)
list_quick_responses#
Lists information about quick response.
Type annotations and code completion for boto3.client("wisdom").list_quick_responses
method.
boto3 documentation
# list_quick_responses method definition
def list_quick_responses(
self,
*,
knowledgeBaseId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListQuickResponsesResponseTypeDef: # (1)
...
# list_quick_responses method usage example with argument unpacking
kwargs: ListQuickResponsesRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.list_quick_responses(**kwargs)
list_tags_for_resource#
Lists the tags for the specified resource.
Type annotations and code completion for boto3.client("wisdom").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
notify_recommendations_received#
Removes the specified recommendations from the specified assistant's queue of newly available recommendations.
Type annotations and code completion for boto3.client("wisdom").notify_recommendations_received
method.
boto3 documentation
# notify_recommendations_received method definition
def notify_recommendations_received(
self,
*,
assistantId: str,
recommendationIds: Sequence[str],
sessionId: str,
) -> NotifyRecommendationsReceivedResponseTypeDef: # (1)
...
# notify_recommendations_received method usage example with argument unpacking
kwargs: NotifyRecommendationsReceivedRequestRequestTypeDef = { # (1)
"assistantId": ...,
"recommendationIds": ...,
"sessionId": ...,
}
parent.notify_recommendations_received(**kwargs)
query_assistant#
Performs a manual search against the specified assistant.
Type annotations and code completion for boto3.client("wisdom").query_assistant
method.
boto3 documentation
# query_assistant method definition
def query_assistant(
self,
*,
assistantId: str,
queryText: str,
maxResults: int = ...,
nextToken: str = ...,
) -> QueryAssistantResponseTypeDef: # (1)
...
# query_assistant method usage example with argument unpacking
kwargs: QueryAssistantRequestRequestTypeDef = { # (1)
"assistantId": ...,
"queryText": ...,
}
parent.query_assistant(**kwargs)
remove_knowledge_base_template_uri#
Removes a URI template from a knowledge base.
Type annotations and code completion for boto3.client("wisdom").remove_knowledge_base_template_uri
method.
boto3 documentation
# remove_knowledge_base_template_uri method definition
def remove_knowledge_base_template_uri(
self,
*,
knowledgeBaseId: str,
) -> dict[str, Any]:
...
# remove_knowledge_base_template_uri method usage example with argument unpacking
kwargs: RemoveKnowledgeBaseTemplateUriRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.remove_knowledge_base_template_uri(**kwargs)
search_content#
Searches for content in a specified knowledge base.
Type annotations and code completion for boto3.client("wisdom").search_content
method.
boto3 documentation
# search_content method definition
def search_content(
self,
*,
knowledgeBaseId: str,
searchExpression: SearchExpressionTypeDef, # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> SearchContentResponseTypeDef: # (2)
...
# search_content method usage example with argument unpacking
kwargs: SearchContentRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
"searchExpression": ...,
}
parent.search_content(**kwargs)
search_quick_responses#
Searches existing Wisdom quick responses in a Wisdom knowledge base.
Type annotations and code completion for boto3.client("wisdom").search_quick_responses
method.
boto3 documentation
# search_quick_responses method definition
def search_quick_responses(
self,
*,
knowledgeBaseId: str,
searchExpression: QuickResponseSearchExpressionTypeDef, # (1)
attributes: Mapping[str, str] = ...,
maxResults: int = ...,
nextToken: str = ...,
) -> SearchQuickResponsesResponseTypeDef: # (2)
...
# search_quick_responses method usage example with argument unpacking
kwargs: SearchQuickResponsesRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
"searchExpression": ...,
}
parent.search_quick_responses(**kwargs)
search_sessions#
Searches for sessions.
Type annotations and code completion for boto3.client("wisdom").search_sessions
method.
boto3 documentation
# search_sessions method definition
def search_sessions(
self,
*,
assistantId: str,
searchExpression: SearchExpressionTypeDef, # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> SearchSessionsResponseTypeDef: # (2)
...
# search_sessions method usage example with argument unpacking
kwargs: SearchSessionsRequestRequestTypeDef = { # (1)
"assistantId": ...,
"searchExpression": ...,
}
parent.search_sessions(**kwargs)
start_content_upload#
Get a URL to upload content to a knowledge base.
Type annotations and code completion for boto3.client("wisdom").start_content_upload
method.
boto3 documentation
# start_content_upload method definition
def start_content_upload(
self,
*,
contentType: str,
knowledgeBaseId: str,
presignedUrlTimeToLive: int = ...,
) -> StartContentUploadResponseTypeDef: # (1)
...
# start_content_upload method usage example with argument unpacking
kwargs: StartContentUploadRequestRequestTypeDef = { # (1)
"contentType": ...,
"knowledgeBaseId": ...,
}
parent.start_content_upload(**kwargs)
start_import_job#
Start an asynchronous job to import Wisdom resources from an uploaded source file.
Type annotations and code completion for boto3.client("wisdom").start_import_job
method.
boto3 documentation
# start_import_job method definition
def start_import_job(
self,
*,
importJobType: ImportJobTypeType, # (1)
knowledgeBaseId: str,
uploadId: str,
clientToken: str = ...,
externalSourceConfiguration: ExternalSourceConfigurationTypeDef = ..., # (2)
metadata: Mapping[str, str] = ...,
) -> StartImportJobResponseTypeDef: # (3)
...
# start_import_job method usage example with argument unpacking
kwargs: StartImportJobRequestRequestTypeDef = { # (1)
"importJobType": ...,
"knowledgeBaseId": ...,
"uploadId": ...,
}
parent.start_import_job(**kwargs)
tag_resource#
Adds the specified tags to the specified resource.
Type annotations and code completion for boto3.client("wisdom").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> dict[str, Any]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes the specified tags from the specified resource.
Type annotations and code completion for boto3.client("wisdom").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_content#
Updates information about the content.
Type annotations and code completion for boto3.client("wisdom").update_content
method.
boto3 documentation
# update_content method definition
def update_content(
self,
*,
contentId: str,
knowledgeBaseId: str,
metadata: Mapping[str, str] = ...,
overrideLinkOutUri: str = ...,
removeOverrideLinkOutUri: bool = ...,
revisionId: str = ...,
title: str = ...,
uploadId: str = ...,
) -> UpdateContentResponseTypeDef: # (1)
...
# update_content method usage example with argument unpacking
kwargs: UpdateContentRequestRequestTypeDef = { # (1)
"contentId": ...,
"knowledgeBaseId": ...,
}
parent.update_content(**kwargs)
update_knowledge_base_template_uri#
Updates the template URI of a knowledge base.
Type annotations and code completion for boto3.client("wisdom").update_knowledge_base_template_uri
method.
boto3 documentation
# update_knowledge_base_template_uri method definition
def update_knowledge_base_template_uri(
self,
*,
knowledgeBaseId: str,
templateUri: str,
) -> UpdateKnowledgeBaseTemplateUriResponseTypeDef: # (1)
...
# update_knowledge_base_template_uri method usage example with argument unpacking
kwargs: UpdateKnowledgeBaseTemplateUriRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
"templateUri": ...,
}
parent.update_knowledge_base_template_uri(**kwargs)
update_quick_response#
Updates an existing Wisdom quick response.
Type annotations and code completion for boto3.client("wisdom").update_quick_response
method.
boto3 documentation
# update_quick_response method definition
def update_quick_response(
self,
*,
knowledgeBaseId: str,
quickResponseId: str,
channels: Sequence[str] = ...,
content: QuickResponseDataProviderTypeDef = ..., # (1)
contentType: str = ...,
description: str = ...,
groupingConfiguration: GroupingConfigurationTypeDef = ..., # (2)
isActive: bool = ...,
language: str = ...,
name: str = ...,
removeDescription: bool = ...,
removeGroupingConfiguration: bool = ...,
removeShortcutKey: bool = ...,
shortcutKey: str = ...,
) -> UpdateQuickResponseResponseTypeDef: # (3)
...
- See QuickResponseDataProviderTypeDef
- See GroupingConfigurationTypeDef
- See UpdateQuickResponseResponseTypeDef
# update_quick_response method usage example with argument unpacking
kwargs: UpdateQuickResponseRequestRequestTypeDef = { # (1)
"knowledgeBaseId": ...,
"quickResponseId": ...,
}
parent.update_quick_response(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("wisdom").get_paginator
method with overloads.
client.get_paginator("list_assistant_associations")
-> ListAssistantAssociationsPaginatorclient.get_paginator("list_assistants")
-> ListAssistantsPaginatorclient.get_paginator("list_contents")
-> ListContentsPaginatorclient.get_paginator("list_import_jobs")
-> ListImportJobsPaginatorclient.get_paginator("list_knowledge_bases")
-> ListKnowledgeBasesPaginatorclient.get_paginator("list_quick_responses")
-> ListQuickResponsesPaginatorclient.get_paginator("query_assistant")
-> QueryAssistantPaginatorclient.get_paginator("search_content")
-> SearchContentPaginatorclient.get_paginator("search_quick_responses")
-> SearchQuickResponsesPaginatorclient.get_paginator("search_sessions")
-> SearchSessionsPaginator