ml_admin user.ml_user_predict credentials, so make sure you have configured it beforehand.~/.aws/credentials and ~/.aws/config files contains this user.my_admin account.SageMakerInvokeEndpoint policy for SageMaker endpoint invocation and AWSLambdaBasicExecutionRole for Lambda function logging.lambda_sagemaker_invoke_endpointUnder Services, select Lambda. Then Create Function.
Author from Scratch:
bikerental_predictionlambda_sagemaker_invoke_endpoint.IntegrationExamples folder.lambda_handler.ENDPOINT_NAME to your SageMaker endpoint name.Bike Single Observation)BikeSingleObservationTest and check the results.API Gateway, which will forward the request to the Lambda function, which will invoke the SageMaker endpoint.my_admin account, navigate to API Gateway.BikeRentalPrediction.Create Method ans select POST method.Lambda Function.Bike Single Observation) in Lesson 101.Deploy API and create a new stage named beta.application/json