@aws-sdk/client-mediatailor 3.31.0 → 3.32.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 (97) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/MediaTailorClient.js +13 -13
  3. package/dist/cjs/MediaTailorClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateChannelCommand.js +3 -3
  5. package/dist/cjs/commands/CreateChannelCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateProgramCommand.js +3 -3
  7. package/dist/cjs/commands/CreateProgramCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateSourceLocationCommand.js +3 -3
  9. package/dist/cjs/commands/CreateSourceLocationCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateVodSourceCommand.js +3 -3
  11. package/dist/cjs/commands/CreateVodSourceCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteChannelCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteChannelCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteChannelPolicyCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteChannelPolicyCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js +3 -3
  17. package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeleteProgramCommand.js +3 -3
  19. package/dist/cjs/commands/DeleteProgramCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteSourceLocationCommand.js +3 -3
  21. package/dist/cjs/commands/DeleteSourceLocationCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteVodSourceCommand.js +3 -3
  23. package/dist/cjs/commands/DeleteVodSourceCommand.js.map +1 -1
  24. package/dist/cjs/commands/DescribeChannelCommand.js +3 -3
  25. package/dist/cjs/commands/DescribeChannelCommand.js.map +1 -1
  26. package/dist/cjs/commands/DescribeProgramCommand.js +3 -3
  27. package/dist/cjs/commands/DescribeProgramCommand.js.map +1 -1
  28. package/dist/cjs/commands/DescribeSourceLocationCommand.js +3 -3
  29. package/dist/cjs/commands/DescribeSourceLocationCommand.js.map +1 -1
  30. package/dist/cjs/commands/DescribeVodSourceCommand.js +3 -3
  31. package/dist/cjs/commands/DescribeVodSourceCommand.js.map +1 -1
  32. package/dist/cjs/commands/GetChannelPolicyCommand.js +3 -3
  33. package/dist/cjs/commands/GetChannelPolicyCommand.js.map +1 -1
  34. package/dist/cjs/commands/GetChannelScheduleCommand.js +3 -3
  35. package/dist/cjs/commands/GetChannelScheduleCommand.js.map +1 -1
  36. package/dist/cjs/commands/GetPlaybackConfigurationCommand.js +3 -3
  37. package/dist/cjs/commands/GetPlaybackConfigurationCommand.js.map +1 -1
  38. package/dist/cjs/commands/ListAlertsCommand.js +3 -3
  39. package/dist/cjs/commands/ListAlertsCommand.js.map +1 -1
  40. package/dist/cjs/commands/ListChannelsCommand.js +3 -3
  41. package/dist/cjs/commands/ListChannelsCommand.js.map +1 -1
  42. package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js +3 -3
  43. package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js.map +1 -1
  44. package/dist/cjs/commands/ListSourceLocationsCommand.js +3 -3
  45. package/dist/cjs/commands/ListSourceLocationsCommand.js.map +1 -1
  46. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  47. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  48. package/dist/cjs/commands/ListVodSourcesCommand.js +3 -3
  49. package/dist/cjs/commands/ListVodSourcesCommand.js.map +1 -1
  50. package/dist/cjs/commands/PutChannelPolicyCommand.js +3 -3
  51. package/dist/cjs/commands/PutChannelPolicyCommand.js.map +1 -1
  52. package/dist/cjs/commands/PutPlaybackConfigurationCommand.js +3 -3
  53. package/dist/cjs/commands/PutPlaybackConfigurationCommand.js.map +1 -1
  54. package/dist/cjs/commands/StartChannelCommand.js +3 -3
  55. package/dist/cjs/commands/StartChannelCommand.js.map +1 -1
  56. package/dist/cjs/commands/StopChannelCommand.js +3 -3
  57. package/dist/cjs/commands/StopChannelCommand.js.map +1 -1
  58. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  59. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  60. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  61. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  62. package/dist/cjs/commands/UpdateChannelCommand.js +3 -3
  63. package/dist/cjs/commands/UpdateChannelCommand.js.map +1 -1
  64. package/dist/cjs/commands/UpdateSourceLocationCommand.js +3 -3
  65. package/dist/cjs/commands/UpdateSourceLocationCommand.js.map +1 -1
  66. package/dist/cjs/commands/UpdateVodSourceCommand.js +3 -3
  67. package/dist/cjs/commands/UpdateVodSourceCommand.js.map +1 -1
  68. package/dist/cjs/endpoints.js +1 -1
  69. package/dist/cjs/endpoints.js.map +1 -1
  70. package/dist/cjs/index.js +42 -42
  71. package/dist/cjs/index.js.map +1 -1
  72. package/dist/cjs/models/index.js +1 -1
  73. package/dist/cjs/models/index.js.map +1 -1
  74. package/dist/cjs/package.json +31 -31
  75. package/dist/cjs/protocols/Aws_restJson1.js +220 -220
  76. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  77. package/dist/cjs/runtimeConfig.browser.js +4 -4
  78. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  79. package/dist/cjs/runtimeConfig.js +8 -8
  80. package/dist/cjs/runtimeConfig.js.map +1 -1
  81. package/dist/cjs/runtimeConfig.native.js +1 -1
  82. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  83. package/dist/es/package.json +31 -31
  84. package/dist/es/pagination/GetChannelSchedulePaginator.js +4 -4
  85. package/dist/es/pagination/GetChannelSchedulePaginator.js.map +1 -1
  86. package/dist/es/pagination/ListAlertsPaginator.js +4 -4
  87. package/dist/es/pagination/ListAlertsPaginator.js.map +1 -1
  88. package/dist/es/pagination/ListChannelsPaginator.js +4 -4
  89. package/dist/es/pagination/ListChannelsPaginator.js.map +1 -1
  90. package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js +4 -4
  91. package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js.map +1 -1
  92. package/dist/es/pagination/ListSourceLocationsPaginator.js +4 -4
  93. package/dist/es/pagination/ListSourceLocationsPaginator.js.map +1 -1
  94. package/dist/es/pagination/ListVodSourcesPaginator.js +4 -4
  95. package/dist/es/pagination/ListVodSourcesPaginator.js.map +1 -1
  96. package/package.json +31 -31
  97. package/tsconfig.json +1 -2
@@ -15,7 +15,7 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
15
15
  if (labelValue.length <= 0) {
16
16
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
17
17
  }
18
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
18
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
19
19
  }
20
20
  else {
21
21
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -53,7 +53,7 @@ const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
53
53
  if (labelValue.length <= 0) {
54
54
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
55
55
  }
56
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
56
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
57
57
  }
58
58
  else {
59
59
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -63,7 +63,7 @@ const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
63
63
  if (labelValue.length <= 0) {
64
64
  throw new Error("Empty value provided for input HTTP label: ProgramName.");
65
65
  }
66
- resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
66
+ resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
67
67
  }
68
68
  else {
69
69
  throw new Error("No value provided for input HTTP label: ProgramName.");
@@ -102,7 +102,7 @@ const serializeAws_restJson1CreateSourceLocationCommand = async (input, context)
102
102
  if (labelValue.length <= 0) {
103
103
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
104
104
  }
105
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
105
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
106
106
  }
107
107
  else {
108
108
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -147,7 +147,7 @@ const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
147
147
  if (labelValue.length <= 0) {
148
148
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
149
149
  }
150
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
150
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
151
151
  }
152
152
  else {
153
153
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -157,7 +157,7 @@ const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
157
157
  if (labelValue.length <= 0) {
158
158
  throw new Error("Empty value provided for input HTTP label: VodSourceName.");
159
159
  }
160
- resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
160
+ resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
161
161
  }
