diff --git a/src/sagemaker/jumpstart/hub/hub.py b/src/sagemaker/jumpstart/hub/hub.py index 69d1dbb5c1..bc42eebea0 100644 --- a/src/sagemaker/jumpstart/hub/hub.py +++ b/src/sagemaker/jumpstart/hub/hub.py @@ -233,7 +233,7 @@ def list_sagemaker_public_hub_models( f"arn:{info.partition}:" f"sagemaker:{info.region}:" f"aws:hub-content/{info.hub_name}/" - f"{HubContentType.MODEL}/{model[0]}" + f"{HubContentType.MODEL.value}/{model[0]}" ) hub_content_summary = { "hub_content_name": model[0],