Skip to content

FlowModule

Source code in docs_src/capo_rtbfabric/types/flow_module.py
class FlowModule(TypedDict, closed=True):
    name: "capo_rtbfabric.types.module_name.ModuleName"
    """<p>The module's name, unique within the flow.</p>"""
    module_version_arn: "capo_rtbfabric.types.module_version_arn.ModuleVersionArn"
    """<p>The version to attach. It must be ACTIVE and available to you (see ListAvailableModuleVersions). You can keep a version that's already in the link's flows after it's deprecated, but you can't give it a higher share of traffic.</p>"""
    selected_actions: NotRequired[
        "capo_rtbfabric.types.selected_action_list.SelectedActionList"
    ]
    """<p>The capabilities to turn on, chosen from the version's <code>configurableActions</code>. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.</p>"""
    failure_mode: NotRequired["capo_rtbfabric.types.failure_mode.FailureMode"]
    """<p>Specifies what happens when the module fails – when its call fails or times out, or when an express module's dataset is stale. The default is OPEN.</p>"""
    activation_percentage: NotRequired[
        "capo_rtbfabric.types.activation_percentage.ActivationPercentage"
    ]
    """<p>The percentage of the flow's requests that the module runs on. The flow skips the module on the rest of the requests. The default is 100.</p>"""
    configuration_values: NotRequired[
        "capo_rtbfabric.types.configuration_values.ConfigurationValues"
    ]
    """<p>RTB Fabric validates the value against the version's <code>configurationSchema</code> and rejects a value that fails with ValidationException. Omit it when the schema is empty or fully defaulted.</p>"""

activation_percentage instance-attribute

activation_percentage: NotRequired[ActivationPercentage]

The percentage of the flow's requests that the module runs on. The flow skips the module on the rest of the requests. The default is 100.

configuration_values instance-attribute

configuration_values: NotRequired[ConfigurationValues]

RTB Fabric validates the value against the version's configurationSchema and rejects a value that fails with ValidationException. Omit it when the schema is empty or fully defaulted.

failure_mode instance-attribute

failure_mode: NotRequired[FailureMode]

Specifies what happens when the module fails – when its call fails or times out, or when an express module's dataset is stale. The default is OPEN.

module_version_arn instance-attribute

module_version_arn: ModuleVersionArn

The version to attach. It must be ACTIVE and available to you (see ListAvailableModuleVersions). You can keep a version that's already in the link's flows after it's deprecated, but you can't give it a higher share of traffic.

name instance-attribute

name: ModuleName

The module's name, unique within the flow.

selected_actions instance-attribute

selected_actions: NotRequired[SelectedActionList]

The capabilities to turn on, chosen from the version's configurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.