| 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.DescribeSpeaker
Description
Describes the specified speaker.
Synopsis
- data DescribeSpeaker = DescribeSpeaker' {}
- newDescribeSpeaker :: Text -> Text -> DescribeSpeaker
- describeSpeaker_domainId :: Lens' DescribeSpeaker Text
- describeSpeaker_speakerId :: Lens' DescribeSpeaker Text
- data DescribeSpeakerResponse = DescribeSpeakerResponse' {
- speaker :: Maybe Speaker
- httpStatus :: Int
- newDescribeSpeakerResponse :: Int -> DescribeSpeakerResponse
- describeSpeakerResponse_speaker :: Lens' DescribeSpeakerResponse (Maybe Speaker)
- describeSpeakerResponse_httpStatus :: Lens' DescribeSpeakerResponse Int
Creating a Request
data DescribeSpeaker Source #
See: newDescribeSpeaker smart constructor.
Constructors
| DescribeSpeaker' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DescribeSpeaker |
Create a value of DescribeSpeaker 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:
DescribeSpeaker, describeSpeaker_domainId - The identifier of the domain that contains the speaker.
$sel:speakerId:DescribeSpeaker', describeSpeaker_speakerId - The identifier of the speaker you are describing.
Request Lenses
describeSpeaker_domainId :: Lens' DescribeSpeaker Text Source #
The identifier of the domain that contains the speaker.
describeSpeaker_speakerId :: Lens' DescribeSpeaker Text Source #
The identifier of the speaker you are describing.
Destructuring the Response
data DescribeSpeakerResponse Source #
See: newDescribeSpeakerResponse smart constructor.
Constructors
| DescribeSpeakerResponse' | |
Fields
| |
Instances
newDescribeSpeakerResponse Source #
Create a value of DescribeSpeakerResponse 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:DescribeSpeakerResponse', describeSpeakerResponse_speaker - Information about the specified speaker.
$sel:httpStatus:DescribeSpeakerResponse', describeSpeakerResponse_httpStatus - The response's http status code.
Response Lenses
describeSpeakerResponse_speaker :: Lens' DescribeSpeakerResponse (Maybe Speaker) Source #
Information about the specified speaker.
describeSpeakerResponse_httpStatus :: Lens' DescribeSpeakerResponse Int Source #
The response's http status code.