list_cluster_extensions
¶
list_cluster_extensions(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
cluster_arn: Optional[ClusterArn] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
) -> ListClusterExtensionsResponse
Lists the extensions installed on a SageMaker HyperPod cluster.
Parameters:
-
cluster_arn(Optional[ClusterArn], default:None) –The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster whose extensions you want to list.
-
max_results(Optional[MaxResults], default:None) –The maximum number of extensions to return in the response. If you don't specify a value, SageMaker HyperPod returns up to 100 extensions.
-
next_token(Optional[NextToken], default:None) –If the result of the previous
ListClusterExtensionsrequest was truncated, the response includes aNextToken. To retrieve the next set of extensions, use the token in the next request. When you use theCreationTimeAfterorCreationTimeBeforefilters, a response can contain fewer extensions thanMaxResults, or none, and still include aNextToken. Continue until the response doesn't include aNextToken. -
creation_time_after(Optional[Timestamp], default:None) –A filter that returns extensions created at or after the specified time. Timestamps are formatted according to the ISO 8601 standard.
-
creation_time_before(Optional[Timestamp], default:None) –A filter that returns extensions created at or before the specified time. The acceptable formats are the same as the timestamp formats for
CreationTimeAfter.
Raises:
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 | |