Library for loading AWS Smithy files and their JSON AST models. The Smithy interface definition language (IDL) defines services and documentation for any protocol.
Smithy IDL
Smithy models define a service as a collection of resources, operations and shapes. This library loads Smithy IDL and the isomorphic JSON abstract syntax tree (AST) representation.
For example the following Smithy IDL example represents a service TimeService with one operation GetServerTime which returns a structure GetServerTimeOutput that contains a timestamp.
SotoSmithy supports all the standard shapes and traits defined in the Smithy 1.0 spec. It supports a limited number of selectors including shape and shape with trait eg
string [trait|sensitive]
SotoSmithyAWS
This library can be used for reading any Smithy files but was written specifically for parsing the AWS service Smithy files. There is an additional library SotoSmithyAWS that includes the traits required to load AWS service Smithy. If you want to use the AWS traits library you need to register these traits with SotoSmithy by calling the following before you load any files.
Soto Smithy
Library for loading AWS Smithy files and their JSON AST models. The Smithy interface definition language (IDL) defines services and documentation for any protocol.
Smithy IDL
Smithy models define a service as a collection of resources, operations and shapes. This library loads Smithy IDL and the isomorphic JSON abstract syntax tree (AST) representation.
For example the following Smithy IDL example represents a service TimeService with one operation GetServerTime which returns a structure GetServerTimeOutput that contains a timestamp.
It can be represented in Smithy JSON AST as
Support
SotoSmithy supports all the standard shapes and traits defined in the Smithy 1.0 spec. It supports a limited number of selectors including shape and shape with trait eg
SotoSmithyAWS
This library can be used for reading any Smithy files but was written specifically for parsing the AWS service Smithy files. There is an additional library SotoSmithyAWS that includes the traits required to load AWS service Smithy. If you want to use the AWS traits library you need to register these traits with SotoSmithy by calling the following before you load any files.