asDocument

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