162
162
  else {
163
163
  throw new Error("No value provided for input HTTP label: VodSourceName.");
@@ -191,7 +191,7 @@ const serializeAws_restJson1DeleteChannelCommand = async (input, context) => {
191
191
  if (labelValue.length <= 0) {
192
192
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
193
193
  }
194
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
194
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
195
195
  }
196
196
  else {
197
197
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -217,7 +217,7 @@ const serializeAws_restJson1DeleteChannelPolicyCommand = async (input, context)
217
217
  if (labelValue.length <= 0) {
218
218
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
219
219
  }
220
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
220
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
221
221
  }
222
222
  else {
223
223
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -243,7 +243,7 @@ const serializeAws_restJson1DeletePlaybackConfigurationCommand = async (input, c
243
243
  if (labelValue.length <= 0) {
244
244
  throw new Error("Empty value provided for input HTTP label: Name.");
245
245
  }
246
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
246
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
247
247
  }
248
248
  else {
249
249
  throw new Error("No value provided for input HTTP label: Name.");
@@ -270,7 +270,7 @@ const serializeAws_restJson1DeleteProgramCommand = async (input, context) => {
270
270
  if (labelValue.length <= 0) {
271
271
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
272
272
  }
273
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
273
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
274
274
  }
275
275
  else {
276
276
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -280,7 +280,7 @@ const serializeAws_restJson1DeleteProgramCommand = async (input, context) => {
280
280
  if (labelValue.length <= 0) {
281
281
  throw new Error("Empty value provided for input HTTP label: ProgramName.");
282
282
  }
283
- resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
283
+ resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
284
284
  }
285
285
  else {
286
286
  throw new Error("No value provided for input HTTP label: ProgramName.");
@@ -306,7 +306,7 @@ const serializeAws_restJson1DeleteSourceLocationCommand = async (input, context)
306
306
  if (labelValue.length <= 0) {
307
307
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
308
308
  }
309
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
309
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
310
310
  }
311
311
  else {
312
312
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -333,7 +333,7 @@ const serializeAws_restJson1DeleteVodSourceCommand = async (input, context) => {
333
333
  if (labelValue.length <= 0) {
334
334
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
335
335
  }
336
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
336
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
337
337
  }
338
338
  else {
339
339
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -343,7 +343,7 @@ const serializeAws_restJson1DeleteVodSourceCommand = async (input, context) => {
343
343
  if (labelValue.length <= 0) {
344
344
  throw new Error("Empty value provided for input HTTP label: VodSourceName.");
345
345
  }
346
- resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
346
+ resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
347
347
  }
348
348
  else {
349
349
  throw new Error("No value provided for input HTTP label: VodSourceName.");
@@ -369,7 +369,7 @@ const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
369
369
  if (labelValue.length <= 0) {
370
370
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
371
371
  }
372
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
372
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
373
373
  }
374
374
  else {
375
375
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -396,7 +396,7 @@ const serializeAws_restJson1DescribeProgramCommand = async (input, context) => {
396
396
  if (labelValue.length <= 0) {
397
397
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
398
398
  }
399
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
399
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
400
400
  }
401
401
  else {
402
402
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -406,7 +406,7 @@ const serializeAws_restJson1DescribeProgramCommand = async (input, context) => {
406
406
  if (labelValue.length <= 0) {
407
407
  throw new Error("Empty value provided for input HTTP label: ProgramName.");
408
408
  }
409
- resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
409
+ resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
410
410
  }
411
411
  else {
412
412
  throw new Error("No value provided for input HTTP label: ProgramName.");
@@ -432,7 +432,7 @@ const serializeAws_restJson1DescribeSourceLocationCommand = async (input, contex
432
432
  if (labelValue.length <= 0) {
433
433
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
434
434
  }
435
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
435
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
436
436
  }
437
437
  else {
438
438
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -459,7 +459,7 @@ const serializeAws_restJson1DescribeVodSourceCommand = async (input, context) =>
459
459
  if (labelValue.length <= 0) {
460
460
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
461
461
  }
462
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
462
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
463
463
  }
464
464
  else {
465
465
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -469,7 +469,7 @@ const serializeAws_restJson1DescribeVodSourceCommand = async (input, context) =>
469
469
  if (labelValue.length <= 0) {
470
470
  throw new Error("Empty value provided for input HTTP label: VodSourceName.");
471
471
  }
472
- resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
472
+ resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
473
473
  }
474
474
  else {
475
475
  throw new Error("No value provided for input HTTP label: VodSourceName.");
@@ -495,7 +495,7 @@ const serializeAws_restJson1GetChannelPolicyCommand = async (input, context) =>
495
495
  if (labelValue.length <= 0) {
496
496
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
497
497
  }
498
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
498
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
499
499
  }
500
500
  else {
501
501
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -521,7 +521,7 @@ const serializeAws_restJson1GetChannelScheduleCommand = async (input, context) =
521
521
  if (labelValue.length <= 0) {
522
522
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
523
523
  }
524
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
524
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
525
525
  }
526
526
  else {
527
527
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -553,7 +553,7 @@ const serializeAws_restJson1GetPlaybackConfigurationCommand = async (input, cont
553
553
  if (labelValue.length <= 0) {
554
554
  throw new Error("Empty value provided for input HTTP label: Name.");
555
555
  }
556
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
556
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
557
557
  }
558
558
  else {
559
559
  throw new Error("No value provided for input HTTP label: Name.");
@@ -664,7 +664,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
664
664
  if (labelValue.length <= 0) {
665
665
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
666
666
  }
667
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
667
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
668
668
  }
669
669
  else {
670
670
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -691,7 +691,7 @@ const serializeAws_restJson1ListVodSourcesCommand = async (input, context) => {
691
691
  if (labelValue.length <= 0) {
692
692
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
693
693
  }
694
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
694
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
695
695
  }
696
696
  else {
697
697
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -724,7 +724,7 @@ const serializeAws_restJson1PutChannelPolicyCommand = async (input, context) =>
724
724
  if (labelValue.length <= 0) {
725
725
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
726
726
  }
727
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
727
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
728
728
  }
729
729
  else {
730
730
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -813,7 +813,7 @@ const serializeAws_restJson1StartChannelCommand = async (input, context) => {
813
813
  if (labelValue.length <= 0) {
814
814
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
815
815
  }
816
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
816
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
817
817
  }
818
818
  else {
819
819
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -839,7 +839,7 @@ const serializeAws_restJson1StopChannelCommand = async (input, context) => {
839
839
  if (labelValue.length <= 0) {
840
840
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
841
841
  }
842
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
842
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
843
843
  }
844
844
  else {
845
845
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -867,7 +867,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
867
867
  if (labelValue.length <= 0) {
868
868
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
869
869
  }
870
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
870
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
871
871
  }
872
872
  else {
873
873
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -897,7 +897,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
897
897
  if (labelValue.length <= 0) {
898
898
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
899
899
  }
900
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
900
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
901
901
  }
902
902
  else {
903
903
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -929,7 +929,7 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
929
929
  if (labelValue.length <= 0) {
930
930
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
931
931
  }
932
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
932
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
933
933
  }
934
934
  else {
935
935
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -961,7 +961,7 @@ const serializeAws_restJson1UpdateSourceLocationCommand = async (input, context)
961
961
  if (labelValue.length <= 0) {
962
962
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
963
963
  }
964
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
964
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
965
965
  }
966
966
  else {
967
967
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -1004,7 +1004,7 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
1004
1004
  if (labelValue.length <= 0) {
1005
1005
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
1006
1006
  }
1007
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1007
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1008
1008
  }
1009
1009
  else {
1010
1010
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -1014,7 +1014,7 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
1014
1014
  if (labelValue.length <= 0) {
1015
1015
  throw new Error("Empty value provided for input HTTP label: VodSourceName.");
1016
1016
  }
1017
- resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1017
+ resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1018
1018
  }
1019
1019
  else {
1020
1020
  throw new Error("No value provided for input HTTP label: VodSourceName.");
@@ -1053,30 +1053,30 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
1053
1053
  PlaybackMode: undefined,
1054
1054
  Tags: undefined,
1055
1055
  };
1056
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1056
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1057
1057
  if (data.Arn !== undefined && data.Arn !== null) {
1058
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1058
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1059
1059
  }
1060
1060
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
1061
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
1061
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
1062
1062
  }
1063
1063
  if (data.ChannelState !== undefined && data.ChannelState !== null) {
1064
- contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
1064
+ contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
1065
1065
  }
1066
1066
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1067
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1067
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1068
1068
  }
1069
1069
  if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
1070
1070
  contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
1071
1071
  }
1072
1072
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1073
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1073
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1074
1074
  }
1075
1075
  if (data.Outputs !== undefined && data.Outputs !== null) {
1076
1076
  contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
1077
1077
  }
1078
1078
  if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
1079
- contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
1079
+ contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
1080
1080
  }
1081
1081
  if (data.tags !== undefined && data.tags !== null) {
1082
1082
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1124,30 +1124,30 @@ const deserializeAws_restJson1CreateProgramCommand = async (output, context) =>
1124
1124
  SourceLocationName: undefined,
1125
1125
  VodSourceName: undefined,
1126
1126
  };
1127
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1127
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1128
1128
  if (data.AdBreaks !== undefined && data.AdBreaks !== null) {
1129
1129
  contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
1130
1130
  }
1131
1131
  if (data.Arn !== undefined && data.Arn !== null) {
1132
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1132
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1133
1133
  }
1134
1134
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
1135
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
1135
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
1136
1136
  }
1137
1137
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1138
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1138
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1139
1139
  }
1140
1140
  if (data.ProgramName !== undefined && data.ProgramName !== null) {
1141
- contents.ProgramName = (0, smithy_client_1.expectString)(data.ProgramName);
1141
+ contents.ProgramName = smithy_client_1.expectString(data.ProgramName);
1142
1142
  }
1143
1143
  if (data.ScheduledStartTime !== undefined && data.ScheduledStartTime !== null) {
1144
- contents.ScheduledStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ScheduledStartTime)));
1144
+ contents.ScheduledStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ScheduledStartTime)));
1145
1145
  }
