Skip to content

Destination

Source code in docs_src/capo_sagemaker/types/destination.py
class Destination(TypedDict, closed=True):
    resource_arn: NotRequired[
        "capo_sagemaker.types.destination_resource_arn.DestinationResourceArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the endpoint or inference component. The destination can be in any account, and in any Amazon Web Services Region in the same partition as the inference router. To use a destination in another account, its owner must allow your account to invoke it through your router, in an endpoint policy.</p>"""
    routing_status: NotRequired["capo_sagemaker.types.routing_status.RoutingStatus"]
    """<p>Whether the inference router can send requests to the destination, as checked when you called <code>DescribeInferenceRouter</code>. This value isn't the destination's own status. SageMaker AI ignores this field in <code>CreateInferenceRouter</code> and <code>UpdateInferenceRouter</code> requests.</p> <dl> <dt>Routable</dt> <dd> <p>The destination is serving and the router can send it requests. A routable destination can still be overloaded.</p> </dd> <dt>Unroutable</dt> <dd> <p>The destination can't serve requests. For example, it's being created or has failed, or it has no capacity and no way to get any. A destination in your account that doesn't exist is also <code>Unroutable</code>.</p> </dd> <dt>Unknown</dt> <dd> <p>SageMaker AI couldn't check the destination, for example because you aren't allowed to describe it or the check timed out. The destination might still be serving.</p> </dd> </dl>"""

resource_arn instance-attribute

resource_arn: NotRequired[DestinationResourceArn]

The Amazon Resource Name (ARN) of the endpoint or inference component. The destination can be in any account, and in any Amazon Web Services Region in the same partition as the inference router. To use a destination in another account, its owner must allow your account to invoke it through your router, in an endpoint policy.

routing_status instance-attribute

routing_status: NotRequired[RoutingStatus]

Whether the inference router can send requests to the destination, as checked when you called DescribeInferenceRouter. This value isn't the destination's own status. SageMaker AI ignores this field in CreateInferenceRouter and UpdateInferenceRouter requests.

Routable

The destination is serving and the router can send it requests. A routable destination can still be overloaded.

Unroutable

The destination can't serve requests. For example, it's being created or has failed, or it has no capacity and no way to get any. A destination in your account that doesn't exist is also Unroutable.

Unknown

SageMaker AI couldn't check the destination, for example because you aren't allowed to describe it or the check timed out. The destination might still be serving.