@aws-sdk/client-mediatailor 3.47.0 → 3.49.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,41 @@
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.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-mediatailor
9
+
10
+
11
+
12
+
13
+
14
+ # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
20
+
21
+
22
+
23
+
24
+
25
+ ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-mediatailor
28
+
29
+
30
+
31
+
32
+
33
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
34
+
35
+ **Note:** Version bump only for package @aws-sdk/client-mediatailor
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
42
 
8
43
 
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScheduleConfiguration = exports.Transition = exports.RelativePosition = exports.CreatePrefetchScheduleResponse = exports.CreatePrefetchScheduleRequest = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.PlaybackMode = exports.RequestOutputItem = exports.ConfigureLogsForPlaybackConfigurationResponse = exports.ConfigureLogsForPlaybackConfigurationRequest = exports.ChannelState = exports.VodSource = exports.HttpPackageConfiguration = exports.Type = exports.SourceLocation = exports.HttpConfiguration = exports.DefaultSegmentDeliveryConfiguration = exports.AccessConfiguration = exports.SecretsManagerAccessTokenConfiguration = exports.AccessType = exports.ScheduleEntry = exports.ScheduleEntryType = exports.ScheduleAdBreak = exports.PrefetchSchedule = exports.PrefetchRetrieval = exports.PrefetchConsumption = exports.PlaybackConfiguration = exports.ManifestProcessingRules = exports.AdMarkerPassthrough = exports.LogConfiguration = exports.LivePreRollConfiguration = exports.HlsConfiguration = exports.DashConfiguration = exports.OriginManifestType = exports.CdnConfiguration = exports.Bumper = exports.AvailSuppression = exports.Mode = exports.Channel = exports.ResponseOutputItem = exports.HlsPlaylistSettings = exports.DashPlaylistSettings = exports.AvailMatchingCriteria = exports.Operator = exports.Alert = exports.AdBreak = exports.SpliceInsertMessage = exports.SlateSource = exports.MessageType = void 0;
4
- exports.ListVodSourcesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSourceLocationsResponse = exports.ListSourceLocationsRequest = exports.ListPrefetchSchedulesResponse = exports.ListPrefetchSchedulesRequest = exports.ListPlaybackConfigurationsResponse = exports.ListPlaybackConfigurationsRequest = exports.ListChannelsResponse = exports.ListChannelsRequest = exports.ListAlertsResponse = exports.ListAlertsRequest = exports.GetPrefetchScheduleResponse = exports.GetPrefetchScheduleRequest = exports.GetPlaybackConfigurationResponse = exports.GetPlaybackConfigurationRequest = exports.GetChannelScheduleResponse = exports.GetChannelScheduleRequest = exports.GetChannelPolicyResponse = exports.GetChannelPolicyRequest = exports.DescribeVodSourceResponse = exports.DescribeVodSourceRequest = exports.DescribeSourceLocationResponse = exports.DescribeSourceLocationRequest = exports.DescribeProgramResponse = exports.DescribeProgramRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DeleteVodSourceResponse = exports.DeleteVodSourceRequest = exports.DeleteSourceLocationResponse = exports.DeleteSourceLocationRequest = exports.DeleteProgramResponse = exports.DeleteProgramRequest = exports.DeletePrefetchScheduleResponse = exports.DeletePrefetchScheduleRequest = exports.DeletePlaybackConfigurationResponse = exports.DeletePlaybackConfigurationRequest = exports.DeleteChannelPolicyResponse = exports.DeleteChannelPolicyRequest = exports.DeleteChannelResponse = exports.DeleteChannelRequest = exports.DashConfigurationForPut = exports.CreateVodSourceResponse = exports.CreateVodSourceRequest = exports.CreateSourceLocationResponse = exports.CreateSourceLocationRequest = exports.CreateProgramResponse = exports.CreateProgramRequest = void 0;
5
- exports.UpdateVodSourceResponse = exports.UpdateVodSourceRequest = exports.UpdateSourceLocationResponse = exports.UpdateSourceLocationRequest = exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopChannelResponse = exports.StopChannelRequest = exports.StartChannelResponse = exports.StartChannelRequest = exports.PutPlaybackConfigurationResponse = exports.PutPlaybackConfigurationRequest = exports.PutChannelPolicyResponse = exports.PutChannelPolicyRequest = exports.ListVodSourcesResponse = void 0;
3
+ exports.Transition = exports.RelativePosition = exports.CreatePrefetchScheduleResponse = exports.CreatePrefetchScheduleRequest = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.PlaybackMode = exports.RequestOutputItem = exports.ConfigureLogsForPlaybackConfigurationResponse = exports.ConfigureLogsForPlaybackConfigurationRequest = exports.ChannelState = exports.VodSource = exports.HttpPackageConfiguration = exports.Type = exports.SourceLocation = exports.HttpConfiguration = exports.DefaultSegmentDeliveryConfiguration = exports.AccessConfiguration = exports.SecretsManagerAccessTokenConfiguration = exports.AccessType = exports.SegmentDeliveryConfiguration = exports.ScheduleEntry = exports.ScheduleEntryType = exports.ScheduleAdBreak = exports.PrefetchSchedule = exports.PrefetchRetrieval = exports.PrefetchConsumption = exports.PlaybackConfiguration = exports.ManifestProcessingRules = exports.AdMarkerPassthrough = exports.LogConfiguration = exports.LivePreRollConfiguration = exports.HlsConfiguration = exports.DashConfiguration = exports.OriginManifestType = exports.CdnConfiguration = exports.Bumper = exports.AvailSuppression = exports.Mode = exports.Channel = exports.ResponseOutputItem = exports.HlsPlaylistSettings = exports.DashPlaylistSettings = exports.AvailMatchingCriteria = exports.Operator = exports.Alert = exports.AdBreak = exports.SpliceInsertMessage = exports.SlateSource = exports.MessageType = void 0;
4
+ exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSourceLocationsResponse = exports.ListSourceLocationsRequest = exports.ListPrefetchSchedulesResponse = exports.ListPrefetchSchedulesRequest = exports.ListPlaybackConfigurationsResponse = exports.ListPlaybackConfigurationsRequest = exports.ListChannelsResponse = exports.ListChannelsRequest = exports.ListAlertsResponse = exports.ListAlertsRequest = exports.GetPrefetchScheduleResponse = exports.GetPrefetchScheduleRequest = exports.GetPlaybackConfigurationResponse = exports.GetPlaybackConfigurationRequest = exports.GetChannelScheduleResponse = exports.GetChannelScheduleRequest = exports.GetChannelPolicyResponse = exports.GetChannelPolicyRequest = exports.DescribeVodSourceResponse = exports.DescribeVodSourceRequest = exports.DescribeSourceLocationResponse = exports.DescribeSourceLocationRequest = exports.DescribeProgramResponse = exports.DescribeProgramRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DeleteVodSourceResponse = exports.DeleteVodSourceRequest = exports.DeleteSourceLocationResponse = exports.DeleteSourceLocationRequest = exports.DeleteProgramResponse = exports.DeleteProgramRequest = exports.DeletePrefetchScheduleResponse = exports.DeletePrefetchScheduleRequest = exports.DeletePlaybackConfigurationResponse = exports.DeletePlaybackConfigurationRequest = exports.DeleteChannelPolicyResponse = exports.DeleteChannelPolicyRequest = exports.DeleteChannelResponse = exports.DeleteChannelRequest = exports.DashConfigurationForPut = exports.CreateVodSourceResponse = exports.CreateVodSourceRequest = exports.CreateSourceLocationResponse = exports.CreateSourceLocationRequest = exports.CreateProgramResponse = exports.CreateProgramRequest = exports.ScheduleConfiguration = void 0;
5
+ exports.UpdateVodSourceResponse = exports.UpdateVodSourceRequest = exports.UpdateSourceLocationResponse = exports.UpdateSourceLocationRequest = exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopChannelResponse = exports.StopChannelRequest = exports.StartChannelResponse = exports.StartChannelRequest = exports.PutPlaybackConfigurationResponse = exports.PutPlaybackConfigurationRequest = exports.PutChannelPolicyResponse = exports.PutChannelPolicyRequest = exports.ListVodSourcesResponse = exports.ListVodSourcesRequest = void 0;
6
6
  var MessageType;
