using region instead of endpoint for AWS