Skip to content

CreateInferenceRouterInput

Source code in docs_src/capo_sagemaker/types/create_inference_router_input.py
class CreateInferenceRouterInput(TypedDict, closed=True):
    inference_router_name: NotRequired[
        "capo_sagemaker.types.inference_router_name.InferenceRouterName"
    ]
    """<p>The name of the inference router. The name must be unique within your account in the current Amazon Web Services Region. The name is case sensitive.</p>"""
    routing_targets: NotRequired[
        "capo_sagemaker.types.routing_target_list.RoutingTargetList"
    ]
    """<p>The routing targets of the inference router. Each routing target is a model that callers name when they invoke the router, and the destinations that serve it.</p>"""
    client_token: NotRequired[
        "capo_sagemaker.types.inference_router_client_token.InferenceRouterClientToken"
    ]
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you reuse a client token, use the same request parameters. Otherwise, the request fails.</p>"""
    tags: NotRequired["capo_sagemaker.types.tag_list.TagList"]
    """<p>A list of key-value pairs to apply to the inference router. For information about tagging, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the <i>Amazon Web Services General Reference</i>.</p>"""

client_token instance-attribute

client_token: NotRequired[InferenceRouterClientToken]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you reuse a client token, use the same request parameters. Otherwise, the request fails.

inference_router_name instance-attribute

inference_router_name: NotRequired[InferenceRouterName]

The name of the inference router. The name must be unique within your account in the current Amazon Web Services Region. The name is case sensitive.

routing_targets instance-attribute

routing_targets: NotRequired[RoutingTargetList]

The routing targets of the inference router. Each routing target is a model that callers name when they invoke the router, and the destinations that serve it.

tags instance-attribute

tags: NotRequired[TagList]

A list of key-value pairs to apply to the inference router. For information about tagging, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.