Use #aws_endpoint

Fixes #9