Skip to content

CapacityBlockStatus

Source code in docs_src/capo_ec2/types/capacity_block_status.py
class CapacityBlockStatus(TypedDict, closed=True):
    capacity_block_id: NotRequired["capo_ec2.types.capacity_block_id.CapacityBlockId"]
    """<p>The ID of the Capacity Block.</p>"""
    interconnect_status: NotRequired[
        "capo_ec2.types.capacity_block_interconnect_status.CapacityBlockInterconnectStatus"
    ]
    """<p>The status of the high-bandwidth accelerator interconnect. Possible states include:</p> <ul> <li> <p> <code>ok</code> the accelerator interconnect is healthy.</p> </li> <li> <p> <code>impaired</code> - accelerator interconnect communication is impaired.</p> </li> <li> <p> <code>insufficient-data</code> - insufficient data to determine accelerator interconnect status.</p> </li> </ul>"""
    total_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The combined amount of <code>Available</code> and <code>Unavailable</code> capacity in the Capacity Block.</p>"""
    total_available_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The remaining capacity. Indicates the number of resources that can be launched into the Capacity Block.</p>"""
    total_unavailable_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The unavailable capacity. Indicates the instance capacity that is unavailable for use due to a system status check failure.</p>"""
    capacity_reservation_statuses: NotRequired[
        "capo_ec2.types.capacity_reservation_status_set.CapacityReservationStatusSet"
    ]
    """<p>The availability of capacity for the Capacity Block reservations.</p>"""

capacity_block_id instance-attribute

capacity_block_id: NotRequired[CapacityBlockId]

The ID of the Capacity Block.

capacity_reservation_statuses instance-attribute

capacity_reservation_statuses: NotRequired[CapacityReservationStatusSet]

The availability of capacity for the Capacity Block reservations.

interconnect_status instance-attribute

interconnect_status: NotRequired[CapacityBlockInterconnectStatus]

The status of the high-bandwidth accelerator interconnect. Possible states include:

  • ok the accelerator interconnect is healthy.

  • impaired - accelerator interconnect communication is impaired.

  • insufficient-data - insufficient data to determine accelerator interconnect status.

total_available_capacity instance-attribute

total_available_capacity: NotRequired[Integer]

The remaining capacity. Indicates the number of resources that can be launched into the Capacity Block.

total_capacity instance-attribute

total_capacity: NotRequired[Integer]

The combined amount of Available and Unavailable capacity in the Capacity Block.

total_unavailable_capacity instance-attribute

total_unavailable_capacity: NotRequired[Integer]

The unavailable capacity. Indicates the instance capacity that is unavailable for use due to a system status check failure.