@aws-sdk/client-mediatailor 3.54.1 → 3.58.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/MediaTailorClient.js +13 -13
  3. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +3 -3
  4. package/dist-cjs/commands/CreateChannelCommand.js +3 -3
  5. package/dist-cjs/commands/CreatePrefetchScheduleCommand.js +3 -3
  6. package/dist-cjs/commands/CreateProgramCommand.js +3 -3
  7. package/dist-cjs/commands/CreateSourceLocationCommand.js +3 -3
  8. package/dist-cjs/commands/CreateVodSourceCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteChannelCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +3 -3
  11. package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +3 -3
  12. package/dist-cjs/commands/DeletePrefetchScheduleCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteProgramCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteSourceLocationCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteVodSourceCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeChannelCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeProgramCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeSourceLocationCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeVodSourceCommand.js +3 -3
  20. package/dist-cjs/commands/GetChannelPolicyCommand.js +3 -3
  21. package/dist-cjs/commands/GetChannelScheduleCommand.js +3 -3
  22. package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +3 -3
  23. package/dist-cjs/commands/GetPrefetchScheduleCommand.js +3 -3
  24. package/dist-cjs/commands/ListAlertsCommand.js +3 -3
  25. package/dist-cjs/commands/ListChannelsCommand.js +3 -3
  26. package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +3 -3
  27. package/dist-cjs/commands/ListPrefetchSchedulesCommand.js +3 -3
  28. package/dist-cjs/commands/ListSourceLocationsCommand.js +3 -3
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  30. package/dist-cjs/commands/ListVodSourcesCommand.js +3 -3
  31. package/dist-cjs/commands/PutChannelPolicyCommand.js +3 -3
  32. package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +3 -3
  33. package/dist-cjs/commands/StartChannelCommand.js +3 -3
  34. package/dist-cjs/commands/StopChannelCommand.js +3 -3
  35. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  36. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateChannelCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateSourceLocationCommand.js +3 -3
  39. package/dist-cjs/commands/UpdateVodSourceCommand.js +3 -3
  40. package/dist-cjs/endpoints.js +1 -1
  41. package/dist-cjs/protocols/Aws_restJson1.js +293 -293
  42. package/dist-cjs/runtimeConfig.browser.js +4 -4
  43. package/dist-cjs/runtimeConfig.js +9 -9
  44. package/dist-cjs/runtimeConfig.native.js +1 -1
  45. package/dist-es/MediaTailor.js +37 -37
  46. package/dist-es/pagination/GetChannelSchedulePaginator.js +4 -4
  47. package/dist-es/pagination/ListAlertsPaginator.js +4 -4
  48. package/dist-es/pagination/ListChannelsPaginator.js +4 -4
  49. package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js +4 -4
  50. package/dist-es/pagination/ListPrefetchSchedulesPaginator.js +4 -4
  51. package/dist-es/pagination/ListSourceLocationsPaginator.js +4 -4
  52. package/dist-es/pagination/ListVodSourcesPaginator.js +4 -4
  53. package/dist-es/protocols/Aws_restJson1.js +37 -37
  54. package/dist-types/runtimeConfig.native.d.ts +2 -2
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  56. package/package.json +34 -34
@@ -13,7 +13,7 @@ export var serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand =
13
13
  headers = {
14
14
  "content-type": "application/json",
15
15
  };
16
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/configureLogs/playbackConfiguration";
16
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/configureLogs/playbackConfiguration";
17
17
  body = JSON.stringify(__assign(__assign({}, (input.PercentEnabled !== undefined &&
18
18
  input.PercentEnabled !== null && { PercentEnabled: input.PercentEnabled })), (input.PlaybackConfigurationName !== undefined &&
19
19
  input.PlaybackConfigurationName !== null && { PlaybackConfigurationName: input.PlaybackConfigurationName })));
@@ -39,7 +39,7 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
39
39
  headers = {
40
40
  "content-type": "application/json",
41
41
  };
