CapacityReservationDetail
¶
Source code in docs_src/capo_sagemaker/types/capacity_reservation_detail.py
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
StartTimeandEndTime. 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.