1146
1146
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1147
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1147
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1148
1148
  }
1149
1149
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
1150
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
1150
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
1151
1151
  }
1152
1152
  return Promise.resolve(contents);
1153
1153
  };
@@ -1192,15 +1192,15 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
1192
1192
  SourceLocationName: undefined,
1193
1193
  Tags: undefined,
1194
1194
  };
1195
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1195
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1196
1196
  if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
1197
1197
  contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
1198
1198
  }
1199
1199
  if (data.Arn !== undefined && data.Arn !== null) {
1200
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1200
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1201
1201
  }
1202
1202
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1203
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1203
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1204
1204
  }
1205
1205
  if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
1206
1206
  contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
@@ -1209,10 +1209,10 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
1209
1209
  contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
1210
1210
  }
1211
1211
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1212
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1212
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1213
1213
  }
1214
1214
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1215
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1215
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1216
1216
  }
1217
1217
  if (data.tags !== undefined && data.tags !== null) {
1218
1218
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1259,27 +1259,27 @@ const deserializeAws_restJson1CreateVodSourceCommand = async (output, context) =
1259
1259
  Tags: undefined,
1260
1260
  VodSourceName: undefined,
1261
1261
  };
1262
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1262
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1263
1263
  if (data.Arn !== undefined && data.Arn !== null) {
1264
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1264
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1265
1265
  }
1266
1266
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1267
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1267
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1268
1268
  }
1269
1269
  if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
1270
1270
  contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1271
1271
  }
1272
1272
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1273
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1273
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1274
1274
  }
1275
1275
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1276
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1276
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1277
1277
  }
1278
1278
  if (data.tags !== undefined && data.tags !== null) {
1279
1279
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1280
1280
  }
1281
1281
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
1282
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
1282
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
1283
1283
  }
1284
1284
  return Promise.resolve(contents);
1285
1285
  };
@@ -1541,30 +1541,30 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
1541
1541
  PlaybackMode: undefined,
1542
1542
  Tags: undefined,
1543
1543
  };
1544
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1544
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1545
1545
  if (data.Arn !== undefined && data.Arn !== null) {
1546
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1546
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1547
1547
  }
1548
1548
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
1549
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
1549
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
1550
1550
  }
1551
1551
  if (data.ChannelState !== undefined && data.ChannelState !== null) {
1552
- contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
1552
+ contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
1553
1553
  }
1554
1554
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1555
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1555
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1556
1556
  }
1557
1557
  if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
1558
1558
  contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
1559
1559
  }
1560
1560
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1561
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1561
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1562
1562
  }
1563
1563
  if (data.Outputs !== undefined && data.Outputs !== null) {
1564
1564
  contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
1565
1565
  }
1566
1566
  if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
1567
- contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
1567
+ contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
1568
1568
  }
1569
1569
  if (data.tags !== undefined && data.tags !== null) {
1570
1570
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1612,30 +1612,30 @@ const deserializeAws_restJson1DescribeProgramCommand = async (output, context) =
1612
1612
  SourceLocationName: undefined,
1613
1613
  VodSourceName: undefined,
1614
1614
  };
1615
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1615
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1616
1616
  if (data.AdBreaks !== undefined && data.AdBreaks !== null) {
1617
1617
  contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
1618
1618
  }
1619
1619
  if (data.Arn !== undefined && data.Arn !== null) {
1620
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1620
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1621
1621
  }
1622
1622
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
1623
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
1623
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
1624
1624
  }
1625
1625
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1626
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1626
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1627
1627
  }
1628
1628
  if (data.ProgramName !== undefined && data.ProgramName !== null) {
1629
- contents.ProgramName = (0, smithy_client_1.expectString)(data.ProgramName);
1629
+ contents.ProgramName = smithy_client_1.expectString(data.ProgramName);
1630
1630
  }
1631
1631
  if (data.ScheduledStartTime !== undefined && data.ScheduledStartTime !== null) {
1632
- contents.ScheduledStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ScheduledStartTime)));
1632
+ contents.ScheduledStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ScheduledStartTime)));
1633
1633
  }
1634
1634
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1635
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1635
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1636
1636
  }
1637
1637
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
1638
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
1638
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
1639
1639
  }
1640
1640
  return Promise.resolve(contents);
1641
1641
  };
@@ -1680,15 +1680,15 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
1680
1680
  SourceLocationName: undefined,
1681
1681
  Tags: undefined,
1682
1682
  };
1683
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1683
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1684
1684
  if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
1685
1685
  contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
1686
1686
  }
1687
1687
  if (data.Arn !== undefined && data.Arn !== null) {
1688
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1688
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1689
1689
  }
1690
1690
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1691
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1691
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1692
1692
  }
1693
1693
  if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
1694
1694
  contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
@@ -1697,10 +1697,10 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
1697
1697
  contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
1698
1698
  }
1699
1699
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1700
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1700
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1701
1701
  }
1702
1702
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1703
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1703
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1704
1704
  }
1705
1705
  if (data.tags !== undefined && data.tags !== null) {
1706
1706
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1747,27 +1747,27 @@ const deserializeAws_restJson1DescribeVodSourceCommand = async (output, context)
1747
1747
  Tags: undefined,
1748
1748
  VodSourceName: undefined,
1749
1749
  };
1750
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1750
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1751
1751
  if (data.Arn !== undefined && data.Arn !== null) {
1752
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1752
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1753
1753
  }
