Skip to content

Commit 3d6478b

Browse files
Add support for log filtering which allow customers to filter out selected event types from logs.
1 parent 32ddf63 commit 3d6478b

17 files changed

+1405
-6
lines changed

generator/ServiceModels/mediatailor/mediatailor-2018-04-23.api.json

Lines changed: 121 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,63 @@
550550
"SCTE35_ENHANCED"
551551
]
552552
},
553+
"AdsInteractionExcludeEventType":{
554+
"type":"string",
555+
"enum":[
556+
"AD_MARKER_FOUND",
557+
"NON_AD_MARKER_FOUND",
558+
"MAKING_ADS_REQUEST",
559+
"MODIFIED_TARGET_URL",
560+
"VAST_REDIRECT",
561+
"EMPTY_VAST_RESPONSE",
562+
"EMPTY_VMAP_RESPONSE",
563+
"VAST_RESPONSE",
564+
"REDIRECTED_VAST_RESPONSE",
565+
"FILLED_AVAIL",
566+
"FILLED_OVERLAY_AVAIL",
567+
"BEACON_FIRED",
568+
"WARNING_NO_ADVERTISEMENTS",
569+
"WARNING_VPAID_AD_DROPPED",
570+
"WARNING_URL_VARIABLE_SUBSTITUTION_FAILED",
571+
"ERROR_UNKNOWN",
572+
"ERROR_UNKNOWN_HOST",
573+
"ERROR_DISALLOWED_HOST",
574+
"ERROR_ADS_IO",
575+
"ERROR_ADS_TIMEOUT",
576+
"ERROR_ADS_RESPONSE_PARSE",
577+
"ERROR_ADS_RESPONSE_UNKNOWN_ROOT_ELEMENT",
578+
"ERROR_ADS_INVALID_RESPONSE",
579+
"ERROR_VAST_REDIRECT_EMPTY_RESPONSE",
580+
"ERROR_VAST_REDIRECT_MULTIPLE_VAST",
581+
"ERROR_VAST_REDIRECT_FAILED",
582+
"ERROR_VAST_MISSING_MEDIAFILES",
583+
"ERROR_VAST_MISSING_CREATIVES",
584+
"ERROR_VAST_MISSING_OVERLAYS",
585+
"ERROR_VAST_MISSING_IMPRESSION",
586+
"ERROR_VAST_INVALID_VAST_AD_TAG_URI",
587+
"ERROR_VAST_MULTIPLE_TRACKING_EVENTS",
588+
"ERROR_VAST_MULTIPLE_LINEAR",
589+
"ERROR_VAST_INVALID_MEDIA_FILE",
590+
"ERROR_FIRING_BEACON_FAILED",
591+
"ERROR_PERSONALIZATION_DISABLED",
592+
"VOD_TIME_BASED_AVAIL_PLAN_VAST_RESPONSE_FOR_OFFSET",
593+
"VOD_TIME_BASED_AVAIL_PLAN_SUCCESS",
594+
"VOD_TIME_BASED_AVAIL_PLAN_WARNING_NO_ADVERTISEMENTS",
595+
"INTERSTITIAL_VOD_SUCCESS",
596+
"INTERSTITIAL_VOD_FAILURE"
597+
]
598+
},
599+
"AdsInteractionLog":{
600+
"type":"structure",
601+
"members":{
602+
"PublishOptInEventTypes":{"shape":"__adsInteractionPublishOptInEventTypesList"},
603+
"ExcludeEventTypes":{"shape":"__adsInteractionExcludeEventTypesList"}
604+
}
605+
},
606+
"AdsInteractionPublishOptInEventType":{
607+
"type":"string",
608+
"enum":["RAW_ADS_RESPONSE"]
609+
},
553610
"Alert":{
554611
"type":"structure",
555612
"required":[
@@ -726,7 +783,9 @@
726783
"members":{
727784
"PercentEnabled":{"shape":"__integer"},
728785
"PlaybackConfigurationName":{"shape":"__string"},
729-
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"}
786+
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"},
787+
"AdsInteractionLog":{"shape":"AdsInteractionLog"},
788+
"ManifestServiceInteractionLog":{"shape":"ManifestServiceInteractionLog"}
730789
}
731790
},
732791
"ConfigureLogsForPlaybackConfigurationResponse":{
@@ -735,7 +794,9 @@
735794
"members":{
736795
"PercentEnabled":{"shape":"__integer"},
737796
"PlaybackConfigurationName":{"shape":"__string"},
738-
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"}
797+
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"},
798+
"AdsInteractionLog":{"shape":"AdsInteractionLog"},
799+
"ManifestServiceInteractionLog":{"shape":"ManifestServiceInteractionLog"}
739800
}
740801
},
741802
"CreateChannelRequest":{
@@ -1752,7 +1813,9 @@
17521813
"required":["PercentEnabled"],
17531814
"members":{
17541815
"PercentEnabled":{"shape":"__integer"},
1755-
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"}
1816+
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"},
1817+
"AdsInteractionLog":{"shape":"AdsInteractionLog"},
1818+
"ManifestServiceInteractionLog":{"shape":"ManifestServiceInteractionLog"}
17561819
}
17571820
},
17581821
"LogConfigurationForChannel":{
@@ -1786,6 +1849,49 @@
17861849
"AdMarkerPassthrough":{"shape":"AdMarkerPassthrough"}
17871850
}
17881851
},
1852+
"ManifestServiceExcludeEventType":{
1853+
"type":"string",
1854+
"enum":[
1855+
"GENERATED_MANIFEST",
1856+
"ORIGIN_MANIFEST",
1857+
"SESSION_INITIALIZED",
1858+
"TRACKING_RESPONSE",
1859+
"CONFIG_SYNTAX_ERROR",
1860+
"CONFIG_SECURITY_ERROR",
1861+
"UNKNOWN_HOST",
1862+
"TIMEOUT_ERROR",
1863+
"CONNECTION_ERROR",
1864+
"IO_ERROR",
1865+
"UNKNOWN_ERROR",
1866+
"HOST_DISALLOWED",
1867+
"PARSING_ERROR",
1868+
"MANIFEST_ERROR",
1869+
"NO_MASTER_OR_MEDIA_PLAYLIST",
1870+
"NO_MASTER_PLAYLIST",
1871+
"NO_MEDIA_PLAYLIST",
1872+
"INCOMPATIBLE_HLS_VERSION",
1873+
"SCTE35_PARSING_ERROR",
1874+
"INVALID_SINGLE_PERIOD_DASH_MANIFEST",
1875+
"UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST",
1876+
"LAST_PERIOD_MISSING_AUDIO",
1877+
"LAST_PERIOD_MISSING_AUDIO_WARNING",
1878+
"ERROR_ORIGIN_PREFIX_INTERPOLATION",
1879+
"ERROR_ADS_INTERPOLATION",
1880+
"ERROR_LIVE_PRE_ROLL_ADS_INTERPOLATION",
1881+
"ERROR_CDN_AD_SEGMENT_INTERPOLATION",
1882+
"ERROR_CDN_CONTENT_SEGMENT_INTERPOLATION",
1883+
"ERROR_SLATE_AD_URL_INTERPOLATION",
1884+
"ERROR_PROFILE_NAME_INTERPOLATION",
1885+
"ERROR_BUMPER_START_INTERPOLATION",
1886+
"ERROR_BUMPER_END_INTERPOLATION"
1887+
]
1888+
},
1889+
"ManifestServiceInteractionLog":{
1890+
"type":"structure",
1891+
"members":{
1892+
"ExcludeEventTypes":{"shape":"__manifestServiceExcludeEventTypesList"}
1893+
}
1894+
},
17891895
"MaxResults":{
17901896
"type":"integer",
17911897
"box":true,
@@ -2462,6 +2568,14 @@
24622568
"VodSourceName":{"shape":"__string"}
24632569
}
24642570
},
2571+
"__adsInteractionExcludeEventTypesList":{
2572+
"type":"list",
2573+
"member":{"shape":"AdsInteractionExcludeEventType"}
2574+
},
2575+
"__adsInteractionPublishOptInEventTypesList":{
2576+
"type":"list",
2577+
"member":{"shape":"AdsInteractionPublishOptInEventType"}
2578+
},
24652579
"__boolean":{
24662580
"type":"boolean",
24672581
"box":true
@@ -2549,6 +2663,10 @@
25492663
"type":"long",
25502664
"box":true
25512665
},
2666+
"__manifestServiceExcludeEventTypesList":{
2667+
"type":"list",
2668+
"member":{"shape":"ManifestServiceExcludeEventType"}
2669+
},
25522670
"__mapOf__string":{
25532671
"type":"map",
25542672
"key":{"shape":"__string"},

generator/ServiceModels/mediatailor/mediatailor-2018-04-23.docs.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,26 @@
110110
"adMarkupTypes$member": null
111111
}
112112
},
113+
"AdsInteractionExcludeEventType": {
114+
"base": null,
115+
"refs": {
116+
"__adsInteractionExcludeEventTypesList$member": null
117+
}
118+
},
119+
"AdsInteractionLog": {
120+
"base": "<p>Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).</p> <p>For more information about ADS logs, inlcuding descriptions of the event types, see <a href=\"https://docs.aws.amazon.com/mediatailor/latest/ug/ads-log-format.html\">MediaTailor ADS logs description and event types</a> in Elemental MediaTailor User Guide.</p>",
121+
"refs": {
122+
"ConfigureLogsForPlaybackConfigurationRequest$AdsInteractionLog": "<p>The event types that MediaTailor emits in logs for interactions with the ADS.</p>",
123+
"ConfigureLogsForPlaybackConfigurationResponse$AdsInteractionLog": "<p>The event types that MediaTailor emits in logs for interactions with the ADS.</p>",
124+
"LogConfiguration$AdsInteractionLog": "<p>Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).</p>"
125+
}
126+
},
127+
"AdsInteractionPublishOptInEventType": {
128+
"base": null,
129+
"refs": {
130+
"__adsInteractionPublishOptInEventTypesList$member": null
131+
}
132+
},
113133
"Alert": {
114134
"base": "<p>Alert configuration parameters.</p>",
115135
"refs": {
@@ -732,6 +752,20 @@
732752
"PutPlaybackConfigurationResponse$ManifestProcessingRules": "<p>The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.</p>"
733753
}
734754
},
755+
"ManifestServiceExcludeEventType": {
756+
"base": null,
757+
"refs": {
758+
"__manifestServiceExcludeEventTypesList$member": null
759+
}
760+
},
761+
"ManifestServiceInteractionLog": {
762+
"base": "<p>Settings for customizing what events are included in logs for interactions with the origin server.</p> <p>For more information about manifest service logs, including descriptions of the event types, see <a href=\"https://docs.aws.amazon.com/mediatailor/latest/ug/log-types.html\">MediaTailor manifest logs description and event types</a> in Elemental MediaTailor User Guide.</p>",
763+
"refs": {
764+
"ConfigureLogsForPlaybackConfigurationRequest$ManifestServiceInteractionLog": "<p>The event types that MediaTailor emits in logs for interactions with the origin server.</p>",
765+
"ConfigureLogsForPlaybackConfigurationResponse$ManifestServiceInteractionLog": "<p>The event types that MediaTailor emits in logs for interactions with the origin server.</p>",
766+
"LogConfiguration$ManifestServiceInteractionLog": "<p>Settings for customizing what events are included in logs for interactions with the origin server.</p>"
767+
}
768+
},
735769
"MaxResults": {
736770
"base": null,
737771
"refs": {
@@ -954,7 +988,7 @@
954988
"StreamingMediaFileConditioning": {
955989
"base": null,
956990
"refs": {
957-
"AdConditioningConfiguration$StreamingMediaFileConditioning": "<p>For ads that have media files with streaming delivery and supported file extensions, indicates what transcoding action MediaTailor takes when it first receives these ads from the ADS. <code>TRANSCODE</code> indicates that MediaTailor must transcode the ads. <code>NONE</code> indicates that you have already transcoded the ads outside of MediaTailor and don't need them transcoded as part of the ad insertion workflow. For more information about ad conditioning see <a href=\"https://docs.aws.amazon.com/precondition-ads.html\">https://docs.aws.amazon.com/precondition-ads.html</a>.</p>"
991+
"AdConditioningConfiguration$StreamingMediaFileConditioning": "<p>For ads that have media files with streaming delivery and supported file extensions, indicates what transcoding action MediaTailor takes when it first receives these ads from the ADS. <code>TRANSCODE</code> indicates that MediaTailor must transcode the ads. <code>NONE</code> indicates that you have already transcoded the ads outside of MediaTailor and don't need them transcoded as part of the ad insertion workflow. For more information about ad conditioning see <a href=\"https://docs.aws.amazon.com/mediatailor/latest/ug/precondition-ads.html\">Using preconditioned ads</a> in the Elemental MediaTailor user guide.</p>"
958992
}
959993
},
960994
"String": {
@@ -1078,6 +1112,18 @@
10781112
"__listOfVodSource$member": null
10791113
}
10801114
},
1115+
"__adsInteractionExcludeEventTypesList": {
1116+
"base": null,
1117+
"refs": {
1118+
"AdsInteractionLog$ExcludeEventTypes": "<p>Indicates that MediaTailor won't emit the selected events in the logs for playback sessions that are initialized with this configuration.</p>"
1119+
}
1120+
},
1121+
"__adsInteractionPublishOptInEventTypesList": {
1122+
"base": null,
1123+
"refs": {
1124+
"AdsInteractionLog$PublishOptInEventTypes": "<p>Indicates that MediaTailor emits <code>RAW_ADS_RESPONSE</code> logs for playback sessions that are initialized with this configuration.</p>"
1125+
}
1126+
},
10811127
"__boolean": {
10821128
"base": null,
10831129
"refs": {
@@ -1250,6 +1296,12 @@
12501296
"UpdateProgramTransition$DurationMillis": "<p>The duration of the live program in seconds.</p>"
12511297
}
12521298
},
1299+
"__manifestServiceExcludeEventTypesList": {
1300+
"base": null,
1301+
"refs": {
1302+
"ManifestServiceInteractionLog$ExcludeEventTypes": "<p>Indicates that MediaTailor won't emit the selected events in the logs for playback sessions that are initialized with this configuration.</p>"
1303+
}
1304+
},
12531305
"__mapOf__string": {
12541306
"base": null,
12551307
"refs": {

0 commit comments

Comments
 (0)