Skip to content

Bedrock Runtime  >  Structures  >  CacheDetail

CacheDetail

Structure Class

CacheDetail dataclass

Cache creation metrics for a specific TTL duration

Attributes

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