1754
1754
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1755
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1755
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1756
1756
  }
1757
1757
  if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
1758
1758
  contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1759
1759
  }
1760
1760
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1761
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1761
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1762
1762
  }
1763
1763
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1764
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1764
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1765
1765
  }
1766
1766
  if (data.tags !== undefined && data.tags !== null) {
1767
1767
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1768
1768
  }
1769
1769
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
1770
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
1770
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
1771
1771
  }
1772
1772
  return Promise.resolve(contents);
1773
1773
  };
@@ -1805,9 +1805,9 @@ const deserializeAws_restJson1GetChannelPolicyCommand = async (output, context)
1805
1805
  $metadata: deserializeMetadata(output),
1806
1806
  Policy: undefined,
1807
1807
  };
1808
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1808
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1809
1809
  if (data.Policy !== undefined && data.Policy !== null) {
1810
- contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
1810
+ contents.Policy = smithy_client_1.expectString(data.Policy);
1811
1811
  }
1812
1812
  return Promise.resolve(contents);
1813
1813
  };
@@ -1846,12 +1846,12 @@ const deserializeAws_restJson1GetChannelScheduleCommand = async (output, context
1846
1846
  Items: undefined,
1847
1847
  NextToken: undefined,
1848
1848
  };
1849
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1849
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1850
1850
  if (data.Items !== undefined && data.Items !== null) {
1851
1851
  contents.Items = deserializeAws_restJson1__listOfScheduleEntry(data.Items, context);
1852
1852
  }
1853
1853
  if (data.NextToken !== undefined && data.NextToken !== null) {
1854
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1854
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1855
1855
  }
1856
1856
  return Promise.resolve(contents);
1857
1857
  };
@@ -1906,9 +1906,9 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
1906
1906
  TranscodeProfileName: undefined,
1907
1907
  VideoContentSourceUrl: undefined,
1908
1908
  };
1909
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1909
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1910
1910
  if (data.AdDecisionServerUrl !== undefined && data.AdDecisionServerUrl !== null) {
1911
- contents.AdDecisionServerUrl = (0, smithy_client_1.expectString)(data.AdDecisionServerUrl);
1911
+ contents.AdDecisionServerUrl = smithy_client_1.expectString(data.AdDecisionServerUrl);
1912
1912
  }
1913
1913
  if (data.AvailSuppression !== undefined && data.AvailSuppression !== null) {
1914
1914
  contents.AvailSuppression = deserializeAws_restJson1AvailSuppression(data.AvailSuppression, context);
@@ -1935,31 +1935,31 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
1935
1935
  contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(data.ManifestProcessingRules, context);
1936
1936
  }
1937
1937
  if (data.Name !== undefined && data.Name !== null) {
1938
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
1938
+ contents.Name = smithy_client_1.expectString(data.Name);
1939
1939
  }
1940
1940
  if (data.PersonalizationThresholdSeconds !== undefined && data.PersonalizationThresholdSeconds !== null) {
1941
- contents.PersonalizationThresholdSeconds = (0, smithy_client_1.expectInt32)(data.PersonalizationThresholdSeconds);
1941
+ contents.PersonalizationThresholdSeconds = smithy_client_1.expectInt32(data.PersonalizationThresholdSeconds);
1942
1942
  }
1943
1943
  if (data.PlaybackConfigurationArn !== undefined && data.PlaybackConfigurationArn !== null) {
1944
- contents.PlaybackConfigurationArn = (0, smithy_client_1.expectString)(data.PlaybackConfigurationArn);
1944
+ contents.PlaybackConfigurationArn = smithy_client_1.expectString(data.PlaybackConfigurationArn);
1945
1945
  }
1946
1946
  if (data.PlaybackEndpointPrefix !== undefined && data.PlaybackEndpointPrefix !== null) {
1947
- contents.PlaybackEndpointPrefix = (0, smithy_client_1.expectString)(data.PlaybackEndpointPrefix);
1947
+ contents.PlaybackEndpointPrefix = smithy_client_1.expectString(data.PlaybackEndpointPrefix);
1948
1948
  }
1949
1949
  if (data.SessionInitializationEndpointPrefix !== undefined && data.SessionInitializationEndpointPrefix !== null) {
1950
- contents.SessionInitializationEndpointPrefix = (0, smithy_client_1.expectString)(data.SessionInitializationEndpointPrefix);
1950
+ contents.SessionInitializationEndpointPrefix = smithy_client_1.expectString(data.SessionInitializationEndpointPrefix);
1951
1951
  }
1952
1952
  if (data.SlateAdUrl !== undefined && data.SlateAdUrl !== null) {
1953
- contents.SlateAdUrl = (0, smithy_client_1.expectString)(data.SlateAdUrl);
1953
+ contents.SlateAdUrl = smithy_client_1.expectString(data.SlateAdUrl);
1954
1954
  }
1955
1955
  if (data.tags !== undefined && data.tags !== null) {
1956
1956
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1957
1957
  }
1958
1958
  if (data.TranscodeProfileName !== undefined && data.TranscodeProfileName !== null) {
1959
- contents.TranscodeProfileName = (0, smithy_client_1.expectString)(data.TranscodeProfileName);
1959
+ contents.TranscodeProfileName = smithy_client_1.expectString(data.TranscodeProfileName);
1960
1960
  }
1961
1961
  if (data.VideoContentSourceUrl !== undefined && data.VideoContentSourceUrl !== null) {
1962
- contents.VideoContentSourceUrl = (0, smithy_client_1.expectString)(data.VideoContentSourceUrl);
1962
+ contents.VideoContentSourceUrl = smithy_client_1.expectString(data.VideoContentSourceUrl);
1963
1963
  }
1964
1964
  return Promise.resolve(contents);
1965
1965
  };
@@ -1998,12 +1998,12 @@ const deserializeAws_restJson1ListAlertsCommand = async (output, context) => {
1998
1998
  Items: undefined,
1999
1999
  NextToken: undefined,
2000
2000
  };
2001
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2001
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2002
2002
  if (data.Items !== undefined && data.Items !== null) {
2003
2003
  contents.Items = deserializeAws_restJson1__listOfAlert(data.Items, context);
2004
2004
  }
2005
2005
  if (data.NextToken !== undefined && data.NextToken !== null) {
2006
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2006
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2007
2007
  }
2008
2008
  return Promise.resolve(contents);
2009
2009
  };
@@ -2042,12 +2042,12 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
2042
2042
  Items: undefined,
2043
2043
  NextToken: undefined,
2044
2044
  };
2045
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2045
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2046
2046
  if (data.Items !== undefined && data.Items !== null) {
2047
2047
  contents.Items = deserializeAws_restJson1__listOfChannel(data.Items, context);
2048
2048
  }
2049
2049
  if (data.NextToken !== undefined && data.NextToken !== null) {
2050
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2050
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2051
2051
  }
2052
2052
  return Promise.resolve(contents);
2053
2053
  };
@@ -2086,12 +2086,12 @@ const deserializeAws_restJson1ListPlaybackConfigurationsCommand = async (output,
2086
2086
  Items: undefined,
2087
2087
  NextToken: undefined,
2088
2088
  };
2089
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2089
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2090
2090
  if (data.Items !== undefined && data.Items !== null) {
2091
2091
  contents.Items = deserializeAws_restJson1__listOfPlaybackConfiguration(data.Items, context);
2092
2092
  }
2093
2093
  if (data.NextToken !== undefined && data.NextToken !== null) {
2094
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2094
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2095
2095
  }
2096
2096
  return Promise.resolve(contents);
2097
2097
  };
@@ -2130,12 +2130,12 @@ const deserializeAws_restJson1ListSourceLocationsCommand = async (output, contex
2130
2130
  Items: undefined,
2131
2131
  NextToken: undefined,
2132
2132
  };
