FlowInputContent

sealed class FlowInputContent

Contains information about an input into the flow.

Inheritors

Types

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

The input to send to the prompt flow input node.

Link copied to clipboard

Functions

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

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

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

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