I'm trying to delete an AWS lex bot. The prerequisite for the delete it action is that all associated aliases should be deleted. I'm deleting these aliases sequentially as the API doesn't support parallel delete. I'm certain that the first alias is deleted but when the command to delete the next alias is issued, it errors out saying there's already a delete operation taking place.
Asked
Active
Viewed 128 times
1
-
*"saying there's already a delete operation taking place"*... please don't paraphrase error messages. Is the code for the error a `ConflictException` or something else? – Michael - sqlbot Jun 03 '18 at 12:18
-
That's correct. I get a ConflictException and I'm assuming it's because the previous delete operation hasn't ended although I get a response before I initiate the current delete. – Abhiman Jun 03 '18 at 13:59