Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Botocore library #971

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Botocore library #971

wants to merge 12 commits into from

Conversation

endgame
Copy link
Collaborator

@endgame endgame commented Jan 6, 2024

As part of #872, this PR adds a library to parse botocore service-2.json, waiters-2.json and paginators-1.json files. They use a hand-written parser based on the new Data.Aeson.Decoding.Tokens provided by recent versions of aeson.

Because the generator currently smooshes the aeson Values of these three together before attempting parsing, this PR also includes separate parsers for Service, Waiters, and Paginators, so that we can load each type of file individually and then marshal them into the types currently used by gen.

Future work:

  • Applying annexes
  • Plumbing this into gen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant