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
25123 25124 25125 25126 25127 25128 25129 25130 25131 25132 25133 25134 25135 25136 25137 25138 25139 25140 25141 25142 25143 25144 25145 25146 25147 25148 25149 25150 25151 25152 25153 25154 25155 25156 25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 25171 25172 25173 25174 25175 25176 25177 25178 25179 25180 25181 25182 25183 25184 25185 25186 25187 25188 25189 25190 25191 25192 | |