Description of changes:
Use the endpoints.json included with botocore to create the endpoint for codecommit. If the version of botocore supports use_dualstack_endpoint and use_fips_endpoint then get those from the session and include in the call to construct the endpoint.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
*Issue #45
Description of changes: Use the endpoints.json included with botocore to create the endpoint for codecommit. If the version of botocore supports use_dualstack_endpoint and use_fips_endpoint then get those from the session and include in the call to construct the endpoint.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.