/AWS1/CL_SGM=>LISTCLUSTERNODES()
¶
About ListClusterNodes¶
Retrieves the list of instances (also called nodes interchangeably) in a SageMaker HyperPod cluster.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_CLUSTERNAME
TYPE /AWS1/SGMCLUSTERNAMEORARN
/AWS1/SGMCLUSTERNAMEORARN
¶
The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes.
Optional arguments:¶
IV_CREATIONTIMEAFTER
TYPE /AWS1/SGMTIMESTAMP
/AWS1/SGMTIMESTAMP
¶
A filter that returns nodes in a SageMaker HyperPod cluster created after the specified time. Timestamps are formatted according to the ISO 8601 standard.
Acceptable formats include:
YYYY-MM-DDThh:mm:ss.sssTZD
(UTC), for example,2014-10-01T20:30:00.000Z
YYYY-MM-DDThh:mm:ss.sssTZD
(with offset), for example,2014-10-01T12:30:00.000-08:00
YYYY-MM-DD
, for example,2014-10-01
Unix time in seconds, for example,
1412195400
. This is also referred to as Unix Epoch time and represents the number of seconds since midnight, January 1, 1970 UTC.For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
IV_CREATIONTIMEBEFORE
TYPE /AWS1/SGMTIMESTAMP
/AWS1/SGMTIMESTAMP
¶
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
CreationTimeAfter
. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
IV_INSTANCEGROUPNAMECONTAINS
TYPE /AWS1/SGMCLUSTERINSTGROUPNAME
/AWS1/SGMCLUSTERINSTGROUPNAME
¶
A filter that returns the instance groups whose name contain a specified string.
IV_MAXRESULTS
TYPE /AWS1/SGMMAXRESULTS
/AWS1/SGMMAXRESULTS
¶
The maximum number of nodes to return in the response.
IV_NEXTTOKEN
TYPE /AWS1/SGMNEXTTOKEN
/AWS1/SGMNEXTTOKEN
¶
If the result of the previous
ListClusterNodes
request was truncated, the response includes aNextToken
. To retrieve the next set of cluster nodes, use the token in the next request.
IV_SORTBY
TYPE /AWS1/SGMCLUSTERSORTBY
/AWS1/SGMCLUSTERSORTBY
¶
The field by which to sort results. The default value is
CREATION_TIME
.
IV_SORTORDER
TYPE /AWS1/SGMSORTORDER
/AWS1/SGMSORTORDER
¶
The sort order for results. The default value is
Ascending
.