correct the endpoint URLs for Amazon CloudWatch