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!

gefragt vor 4 Jahren222 Aufrufe
2 Antworten
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

beantwortet vor 4 Jahren
0

Thanks for the help Fatih

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen