QBusinessClient#
Auto-generated documentation for QBusiness type annotations stubs module mypy-boto3-qbusiness.
QBusinessClient#
Type annotations and code completion for boto3.client("qbusiness")
.
boto3 documentation
# QBusinessClient usage example
from boto3.session import Session
from mypy_boto3_qbusiness.client import QBusinessClient
def get_qbusiness_client() -> QBusinessClient:
return Session().client("qbusiness")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("qbusiness").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("qbusiness")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.InternalServerException,
client.exceptions.LicenseNotFoundException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ServiceQuotaExceededException,
client.exceptions.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_qbusiness.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
batch_delete_document#
Asynchronously deletes one or more documents added using the BatchPutDocument
API from an Amazon Q Business index.
Type annotations and code completion for boto3.client("qbusiness").batch_delete_document
method.
boto3 documentation
# batch_delete_document method definition
def batch_delete_document(
self,
*,
applicationId: str,
indexId: str,
documents: Sequence[DeleteDocumentTypeDef], # (1)
dataSourceSyncId: str = ...,
) -> BatchDeleteDocumentResponseTypeDef: # (2)
...
# batch_delete_document method usage example with argument unpacking
kwargs: BatchDeleteDocumentRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"documents": ...,
}
parent.batch_delete_document(**kwargs)
batch_put_document#
Adds one or more documents to an Amazon Q Business index.
Type annotations and code completion for boto3.client("qbusiness").batch_put_document
method.
boto3 documentation
# batch_put_document method definition
def batch_put_document(
self,
*,
applicationId: str,
indexId: str,
documents: Sequence[DocumentTypeDef], # (1)
roleArn: str = ...,
dataSourceSyncId: str = ...,
) -> BatchPutDocumentResponseTypeDef: # (2)
...
# batch_put_document method usage example with argument unpacking
kwargs: BatchPutDocumentRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"documents": ...,
}
parent.batch_put_document(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("qbusiness").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
chat_sync#
Starts or continues a non-streaming Amazon Q Business conversation.
Type annotations and code completion for boto3.client("qbusiness").chat_sync
method.
boto3 documentation
# chat_sync method definition
def chat_sync(
self,
*,
applicationId: str,
userId: str = ...,
userGroups: Sequence[str] = ...,
userMessage: str = ...,
attachments: Sequence[AttachmentInputTypeDef] = ..., # (1)
actionExecution: ActionExecutionTypeDef = ..., # (2)
authChallengeResponse: AuthChallengeResponseTypeDef = ..., # (3)
conversationId: str = ...,
parentMessageId: str = ...,
attributeFilter: AttributeFilterTypeDef = ..., # (4)
chatMode: ChatModeType = ..., # (5)
chatModeConfiguration: ChatModeConfigurationTypeDef = ..., # (6)
clientToken: str = ...,
) -> ChatSyncOutputTypeDef: # (7)
...
- See AttachmentInputTypeDef
- See ActionExecutionTypeDef
- See AuthChallengeResponseTypeDef
- See AttributeFilterTypeDef
- See ChatModeType
- See ChatModeConfigurationTypeDef
- See ChatSyncOutputTypeDef
# chat_sync method usage example with argument unpacking
kwargs: ChatSyncInputRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.chat_sync(**kwargs)
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("qbusiness").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_application#
Creates an Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").create_application
method.
boto3 documentation
# create_application method definition
def create_application(
self,
*,
displayName: str,
roleArn: str = ...,
identityType: IdentityTypeType = ..., # (1)
iamIdentityProviderArn: str = ...,
identityCenterInstanceArn: str = ...,
clientIdsForOIDC: Sequence[str] = ...,
description: str = ...,
encryptionConfiguration: EncryptionConfigurationTypeDef = ..., # (2)
tags: Sequence[TagTypeDef] = ..., # (3)
clientToken: str = ...,
attachmentsConfiguration: AttachmentsConfigurationTypeDef = ..., # (4)
qAppsConfiguration: QAppsConfigurationTypeDef = ..., # (5)
personalizationConfiguration: PersonalizationConfigurationTypeDef = ..., # (6)
) -> CreateApplicationResponseTypeDef: # (7)
...
- See IdentityTypeType
- See EncryptionConfigurationTypeDef
- See TagTypeDef
- See AttachmentsConfigurationTypeDef
- See QAppsConfigurationTypeDef
- See PersonalizationConfigurationTypeDef
- See CreateApplicationResponseTypeDef
# create_application method usage example with argument unpacking
kwargs: CreateApplicationRequestRequestTypeDef = { # (1)
"displayName": ...,
}
parent.create_application(**kwargs)
create_data_source#
Creates a data source connector for an Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").create_data_source
method.
boto3 documentation
# create_data_source method definition
def create_data_source(
self,
*,
applicationId: str,
indexId: str,
displayName: str,
configuration: Mapping[str, Any],
vpcConfiguration: DataSourceVpcConfigurationTypeDef = ..., # (1)
description: str = ...,
tags: Sequence[TagTypeDef] = ..., # (2)
syncSchedule: str = ...,
roleArn: str = ...,
clientToken: str = ...,
documentEnrichmentConfiguration: DocumentEnrichmentConfigurationTypeDef = ..., # (3)
) -> CreateDataSourceResponseTypeDef: # (4)
...
- See DataSourceVpcConfigurationTypeDef
- See TagTypeDef
- See DocumentEnrichmentConfigurationTypeDef
- See CreateDataSourceResponseTypeDef
# create_data_source method usage example with argument unpacking
kwargs: CreateDataSourceRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"displayName": ...,
"configuration": ...,
}
parent.create_data_source(**kwargs)
create_index#
Creates an Amazon Q Business index.
Type annotations and code completion for boto3.client("qbusiness").create_index
method.
boto3 documentation
# create_index method definition
def create_index(
self,
*,
applicationId: str,
displayName: str,
type: IndexTypeType = ..., # (1)
description: str = ...,
tags: Sequence[TagTypeDef] = ..., # (2)
capacityConfiguration: IndexCapacityConfigurationTypeDef = ..., # (3)
clientToken: str = ...,
) -> CreateIndexResponseTypeDef: # (4)
...
- See IndexTypeType
- See TagTypeDef
- See IndexCapacityConfigurationTypeDef
- See CreateIndexResponseTypeDef
# create_index method usage example with argument unpacking
kwargs: CreateIndexRequestRequestTypeDef = { # (1)
"applicationId": ...,
"displayName": ...,
}
parent.create_index(**kwargs)
create_plugin#
Creates an Amazon Q Business plugin.
Type annotations and code completion for boto3.client("qbusiness").create_plugin
method.
boto3 documentation
# create_plugin method definition
def create_plugin(
self,
*,
applicationId: str,
displayName: str,
type: PluginTypeType, # (1)
authConfiguration: PluginAuthConfigurationTypeDef, # (2)
serverUrl: str = ...,
customPluginConfiguration: CustomPluginConfigurationTypeDef = ..., # (3)
tags: Sequence[TagTypeDef] = ..., # (4)
clientToken: str = ...,
) -> CreatePluginResponseTypeDef: # (5)
...
- See PluginTypeType
- See PluginAuthConfigurationTypeDef
- See CustomPluginConfigurationTypeDef
- See TagTypeDef
- See CreatePluginResponseTypeDef
# create_plugin method usage example with argument unpacking
kwargs: CreatePluginRequestRequestTypeDef = { # (1)
"applicationId": ...,
"displayName": ...,
"type": ...,
"authConfiguration": ...,
}
parent.create_plugin(**kwargs)
create_retriever#
Adds a retriever to your Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").create_retriever
method.
boto3 documentation
# create_retriever method definition
def create_retriever(
self,
*,
applicationId: str,
type: RetrieverTypeType, # (1)
displayName: str,
configuration: RetrieverConfigurationTypeDef, # (2)
roleArn: str = ...,
clientToken: str = ...,
tags: Sequence[TagTypeDef] = ..., # (3)
) -> CreateRetrieverResponseTypeDef: # (4)
...
- See RetrieverTypeType
- See RetrieverConfigurationTypeDef
- See TagTypeDef
- See CreateRetrieverResponseTypeDef
# create_retriever method usage example with argument unpacking
kwargs: CreateRetrieverRequestRequestTypeDef = { # (1)
"applicationId": ...,
"type": ...,
"displayName": ...,
"configuration": ...,
}
parent.create_retriever(**kwargs)
create_user#
Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
Type annotations and code completion for boto3.client("qbusiness").create_user
method.
boto3 documentation
# create_user method definition
def create_user(
self,
*,
applicationId: str,
userId: str,
userAliases: Sequence[UserAliasTypeDef] = ..., # (1)
clientToken: str = ...,
) -> Dict[str, Any]:
...
- See UserAliasTypeDef
# create_user method usage example with argument unpacking
kwargs: CreateUserRequestRequestTypeDef = { # (1)
"applicationId": ...,
"userId": ...,
}
parent.create_user(**kwargs)
create_web_experience#
Creates an Amazon Q Business web experience.
Type annotations and code completion for boto3.client("qbusiness").create_web_experience
method.
boto3 documentation
# create_web_experience method definition
def create_web_experience(
self,
*,
applicationId: str,
title: str = ...,
subtitle: str = ...,
welcomeMessage: str = ...,
samplePromptsControlMode: WebExperienceSamplePromptsControlModeType = ..., # (1)
origins: Sequence[str] = ...,
roleArn: str = ...,
tags: Sequence[TagTypeDef] = ..., # (2)
clientToken: str = ...,
identityProviderConfiguration: IdentityProviderConfigurationTypeDef = ..., # (3)
) -> CreateWebExperienceResponseTypeDef: # (4)
...
- See WebExperienceSamplePromptsControlModeType
- See TagTypeDef
- See IdentityProviderConfigurationTypeDef
- See CreateWebExperienceResponseTypeDef
# create_web_experience method usage example with argument unpacking
kwargs: CreateWebExperienceRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.create_web_experience(**kwargs)
delete_application#
Deletes an Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").delete_application
method.
boto3 documentation
# delete_application method definition
def delete_application(
self,
*,
applicationId: str,
) -> Dict[str, Any]:
...
# delete_application method usage example with argument unpacking
kwargs: DeleteApplicationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.delete_application(**kwargs)
delete_chat_controls_configuration#
Deletes chat controls configured for an existing Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").delete_chat_controls_configuration
method.
boto3 documentation
# delete_chat_controls_configuration method definition
def delete_chat_controls_configuration(
self,
*,
applicationId: str,
) -> Dict[str, Any]:
...
# delete_chat_controls_configuration method usage example with argument unpacking
kwargs: DeleteChatControlsConfigurationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.delete_chat_controls_configuration(**kwargs)
delete_conversation#
Deletes an Amazon Q Business web experience conversation.
Type annotations and code completion for boto3.client("qbusiness").delete_conversation
method.
boto3 documentation
# delete_conversation method definition
def delete_conversation(
self,
*,
conversationId: str,
applicationId: str,
userId: str = ...,
) -> Dict[str, Any]:
...
# delete_conversation method usage example with argument unpacking
kwargs: DeleteConversationRequestRequestTypeDef = { # (1)
"conversationId": ...,
"applicationId": ...,
}
parent.delete_conversation(**kwargs)
delete_data_source#
Deletes an Amazon Q Business data source connector.
Type annotations and code completion for boto3.client("qbusiness").delete_data_source
method.
boto3 documentation
# delete_data_source method definition
def delete_data_source(
self,
*,
applicationId: str,
indexId: str,
dataSourceId: str,
) -> Dict[str, Any]:
...
# delete_data_source method usage example with argument unpacking
kwargs: DeleteDataSourceRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"dataSourceId": ...,
}
parent.delete_data_source(**kwargs)
delete_group#
Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group.
Type annotations and code completion for boto3.client("qbusiness").delete_group
method.
boto3 documentation
# delete_group method definition
def delete_group(
self,
*,
applicationId: str,
indexId: str,
groupName: str,
dataSourceId: str = ...,
) -> Dict[str, Any]:
...
# delete_group method usage example with argument unpacking
kwargs: DeleteGroupRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"groupName": ...,
}
parent.delete_group(**kwargs)
delete_index#
Deletes an Amazon Q Business index.
Type annotations and code completion for boto3.client("qbusiness").delete_index
method.
boto3 documentation
# delete_index method definition
def delete_index(
self,
*,
applicationId: str,
indexId: str,
) -> Dict[str, Any]:
...
# delete_index method usage example with argument unpacking
kwargs: DeleteIndexRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
}
parent.delete_index(**kwargs)
delete_plugin#
Deletes an Amazon Q Business plugin.
Type annotations and code completion for boto3.client("qbusiness").delete_plugin
method.
boto3 documentation
# delete_plugin method definition
def delete_plugin(
self,
*,
applicationId: str,
pluginId: str,
) -> Dict[str, Any]:
...
# delete_plugin method usage example with argument unpacking
kwargs: DeletePluginRequestRequestTypeDef = { # (1)
"applicationId": ...,
"pluginId": ...,
}
parent.delete_plugin(**kwargs)
delete_retriever#
Deletes the retriever used by an Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").delete_retriever
method.
boto3 documentation
# delete_retriever method definition
def delete_retriever(
self,
*,
applicationId: str,
retrieverId: str,
) -> Dict[str, Any]:
...
# delete_retriever method usage example with argument unpacking
kwargs: DeleteRetrieverRequestRequestTypeDef = { # (1)
"applicationId": ...,
"retrieverId": ...,
}
parent.delete_retriever(**kwargs)
delete_user#
Deletes a user by email id.
Type annotations and code completion for boto3.client("qbusiness").delete_user
method.
boto3 documentation
# delete_user method definition
def delete_user(
self,
*,
applicationId: str,
userId: str,
) -> Dict[str, Any]:
...
# delete_user method usage example with argument unpacking
kwargs: DeleteUserRequestRequestTypeDef = { # (1)
"applicationId": ...,
"userId": ...,
}
parent.delete_user(**kwargs)
delete_web_experience#
Deletes an Amazon Q Business web experience.
Type annotations and code completion for boto3.client("qbusiness").delete_web_experience
method.
boto3 documentation
# delete_web_experience method definition
def delete_web_experience(
self,
*,
applicationId: str,
webExperienceId: str,
) -> Dict[str, Any]:
...
# delete_web_experience method usage example with argument unpacking
kwargs: DeleteWebExperienceRequestRequestTypeDef = { # (1)
"applicationId": ...,
"webExperienceId": ...,
}
parent.delete_web_experience(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("qbusiness").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:
...
get_application#
Gets information about an existing Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").get_application
method.
boto3 documentation
# get_application method definition
def get_application(
self,
*,
applicationId: str,
) -> GetApplicationResponseTypeDef: # (1)
...
# get_application method usage example with argument unpacking
kwargs: GetApplicationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.get_application(**kwargs)
get_chat_controls_configuration#
Gets information about an chat controls configured for an existing Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").get_chat_controls_configuration
method.
boto3 documentation
# get_chat_controls_configuration method definition
def get_chat_controls_configuration(
self,
*,
applicationId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> GetChatControlsConfigurationResponseTypeDef: # (1)
...
# get_chat_controls_configuration method usage example with argument unpacking
kwargs: GetChatControlsConfigurationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.get_chat_controls_configuration(**kwargs)
get_data_source#
Gets information about an existing Amazon Q Business data source connector.
Type annotations and code completion for boto3.client("qbusiness").get_data_source
method.
boto3 documentation
# get_data_source method definition
def get_data_source(
self,
*,
applicationId: str,
indexId: str,
dataSourceId: str,
) -> GetDataSourceResponseTypeDef: # (1)
...
# get_data_source method usage example with argument unpacking
kwargs: GetDataSourceRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"dataSourceId": ...,
}
parent.get_data_source(**kwargs)
get_group#
Describes a group by group name.
Type annotations and code completion for boto3.client("qbusiness").get_group
method.
boto3 documentation
# get_group method definition
def get_group(
self,
*,
applicationId: str,
indexId: str,
groupName: str,
dataSourceId: str = ...,
) -> GetGroupResponseTypeDef: # (1)
...
# get_group method usage example with argument unpacking
kwargs: GetGroupRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"groupName": ...,
}
parent.get_group(**kwargs)
get_index#
Gets information about an existing Amazon Q Business index.
Type annotations and code completion for boto3.client("qbusiness").get_index
method.
boto3 documentation
# get_index method definition
def get_index(
self,
*,
applicationId: str,
indexId: str,
) -> GetIndexResponseTypeDef: # (1)
...
# get_index method usage example with argument unpacking
kwargs: GetIndexRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
}
parent.get_index(**kwargs)
get_plugin#
Gets information about an existing Amazon Q Business plugin.
Type annotations and code completion for boto3.client("qbusiness").get_plugin
method.
boto3 documentation
# get_plugin method definition
def get_plugin(
self,
*,
applicationId: str,
pluginId: str,
) -> GetPluginResponseTypeDef: # (1)
...
# get_plugin method usage example with argument unpacking
kwargs: GetPluginRequestRequestTypeDef = { # (1)
"applicationId": ...,
"pluginId": ...,
}
parent.get_plugin(**kwargs)
get_retriever#
Gets information about an existing retriever used by an Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").get_retriever
method.
boto3 documentation
# get_retriever method definition
def get_retriever(
self,
*,
applicationId: str,
retrieverId: str,
) -> GetRetrieverResponseTypeDef: # (1)
...
# get_retriever method usage example with argument unpacking
kwargs: GetRetrieverRequestRequestTypeDef = { # (1)
"applicationId": ...,
"retrieverId": ...,
}
parent.get_retriever(**kwargs)
get_user#
Describes the universally unique identifier (UUID) associated with a local user in a data source.
Type annotations and code completion for boto3.client("qbusiness").get_user
method.
boto3 documentation
# get_user method definition
def get_user(
self,
*,
applicationId: str,
userId: str,
) -> GetUserResponseTypeDef: # (1)
...
# get_user method usage example with argument unpacking
kwargs: GetUserRequestRequestTypeDef = { # (1)
"applicationId": ...,
"userId": ...,
}
parent.get_user(**kwargs)
get_web_experience#
Gets information about an existing Amazon Q Business web experience.
Type annotations and code completion for boto3.client("qbusiness").get_web_experience
method.
boto3 documentation
# get_web_experience method definition
def get_web_experience(
self,
*,
applicationId: str,
webExperienceId: str,
) -> GetWebExperienceResponseTypeDef: # (1)
...
# get_web_experience method usage example with argument unpacking
kwargs: GetWebExperienceRequestRequestTypeDef = { # (1)
"applicationId": ...,
"webExperienceId": ...,
}
parent.get_web_experience(**kwargs)
list_applications#
Lists Amazon Q Business applications.
Type annotations and code completion for boto3.client("qbusiness").list_applications
method.
boto3 documentation
# list_applications method definition
def list_applications(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListApplicationsResponseTypeDef: # (1)
...
# list_applications method usage example with argument unpacking
kwargs: ListApplicationsRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_applications(**kwargs)
list_conversations#
Lists one or more Amazon Q Business conversations.
Type annotations and code completion for boto3.client("qbusiness").list_conversations
method.
boto3 documentation
# list_conversations method definition
def list_conversations(
self,
*,
applicationId: str,
userId: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListConversationsResponseTypeDef: # (1)
...
# list_conversations method usage example with argument unpacking
kwargs: ListConversationsRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.list_conversations(**kwargs)
list_data_source_sync_jobs#
Get information about an Amazon Q Business data source connector synchronization.
Type annotations and code completion for boto3.client("qbusiness").list_data_source_sync_jobs
method.
boto3 documentation
# list_data_source_sync_jobs method definition
def list_data_source_sync_jobs(
self,
*,
dataSourceId: str,
applicationId: str,
indexId: str,
nextToken: str = ...,
maxResults: int = ...,
startTime: TimestampTypeDef = ...,
endTime: TimestampTypeDef = ...,
statusFilter: DataSourceSyncJobStatusType = ..., # (1)
) -> ListDataSourceSyncJobsResponseTypeDef: # (2)
...
# list_data_source_sync_jobs method usage example with argument unpacking
kwargs: ListDataSourceSyncJobsRequestRequestTypeDef = { # (1)
"dataSourceId": ...,
"applicationId": ...,
"indexId": ...,
}
parent.list_data_source_sync_jobs(**kwargs)
list_data_sources#
Lists the Amazon Q Business data source connectors that you have created.
Type annotations and code completion for boto3.client("qbusiness").list_data_sources
method.
boto3 documentation
# list_data_sources method definition
def list_data_sources(
self,
*,
applicationId: str,
indexId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListDataSourcesResponseTypeDef: # (1)
...
# list_data_sources method usage example with argument unpacking
kwargs: ListDataSourcesRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
}
parent.list_data_sources(**kwargs)
list_documents#
A list of documents attached to an index.
Type annotations and code completion for boto3.client("qbusiness").list_documents
method.
boto3 documentation
# list_documents method definition
def list_documents(
self,
*,
applicationId: str,
indexId: str,
dataSourceIds: Sequence[str] = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListDocumentsResponseTypeDef: # (1)
...
# list_documents method usage example with argument unpacking
kwargs: ListDocumentsRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
}
parent.list_documents(**kwargs)
list_groups#
Provides a list of groups that are mapped to users.
Type annotations and code completion for boto3.client("qbusiness").list_groups
method.
boto3 documentation
# list_groups method definition
def list_groups(
self,
*,
applicationId: str,
indexId: str,
updatedEarlierThan: TimestampTypeDef,
dataSourceId: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListGroupsResponseTypeDef: # (1)
...
# list_groups method usage example with argument unpacking
kwargs: ListGroupsRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"updatedEarlierThan": ...,
}
parent.list_groups(**kwargs)
list_indices#
Lists the Amazon Q Business indices you have created.
Type annotations and code completion for boto3.client("qbusiness").list_indices
method.
boto3 documentation
# list_indices method definition
def list_indices(
self,
*,
applicationId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListIndicesResponseTypeDef: # (1)
...
# list_indices method usage example with argument unpacking
kwargs: ListIndicesRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.list_indices(**kwargs)
list_messages#
Gets a list of messages associated with an Amazon Q Business web experience.
Type annotations and code completion for boto3.client("qbusiness").list_messages
method.
boto3 documentation
# list_messages method definition
def list_messages(
self,
*,
conversationId: str,
applicationId: str,
userId: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListMessagesResponseTypeDef: # (1)
...
# list_messages method usage example with argument unpacking
kwargs: ListMessagesRequestRequestTypeDef = { # (1)
"conversationId": ...,
"applicationId": ...,
}
parent.list_messages(**kwargs)
list_plugins#
Lists configured Amazon Q Business plugins.
Type annotations and code completion for boto3.client("qbusiness").list_plugins
method.
boto3 documentation
# list_plugins method definition
def list_plugins(
self,
*,
applicationId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListPluginsResponseTypeDef: # (1)
...
# list_plugins method usage example with argument unpacking
kwargs: ListPluginsRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.list_plugins(**kwargs)
list_retrievers#
Lists the retriever used by an Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").list_retrievers
method.
boto3 documentation
# list_retrievers method definition
def list_retrievers(
self,
*,
applicationId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListRetrieversResponseTypeDef: # (1)
...
# list_retrievers method usage example with argument unpacking
kwargs: ListRetrieversRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.list_retrievers(**kwargs)
list_tags_for_resource#
Gets a list of tags associated with a specified resource.
Type annotations and code completion for boto3.client("qbusiness").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)
list_web_experiences#
Lists one or more Amazon Q Business Web Experiences.
Type annotations and code completion for boto3.client("qbusiness").list_web_experiences
method.
boto3 documentation
# list_web_experiences method definition
def list_web_experiences(
self,
*,
applicationId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListWebExperiencesResponseTypeDef: # (1)
...
# list_web_experiences method usage example with argument unpacking
kwargs: ListWebExperiencesRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.list_web_experiences(**kwargs)
put_feedback#
Enables your end user to provide feedback on their Amazon Q Business generated chat responses.
Type annotations and code completion for boto3.client("qbusiness").put_feedback
method.
boto3 documentation
# put_feedback method definition
def put_feedback(
self,
*,
applicationId: str,
conversationId: str,
messageId: str,
userId: str = ...,
messageCopiedAt: TimestampTypeDef = ...,
messageUsefulness: MessageUsefulnessFeedbackTypeDef = ..., # (1)
) -> EmptyResponseMetadataTypeDef: # (2)
...
# put_feedback method usage example with argument unpacking
kwargs: PutFeedbackRequestRequestTypeDef = { # (1)
"applicationId": ...,
"conversationId": ...,
"messageId": ...,
}
parent.put_feedback(**kwargs)
put_group#
Create, or updates, a mapping of users—who have access to a document—to groups.
Type annotations and code completion for boto3.client("qbusiness").put_group
method.
boto3 documentation
# put_group method definition
def put_group(
self,
*,
applicationId: str,
indexId: str,
groupName: str,
type: MembershipTypeType, # (1)
groupMembers: GroupMembersTypeDef, # (2)
dataSourceId: str = ...,
roleArn: str = ...,
) -> Dict[str, Any]:
...
# put_group method usage example with argument unpacking
kwargs: PutGroupRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"groupName": ...,
"type": ...,
"groupMembers": ...,
}
parent.put_group(**kwargs)
start_data_source_sync_job#
Starts a data source connector synchronization job.
Type annotations and code completion for boto3.client("qbusiness").start_data_source_sync_job
method.
boto3 documentation
# start_data_source_sync_job method definition
def start_data_source_sync_job(
self,
*,
dataSourceId: str,
applicationId: str,
indexId: str,
) -> StartDataSourceSyncJobResponseTypeDef: # (1)
...
# start_data_source_sync_job method usage example with argument unpacking
kwargs: StartDataSourceSyncJobRequestRequestTypeDef = { # (1)
"dataSourceId": ...,
"applicationId": ...,
"indexId": ...,
}
parent.start_data_source_sync_job(**kwargs)
stop_data_source_sync_job#
Stops an Amazon Q Business data source connector synchronization job already in progress.
Type annotations and code completion for boto3.client("qbusiness").stop_data_source_sync_job
method.
boto3 documentation
# stop_data_source_sync_job method definition
def stop_data_source_sync_job(
self,
*,
dataSourceId: str,
applicationId: str,
indexId: str,
) -> Dict[str, Any]:
...
# stop_data_source_sync_job method usage example with argument unpacking
kwargs: StopDataSourceSyncJobRequestRequestTypeDef = { # (1)
"dataSourceId": ...,
"applicationId": ...,
"indexId": ...,
}
parent.stop_data_source_sync_job(**kwargs)
tag_resource#
Adds the specified tag to the specified Amazon Q Business application or data source resource.
Type annotations and code completion for boto3.client("qbusiness").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
resourceARN: str,
tags: Sequence[TagTypeDef], # (1)
) -> Dict[str, Any]:
...
- See TagTypeDef
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceARN": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes a tag from an Amazon Q Business application or a data source.
Type annotations and code completion for boto3.client("qbusiness").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_application#
Updates an existing Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").update_application
method.
boto3 documentation
# update_application method definition
def update_application(
self,
*,
applicationId: str,
identityCenterInstanceArn: str = ...,
displayName: str = ...,
description: str = ...,
roleArn: str = ...,
attachmentsConfiguration: AttachmentsConfigurationTypeDef = ..., # (1)
qAppsConfiguration: QAppsConfigurationTypeDef = ..., # (2)
personalizationConfiguration: PersonalizationConfigurationTypeDef = ..., # (3)
autoSubscriptionConfiguration: AutoSubscriptionConfigurationTypeDef = ..., # (4)
) -> Dict[str, Any]:
...
- See AttachmentsConfigurationTypeDef
- See QAppsConfigurationTypeDef
- See PersonalizationConfigurationTypeDef
- See AutoSubscriptionConfigurationTypeDef
# update_application method usage example with argument unpacking
kwargs: UpdateApplicationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.update_application(**kwargs)
update_chat_controls_configuration#
Updates an set of chat controls configured for an existing Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").update_chat_controls_configuration
method.
boto3 documentation
# update_chat_controls_configuration method definition
def update_chat_controls_configuration(
self,
*,
applicationId: str,
clientToken: str = ...,
responseScope: ResponseScopeType = ..., # (1)
blockedPhrasesConfigurationUpdate: BlockedPhrasesConfigurationUpdateTypeDef = ..., # (2)
topicConfigurationsToCreateOrUpdate: Sequence[TopicConfigurationUnionTypeDef] = ..., # (3)
topicConfigurationsToDelete: Sequence[TopicConfigurationTypeDef] = ..., # (4)
creatorModeConfiguration: CreatorModeConfigurationTypeDef = ..., # (5)
) -> Dict[str, Any]:
...
- See ResponseScopeType
- See BlockedPhrasesConfigurationUpdateTypeDef
- See TopicConfigurationTypeDef TopicConfigurationOutputTypeDef
- See TopicConfigurationTypeDef
- See CreatorModeConfigurationTypeDef
# update_chat_controls_configuration method usage example with argument unpacking
kwargs: UpdateChatControlsConfigurationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.update_chat_controls_configuration(**kwargs)
update_data_source#
Updates an existing Amazon Q Business data source connector.
Type annotations and code completion for boto3.client("qbusiness").update_data_source
method.
boto3 documentation
# update_data_source method definition
def update_data_source(
self,
*,
applicationId: str,
indexId: str,
dataSourceId: str,
displayName: str = ...,
configuration: Mapping[str, Any] = ...,
vpcConfiguration: DataSourceVpcConfigurationTypeDef = ..., # (1)
description: str = ...,
syncSchedule: str = ...,
roleArn: str = ...,
documentEnrichmentConfiguration: DocumentEnrichmentConfigurationTypeDef = ..., # (2)
) -> Dict[str, Any]:
...
# update_data_source method usage example with argument unpacking
kwargs: UpdateDataSourceRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
"dataSourceId": ...,
}
parent.update_data_source(**kwargs)
update_index#
Updates an Amazon Q Business index.
Type annotations and code completion for boto3.client("qbusiness").update_index
method.
boto3 documentation
# update_index method definition
def update_index(
self,
*,
applicationId: str,
indexId: str,
displayName: str = ...,
description: str = ...,
capacityConfiguration: IndexCapacityConfigurationTypeDef = ..., # (1)
documentAttributeConfigurations: Sequence[DocumentAttributeConfigurationTypeDef] = ..., # (2)
) -> Dict[str, Any]:
...
# update_index method usage example with argument unpacking
kwargs: UpdateIndexRequestRequestTypeDef = { # (1)
"applicationId": ...,
"indexId": ...,
}
parent.update_index(**kwargs)
update_plugin#
Updates an Amazon Q Business plugin.
Type annotations and code completion for boto3.client("qbusiness").update_plugin
method.
boto3 documentation
# update_plugin method definition
def update_plugin(
self,
*,
applicationId: str,
pluginId: str,
displayName: str = ...,
state: PluginStateType = ..., # (1)
serverUrl: str = ...,
customPluginConfiguration: CustomPluginConfigurationTypeDef = ..., # (2)
authConfiguration: PluginAuthConfigurationTypeDef = ..., # (3)
) -> Dict[str, Any]:
...
# update_plugin method usage example with argument unpacking
kwargs: UpdatePluginRequestRequestTypeDef = { # (1)
"applicationId": ...,
"pluginId": ...,
}
parent.update_plugin(**kwargs)
update_retriever#
Updates the retriever used for your Amazon Q Business application.
Type annotations and code completion for boto3.client("qbusiness").update_retriever
method.
boto3 documentation
# update_retriever method definition
def update_retriever(
self,
*,
applicationId: str,
retrieverId: str,
configuration: RetrieverConfigurationTypeDef = ..., # (1)
displayName: str = ...,
roleArn: str = ...,
) -> Dict[str, Any]:
...
# update_retriever method usage example with argument unpacking
kwargs: UpdateRetrieverRequestRequestTypeDef = { # (1)
"applicationId": ...,
"retrieverId": ...,
}
parent.update_retriever(**kwargs)
update_user#
Updates a information associated with a user id.
Type annotations and code completion for boto3.client("qbusiness").update_user
method.
boto3 documentation
# update_user method definition
def update_user(
self,
*,
applicationId: str,
userId: str,
userAliasesToUpdate: Sequence[UserAliasTypeDef] = ..., # (1)
userAliasesToDelete: Sequence[UserAliasTypeDef] = ..., # (1)
) -> UpdateUserResponseTypeDef: # (3)
...
# update_user method usage example with argument unpacking
kwargs: UpdateUserRequestRequestTypeDef = { # (1)
"applicationId": ...,
"userId": ...,
}
parent.update_user(**kwargs)
update_web_experience#
Updates an Amazon Q Business web experience.
Type annotations and code completion for boto3.client("qbusiness").update_web_experience
method.
boto3 documentation
# update_web_experience method definition
def update_web_experience(
self,
*,
applicationId: str,
webExperienceId: str,
roleArn: str = ...,
authenticationConfiguration: WebExperienceAuthConfigurationTypeDef = ..., # (1)
title: str = ...,
subtitle: str = ...,
welcomeMessage: str = ...,
samplePromptsControlMode: WebExperienceSamplePromptsControlModeType = ..., # (2)
identityProviderConfiguration: IdentityProviderConfigurationTypeDef = ..., # (3)
origins: Sequence[str] = ...,
) -> Dict[str, Any]:
...
- See WebExperienceAuthConfigurationTypeDef
- See WebExperienceSamplePromptsControlModeType
- See IdentityProviderConfigurationTypeDef
# update_web_experience method usage example with argument unpacking
kwargs: UpdateWebExperienceRequestRequestTypeDef = { # (1)
"applicationId": ...,
"webExperienceId": ...,
}
parent.update_web_experience(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("qbusiness").get_paginator
method with overloads.
client.get_paginator("get_chat_controls_configuration")
-> GetChatControlsConfigurationPaginatorclient.get_paginator("list_applications")
-> ListApplicationsPaginatorclient.get_paginator("list_conversations")
-> ListConversationsPaginatorclient.get_paginator("list_data_source_sync_jobs")
-> ListDataSourceSyncJobsPaginatorclient.get_paginator("list_data_sources")
-> ListDataSourcesPaginatorclient.get_paginator("list_documents")
-> ListDocumentsPaginatorclient.get_paginator("list_groups")
-> ListGroupsPaginatorclient.get_paginator("list_indices")
-> ListIndicesPaginatorclient.get_paginator("list_messages")
-> ListMessagesPaginatorclient.get_paginator("list_plugins")
-> ListPluginsPaginatorclient.get_paginator("list_retrievers")
-> ListRetrieversPaginatorclient.get_paginator("list_web_experiences")
-> ListWebExperiencesPaginator