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
24555 24556 24557 24558 24559 24560 24561 24562 24563 24564 24565 24566 24567 24568 24569 24570 24571 24572 24573 24574 24575 24576 24577 24578 24579 24580 24581 24582 24583 24584 24585 24586 24587 24588 24589 24590 24591 24592 24593 24594 24595 24596 24597 24598 24599 24600 24601 24602 24603 24604 24605 24606 24607 24608 24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 24623 | |