[x] PR title and description conform to Pull Request guidelines.
Issue #, if available: #2945
Description of changes:
In China the AppSync URL has .cn as a TLD, and we weren't account for that in our standard URL regex. I updated the regex to match Amplify JS
How did you test these changes?
Unit test
Documentation update required?
[x] No
[ ] Yes (Please include a PR link for the documentation update)
General Checklist
[x] Added Unit Tests
[ ] Added Integration Tests
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: #2945
Description of changes: In China the AppSync URL has .cn as a TLD, and we weren't account for that in our standard URL regex. I updated the regex to match Amplify JS
How did you test these changes? Unit test
Documentation update required?
General Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.