amazonka icon indicating copy to clipboard operation
amazonka copied to clipboard

Botocore library

Open endgame opened this issue 1 year ago • 0 comments

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

endgame avatar Jan 06 '24 02:01 endgame