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