i've created a clustering model on sagemaker and i'm invoking it via CLI with this command: aws sagemaker-runtime invoke-endpoint --endpoint-name myendpoint --body $mydata --content-type text/csv output.json --region eu-west-1
If my data starts with a negative number, i get an error "usage: aws [options] [ ...] [parameters] To see help text, you can run:
aws help aws help aws help aws: error: argument --body: expected one argument"
While if it's a positive number, everything works. How can i escape the first minus of the data to make it work? Thanks in advance