Skip to main content

BedrockCacheTtl

Type Alias BedrockCacheTtl 

Source
pub type BedrockCacheTtl = CacheTtl;
Expand description

TTL of a Bedrock prompt-cache checkpoint (BedrockCacheTTL), such as "5m" or "1h".

Bedrock validates the value server-side and requires checkpoint TTLs to be non-increasing across tools, system and messages.

Aliased Typeยง

pub struct BedrockCacheTtl { /* private fields */ }