7
7
  (function (MessageType) {
8
8
  MessageType["SPLICE_INSERT"] = "SPLICE_INSERT";
@@ -170,6 +170,12 @@ var ScheduleEntry;
170
170
  ...obj,
171
171
  });
172
172
  })(ScheduleEntry = exports.ScheduleEntry || (exports.ScheduleEntry = {}));
173
+ var SegmentDeliveryConfiguration;
174
+ (function (SegmentDeliveryConfiguration) {
175
+ SegmentDeliveryConfiguration.filterSensitiveLog = (obj) => ({
176
+ ...obj,
177
+ });
178
+ })(SegmentDeliveryConfiguration = exports.SegmentDeliveryConfiguration || (exports.SegmentDeliveryConfiguration = {}));
173
179
  var AccessType;
174
180
  (function (AccessType) {
175
181
  AccessType["S3_SIGV4"] = "S3_SIGV4";
@@ -193,6 +193,10 @@ const serializeAws_restJson1CreateSourceLocationCommand = async (input, context)
193
193
  input.HttpConfiguration !== null && {
194
194
  HttpConfiguration: serializeAws_restJson1HttpConfiguration(input.HttpConfiguration, context),
195
195
  }),
196
+ ...(input.SegmentDeliveryConfigurations !== undefined &&
197
+ input.SegmentDeliveryConfigurations !== null && {
198
+ SegmentDeliveryConfigurations: serializeAws_restJson1__listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
199
+ }),
196
200
  ...(input.Tags !== undefined &&
197
201
  input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
198
202
  });
