Skip to content

Releases: smithy-lang/smithy-java

smithy-call 0.1

11 Apr 16:59
afe441c
Compare
Choose a tag to compare
smithy-call 0.1 Pre-release
Pre-release

smithy-call

smithy-call: a CLI that uses ahead-of-time compilation and the dynamic client to make ad-hoc calls to Smithy services using Smithy models.

Functionalities provided by this CLI include:

  1. Execute operations listed in a service model
  2. List operations in a service model
  3. SigV4 authentication
  4. Multi-protocol support

Example Calls

smithy-call [SERVICE] --list-operations -m [PATH_TO_SERVICE_MODEL]

smithy-call [SERVICE] [OPERATION] -m [PATH_TO_SERVICE_MODEL] --url [ENDPOINT_URL]

smithy-call [SERVICE] [OPERATION] -m [PATH_TO_SERVICE_MODEL] --url [ENDPOINT_URL] --input-path [PATH_TO_INPUT_JSON_FILE]

smithy-call [SERVICE] [OPERATION] -m [PATH_TO_SERVICE_MODEL] --url [ENDPOINT_URL] --input-json [JSON_STRING_INPUT] --auth aws --aws-region [AWS_REGION]

Disclaimer: The attached binary is a platform-specific Native Image for Apple Silicon. Please follow the README instructions to build Native Images for other platforms.

Link to README: https://github.com/smithy-lang/smithy-java/blob/main/cli/README.md

v0.0.1 (Developer Preview)

06 Feb 21:40
8e2dfb2
Compare
Choose a tag to compare
Pre-release

0.0.1 (02/06/2025)

Warning

This is a developer-preview release and may contain bugs. No guarantee is made about API stability.
This release is not recommended for production use!

Features

  • Implemented Client, Server and Type codegen plugins.
  • Added Client event streaming support.
  • Added Client Auth support - sigv4, bearer auth, http basic auth.
  • Added JSON protocol support - restJson1, awsJson.
  • Added RPCV2 CBOR protocol support
  • Implemented Dynamic client that can load a Smithy model to call a service.
  • Added Smithy Lambda Endpoint wrapper to run generated server stubs in AWS Lambda