Skip to content

Ec2CapacityReservation

Source code in docs_src/capo_sagemaker/types/ec2_capacity_reservation.py
class Ec2CapacityReservation(TypedDict, closed=True):
    ec2_capacity_reservation_id: NotRequired[
        "capo_sagemaker.types.ec2_capacity_reservation_id.Ec2CapacityReservationId"
    ]
    """<p>The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.</p>"""
    total_instance_count: NotRequired["capo_sagemaker.types.task_count.TaskCount"]
    """<p>The number of instances that you allocated to the EC2 capacity reservation.</p>"""
    available_instance_count: NotRequired["capo_sagemaker.types.task_count.TaskCount"]
    """<p>The number of instances that are currently available in the EC2 capacity reservation.</p>"""
    used_by_current_endpoint: NotRequired["capo_sagemaker.types.task_count.TaskCount"]
    """<p>The number of instances from the EC2 capacity reservation that are being used by the endpoint.</p>"""

available_instance_count instance-attribute

available_instance_count: NotRequired[TaskCount]

The number of instances that are currently available in the EC2 capacity reservation.

ec2_capacity_reservation_id instance-attribute

ec2_capacity_reservation_id: NotRequired[Ec2CapacityReservationId]

The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.

total_instance_count instance-attribute

total_instance_count: NotRequired[TaskCount]

The number of instances that you allocated to the EC2 capacity reservation.

used_by_current_endpoint instance-attribute

used_by_current_endpoint: NotRequired[TaskCount]

The number of instances from the EC2 capacity reservation that are being used by the endpoint.