Skip to content

CountTokensInputinvokeModel

rboto-bedrock-runtime==0.4.0 · Service index · Types

Public import: from rboto_bedrock_runtime.types import CountTokensInputinvokeModel.

Used in: input. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

CountTokensInputinvokeModel = TypedDict(
    "CountTokensInputinvokeModel",
    {
        "invoke_model": Required['InvokeModelTokensRequest'],
    },
    closed=True,
)

This variant is closed: it contains only its declared key. Check that key to narrow the union before reading its value.

InvokeModelTokensRequest