1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Yes, it is possible. There is no documentation of specifically working with API Gateway and SageMaker MultiDataModels. The trick is to pass the model as a header.
See the documentation here:
https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html
and the source code here:
https://github.com/aws/sagemaker-python-sdk/blob/master/src/sagemaker/local/local_session.py
And the answer to another difficulty I encountered here:
https://stackoverflow.com/questions/68557263/aws-api-gateway-returns-target-model-header-missing-even-though-target-model-pas/68559729#68559729
Or direct message my user here on the forums.
beantwortet vor 3 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr