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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则