update_quick_response
¶
update_quick_response(
knowledge_base_id: UuidOrArn,
quick_response_id: UuidOrArn,
*,
config_overrides: Optional[QConnectClientConfig] = None,
name: Optional[QuickResponseName] = None,
content: Optional[QuickResponseDataProvider] = None,
content_type: Optional[QuickResponseType] = None,
grouping_configuration: Optional[GroupingConfiguration] = None,
remove_grouping_configuration: Optional[bool] = None,
description: Optional[QuickResponseDescription] = None,
remove_description: Optional[bool] = None,
shortcut_key: Optional[ShortCutKey] = None,
remove_shortcut_key: Optional[bool] = None,
is_active: Optional[bool] = None,
channels: Optional[Channels] = None,
language: Optional[LanguageCode] = None,
) -> UpdateQuickResponseResponse
Updates an existing Amazon Q in Connect quick response.
Parameters:
-
knowledge_base_id(UuidOrArn) –The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
quick_response_id(UuidOrArn) –The identifier of the quick response.
-
name(Optional[QuickResponseName], default:None) –The name of the quick response.
-
content(Optional[QuickResponseDataProvider], default:None) –The updated content of the quick response.
-
content_type(Optional[QuickResponseType], default:None) –The media type of the quick response content.
-
Use
application/x.quickresponse;format=plainfor quick response written in plain text. -
Use
application/x.quickresponse;format=markdownfor quick response written in richtext.
-
-
grouping_configuration(Optional[GroupingConfiguration], default:None) –The updated grouping configuration of the quick response.
-
remove_grouping_configuration(Optional[bool], default:None) –Whether to remove the grouping configuration of the quick response.
-
description(Optional[QuickResponseDescription], default:None) –The updated description of the quick response.
-
remove_description(Optional[bool], default:None) –Whether to remove the description from the quick response.
-
shortcut_key(Optional[ShortCutKey], default:None) –The shortcut key of the quick response. The value should be unique across the knowledge base.
-
remove_shortcut_key(Optional[bool], default:None) –Whether to remove the shortcut key of the quick response.
-
is_active(Optional[bool], default:None) –Whether the quick response is active.
-
channels(Optional[Channels], default:None) –The Connect Customer contact channels this quick response applies to. The supported contact channel types include
Chat. -
language(Optional[LanguageCode], default:None) –The language code value for the language in which the quick response is written. The supported language codes include
de_DE,en_US,es_ES,fr_FR,id_ID,it_IT,ja_JP,ko_KR,pt_BR,zh_CN,zh_TW
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be processed because of conflict in the current state of the resource. For example, if you're using a
CreateAPI (such asCreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated. -
PreconditionFailedException–The provided
revisionIddoes not match, indicating the content has been modified since it was last read. -
ResourceNotFoundException–The specified resource does not exist.
-
UnauthorizedException–You do not have permission to perform this action.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qconnect/_services/q_connect.py
7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 | |