2133
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2133
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2134
2134
  if (data.Items !== undefined && data.Items !== null) {
2135
2135
  contents.Items = deserializeAws_restJson1__listOfSourceLocation(data.Items, context);
2136
2136
  }
2137
2137
  if (data.NextToken !== undefined && data.NextToken !== null) {
2138
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2138
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2139
2139
  }
2140
2140
  return Promise.resolve(contents);
2141
2141
  };
@@ -2173,7 +2173,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2173
2173
  $metadata: deserializeMetadata(output),
2174
2174
  Tags: undefined,
2175
2175
  };
2176
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2176
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2177
2177
  if (data.tags !== undefined && data.tags !== null) {
2178
2178
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2179
2179
  }
@@ -2222,12 +2222,12 @@ const deserializeAws_restJson1ListVodSourcesCommand = async (output, context) =>
2222
2222
  Items: undefined,
2223
2223
  NextToken: undefined,
2224
2224
  };
2225
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2225
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2226
2226
  if (data.Items !== undefined && data.Items !== null) {
2227
2227
  contents.Items = deserializeAws_restJson1__listOfVodSource(data.Items, context);
2228
2228
  }
2229
2229
  if (data.NextToken !== undefined && data.NextToken !== null) {
2230
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2230
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2231
2231
  }
2232
2232
  return Promise.resolve(contents);
2233
2233
  };
@@ -2318,9 +2318,9 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
2318
2318
  TranscodeProfileName: undefined,
2319
2319
  VideoContentSourceUrl: undefined,
2320
2320
  };
2321
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2321
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2322
2322
  if (data.AdDecisionServerUrl !== undefined && data.AdDecisionServerUrl !== null) {
2323
- contents.AdDecisionServerUrl = (0, smithy_client_1.expectString)(data.AdDecisionServerUrl);
2323
+ contents.AdDecisionServerUrl = smithy_client_1.expectString(data.AdDecisionServerUrl);
2324
2324
  }
2325
2325
  if (data.AvailSuppression !== undefined && data.AvailSuppression !== null) {
2326
2326
  contents.AvailSuppression = deserializeAws_restJson1AvailSuppression(data.AvailSuppression, context);
@@ -2347,31 +2347,31 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
2347
2347
  contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(data.ManifestProcessingRules, context);
2348
2348
  }
2349
2349
  if (data.Name !== undefined && data.Name !== null) {
2350
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
2350
+ contents.Name = smithy_client_1.expectString(data.Name);
2351
2351
  }
2352
2352
  if (data.PersonalizationThresholdSeconds !== undefined && data.PersonalizationThresholdSeconds !== null) {
2353
- contents.PersonalizationThresholdSeconds = (0, smithy_client_1.expectInt32)(data.PersonalizationThresholdSeconds);
2353
+ contents.PersonalizationThresholdSeconds = smithy_client_1.expectInt32(data.PersonalizationThresholdSeconds);
2354
2354
  }
2355
2355
  if (data.PlaybackConfigurationArn !== undefined && data.PlaybackConfigurationArn !== null) {
2356
- contents.PlaybackConfigurationArn = (0, smithy_client_1.expectString)(data.PlaybackConfigurationArn);
2356
+ contents.PlaybackConfigurationArn = smithy_client_1.expectString(data.PlaybackConfigurationArn);
2357
2357
  }
2358
2358
  if (data.PlaybackEndpointPrefix !== undefined && data.PlaybackEndpointPrefix !== null) {
2359
- contents.PlaybackEndpointPrefix = (0, smithy_client_1.expectString)(data.PlaybackEndpointPrefix);
2359
+ contents.PlaybackEndpointPrefix = smithy_client_1.expectString(data.PlaybackEndpointPrefix);
2360
2360
  }
2361
2361
  if (data.SessionInitializationEndpointPrefix !== undefined && data.SessionInitializationEndpointPrefix !== null) {
2362
- contents.SessionInitializationEndpointPrefix = (0, smithy_client_1.expectString)(data.SessionInitializationEndpointPrefix);
2362
+ contents.SessionInitializationEndpointPrefix = smithy_client_1.expectString(data.SessionInitializationEndpointPrefix);
2363
2363
  }
2364
2364
  if (data.SlateAdUrl !== undefined && data.SlateAdUrl !== null) {
2365
- contents.SlateAdUrl = (0, smithy_client_1.expectString)(data.SlateAdUrl);
2365
+ contents.SlateAdUrl = smithy_client_1.expectString(data.SlateAdUrl);
2366
2366
  }
2367
2367
  if (data.tags !== undefined && data.tags !== null) {
2368
2368
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2369
2369
  }
2370
2370
  if (data.TranscodeProfileName !== undefined && data.TranscodeProfileName !== null) {
2371
- contents.TranscodeProfileName = (0, smithy_client_1.expectString)(data.TranscodeProfileName);
2371
+ contents.TranscodeProfileName = smithy_client_1.expectString(data.TranscodeProfileName);
2372
2372
  }
2373
2373
  if (data.VideoContentSourceUrl !== undefined && data.VideoContentSourceUrl !== null) {
2374
- contents.VideoContentSourceUrl = (0, smithy_client_1.expectString)(data.VideoContentSourceUrl);
2374
+ contents.VideoContentSourceUrl = smithy_client_1.expectString(data.VideoContentSourceUrl);
2375
2375
  }
2376
2376
  return Promise.resolve(contents);
2377
2377
  };
@@ -2577,30 +2577,30 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
2577
2577
  PlaybackMode: undefined,
2578
2578
  Tags: undefined,
2579
2579
  };
2580
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2580
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2581
2581
  if (data.Arn !== undefined && data.Arn !== null) {
2582
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
2582
+ contents.Arn = smithy_client_1.expectString(data.Arn);
2583
2583
  }
2584
2584
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
2585
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
2585
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
2586
2586
  }
2587
2587
  if (data.ChannelState !== undefined && data.ChannelState !== null) {
2588
- contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
2588
+ contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
2589
2589
  }
2590
2590
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
2591
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
2591
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
2592
2592
  }
2593
2593
  if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
2594
2594
  contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
2595
2595
  }
2596
2596
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
2597
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
2597
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
2598
2598
  }
2599
2599
  if (data.Outputs !== undefined && data.Outputs !== null) {
2600
2600
  contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
2601
2601
  }
2602
2602
  if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
2603
- contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
2603
+ contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
2604
2604
  }
2605
2605
  if (data.tags !== undefined && data.tags !== null) {
2606
2606
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -2648,15 +2648,15 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
2648
2648
  SourceLocationName: undefined,
2649
2649
  Tags: undefined,
2650
2650
  };
2651
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2651
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2652
2652
  if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
2653
2653
  contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
2654
2654
  }
2655
2655
  if (data.Arn !== undefined && data.Arn !== null) {
2656
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
2656
+ contents.Arn = smithy_client_1.expectString(data.Arn);
2657
2657
  }
2658
2658
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
2659
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
2659
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
2660
2660
  }
2661
2661
  if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
2662
2662
  contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
@@ -2665,10 +2665,10 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
2665
2665
  contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
2666
2666
  }
2667
2667
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
2668
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
2668
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
2669
2669
  }
2670
2670
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
2671
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
2671
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
2672
2672
  }
2673
2673
  if (data.tags !== undefined && data.tags !== null) {
2674
2674
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -2715,27 +2715,27 @@ const deserializeAws_restJson1UpdateVodSourceCommand = async (output, context) =
2715
2715
  Tags: undefined,
2716
2716
  VodSourceName: undefined,
2717
2717
  };
2718
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2718
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2719
2719
  if (data.Arn !== undefined && data.Arn !== null) {
2720
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
2720
+ contents.Arn = smithy_client_1.expectString(data.Arn);
2721
2721
  }
