Skip to content

CapacityReservationResourceUsage

Source code in docs_src/capo_sagemaker/types/capacity_reservation_resource_usage.py
class CapacityReservationResourceUsage(TypedDict, closed=True):
    resource_type: NotRequired[
        "capo_sagemaker.types.capacity_reservation_resource_type.CapacityReservationResourceType"
    ]
    """<p>The type of resource that uses the instances. Valid values:</p> <dl> <dt>HyperPodClusters</dt> <dd> <p>SageMaker AI HyperPod clusters.</p> </dd> <dt>Endpoints</dt> <dd> <p>SageMaker AI endpoints.</p> </dd> </dl>"""
    in_use_instance_count: NotRequired[
        "capo_sagemaker.types.in_use_instance_count.InUseInstanceCount"
    ]
    """<p>The number of instances from the SageMaker Capacity Reservation that are in use.</p>"""

in_use_instance_count instance-attribute

in_use_instance_count: NotRequired[InUseInstanceCount]

The number of instances from the SageMaker Capacity Reservation that are in use.

resource_type instance-attribute

resource_type: NotRequired[CapacityReservationResourceType]

The type of resource that uses the instances. Valid values:

HyperPodClusters

SageMaker AI HyperPod clusters.

Endpoints

SageMaker AI endpoints.