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 |
Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains information about the given speech synthesis task, including the status of the task, and a link to the S3 bucket containing the output of the task.
Synopsis
- data GetSpeechSynthesisTask = GetSpeechSynthesisTask' {}
- newGetSpeechSynthesisTask :: Text -> GetSpeechSynthesisTask
- getSpeechSynthesisTask_taskId :: Lens' GetSpeechSynthesisTask Text
- data GetSpeechSynthesisTaskResponse = GetSpeechSynthesisTaskResponse' {}
- newGetSpeechSynthesisTaskResponse :: Int -> GetSpeechSynthesisTaskResponse
- getSpeechSynthesisTaskResponse_synthesisTask :: Lens' GetSpeechSynthesisTaskResponse (Maybe SynthesisTask)
- getSpeechSynthesisTaskResponse_httpStatus :: Lens' GetSpeechSynthesisTaskResponse Int
Creating a Request
data GetSpeechSynthesisTask Source #
See: newGetSpeechSynthesisTask
smart constructor.
Instances
newGetSpeechSynthesisTask Source #
Create a value of GetSpeechSynthesisTask
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:
GetSpeechSynthesisTask
, getSpeechSynthesisTask_taskId
- The Amazon Polly generated identifier for a speech synthesis task.
Request Lenses
getSpeechSynthesisTask_taskId :: Lens' GetSpeechSynthesisTask Text Source #
The Amazon Polly generated identifier for a speech synthesis task.
Destructuring the Response
data GetSpeechSynthesisTaskResponse Source #
See: newGetSpeechSynthesisTaskResponse
smart constructor.
GetSpeechSynthesisTaskResponse' | |
|
Instances
Generic GetSpeechSynthesisTaskResponse Source # | |
Read GetSpeechSynthesisTaskResponse Source # | |
Show GetSpeechSynthesisTaskResponse Source # | |
Defined in Amazonka.Polly.GetSpeechSynthesisTask | |
NFData GetSpeechSynthesisTaskResponse Source # | |
Defined in Amazonka.Polly.GetSpeechSynthesisTask rnf :: GetSpeechSynthesisTaskResponse -> () # | |
Eq GetSpeechSynthesisTaskResponse Source # | |
type Rep GetSpeechSynthesisTaskResponse Source # | |
Defined in Amazonka.Polly.GetSpeechSynthesisTask type Rep GetSpeechSynthesisTaskResponse = D1 ('MetaData "GetSpeechSynthesisTaskResponse" "Amazonka.Polly.GetSpeechSynthesisTask" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "GetSpeechSynthesisTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "synthesisTask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SynthesisTask)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetSpeechSynthesisTaskResponse Source #
Create a value of GetSpeechSynthesisTaskResponse
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:synthesisTask:GetSpeechSynthesisTaskResponse'
, getSpeechSynthesisTaskResponse_synthesisTask
- SynthesisTask object that provides information from the requested task,
including output format, creation time, task status, and so on.
$sel:httpStatus:GetSpeechSynthesisTaskResponse'
, getSpeechSynthesisTaskResponse_httpStatus
- The response's http status code.
Response Lenses
getSpeechSynthesisTaskResponse_synthesisTask :: Lens' GetSpeechSynthesisTaskResponse (Maybe SynthesisTask) Source #
SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.
getSpeechSynthesisTaskResponse_httpStatus :: Lens' GetSpeechSynthesisTaskResponse Int Source #
The response's http status code.