Skip to main content

IPollyClient

Interface in AWS.Polly

Interface for Polly service client.

Methods

DeleteLexicon

function DeleteLexicon( const ARequest: IPollyDeleteLexiconRequest): IPollyDeleteLexiconResponse; overload;

IPollyDeleteLexiconRequestIPollyDeleteLexiconResponse

Delete a pronunciation lexicon stored in an AWS region.

Parameters

NameDescription
ARequestA DeleteLexicon request object.

Returns

Response containing DeleteLexicon results.


function DeleteLexicon( const ALexiconName: string): IPollyDeleteLexiconResponse; overload;

IPollyDeleteLexiconResponse

Delete a pronunciation lexicon stored in an AWS region.

Parameters

NameDescription
ALexiconNameSpecify the name of a lexicon to delete.

Returns

Response containing DeleteLexicon results.

DescribeVoices

function DescribeVoices( const ARequest: IPollyDescribeVoicesRequest): IPollyDescribeVoicesResponse;

IPollyDescribeVoicesRequestIPollyDescribeVoicesResponse

Retrieve a list of voices that are available for use when requesting speech synthesis.

Parameters

NameDescription
ARequestA DescribeVoices request object.

Returns

Response containing DescribeVoices results.

GetLexicon

function GetLexicon( const ARequest: IPollyGetLexiconRequest): IPollyGetLexiconResponse; overload;

IPollyGetLexiconRequestIPollyGetLexiconResponse

Retrieve a pronunciation lexicon stored in an AWS region.

Parameters

NameDescription
ARequestA GetLexicon request object.

Returns

Response containing GetLexicon results.


function GetLexicon( const ALexiconName: string): IPollyGetLexiconResponse; overload;

IPollyGetLexiconResponse

Retrieve a pronunciation lexicon stored in an AWS region.

Parameters

NameDescription
ALexiconNameSpecify the name of the lexicon to retreive.

Returns

Response containing GetLexicon results.

GetSpeechSynthesisTask

function GetSpeechSynthesisTask( const ARequest: IPollyGetSpeechSynthesisTaskRequest): IPollyGetSpeechSynthesisTaskResponse; overload;

IPollyGetSpeechSynthesisTaskRequestIPollyGetSpeechSynthesisTaskResponse

Retrieve details of a speech synthesis task.

Parameters

NameDescription
ARequestA GetSpeechSynthesisTask request object.

Returns

Response containing GetSpeechSynthesisTask results.


function GetSpeechSynthesisTask( const ATaskId: string): IPollyGetSpeechSynthesisTaskResponse; overload;

IPollyGetSpeechSynthesisTaskResponse

Retrieve details of a speech synthesis task.

Parameters

NameDescription
ATaskIdSpecify the identifier of the task to retrieve.

Returns

Response containing GetSpeechSynthesisTask results.

ListLexicons

function ListLexicons(const ARequest: IPollyListLexiconsRequest): IPollyListLexiconsResponse; overload;

IPollyListLexiconsRequestIPollyListLexiconsResponse

Retrieve a list of pronunciation lexicons stored in an AWS region.

Parameters

NameDescription
ARequestA ListLexicons request object.

Returns

Response containing ListLexicons results.


function ListLexicons: IPollyListLexiconsResponse; overload;

IPollyListLexiconsResponse

Retrieve a list of pronunciation lexicons stored in an AWS region.

Returns

Response containing ListLexicons results.

ListSpeechSynthesisTasks

function ListSpeechSynthesisTasks( const ARequest: IPollyListSpeechSynthesisTasksRequest): IPollyListSpeechSynthesisTasksResponse; overload;

IPollyListSpeechSynthesisTasksRequestIPollyListSpeechSynthesisTasksResponse

Retrieve a list of speech synthesis tasks.

Parameters

NameDescription
ARequestA ListSpeechSynthesisTasks request object.

Returns

Response containing ListSpeechSynthesisTasks results.


function ListSpeechSynthesisTasks: IPollyListSpeechSynthesisTasksResponse; overload;

IPollyListSpeechSynthesisTasksResponse

Retrieve a list of speech synthesis tasks.

Parameters

NameDescription
ARequestA ListSpeechSynthesisTasks request object.

Returns

Response containing ListSpeechSynthesisTasks results.

PutLexicon

function PutLexicon(const ARequest: IPollyPutLexiconRequest): IPollyPutLexiconResponse; overload;

IPollyPutLexiconRequestIPollyPutLexiconResponse

Store a pronunciation lexicon in an AWS region.

Parameters

NameDescription
ARequestA PutLexicon request object.

Returns

Response containing PutLexicon results.


function PutLexicon(const ALexiconName, AContent: string): IPollyPutLexiconResponse; overload;

IPollyPutLexiconResponse

Store a pronunciation lexicon in an AWS region.

Parameters

NameDescription
ALexiconNameSpecify the name of the lexicon to store.
AContentSpecify the content of the lexicon in PLS format.

Returns

Response containing PutLexicon results.

StartSpeechSynthesisTask

function StartSpeechSynthesisTask( const ARequest: IPollyStartSpeechSynthesisTaskRequest): IPollyStartSpeechSynthesisTaskResponse;

IPollyStartSpeechSynthesisTaskRequestIPollyStartSpeechSynthesisTaskResponse

Start an asynchronous speech synthesis task.

Parameters

NameDescription
ARequestA StartSpeechSynthesisTask request object.

Returns

Response containing StartSpeechSynthesisTask results.

SynthesizeSpeech

function SynthesizeSpeech( const ARequest: IPollySynthesizeSpeechRequest): IPollySynthesizeSpeechResponse;

IPollySynthesizeSpeechRequestIPollySynthesizeSpeechResponse

Synthesize UTF-8 plain text or SSML to a stream of bytes.

Parameters

NameDescription
ARequestA SynthesizeSpeech request object.

Returns

Response containing SynthesizeSpeech results.