QBusinessClient.create_chat_response_configuration
rboto-qbusiness==0.4.0 · Service index · Types
Model summary (excerpt): Creates a new chat response configuration for an Amazon Q Business application. This operation establishes a set of parameters that define how the system generates and formats responses to user queries in chat interactions.
Install and imports
from rboto import QBusinessClient
from collections.abc import Sequence
from rboto_qbusiness.types import (
CreateChatResponseConfigurationOutput,
ResponseConfiguration,
ResponseConfigurationType,
Tag,
)
Signature
async def create_chat_response_configuration(
*,
application_id: str,
display_name: str,
response_configurations: dict[ResponseConfigurationType, ResponseConfiguration],
client_token: str | None = None,
tags: Sequence[Tag] | None = None,
) -> CreateChatResponseConfigurationOutput: ...
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 unique identifier of the Amazon Q Business application for which to create the new chat response configuration. |
display_name |
Yes | A human-readable name for the new chat response configuration, making it easier to identify and manage among multiple configurations. |
response_configurations |
Yes | A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions. |
client_token |
No | A unique, case-sensitive identifier to ensure idempotency of the request. This helps prevent the same configuration from being created multiple times if retries occur. |
tags |
No | A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services. |
Output
CreateChatResponseConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
chat_response_configuration_id |
str |
Always present | — |
chat_response_configuration_arn |
str |
Always present | — |
| 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
CreateChatResponseConfigurationOutput, ResponseConfiguration, ResponseConfigurationType, Tag
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.