2722
2722
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
2723
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
2723
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
2724
2724
  }
2725
2725
  if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
2726
2726
  contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
2727
2727
  }
2728
2728
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
2729
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
2729
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
2730
2730
  }
2731
2731
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
2732
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
2732
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
2733
2733
  }
2734
2734
  if (data.tags !== undefined && data.tags !== null) {
2735
2735
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2736
2736
  }
2737
2737
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
2738
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
2738
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
2739
2739
  }
2740
2740
  return Promise.resolve(contents);
2741
2741
  };
@@ -2774,7 +2774,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
2774
2774
  };
2775
2775
  const data = parsedOutput.body;
2776
2776
  if (data.Message !== undefined && data.Message !== null) {
2777
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2777
+ contents.Message = smithy_client_1.expectString(data.Message);
2778
2778
  }
2779
2779
  return contents;
2780
2780
  };
@@ -2999,7 +2999,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2999
2999
  if (entry === null) {
3000
3000
  return null;
3001
3001
  }
3002
- return (0, smithy_client_1.expectString)(entry);
3002
+ return smithy_client_1.expectString(entry);
3003
3003
  });
3004
3004
  };
3005
3005
  const deserializeAws_restJson1__listOfAdBreak = (output, context) => {
@@ -3089,13 +3089,13 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
3089
3089
  }
3090
3090
  return {
3091
3091
  ...acc,
3092
- [key]: (0, smithy_client_1.expectString)(value),
3092
+ [key]: smithy_client_1.expectString(value),
3093
3093
  };
3094
3094
  }, {});
3095
3095
  };
