
Ultimate access to all questions.
How can a developer implement Lambda retry functionality in an AWS Step Functions state machine to stop on IllegalArgumentException and retry GetResource task once after a 10-second delay on TooManyRequestsException, without adding unnecessary complexity?
A
Place a Delay task post GetResource, with a catcher for TooManyRequestsException directing to this Delay for 10 seconds, then retrying GetResource.
B
Utilize a catcher on GetResource for TooManyRequestsException with a 10-second interval and one maximum attempt, followed by a retry of GetResource.
C
Implement a retrier for GetResource configured for TooManyRequestsException with a 10-second interval and one maximum attempt.
D
Duplicate GetResource as TryAgain, with a catcher on the original for TooManyRequestsException directing to the duplicated task.