Ported from AWS SDK to AWS SDK Core