3096
3096
  const deserializeAws_restJson1AccessConfiguration = (output, context) => {
3097
3097
  return {
3098
- AccessType: (0, smithy_client_1.expectString)(output.AccessType),
3098
+ AccessType: smithy_client_1.expectString(output.AccessType),
3099
3099
  SecretsManagerAccessTokenConfiguration: output.SecretsManagerAccessTokenConfiguration !== undefined &&
3100
3100
  output.SecretsManagerAccessTokenConfiguration !== null
3101
3101
  ? deserializeAws_restJson1SecretsManagerAccessTokenConfiguration(output.SecretsManagerAccessTokenConfiguration, context)
@@ -3104,8 +3104,8 @@ const deserializeAws_restJson1AccessConfiguration = (output, context) => {
3104
3104
  };
3105
3105
  const deserializeAws_restJson1AdBreak = (output, context) => {
3106
3106
  return {
3107
- MessageType: (0, smithy_client_1.expectString)(output.MessageType),
3108
- OffsetMillis: (0, smithy_client_1.expectLong)(output.OffsetMillis),
3107
+ MessageType: smithy_client_1.expectString(output.MessageType),
3108
+ OffsetMillis: smithy_client_1.expectLong(output.OffsetMillis),
3109
3109
  Slate: output.Slate !== undefined && output.Slate !== null
3110
3110
  ? deserializeAws_restJson1SlateSource(output.Slate, context)
3111
3111
  : undefined,
@@ -3116,58 +3116,58 @@ const deserializeAws_restJson1AdBreak = (output, context) => {
3116
3116
  };
3117
3117
  const deserializeAws_restJson1AdMarkerPassthrough = (output, context) => {
3118
3118
  return {
3119
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
3119
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
3120
3120
  };
3121
3121
  };
3122
3122
  const deserializeAws_restJson1Alert = (output, context) => {
3123
3123
  return {
3124
- AlertCode: (0, smithy_client_1.expectString)(output.AlertCode),
3125
- AlertMessage: (0, smithy_client_1.expectString)(output.AlertMessage),
3124
+ AlertCode: smithy_client_1.expectString(output.AlertCode),
3125
+ AlertMessage: smithy_client_1.expectString(output.AlertMessage),
3126
3126
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3127
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3127
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3128
3128
  : undefined,
3129
3129
  RelatedResourceArns: output.RelatedResourceArns !== undefined && output.RelatedResourceArns !== null
3130
3130
  ? deserializeAws_restJson1__listOf__string(output.RelatedResourceArns, context)
3131
3131
  : undefined,
3132
- ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
3132
+ ResourceArn: smithy_client_1.expectString(output.ResourceArn),
3133
3133
  };
3134
3134
  };
3135
3135
  const deserializeAws_restJson1AvailSuppression = (output, context) => {
3136
3136
  return {
3137
- Mode: (0, smithy_client_1.expectString)(output.Mode),
3138
- Value: (0, smithy_client_1.expectString)(output.Value),
3137
+ Mode: smithy_client_1.expectString(output.Mode),
3138
+ Value: smithy_client_1.expectString(output.Value),
3139
3139
  };
3140
3140
  };
3141
3141
  const deserializeAws_restJson1Bumper = (output, context) => {
3142
3142
  return {
3143
- EndUrl: (0, smithy_client_1.expectString)(output.EndUrl),
3144
- StartUrl: (0, smithy_client_1.expectString)(output.StartUrl),
3143
+ EndUrl: smithy_client_1.expectString(output.EndUrl),
3144
+ StartUrl: smithy_client_1.expectString(output.StartUrl),
3145
3145
  };
3146
3146
  };
3147
3147
  const deserializeAws_restJson1CdnConfiguration = (output, context) => {
3148
3148
  return {
3149
- AdSegmentUrlPrefix: (0, smithy_client_1.expectString)(output.AdSegmentUrlPrefix),
3150
- ContentSegmentUrlPrefix: (0, smithy_client_1.expectString)(output.ContentSegmentUrlPrefix),
3149
+ AdSegmentUrlPrefix: smithy_client_1.expectString(output.AdSegmentUrlPrefix),
3150
+ ContentSegmentUrlPrefix: smithy_client_1.expectString(output.ContentSegmentUrlPrefix),
3151
3151
  };
3152
3152
  };
3153
3153
  const deserializeAws_restJson1Channel = (output, context) => {
3154
3154
  return {
3155
- Arn: (0, smithy_client_1.expectString)(output.Arn),
3156
- ChannelName: (0, smithy_client_1.expectString)(output.ChannelName),
3157
- ChannelState: (0, smithy_client_1.expectString)(output.ChannelState),
3155
+ Arn: smithy_client_1.expectString(output.Arn),
3156
+ ChannelName: smithy_client_1.expectString(output.ChannelName),
3157
+ ChannelState: smithy_client_1.expectString(output.ChannelState),
3158
3158
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3159
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3159
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3160
3160
  : undefined,
3161
3161
  FillerSlate: output.FillerSlate !== undefined && output.FillerSlate !== null
3162
3162
  ? deserializeAws_restJson1SlateSource(output.FillerSlate, context)
3163
3163
  : undefined,
3164
3164
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3165
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3165
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3166
3166
  : undefined,
3167
3167
  Outputs: output.Outputs !== undefined && output.Outputs !== null
3168
3168
  ? deserializeAws_restJson1ResponseOutputs(output.Outputs, context)
3169
3169
  : undefined,
3170
- PlaybackMode: (0, smithy_client_1.expectString)(output.PlaybackMode),
3170
+ PlaybackMode: smithy_client_1.expectString(output.PlaybackMode),
3171
3171
  Tags: output.tags !== undefined && output.tags !== null
3172
3172
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
3173
3173
  : undefined,
@@ -3186,44 +3186,44 @@ const deserializeAws_restJson1ConfigurationAliasesResponse = (output, context) =
3186
3186
  };
3187
3187
  const deserializeAws_restJson1DashConfiguration = (output, context) => {
3188
3188
  return {
3189
- ManifestEndpointPrefix: (0, smithy_client_1.expectString)(output.ManifestEndpointPrefix),
3190
- MpdLocation: (0, smithy_client_1.expectString)(output.MpdLocation),
3191
- OriginManifestType: (0, smithy_client_1.expectString)(output.OriginManifestType),
3189
+ ManifestEndpointPrefix: smithy_client_1.expectString(output.ManifestEndpointPrefix),
3190
+ MpdLocation: smithy_client_1.expectString(output.MpdLocation),
3191
+ OriginManifestType: smithy_client_1.expectString(output.OriginManifestType),
3192
3192
  };
3193
3193
  };
3194
3194
  const deserializeAws_restJson1DashPlaylistSettings = (output, context) => {
3195
3195
  return {
3196
- ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.ManifestWindowSeconds),
3197
- MinBufferTimeSeconds: (0, smithy_client_1.expectInt32)(output.MinBufferTimeSeconds),
3198
- MinUpdatePeriodSeconds: (0, smithy_client_1.expectInt32)(output.MinUpdatePeriodSeconds),
3199
- SuggestedPresentationDelaySeconds: (0, smithy_client_1.expectInt32)(output.SuggestedPresentationDelaySeconds),
3196
+ ManifestWindowSeconds: smithy_client_1.expectInt32(output.ManifestWindowSeconds),
3197
+ MinBufferTimeSeconds: smithy_client_1.expectInt32(output.MinBufferTimeSeconds),
3198
+ MinUpdatePeriodSeconds: smithy_client_1.expectInt32(output.MinUpdatePeriodSeconds),
3199
+ SuggestedPresentationDelaySeconds: smithy_client_1.expectInt32(output.SuggestedPresentationDelaySeconds),
3200
3200
  };
3201
3201
  };
3202
3202
  const deserializeAws_restJson1DefaultSegmentDeliveryConfiguration = (output, context) => {
3203
3203
  return {
3204
- BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
3204
+ BaseUrl: smithy_client_1.expectString(output.BaseUrl),
3205
3205
  };
3206
3206
  };
3207
3207
  const deserializeAws_restJson1HlsConfiguration = (output, context) => {
3208
3208
  return {
3209
- ManifestEndpointPrefix: (0, smithy_client_1.expectString)(output.ManifestEndpointPrefix),
3209
+ ManifestEndpointPrefix: smithy_client_1.expectString(output.ManifestEndpointPrefix),
3210
3210
  };
3211
3211
  };
3212
3212
  const deserializeAws_restJson1HlsPlaylistSettings = (output, context) => {
3213
3213
  return {
3214
- ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.ManifestWindowSeconds),
3214
+ ManifestWindowSeconds: smithy_client_1.expectInt32(output.ManifestWindowSeconds),
3215
3215
  };
3216
3216
  };
3217
3217
  const deserializeAws_restJson1HttpConfiguration = (output, context) => {
3218
3218
  return {
3219
- BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
3219
+ BaseUrl: smithy_client_1.expectString(output.BaseUrl),
3220
3220
  };
3221
3221
  };
3222
3222
  const deserializeAws_restJson1HttpPackageConfiguration = (output, context) => {
3223
3223
  return {
3224
- Path: (0, smithy_client_1.expectString)(output.Path),
3225
- SourceGroup: (0, smithy_client_1.expectString)(output.SourceGroup),
3226
- Type: (0, smithy_client_1.expectString)(output.Type),
3224
+ Path: smithy_client_1.expectString(output.Path),
3225
+ SourceGroup: smithy_client_1.expectString(output.SourceGroup),
3226
+ Type: smithy_client_1.expectString(output.Type),
3227
3227
  };
3228
3228
  };
3229
3229
  const deserializeAws_restJson1HttpPackageConfigurations = (output, context) => {
@@ -3238,8 +3238,8 @@ const deserializeAws_restJson1HttpPackageConfigurations = (output, context) => {
3238
3238
  };
3239
3239
  const deserializeAws_restJson1LivePreRollConfiguration = (output, context) => {
3240
3240
  return {
3241
- AdDecisionServerUrl: (0, smithy_client_1.expectString)(output.AdDecisionServerUrl),
3242
- MaxDurationSeconds: (0, smithy_client_1.expectInt32)(output.MaxDurationSeconds),
3241
+ AdDecisionServerUrl: smithy_client_1.expectString(output.AdDecisionServerUrl),
3242
+ MaxDurationSeconds: smithy_client_1.expectInt32(output.MaxDurationSeconds),
3243
3243
  };
3244
3244
  };
3245
3245
  const deserializeAws_restJson1ManifestProcessingRules = (output, context) => {
@@ -3251,7 +3251,7 @@ const deserializeAws_restJson1ManifestProcessingRules = (output, context) => {
3251
3251
  };
3252
3252
  const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
3253
3253
  return {
3254
- AdDecisionServerUrl: (0, smithy_client_1.expectString)(output.AdDecisionServerUrl),
3254
+ AdDecisionServerUrl: smithy_client_1.expectString(output.AdDecisionServerUrl),
3255
3255
  AvailSuppression: output.AvailSuppression !== undefined && output.AvailSuppression !== null
3256
3256
  ? deserializeAws_restJson1AvailSuppression(output.AvailSuppression, context)
3257
3257
  : undefined,
@@ -3276,17 +3276,17 @@ const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
3276
3276
  ManifestProcessingRules: output.ManifestProcessingRules !== undefined && output.ManifestProcessingRules !== null
3277
3277
  ? deserializeAws_restJson1ManifestProcessingRules(output.ManifestProcessingRules, context)
3278
3278
  : undefined,
3279
- Name: (0, smithy_client_1.expectString)(output.Name),
3280
- PersonalizationThresholdSeconds: (0, smithy_client_1.expectInt32)(output.PersonalizationThresholdSeconds),
3281
- PlaybackConfigurationArn: (0, smithy_client_1.expectString)(output.PlaybackConfigurationArn),
3282
- PlaybackEndpointPrefix: (0, smithy_client_1.expectString)(output.PlaybackEndpointPrefix),
3283
- SessionInitializationEndpointPrefix: (0, smithy_client_1.expectString)(output.SessionInitializationEndpointPrefix),
3284
- SlateAdUrl: (0, smithy_client_1.expectString)(output.SlateAdUrl),
3279
+ Name: smithy_client_1.expectString(output.Name),
3280
+ PersonalizationThresholdSeconds: smithy_client_1.expectInt32(output.PersonalizationThresholdSeconds),
3281
+ PlaybackConfigurationArn: smithy_client_1.expectString(output.PlaybackConfigurationArn),
3282
+ PlaybackEndpointPrefix: smithy_client_1.expectString(output.PlaybackEndpointPrefix),
3283
+ SessionInitializationEndpointPrefix: smithy_client_1.expectString(output.SessionInitializationEndpointPrefix),
3284
+ SlateAdUrl: smithy_client_1.expectString(output.SlateAdUrl),
3285
3285
  Tags: output.tags !== undefined && output.tags !== null
3286
3286
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
3287
3287
  : undefined,
3288
- TranscodeProfileName: (0, smithy_client_1.expectString)(output.TranscodeProfileName),
3289
- VideoContentSourceUrl: (0, smithy_client_1.expectString)(output.VideoContentSourceUrl),
3288
+ TranscodeProfileName: smithy_client_1.expectString(output.TranscodeProfileName),
3289
+ VideoContentSourceUrl: smithy_client_1.expectString(output.VideoContentSourceUrl),
3290
3290
  };
3291
3291
  };
3292
3292
  const deserializeAws_restJson1ResponseOutputItem = (output, context) => {
@@ -3297,9 +3297,9 @@ const deserializeAws_restJson1ResponseOutputItem = (output, context) => {
3297
3297
  HlsPlaylistSettings: output.HlsPlaylistSettings !== undefined && output.HlsPlaylistSettings !== null
3298
3298
  ? deserializeAws_restJson1HlsPlaylistSettings(output.HlsPlaylistSettings, context)
3299
3299
  : undefined,
3300
- ManifestName: (0, smithy_client_1.expectString)(output.ManifestName),
3301
- PlaybackUrl: (0, smithy_client_1.expectString)(output.PlaybackUrl),
3302
- SourceGroup: (0, smithy_client_1.expectString)(output.SourceGroup),
3300
+ ManifestName: smithy_client_1.expectString(output.ManifestName),
3301
+ PlaybackUrl: smithy_client_1.expectString(output.PlaybackUrl),
3302
+ SourceGroup: smithy_client_1.expectString(output.SourceGroup),
3303
3303
  };
3304
3304
  };
3305
3305
  const deserializeAws_restJson1ResponseOutputs = (output, context) => {
@@ -3314,42 +3314,42 @@ const deserializeAws_restJson1ResponseOutputs = (output, context) => {
3314
3314
  };
3315
3315
  const deserializeAws_restJson1ScheduleAdBreak = (output, context) => {
3316
3316
  return {
3317
- ApproximateDurationSeconds: (0, smithy_client_1.expectLong)(output.ApproximateDurationSeconds),
3317
+ ApproximateDurationSeconds: smithy_client_1.expectLong(output.ApproximateDurationSeconds),
3318
3318
  ApproximateStartTime: output.ApproximateStartTime !== undefined && output.ApproximateStartTime !== null
3319
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApproximateStartTime)))
3319
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApproximateStartTime)))
3320
3320
  : undefined,
3321
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3322
- VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
3321
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3322
+ VodSourceName: smithy_client_1.expectString(output.VodSourceName),
3323
3323
  };
