@aws-sdk/client-mediatailor 3.198.0 → 3.199.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.199.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.198.0...v3.199.0) (2022-10-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-mediatailor:** This release introduces support for SCTE-35 segmentation descriptor messages which can be sent within time signal messages. ([d2920e8](https://github.com/aws/aws-sdk-js-v3/commit/d2920e834e93f3b8913bc515cc1e407bf1ff6ed8))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.198.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.197.0...v3.198.0) (2022-10-27)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-mediatailor
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutChannelPolicyRequestFilterSensitiveLog = exports.GetChannelPolicyResponseFilterSensitiveLog = exports.GetChannelPolicyRequestFilterSensitiveLog = exports.DeleteChannelPolicyResponseFilterSensitiveLog = exports.DeleteChannelPolicyRequestFilterSensitiveLog = exports.VodSourceFilterSensitiveLog = exports.SourceLocationFilterSensitiveLog = exports.HttpConfigurationFilterSensitiveLog = exports.DefaultSegmentDeliveryConfigurationFilterSensitiveLog = exports.AccessConfigurationFilterSensitiveLog = exports.SecretsManagerAccessTokenConfigurationFilterSensitiveLog = exports.SegmentDeliveryConfigurationFilterSensitiveLog = exports.ScheduleEntryFilterSensitiveLog = exports.ScheduleAdBreakFilterSensitiveLog = exports.PrefetchScheduleFilterSensitiveLog = exports.PrefetchRetrievalFilterSensitiveLog = exports.PrefetchConsumptionFilterSensitiveLog = exports.PlaybackConfigurationFilterSensitiveLog = exports.ManifestProcessingRulesFilterSensitiveLog = exports.AdMarkerPassthroughFilterSensitiveLog = exports.LogConfigurationFilterSensitiveLog = exports.LivePreRollConfigurationFilterSensitiveLog = exports.HlsConfigurationFilterSensitiveLog = exports.DashConfigurationFilterSensitiveLog = exports.CdnConfigurationFilterSensitiveLog = exports.BumperFilterSensitiveLog = exports.AvailSuppressionFilterSensitiveLog = exports.LiveSourceFilterSensitiveLog = exports.HttpPackageConfigurationFilterSensitiveLog = exports.ChannelFilterSensitiveLog = exports.ResponseOutputItemFilterSensitiveLog = exports.HlsPlaylistSettingsFilterSensitiveLog = exports.DashPlaylistSettingsFilterSensitiveLog = exports.AvailMatchingCriteriaFilterSensitiveLog = exports.AlertFilterSensitiveLog = exports.AdBreakFilterSensitiveLog = exports.SpliceInsertMessageFilterSensitiveLog = exports.SlateSourceFilterSensitiveLog = exports.RelativePosition = exports.ChannelState = exports.Tier = exports.PlaybackMode = exports.BadRequestException = exports.AccessType = exports.ScheduleEntryType = exports.OriginManifestType = exports.Mode = exports.Type = exports.Operator = exports.MessageType = void 0;
4
- exports.DescribeSourceLocationRequestFilterSensitiveLog = exports.DescribeLiveSourceResponseFilterSensitiveLog = exports.DescribeLiveSourceRequestFilterSensitiveLog = exports.DeleteVodSourceResponseFilterSensitiveLog = exports.DeleteVodSourceRequestFilterSensitiveLog = exports.DeleteSourceLocationResponseFilterSensitiveLog = exports.DeleteSourceLocationRequestFilterSensitiveLog = exports.DeletePrefetchScheduleResponseFilterSensitiveLog = exports.DeletePrefetchScheduleRequestFilterSensitiveLog = exports.DeletePlaybackConfigurationResponseFilterSensitiveLog = exports.DeletePlaybackConfigurationRequestFilterSensitiveLog = exports.DeleteLiveSourceResponseFilterSensitiveLog = exports.DeleteLiveSourceRequestFilterSensitiveLog = exports.DashConfigurationForPutFilterSensitiveLog = exports.CreateVodSourceResponseFilterSensitiveLog = exports.CreateVodSourceRequestFilterSensitiveLog = exports.CreateSourceLocationResponseFilterSensitiveLog = exports.CreateSourceLocationRequestFilterSensitiveLog = exports.CreatePrefetchScheduleResponseFilterSensitiveLog = exports.CreatePrefetchScheduleRequestFilterSensitiveLog = exports.CreateLiveSourceResponseFilterSensitiveLog = exports.CreateLiveSourceRequestFilterSensitiveLog = exports.ConfigureLogsForPlaybackConfigurationResponseFilterSensitiveLog = exports.ConfigureLogsForPlaybackConfigurationRequestFilterSensitiveLog = exports.UpdateChannelResponseFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.StopChannelResponseFilterSensitiveLog = exports.StopChannelRequestFilterSensitiveLog = exports.StartChannelResponseFilterSensitiveLog = exports.StartChannelRequestFilterSensitiveLog = exports.DescribeProgramResponseFilterSensitiveLog = exports.DescribeProgramRequestFilterSensitiveLog = exports.DeleteProgramResponseFilterSensitiveLog = exports.DeleteProgramRequestFilterSensitiveLog = exports.CreateProgramResponseFilterSensitiveLog = exports.CreateProgramRequestFilterSensitiveLog = exports.ScheduleConfigurationFilterSensitiveLog = exports.TransitionFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.ListChannelsRequestFilterSensitiveLog = exports.GetChannelScheduleResponseFilterSensitiveLog = exports.GetChannelScheduleRequestFilterSensitiveLog = exports.DescribeChannelResponseFilterSensitiveLog = exports.DescribeChannelRequestFilterSensitiveLog = exports.DeleteChannelResponseFilterSensitiveLog = exports.DeleteChannelRequestFilterSensitiveLog = exports.CreateChannelResponseFilterSensitiveLog = exports.CreateChannelRequestFilterSensitiveLog = exports.RequestOutputItemFilterSensitiveLog = exports.PutChannelPolicyResponseFilterSensitiveLog = void 0;
5
- exports.UpdateVodSourceResponseFilterSensitiveLog = exports.UpdateVodSourceRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.UpdateSourceLocationResponseFilterSensitiveLog = exports.UpdateSourceLocationRequestFilterSensitiveLog = exports.PutPlaybackConfigurationResponseFilterSensitiveLog = exports.PutPlaybackConfigurationRequestFilterSensitiveLog = exports.UpdateLiveSourceResponseFilterSensitiveLog = exports.UpdateLiveSourceRequestFilterSensitiveLog = exports.ListVodSourcesResponseFilterSensitiveLog = exports.ListVodSourcesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListSourceLocationsResponseFilterSensitiveLog = exports.ListSourceLocationsRequestFilterSensitiveLog = exports.ListPrefetchSchedulesResponseFilterSensitiveLog = exports.ListPrefetchSchedulesRequestFilterSensitiveLog = exports.ListPlaybackConfigurationsResponseFilterSensitiveLog = exports.ListPlaybackConfigurationsRequestFilterSensitiveLog = exports.ListLiveSourcesResponseFilterSensitiveLog = exports.ListLiveSourcesRequestFilterSensitiveLog = exports.ListAlertsResponseFilterSensitiveLog = exports.ListAlertsRequestFilterSensitiveLog = exports.GetPrefetchScheduleResponseFilterSensitiveLog = exports.GetPrefetchScheduleRequestFilterSensitiveLog = exports.GetPlaybackConfigurationResponseFilterSensitiveLog = exports.GetPlaybackConfigurationRequestFilterSensitiveLog = exports.DescribeVodSourceResponseFilterSensitiveLog = exports.DescribeVodSourceRequestFilterSensitiveLog = exports.DescribeSourceLocationResponseFilterSensitiveLog = void 0;
3
+ exports.GetChannelPolicyRequestFilterSensitiveLog = exports.DeleteChannelPolicyResponseFilterSensitiveLog = exports.DeleteChannelPolicyRequestFilterSensitiveLog = exports.VodSourceFilterSensitiveLog = exports.SourceLocationFilterSensitiveLog = exports.HttpConfigurationFilterSensitiveLog = exports.DefaultSegmentDeliveryConfigurationFilterSensitiveLog = exports.AccessConfigurationFilterSensitiveLog = exports.SecretsManagerAccessTokenConfigurationFilterSensitiveLog = exports.SegmentDeliveryConfigurationFilterSensitiveLog = exports.ScheduleEntryFilterSensitiveLog = exports.ScheduleAdBreakFilterSensitiveLog = exports.PrefetchScheduleFilterSensitiveLog = exports.PrefetchRetrievalFilterSensitiveLog = exports.PrefetchConsumptionFilterSensitiveLog = exports.PlaybackConfigurationFilterSensitiveLog = exports.ManifestProcessingRulesFilterSensitiveLog = exports.AdMarkerPassthroughFilterSensitiveLog = exports.LogConfigurationFilterSensitiveLog = exports.LivePreRollConfigurationFilterSensitiveLog = exports.HlsConfigurationFilterSensitiveLog = exports.DashConfigurationFilterSensitiveLog = exports.CdnConfigurationFilterSensitiveLog = exports.BumperFilterSensitiveLog = exports.AvailSuppressionFilterSensitiveLog = exports.LiveSourceFilterSensitiveLog = exports.HttpPackageConfigurationFilterSensitiveLog = exports.ChannelFilterSensitiveLog = exports.ResponseOutputItemFilterSensitiveLog = exports.HlsPlaylistSettingsFilterSensitiveLog = exports.DashPlaylistSettingsFilterSensitiveLog = exports.AvailMatchingCriteriaFilterSensitiveLog = exports.AlertFilterSensitiveLog = exports.AdBreakFilterSensitiveLog = exports.TimeSignalMessageFilterSensitiveLog = exports.SegmentationDescriptorFilterSensitiveLog = exports.SpliceInsertMessageFilterSensitiveLog = exports.SlateSourceFilterSensitiveLog = exports.RelativePosition = exports.ChannelState = exports.Tier = exports.PlaybackMode = exports.BadRequestException = exports.AccessType = exports.ScheduleEntryType = exports.OriginManifestType = exports.Mode = exports.Type = exports.Operator = exports.MessageType = void 0;
4
+ exports.DescribeLiveSourceRequestFilterSensitiveLog = exports.DeleteVodSourceResponseFilterSensitiveLog = exports.DeleteVodSourceRequestFilterSensitiveLog = exports.DeleteSourceLocationResponseFilterSensitiveLog = exports.DeleteSourceLocationRequestFilterSensitiveLog = exports.DeletePrefetchScheduleResponseFilterSensitiveLog = exports.DeletePrefetchScheduleRequestFilterSensitiveLog = exports.DeletePlaybackConfigurationResponseFilterSensitiveLog = exports.DeletePlaybackConfigurationRequestFilterSensitiveLog = exports.DeleteLiveSourceResponseFilterSensitiveLog = exports.DeleteLiveSourceRequestFilterSensitiveLog = exports.DashConfigurationForPutFilterSensitiveLog = exports.CreateVodSourceResponseFilterSensitiveLog = exports.CreateVodSourceRequestFilterSensitiveLog = exports.CreateSourceLocationResponseFilterSensitiveLog = exports.CreateSourceLocationRequestFilterSensitiveLog = exports.CreatePrefetchScheduleResponseFilterSensitiveLog = exports.CreatePrefetchScheduleRequestFilterSensitiveLog = exports.CreateLiveSourceResponseFilterSensitiveLog = exports.CreateLiveSourceRequestFilterSensitiveLog = exports.ConfigureLogsForPlaybackConfigurationResponseFilterSensitiveLog = exports.ConfigureLogsForPlaybackConfigurationRequestFilterSensitiveLog = exports.UpdateChannelResponseFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.StopChannelResponseFilterSensitiveLog = exports.StopChannelRequestFilterSensitiveLog = exports.StartChannelResponseFilterSensitiveLog = exports.StartChannelRequestFilterSensitiveLog = exports.DescribeProgramResponseFilterSensitiveLog = exports.DescribeProgramRequestFilterSensitiveLog = exports.DeleteProgramResponseFilterSensitiveLog = exports.DeleteProgramRequestFilterSensitiveLog = exports.CreateProgramResponseFilterSensitiveLog = exports.CreateProgramRequestFilterSensitiveLog = exports.ScheduleConfigurationFilterSensitiveLog = exports.TransitionFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.ListChannelsRequestFilterSensitiveLog = exports.GetChannelScheduleResponseFilterSensitiveLog = exports.GetChannelScheduleRequestFilterSensitiveLog = exports.DescribeChannelResponseFilterSensitiveLog = exports.DescribeChannelRequestFilterSensitiveLog = exports.DeleteChannelResponseFilterSensitiveLog = exports.DeleteChannelRequestFilterSensitiveLog = exports.CreateChannelResponseFilterSensitiveLog = exports.CreateChannelRequestFilterSensitiveLog = exports.RequestOutputItemFilterSensitiveLog = exports.PutChannelPolicyResponseFilterSensitiveLog = exports.PutChannelPolicyRequestFilterSensitiveLog = exports.GetChannelPolicyResponseFilterSensitiveLog = void 0;
5
+ exports.UpdateVodSourceResponseFilterSensitiveLog = exports.UpdateVodSourceRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.UpdateSourceLocationResponseFilterSensitiveLog = exports.UpdateSourceLocationRequestFilterSensitiveLog = exports.PutPlaybackConfigurationResponseFilterSensitiveLog = exports.PutPlaybackConfigurationRequestFilterSensitiveLog = exports.UpdateLiveSourceResponseFilterSensitiveLog = exports.UpdateLiveSourceRequestFilterSensitiveLog = exports.ListVodSourcesResponseFilterSensitiveLog = exports.ListVodSourcesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListSourceLocationsResponseFilterSensitiveLog = exports.ListSourceLocationsRequestFilterSensitiveLog = exports.ListPrefetchSchedulesResponseFilterSensitiveLog = exports.ListPrefetchSchedulesRequestFilterSensitiveLog = exports.ListPlaybackConfigurationsResponseFilterSensitiveLog = exports.ListPlaybackConfigurationsRequestFilterSensitiveLog = exports.ListLiveSourcesResponseFilterSensitiveLog = exports.ListLiveSourcesRequestFilterSensitiveLog = exports.ListAlertsResponseFilterSensitiveLog = exports.ListAlertsRequestFilterSensitiveLog = exports.GetPrefetchScheduleResponseFilterSensitiveLog = exports.GetPrefetchScheduleRequestFilterSensitiveLog = exports.GetPlaybackConfigurationResponseFilterSensitiveLog = exports.GetPlaybackConfigurationRequestFilterSensitiveLog = exports.DescribeVodSourceResponseFilterSensitiveLog = exports.DescribeVodSourceRequestFilterSensitiveLog = exports.DescribeSourceLocationResponseFilterSensitiveLog = exports.DescribeSourceLocationRequestFilterSensitiveLog = exports.DescribeLiveSourceResponseFilterSensitiveLog = void 0;
6
6
  const MediaTailorServiceException_1 = require("./MediaTailorServiceException");
7
7
  var MessageType;
8
8
  (function (MessageType) {
9
9
  MessageType["SPLICE_INSERT"] = "SPLICE_INSERT";
10
+ MessageType["TIME_SIGNAL"] = "TIME_SIGNAL";
10
11
  })(MessageType = exports.MessageType || (exports.MessageType = {}));
11
12
  var Operator;
12
13
  (function (Operator) {
@@ -79,6 +80,14 @@ const SpliceInsertMessageFilterSensitiveLog = (obj) => ({
79
80
  ...obj,
80
81
  });
81
82
  exports.SpliceInsertMessageFilterSensitiveLog = SpliceInsertMessageFilterSensitiveLog;
83
+ const SegmentationDescriptorFilterSensitiveLog = (obj) => ({
84
+ ...obj,
85
+ });
86
+ exports.SegmentationDescriptorFilterSensitiveLog = SegmentationDescriptorFilterSensitiveLog;
87
+ const TimeSignalMessageFilterSensitiveLog = (obj) => ({
88
+ ...obj,
89
+ });
90
+ exports.TimeSignalMessageFilterSensitiveLog = TimeSignalMessageFilterSensitiveLog;
82
91
  const AdBreakFilterSensitiveLog = (obj) => ({
83
92
  ...obj,
84
93
  });
@@ -2629,6 +2629,9 @@ const serializeAws_restJson1AdBreak = (input, context) => {
2629
2629
  ...(input.SpliceInsertMessage != null && {
2630
2630
  SpliceInsertMessage: serializeAws_restJson1SpliceInsertMessage(input.SpliceInsertMessage, context),
2631
2631
  }),
2632
+ ...(input.TimeSignalMessage != null && {
2633
+ TimeSignalMessage: serializeAws_restJson1TimeSignalMessage(input.TimeSignalMessage, context),
2634
+ }),
2632
2635
  };
2633
2636
  };
2634
2637
  const serializeAws_restJson1AdMarkerPassthrough = (input, context) => {
@@ -2778,6 +2781,25 @@ const serializeAws_restJson1SecretsManagerAccessTokenConfiguration = (input, con
2778
2781
  ...(input.SecretStringKey != null && { SecretStringKey: input.SecretStringKey }),
2779
2782
  };
2780
2783
  };
2784
+ const serializeAws_restJson1SegmentationDescriptor = (input, context) => {
2785
+ return {
2786
+ ...(input.SegmentNum != null && { SegmentNum: input.SegmentNum }),
2787
+ ...(input.SegmentationEventId != null && { SegmentationEventId: input.SegmentationEventId }),
2788
+ ...(input.SegmentationTypeId != null && { SegmentationTypeId: input.SegmentationTypeId }),
2789
+ ...(input.SegmentationUpid != null && { SegmentationUpid: input.SegmentationUpid }),
2790
+ ...(input.SegmentationUpidType != null && { SegmentationUpidType: input.SegmentationUpidType }),
2791
+ ...(input.SegmentsExpected != null && { SegmentsExpected: input.SegmentsExpected }),
2792
+ ...(input.SubSegmentNum != null && { SubSegmentNum: input.SubSegmentNum }),
2793
+ ...(input.SubSegmentsExpected != null && { SubSegmentsExpected: input.SubSegmentsExpected }),
2794
+ };
2795
+ };
2796
+ const serializeAws_restJson1SegmentationDescriptorList = (input, context) => {
2797
+ return input
2798
+ .filter((e) => e != null)
2799
+ .map((entry) => {
2800
+ return serializeAws_restJson1SegmentationDescriptor(entry, context);
2801
+ });
2802
+ };
2781
2803
  const serializeAws_restJson1SegmentDeliveryConfiguration = (input, context) => {
2782
2804
  return {
2783
2805
  ...(input.BaseUrl != null && { BaseUrl: input.BaseUrl }),
@@ -2798,6 +2820,13 @@ const serializeAws_restJson1SpliceInsertMessage = (input, context) => {
2798
2820
  ...(input.UniqueProgramId != null && { UniqueProgramId: input.UniqueProgramId }),
2799
2821
  };
2800
2822
  };
2823
+ const serializeAws_restJson1TimeSignalMessage = (input, context) => {
2824
+ return {
2825
+ ...(input.SegmentationDescriptors != null && {
2826
+ SegmentationDescriptors: serializeAws_restJson1SegmentationDescriptorList(input.SegmentationDescriptors, context),
2827
+ }),
2828
+ };
2829
+ };
2801
2830
  const serializeAws_restJson1Transition = (input, context) => {
2802
2831
  return {
2803
2832
  ...(input.DurationMillis != null && { DurationMillis: input.DurationMillis }),
@@ -2977,6 +3006,9 @@ const deserializeAws_restJson1AdBreak = (output, context) => {
2977
3006
  SpliceInsertMessage: output.SpliceInsertMessage != null
2978
3007
  ? deserializeAws_restJson1SpliceInsertMessage(output.SpliceInsertMessage, context)
2979
3008
  : undefined,
3009
+ TimeSignalMessage: output.TimeSignalMessage != null
3010
+ ? deserializeAws_restJson1TimeSignalMessage(output.TimeSignalMessage, context)
3011
+ : undefined,
2980
3012
  };
2981
3013
  };
2982
3014
  const deserializeAws_restJson1AdMarkerPassthrough = (output, context) => {
@@ -3264,6 +3296,29 @@ const deserializeAws_restJson1SecretsManagerAccessTokenConfiguration = (output,
3264
3296
  SecretStringKey: (0, smithy_client_1.expectString)(output.SecretStringKey),
3265
3297
  };
3266
3298
  };
3299
+ const deserializeAws_restJson1SegmentationDescriptor = (output, context) => {
3300
+ return {
3301
+ SegmentNum: (0, smithy_client_1.expectInt32)(output.SegmentNum),
3302
+ SegmentationEventId: (0, smithy_client_1.expectInt32)(output.SegmentationEventId),
3303
+ SegmentationTypeId: (0, smithy_client_1.expectInt32)(output.SegmentationTypeId),
3304
+ SegmentationUpid: (0, smithy_client_1.expectString)(output.SegmentationUpid),
3305
+ SegmentationUpidType: (0, smithy_client_1.expectInt32)(output.SegmentationUpidType),
3306
+ SegmentsExpected: (0, smithy_client_1.expectInt32)(output.SegmentsExpected),
3307
+ SubSegmentNum: (0, smithy_client_1.expectInt32)(output.SubSegmentNum),
3308
+ SubSegmentsExpected: (0, smithy_client_1.expectInt32)(output.SubSegmentsExpected),
3309
+ };
3310
+ };
3311
+ const deserializeAws_restJson1SegmentationDescriptorList = (output, context) => {
3312
+ const retVal = (output || [])
3313
+ .filter((e) => e != null)
3314
+ .map((entry) => {
3315
+ if (entry === null) {
3316
+ return null;
3317
+ }
3318
+ return deserializeAws_restJson1SegmentationDescriptor(entry, context);
3319
+ });
3320
+ return retVal;
3321
+ };
3267
3322
  const deserializeAws_restJson1SegmentDeliveryConfiguration = (output, context) => {
3268
3323
  return {
3269
3324
  BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
@@ -3309,6 +3364,13 @@ const deserializeAws_restJson1SpliceInsertMessage = (output, context) => {
3309
3364
  UniqueProgramId: (0, smithy_client_1.expectInt32)(output.UniqueProgramId),
3310
3365
  };
3311
3366
  };
3367
+ const deserializeAws_restJson1TimeSignalMessage = (output, context) => {
3368
+ return {
3369
+ SegmentationDescriptors: output.SegmentationDescriptors != null
3370
+ ? deserializeAws_restJson1SegmentationDescriptorList(output.SegmentationDescriptors, context)
3371
+ : undefined,
3372
+ };
3373
+ };
3312
3374
  const deserializeAws_restJson1VodSource = (output, context) => {
3313
3375
  return {
3314
3376
  Arn: (0, smithy_client_1.expectString)(output.Arn),
@@ -2,6 +2,7 @@ import { MediaTailorServiceException as __BaseException } from "./MediaTailorSer
2
2
  export var MessageType;
3
3
  (function (MessageType) {
4
4
  MessageType["SPLICE_INSERT"] = "SPLICE_INSERT";
5
+ MessageType["TIME_SIGNAL"] = "TIME_SIGNAL";
5
6
  })(MessageType || (MessageType = {}));
6
7
  export var Operator;
7
8
  (function (Operator) {
@@ -71,6 +72,12 @@ export const SlateSourceFilterSensitiveLog = (obj) => ({
71
72
  export const SpliceInsertMessageFilterSensitiveLog = (obj) => ({
72
73
  ...obj,
73
74
  });
75
+ export const SegmentationDescriptorFilterSensitiveLog = (obj) => ({
76
+ ...obj,
77
+ });
78
+ export const TimeSignalMessageFilterSensitiveLog = (obj) => ({
79
+ ...obj,
80
+ });
74
81
  export const AdBreakFilterSensitiveLog = (obj) => ({
75
82
  ...obj,
76
83
  });
@@ -2541,6 +2541,9 @@ const serializeAws_restJson1AdBreak = (input, context) => {
2541
2541
  ...(input.SpliceInsertMessage != null && {
2542
2542
  SpliceInsertMessage: serializeAws_restJson1SpliceInsertMessage(input.SpliceInsertMessage, context),
2543
2543
  }),
2544
+ ...(input.TimeSignalMessage != null && {
2545
+ TimeSignalMessage: serializeAws_restJson1TimeSignalMessage(input.TimeSignalMessage, context),
2546
+ }),
2544
2547
  };
2545
2548
  };
2546
2549
  const serializeAws_restJson1AdMarkerPassthrough = (input, context) => {
@@ -2690,6 +2693,25 @@ const serializeAws_restJson1SecretsManagerAccessTokenConfiguration = (input, con
2690
2693
  ...(input.SecretStringKey != null && { SecretStringKey: input.SecretStringKey }),
2691
2694
  };
2692
2695
  };
2696
+ const serializeAws_restJson1SegmentationDescriptor = (input, context) => {
2697
+ return {
2698
+ ...(input.SegmentNum != null && { SegmentNum: input.SegmentNum }),
2699
+ ...(input.SegmentationEventId != null && { SegmentationEventId: input.SegmentationEventId }),
2700
+ ...(input.SegmentationTypeId != null && { SegmentationTypeId: input.SegmentationTypeId }),
2701
+ ...(input.SegmentationUpid != null && { SegmentationUpid: input.SegmentationUpid }),
2702
+ ...(input.SegmentationUpidType != null && { SegmentationUpidType: input.SegmentationUpidType }),
2703
+ ...(input.SegmentsExpected != null && { SegmentsExpected: input.SegmentsExpected }),
2704
+ ...(input.SubSegmentNum != null && { SubSegmentNum: input.SubSegmentNum }),
2705
+ ...(input.SubSegmentsExpected != null && { SubSegmentsExpected: input.SubSegmentsExpected }),
2706
+ };
2707
+ };
2708
+ const serializeAws_restJson1SegmentationDescriptorList = (input, context) => {
2709
+ return input
2710
+ .filter((e) => e != null)
2711
+ .map((entry) => {
2712
+ return serializeAws_restJson1SegmentationDescriptor(entry, context);
2713
+ });
2714
+ };
2693
2715
  const serializeAws_restJson1SegmentDeliveryConfiguration = (input, context) => {
2694
2716
  return {
2695
2717
  ...(input.BaseUrl != null && { BaseUrl: input.BaseUrl }),
@@ -2710,6 +2732,13 @@ const serializeAws_restJson1SpliceInsertMessage = (input, context) => {
2710
2732
  ...(input.UniqueProgramId != null && { UniqueProgramId: input.UniqueProgramId }),
2711
2733
  };
2712
2734
  };
2735
+ const serializeAws_restJson1TimeSignalMessage = (input, context) => {
2736
+ return {
2737
+ ...(input.SegmentationDescriptors != null && {
2738
+ SegmentationDescriptors: serializeAws_restJson1SegmentationDescriptorList(input.SegmentationDescriptors, context),
2739
+ }),
2740
+ };
2741
+ };
2713
2742
  const serializeAws_restJson1Transition = (input, context) => {
2714
2743
  return {
2715
2744
  ...(input.DurationMillis != null && { DurationMillis: input.DurationMillis }),
@@ -2889,6 +2918,9 @@ const deserializeAws_restJson1AdBreak = (output, context) => {
2889
2918
  SpliceInsertMessage: output.SpliceInsertMessage != null
2890
2919
  ? deserializeAws_restJson1SpliceInsertMessage(output.SpliceInsertMessage, context)
2891
2920
  : undefined,
2921
+ TimeSignalMessage: output.TimeSignalMessage != null
2922
+ ? deserializeAws_restJson1TimeSignalMessage(output.TimeSignalMessage, context)
2923
+ : undefined,
2892
2924
  };
2893
2925
  };
2894
2926
  const deserializeAws_restJson1AdMarkerPassthrough = (output, context) => {
@@ -3176,6 +3208,29 @@ const deserializeAws_restJson1SecretsManagerAccessTokenConfiguration = (output,
3176
3208
  SecretStringKey: __expectString(output.SecretStringKey),
3177
3209
  };
3178
3210
  };
3211
+ const deserializeAws_restJson1SegmentationDescriptor = (output, context) => {
3212
+ return {
3213
+ SegmentNum: __expectInt32(output.SegmentNum),
3214
+ SegmentationEventId: __expectInt32(output.SegmentationEventId),
3215
+ SegmentationTypeId: __expectInt32(output.SegmentationTypeId),
3216
+ SegmentationUpid: __expectString(output.SegmentationUpid),
3217
+ SegmentationUpidType: __expectInt32(output.SegmentationUpidType),
3218
+ SegmentsExpected: __expectInt32(output.SegmentsExpected),
3219
+ SubSegmentNum: __expectInt32(output.SubSegmentNum),
3220
+ SubSegmentsExpected: __expectInt32(output.SubSegmentsExpected),
3221
+ };
3222
+ };
3223
+ const deserializeAws_restJson1SegmentationDescriptorList = (output, context) => {
3224
+ const retVal = (output || [])
3225
+ .filter((e) => e != null)
3226
+ .map((entry) => {
3227
+ if (entry === null) {
3228
+ return null;
3229
+ }
3230
+ return deserializeAws_restJson1SegmentationDescriptor(entry, context);
3231
+ });
3232
+ return retVal;
3233
+ };
3179
3234
  const deserializeAws_restJson1SegmentDeliveryConfiguration = (output, context) => {
3180
3235
  return {
3181
3236
  BaseUrl: __expectString(output.BaseUrl),
@@ -3221,6 +3276,13 @@ const deserializeAws_restJson1SpliceInsertMessage = (output, context) => {
3221
3276
  UniqueProgramId: __expectInt32(output.UniqueProgramId),
3222
3277
  };
3223
3278
  };
3279
+ const deserializeAws_restJson1TimeSignalMessage = (output, context) => {
3280
+ return {
3281
+ SegmentationDescriptors: output.SegmentationDescriptors != null
3282
+ ? deserializeAws_restJson1SegmentationDescriptorList(output.SegmentationDescriptors, context)
3283
+ : undefined,
3284
+ };
3285
+ };
3224
3286
  const deserializeAws_restJson1VodSource = (output, context) => {
3225
3287
  return {
3226
3288
  Arn: __expectString(output.Arn),
@@ -1,7 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { MediaTailorServiceException as __BaseException } from "./MediaTailorServiceException";
3
3
  export declare enum MessageType {
4
- SPLICE_INSERT = "SPLICE_INSERT"
4
+ SPLICE_INSERT = "SPLICE_INSERT",
5
+ TIME_SIGNAL = "TIME_SIGNAL"
5
6
  }
6
7
  /**
7
8
  * <p>Slate VOD source configuration.</p>
@@ -37,6 +38,57 @@ export interface SpliceInsertMessage {
37
38
  */
38
39
  UniqueProgramId?: number;
39
40
  }
41
+ /**
42
+ * <p>The <code>segmentation_descriptor</code> message can contain advanced metadata fields, like content identifiers, to convey a wide range of information about the ad break. MediaTailor writes the ad metadata in the egress manifest as part of the <code>EXT-X-DATERANGE</code> or <code>EventStream</code> ad marker's SCTE-35 data.</p>
43
+ * <p>
44
+ * <code>segmentation_descriptor</code> messages must be sent with the <code>time_signal</code> message type.</p>
45
+ * <p>See the <code>segmentation_descriptor()</code> table of the 2022 SCTE-35 specification for more information.</p>
46
+ */
47
+ export interface SegmentationDescriptor {
48
+ /**
49
+ * <p>The Event Identifier to assign to the <code>segmentation_descriptor.segmentation_event_id</code> message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is 1.</p>
50
+ */
51
+ SegmentationEventId?: number;
52
+ /**
53
+ * <p>The Upid Type to assign to the <code>segmentation_descriptor.segmentation_upid_type</code> message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 14.</p>
54
+ */
55
+ SegmentationUpidType?: number;
56
+ /**
57
+ * <p>The Upid to assign to the <code>segmentation_descriptor.segmentation_upid</code> message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The value must be a hexadecimal string containing only the characters 0 though 9 and A through F. The default value is "" (an empty string).</p>
58
+ */
59
+ SegmentationUpid?: string;
60
+ /**
61
+ * <p>The Type Identifier to assign to the <code>segmentation_descriptor.segmentation_type_id</code> message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 48.</p>
62
+ */
63
+ SegmentationTypeId?: number;
64
+ /**
65
+ * <p>The segment number to assign to the <code>segmentation_descriptor.segment_num</code> message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.</p>
66
+ */
67
+ SegmentNum?: number;
68
+ /**
69
+ * <p>The number of segments expected, which is assigned to the <code>segmentation_descriptor.segments_expectedS</code> message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.</p>
70
+ */
71
+ SegmentsExpected?: number;
72
+ /**
73
+ * <p>The sub-segment number to assign to the <code>segmentation_descriptor.sub_segment_num</code> message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The defualt value is null.</p>
74
+ */
75
+ SubSegmentNum?: number;
76
+ /**
77
+ * <p>The number of sub-segments expected, which is assigned to the <code>segmentation_descriptor.sub_segments_expected</code> message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is null.</p>
78
+ */
79
+ SubSegmentsExpected?: number;
80
+ }
81
+ /**
82
+ * <p>The SCTE-35 <code>time_signal</code> message can be sent with one or more <code>segmentation_descriptor</code> messages. A <code>time_signal</code> message can be sent only if a single <code>segmentation_descriptor</code> message is sent.</p>
83
+ * <p>The <code>time_signal</code> message contains only the <code>splice_time</code> field which is constructed using a given presentation timestamp. When sending a <code>time_signal</code> message, the <code>splice_command_type</code> field in the <code>splice_info_section</code> message is set to 6 (0x06).</p>
84
+ * <p>See the <code>time_signal()</code> table of the 2022 SCTE-35 specification for more information.</p>
85
+ */
86
+ export interface TimeSignalMessage {
87
+ /**
88
+ * <p>The configurations for the SCTE-35 <code>segmentation_descriptor</code> message(s) sent with the <code>time_signal</code> message.</p>
89
+ */
90
+ SegmentationDescriptors?: SegmentationDescriptor[];
91
+ }
40
92
  /**
41
93
  * <p>Ad break configuration parameters.</p>
42
94
  */
@@ -57,6 +109,12 @@ export interface AdBreak {
57
109
  * <p>This defines the SCTE-35 <code>splice_insert()</code> message inserted around the ad. For information about using <code>splice_insert()</code>, see the SCTE-35 specficiaiton, section 9.7.3.1.</p>
58
110
  */
59
111
  SpliceInsertMessage?: SpliceInsertMessage;
112
+ /**
113
+ * <p>Defines the SCTE-35 <code>time_signal</code> message inserted around the ad.</p>
114
+ * <p>Programs on a channel's schedule can be configured with one or more ad breaks. You can attach a <code>splice_insert</code> SCTE-35 message to the ad break. This message provides basic metadata about the ad break.</p>
115
+ * <p>See section 9.7.4 of the 2022 SCTE-35 specification for more information.</p>
116
+ */
117
+ TimeSignalMessage?: TimeSignalMessage;
60
118
  }
61
119
  /**
62
120
  * <p>Alert configuration parameters.</p>
@@ -2260,6 +2318,14 @@ export declare const SlateSourceFilterSensitiveLog: (obj: SlateSource) => any;
2260
2318
  * @internal
2261
2319
  */
2262
2320
  export declare const SpliceInsertMessageFilterSensitiveLog: (obj: SpliceInsertMessage) => any;
2321
+ /**
2322
+ * @internal
2323
+ */
2324
+ export declare const SegmentationDescriptorFilterSensitiveLog: (obj: SegmentationDescriptor) => any;
2325
+ /**
2326
+ * @internal
2327
+ */
2328
+ export declare const TimeSignalMessageFilterSensitiveLog: (obj: TimeSignalMessage) => any;
2263
2329
  /**
2264
2330
  * @internal
2265
2331
  */
@@ -2,6 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { MediaTailorServiceException as __BaseException } from "./MediaTailorServiceException";
3
3
  export declare enum MessageType {
4
4
  SPLICE_INSERT = "SPLICE_INSERT",
5
+ TIME_SIGNAL = "TIME_SIGNAL",
5
6
  }
6
7
  export interface SlateSource {
7
8
  SourceLocationName?: string;
@@ -13,11 +14,25 @@ export interface SpliceInsertMessage {
13
14
  SpliceEventId?: number;
14
15
  UniqueProgramId?: number;
15
16
  }
17
+ export interface SegmentationDescriptor {
18
+ SegmentationEventId?: number;
19
+ SegmentationUpidType?: number;
20
+ SegmentationUpid?: string;
21
+ SegmentationTypeId?: number;
22
+ SegmentNum?: number;
23
+ SegmentsExpected?: number;
24
+ SubSegmentNum?: number;
25
+ SubSegmentsExpected?: number;
26
+ }
27
+ export interface TimeSignalMessage {
28
+ SegmentationDescriptors?: SegmentationDescriptor[];
29
+ }
16
30
  export interface AdBreak {
17
31
  MessageType?: MessageType | string;
18
32
  OffsetMillis?: number;
19
33
  Slate?: SlateSource;
20
34
  SpliceInsertMessage?: SpliceInsertMessage;
35
+ TimeSignalMessage?: TimeSignalMessage;
21
36
  }
22
37
  export interface Alert {
23
38
  AlertCode: string | undefined;
@@ -730,6 +745,12 @@ export declare const SlateSourceFilterSensitiveLog: (obj: SlateSource) => any;
730
745
  export declare const SpliceInsertMessageFilterSensitiveLog: (
731
746
  obj: SpliceInsertMessage
732
747
  ) => any;
748
+ export declare const SegmentationDescriptorFilterSensitiveLog: (
749
+ obj: SegmentationDescriptor
750
+ ) => any;
751
+ export declare const TimeSignalMessageFilterSensitiveLog: (
752
+ obj: TimeSignalMessage
753
+ ) => any;
733
754
  export declare const AdBreakFilterSensitiveLog: (obj: AdBreak) => any;
734
755
  export declare const AlertFilterSensitiveLog: (obj: Alert) => any;
735
756
  export declare const AvailMatchingCriteriaFilterSensitiveLog: (
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediatailor",
3
3
  "description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
4
- "version": "3.198.0",
4
+ "version": "3.199.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,13 +19,13 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.198.0",
22
+ "@aws-sdk/client-sts": "3.199.0",
23
23
  "@aws-sdk/config-resolver": "3.198.0",
24
- "@aws-sdk/credential-provider-node": "3.198.0",
25
- "@aws-sdk/fetch-http-handler": "3.198.0",
24
+ "@aws-sdk/credential-provider-node": "3.199.0",
25
+ "@aws-sdk/fetch-http-handler": "3.199.0",
26
26
  "@aws-sdk/hash-node": "3.198.0",
27
27
  "@aws-sdk/invalid-dependency": "3.198.0",
28
- "@aws-sdk/middleware-content-length": "3.198.0",
28
+ "@aws-sdk/middleware-content-length": "3.199.0",
29
29
  "@aws-sdk/middleware-endpoint": "3.198.0",
30
30
  "@aws-sdk/middleware-host-header": "3.198.0",
31
31
  "@aws-sdk/middleware-logger": "3.198.0",
@@ -36,7 +36,7 @@
36
36
  "@aws-sdk/middleware-stack": "3.198.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.198.0",
38
38
  "@aws-sdk/node-config-provider": "3.198.0",
39
- "@aws-sdk/node-http-handler": "3.198.0",
39
+ "@aws-sdk/node-http-handler": "3.199.0",
40
40
  "@aws-sdk/protocol-http": "3.198.0",
41
41
  "@aws-sdk/smithy-client": "3.198.0",
42
42
  "@aws-sdk/types": "3.198.0",
@@ -51,7 +51,7 @@
51
51
  "@aws-sdk/util-user-agent-browser": "3.198.0",
52
52
  "@aws-sdk/util-user-agent-node": "3.198.0",
53
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
54
- "@aws-sdk/util-utf8-node": "3.188.0",
54
+ "@aws-sdk/util-utf8-node": "3.199.0",
55
55
  "tslib": "^2.3.1"
56
56
  },
57
57
  "devDependencies": {