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.Polly.GetSpeechSynthesisTask
Description
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.
Constructors
GetSpeechSynthesisTask' | |
Instances
newGetSpeechSynthesisTask Source #
Arguments
:: Text | |
-> GetSpeechSynthesisTask |
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.
Constructors
GetSpeechSynthesisTaskResponse' | |
Fields
|
Instances
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.