-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
amazonka-managedblockchain-query: generate #959
Comments
The unfortunate answer is: not easily, and therefore not soon. Amazonka generates service bindings by parsing AWS' While the generator is battle-tested, it is also brittle. It resolves references between structures (what botocore calls "shapes") essentially by inlining them via a cofree comonad. This falls down when you have circular references (which happens e.g., when a service definition includes things like syntax trees). We have this fixed by using a special This mostly works, but there are edge cases. See #888 for the gory details, but essentially: we can compute deriving clauses only when a structure is inlined, but we have to guess at the deriving clauses needed by a The compromise for the 2.0 release was: ship as much as we can, and fix the generator later. The long-term plan for the generator starts in #957: we need a proper syntax tree for I suspect that these are larger PRs than you have capacity to provide, but if you're willing to tackle some of this, I can help coach and review. Alternative workarounds: you might be able to declare your own |
Is it possible for amazonka to generate a package for Amazon Managed Blockchain Query? This is a slightly different API from Amazon Managed Blockchain. It's for querying data on chain as opposed to managing their nodes. amazonka currently supports Amazon Managed Blockchain, but not AMB Query, as far as I can tell.
Here's the documentation for AMB Query's API:
https://docs.aws.amazon.com/managed-blockchain/latest/AMBQ-APIReference/Welcome.html
If it's possible to add this API, I'd be more than happy to make a PR to add support for it. I might just need a little bit of direction to make sure that I did it right.
Thanks!
The text was updated successfully, but these errors were encountered: