aws2openapi icon indicating copy to clipboard operation
aws2openapi copied to clipboard

Exception definitions not included

Open lmmx opened this issue 2 years ago • 0 comments

There appear to be missing definitions for exceptions. For example InvalidArn is one of the exceptions in the states SDK API but the definition is missing in the generated schema

  schemas:
    ...
    InvalidArn: {}

From what I can see, this info is simply absent in the library being used as the source for these outputs.

It is however present in the v3.x package aws-sdk-js-v3, but I can see this library is targetting the v2.x package aws-sdk-js/.

For context, I was hoping to develop an approach to ingest boto3 Python client responses off the back of this work, but since the errors are not available any data model I can produce would be incomplete.

I guess the question I have in this issue is whether there are plans to move on to target the v3.x package?

lmmx avatar Jun 07 '23 13:06 lmmx