update_quick_response
async
¶
update_quick_response(
knowledge_base_id: UuidOrArn,
quick_response_id: UuidOrArn,
*,
config_overrides: Optional[AsyncQConnectClientConfig] = 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/async_q_connect.py
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 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 | |