1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
Hello.
In the case of AWS CLI, I think you will use the "create-processing-job" command.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sagemaker/create-processing-job.html
I think the boto3 code you provided will look like the following when converted to AWS CLI.
aws sagemaker create-processing-job --processing-job-name "jakesjob" --processing-inputs S3Input={S3Uri="s3://BUCKET",S3DataType="S3Prefix",S3InputMode="File"} --processing-resources ClusterConfig={InstanceCount=1,InstanceType="ml.t3.large"}
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
Thanks @riku - I will try this . Looking at documentation for cli . It states that - - processing-inputs is a list . I’m not sure if we put this inside [ ]
When passing parameters in JSON, it must be a list. If you pass parameters using "Shorthand Syntax" instead of JSON, I think an error will occur if you put them in a list.
When setting parameters in JSON, I think it would be as follows.
How to use the AWS CLI's "Shorthand Syntax" is explained in the following document. https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-shorthand.html
If you use "Shorthand Syntax" and enter the list with "[ ]", an error will occur. When representing a list, use spaces.