3324
3324
  };
3325
3325
  const deserializeAws_restJson1ScheduleEntry = (output, context) => {
3326
3326
  return {
3327
- ApproximateDurationSeconds: (0, smithy_client_1.expectLong)(output.ApproximateDurationSeconds),
3327
+ ApproximateDurationSeconds: smithy_client_1.expectLong(output.ApproximateDurationSeconds),
3328
3328
  ApproximateStartTime: output.ApproximateStartTime !== undefined && output.ApproximateStartTime !== null
3329
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApproximateStartTime)))
3329
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApproximateStartTime)))
3330
3330
  : undefined,
3331
- Arn: (0, smithy_client_1.expectString)(output.Arn),
3332
- ChannelName: (0, smithy_client_1.expectString)(output.ChannelName),
3333
- ProgramName: (0, smithy_client_1.expectString)(output.ProgramName),
3331
+ Arn: smithy_client_1.expectString(output.Arn),
3332
+ ChannelName: smithy_client_1.expectString(output.ChannelName),
3333
+ ProgramName: smithy_client_1.expectString(output.ProgramName),
3334
3334
  ScheduleAdBreaks: output.ScheduleAdBreaks !== undefined && output.ScheduleAdBreaks !== null
3335
3335
  ? deserializeAws_restJson1__listOfScheduleAdBreak(output.ScheduleAdBreaks, context)
3336
3336
  : undefined,
3337
- ScheduleEntryType: (0, smithy_client_1.expectString)(output.ScheduleEntryType),
3338
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3339
- VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
3337
+ ScheduleEntryType: smithy_client_1.expectString(output.ScheduleEntryType),
3338
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3339
+ VodSourceName: smithy_client_1.expectString(output.VodSourceName),
3340
3340
  };
3341
3341
  };
3342
3342
  const deserializeAws_restJson1SecretsManagerAccessTokenConfiguration = (output, context) => {
3343
3343
  return {
3344
- HeaderName: (0, smithy_client_1.expectString)(output.HeaderName),
3345
- SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
3346
- SecretStringKey: (0, smithy_client_1.expectString)(output.SecretStringKey),
3344
+ HeaderName: smithy_client_1.expectString(output.HeaderName),
3345
+ SecretArn: smithy_client_1.expectString(output.SecretArn),
3346
+ SecretStringKey: smithy_client_1.expectString(output.SecretStringKey),
3347
3347
  };
3348
3348
  };
3349
3349
  const deserializeAws_restJson1SlateSource = (output, context) => {
3350
3350
  return {
3351
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3352
- VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
3351
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3352
+ VodSourceName: smithy_client_1.expectString(output.VodSourceName),
3353
3353
  };
3354
3354
  };
3355
3355
  const deserializeAws_restJson1SourceLocation = (output, context) => {
@@ -3357,9 +3357,9 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
3357
3357
  AccessConfiguration: output.AccessConfiguration !== undefined && output.AccessConfiguration !== null
3358
3358
  ? deserializeAws_restJson1AccessConfiguration(output.AccessConfiguration, context)
3359
3359
  : undefined,
3360
- Arn: (0, smithy_client_1.expectString)(output.Arn),
3360
+ Arn: smithy_client_1.expectString(output.Arn),
3361
3361
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3362
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3362
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3363
3363
  : undefined,
3364
3364
  DefaultSegmentDeliveryConfiguration: output.DefaultSegmentDeliveryConfiguration !== undefined && output.DefaultSegmentDeliveryConfiguration !== null
3365
3365
  ? deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(output.DefaultSegmentDeliveryConfiguration, context)
@@ -3368,9 +3368,9 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
3368
3368
  ? deserializeAws_restJson1HttpConfiguration(output.HttpConfiguration, context)
3369
3369
  : undefined,
3370
3370
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3371
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3371
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3372
3372
  : undefined,
3373
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3373
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3374
3374
  Tags: output.tags !== undefined && output.tags !== null
3375
3375
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
3376
3376
  : undefined,
@@ -3378,29 +3378,29 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
3378
3378
  };
3379
3379
  const deserializeAws_restJson1SpliceInsertMessage = (output, context) => {
3380
3380
  return {
3381
- AvailNum: (0, smithy_client_1.expectInt32)(output.AvailNum),
3382
- AvailsExpected: (0, smithy_client_1.expectInt32)(output.AvailsExpected),
3383
- SpliceEventId: (0, smithy_client_1.expectInt32)(output.SpliceEventId),
3384
- UniqueProgramId: (0, smithy_client_1.expectInt32)(output.UniqueProgramId),
3381
+ AvailNum: smithy_client_1.expectInt32(output.AvailNum),
3382
+ AvailsExpected: smithy_client_1.expectInt32(output.AvailsExpected),
3383
+ SpliceEventId: smithy_client_1.expectInt32(output.SpliceEventId),
3384
+ UniqueProgramId: smithy_client_1.expectInt32(output.UniqueProgramId),
3385
3385
  };
3386
3386
  };
3387
3387
  const deserializeAws_restJson1VodSource = (output, context) => {
3388
3388
  return {
3389
- Arn: (0, smithy_client_1.expectString)(output.Arn),
3389
+ Arn: smithy_client_1.expectString(output.Arn),
3390
3390
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3391
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3391
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3392
3392
  : undefined,
3393
3393
  HttpPackageConfigurations: output.HttpPackageConfigurations !== undefined && output.HttpPackageConfigurations !== null
3394
3394
  ? deserializeAws_restJson1HttpPackageConfigurations(output.HttpPackageConfigurations, context)
3395
3395
  : undefined,
3396
3396
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3397
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3397
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3398
3398
  : undefined,
3399
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3399
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3400
3400
  Tags: output.tags !== undefined && output.tags !== null
3401
3401
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
3402
3402
  : undefined,
3403
- VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
3403
+ VodSourceName: smithy_client_1.expectString(output.VodSourceName),
3404
3404
  };
3405
3405
  };
3406
3406
  const deserializeMetadata = (output) => {