[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"pattern-apigw-rest-sagemaker":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":6,"stem":54,"testing":55,"videoId":6,"__hash__":58},"patterns\u002Fpatterns\u002Fapigw-rest-sagemaker.json","Amazon API Gateway REST API to Amazon Sagemaker",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fnabanita-paul.json",{"text":13},[14],"sam deploy","Create a an Amazon API Gateway REST API to invoke a Sagemaker endpoint.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-rest-sagemaker","serverless-patterns\u002Fapigw-rest-sagemaker","apigw-rest-sagemaker","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"This pattern shows how to use an use a API Gateway REST API to invoke a SageMaker endpoint using using a native AWS service integration.","The pattern deploys a SageMaker endpoint for the Flan-T5 foundation model in Amazon SageMaker JumpStart. To deploy the pattern with a different model, replace the ModelData and ImageURI parameters in the template.yaml file. The template also deploys a REST API with AWS service integration to invoke the SageMaker endpoint directly. ","Integration","300",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"apigw","Amazon API Gateway",{"x":39,"y":35,"service":40,"label":41},80,"sagemaker","Amazon Sagemaker",{"from":43,"to":44,"label":45},"icon1","icon2","",{"bullets":47},[48,51],{"text":49,"link":50},"How do I use API Gateway as a proxy for another AWS service?","https:\u002F\u002Frepost.aws\u002Fknowledge-center\u002Fapi-gateway-proxy-integrate-service",{"text":52,"link":53},"Zero-shot prompting for the Flan-T5 foundation model in Amazon SageMaker JumpStart","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fmachine-learning\u002Fzero-shot-prompting-for-the-flan-t5-foundation-model-in-amazon-sagemaker-jumpstart\u002F","patterns\u002Fapigw-rest-sagemaker",{"text":56},[57],"See the GitHub repo for detailed testing instructions.","-gaJgCp6uk8lORzLPzirB03maheppp0Sp8bUp_kQ1h0",1779273333068]