update_evaluation_form
¶
update_evaluation_form(
instance_id: InstanceId,
evaluation_form_id: ResourceId,
evaluation_form_version: VersionNumber,
title: EvaluationFormTitle,
items: EvaluationFormItemsList,
*,
config_overrides: Optional[ConnectClientConfig] = None,
create_new_version: Optional[BoxedBoolean] = None,
description: Optional[EvaluationFormDescription] = None,
scoring_strategy: Optional[EvaluationFormScoringStrategy] = None,
auto_evaluation_configuration: Optional[
EvaluationFormAutoEvaluationConfiguration
] = None,
review_configuration: Optional[EvaluationReviewConfiguration] = None,
as_draft: Optional[BoxedBoolean] = None,
client_token: Optional[ClientToken] = None,
target_configuration: Optional[EvaluationFormTargetConfiguration] = None,
language_configuration: Optional[EvaluationFormLanguageConfiguration] = None,
ai_version: Optional[EvaluationFormAIVersion] = None,
) -> UpdateEvaluationFormResponse
Updates details about a specific evaluation form version in the specified Connect Customer instance. Question and section identifiers cannot be duplicated within the same evaluation form.
This operation does not support partial updates. Instead it does a full update of evaluation form content.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
evaluation_form_id(ResourceId) –The unique identifier for the evaluation form.
-
evaluation_form_version(VersionNumber) –A version of the evaluation form to update.
-
create_new_version(Optional[BoxedBoolean], default:None) –A flag indicating whether the operation must create a new version.
-
title(EvaluationFormTitle) –A title of the evaluation form.
-
description(Optional[EvaluationFormDescription], default:None) –The description of the evaluation form.
-
items(EvaluationFormItemsList) –Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
-
scoring_strategy(Optional[EvaluationFormScoringStrategy], default:None) –A scoring strategy of the evaluation form.
-
auto_evaluation_configuration(Optional[EvaluationFormAutoEvaluationConfiguration], default:None) –Whether automated evaluations are enabled.
-
review_configuration(Optional[EvaluationReviewConfiguration], default:None) –Configuration for evaluation review settings of the evaluation form.
-
as_draft(Optional[BoxedBoolean], default:None) –A boolean flag indicating whether to update evaluation form to draft state.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
-
target_configuration(Optional[EvaluationFormTargetConfiguration], default:None) –Configuration that specifies the target for the evaluation form.
-
language_configuration(Optional[EvaluationFormLanguageConfiguration], default:None) –Configuration for language settings of the evaluation form.
-
ai_version(Optional[EvaluationFormAIVersion], default:None) –The AI version to use for the evaluation form. This specifies which AI model version is used for automated evaluations.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
ResourceConflictException–A resource already has that name.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
26673 26674 26675 26676 26677 26678 26679 26680 26681 26682 26683 26684 26685 26686 26687 26688 26689 26690 26691 26692 26693 26694 26695 26696 26697 26698 26699 26700 26701 26702 26703 26704 26705 26706 26707 26708 26709 26710 26711 26712 26713 26714 26715 26716 26717 26718 26719 26720 26721 26722 26723 26724 26725 26726 26727 26728 26729 26730 26731 26732 26733 26734 26735 26736 26737 26738 26739 26740 26741 26742 26743 26744 26745 26746 26747 26748 26749 26750 26751 26752 26753 26754 26755 26756 26757 26758 26759 26760 26761 26762 26763 26764 26765 26766 26767 26768 26769 26770 26771 26772 26773 26774 26775 26776 26777 26778 26779 26780 26781 26782 26783 26784 26785 26786 26787 26788 26789 26790 | |