list_cluster_extension_versions
¶
list_cluster_extension_versions(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 | |