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