Lifetime of tasks created by StartSpeechSynthesisTask

0

I just began testing with the StartSpeechSynthesisTask api, and I noticed that every task I started is displayed in the list returned by ListSpeechSynthesisTasks.

Am I supposed to delete the tasks when they are no longer needed, and if so how? I am deleting the audio files written to S3, but I don't know how to manage the tasks.

Thanks!

質問済み 4年前222ビュー
2回答
0

Hi James,

Thank you for reaching out. You do not have to delete any request after they are processed, since this is expected API behaviour. ListSpeechSynthesisTasks api returns all requests if status is not set through call. You can set Status=inProgress or Status=scheduled in order to see the ones not processed yet. Optionally you can set MaxResults which will be listing most recent requests.

You can see more details related to this api here: https://docs.aws.amazon.com/polly/latest/dg/API_ListSpeechSynthesisTasks.html

Thanks,
Fatih

回答済み 4年前
0

Thanks for the help Fatih

回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