List Clusters
sagemaker_list_clusters | R Documentation |
Retrieves the list of SageMaker HyperPod clusters¶
Description¶
Retrieves the list of SageMaker HyperPod clusters.
Usage¶
sagemaker_list_clusters(CreationTimeAfter, CreationTimeBefore,
MaxResults, NameContains, NextToken, SortBy, SortOrder, TrainingPlanArn)
Arguments¶
CreationTimeAfter |
Set a start time for the time range during which you want to list SageMaker HyperPod clusters. Timestamps are formatted according to the ISO 8601 standard. Acceptable formats include:
For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide. |
CreationTimeBefore |
Set an end time for the time range during which you want to list
SageMaker HyperPod clusters. A filter that returns nodes in a SageMaker
HyperPod cluster created before the specified time. The acceptable
formats are the same as the timestamp formats for
|
MaxResults |
Set the maximum number of SageMaker HyperPod clusters to list. |
NameContains |
Set the maximum number of instances to print in the list. |
NextToken |
Set the next token to retrieve the list of SageMaker HyperPod clusters. |
SortBy |
The field by which to sort results. The default value is
|
SortOrder |
The sort order for results. The default value is
|
TrainingPlanArn |
The Amazon Resource Name (ARN); of the training plan to filter
clusters by. For more information about reserving GPU capacity for your
SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see
|
Value¶
A list with the following syntax:
list(
NextToken = "string",
ClusterSummaries = list(
list(
ClusterArn = "string",
ClusterName = "string",
CreationTime = as.POSIXct(
"2015-01-01"
),
ClusterStatus = "Creating"|"Deleting"|"Failed"|"InService"|"RollingBack"|"SystemUpdating"|"Updating",
TrainingPlanArns = list(
"string"
)
)
)
)
Request syntax¶
svc$list_clusters(
CreationTimeAfter = as.POSIXct(
"2015-01-01"
),
CreationTimeBefore = as.POSIXct(
"2015-01-01"
),
MaxResults = 123,
NameContains = "string",
NextToken = "string",
SortBy = "CREATION_TIME"|"NAME",
SortOrder = "Ascending"|"Descending",
TrainingPlanArn = "string"
)