| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.VoiceId.Types.AuthenticationResult
Description
Synopsis
- data AuthenticationResult = AuthenticationResult' {
- audioAggregationEndedAt :: Maybe POSIX
- audioAggregationStartedAt :: Maybe POSIX
- authenticationResultId :: Maybe Text
- configuration :: Maybe AuthenticationConfiguration
- customerSpeakerId :: Maybe (Sensitive Text)
- decision :: Maybe AuthenticationDecision
- generatedSpeakerId :: Maybe Text
- score :: Maybe Natural
- newAuthenticationResult :: AuthenticationResult
- authenticationResult_audioAggregationEndedAt :: Lens' AuthenticationResult (Maybe UTCTime)
- authenticationResult_audioAggregationStartedAt :: Lens' AuthenticationResult (Maybe UTCTime)
- authenticationResult_authenticationResultId :: Lens' AuthenticationResult (Maybe Text)
- authenticationResult_configuration :: Lens' AuthenticationResult (Maybe AuthenticationConfiguration)
- authenticationResult_customerSpeakerId :: Lens' AuthenticationResult (Maybe Text)
- authenticationResult_decision :: Lens' AuthenticationResult (Maybe AuthenticationDecision)
- authenticationResult_generatedSpeakerId :: Lens' AuthenticationResult (Maybe Text)
- authenticationResult_score :: Lens' AuthenticationResult (Maybe Natural)
Documentation
data AuthenticationResult Source #
The authentication result produced by Voice ID, processed against the current session state and streamed audio of the speaker.
See: newAuthenticationResult smart constructor.
Constructors
| AuthenticationResult' | |
Fields
| |
Instances
newAuthenticationResult :: AuthenticationResult Source #
Create a value of AuthenticationResult with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:audioAggregationEndedAt:AuthenticationResult', authenticationResult_audioAggregationEndedAt - A timestamp indicating when audio aggregation ended for this
authentication result.
$sel:audioAggregationStartedAt:AuthenticationResult', authenticationResult_audioAggregationStartedAt - A timestamp indicating when audio aggregation started for this
authentication result.
$sel:authenticationResultId:AuthenticationResult', authenticationResult_authenticationResultId - The unique identifier for this authentication result. Because there can
be multiple authentications for a given session, this field helps to
identify if the returned result is from a previous streaming activity or
a new result. Note that in absence of any new streaming activity,
AcceptanceThreshold changes, or SpeakerId changes, Voice ID always
returns cached Authentication Result for this API.
$sel:configuration:AuthenticationResult', authenticationResult_configuration - The AuthenticationConfiguration used to generate this authentication
result.
$sel:customerSpeakerId:AuthenticationResult', authenticationResult_customerSpeakerId - The client-provided identifier for the speaker whose authentication
result is produced. Only present if a SpeakerId is provided for the
session.
$sel:decision:AuthenticationResult', authenticationResult_decision - The authentication decision produced by Voice ID, processed against the
current session state and streamed audio of the speaker.
$sel:generatedSpeakerId:AuthenticationResult', authenticationResult_generatedSpeakerId - The service-generated identifier for the speaker whose authentication
result is produced.
$sel:score:AuthenticationResult', authenticationResult_score - The authentication score for the speaker whose authentication result is
produced. This value is only present if the authentication decision is
either ACCEPT or REJECT.
authenticationResult_audioAggregationEndedAt :: Lens' AuthenticationResult (Maybe UTCTime) Source #
A timestamp indicating when audio aggregation ended for this authentication result.
authenticationResult_audioAggregationStartedAt :: Lens' AuthenticationResult (Maybe UTCTime) Source #
A timestamp indicating when audio aggregation started for this authentication result.
authenticationResult_authenticationResultId :: Lens' AuthenticationResult (Maybe Text) Source #
The unique identifier for this authentication result. Because there can
be multiple authentications for a given session, this field helps to
identify if the returned result is from a previous streaming activity or
a new result. Note that in absence of any new streaming activity,
AcceptanceThreshold changes, or SpeakerId changes, Voice ID always
returns cached Authentication Result for this API.
authenticationResult_configuration :: Lens' AuthenticationResult (Maybe AuthenticationConfiguration) Source #
The AuthenticationConfiguration used to generate this authentication
result.
authenticationResult_customerSpeakerId :: Lens' AuthenticationResult (Maybe Text) Source #
The client-provided identifier for the speaker whose authentication
result is produced. Only present if a SpeakerId is provided for the
session.
authenticationResult_decision :: Lens' AuthenticationResult (Maybe AuthenticationDecision) Source #
The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
authenticationResult_generatedSpeakerId :: Lens' AuthenticationResult (Maybe Text) Source #
The service-generated identifier for the speaker whose authentication result is produced.
authenticationResult_score :: Lens' AuthenticationResult (Maybe Natural) Source #
The authentication score for the speaker whose authentication result is
produced. This value is only present if the authentication decision is
either ACCEPT or REJECT.