update_contact_evaluation
async
¶
update_contact_evaluation(
instance_id: InstanceId,
evaluation_id: ResourceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
answers: Optional[EvaluationAnswersInputMap] = None,
notes: Optional[EvaluationNotesMap] = None,
updated_by: Optional[EvaluatorUserUnion] = None,
) -> UpdateContactEvaluationResponse
Updates details about a contact evaluation in the specified Connect Customer instance. A contact evaluation must be in draft state. Answers included in the request are merged with existing answers for the given evaluation. An answer or note can be deleted by passing an empty object ({}) to the question identifier.
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_id(ResourceId) –A unique identifier for the contact evaluation.
-
answers(Optional[EvaluationAnswersInputMap], default:None) –A map of question identifiers to answer value.
-
notes(Optional[EvaluationNotesMap], default:None) –A map of question identifiers to note value.
-
updated_by(Optional[EvaluatorUserUnion], default:None) –The ID of the user who updated the contact evaluation.
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.
-
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/async_connect.py
25698 25699 25700 25701 25702 25703 25704 25705 25706 25707 25708 25709 25710 25711 25712 25713 25714 25715 25716 25717 25718 25719 25720 25721 25722 25723 25724 25725 25726 25727 25728 25729 25730 25731 25732 25733 25734 25735 25736 25737 25738 25739 25740 25741 25742 25743 25744 25745 25746 25747 25748 25749 25750 25751 25752 25753 25754 25755 25756 25757 25758 25759 25760 25761 25762 25763 25764 25765 25766 25767 | |