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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南