Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Opts out a speaker from Voice ID system. A speaker can be opted out regardless of whether or not they already exist in the system. If they don't yet exist, a new speaker is created in an opted out state. If they already exist, their existing status is overridden and they are opted out. Enrollment and evaluation authentication requests are rejected for opted out speakers, and opted out speakers have no voice embeddings stored in the system.
Synopsis
- data OptOutSpeaker = OptOutSpeaker' {}
- newOptOutSpeaker :: Text -> Text -> OptOutSpeaker
- optOutSpeaker_domainId :: Lens' OptOutSpeaker Text
- optOutSpeaker_speakerId :: Lens' OptOutSpeaker Text
- data OptOutSpeakerResponse = OptOutSpeakerResponse' {
- speaker :: Maybe Speaker
- httpStatus :: Int
- newOptOutSpeakerResponse :: Int -> OptOutSpeakerResponse
- optOutSpeakerResponse_speaker :: Lens' OptOutSpeakerResponse (Maybe Speaker)
- optOutSpeakerResponse_httpStatus :: Lens' OptOutSpeakerResponse Int
Creating a Request
data OptOutSpeaker Source #
See: newOptOutSpeaker
smart constructor.
Instances
Create a value of OptOutSpeaker
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:domainId:OptOutSpeaker'
, optOutSpeaker_domainId
- The identifier of the domain containing the speaker.
$sel:speakerId:OptOutSpeaker'
, optOutSpeaker_speakerId
- The identifier of the speaker you want opted-out.
Request Lenses
optOutSpeaker_domainId :: Lens' OptOutSpeaker Text Source #
The identifier of the domain containing the speaker.
optOutSpeaker_speakerId :: Lens' OptOutSpeaker Text Source #
The identifier of the speaker you want opted-out.
Destructuring the Response
data OptOutSpeakerResponse Source #
See: newOptOutSpeakerResponse
smart constructor.
OptOutSpeakerResponse' | |
|
Instances
newOptOutSpeakerResponse Source #
Create a value of OptOutSpeakerResponse
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:speaker:OptOutSpeakerResponse'
, optOutSpeakerResponse_speaker
- Details about the opted-out speaker.
$sel:httpStatus:OptOutSpeakerResponse'
, optOutSpeakerResponse_httpStatus
- The response's http status code.
Response Lenses
optOutSpeakerResponse_speaker :: Lens' OptOutSpeakerResponse (Maybe Speaker) Source #
Details about the opted-out speaker.
optOutSpeakerResponse_httpStatus :: Lens' OptOutSpeakerResponse Int Source #
The response's http status code.