list_cluster_extension_versions
async
¶
list_cluster_extension_versions(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
extension_name: Optional[ExtensionName] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListClusterExtensionVersionsResponse
Lists the versions of an extension that you can install on a SageMaker HyperPod cluster, from the highest version to the lowest. Use a version from this list as the ExtensionVersion in CreateClusterExtension or UpdateClusterExtension.
The list contains only versions that you can install. Versions that SageMaker HyperPod no longer offers for new installations don't appear. If SageMaker HyperPod doesn't offer an extension with the name that you specify, the response contains an empty list.
Parameters:
-
extension_name(Optional[ExtensionName], default:None) –The name of the extension whose versions you want to list, for example
sagemaker-observability. -
max_results(Optional[MaxResults], default:None) –The maximum number of versions to return in the response. If you don't specify a value, SageMaker HyperPod returns up to 100 versions.
-
next_token(Optional[NextToken], default:None) –If the result of the previous
ListClusterExtensionVersionsrequest was truncated, the response includes aNextToken. To retrieve the next set of versions, use the token in the next request.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 | |