You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will throw a ResourceNotFoundException, which is actually ok.
However, AWSRetry will catch this and retry the call due the match on "^.*NotFound".
A possible fix is the change the regex for not found to "^.*NotFound$", so the error has to end in NotFound, but I suspect that adding an optional exclude list might be better.
The text was updated successfully, but these errors were encountered:
Would be great to be able to exclude specific errors.
For instance,
aws_lambda = boto3.client('lambda');
policy = aws_lambda.get_policy(FunctionName='TestFunction')
This will throw a ResourceNotFoundException, which is actually ok.
However, AWSRetry will catch this and retry the call due the match on "^.*NotFound".
A possible fix is the change the regex for not found to "^.*NotFound$", so the error has to end in NotFound, but I suspect that adding an optional exclude list might be better.
The text was updated successfully, but these errors were encountered: