Build a serverless front-end for Amazon SageMaker endpoints with Terraform
$ terraform init
$ make apply
base_url
is aws_api_gateway_deployment.gw_deployment.invoke_url
$ bash request.sh <base_url>
{"code": 200, "variant": "variant-a", "prediction": "virginica"}
$ make destroy
Amazon SageMaker エンドポイント用のサーバーレスフロントエンドを構築する
Build a serverless frontend for an Amazon SageMaker endpoint