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!

demandé il y a 4 ans222 vues
2 réponses
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

répondu il y a 4 ans
0

Thanks for the help Fatih

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions