smithy-call 0.1
Pre-releasesmithy-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:
- Execute operations listed in a service model
- List operations in a service model
- SigV4 authentication
- 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