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
7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 | |