amazonka-polly-2.0: Amazon Polly SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data GetSpeechSynthesisTask Source #

See: newGetSpeechSynthesisTask smart constructor.

Constructors

GetSpeechSynthesisTask' 

Fields

  • taskId :: Text

    The Amazon Polly generated identifier for a speech synthesis task.

Instances

Instances details
ToHeaders GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

ToPath GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

ToQuery GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

AWSRequest GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type AWSResponse GetSpeechSynthesisTask #

Generic GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type Rep GetSpeechSynthesisTask :: Type -> Type #

Read GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Show GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

NFData GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Methods

rnf :: GetSpeechSynthesisTask -> () #

Eq GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Hashable GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type AWSResponse GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type Rep GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type Rep GetSpeechSynthesisTask = D1 ('MetaData "GetSpeechSynthesisTask" "Amazonka.Polly.GetSpeechSynthesisTask" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "GetSpeechSynthesisTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

GetSpeechSynthesisTaskResponse' 

Fields

  • synthesisTask :: Maybe SynthesisTask

    SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type Rep GetSpeechSynthesisTaskResponse :: Type -> Type #

Read GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Show GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

NFData GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Eq GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type Rep GetSpeechSynthesisTaskResponse Source # 
Instance details

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.