/AWS1/CL_MDTCUSTOMOUTPUTCONF¶
The configuration for a CUSTOM_OUTPUT function. MediaTailor evaluates the output expressions against the current session state and commits the results as output bindings. CUSTOM_OUTPUT functions do not make external calls. For more information, see CUSTOM_OUTPUT in the MediaTailor User Guide.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_runtime TYPE /AWS1/MDTRUNTIMETYPE /AWS1/MDTRUNTIMETYPE¶
The expression language used to evaluate expressions in the function configuration. Set this to
JSONata.
Optional arguments:¶
it_output TYPE /AWS1/CL_MDT__MAPOF__STRING_W=>TT___MAPOF__STRING TT___MAPOF__STRING¶
A map of output bindings. Each key is a namespaced output path (such as
player_params.device_typeortemp.variant), and each value is an expression that MediaTailor evaluates at runtime against the current session state. For more information about expression syntax, see JSONata expression reference in the MediaTailor User Guide.
Queryable Attributes¶
Runtime¶
The expression language used to evaluate expressions in the function configuration. Set this to
JSONata.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RUNTIME() |
Getter for RUNTIME, with configurable default |
ASK_RUNTIME() |
Getter for RUNTIME w/ exceptions if field has no value |
HAS_RUNTIME() |
Determine if RUNTIME has a value |
Output¶
A map of output bindings. Each key is a namespaced output path (such as
player_params.device_typeortemp.variant), and each value is an expression that MediaTailor evaluates at runtime against the current session state. For more information about expression syntax, see JSONata expression reference in the MediaTailor User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OUTPUT() |
Getter for OUTPUT, with configurable default |
ASK_OUTPUT() |
Getter for OUTPUT w/ exceptions if field has no value |
HAS_OUTPUT() |
Determine if OUTPUT has a value |