libZSservicesZSamazonka-pollyZSamazonka-polly
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Read GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Show GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Generic GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type Rep GetSpeechSynthesisTask :: Type -> Type #

NFData GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Methods

rnf :: GetSpeechSynthesisTask -> () #

Hashable GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

AWSRequest GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type AWSResponse GetSpeechSynthesisTask #

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

type Rep GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type Rep GetSpeechSynthesisTask = D1 ('MetaData "GetSpeechSynthesisTask" "Amazonka.Polly.GetSpeechSynthesisTask" "libZSservicesZSamazonka-pollyZSamazonka-polly" 'False) (C1 ('MetaCons "GetSpeechSynthesisTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

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:

$sel:taskId: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
Eq GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Read GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Show GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Generic GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type Rep GetSpeechSynthesisTaskResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-pollyZSamazonka-polly" '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.