asDocument

fun asDocument(): <Error class: unknown class>

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