Skip to content

CapacityReservation

Source code in docs_src/capo_athena/types/capacity_reservation.py
class CapacityReservation(TypedDict, closed=True):
    name: "capo_athena.types.capacity_reservation_name.CapacityReservationName"
    """<p>The name of the capacity reservation.</p>"""
    status: "capo_athena.types.capacity_reservation_status.CapacityReservationStatus"
    """<p>The status of the capacity reservation.</p>"""
    target_dpus: "capo_athena.types.target_dpus_integer.TargetDpusInteger"
    """<p>The number of data processing units requested.</p>"""
    allocated_dpus: "capo_athena.types.allocated_dpus_integer.AllocatedDpusInteger"
    """<p>The number of data processing units currently allocated.</p>"""
    last_allocation: NotRequired[
        "capo_athena.types.capacity_allocation.CapacityAllocation"
    ]
    last_successful_allocation_time: NotRequired[
        "capo_athena.types.timestamp.Timestamp"
    ]
    """<p>The time of the most recent capacity allocation that succeeded.</p>"""
    creation_time: "capo_athena.types.timestamp.Timestamp"
    """<p>The time in UTC epoch millis when the capacity reservation was created.</p>"""

allocated_dpus instance-attribute

allocated_dpus: AllocatedDpusInteger

The number of data processing units currently allocated.

creation_time instance-attribute

creation_time: Timestamp

The time in UTC epoch millis when the capacity reservation was created.

last_allocation instance-attribute

last_allocation: NotRequired[CapacityAllocation]

last_successful_allocation_time instance-attribute

last_successful_allocation_time: NotRequired[Timestamp]

The time of the most recent capacity allocation that succeeded.

name instance-attribute

The name of the capacity reservation.

status instance-attribute

The status of the capacity reservation.

target_dpus instance-attribute

target_dpus: TargetDpusInteger

The number of data processing units requested.