AWS mediatailor: MediaTailor hooks session field names normalized
Summary
Removes the camelCase/snake_case note and the duplicate camelCase fields (session.clientIp, session.userAgent, session.playerParams), making session.client_ip and session.user_agent available at all hooks, renaming session.streamingProtocol to session.streaming_mode, adding session.media_protocol, and exposing player_params.* at all hooks.
Security assessment
This is a field-naming/availability correction for lifecycle hook inputs (including client IP and user agent fields), not a change to authentication, authorization, or data protection behavior.
Evidence
+`session.client_ip`| String| ✓| ✓| ✓| ✓
Diff
diff --git a/mediatailor/latest/ug/monetization-functions-hooks.md b/mediatailor/latest/ug/monetization-functions-hooks.md index 752c0ec..bf1f175 100644 --- a//mediatailor/latest/ug/monetization-functions-hooks.md +++ b//mediatailor/latest/ug/monetization-functions-hooks.md @@ -42,4 +41,0 @@ The following table lists the input fields available at each lifecycle hook. In -###### Note - -The `POST_ADS_RESPONSE` and `PRE_MANIFEST_INSERTION` hooks expose session fields in camelCase (for example, `session.clientIp`), while the first two hooks use snake_case (for example, `session.client_ip`). Player parameters are available through the `player_params` namespace at the first two hooks and as the `session.playerParams` object at the other two. - @@ -50,4 +46,2 @@ Field | Type | PRE_SESSION_INITIALIZATION | PRE_ADS_REQUEST | POST_ADS_RESPONSE -`session.client_ip`| String| ✓| ✓| ✗| ✗ -`session.clientIp`| String| ✗| ✗| ✓| ✓ -`session.user_agent`| String| ✓| ✓| ✗| ✗ -`session.userAgent`| String| ✗| ✗| ✓| ✓ +`session.client_ip`| String| ✓| ✓| ✓| ✓ +`session.user_agent`| String| ✓| ✓| ✓| ✓ @@ -57,3 +51,3 @@ Field | Type | PRE_SESSION_INITIALIZATION | PRE_ADS_REQUEST | POST_ADS_RESPONSE -`session.streamingProtocol`| String| ✗| ✗| ✓| ✓ -`session.playerParams`| Object| ✗| ✗| ✓| ✓ -`player_params.*`| String| ✓| ✓| ✗| ✗ +`session.streaming_mode`| String| ✗| ✗| ✓| ✓ +`session.media_protocol`| String| ✗| ✗| ✗| ✓ +`player_params.*`| String| ✓| ✓| ✓| ✓