@@ -1162,6 +1166,10 @@ const serializeAws_restJson1UpdateSourceLocationCommand = async (input, context)
1162
1166
  input.HttpConfiguration !== null && {
1163
1167
  HttpConfiguration: serializeAws_restJson1HttpConfiguration(input.HttpConfiguration, context),
1164
1168
  }),
1169
+ ...(input.SegmentDeliveryConfigurations !== undefined &&
1170
+ input.SegmentDeliveryConfigurations !== null && {
1171
+ SegmentDeliveryConfigurations: serializeAws_restJson1__listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
1172
+ }),
1165
1173
  });
1166
1174
  return new protocol_http_1.HttpRequest({
1167
1175
  protocol,
@@ -1475,6 +1483,7 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
1475
1483
  DefaultSegmentDeliveryConfiguration: undefined,
1476
1484
  HttpConfiguration: undefined,
1477
1485
  LastModifiedTime: undefined,
1486
+ SegmentDeliveryConfigurations: undefined,
1478
1487
  SourceLocationName: undefined,
1479
1488
  Tags: undefined,
1480
1489
  };
@@ -1497,6 +1506,9 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
1497
1506
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1498
1507
  contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1499
1508
  }
1509
+ if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
1510
+ contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
1511
+ }
1500
1512
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1501
1513
  contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1502
1514
  }
@@ -1999,6 +2011,7 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
1999
2011
  DefaultSegmentDeliveryConfiguration: undefined,
2000
2012
  HttpConfiguration: undefined,
2001
2013
  LastModifiedTime: undefined,
2014
+ SegmentDeliveryConfigurations: undefined,
2002
2015
  SourceLocationName: undefined,
2003
2016
  Tags: undefined,
2004
2017
  };
@@ -2021,6 +2034,9 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
2021
2034
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
2022
2035
  contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
2023
2036
  }
2037
+ if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
2038
+ contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
2039
+ }
2024
2040
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
2025
2041
  contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
2026
2042
  }
@@ -3079,6 +3095,7 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
3079
3095
  DefaultSegmentDeliveryConfiguration: undefined,
3080
3096
  HttpConfiguration: undefined,
3081
3097
  LastModifiedTime: undefined,
3098
+ SegmentDeliveryConfigurations: undefined,
3082
3099
  SourceLocationName: undefined,
3083
3100
  Tags: undefined,
3084
3101
  };
@@ -3101,6 +3118,9 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
3101
3118
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
3102
3119
  contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
3103
3120
  }
3121
+ if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
3122
+ contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
3123
+ }
3104
3124
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
3105
3125
  contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
3106
3126
  }
@@ -3232,6 +3252,16 @@ const serializeAws_restJson1__listOfAvailMatchingCriteria = (input, context) =>
3232
3252
  return serializeAws_restJson1AvailMatchingCriteria(entry, context);
3233
3253
  });
3234
3254
  };
