Replace all straight forward occurrences of `if err, ok := err.(awserr.Error)` with the `isAWSErr` helper function