Skip to content

GetCapacityReservationUsageResponse

Source code in docs_src/capo_sagemaker/types/get_capacity_reservation_usage_response.py
class GetCapacityReservationUsageResponse(TypedDict, closed=True):
    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>"""
    total_instance_count: NotRequired[
        "capo_sagemaker.types.total_instance_count.TotalInstanceCount"
    ]
    """<p>The number of instances in the SageMaker Capacity Reservation.</p>"""
    available_instance_count: NotRequired[
        "capo_sagemaker.types.available_instance_count.AvailableInstanceCount"
    ]
    """<p>The number of instances in the SageMaker Capacity Reservation that are not in use.</p>"""
    last_refresh_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The time when SageMaker AI last refreshed the usage counts in this response.</p>"""
    instance_usage_set: NotRequired[
        "capo_sagemaker.types.capacity_reservation_instance_usage_set.CapacityReservationInstanceUsageSet"
    ]
    """<p>The instance usage for each account that uses instances from the SageMaker Capacity Reservation, sorted by account ID. Each account appears at most once across all pages. The list is empty when no instances are in use.</p>"""
    next_token: NotRequired["capo_sagemaker.types.next_token.NextToken"]
    """<p>If the response is truncated, SageMaker AI returns this token. To retrieve the next set of results, use this token in your next request.</p>"""

available_instance_count instance-attribute

available_instance_count: NotRequired[AvailableInstanceCount]

The number of instances in the SageMaker Capacity Reservation that are not in use.

instance_usage_set instance-attribute

instance_usage_set: NotRequired[CapacityReservationInstanceUsageSet]

The instance usage for each account that uses instances from the SageMaker Capacity Reservation, sorted by account ID. Each account appears at most once across all pages. The list is empty when no instances are in use.

last_refresh_time instance-attribute

last_refresh_time: NotRequired[Timestamp]

The time when SageMaker AI last refreshed the usage counts in this response.

next_token instance-attribute

next_token: NotRequired[NextToken]

If the response is truncated, SageMaker AI returns this token. To retrieve the next set of results, use this token in your next request.

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-.

total_instance_count instance-attribute

total_instance_count: NotRequired[TotalInstanceCount]

The number of instances in the SageMaker Capacity Reservation.