list_cluster_extensions
async
¶
list_cluster_extensions(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 | |