submit_contact_evaluation
¶
submit_contact_evaluation(
instance_id: InstanceId,
evaluation_id: ResourceId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
answers: Optional[EvaluationAnswersInputMap] = None,
notes: Optional[EvaluationNotesMap] = None,
submitted_by: Optional[EvaluatorUserUnion] = None,
) -> SubmitContactEvaluationResponse
Submits a contact evaluation in the specified Connect Customer instance. Answers included in the request are merged with existing answers for the given evaluation. If no answers or notes are passed, the evaluation is submitted with the existing answers and notes. You can delete an answer or note by passing an empty object ({}) to the question identifier.
If a contact evaluation is already in submitted state, this operation will trigger a resubmission.
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.
-
submitted_by(Optional[EvaluatorUserUnion], default:None) –The ID of the user who submitted 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/connect.py
24792 24793 24794 24795 24796 24797 24798 24799 24800 24801 24802 24803 24804 24805 24806 24807 24808 24809 24810 24811 24812 24813 24814 24815 24816 24817 24818 24819 24820 24821 24822 24823 24824 24825 24826 24827 24828 24829 24830 24831 24832 24833 24834 24835 24836 24837 24838 24839 24840 24841 24842 24843 24844 24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 24860 | |