SageMaker / Paginator / ListUltraServersByReservedCapacity

ListUltraServersByReservedCapacity

class SageMaker.Paginator.ListUltraServersByReservedCapacity
paginator = client.get_paginator('list_ultra_servers_by_reserved_capacity')
paginate(**kwargs)

Creates an iterator that will paginate through responses from SageMaker.Client.list_ultra_servers_by_reserved_capacity().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ReservedCapacityArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ReservedCapacityArn (string) –

    [REQUIRED]

    The ARN of the reserved capacity to list UltraServers for.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'UltraServers': [
        {
            'UltraServerId': 'string',
            'UltraServerType': 'string',
            'AvailabilityZone': 'string',
            'InstanceType': 'ml.p4d.24xlarge'|'ml.p5.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.trn1.32xlarge'|'ml.trn2.48xlarge'|'ml.p6-b200.48xlarge'|'ml.p4de.24xlarge'|'ml.p6e-gb200.36xlarge'|'ml.p5.4xlarge',
            'TotalInstanceCount': 123,
            'ConfiguredSpareInstanceCount': 123,
            'AvailableInstanceCount': 123,
            'InUseInstanceCount': 123,
            'AvailableSpareInstanceCount': 123,
            'UnhealthyInstanceCount': 123,
            'HealthStatus': 'OK'|'Impaired'|'Insufficient-Data'
        },
    ]
}

Response Structure

  • (dict) –

    • UltraServers (list) –

      A list of UltraServers that are part of the specified reserved capacity.

      • (dict) –

        Represents a high-performance compute server used for distributed training in SageMaker AI. An UltraServer consists of multiple instances within a shared NVLink interconnect domain.

        • UltraServerId (string) –

          The unique identifier for the UltraServer.

        • UltraServerType (string) –

          The type of UltraServer, such as ml.u-p6e-gb200x72.

        • AvailabilityZone (string) –

          The name of the Availability Zone where the UltraServer is provisioned.

        • InstanceType (string) –

          The Amazon EC2 instance type used in the UltraServer.

        • TotalInstanceCount (integer) –

          The total number of instances in this UltraServer.

        • ConfiguredSpareInstanceCount (integer) –

          The number of spare instances configured for this UltraServer to provide enhanced resiliency.

        • AvailableInstanceCount (integer) –

          The number of instances currently available for use in this UltraServer.

        • InUseInstanceCount (integer) –

          The number of instances currently in use in this UltraServer.

        • AvailableSpareInstanceCount (integer) –

          The number of available spare instances in the UltraServer.

        • UnhealthyInstanceCount (integer) –

          The number of instances in this UltraServer that are currently in an unhealthy state.

        • HealthStatus (string) –

          The overall health status of the UltraServer.