Skip to content

RealtimeEndpointInfo

Source code in docs_src/capo_machine_learning/types/realtime_endpoint_info.py
class RealtimeEndpointInfo(TypedDict, closed=True):
    peak_requests_per_second: "capo_machine_learning.types.integer_type.IntegerType"
    """<p> The maximum processing rate for the real-time endpoint for <code>MLModel</code>, measured in incoming requests per second.</p>"""
    created_at: NotRequired["capo_machine_learning.types.epoch_time.EpochTime"]
    """<p>The time that the request to create the real-time endpoint for the <code>MLModel</code> was received. The time is expressed in epoch time.</p>"""
    endpoint_url: NotRequired["capo_machine_learning.types.vip_url.VipURL"]
    """<p>The URI that specifies where to send real-time prediction requests for the <code>MLModel</code>.</p> <p> <b>Note:</b> The application must wait until the real-time endpoint is ready before using this URI.</p>"""
    endpoint_status: NotRequired[
        "capo_machine_learning.types.realtime_endpoint_status.RealtimeEndpointStatus"
    ]
    """<p> The current status of the real-time endpoint for the <code>MLModel</code>. This element can have one of the following values: </p> <ul> <li> <p> <code>NONE</code> - Endpoint does not exist or was previously deleted.</p> </li> <li> <p> <code>READY</code> - Endpoint is ready to be used for real-time predictions.</p> </li> <li> <p> <code>UPDATING</code> - Updating/creating the endpoint. </p> </li> </ul>"""

created_at instance-attribute

created_at: NotRequired[EpochTime]

The time that the request to create the real-time endpoint for the MLModel was received. The time is expressed in epoch time.

endpoint_status instance-attribute

endpoint_status: NotRequired[RealtimeEndpointStatus]

The current status of the real-time endpoint for the MLModel. This element can have one of the following values:

  • NONE - Endpoint does not exist or was previously deleted.

  • READY - Endpoint is ready to be used for real-time predictions.

  • UPDATING - Updating/creating the endpoint.

endpoint_url instance-attribute

endpoint_url: NotRequired[VipURL]

The URI that specifies where to send real-time prediction requests for the MLModel.

Note: The application must wait until the real-time endpoint is ready before using this URI.

peak_requests_per_second instance-attribute

peak_requests_per_second: IntegerType

The maximum processing rate for the real-time endpoint for MLModel, measured in incoming requests per second.