evaluate_session
¶
evaluate_session(
domain_id: DomainId,
session_name_or_id: SessionNameOrId,
*,
config_overrides: Optional[VoiceIDClientConfig] = None,
) -> EvaluateSessionResponse
Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.
Parameters:
-
domain_id(DomainId) –The identifier of the domain where the session started.
-
session_name_or_id(SessionNameOrId) –The session identifier, or name of the session, that you want to evaluate. In Voice ID integration, this is the Contact-Id.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action. Check the error message and try again.
-
ConflictException–The request failed due to a conflict. Check the
ConflictTypeand error message for more details. -
InternalServerException–The request failed due to an unknown error on the server side.
-
ResourceNotFoundException–The specified resource cannot be found. Check the
ResourceTypeand error message for more details. -
ThrottlingException–The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
-
ValidationException–The request failed one or more validations; check the error message for more details.
-
UnknownServiceError–The service returned an error code this client does not model.