asModelInvocationOutput
Casts this OrchestrationTrace as a ModelInvocationOutput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.OrchestrationModelInvocationOutput value. Throws an exception if the OrchestrationTrace is not a ModelInvocationOutput.