putFunction
inline suspend fun MediaTailorClient.putFunction(crossinline block: PutFunctionRequest.Builder.() -> Unit): PutFunctionResponse
Creates or updates a function. A function defines reusable logic that MediaTailor executes at lifecycle hooks during ad insertion. For more information about functions, see Working with functions in the MediaTailor User Guide.