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
26430 26431 26432 26433 26434 26435 26436 26437 26438 26439 26440 26441 26442 26443 26444 26445 26446 26447 26448 26449 26450 26451 26452 26453 26454 26455 26456 26457 26458 26459 26460 26461 26462 26463 26464 26465 26466 26467 26468 26469 26470 26471 26472 26473 26474 26475 26476 26477 26478 26479 26480 26481 26482 26483 26484 26485 26486 26487 26488 26489 26490 26491 26492 26493 26494 26495 26496 26497 26498 26499 26500 26501 26502 26503 26504 26505 26506 26507 26508 26509 26510 26511 26512 26513 26514 26515 26516 26517 26518 26519 26520 26521 26522 26523 26524 26525 26526 26527 26528 26529 26530 26531 26532 26533 26534 26535 26536 26537 26538 26539 26540 26541 26542 26543 26544 26545 26546 26547 | |