aws / git-remote-codecommit

An implementation of Git Remote Helper that makes it easier to interact with AWS CodeCommit
Apache License 2.0
271 stars 38 forks source link

Use botocore.regions EndpointResolver for URL #46

Open sdickman-manh opened 1 year ago

sdickman-manh commented 1 year ago

*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.