FlowTraceNodeInputContent

Contains the content of the node input. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.

Inheritors

Types

Link copied to clipboard
data class Document(val value: <Error class: unknown class>) : FlowTraceNodeInputContent

The content of the node input.

Link copied to clipboard

Functions

Link copied to clipboard
fun asDocument(): <Error class: unknown class>

Casts this FlowTraceNodeInputContent as a Document and retrieves its aws.smithy.kotlin.runtime.content.Document value. Throws an exception if the FlowTraceNodeInputContent is not a Document.

Link copied to clipboard
fun asDocumentOrNull(): <Error class: unknown class>?

Casts this FlowTraceNodeInputContent as a Document and retrieves its aws.smithy.kotlin.runtime.content.Document value. Returns null if the FlowTraceNodeInputContent is not a Document.