asDocument

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.