POST /mltk/register_model?test_connection=1
POST /mltk/register_model?test_connection=1
Same body as 7.4 but the handler only probes AWS (`sagemaker:DescribeEndpoint`) — nothing is persisted.
Description. Same body as 7.4 but the handler only probes AWS (sagemaker:DescribeEndpoint) — nothing is persisted. Accepts test_connection=1 or test_connection=true (case-insensitive).
Response (200).
{
"status": "success",
"message": "Successfully connected to the endpoint 'my-endpoint-123'",
"endpoint_name": "my-endpoint-123",
"endpoint_status": "InService",
"test_type": "connection_test"
}
Example.
curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" -X POST
-H "Content-Type: application/json"
--data @register.json
"$SPLUNK_HOST/servicesNS/nobody/Splunk_ML_Toolkit/mltk/register_model?test_connection=1&output_mode=json"