3255
+ const serializeAws_restJson1__listOfSegmentDeliveryConfiguration = (input, context) => {
3256
+ return input
3257
+ .filter((e) => e != null)
3258
+ .map((entry) => {
3259
+ if (entry === null) {
3260
+ return null;
3261
+ }
3262
+ return serializeAws_restJson1SegmentDeliveryConfiguration(entry, context);
3263
+ });
3264
+ };
3235
3265
  const serializeAws_restJson1__mapOf__string = (input, context) => {
3236
3266
  return Object.entries(input).reduce((acc, [key, value]) => {
3237
3267
  if (value === null) {
@@ -3439,6 +3469,12 @@ const serializeAws_restJson1SecretsManagerAccessTokenConfiguration = (input, con
3439
3469
  input.SecretStringKey !== null && { SecretStringKey: input.SecretStringKey }),
3440
3470
  };
3441
3471
  };
3472
+ const serializeAws_restJson1SegmentDeliveryConfiguration = (input, context) => {
3473
+ return {
3474
+ ...(input.BaseUrl !== undefined && input.BaseUrl !== null && { BaseUrl: input.BaseUrl }),
3475
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
3476
+ };
3477
+ };
3442
3478
  const serializeAws_restJson1SlateSource = (input, context) => {
3443
3479
  return {
3444
3480
  ...(input.SourceLocationName !== undefined &&
@@ -3557,6 +3593,16 @@ const deserializeAws_restJson1__listOfScheduleEntry = (output, context) => {
3557
3593
  return deserializeAws_restJson1ScheduleEntry(entry, context);
3558
3594
  });
3559
3595
  };
3596
+ const deserializeAws_restJson1__listOfSegmentDeliveryConfiguration = (output, context) => {
3597
+ return (output || [])
3598
+ .filter((e) => e != null)
3599
+ .map((entry) => {
3600
+ if (entry === null) {
3601
+ return null;
3602
+ }
3603
+ return deserializeAws_restJson1SegmentDeliveryConfiguration(entry, context);
3604
+ });
3605
+ };
3560
3606
  const deserializeAws_restJson1__listOfSourceLocation = (output, context) => {
3561
3607
  return (output || [])
3562
3608
  .filter((e) => e != null)
@@ -3895,6 +3941,12 @@ const deserializeAws_restJson1SecretsManagerAccessTokenConfiguration = (output,
3895
3941
  SecretStringKey: smithy_client_1.expectString(output.SecretStringKey),
3896
3942
  };
3897
3943
  };
3944
+ const deserializeAws_restJson1SegmentDeliveryConfiguration = (output, context) => {
3945
+ return {
3946
+ BaseUrl: smithy_client_1.expectString(output.BaseUrl),
3947
+ Name: smithy_client_1.expectString(output.Name),
3948
+ };
3949
+ };
3898
3950
  const deserializeAws_restJson1SlateSource = (output, context) => {
3899
3951
  return {
3900
3952
  SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
@@ -3919,6 +3971,9 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
3919
3971
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3920
3972
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3921
3973
  : undefined,
3974
+ SegmentDeliveryConfigurations: output.SegmentDeliveryConfigurations !== undefined && output.SegmentDeliveryConfigurations !== null
3975
+ ? deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(output.SegmentDeliveryConfigurations, context)
3976
+ : undefined,
3922
3977
  SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3923
3978
  Tags: output.tags !== undefined && output.tags !== null
3924
3979
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
@@ -118,6 +118,10 @@ export var ScheduleEntry;
118
118
  (function (ScheduleEntry) {
119
119
  ScheduleEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
120
120
  })(ScheduleEntry || (ScheduleEntry = {}));
121
+ export var SegmentDeliveryConfiguration;
122
+ (function (SegmentDeliveryConfiguration) {
123
+ SegmentDeliveryConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
+ })(SegmentDeliveryConfiguration || (SegmentDeliveryConfiguration = {}));
121
125
  export var AccessType;
122
126
  (function (AccessType) {
123
127
  AccessType["S3_SIGV4"] = "S3_SIGV4";
@@ -184,7 +184,7 @@ export var serializeAws_restJson1CreateSourceLocationCommand = function (input,
184
184
  else {
185
185
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
186
186
  }
187
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AccessConfiguration !== undefined &&
187
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AccessConfiguration !== undefined &&
188
188
  input.AccessConfiguration !== null && {
189
189
  AccessConfiguration: serializeAws_restJson1AccessConfiguration(input.AccessConfiguration, context),
190
190
  })), (input.DefaultSegmentDeliveryConfiguration !== undefined &&
@@ -193,6 +193,9 @@ export var serializeAws_restJson1CreateSourceLocationCommand = function (input,
193
193
  })), (input.HttpConfiguration !== undefined &&
194
194
  input.HttpConfiguration !== null && {
195
195
  HttpConfiguration: serializeAws_restJson1HttpConfiguration(input.HttpConfiguration, context),
196
+ })), (input.SegmentDeliveryConfigurations !== undefined &&
197
+ input.SegmentDeliveryConfigurations !== null && {
198
+ SegmentDeliveryConfigurations: serializeAws_restJson1__listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
196
199
  })), (input.Tags !== undefined &&
197
200
  input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
198
201
  return [2, new __HttpRequest({
@@ -1252,7 +1255,7 @@ export var serializeAws_restJson1UpdateSourceLocationCommand = function (input,
1252
1255
  else {
1253
1256
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
1254
1257
  }
1255
- body = JSON.stringify(__assign(__assign(__assign({}, (input.AccessConfiguration !== undefined &&
1258
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AccessConfiguration !== undefined &&
1256
1259
  input.AccessConfiguration !== null && {
1257
1260
  AccessConfiguration: serializeAws_restJson1AccessConfiguration(input.AccessConfiguration, context),
1258
1261
  })), (input.DefaultSegmentDeliveryConfiguration !== undefined &&
@@ -1261,6 +1264,9 @@ export var serializeAws_restJson1UpdateSourceLocationCommand = function (input,
1261
1264
  })), (input.HttpConfiguration !== undefined &&
1262
1265
  input.HttpConfiguration !== null && {
1263
1266
  HttpConfiguration: serializeAws_restJson1HttpConfiguration(input.HttpConfiguration, context),
1267
+ })), (input.SegmentDeliveryConfigurations !== undefined &&
1268
+ input.SegmentDeliveryConfigurations !== null && {
1269
+ SegmentDeliveryConfigurations: serializeAws_restJson1__listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
1264
1270
  })));
1265
1271
  return [2, new __HttpRequest({
1266
1272
  protocol: protocol,
@@ -1622,6 +1628,7 @@ export var deserializeAws_restJson1CreateSourceLocationCommand = function (outpu
1622
1628
  DefaultSegmentDeliveryConfiguration: undefined,
1623
1629
  HttpConfiguration: undefined,
1624
1630
  LastModifiedTime: undefined,
1631
+ SegmentDeliveryConfigurations: undefined,
1625
1632
  SourceLocationName: undefined,
1626
1633
  Tags: undefined,
1627
1634
  };
@@ -1648,6 +1655,9 @@ export var deserializeAws_restJson1CreateSourceLocationCommand = function (outpu
1648
1655
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1649
1656
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
1650
1657
  }
1658
+ if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
1659
+ contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
1660
+ }
1651
1661
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1652
1662
  contents.SourceLocationName = __expectString(data.SourceLocationName);
1653
1663
  }
@@ -2242,6 +2252,7 @@ export var deserializeAws_restJson1DescribeSourceLocationCommand = function (out
2242
2252
  DefaultSegmentDeliveryConfiguration: undefined,
2243
2253
  HttpConfiguration: undefined,
2244
2254
  LastModifiedTime: undefined,
2255
+ SegmentDeliveryConfigurations: undefined,
2245
2256
  SourceLocationName: undefined,
2246
2257
  Tags: undefined,
2247
2258
  };
@@ -2268,6 +2279,9 @@ export var deserializeAws_restJson1DescribeSourceLocationCommand = function (out
2268
2279
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
2269
2280
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
2270
2281
  }
2282
+ if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
2283
+ contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
2284
+ }
2271
2285
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
2272
2286
  contents.SourceLocationName = __expectString(data.SourceLocationName);
2273
2287
  }
@@ -3524,6 +3538,7 @@ export var deserializeAws_restJson1UpdateSourceLocationCommand = function (outpu
3524
3538
  DefaultSegmentDeliveryConfiguration: undefined,
3525
3539
  HttpConfiguration: undefined,
3526
3540
  LastModifiedTime: undefined,
3541
+ SegmentDeliveryConfigurations: undefined,
3527
3542
  SourceLocationName: undefined,
3528
3543
  Tags: undefined,
3529
3544
  };
@@ -3550,6 +3565,9 @@ export var deserializeAws_restJson1UpdateSourceLocationCommand = function (outpu
3550
3565
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
3551
3566
  contents.LastModifiedTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastModifiedTime)));
3552
3567
  }
3568
+ if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
3569
+ contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
3570
+ }
3553
3571
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
3554
3572
  contents.SourceLocationName = __expectString(data.SourceLocationName);
3555
3573
  }
@@ -3696,6 +3714,16 @@ var serializeAws_restJson1__listOfAvailMatchingCriteria = function (input, conte
3696
3714
  return serializeAws_restJson1AvailMatchingCriteria(entry, context);
3697
3715
  });
