Lambda Invoke -- Error handling and Retry for Throttles within Map

0

Hello, I am looking for help in how to set error handling in the AWS step function's workflow studio. In particular, I am looking for how to set retries for a lambda function within a distributed map to handle throttles. I appreciate it if someone could help me with figuring out the different parameters in "Add New Retry". Two specific questions 1, What error I should select for Throttles? Errors Specify one or more error(s) that will trigger this retrier. You can select a built-in Amazon States error or enter a custom error name. 2. Do I need a "Catch"

Thank you in advance!

Ahmed
已提问 4 个月前396 查看次数
1 回答
1

Hi 👋🏽

which throttle exception do you want to catch exactly? How I do this normally is by trying to get the exception triggered (if that is feasible) and using the error name or type then.

How I did that in the past is by having a catch on all errors and then a choice state for specific error types.

Example

Sorry I needed to blur a few things. Does that help?

profile picture
已回答 2 个月前
  • Wow. This is new to me. Let me investigate that! Thank you!

  • I have a question. What is this catch #1? what type of flow or action?

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

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

回答问题的准则