Skip to content

CacheDetail

Source code in docs_src/capo_bedrock_runtime/types/cache_detail.py
class CacheDetail(TypedDict, closed=True):
    ttl: "capo_bedrock_runtime.types.cache_ttl.CacheTTL"
    """<p>TTL duration for these cached tokens</p>"""
    input_tokens: "int"
    """<p>Number of tokens written to cache with this TTL (cache creation tokens)</p>"""

input_tokens instance-attribute

input_tokens: int

Number of tokens written to cache with this TTL (cache creation tokens)

ttl instance-attribute

ttl: CacheTTL

TTL duration for these cached tokens