Package-level declarations
Types
Context object containing HTTP headers from AgentCore invocation requests.
Well-known AgentCore HTTP headers used by Amazon Bedrock AgentCore Runtime.
Exception thrown when there are issues with AgentCore invocation.
Ping response data returned by AgentCorePingService.
Interface for providing ping status.
Configuration for the agentCoreRuntime route installer.
Tracks active background tasks so the /ping endpoint can report PingStatus.HEALTHY_BUSY instead of PingStatus.HEALTHY, preventing the runtime from scaling the agent down while long-running work is in progress.
Structured input handed to the unified invocation handler.
Structured result of an invocation. Each variant maps to a specific HTTP response shape.
Health status for AgentCore ping responses.
Default ping service that uses AgentCoreTaskTracker for busy detection.
Typed handler for invocation requests — convenience for the common JSON-in / JSON-out case.
Unified handler for invocation requests — single entry point for all input/output shapes.
Functions
Installs routes implementing the Amazon Bedrock AgentCore Runtime contract:
Registers a typed invocation handler — convenience for JSON-in / JSON-out flows.
Symmetric helper for binary streams used with InvocationResult.BinaryStream.
Helper that builds a context-safe Flow<String> suitable for InvocationResult.TextStream.
Converts a Bedrock ContentBlock (typically from a Converse/ConverseStream output message) into an InvocationResult suitable for an HTTP response.