Personalize is URL-encoding my S3 path in CreateDatasetImportJob

0

I'm trying to script a Personalize CreateDatasetImportJob. The (redacted) JSON payload looks like so:

{
     "jobName": "some-job-name",
     "datasetArn": "my-dataset-arn",
     "dataSource": {
         "dataLocation": "s3://bucketname/path/to/my/data/date=20230801/"
     },
     "roleArn": "my-role-arn",
     "importMode": "FULL"
 }

When I run this job via the console, with that same S3 URL (prefix), the job runs just fine. When I execute via the CLI using that payload, however, I get this error:

No valid input at s3://bucketname/path/to/my/data/date%3D20230801/

Personalize seems to be URL-encoding the "=" in my (perfectly valid) S3 URL path. Any ideas how to prevent this? Changing the path structure of my data is not an option ... these are carefully controlled data lake paths -- that work with all other AWS tooling so far ... only Personalize seems to be giving me grief, and only programatically, as the console is working but doesn't scale for thousands of jobs :-)

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