1 Answer
- Newest
- Most votes
- Most comments
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.
answered 3 years ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago