fix for AWS error message parsing
Merge pull request #1689 from virtualstaticvoid/aws_error_parsing

Fix for AWS error message regex not matching `Code` correctly