Skip to content

smithy-call 0.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@franco2002lu franco2002lu released this 11 Apr 16:59
· 249 commits to main since this release
afe441c

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