Values.EvaluateSessionResponseSourceEvaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.
type nonrec t = {authenticationResult : AuthenticationResult.t option;Details resulting from the authentication process, such as authentication decision and authentication score.
*)domainId : DomainId.t option;The identifier of the domain that contains the session.
*)fraudDetectionResult : FraudDetectionResult.t option;Details resulting from the fraud detection process, such as fraud detection decision and risk score.
*)sessionId : SessionId.t option;The service-generated identifier of the session.
*)sessionName : SessionName.t option;The client-provided name of the session.
*)streamingStatus : StreamingStatus.t option;The current status of audio streaming for this session. This field is useful to infer next steps when the Authentication or Fraud Detection results are empty or the decision is NOT_ENOUGH_SPEECH. In this situation, if the StreamingStatus is ONGOING/PENDING_CONFIGURATION, it can mean that the client should call the API again later, after Voice ID has enough audio to produce a result. If the decision remains NOT_ENOUGH_SPEECH even after StreamingStatus is ENDED, it means that the previously streamed session did not have enough speech to perform evaluation, and a new streaming session is needed to try again.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of DomainId.t
| `Structure of
(string
* [> `Enum of string
| `Integer of Score.t
| `List of [> `Enum of string ] list
| `String of UniqueIdLarge.t
| `Structure of
(string
* [> `Integer of Score.t
| `String of WatchlistId.t
| `Structure of
(string
* [> `Integer of Score.t
| `String of GeneratedFraudsterId.t ])
list ])
list
| `Timestamp of Timestamp.t ])
list ])
list ]