submit_contact_evaluation
async
¶
submit_contact_evaluation(
instance_id: InstanceId,
evaluation_id: ResourceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
24884 24885 24886 24887 24888 24889 24890 24891 24892 24893 24894 24895 24896 24897 24898 24899 24900 24901 24902 24903 24904 24905 24906 24907 24908 24909 24910 24911 24912 24913 24914 24915 24916 24917 24918 24919 24920 24921 24922 24923 24924 24925 24926 24927 24928 24929 24930 24931 24932 24933 24934 24935 24936 24937 24938 24939 24940 24941 24942 24943 24944 24945 24946 24947 24948 24949 24950 24951 24952 24953 | |