1 Answer
- Newest
- Most votes
- Most comments
0
When I last looked into it, it was not possible to query all versions/variants of the model automatically. You can specify what variant to use when using the invoke_endpoint
method. I would therefore write a lambda function to invoke each of the endpoints one-by-one (see here: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html). To be especially rigorous about it, you can add a function in your lambda code that first retrieves all the endpoint variants (see here: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.describe_endpoint) then queries them one-by-one, and returns all the results.
Relevant content
- asked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 days ago
- AWS OFFICIALUpdated a year ago