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
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 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 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 | |