asDocumentOrNull

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