Skip to content

CapacityReservationSummary

Source code in docs_src/capo_sagemaker/types/capacity_reservation_summary.py
class CapacityReservationSummary(TypedDict, closed=True):
    sm_capacity_reservation_arn: NotRequired[
        "capo_sagemaker.types.capacity_reservation_arn.CapacityReservationArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.</p>"""
    sm_capacity_reservation_id: NotRequired[
        "capo_sagemaker.types.sage_maker_capacity_reservation_id.SageMakerCapacityReservationId"
    ]
    """<p>The ID of the SageMaker Capacity Reservation. The ID is the last part of the ARN and starts with <code>smcr-</code>.</p>"""
    owner: NotRequired["capo_sagemaker.types.account_id.AccountId"]
    """<p>The ID of the Amazon Web Services account that owns the SageMaker Capacity Reservation.</p>"""
    status: NotRequired[
        "capo_sagemaker.types.capacity_reservation_status.CapacityReservationStatus"
    ]
    """<p>The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:</p> <dl> <dt>Scheduled</dt> <dd> <p>The current time is before <code>StartTime</code>.</p> </dd> <dt>Active</dt> <dd> <p>The current time is between <code>StartTime</code> and <code>EndTime</code>. You can use the reserved instances.</p> </dd> <dt>Expired</dt> <dd> <p>The current time is at or after <code>EndTime</code>.</p> </dd> </dl>"""
    instance_type: NotRequired[
        "capo_sagemaker.types.capacity_reservation_instance_type.CapacityReservationInstanceType"
    ]
    """<p>The SageMaker AI instance type of the reserved instances, for example <code>ml.p5.48xlarge</code>.</p>"""
    availability_zone: NotRequired[
        "capo_sagemaker.types.availability_zone.AvailabilityZone"
    ]
    """<p>The name of the Availability Zone of the reserved instances, for example <code>us-east-1a</code>. Availability Zone names can map to different physical zones in different accounts. To identify the same zone across accounts, use <code>AvailabilityZoneId</code>.</p>"""
    availability_zone_id: NotRequired[
        "capo_sagemaker.types.capacity_reservation_availability_zone_id.CapacityReservationAvailabilityZoneId"
    ]
    """<p>The ID of the Availability Zone of the reserved instances, for example <code>use1-az1</code>. An Availability Zone ID identifies the same physical zone in every account.</p>"""
    total_instance_count: NotRequired[
        "capo_sagemaker.types.total_instance_count.TotalInstanceCount"
    ]
    """<p>The number of instances in the SageMaker Capacity Reservation.</p>"""
    start_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The time when the reserved instances become available.</p>"""
    end_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The time when the SageMaker Capacity Reservation ends. This value is not returned if the reservation has no end time.</p>"""
    creation_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The time when the SageMaker Capacity Reservation was created.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[AvailabilityZone]

The name of the Availability Zone of the reserved instances, for example us-east-1a. Availability Zone names can map to different physical zones in different accounts. To identify the same zone across accounts, use AvailabilityZoneId.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[CapacityReservationAvailabilityZoneId]

The ID of the Availability Zone of the reserved instances, for example use1-az1. An Availability Zone ID identifies the same physical zone in every account.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

The time when the SageMaker Capacity Reservation was created.

end_time instance-attribute

end_time: NotRequired[Timestamp]

The time when the SageMaker Capacity Reservation ends. This value is not returned if the reservation has no end time.

instance_type instance-attribute

instance_type: NotRequired[CapacityReservationInstanceType]

The SageMaker AI instance type of the reserved instances, for example ml.p5.48xlarge.

owner instance-attribute

owner: NotRequired[AccountId]

The ID of the Amazon Web Services account that owns the SageMaker Capacity Reservation.

sm_capacity_reservation_arn instance-attribute

sm_capacity_reservation_arn: NotRequired[CapacityReservationArn]

The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.

sm_capacity_reservation_id instance-attribute

sm_capacity_reservation_id: NotRequired[SageMakerCapacityReservationId]

The ID of the SageMaker Capacity Reservation. The ID is the last part of the ARN and starts with smcr-.

start_time instance-attribute

start_time: NotRequired[Timestamp]

The time when the reserved instances become available.

status instance-attribute

status: NotRequired[CapacityReservationStatus]

The status of the SageMaker Capacity Reservation. SageMaker AI sets the status from the start and end times of the reservation. Valid values:

Scheduled

The current time is before StartTime.

Active

The current time is between StartTime and EndTime. You can use the reserved instances.

Expired

The current time is at or after EndTime.

total_instance_count instance-attribute

total_instance_count: NotRequired[TotalInstanceCount]

The number of instances in the SageMaker Capacity Reservation.