QBusinessClient.update_chat_controls_configuration
rboto-qbusiness==0.4.0 · Service index · Types
Model summary (excerpt): Updates a set of chat controls configured for an existing Amazon Q Business application.
Install and imports
from rboto import QBusinessClient
from collections.abc import Sequence
from rboto_qbusiness.types import (
BlockedPhrasesConfigurationUpdate,
CreatorModeConfiguration,
HallucinationReductionConfiguration,
OrchestrationConfiguration,
ResponseScope,
TopicConfiguration,
UpdateChatControlsConfigurationOutput,
)
Signature
async def update_chat_controls_configuration(
*,
application_id: str,
client_token: str | None = None,
response_scope: ResponseScope | None = None,
orchestration_configuration: OrchestrationConfiguration | None = None,
blocked_phrases_configuration_update: BlockedPhrasesConfigurationUpdate | None = None,
topic_configurations_to_create_or_update: Sequence[TopicConfiguration] | None = None,
topic_configurations_to_delete: Sequence[TopicConfiguration] | None = None,
creator_mode_configuration: CreatorModeConfiguration | None = None,
hallucination_reduction_configuration: HallucinationReductionConfiguration | None = None,
) -> UpdateChatControlsConfigurationOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
application_id |
Yes | The identifier of the application for which the chat controls are configured. |
client_token |
No | A token that you provide to identify the request to update a Amazon Q Business application chat configuration. |
response_scope |
No | The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat. |
orchestration_configuration |
No | The chat response orchestration settings for your application. |
blocked_phrases_configuration_update |
No | The phrases blocked from chat by your chat control configuration. |
topic_configurations_to_create_or_update |
No | The configured topic specific chat controls you want to update. |
topic_configurations_to_delete |
No | The configured topic specific chat controls you want to delete. |
creator_mode_configuration |
No | The configuration details for CREATOR_MODE . |
hallucination_reduction_configuration |
No | The hallucination reduction settings for your application. |
Output
UpdateChatControlsConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
BlockedPhrasesConfigurationUpdate, CreatorModeConfiguration, HallucinationReductionConfiguration, OrchestrationConfiguration, ResponseScope, TopicConfiguration, UpdateChatControlsConfigurationOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_qbusiness.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.