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 :-)

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