Skip to content

Move away from AWS SDK Go V2 and use api-models-aws instead #123

@onno-vos-dev

Description

@onno-vos-dev

AWS recently released a new repo api-models-aws which houses all the API specs similarly to how they are available in AWS SDK Go V2 repo. It would be a lot cleaner to use this repo as a source rather than relying on cloning the Go SDK to get the required models.

The only difference is that endpoints.json is not available in the new repo and hence we're missing some details on endpoints credentials scope, global vs non global, and hostname among others. It does not seem this information is available in the models in that repo as far as I can tell.

I have tested a branch where I hardcoded then endpoints.json to the old AWS SDK Go V2 way and the code generated is identical between the two sources which is great!

I'll try and reach out to AWS to see if endpoints.json is aimed to come to the new repo or what the replacement of this should be.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions