Skip to content

ConcurrentExecutorConfiguration

Source code in docs_src/capo_mediatailor/types/concurrent_executor_configuration.py
class ConcurrentExecutorConfiguration(TypedDict, closed=True):
    runtime: "capo_mediatailor.types.runtime_type.RuntimeType"
    """<p>The expression language used to evaluate expressions in the function configuration. Set this to <code>JSONata</code>.</p>"""
    output: "capo_mediatailor.types.__map_of__string.__mapOf__string"
    """<p>A map of output bindings that controls which bindings the executor commits to the session state after all child functions complete. Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the combined results of the child functions.</p>"""
    function_list: "capo_mediatailor.types.__list_of_functions_ref.__listOfFunctionsRef"
    """<p>The list of child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs.</p>"""
    timeout_milliseconds: "capo_mediatailor.types.__integer.__integer"
    """<p>The maximum time, in milliseconds, for all child functions to complete. This timeout covers every function in the list, including any HTTP calls the child functions make. If the executor exceeds this timeout, MediaTailor discards all output from the executor and proceeds with default behavior.</p>"""
    max_concurrency: "capo_mediatailor.types.__integer.__integer"
    """<p>The maximum number of child functions that MediaTailor runs simultaneously. When the list contains more functions than <code>MaxConcurrency</code>, MediaTailor starts additional functions as running ones complete, so that no more than <code>MaxConcurrency</code> functions run at the same time.</p>"""

function_list instance-attribute

function_list: __listOfFunctionsRef

The list of child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs.

max_concurrency instance-attribute

max_concurrency: __integer

The maximum number of child functions that MediaTailor runs simultaneously. When the list contains more functions than MaxConcurrency, MediaTailor starts additional functions as running ones complete, so that no more than MaxConcurrency functions run at the same time.

output instance-attribute

A map of output bindings that controls which bindings the executor commits to the session state after all child functions complete. Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the combined results of the child functions.

runtime instance-attribute

runtime: RuntimeType

The expression language used to evaluate expressions in the function configuration. Set this to JSONata.

timeout_milliseconds instance-attribute

timeout_milliseconds: __integer

The maximum time, in milliseconds, for all child functions to complete. This timeout covers every function in the list, including any HTTP calls the child functions make. If the executor exceeds this timeout, MediaTailor discards all output from the executor and proceeds with default behavior.