42
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}";
42
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}";
43
43
  if (input.ChannelName !== undefined) {
44
44
  labelValue = input.ChannelName;
45
45
  if (labelValue.length <= 0) {
@@ -76,7 +76,7 @@ export var serializeAws_restJson1CreatePrefetchScheduleCommand = function (input
76
76
  headers = {
77
77
  "content-type": "application/json",
78
78
  };
79
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
79
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
80
80
  "/prefetchSchedule/{PlaybackConfigurationName}/{Name}";
81
81
  if (input.Name !== undefined) {
82
82
  labelValue = input.Name;
@@ -125,7 +125,7 @@ export var serializeAws_restJson1CreateProgramCommand = function (input, context
125
125
  headers = {
126
126
  "content-type": "application/json",
127
127
  };
128
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
128
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
129
129
  "/channel/{ChannelName}/program/{ProgramName}";
130
130
  if (input.ChannelName !== undefined) {
131
131
  labelValue = input.ChannelName;
@@ -175,7 +175,7 @@ export var serializeAws_restJson1CreateSourceLocationCommand = function (input,
175
175
  headers = {
176
176
  "content-type": "application/json",
177
177
  };
178
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocation/{SourceLocationName}";
178
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocation/{SourceLocationName}";
179
179
  if (input.SourceLocationName !== undefined) {
180
180
  labelValue = input.SourceLocationName;
181
181
  if (labelValue.length <= 0) {
@@ -222,7 +222,7 @@ export var serializeAws_restJson1CreateVodSourceCommand = function (input, conte
222
222
  headers = {
223
223
  "content-type": "application/json",
224
224
  };
225
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
225
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
226
226
  "/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}";
227
227
  if (input.SourceLocationName !== undefined) {
228
228
  labelValue = input.SourceLocationName;
@@ -269,7 +269,7 @@ export var serializeAws_restJson1DeleteChannelCommand = function (input, context
269
269
  case 1:
270
270
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
271
271
  headers = {};
272
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}";
272
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}";
273
273
  if (input.ChannelName !== undefined) {
274
274
  labelValue = input.ChannelName;
275
275
  if (labelValue.length <= 0) {
@@ -300,7 +300,7 @@ export var serializeAws_restJson1DeleteChannelPolicyCommand = function (input, c
300
300
  case 1:
301
301
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
302
302
  headers = {};
303
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/policy";
303
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/policy";
304
304
  if (input.ChannelName !== undefined) {
305
305
  labelValue = input.ChannelName;
306
306
  if (labelValue.length <= 0) {
@@ -331,7 +331,7 @@ export var serializeAws_restJson1DeletePlaybackConfigurationCommand = function (
331
331
  case 1:
332
332
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
333
333
  headers = {};
334
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/playbackConfiguration/{Name}";
334
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/playbackConfiguration/{Name}";
335
335
  if (input.Name !== undefined) {
336
336
  labelValue = input.Name;
337
337
  if (labelValue.length <= 0) {
@@ -362,7 +362,7 @@ export var serializeAws_restJson1DeletePrefetchScheduleCommand = function (input
362
362
  case 1:
363
363
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
364
364
  headers = {};
365
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
365
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
366
366
  "/prefetchSchedule/{PlaybackConfigurationName}/{Name}";
367
367
  if (input.Name !== undefined) {
368
368
  labelValue = input.Name;
@@ -404,7 +404,7 @@ export var serializeAws_restJson1DeleteProgramCommand = function (input, context
404
404
  case 1:
405
405
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
406
406
  headers = {};
407
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
407
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
408
408
  "/channel/{ChannelName}/program/{ProgramName}";
409
409
  if (input.ChannelName !== undefined) {
410
410
  labelValue = input.ChannelName;
@@ -446,7 +446,7 @@ export var serializeAws_restJson1DeleteSourceLocationCommand = function (input,
446
446
  case 1:
447
447
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
448
448
  headers = {};
449
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocation/{SourceLocationName}";
449
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocation/{SourceLocationName}";
450
450
  if (input.SourceLocationName !== undefined) {
451
451
  labelValue = input.SourceLocationName;
452
452
  if (labelValue.length <= 0) {
@@ -477,7 +477,7 @@ export var serializeAws_restJson1DeleteVodSourceCommand = function (input, conte
477
477
  case 1:
478
478
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
479
479
  headers = {};
480
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
480
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
481
481
  "/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}";
482
482
  if (input.SourceLocationName !== undefined) {
483
483
  labelValue = input.SourceLocationName;
@@ -519,7 +519,7 @@ export var serializeAws_restJson1DescribeChannelCommand = function (input, conte
519
519
  case 1:
520
520
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
521
521
  headers = {};
522
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}";
522
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}";
523
523
  if (input.ChannelName !== undefined) {
524
524
  labelValue = input.ChannelName;
525
525
  if (labelValue.length <= 0) {
@@ -550,7 +550,7 @@ export var serializeAws_restJson1DescribeProgramCommand = function (input, conte
550
550
  case 1:
551
551
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
552
552
  headers = {};
553
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
553
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
554
554
  "/channel/{ChannelName}/program/{ProgramName}";
555
555
  if (input.ChannelName !== undefined) {
556
556
  labelValue = input.ChannelName;
@@ -592,7 +592,7 @@ export var serializeAws_restJson1DescribeSourceLocationCommand = function (input
592
592
  case 1:
593
593
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
594
594
  headers = {};
595
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocation/{SourceLocationName}";
595
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocation/{SourceLocationName}";
596
596
  if (input.SourceLocationName !== undefined) {
597
597
  labelValue = input.SourceLocationName;
598
598
  if (labelValue.length <= 0) {
@@ -623,7 +623,7 @@ export var serializeAws_restJson1DescribeVodSourceCommand = function (input, con
623
623
  case 1:
624
624
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
625
625
  headers = {};
626
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
626
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
627
627
  "/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}";
628
628
  if (input.SourceLocationName !== undefined) {
629
629
  labelValue = input.SourceLocationName;
@@ -665,7 +665,7 @@ export var serializeAws_restJson1GetChannelPolicyCommand = function (input, cont
665
665
  case 1:
666
666
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
667
667
  headers = {};
668
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/policy";
668
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/policy";
669
669
  if (input.ChannelName !== undefined) {
670
670
  labelValue = input.ChannelName;
671
671
  if (labelValue.length <= 0) {
@@ -696,7 +696,7 @@ export var serializeAws_restJson1GetChannelScheduleCommand = function (input, co
696
696
  case 1:
697
697
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
698
698
  headers = {};
699
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/schedule";
699
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/schedule";
700
700
  if (input.ChannelName !== undefined) {
701
701
  labelValue = input.ChannelName;
702
702
  if (labelValue.length <= 0) {
@@ -729,7 +729,7 @@ export var serializeAws_restJson1GetPlaybackConfigurationCommand = function (inp
729
729
  case 1:
730
730
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
731
731
  headers = {};
732
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/playbackConfiguration/{Name}";
732
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/playbackConfiguration/{Name}";
733
733
  if (input.Name !== undefined) {
734
734
  labelValue = input.Name;
735
735
  if (labelValue.length <= 0) {
@@ -760,7 +760,7 @@ export var serializeAws_restJson1GetPrefetchScheduleCommand = function (input, c
760
760
  case 1:
761
761
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
762
762
  headers = {};
763
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
763
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
764
764
  "/prefetchSchedule/{PlaybackConfigurationName}/{Name}";
765
765
  if (input.Name !== undefined) {
766
766
  labelValue = input.Name;
@@ -802,7 +802,7 @@ export var serializeAws_restJson1ListAlertsCommand = function (input, context) {
802
802
  case 1:
803
803
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
804
804
  headers = {};
805
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alerts";
805
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alerts";
806
806
  query = __assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.ResourceArn !== undefined && { resourceArn: input.ResourceArn }));
807
807
  return [2, new __HttpRequest({
808
808
  protocol: protocol,
@@ -825,7 +825,7 @@ export var serializeAws_restJson1ListChannelsCommand = function (input, context)
825
825
  case 1:
826
826
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
827
827
  headers = {};
828
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
828
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
829
829
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
830
830
  return [2, new __HttpRequest({
831
831
  protocol: protocol,
@@ -848,7 +848,7 @@ export var serializeAws_restJson1ListPlaybackConfigurationsCommand = function (i
848
848
  case 1:
849
849
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
850
850
  headers = {};
851
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/playbackConfigurations";
851
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/playbackConfigurations";
852
852
  query = __assign(__assign({}, (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { NextToken: input.NextToken }));
853
853
  return [2, new __HttpRequest({
854
854
  protocol: protocol,
@@ -873,7 +873,7 @@ export var serializeAws_restJson1ListPrefetchSchedulesCommand = function (input,
873
873
  headers = {
874
874
  "content-type": "application/json",
875
875
  };
876
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
876
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
877
877
  "/prefetchSchedule/{PlaybackConfigurationName}";
878
878
  if (input.PlaybackConfigurationName !== undefined) {
879
879
  labelValue = input.PlaybackConfigurationName;
@@ -906,7 +906,7 @@ export var serializeAws_restJson1ListSourceLocationsCommand = function (input, c
906
906
  case 1:
907
907
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
908
908
  headers = {};
909
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocations";
909
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocations";
910
910
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
911
911
  return [2, new __HttpRequest({
912
912
  protocol: protocol,
@@ -929,7 +929,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
929
929
  case 1:
930
930
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
931
931
  headers = {};
932
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
932
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
933
933
  if (input.ResourceArn !== undefined) {
934
934
  labelValue = input.ResourceArn;
935
935
  if (labelValue.length <= 0) {
@@ -960,7 +960,7 @@ export var serializeAws_restJson1ListVodSourcesCommand = function (input, contex
960
960
  case 1:
961
961
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
962
962
  headers = {};
963
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
963
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
964
964
  "/sourceLocation/{SourceLocationName}/vodSources";
965
965
  if (input.SourceLocationName !== undefined) {
966
966
  labelValue = input.SourceLocationName;
@@ -996,7 +996,7 @@ export var serializeAws_restJson1PutChannelPolicyCommand = function (input, cont
996
996
  headers = {
997
997
  "content-type": "application/json",
998
998
  };
999
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/policy";
999
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/policy";
1000
1000
  if (input.ChannelName !== undefined) {
1001
1001
  labelValue = input.ChannelName;
1002
1002
  if (labelValue.length <= 0) {
@@ -1030,7 +1030,7 @@ export var serializeAws_restJson1PutPlaybackConfigurationCommand = function (inp
1030
1030
  headers = {
1031
1031
  "content-type": "application/json",
1032
1032
  };
1033
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/playbackConfiguration";
1033
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/playbackConfiguration";
1034
1034
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdDecisionServerUrl !== undefined &&
1035
1035
  input.AdDecisionServerUrl !== null && { AdDecisionServerUrl: input.AdDecisionServerUrl })), (input.AvailSuppression !== undefined &&
1036
1036
  input.AvailSuppression !== null && {
@@ -1078,7 +1078,7 @@ export var serializeAws_restJson1StartChannelCommand = function (input, context)
1078
1078
  case 1:
1079
1079
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1080
1080
  headers = {};
1081
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/start";
1081
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/start";
1082
1082
  if (input.ChannelName !== undefined) {
1083
1083
  labelValue = input.ChannelName;
1084
1084
  if (labelValue.length <= 0) {
@@ -1109,7 +1109,7 @@ export var serializeAws_restJson1StopChannelCommand = function (input, context)
1109
1109
  case 1:
1110
1110
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1111
1111
  headers = {};
1112
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/stop";
1112
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}/stop";
1113
1113
  if (input.ChannelName !== undefined) {
1114
1114
  labelValue = input.ChannelName;
1115
1115
  if (labelValue.length <= 0) {
@@ -1142,7 +1142,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
1142
1142
  headers = {
1143
1143
  "content-type": "application/json",
1144
1144
  };
1145
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
1145
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
1146
1146
  if (input.ResourceArn !== undefined) {
1147
1147
  labelValue = input.ResourceArn;
1148
1148
  if (labelValue.length <= 0) {
@@ -1175,7 +1175,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
1175
1175
  case 1:
1176
1176
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1177
1177
  headers = {};
1178
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
1178
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
1179
1179
  if (input.ResourceArn !== undefined) {
1180
1180
  labelValue = input.ResourceArn;
1181
1181
  if (labelValue.length <= 0) {
@@ -1210,7 +1210,7 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
1210
1210
  headers = {
1211
1211
  "content-type": "application/json",
1212
1212
  };
1213
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}";
1213
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channel/{ChannelName}";
1214
1214
  if (input.ChannelName !== undefined) {
1215
1215
  labelValue = input.ChannelName;
1216
1216
  if (labelValue.length <= 0) {
@@ -1246,7 +1246,7 @@ export var serializeAws_restJson1UpdateSourceLocationCommand = function (input,
1246
1246
  headers = {
1247
1247
  "content-type": "application/json",
1248
1248
  };
1249
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocation/{SourceLocationName}";
1249
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sourceLocation/{SourceLocationName}";
1250
1250
  if (input.SourceLocationName !== undefined) {
1251
1251
  labelValue = input.SourceLocationName;
1252
1252
  if (labelValue.length <= 0) {
@@ -1292,7 +1292,7 @@ export var serializeAws_restJson1UpdateVodSourceCommand = function (input, conte
1292
1292
  headers = {
1293
1293
  "content-type": "application/json",
1294
1294
  };
1295
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1295
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1296
1296
  "/sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}";
1297
1297
  if (input.SourceLocationName !== undefined) {
1298
1298
  labelValue = input.SourceLocationName;
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MediaTailorClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: MediaTailorClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
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.54.1",
4
+ "version": "3.58.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",
@@ -18,47 +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.54.1",
22
- "@aws-sdk/config-resolver": "3.54.1",
23
- "@aws-sdk/credential-provider-node": "3.54.1",
24
- "@aws-sdk/fetch-http-handler": "3.54.1",
25
- "@aws-sdk/hash-node": "3.54.1",
26
- "@aws-sdk/invalid-dependency": "3.54.1",
27
- "@aws-sdk/middleware-content-length": "3.54.1",
28
- "@aws-sdk/middleware-host-header": "3.54.1",
29
- "@aws-sdk/middleware-logger": "3.54.1",
30
- "@aws-sdk/middleware-retry": "3.54.1",
31
- "@aws-sdk/middleware-serde": "3.54.1",
32
- "@aws-sdk/middleware-signing": "3.54.1",
33
- "@aws-sdk/middleware-stack": "3.54.1",
34
- "@aws-sdk/middleware-user-agent": "3.54.1",
35
- "@aws-sdk/node-config-provider": "3.54.1",
36
- "@aws-sdk/node-http-handler": "3.54.1",
37
- "@aws-sdk/protocol-http": "3.54.1",
38
- "@aws-sdk/smithy-client": "3.54.1",
39
- "@aws-sdk/types": "3.54.1",
40
- "@aws-sdk/url-parser": "3.54.1",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
- "@aws-sdk/util-user-agent-browser": "3.54.1",
48
- "@aws-sdk/util-user-agent-node": "3.54.1",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.58.0",
22
+ "@aws-sdk/config-resolver": "3.58.0",
23
+ "@aws-sdk/credential-provider-node": "3.58.0",
24
+ "@aws-sdk/fetch-http-handler": "3.58.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.58.0",
28
+ "@aws-sdk/middleware-host-header": "3.58.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.58.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.58.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.58.0",
35
+ "@aws-sdk/node-config-provider": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.58.0",
37
+ "@aws-sdk/protocol-http": "3.58.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.58.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.58.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.58.0",
48
+ "@aws-sdk/util-user-agent-node": "3.58.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.58.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"