3698
3716
  };
3717
+ var serializeAws_restJson1__listOfSegmentDeliveryConfiguration = function (input, context) {
3718
+ return input
3719
+ .filter(function (e) { return e != null; })
3720
+ .map(function (entry) {
3721
+ if (entry === null) {
3722
+ return null;
3723
+ }
3724
+ return serializeAws_restJson1SegmentDeliveryConfiguration(entry, context);
3725
+ });
3726
+ };
3699
3727
  var serializeAws_restJson1__mapOf__string = function (input, context) {
3700
3728
  return Object.entries(input).reduce(function (acc, _a) {
3701
3729
  var _b;
@@ -3837,6 +3865,9 @@ var serializeAws_restJson1SecretsManagerAccessTokenConfiguration = function (inp
3837
3865
  return __assign(__assign(__assign({}, (input.HeaderName !== undefined && input.HeaderName !== null && { HeaderName: input.HeaderName })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.SecretStringKey !== undefined &&
3838
3866
  input.SecretStringKey !== null && { SecretStringKey: input.SecretStringKey }));
3839
3867
  };
3868
+ var serializeAws_restJson1SegmentDeliveryConfiguration = function (input, context) {
3869
+ return __assign(__assign({}, (input.BaseUrl !== undefined && input.BaseUrl !== null && { BaseUrl: input.BaseUrl })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
3870
+ };
3840
3871
  var serializeAws_restJson1SlateSource = function (input, context) {
3841
3872
  return __assign(__assign({}, (input.SourceLocationName !== undefined &&
3842
3873
  input.SourceLocationName !== null && { SourceLocationName: input.SourceLocationName })), (input.VodSourceName !== undefined && input.VodSourceName !== null && { VodSourceName: input.VodSourceName }));
@@ -3942,6 +3973,16 @@ var deserializeAws_restJson1__listOfScheduleEntry = function (output, context) {
3942
3973
  return deserializeAws_restJson1ScheduleEntry(entry, context);
3943
3974
  });
3944
3975
  };
3976
+ var deserializeAws_restJson1__listOfSegmentDeliveryConfiguration = function (output, context) {
3977
+ return (output || [])
3978
+ .filter(function (e) { return e != null; })
3979
+ .map(function (entry) {
3980
+ if (entry === null) {
3981
+ return null;
3982
+ }
3983
+ return deserializeAws_restJson1SegmentDeliveryConfiguration(entry, context);
3984
+ });
3985
+ };
3945
3986
  var deserializeAws_restJson1__listOfSourceLocation = function (output, context) {
3946
3987
  return (output || [])
3947
3988
  .filter(function (e) { return e != null; })
@@ -4278,6 +4319,12 @@ var deserializeAws_restJson1SecretsManagerAccessTokenConfiguration = function (o
4278
4319
  SecretStringKey: __expectString(output.SecretStringKey),
4279
4320
  };
4280
4321
  };
4322
+ var deserializeAws_restJson1SegmentDeliveryConfiguration = function (output, context) {
4323
+ return {
4324
+ BaseUrl: __expectString(output.BaseUrl),
4325
+ Name: __expectString(output.Name),
4326
+ };
4327
+ };
4281
4328
  var deserializeAws_restJson1SlateSource = function (output, context) {
4282
4329
  return {
4283
4330
  SourceLocationName: __expectString(output.SourceLocationName),
@@ -4302,6 +4349,9 @@ var deserializeAws_restJson1SourceLocation = function (output, context) {
4302
4349
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4303
4350
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
4304
4351
  : undefined,
4352
+ SegmentDeliveryConfigurations: output.SegmentDeliveryConfigurations !== undefined && output.SegmentDeliveryConfigurations !== null
4353
+ ? deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(output.SegmentDeliveryConfigurations, context)
4354
+ : undefined,
4305
4355
  SourceLocationName: __expectString(output.SourceLocationName),
4306
4356
  Tags: output.tags !== undefined && output.tags !== null
4307
4357
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
@@ -671,6 +671,16 @@ export declare namespace ScheduleEntry {
671
671
  */
672
672
  const filterSensitiveLog: (obj: ScheduleEntry) => any;
673
673
  }
674
+ export interface SegmentDeliveryConfiguration {
675
+ BaseUrl?: string;
676
+ Name?: string;
677
+ }
678
+ export declare namespace SegmentDeliveryConfiguration {
679
+ /**
680
+ * @internal
681
+ */
682
+ const filterSensitiveLog: (obj: SegmentDeliveryConfiguration) => any;
683
+ }
674
684
  export declare enum AccessType {
675
685
  S3_SIGV4 = "S3_SIGV4",
676
686
  SECRETS_MANAGER_ACCESS_TOKEN = "SECRETS_MANAGER_ACCESS_TOKEN"
@@ -775,6 +785,7 @@ export interface SourceLocation {
775
785
  * <p>The timestamp that indicates when the source location was last modified.</p>
776
786
  */
777
787
  LastModifiedTime?: Date;
788
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
778
789
  /**
779
790
  * <p>The name of the source location.</p>
780
791
  */
@@ -1205,6 +1216,7 @@ export interface CreateSourceLocationRequest {
1205
1216
  * <p>The source's HTTP package configurations.</p>
1206
1217
  */
1207
1218
  HttpConfiguration: HttpConfiguration | undefined;
1219
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
1208
1220
  /**
1209
1221
  * <p>The identifier for the source location you are working on.</p>
1210
1222
  */
@@ -1247,6 +1259,7 @@ export interface CreateSourceLocationResponse {
1247
1259
  * <p>The timestamp that indicates when the source location was last modified.</p>
1248
1260
  */
1249
1261
  LastModifiedTime?: Date;
1262
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
1250
1263
  /**
1251
1264
  * <p>The name of the source location.</p>
1252
1265
  */
@@ -1650,6 +1663,7 @@ export interface DescribeSourceLocationResponse {
1650
1663
  * <p>The timestamp that indicates when the source location was last modified.</p>
1651
1664
  */
1652
1665
  LastModifiedTime?: Date;
1666
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
1653
1667
  /**
1654
1668
  * <p>The name of the source location.</p>
1655
1669
  */
@@ -2506,6 +2520,7 @@ export interface UpdateSourceLocationRequest {
2506
2520
  * <p>The HTTP configuration for the source location.</p>
2507
2521
  */
2508
2522
  HttpConfiguration: HttpConfiguration | undefined;
2523
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
2509
2524
  /**
2510
2525
  * <p>The identifier for the source location you are working on.</p>
2511
2526
  */
@@ -2542,6 +2557,7 @@ export interface UpdateSourceLocationResponse {
2542
2557
  * <p>The timestamp that indicates when the source location was last modified.</p>
2543
2558
  */
2544
2559
  LastModifiedTime?: Date;
2560
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
2545
2561
  /**
2546
2562
  * <p>The name of the source location.</p>
2547
2563
  */
@@ -385,6 +385,14 @@ export declare namespace ScheduleEntry {
385
385
 
386
386
  const filterSensitiveLog: (obj: ScheduleEntry) => any;
387
387
  }
388
+ export interface SegmentDeliveryConfiguration {
389
+ BaseUrl?: string;
390
+ Name?: string;
391
+ }
392
+ export declare namespace SegmentDeliveryConfiguration {
393
+
394
+ const filterSensitiveLog: (obj: SegmentDeliveryConfiguration) => any;
395
+ }
388
396
  export declare enum AccessType {
389
397
  S3_SIGV4 = "S3_SIGV4",
390
398
  SECRETS_MANAGER_ACCESS_TOKEN = "SECRETS_MANAGER_ACCESS_TOKEN"
@@ -445,6 +453,7 @@ export interface SourceLocation {
445
453
  HttpConfiguration: HttpConfiguration | undefined;
446
454
 
447
455
  LastModifiedTime?: Date;
456
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
448
457
 
449
458
  SourceLocationName: string | undefined;
450
459
 
@@ -699,6 +708,7 @@ export interface CreateSourceLocationRequest {
699
708
  DefaultSegmentDeliveryConfiguration?: DefaultSegmentDeliveryConfiguration;
700
709
 
701
710
  HttpConfiguration: HttpConfiguration | undefined;
711
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
702
712
 
703
713
  SourceLocationName: string | undefined;
704
714
 
@@ -723,6 +733,7 @@ export interface CreateSourceLocationResponse {
723
733
  HttpConfiguration?: HttpConfiguration;
724
734
 
725
735
  LastModifiedTime?: Date;
736
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
726
737
 
727
738
  SourceLocationName?: string;
728
739
 
@@ -974,6 +985,7 @@ export interface DescribeSourceLocationResponse {
974
985
  HttpConfiguration?: HttpConfiguration;
975
986
 
976
987
  LastModifiedTime?: Date;
988
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
977
989
 
978
990
  SourceLocationName?: string;
979
991
 
@@ -1490,6 +1502,7 @@ export interface UpdateSourceLocationRequest {
1490
1502
  DefaultSegmentDeliveryConfiguration?: DefaultSegmentDeliveryConfiguration;
1491
1503
 
1492
1504
  HttpConfiguration: HttpConfiguration | undefined;
1505
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
1493
1506
 
1494
1507
  SourceLocationName: string | undefined;
1495
1508
  }
@@ -1510,6 +1523,7 @@ export interface UpdateSourceLocationResponse {
1510
1523
  HttpConfiguration?: HttpConfiguration;
1511
1524
 
1512
1525
  LastModifiedTime?: Date;
1526
+ SegmentDeliveryConfigurations?: SegmentDeliveryConfiguration[];
1513
1527
 
1514
1528
  SourceLocationName?: string;
1515
1529
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.47.0",
4
+ "version": "3.49.0",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
@@ -18,41 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.47.0",
22
- "@aws-sdk/config-resolver": "3.47.0",
23
- "@aws-sdk/credential-provider-node": "3.47.0",
24
- "@aws-sdk/fetch-http-handler": "3.47.0",
25
- "@aws-sdk/hash-node": "3.47.0",
26
- "@aws-sdk/invalid-dependency": "3.47.0",
27
- "@aws-sdk/middleware-content-length": "3.47.0",
28
- "@aws-sdk/middleware-host-header": "3.47.0",
29
- "@aws-sdk/middleware-logger": "3.47.0",
30
- "@aws-sdk/middleware-retry": "3.47.0",
31
- "@aws-sdk/middleware-serde": "3.47.0",
32
- "@aws-sdk/middleware-signing": "3.47.0",
33
- "@aws-sdk/middleware-stack": "3.47.0",
34
- "@aws-sdk/middleware-user-agent": "3.47.0",
35
- "@aws-sdk/node-config-provider": "3.47.0",
36
- "@aws-sdk/node-http-handler": "3.47.0",
37
- "@aws-sdk/protocol-http": "3.47.0",
38
- "@aws-sdk/smithy-client": "3.47.0",
39
- "@aws-sdk/types": "3.47.0",
40
- "@aws-sdk/url-parser": "3.47.0",
41
- "@aws-sdk/util-base64-browser": "3.47.0",
42
- "@aws-sdk/util-base64-node": "3.47.0",
43
- "@aws-sdk/util-body-length-browser": "3.47.0",
44
- "@aws-sdk/util-body-length-node": "3.47.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
- "@aws-sdk/util-user-agent-browser": "3.47.0",
48
- "@aws-sdk/util-user-agent-node": "3.47.0",
49
- "@aws-sdk/util-utf8-browser": "3.47.0",
50
- "@aws-sdk/util-utf8-node": "3.47.0",
21
+ "@aws-sdk/client-sts": "3.49.0",
22
+ "@aws-sdk/config-resolver": "3.49.0",
23
+ "@aws-sdk/credential-provider-node": "3.49.0",
24
+ "@aws-sdk/fetch-http-handler": "3.49.0",
25
+ "@aws-sdk/hash-node": "3.49.0",
26
+ "@aws-sdk/invalid-dependency": "3.49.0",
27
+ "@aws-sdk/middleware-content-length": "3.49.0",
28
+ "@aws-sdk/middleware-host-header": "3.49.0",
29
+ "@aws-sdk/middleware-logger": "3.49.0",
30
+ "@aws-sdk/middleware-retry": "3.49.0",
31
+ "@aws-sdk/middleware-serde": "3.49.0",
32
+ "@aws-sdk/middleware-signing": "3.49.0",
33
+ "@aws-sdk/middleware-stack": "3.49.0",
34
+ "@aws-sdk/middleware-user-agent": "3.49.0",
35
+ "@aws-sdk/node-config-provider": "3.49.0",
36
+ "@aws-sdk/node-http-handler": "3.49.0",
37
+ "@aws-sdk/protocol-http": "3.49.0",
38
+ "@aws-sdk/smithy-client": "3.49.0",
39
+ "@aws-sdk/types": "3.49.0",
40
+ "@aws-sdk/url-parser": "3.49.0",
41
+ "@aws-sdk/util-base64-browser": "3.49.0",
42
+ "@aws-sdk/util-base64-node": "3.49.0",
43
+ "@aws-sdk/util-body-length-browser": "3.49.0",
44
+ "@aws-sdk/util-body-length-node": "3.49.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.49.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.49.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.49.0",
48
+ "@aws-sdk/util-user-agent-node": "3.49.0",
49
+ "@aws-sdk/util-utf8-browser": "3.49.0",
50
+ "@aws-sdk/util-utf8-node": "3.49.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.47.0",
55
- "@types/node": "^12.7.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@tsconfig/recommended": "1.0.1",
56
+ "@types/node": "^12.7.5",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.7.0",
59
+ "rimraf": "3.0.2",
60
+ "typedoc": "0.19.2",
61
+ "typescript": "~4.3.5"
56
62
  },
57
63
  "engines": {
58
64
  "node": ">=12.0.0"