@aws-sdk/client-mediatailor 3.54.1 → 3.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/MediaTailorClient.js +13 -13
- package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelCommand.js +3 -3
- package/dist-cjs/commands/CreatePrefetchScheduleCommand.js +3 -3
- package/dist-cjs/commands/CreateProgramCommand.js +3 -3
- package/dist-cjs/commands/CreateSourceLocationCommand.js +3 -3
- package/dist-cjs/commands/CreateVodSourceCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeletePrefetchScheduleCommand.js +3 -3
- package/dist-cjs/commands/DeleteProgramCommand.js +3 -3
- package/dist-cjs/commands/DeleteSourceLocationCommand.js +3 -3
- package/dist-cjs/commands/DeleteVodSourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelCommand.js +3 -3
- package/dist-cjs/commands/DescribeProgramCommand.js +3 -3
- package/dist-cjs/commands/DescribeSourceLocationCommand.js +3 -3
- package/dist-cjs/commands/DescribeVodSourceCommand.js +3 -3
- package/dist-cjs/commands/GetChannelPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetChannelScheduleCommand.js +3 -3
- package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetPrefetchScheduleCommand.js +3 -3
- package/dist-cjs/commands/ListAlertsCommand.js +3 -3
- package/dist-cjs/commands/ListChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/ListPrefetchSchedulesCommand.js +3 -3
- package/dist-cjs/commands/ListSourceLocationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListVodSourcesCommand.js +3 -3
- package/dist-cjs/commands/PutChannelPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +3 -3
- package/dist-cjs/commands/StartChannelCommand.js +3 -3
- package/dist-cjs/commands/StopChannelCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist-cjs/commands/UpdateSourceLocationCommand.js +3 -3
- package/dist-cjs/commands/UpdateVodSourceCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +293 -293
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/MediaTailor.js +37 -37
- package/dist-es/pagination/GetChannelSchedulePaginator.js +4 -4
- package/dist-es/pagination/ListAlertsPaginator.js +4 -4
- package/dist-es/pagination/ListChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/ListPrefetchSchedulesPaginator.js +4 -4
- package/dist-es/pagination/ListSourceLocationsPaginator.js +4 -4
- package/dist-es/pagination/ListVodSourcesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +37 -37
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -41,7 +41,7 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
|
|
|
41
41
|
if (labelValue.length <= 0) {
|
|
42
42
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
43
43
|
}
|
|
44
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
44
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
47
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -79,7 +79,7 @@ const serializeAws_restJson1CreatePrefetchScheduleCommand = async (input, contex
|
|
|
79
79
|
if (labelValue.length <= 0) {
|
|
80
80
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
81
81
|
}
|
|
82
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
82
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
83
83
|
}
|
|
84
84
|
else {
|
|
85
85
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -89,7 +89,7 @@ const serializeAws_restJson1CreatePrefetchScheduleCommand = async (input, contex
|
|
|
89
89
|
if (labelValue.length <= 0) {
|
|
90
90
|
throw new Error("Empty value provided for input HTTP label: PlaybackConfigurationName.");
|
|
91
91
|
}
|
|
92
|
-
resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
92
|
+
resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
93
93
|
}
|
|
94
94
|
else {
|
|
95
95
|
throw new Error("No value provided for input HTTP label: PlaybackConfigurationName.");
|
|
@@ -127,7 +127,7 @@ const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
|
|
|
127
127
|
if (labelValue.length <= 0) {
|
|
128
128
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
129
129
|
}
|
|
130
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
130
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
131
131
|
}
|
|
132
132
|
else {
|
|
133
133
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -137,7 +137,7 @@ const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
|
|
|
137
137
|
if (labelValue.length <= 0) {
|
|
138
138
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
139
139
|
}
|
|
140
|
-
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
140
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
141
141
|
}
|
|
142
142
|
else {
|
|
143
143
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -176,7 +176,7 @@ const serializeAws_restJson1CreateSourceLocationCommand = async (input, context)
|
|
|
176
176
|
if (labelValue.length <= 0) {
|
|
177
177
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
178
178
|
}
|
|
179
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
179
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
182
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -225,7 +225,7 @@ const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
|
|
|
225
225
|
if (labelValue.length <= 0) {
|
|
226
226
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
227
227
|
}
|
|
228
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
228
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
229
229
|
}
|
|
230
230
|
else {
|
|
231
231
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -235,7 +235,7 @@ const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
|
|
|
235
235
|
if (labelValue.length <= 0) {
|
|
236
236
|
throw new Error("Empty value provided for input HTTP label: VodSourceName.");
|
|
237
237
|
}
|
|
238
|
-
resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
238
|
+
resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
239
239
|
}
|
|
240
240
|
else {
|
|
241
241
|
throw new Error("No value provided for input HTTP label: VodSourceName.");
|
|
@@ -269,7 +269,7 @@ const serializeAws_restJson1DeleteChannelCommand = async (input, context) => {
|
|
|
269
269
|
if (labelValue.length <= 0) {
|
|
270
270
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
271
271
|
}
|
|
272
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
272
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
273
273
|
}
|
|
274
274
|
else {
|
|
275
275
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -295,7 +295,7 @@ const serializeAws_restJson1DeleteChannelPolicyCommand = async (input, context)
|
|
|
295
295
|
if (labelValue.length <= 0) {
|
|
296
296
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
297
297
|
}
|
|
298
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
298
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
299
299
|
}
|
|
300
300
|
else {
|
|
301
301
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -321,7 +321,7 @@ const serializeAws_restJson1DeletePlaybackConfigurationCommand = async (input, c
|
|
|
321
321
|
if (labelValue.length <= 0) {
|
|
322
322
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
323
323
|
}
|
|
324
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
324
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
325
325
|
}
|
|
326
326
|
else {
|
|
327
327
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -348,7 +348,7 @@ const serializeAws_restJson1DeletePrefetchScheduleCommand = async (input, contex
|
|
|
348
348
|
if (labelValue.length <= 0) {
|
|
349
349
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
350
350
|
}
|
|
351
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
351
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
352
352
|
}
|
|
353
353
|
else {
|
|
354
354
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -358,7 +358,7 @@ const serializeAws_restJson1DeletePrefetchScheduleCommand = async (input, contex
|
|
|
358
358
|
if (labelValue.length <= 0) {
|
|
359
359
|
throw new Error("Empty value provided for input HTTP label: PlaybackConfigurationName.");
|
|
360
360
|
}
|
|
361
|
-
resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
361
|
+
resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
364
364
|
throw new Error("No value provided for input HTTP label: PlaybackConfigurationName.");
|
|
@@ -385,7 +385,7 @@ const serializeAws_restJson1DeleteProgramCommand = async (input, context) => {
|
|
|
385
385
|
if (labelValue.length <= 0) {
|
|
386
386
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
387
387
|
}
|
|
388
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
388
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
389
389
|
}
|
|
390
390
|
else {
|
|
391
391
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -395,7 +395,7 @@ const serializeAws_restJson1DeleteProgramCommand = async (input, context) => {
|
|
|
395
395
|
if (labelValue.length <= 0) {
|
|
396
396
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
397
397
|
}
|
|
398
|
-
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
398
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
399
399
|
}
|
|
400
400
|
else {
|
|
401
401
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -421,7 +421,7 @@ const serializeAws_restJson1DeleteSourceLocationCommand = async (input, context)
|
|
|
421
421
|
if (labelValue.length <= 0) {
|
|
422
422
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
423
423
|
}
|
|
424
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
424
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
425
425
|
}
|
|
426
426
|
else {
|
|
427
427
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -448,7 +448,7 @@ const serializeAws_restJson1DeleteVodSourceCommand = async (input, context) => {
|
|
|
448
448
|
if (labelValue.length <= 0) {
|
|
449
449
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
450
450
|
}
|
|
451
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
451
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
452
452
|
}
|
|
453
453
|
else {
|
|
454
454
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -458,7 +458,7 @@ const serializeAws_restJson1DeleteVodSourceCommand = async (input, context) => {
|
|
|
458
458
|
if (labelValue.length <= 0) {
|
|
459
459
|
throw new Error("Empty value provided for input HTTP label: VodSourceName.");
|
|
460
460
|
}
|
|
461
|
-
resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
461
|
+
resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
462
462
|
}
|
|
463
463
|
else {
|
|
464
464
|
throw new Error("No value provided for input HTTP label: VodSourceName.");
|
|
@@ -484,7 +484,7 @@ const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
|
|
|
484
484
|
if (labelValue.length <= 0) {
|
|
485
485
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
486
486
|
}
|
|
487
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
487
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
488
488
|
}
|
|
489
489
|
else {
|
|
490
490
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -511,7 +511,7 @@ const serializeAws_restJson1DescribeProgramCommand = async (input, context) => {
|
|
|
511
511
|
if (labelValue.length <= 0) {
|
|
512
512
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
513
513
|
}
|
|
514
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
514
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
515
515
|
}
|
|
516
516
|
else {
|
|
517
517
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -521,7 +521,7 @@ const serializeAws_restJson1DescribeProgramCommand = async (input, context) => {
|
|
|
521
521
|
if (labelValue.length <= 0) {
|
|
522
522
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
523
523
|
}
|
|
524
|
-
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
524
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
525
525
|
}
|
|
526
526
|
else {
|
|
527
527
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -547,7 +547,7 @@ const serializeAws_restJson1DescribeSourceLocationCommand = async (input, contex
|
|
|
547
547
|
if (labelValue.length <= 0) {
|
|
548
548
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
549
549
|
}
|
|
550
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
550
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
551
551
|
}
|
|
552
552
|
else {
|
|
553
553
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -574,7 +574,7 @@ const serializeAws_restJson1DescribeVodSourceCommand = async (input, context) =>
|
|
|
574
574
|
if (labelValue.length <= 0) {
|
|
575
575
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
576
576
|
}
|
|
577
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
577
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
578
578
|
}
|
|
579
579
|
else {
|
|
580
580
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -584,7 +584,7 @@ const serializeAws_restJson1DescribeVodSourceCommand = async (input, context) =>
|
|
|
584
584
|
if (labelValue.length <= 0) {
|
|
585
585
|
throw new Error("Empty value provided for input HTTP label: VodSourceName.");
|
|
586
586
|
}
|
|
587
|
-
resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
587
|
+
resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
588
588
|
}
|
|
589
589
|
else {
|
|
590
590
|
throw new Error("No value provided for input HTTP label: VodSourceName.");
|
|
@@ -610,7 +610,7 @@ const serializeAws_restJson1GetChannelPolicyCommand = async (input, context) =>
|
|
|
610
610
|
if (labelValue.length <= 0) {
|
|
611
611
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
612
612
|
}
|
|
613
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
613
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
614
614
|
}
|
|
615
615
|
else {
|
|
616
616
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -636,7 +636,7 @@ const serializeAws_restJson1GetChannelScheduleCommand = async (input, context) =
|
|
|
636
636
|
if (labelValue.length <= 0) {
|
|
637
637
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
638
638
|
}
|
|
639
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
639
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
640
640
|
}
|
|
641
641
|
else {
|
|
642
642
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -668,7 +668,7 @@ const serializeAws_restJson1GetPlaybackConfigurationCommand = async (input, cont
|
|
|
668
668
|
if (labelValue.length <= 0) {
|
|
669
669
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
670
670
|
}
|
|
671
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
671
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
672
672
|
}
|
|
673
673
|
else {
|
|
674
674
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -695,7 +695,7 @@ const serializeAws_restJson1GetPrefetchScheduleCommand = async (input, context)
|
|
|
695
695
|
if (labelValue.length <= 0) {
|
|
696
696
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
697
697
|
}
|
|
698
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
698
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
699
699
|
}
|
|
700
700
|
else {
|
|
701
701
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -705,7 +705,7 @@ const serializeAws_restJson1GetPrefetchScheduleCommand = async (input, context)
|
|
|
705
705
|
if (labelValue.length <= 0) {
|
|
706
706
|
throw new Error("Empty value provided for input HTTP label: PlaybackConfigurationName.");
|
|
707
707
|
}
|
|
708
|
-
resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
708
|
+
resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
709
709
|
}
|
|
710
710
|
else {
|
|
711
711
|
throw new Error("No value provided for input HTTP label: PlaybackConfigurationName.");
|
|
@@ -798,7 +798,7 @@ const serializeAws_restJson1ListPrefetchSchedulesCommand = async (input, context
|
|
|
798
798
|
if (labelValue.length <= 0) {
|
|
799
799
|
throw new Error("Empty value provided for input HTTP label: PlaybackConfigurationName.");
|
|
800
800
|
}
|
|
801
|
-
resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
801
|
+
resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
802
802
|
}
|
|
803
803
|
else {
|
|
804
804
|
throw new Error("No value provided for input HTTP label: PlaybackConfigurationName.");
|
|
@@ -850,7 +850,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
850
850
|
if (labelValue.length <= 0) {
|
|
851
851
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
852
852
|
}
|
|
853
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
853
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
854
854
|
}
|
|
855
855
|
else {
|
|
856
856
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -877,7 +877,7 @@ const serializeAws_restJson1ListVodSourcesCommand = async (input, context) => {
|
|
|
877
877
|
if (labelValue.length <= 0) {
|
|
878
878
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
879
879
|
}
|
|
880
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
880
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
881
881
|
}
|
|
882
882
|
else {
|
|
883
883
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -910,7 +910,7 @@ const serializeAws_restJson1PutChannelPolicyCommand = async (input, context) =>
|
|
|
910
910
|
if (labelValue.length <= 0) {
|
|
911
911
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
912
912
|
}
|
|
913
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
913
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
914
914
|
}
|
|
915
915
|
else {
|
|
916
916
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -999,7 +999,7 @@ const serializeAws_restJson1StartChannelCommand = async (input, context) => {
|
|
|
999
999
|
if (labelValue.length <= 0) {
|
|
1000
1000
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
1001
1001
|
}
|
|
1002
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1002
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1003
1003
|
}
|
|
1004
1004
|
else {
|
|
1005
1005
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -1025,7 +1025,7 @@ const serializeAws_restJson1StopChannelCommand = async (input, context) => {
|
|
|
1025
1025
|
if (labelValue.length <= 0) {
|
|
1026
1026
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
1027
1027
|
}
|
|
1028
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1028
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1029
1029
|
}
|
|
1030
1030
|
else {
|
|
1031
1031
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -1053,7 +1053,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1053
1053
|
if (labelValue.length <= 0) {
|
|
1054
1054
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
1055
1055
|
}
|
|
1056
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1056
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1057
1057
|
}
|
|
1058
1058
|
else {
|
|
1059
1059
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -1083,7 +1083,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1083
1083
|
if (labelValue.length <= 0) {
|
|
1084
1084
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
1085
1085
|
}
|
|
1086
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1086
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1087
1087
|
}
|
|
1088
1088
|
else {
|
|
1089
1089
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -1115,7 +1115,7 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
|
|
|
1115
1115
|
if (labelValue.length <= 0) {
|
|
1116
1116
|
throw new Error("Empty value provided for input HTTP label: ChannelName.");
|
|
1117
1117
|
}
|
|
1118
|
-
resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1118
|
+
resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1119
1119
|
}
|
|
1120
1120
|
else {
|
|
1121
1121
|
throw new Error("No value provided for input HTTP label: ChannelName.");
|
|
@@ -1149,7 +1149,7 @@ const serializeAws_restJson1UpdateSourceLocationCommand = async (input, context)
|
|
|
1149
1149
|
if (labelValue.length <= 0) {
|
|
1150
1150
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
1151
1151
|
}
|
|
1152
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1152
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1153
1153
|
}
|
|
1154
1154
|
else {
|
|
1155
1155
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -1196,7 +1196,7 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
|
|
|
1196
1196
|
if (labelValue.length <= 0) {
|
|
1197
1197
|
throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
|
|
1198
1198
|
}
|
|
1199
|
-
resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1199
|
+
resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1200
1200
|
}
|
|
1201
1201
|
else {
|
|
1202
1202
|
throw new Error("No value provided for input HTTP label: SourceLocationName.");
|
|
@@ -1206,7 +1206,7 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
|
|
|
1206
1206
|
if (labelValue.length <= 0) {
|
|
1207
1207
|
throw new Error("Empty value provided for input HTTP label: VodSourceName.");
|
|
1208
1208
|
}
|
|
1209
|
-
resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1209
|
+
resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1210
1210
|
}
|
|
1211
1211
|
else {
|
|
1212
1212
|
throw new Error("No value provided for input HTTP label: VodSourceName.");
|
|
@@ -1238,12 +1238,12 @@ const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = asy
|
|
|
1238
1238
|
PercentEnabled: undefined,
|
|
1239
1239
|
PlaybackConfigurationName: undefined,
|
|
1240
1240
|
};
|
|
1241
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1241
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1242
1242
|
if (data.PercentEnabled !== undefined && data.PercentEnabled !== null) {
|
|
1243
|
-
contents.PercentEnabled = smithy_client_1.expectInt32(data.PercentEnabled);
|
|
1243
|
+
contents.PercentEnabled = (0, smithy_client_1.expectInt32)(data.PercentEnabled);
|
|
1244
1244
|
}
|
|
1245
1245
|
if (data.PlaybackConfigurationName !== undefined && data.PlaybackConfigurationName !== null) {
|
|
1246
|
-
contents.PlaybackConfigurationName = smithy_client_1.expectString(data.PlaybackConfigurationName);
|
|
1246
|
+
contents.PlaybackConfigurationName = (0, smithy_client_1.expectString)(data.PlaybackConfigurationName);
|
|
1247
1247
|
}
|
|
1248
1248
|
return Promise.resolve(contents);
|
|
1249
1249
|
};
|
|
@@ -1264,7 +1264,7 @@ const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError
|
|
|
1264
1264
|
$fault: "client",
|
|
1265
1265
|
$metadata: deserializeMetadata(output),
|
|
1266
1266
|
});
|
|
1267
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1267
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1268
1268
|
}
|
|
1269
1269
|
};
|
|
1270
1270
|
const deserializeAws_restJson1CreateChannelCommand = async (output, context) => {
|
|
@@ -1283,30 +1283,30 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
|
|
|
1283
1283
|
PlaybackMode: undefined,
|
|
1284
1284
|
Tags: undefined,
|
|
1285
1285
|
};
|
|
1286
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1286
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1287
1287
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1288
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1288
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1289
1289
|
}
|
|
1290
1290
|
if (data.ChannelName !== undefined && data.ChannelName !== null) {
|
|
1291
|
-
contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
|
|
1291
|
+
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
1292
1292
|
}
|
|
1293
1293
|
if (data.ChannelState !== undefined && data.ChannelState !== null) {
|
|
1294
|
-
contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
|
|
1294
|
+
contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
|
|
1295
1295
|
}
|
|
1296
1296
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
1297
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
1297
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1298
1298
|
}
|
|
1299
1299
|
if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
|
|
1300
1300
|
contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
|
|
1301
1301
|
}
|
|
1302
1302
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
1303
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
1303
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1304
1304
|
}
|
|
1305
1305
|
if (data.Outputs !== undefined && data.Outputs !== null) {
|
|
1306
1306
|
contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
|
|
1307
1307
|
}
|
|
1308
1308
|
if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
|
|
1309
|
-
contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
|
|
1309
|
+
contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
|
|
1310
1310
|
}
|
|
1311
1311
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1312
1312
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
@@ -1330,7 +1330,7 @@ const deserializeAws_restJson1CreateChannelCommandError = async (output, context
|
|
|
1330
1330
|
$fault: "client",
|
|
1331
1331
|
$metadata: deserializeMetadata(output),
|
|
1332
1332
|
});
|
|
1333
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1333
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1334
1334
|
}
|
|
1335
1335
|
};
|
|
1336
1336
|
const deserializeAws_restJson1CreatePrefetchScheduleCommand = async (output, context) => {
|
|
@@ -1346,24 +1346,24 @@ const deserializeAws_restJson1CreatePrefetchScheduleCommand = async (output, con
|
|
|
1346
1346
|
Retrieval: undefined,
|
|
1347
1347
|
StreamId: undefined,
|
|
1348
1348
|
};
|
|
1349
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1349
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1350
1350
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1351
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1351
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1352
1352
|
}
|
|
1353
1353
|
if (data.Consumption !== undefined && data.Consumption !== null) {
|
|
1354
1354
|
contents.Consumption = deserializeAws_restJson1PrefetchConsumption(data.Consumption, context);
|
|
1355
1355
|
}
|
|
1356
1356
|
if (data.Name !== undefined && data.Name !== null) {
|
|
1357
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
1357
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
1358
1358
|
}
|
|
1359
1359
|
if (data.PlaybackConfigurationName !== undefined && data.PlaybackConfigurationName !== null) {
|
|
1360
|
-
contents.PlaybackConfigurationName = smithy_client_1.expectString(data.PlaybackConfigurationName);
|
|
1360
|
+
contents.PlaybackConfigurationName = (0, smithy_client_1.expectString)(data.PlaybackConfigurationName);
|
|
1361
1361
|
}
|
|
1362
1362
|
if (data.Retrieval !== undefined && data.Retrieval !== null) {
|
|
1363
1363
|
contents.Retrieval = deserializeAws_restJson1PrefetchRetrieval(data.Retrieval, context);
|
|
1364
1364
|
}
|
|
1365
1365
|
if (data.StreamId !== undefined && data.StreamId !== null) {
|
|
1366
|
-
contents.StreamId = smithy_client_1.expectString(data.StreamId);
|
|
1366
|
+
contents.StreamId = (0, smithy_client_1.expectString)(data.StreamId);
|
|
1367
1367
|
}
|
|
1368
1368
|
return Promise.resolve(contents);
|
|
1369
1369
|
};
|
|
@@ -1384,7 +1384,7 @@ const deserializeAws_restJson1CreatePrefetchScheduleCommandError = async (output
|
|
|
1384
1384
|
$fault: "client",
|
|
1385
1385
|
$metadata: deserializeMetadata(output),
|
|
1386
1386
|
});
|
|
1387
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1387
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1388
1388
|
}
|
|
1389
1389
|
};
|
|
1390
1390
|
const deserializeAws_restJson1CreateProgramCommand = async (output, context) => {
|
|
@@ -1402,30 +1402,30 @@ const deserializeAws_restJson1CreateProgramCommand = async (output, context) =>
|
|
|
1402
1402
|
SourceLocationName: undefined,
|
|
1403
1403
|
VodSourceName: undefined,
|
|
1404
1404
|
};
|
|
1405
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1405
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1406
1406
|
if (data.AdBreaks !== undefined && data.AdBreaks !== null) {
|
|
1407
1407
|
contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
|
|
1408
1408
|
}
|
|
1409
1409
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1410
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1410
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1411
1411
|
}
|
|
1412
1412
|
if (data.ChannelName !== undefined && data.ChannelName !== null) {
|
|
1413
|
-
contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
|
|
1413
|
+
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
1414
1414
|
}
|
|
1415
1415
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
1416
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
1416
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1417
1417
|
}
|
|
1418
1418
|
if (data.ProgramName !== undefined && data.ProgramName !== null) {
|
|
1419
|
-
contents.ProgramName = smithy_client_1.expectString(data.ProgramName);
|
|
1419
|
+
contents.ProgramName = (0, smithy_client_1.expectString)(data.ProgramName);
|
|
1420
1420
|
}
|
|
1421
1421
|
if (data.ScheduledStartTime !== undefined && data.ScheduledStartTime !== null) {
|
|
1422
|
-
contents.ScheduledStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ScheduledStartTime)));
|
|
1422
|
+
contents.ScheduledStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ScheduledStartTime)));
|
|
1423
1423
|
}
|
|
1424
1424
|
if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
|
|
1425
|
-
contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
|
|
1425
|
+
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1426
1426
|
}
|
|
1427
1427
|
if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
|
|
1428
|
-
contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
|
|
1428
|
+
contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
|
|
1429
1429
|
}
|
|
1430
1430
|
return Promise.resolve(contents);
|
|
1431
1431
|
};
|
|
@@ -1446,7 +1446,7 @@ const deserializeAws_restJson1CreateProgramCommandError = async (output, context
|
|
|
1446
1446
|
$fault: "client",
|
|
1447
1447
|
$metadata: deserializeMetadata(output),
|
|
1448
1448
|
});
|
|
1449
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1449
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1450
1450
|
}
|
|
1451
1451
|
};
|
|
1452
1452
|
const deserializeAws_restJson1CreateSourceLocationCommand = async (output, context) => {
|
|
@@ -1465,15 +1465,15 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
|
|
|
1465
1465
|
SourceLocationName: undefined,
|
|
1466
1466
|
Tags: undefined,
|
|
1467
1467
|
};
|
|
1468
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1468
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1469
1469
|
if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
|
|
1470
1470
|
contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
|
|
1471
1471
|
}
|
|
1472
1472
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1473
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1473
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1474
1474
|
}
|
|
1475
1475
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
1476
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
1476
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1477
1477
|
}
|
|
1478
1478
|
if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
|
|
1479
1479
|
contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
|
|
@@ -1482,13 +1482,13 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
|
|
|
1482
1482
|
contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
|
|
1483
1483
|
}
|
|
1484
1484
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
1485
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
1485
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1486
1486
|
}
|
|
1487
1487
|
if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
|
|
1488
1488
|
contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
|
|
1489
1489
|
}
|
|
1490
1490
|
if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
|
|
1491
|
-
contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
|
|
1491
|
+
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1492
1492
|
}
|
|
1493
1493
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1494
1494
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
@@ -1512,7 +1512,7 @@ const deserializeAws_restJson1CreateSourceLocationCommandError = async (output,
|
|
|
1512
1512
|
$fault: "client",
|
|
1513
1513
|
$metadata: deserializeMetadata(output),
|
|
1514
1514
|
});
|
|
1515
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1515
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1516
1516
|
}
|
|
1517
1517
|
};
|
|
1518
1518
|
const deserializeAws_restJson1CreateVodSourceCommand = async (output, context) => {
|
|
@@ -1529,27 +1529,27 @@ const deserializeAws_restJson1CreateVodSourceCommand = async (output, context) =
|
|
|
1529
1529
|
Tags: undefined,
|
|
1530
1530
|
VodSourceName: undefined,
|
|
1531
1531
|
};
|
|
1532
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1532
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1533
1533
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1534
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1534
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1535
1535
|
}
|
|
1536
1536
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
1537
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
1537
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1538
1538
|
}
|
|
1539
1539
|
if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
|
|
1540
1540
|
contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
1541
1541
|
}
|
|
1542
1542
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
1543
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
1543
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1544
1544
|
}
|
|
1545
1545
|
if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
|
|
1546
|
-
contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
|
|
1546
|
+
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1547
1547
|
}
|
|
1548
1548
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1549
1549
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
1550
1550
|
}
|
|
1551
1551
|
if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
|
|
1552
|
-
contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
|
|
1552
|
+
contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
|
|
1553
1553
|
}
|
|
1554
1554
|
return Promise.resolve(contents);
|
|
1555
1555
|
};
|
|
@@ -1570,7 +1570,7 @@ const deserializeAws_restJson1CreateVodSourceCommandError = async (output, conte
|
|
|
1570
1570
|
$fault: "client",
|
|
1571
1571
|
$metadata: deserializeMetadata(output),
|
|
1572
1572
|
});
|
|
1573
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1573
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1574
1574
|
}
|
|
1575
1575
|
};
|
|
1576
1576
|
const deserializeAws_restJson1DeleteChannelCommand = async (output, context) => {
|
|
@@ -1600,7 +1600,7 @@ const deserializeAws_restJson1DeleteChannelCommandError = async (output, context
|
|
|
1600
1600
|
$fault: "client",
|
|
1601
1601
|
$metadata: deserializeMetadata(output),
|
|
1602
1602
|
});
|
|
1603
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1603
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1604
1604
|
}
|
|
1605
1605
|
};
|
|
1606
1606
|
const deserializeAws_restJson1DeleteChannelPolicyCommand = async (output, context) => {
|
|
@@ -1630,7 +1630,7 @@ const deserializeAws_restJson1DeleteChannelPolicyCommandError = async (output, c
|
|
|
1630
1630
|
$fault: "client",
|
|
1631
1631
|
$metadata: deserializeMetadata(output),
|
|
1632
1632
|
});
|
|
1633
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1633
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1634
1634
|
}
|
|
1635
1635
|
};
|
|
1636
1636
|
const deserializeAws_restJson1DeletePlaybackConfigurationCommand = async (output, context) => {
|
|
@@ -1660,7 +1660,7 @@ const deserializeAws_restJson1DeletePlaybackConfigurationCommandError = async (o
|
|
|
1660
1660
|
$fault: "client",
|
|
1661
1661
|
$metadata: deserializeMetadata(output),
|
|
1662
1662
|
});
|
|
1663
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1663
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1664
1664
|
}
|
|
1665
1665
|
};
|
|
1666
1666
|
const deserializeAws_restJson1DeletePrefetchScheduleCommand = async (output, context) => {
|
|
@@ -1690,7 +1690,7 @@ const deserializeAws_restJson1DeletePrefetchScheduleCommandError = async (output
|
|
|
1690
1690
|
$fault: "client",
|
|
1691
1691
|
$metadata: deserializeMetadata(output),
|
|
1692
1692
|
});
|
|
1693
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1693
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1694
1694
|
}
|
|
1695
1695
|
};
|
|
1696
1696
|
const deserializeAws_restJson1DeleteProgramCommand = async (output, context) => {
|
|
@@ -1720,7 +1720,7 @@ const deserializeAws_restJson1DeleteProgramCommandError = async (output, context
|
|
|
1720
1720
|
$fault: "client",
|
|
1721
1721
|
$metadata: deserializeMetadata(output),
|
|
1722
1722
|
});
|
|
1723
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1723
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1724
1724
|
}
|
|
1725
1725
|
};
|
|
1726
1726
|
const deserializeAws_restJson1DeleteSourceLocationCommand = async (output, context) => {
|
|
@@ -1750,7 +1750,7 @@ const deserializeAws_restJson1DeleteSourceLocationCommandError = async (output,
|
|
|
1750
1750
|
$fault: "client",
|
|
1751
1751
|
$metadata: deserializeMetadata(output),
|
|
1752
1752
|
});
|
|
1753
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1753
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1754
1754
|
}
|
|
1755
1755
|
};
|
|
1756
1756
|
const deserializeAws_restJson1DeleteVodSourceCommand = async (output, context) => {
|
|
@@ -1780,7 +1780,7 @@ const deserializeAws_restJson1DeleteVodSourceCommandError = async (output, conte
|
|
|
1780
1780
|
$fault: "client",
|
|
1781
1781
|
$metadata: deserializeMetadata(output),
|
|
1782
1782
|
});
|
|
1783
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1783
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1784
1784
|
}
|
|
1785
1785
|
};
|
|
1786
1786
|
const deserializeAws_restJson1DescribeChannelCommand = async (output, context) => {
|
|
@@ -1799,30 +1799,30 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
1799
1799
|
PlaybackMode: undefined,
|
|
1800
1800
|
Tags: undefined,
|
|
1801
1801
|
};
|
|
1802
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1802
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1803
1803
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1804
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1804
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1805
1805
|
}
|
|
1806
1806
|
if (data.ChannelName !== undefined && data.ChannelName !== null) {
|
|
1807
|
-
contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
|
|
1807
|
+
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
1808
1808
|
}
|
|
1809
1809
|
if (data.ChannelState !== undefined && data.ChannelState !== null) {
|
|
1810
|
-
contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
|
|
1810
|
+
contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
|
|
1811
1811
|
}
|
|
1812
1812
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
1813
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
1813
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1814
1814
|
}
|
|
1815
1815
|
if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
|
|
1816
1816
|
contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
|
|
1817
1817
|
}
|
|
1818
1818
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
1819
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
1819
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1820
1820
|
}
|
|
1821
1821
|
if (data.Outputs !== undefined && data.Outputs !== null) {
|
|
1822
1822
|
contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
|
|
1823
1823
|
}
|
|
1824
1824
|
if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
|
|
1825
|
-
contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
|
|
1825
|
+
contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
|
|
1826
1826
|
}
|
|
1827
1827
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1828
1828
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
@@ -1846,7 +1846,7 @@ const deserializeAws_restJson1DescribeChannelCommandError = async (output, conte
|
|
|
1846
1846
|
$fault: "client",
|
|
1847
1847
|
$metadata: deserializeMetadata(output),
|
|
1848
1848
|
});
|
|
1849
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1849
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1850
1850
|
}
|
|
1851
1851
|
};
|
|
1852
1852
|
const deserializeAws_restJson1DescribeProgramCommand = async (output, context) => {
|
|
@@ -1864,30 +1864,30 @@ const deserializeAws_restJson1DescribeProgramCommand = async (output, context) =
|
|
|
1864
1864
|
SourceLocationName: undefined,
|
|
1865
1865
|
VodSourceName: undefined,
|
|
1866
1866
|
};
|
|
1867
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1867
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1868
1868
|
if (data.AdBreaks !== undefined && data.AdBreaks !== null) {
|
|
1869
1869
|
contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
|
|
1870
1870
|
}
|
|
1871
1871
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1872
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1872
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1873
1873
|
}
|
|
1874
1874
|
if (data.ChannelName !== undefined && data.ChannelName !== null) {
|
|
1875
|
-
contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
|
|
1875
|
+
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
1876
1876
|
}
|
|
1877
1877
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
1878
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
1878
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1879
1879
|
}
|
|
1880
1880
|
if (data.ProgramName !== undefined && data.ProgramName !== null) {
|
|
1881
|
-
contents.ProgramName = smithy_client_1.expectString(data.ProgramName);
|
|
1881
|
+
contents.ProgramName = (0, smithy_client_1.expectString)(data.ProgramName);
|
|
1882
1882
|
}
|
|
1883
1883
|
if (data.ScheduledStartTime !== undefined && data.ScheduledStartTime !== null) {
|
|
1884
|
-
contents.ScheduledStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ScheduledStartTime)));
|
|
1884
|
+
contents.ScheduledStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ScheduledStartTime)));
|
|
1885
1885
|
}
|
|
1886
1886
|
if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
|
|
1887
|
-
contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
|
|
1887
|
+
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1888
1888
|
}
|
|
1889
1889
|
if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
|
|
1890
|
-
contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
|
|
1890
|
+
contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
|
|
1891
1891
|
}
|
|
1892
1892
|
return Promise.resolve(contents);
|
|
1893
1893
|
};
|
|
@@ -1908,7 +1908,7 @@ const deserializeAws_restJson1DescribeProgramCommandError = async (output, conte
|
|
|
1908
1908
|
$fault: "client",
|
|
1909
1909
|
$metadata: deserializeMetadata(output),
|
|
1910
1910
|
});
|
|
1911
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1911
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1912
1912
|
}
|
|
1913
1913
|
};
|
|
1914
1914
|
const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, context) => {
|
|
@@ -1927,15 +1927,15 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
|
|
|
1927
1927
|
SourceLocationName: undefined,
|
|
1928
1928
|
Tags: undefined,
|
|
1929
1929
|
};
|
|
1930
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1930
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1931
1931
|
if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
|
|
1932
1932
|
contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
|
|
1933
1933
|
}
|
|
1934
1934
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1935
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1935
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1936
1936
|
}
|
|
1937
1937
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
1938
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
1938
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1939
1939
|
}
|
|
1940
1940
|
if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
|
|
1941
1941
|
contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
|
|
@@ -1944,13 +1944,13 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
|
|
|
1944
1944
|
contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
|
|
1945
1945
|
}
|
|
1946
1946
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
1947
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
1947
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1948
1948
|
}
|
|
1949
1949
|
if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
|
|
1950
1950
|
contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
|
|
1951
1951
|
}
|
|
1952
1952
|
if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
|
|
1953
|
-
contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
|
|
1953
|
+
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1954
1954
|
}
|
|
1955
1955
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1956
1956
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
@@ -1974,7 +1974,7 @@ const deserializeAws_restJson1DescribeSourceLocationCommandError = async (output
|
|
|
1974
1974
|
$fault: "client",
|
|
1975
1975
|
$metadata: deserializeMetadata(output),
|
|
1976
1976
|
});
|
|
1977
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1977
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1978
1978
|
}
|
|
1979
1979
|
};
|
|
1980
1980
|
const deserializeAws_restJson1DescribeVodSourceCommand = async (output, context) => {
|
|
@@ -1991,27 +1991,27 @@ const deserializeAws_restJson1DescribeVodSourceCommand = async (output, context)
|
|
|
1991
1991
|
Tags: undefined,
|
|
1992
1992
|
VodSourceName: undefined,
|
|
1993
1993
|
};
|
|
1994
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1994
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1995
1995
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
1996
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
1996
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1997
1997
|
}
|
|
1998
1998
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
1999
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
1999
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
2000
2000
|
}
|
|
2001
2001
|
if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
|
|
2002
2002
|
contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
2003
2003
|
}
|
|
2004
2004
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
2005
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
2005
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
2006
2006
|
}
|
|
2007
2007
|
if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
|
|
2008
|
-
contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
|
|
2008
|
+
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
2009
2009
|
}
|
|
2010
2010
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2011
2011
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
|
|
2014
|
-
contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
|
|
2014
|
+
contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
|
|
2015
2015
|
}
|
|
2016
2016
|
return Promise.resolve(contents);
|
|
2017
2017
|
};
|
|
@@ -2032,7 +2032,7 @@ const deserializeAws_restJson1DescribeVodSourceCommandError = async (output, con
|
|
|
2032
2032
|
$fault: "client",
|
|
2033
2033
|
$metadata: deserializeMetadata(output),
|
|
2034
2034
|
});
|
|
2035
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2035
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2036
2036
|
}
|
|
2037
2037
|
};
|
|
2038
2038
|
const deserializeAws_restJson1GetChannelPolicyCommand = async (output, context) => {
|
|
@@ -2043,9 +2043,9 @@ const deserializeAws_restJson1GetChannelPolicyCommand = async (output, context)
|
|
|
2043
2043
|
$metadata: deserializeMetadata(output),
|
|
2044
2044
|
Policy: undefined,
|
|
2045
2045
|
};
|
|
2046
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2046
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2047
2047
|
if (data.Policy !== undefined && data.Policy !== null) {
|
|
2048
|
-
contents.Policy = smithy_client_1.expectString(data.Policy);
|
|
2048
|
+
contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
|
|
2049
2049
|
}
|
|
2050
2050
|
return Promise.resolve(contents);
|
|
2051
2051
|
};
|
|
@@ -2066,7 +2066,7 @@ const deserializeAws_restJson1GetChannelPolicyCommandError = async (output, cont
|
|
|
2066
2066
|
$fault: "client",
|
|
2067
2067
|
$metadata: deserializeMetadata(output),
|
|
2068
2068
|
});
|
|
2069
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2069
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2070
2070
|
}
|
|
2071
2071
|
};
|
|
2072
2072
|
const deserializeAws_restJson1GetChannelScheduleCommand = async (output, context) => {
|
|
@@ -2078,12 +2078,12 @@ const deserializeAws_restJson1GetChannelScheduleCommand = async (output, context
|
|
|
2078
2078
|
Items: undefined,
|
|
2079
2079
|
NextToken: undefined,
|
|
2080
2080
|
};
|
|
2081
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2081
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2082
2082
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2083
2083
|
contents.Items = deserializeAws_restJson1__listOfScheduleEntry(data.Items, context);
|
|
2084
2084
|
}
|
|
2085
2085
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2086
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2086
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2087
2087
|
}
|
|
2088
2088
|
return Promise.resolve(contents);
|
|
2089
2089
|
};
|
|
@@ -2104,7 +2104,7 @@ const deserializeAws_restJson1GetChannelScheduleCommandError = async (output, co
|
|
|
2104
2104
|
$fault: "client",
|
|
2105
2105
|
$metadata: deserializeMetadata(output),
|
|
2106
2106
|
});
|
|
2107
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2107
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2108
2108
|
}
|
|
2109
2109
|
};
|
|
2110
2110
|
const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, context) => {
|
|
@@ -2133,9 +2133,9 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
|
|
|
2133
2133
|
TranscodeProfileName: undefined,
|
|
2134
2134
|
VideoContentSourceUrl: undefined,
|
|
2135
2135
|
};
|
|
2136
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2136
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2137
2137
|
if (data.AdDecisionServerUrl !== undefined && data.AdDecisionServerUrl !== null) {
|
|
2138
|
-
contents.AdDecisionServerUrl = smithy_client_1.expectString(data.AdDecisionServerUrl);
|
|
2138
|
+
contents.AdDecisionServerUrl = (0, smithy_client_1.expectString)(data.AdDecisionServerUrl);
|
|
2139
2139
|
}
|
|
2140
2140
|
if (data.AvailSuppression !== undefined && data.AvailSuppression !== null) {
|
|
2141
2141
|
contents.AvailSuppression = deserializeAws_restJson1AvailSuppression(data.AvailSuppression, context);
|
|
@@ -2165,31 +2165,31 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
|
|
|
2165
2165
|
contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(data.ManifestProcessingRules, context);
|
|
2166
2166
|
}
|
|
2167
2167
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2168
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2168
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2169
2169
|
}
|
|
2170
2170
|
if (data.PersonalizationThresholdSeconds !== undefined && data.PersonalizationThresholdSeconds !== null) {
|
|
2171
|
-
contents.PersonalizationThresholdSeconds = smithy_client_1.expectInt32(data.PersonalizationThresholdSeconds);
|
|
2171
|
+
contents.PersonalizationThresholdSeconds = (0, smithy_client_1.expectInt32)(data.PersonalizationThresholdSeconds);
|
|
2172
2172
|
}
|
|
2173
2173
|
if (data.PlaybackConfigurationArn !== undefined && data.PlaybackConfigurationArn !== null) {
|
|
2174
|
-
contents.PlaybackConfigurationArn = smithy_client_1.expectString(data.PlaybackConfigurationArn);
|
|
2174
|
+
contents.PlaybackConfigurationArn = (0, smithy_client_1.expectString)(data.PlaybackConfigurationArn);
|
|
2175
2175
|
}
|
|
2176
2176
|
if (data.PlaybackEndpointPrefix !== undefined && data.PlaybackEndpointPrefix !== null) {
|
|
2177
|
-
contents.PlaybackEndpointPrefix = smithy_client_1.expectString(data.PlaybackEndpointPrefix);
|
|
2177
|
+
contents.PlaybackEndpointPrefix = (0, smithy_client_1.expectString)(data.PlaybackEndpointPrefix);
|
|
2178
2178
|
}
|
|
2179
2179
|
if (data.SessionInitializationEndpointPrefix !== undefined && data.SessionInitializationEndpointPrefix !== null) {
|
|
2180
|
-
contents.SessionInitializationEndpointPrefix = smithy_client_1.expectString(data.SessionInitializationEndpointPrefix);
|
|
2180
|
+
contents.SessionInitializationEndpointPrefix = (0, smithy_client_1.expectString)(data.SessionInitializationEndpointPrefix);
|
|
2181
2181
|
}
|
|
2182
2182
|
if (data.SlateAdUrl !== undefined && data.SlateAdUrl !== null) {
|
|
2183
|
-
contents.SlateAdUrl = smithy_client_1.expectString(data.SlateAdUrl);
|
|
2183
|
+
contents.SlateAdUrl = (0, smithy_client_1.expectString)(data.SlateAdUrl);
|
|
2184
2184
|
}
|
|
2185
2185
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2186
2186
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2187
2187
|
}
|
|
2188
2188
|
if (data.TranscodeProfileName !== undefined && data.TranscodeProfileName !== null) {
|
|
2189
|
-
contents.TranscodeProfileName = smithy_client_1.expectString(data.TranscodeProfileName);
|
|
2189
|
+
contents.TranscodeProfileName = (0, smithy_client_1.expectString)(data.TranscodeProfileName);
|
|
2190
2190
|
}
|
|
2191
2191
|
if (data.VideoContentSourceUrl !== undefined && data.VideoContentSourceUrl !== null) {
|
|
2192
|
-
contents.VideoContentSourceUrl = smithy_client_1.expectString(data.VideoContentSourceUrl);
|
|
2192
|
+
contents.VideoContentSourceUrl = (0, smithy_client_1.expectString)(data.VideoContentSourceUrl);
|
|
2193
2193
|
}
|
|
2194
2194
|
return Promise.resolve(contents);
|
|
2195
2195
|
};
|
|
@@ -2210,7 +2210,7 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommandError = async (outp
|
|
|
2210
2210
|
$fault: "client",
|
|
2211
2211
|
$metadata: deserializeMetadata(output),
|
|
2212
2212
|
});
|
|
2213
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2213
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2214
2214
|
}
|
|
2215
2215
|
};
|
|
2216
2216
|
const deserializeAws_restJson1GetPrefetchScheduleCommand = async (output, context) => {
|
|
@@ -2226,24 +2226,24 @@ const deserializeAws_restJson1GetPrefetchScheduleCommand = async (output, contex
|
|
|
2226
2226
|
Retrieval: undefined,
|
|
2227
2227
|
StreamId: undefined,
|
|
2228
2228
|
};
|
|
2229
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2229
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2230
2230
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
2231
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
2231
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
2232
2232
|
}
|
|
2233
2233
|
if (data.Consumption !== undefined && data.Consumption !== null) {
|
|
2234
2234
|
contents.Consumption = deserializeAws_restJson1PrefetchConsumption(data.Consumption, context);
|
|
2235
2235
|
}
|
|
2236
2236
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2237
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2237
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2238
2238
|
}
|
|
2239
2239
|
if (data.PlaybackConfigurationName !== undefined && data.PlaybackConfigurationName !== null) {
|
|
2240
|
-
contents.PlaybackConfigurationName = smithy_client_1.expectString(data.PlaybackConfigurationName);
|
|
2240
|
+
contents.PlaybackConfigurationName = (0, smithy_client_1.expectString)(data.PlaybackConfigurationName);
|
|
2241
2241
|
}
|
|
2242
2242
|
if (data.Retrieval !== undefined && data.Retrieval !== null) {
|
|
2243
2243
|
contents.Retrieval = deserializeAws_restJson1PrefetchRetrieval(data.Retrieval, context);
|
|
2244
2244
|
}
|
|
2245
2245
|
if (data.StreamId !== undefined && data.StreamId !== null) {
|
|
2246
|
-
contents.StreamId = smithy_client_1.expectString(data.StreamId);
|
|
2246
|
+
contents.StreamId = (0, smithy_client_1.expectString)(data.StreamId);
|
|
2247
2247
|
}
|
|
2248
2248
|
return Promise.resolve(contents);
|
|
2249
2249
|
};
|
|
@@ -2264,7 +2264,7 @@ const deserializeAws_restJson1GetPrefetchScheduleCommandError = async (output, c
|
|
|
2264
2264
|
$fault: "client",
|
|
2265
2265
|
$metadata: deserializeMetadata(output),
|
|
2266
2266
|
});
|
|
2267
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2267
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2268
2268
|
}
|
|
2269
2269
|
};
|
|
2270
2270
|
const deserializeAws_restJson1ListAlertsCommand = async (output, context) => {
|
|
@@ -2276,12 +2276,12 @@ const deserializeAws_restJson1ListAlertsCommand = async (output, context) => {
|
|
|
2276
2276
|
Items: undefined,
|
|
2277
2277
|
NextToken: undefined,
|
|
2278
2278
|
};
|
|
2279
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2279
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2280
2280
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2281
2281
|
contents.Items = deserializeAws_restJson1__listOfAlert(data.Items, context);
|
|
2282
2282
|
}
|
|
2283
2283
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2284
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2284
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2285
2285
|
}
|
|
2286
2286
|
return Promise.resolve(contents);
|
|
2287
2287
|
};
|
|
@@ -2302,7 +2302,7 @@ const deserializeAws_restJson1ListAlertsCommandError = async (output, context) =
|
|
|
2302
2302
|
$fault: "client",
|
|
2303
2303
|
$metadata: deserializeMetadata(output),
|
|
2304
2304
|
});
|
|
2305
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2305
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2306
2306
|
}
|
|
2307
2307
|
};
|
|
2308
2308
|
const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
@@ -2314,12 +2314,12 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
|
2314
2314
|
Items: undefined,
|
|
2315
2315
|
NextToken: undefined,
|
|
2316
2316
|
};
|
|
2317
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2317
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2318
2318
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2319
2319
|
contents.Items = deserializeAws_restJson1__listOfChannel(data.Items, context);
|
|
2320
2320
|
}
|
|
2321
2321
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2322
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2322
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2323
2323
|
}
|
|
2324
2324
|
return Promise.resolve(contents);
|
|
2325
2325
|
};
|
|
@@ -2340,7 +2340,7 @@ const deserializeAws_restJson1ListChannelsCommandError = async (output, context)
|
|
|
2340
2340
|
$fault: "client",
|
|
2341
2341
|
$metadata: deserializeMetadata(output),
|
|
2342
2342
|
});
|
|
2343
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2343
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2344
2344
|
}
|
|
2345
2345
|
};
|
|
2346
2346
|
const deserializeAws_restJson1ListPlaybackConfigurationsCommand = async (output, context) => {
|
|
@@ -2352,12 +2352,12 @@ const deserializeAws_restJson1ListPlaybackConfigurationsCommand = async (output,
|
|
|
2352
2352
|
Items: undefined,
|
|
2353
2353
|
NextToken: undefined,
|
|
2354
2354
|
};
|
|
2355
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2355
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2356
2356
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2357
2357
|
contents.Items = deserializeAws_restJson1__listOfPlaybackConfiguration(data.Items, context);
|
|
2358
2358
|
}
|
|
2359
2359
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2360
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2360
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2361
2361
|
}
|
|
2362
2362
|
return Promise.resolve(contents);
|
|
2363
2363
|
};
|
|
@@ -2378,7 +2378,7 @@ const deserializeAws_restJson1ListPlaybackConfigurationsCommandError = async (ou
|
|
|
2378
2378
|
$fault: "client",
|
|
2379
2379
|
$metadata: deserializeMetadata(output),
|
|
2380
2380
|
});
|
|
2381
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2381
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2382
2382
|
}
|
|
2383
2383
|
};
|
|
2384
2384
|
const deserializeAws_restJson1ListPrefetchSchedulesCommand = async (output, context) => {
|
|
@@ -2390,12 +2390,12 @@ const deserializeAws_restJson1ListPrefetchSchedulesCommand = async (output, cont
|
|
|
2390
2390
|
Items: undefined,
|
|
2391
2391
|
NextToken: undefined,
|
|
2392
2392
|
};
|
|
2393
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2393
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2394
2394
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2395
2395
|
contents.Items = deserializeAws_restJson1__listOfPrefetchSchedule(data.Items, context);
|
|
2396
2396
|
}
|
|
2397
2397
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2398
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2398
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2399
2399
|
}
|
|
2400
2400
|
return Promise.resolve(contents);
|
|
2401
2401
|
};
|
|
@@ -2416,7 +2416,7 @@ const deserializeAws_restJson1ListPrefetchSchedulesCommandError = async (output,
|
|
|
2416
2416
|
$fault: "client",
|
|
2417
2417
|
$metadata: deserializeMetadata(output),
|
|
2418
2418
|
});
|
|
2419
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2419
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2420
2420
|
}
|
|
2421
2421
|
};
|
|
2422
2422
|
const deserializeAws_restJson1ListSourceLocationsCommand = async (output, context) => {
|
|
@@ -2428,12 +2428,12 @@ const deserializeAws_restJson1ListSourceLocationsCommand = async (output, contex
|
|
|
2428
2428
|
Items: undefined,
|
|
2429
2429
|
NextToken: undefined,
|
|
2430
2430
|
};
|
|
2431
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2431
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2432
2432
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2433
2433
|
contents.Items = deserializeAws_restJson1__listOfSourceLocation(data.Items, context);
|
|
2434
2434
|
}
|
|
2435
2435
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2436
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2436
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2437
2437
|
}
|
|
2438
2438
|
return Promise.resolve(contents);
|
|
2439
2439
|
};
|
|
@@ -2454,7 +2454,7 @@ const deserializeAws_restJson1ListSourceLocationsCommandError = async (output, c
|
|
|
2454
2454
|
$fault: "client",
|
|
2455
2455
|
$metadata: deserializeMetadata(output),
|
|
2456
2456
|
});
|
|
2457
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2457
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2458
2458
|
}
|
|
2459
2459
|
};
|
|
2460
2460
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2465,7 +2465,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2465
2465
|
$metadata: deserializeMetadata(output),
|
|
2466
2466
|
Tags: undefined,
|
|
2467
2467
|
};
|
|
2468
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2468
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2469
2469
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2470
2470
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2471
2471
|
}
|
|
@@ -2491,7 +2491,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2491
2491
|
$fault: "client",
|
|
2492
2492
|
$metadata: deserializeMetadata(output),
|
|
2493
2493
|
});
|
|
2494
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2494
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2495
2495
|
}
|
|
2496
2496
|
};
|
|
2497
2497
|
const deserializeAws_restJson1ListVodSourcesCommand = async (output, context) => {
|
|
@@ -2503,12 +2503,12 @@ const deserializeAws_restJson1ListVodSourcesCommand = async (output, context) =>
|
|
|
2503
2503
|
Items: undefined,
|
|
2504
2504
|
NextToken: undefined,
|
|
2505
2505
|
};
|
|
2506
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2506
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2507
2507
|
if (data.Items !== undefined && data.Items !== null) {
|
|
2508
2508
|
contents.Items = deserializeAws_restJson1__listOfVodSource(data.Items, context);
|
|
2509
2509
|
}
|
|
2510
2510
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2511
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2511
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2512
2512
|
}
|
|
2513
2513
|
return Promise.resolve(contents);
|
|
2514
2514
|
};
|
|
@@ -2529,7 +2529,7 @@ const deserializeAws_restJson1ListVodSourcesCommandError = async (output, contex
|
|
|
2529
2529
|
$fault: "client",
|
|
2530
2530
|
$metadata: deserializeMetadata(output),
|
|
2531
2531
|
});
|
|
2532
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2532
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2533
2533
|
}
|
|
2534
2534
|
};
|
|
2535
2535
|
const deserializeAws_restJson1PutChannelPolicyCommand = async (output, context) => {
|
|
@@ -2559,7 +2559,7 @@ const deserializeAws_restJson1PutChannelPolicyCommandError = async (output, cont
|
|
|
2559
2559
|
$fault: "client",
|
|
2560
2560
|
$metadata: deserializeMetadata(output),
|
|
2561
2561
|
});
|
|
2562
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2562
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2563
2563
|
}
|
|
2564
2564
|
};
|
|
2565
2565
|
const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, context) => {
|
|
@@ -2588,9 +2588,9 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
|
|
|
2588
2588
|
TranscodeProfileName: undefined,
|
|
2589
2589
|
VideoContentSourceUrl: undefined,
|
|
2590
2590
|
};
|
|
2591
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2591
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2592
2592
|
if (data.AdDecisionServerUrl !== undefined && data.AdDecisionServerUrl !== null) {
|
|
2593
|
-
contents.AdDecisionServerUrl = smithy_client_1.expectString(data.AdDecisionServerUrl);
|
|
2593
|
+
contents.AdDecisionServerUrl = (0, smithy_client_1.expectString)(data.AdDecisionServerUrl);
|
|
2594
2594
|
}
|
|
2595
2595
|
if (data.AvailSuppression !== undefined && data.AvailSuppression !== null) {
|
|
2596
2596
|
contents.AvailSuppression = deserializeAws_restJson1AvailSuppression(data.AvailSuppression, context);
|
|
@@ -2620,31 +2620,31 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
|
|
|
2620
2620
|
contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(data.ManifestProcessingRules, context);
|
|
2621
2621
|
}
|
|
2622
2622
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2623
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2623
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2624
2624
|
}
|
|
2625
2625
|
if (data.PersonalizationThresholdSeconds !== undefined && data.PersonalizationThresholdSeconds !== null) {
|
|
2626
|
-
contents.PersonalizationThresholdSeconds = smithy_client_1.expectInt32(data.PersonalizationThresholdSeconds);
|
|
2626
|
+
contents.PersonalizationThresholdSeconds = (0, smithy_client_1.expectInt32)(data.PersonalizationThresholdSeconds);
|
|
2627
2627
|
}
|
|
2628
2628
|
if (data.PlaybackConfigurationArn !== undefined && data.PlaybackConfigurationArn !== null) {
|
|
2629
|
-
contents.PlaybackConfigurationArn = smithy_client_1.expectString(data.PlaybackConfigurationArn);
|
|
2629
|
+
contents.PlaybackConfigurationArn = (0, smithy_client_1.expectString)(data.PlaybackConfigurationArn);
|
|
2630
2630
|
}
|
|
2631
2631
|
if (data.PlaybackEndpointPrefix !== undefined && data.PlaybackEndpointPrefix !== null) {
|
|
2632
|
-
contents.PlaybackEndpointPrefix = smithy_client_1.expectString(data.PlaybackEndpointPrefix);
|
|
2632
|
+
contents.PlaybackEndpointPrefix = (0, smithy_client_1.expectString)(data.PlaybackEndpointPrefix);
|
|
2633
2633
|
}
|
|
2634
2634
|
if (data.SessionInitializationEndpointPrefix !== undefined && data.SessionInitializationEndpointPrefix !== null) {
|
|
2635
|
-
contents.SessionInitializationEndpointPrefix = smithy_client_1.expectString(data.SessionInitializationEndpointPrefix);
|
|
2635
|
+
contents.SessionInitializationEndpointPrefix = (0, smithy_client_1.expectString)(data.SessionInitializationEndpointPrefix);
|
|
2636
2636
|
}
|
|
2637
2637
|
if (data.SlateAdUrl !== undefined && data.SlateAdUrl !== null) {
|
|
2638
|
-
contents.SlateAdUrl = smithy_client_1.expectString(data.SlateAdUrl);
|
|
2638
|
+
contents.SlateAdUrl = (0, smithy_client_1.expectString)(data.SlateAdUrl);
|
|
2639
2639
|
}
|
|
2640
2640
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2641
2641
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2642
2642
|
}
|
|
2643
2643
|
if (data.TranscodeProfileName !== undefined && data.TranscodeProfileName !== null) {
|
|
2644
|
-
contents.TranscodeProfileName = smithy_client_1.expectString(data.TranscodeProfileName);
|
|
2644
|
+
contents.TranscodeProfileName = (0, smithy_client_1.expectString)(data.TranscodeProfileName);
|
|
2645
2645
|
}
|
|
2646
2646
|
if (data.VideoContentSourceUrl !== undefined && data.VideoContentSourceUrl !== null) {
|
|
2647
|
-
contents.VideoContentSourceUrl = smithy_client_1.expectString(data.VideoContentSourceUrl);
|
|
2647
|
+
contents.VideoContentSourceUrl = (0, smithy_client_1.expectString)(data.VideoContentSourceUrl);
|
|
2648
2648
|
}
|
|
2649
2649
|
return Promise.resolve(contents);
|
|
2650
2650
|
};
|
|
@@ -2665,7 +2665,7 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommandError = async (outp
|
|
|
2665
2665
|
$fault: "client",
|
|
2666
2666
|
$metadata: deserializeMetadata(output),
|
|
2667
2667
|
});
|
|
2668
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2668
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2669
2669
|
}
|
|
2670
2670
|
};
|
|
2671
2671
|
const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
@@ -2695,7 +2695,7 @@ const deserializeAws_restJson1StartChannelCommandError = async (output, context)
|
|
|
2695
2695
|
$fault: "client",
|
|
2696
2696
|
$metadata: deserializeMetadata(output),
|
|
2697
2697
|
});
|
|
2698
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2698
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2699
2699
|
}
|
|
2700
2700
|
};
|
|
2701
2701
|
const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
@@ -2725,7 +2725,7 @@ const deserializeAws_restJson1StopChannelCommandError = async (output, context)
|
|
|
2725
2725
|
$fault: "client",
|
|
2726
2726
|
$metadata: deserializeMetadata(output),
|
|
2727
2727
|
});
|
|
2728
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2728
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2729
2729
|
}
|
|
2730
2730
|
};
|
|
2731
2731
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -2758,7 +2758,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2758
2758
|
$fault: "client",
|
|
2759
2759
|
$metadata: deserializeMetadata(output),
|
|
2760
2760
|
});
|
|
2761
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2761
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2762
2762
|
}
|
|
2763
2763
|
};
|
|
2764
2764
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -2791,7 +2791,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2791
2791
|
$fault: "client",
|
|
2792
2792
|
$metadata: deserializeMetadata(output),
|
|
2793
2793
|
});
|
|
2794
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2794
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2795
2795
|
}
|
|
2796
2796
|
};
|
|
2797
2797
|
const deserializeAws_restJson1UpdateChannelCommand = async (output, context) => {
|
|
@@ -2810,30 +2810,30 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
|
|
|
2810
2810
|
PlaybackMode: undefined,
|
|
2811
2811
|
Tags: undefined,
|
|
2812
2812
|
};
|
|
2813
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2813
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2814
2814
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
2815
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
2815
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
2816
2816
|
}
|
|
2817
2817
|
if (data.ChannelName !== undefined && data.ChannelName !== null) {
|
|
2818
|
-
contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
|
|
2818
|
+
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
2819
2819
|
}
|
|
2820
2820
|
if (data.ChannelState !== undefined && data.ChannelState !== null) {
|
|
2821
|
-
contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
|
|
2821
|
+
contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
|
|
2822
2822
|
}
|
|
2823
2823
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
2824
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
2824
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
2825
2825
|
}
|
|
2826
2826
|
if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
|
|
2827
2827
|
contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
|
|
2828
2828
|
}
|
|
2829
2829
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
2830
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
2830
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
2831
2831
|
}
|
|
2832
2832
|
if (data.Outputs !== undefined && data.Outputs !== null) {
|
|
2833
2833
|
contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
|
|
2834
2834
|
}
|
|
2835
2835
|
if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
|
|
2836
|
-
contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
|
|
2836
|
+
contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
|
|
2837
2837
|
}
|
|
2838
2838
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2839
2839
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
@@ -2857,7 +2857,7 @@ const deserializeAws_restJson1UpdateChannelCommandError = async (output, context
|
|
|
2857
2857
|
$fault: "client",
|
|
2858
2858
|
$metadata: deserializeMetadata(output),
|
|
2859
2859
|
});
|
|
2860
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2860
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2861
2861
|
}
|
|
2862
2862
|
};
|
|
2863
2863
|
const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, context) => {
|
|
@@ -2876,15 +2876,15 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
|
|
|
2876
2876
|
SourceLocationName: undefined,
|
|
2877
2877
|
Tags: undefined,
|
|
2878
2878
|
};
|
|
2879
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2879
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2880
2880
|
if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
|
|
2881
2881
|
contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
|
|
2882
2882
|
}
|
|
2883
2883
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
2884
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
2884
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
2885
2885
|
}
|
|
2886
2886
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
2887
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
2887
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
2888
2888
|
}
|
|
2889
2889
|
if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
|
|
2890
2890
|
contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
|
|
@@ -2893,13 +2893,13 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
|
|
|
2893
2893
|
contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
|
|
2894
2894
|
}
|
|
2895
2895
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
2896
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
2896
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
2897
2897
|
}
|
|
2898
2898
|
if (data.SegmentDeliveryConfigurations !== undefined && data.SegmentDeliveryConfigurations !== null) {
|
|
2899
2899
|
contents.SegmentDeliveryConfigurations = deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
|
|
2900
2900
|
}
|
|
2901
2901
|
if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
|
|
2902
|
-
contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
|
|
2902
|
+
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
2903
2903
|
}
|
|
2904
2904
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2905
2905
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
@@ -2923,7 +2923,7 @@ const deserializeAws_restJson1UpdateSourceLocationCommandError = async (output,
|
|
|
2923
2923
|
$fault: "client",
|
|
2924
2924
|
$metadata: deserializeMetadata(output),
|
|
2925
2925
|
});
|
|
2926
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2926
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2927
2927
|
}
|
|
2928
2928
|
};
|
|
2929
2929
|
const deserializeAws_restJson1UpdateVodSourceCommand = async (output, context) => {
|
|
@@ -2940,27 +2940,27 @@ const deserializeAws_restJson1UpdateVodSourceCommand = async (output, context) =
|
|
|
2940
2940
|
Tags: undefined,
|
|
2941
2941
|
VodSourceName: undefined,
|
|
2942
2942
|
};
|
|
2943
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2943
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2944
2944
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
2945
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
2945
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
2946
2946
|
}
|
|
2947
2947
|
if (data.CreationTime !== undefined && data.CreationTime !== null) {
|
|
2948
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
|
|
2948
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
2949
2949
|
}
|
|
2950
2950
|
if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
|
|
2951
2951
|
contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
2952
2952
|
}
|
|
2953
2953
|
if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
|
|
2954
|
-
contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
|
|
2954
|
+
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
2955
2955
|
}
|
|
2956
2956
|
if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
|
|
2957
|
-
contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
|
|
2957
|
+
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
2958
2958
|
}
|
|
2959
2959
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2960
2960
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2961
2961
|
}
|
|
2962
2962
|
if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
|
|
2963
|
-
contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
|
|
2963
|
+
contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
|
|
2964
2964
|
}
|
|
2965
2965
|
return Promise.resolve(contents);
|
|
2966
2966
|
};
|
|
@@ -2981,20 +2981,20 @@ const deserializeAws_restJson1UpdateVodSourceCommandError = async (output, conte
|
|
|
2981
2981
|
$fault: "client",
|
|
2982
2982
|
$metadata: deserializeMetadata(output),
|
|
2983
2983
|
});
|
|
2984
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2984
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2985
2985
|
}
|
|
2986
2986
|
};
|
|
2987
2987
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
2988
2988
|
const contents = {};
|
|
2989
2989
|
const data = parsedOutput.body;
|
|
2990
2990
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2991
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2991
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2992
2992
|
}
|
|
2993
2993
|
const exception = new models_0_1.BadRequestException({
|
|
2994
2994
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2995
2995
|
...contents,
|
|
2996
2996
|
});
|
|
2997
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2997
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2998
2998
|
};
|
|
2999
2999
|
const serializeAws_restJson1__listOfAdBreak = (input, context) => {
|
|
3000
3000
|
return input
|
|
@@ -3274,7 +3274,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
3274
3274
|
if (entry === null) {
|
|
3275
3275
|
return null;
|
|
3276
3276
|
}
|
|
3277
|
-
return smithy_client_1.expectString(entry);
|
|
3277
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3278
3278
|
});
|
|
3279
3279
|
return retVal;
|
|
3280
3280
|
};
|
|
@@ -3406,13 +3406,13 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
|
|
|
3406
3406
|
}
|
|
3407
3407
|
return {
|
|
3408
3408
|
...acc,
|
|
3409
|
-
[key]: smithy_client_1.expectString(value),
|
|
3409
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3410
3410
|
};
|
|
3411
3411
|
}, {});
|
|
3412
3412
|
};
|
|
3413
3413
|
const deserializeAws_restJson1AccessConfiguration = (output, context) => {
|
|
3414
3414
|
return {
|
|
3415
|
-
AccessType: smithy_client_1.expectString(output.AccessType),
|
|
3415
|
+
AccessType: (0, smithy_client_1.expectString)(output.AccessType),
|
|
3416
3416
|
SecretsManagerAccessTokenConfiguration: output.SecretsManagerAccessTokenConfiguration !== undefined &&
|
|
3417
3417
|
output.SecretsManagerAccessTokenConfiguration !== null
|
|
3418
3418
|
? deserializeAws_restJson1SecretsManagerAccessTokenConfiguration(output.SecretsManagerAccessTokenConfiguration, context)
|
|
@@ -3421,8 +3421,8 @@ const deserializeAws_restJson1AccessConfiguration = (output, context) => {
|
|
|
3421
3421
|
};
|
|
3422
3422
|
const deserializeAws_restJson1AdBreak = (output, context) => {
|
|
3423
3423
|
return {
|
|
3424
|
-
MessageType: smithy_client_1.expectString(output.MessageType),
|
|
3425
|
-
OffsetMillis: smithy_client_1.expectLong(output.OffsetMillis),
|
|
3424
|
+
MessageType: (0, smithy_client_1.expectString)(output.MessageType),
|
|
3425
|
+
OffsetMillis: (0, smithy_client_1.expectLong)(output.OffsetMillis),
|
|
3426
3426
|
Slate: output.Slate !== undefined && output.Slate !== null
|
|
3427
3427
|
? deserializeAws_restJson1SlateSource(output.Slate, context)
|
|
3428
3428
|
: undefined,
|
|
@@ -3433,64 +3433,64 @@ const deserializeAws_restJson1AdBreak = (output, context) => {
|
|
|
3433
3433
|
};
|
|
3434
3434
|
const deserializeAws_restJson1AdMarkerPassthrough = (output, context) => {
|
|
3435
3435
|
return {
|
|
3436
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
3436
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3437
3437
|
};
|
|
3438
3438
|
};
|
|
3439
3439
|
const deserializeAws_restJson1Alert = (output, context) => {
|
|
3440
3440
|
return {
|
|
3441
|
-
AlertCode: smithy_client_1.expectString(output.AlertCode),
|
|
3442
|
-
AlertMessage: smithy_client_1.expectString(output.AlertMessage),
|
|
3441
|
+
AlertCode: (0, smithy_client_1.expectString)(output.AlertCode),
|
|
3442
|
+
AlertMessage: (0, smithy_client_1.expectString)(output.AlertMessage),
|
|
3443
3443
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
3444
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
3444
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3445
3445
|
: undefined,
|
|
3446
3446
|
RelatedResourceArns: output.RelatedResourceArns !== undefined && output.RelatedResourceArns !== null
|
|
3447
3447
|
? deserializeAws_restJson1__listOf__string(output.RelatedResourceArns, context)
|
|
3448
3448
|
: undefined,
|
|
3449
|
-
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
3449
|
+
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3450
3450
|
};
|
|
3451
3451
|
};
|
|
3452
3452
|
const deserializeAws_restJson1AvailMatchingCriteria = (output, context) => {
|
|
3453
3453
|
return {
|
|
3454
|
-
DynamicVariable: smithy_client_1.expectString(output.DynamicVariable),
|
|
3455
|
-
Operator: smithy_client_1.expectString(output.Operator),
|
|
3454
|
+
DynamicVariable: (0, smithy_client_1.expectString)(output.DynamicVariable),
|
|
3455
|
+
Operator: (0, smithy_client_1.expectString)(output.Operator),
|
|
3456
3456
|
};
|
|
3457
3457
|
};
|
|
3458
3458
|
const deserializeAws_restJson1AvailSuppression = (output, context) => {
|
|
3459
3459
|
return {
|
|
3460
|
-
Mode: smithy_client_1.expectString(output.Mode),
|
|
3461
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
3460
|
+
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
3461
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3462
3462
|
};
|
|
3463
3463
|
};
|
|
3464
3464
|
const deserializeAws_restJson1Bumper = (output, context) => {
|
|
3465
3465
|
return {
|
|
3466
|
-
EndUrl: smithy_client_1.expectString(output.EndUrl),
|
|
3467
|
-
StartUrl: smithy_client_1.expectString(output.StartUrl),
|
|
3466
|
+
EndUrl: (0, smithy_client_1.expectString)(output.EndUrl),
|
|
3467
|
+
StartUrl: (0, smithy_client_1.expectString)(output.StartUrl),
|
|
3468
3468
|
};
|
|
3469
3469
|
};
|
|
3470
3470
|
const deserializeAws_restJson1CdnConfiguration = (output, context) => {
|
|
3471
3471
|
return {
|
|
3472
|
-
AdSegmentUrlPrefix: smithy_client_1.expectString(output.AdSegmentUrlPrefix),
|
|
3473
|
-
ContentSegmentUrlPrefix: smithy_client_1.expectString(output.ContentSegmentUrlPrefix),
|
|
3472
|
+
AdSegmentUrlPrefix: (0, smithy_client_1.expectString)(output.AdSegmentUrlPrefix),
|
|
3473
|
+
ContentSegmentUrlPrefix: (0, smithy_client_1.expectString)(output.ContentSegmentUrlPrefix),
|
|
3474
3474
|
};
|
|
3475
3475
|
};
|
|
3476
3476
|
const deserializeAws_restJson1Channel = (output, context) => {
|
|
3477
3477
|
return {
|
|
3478
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
3479
|
-
ChannelName: smithy_client_1.expectString(output.ChannelName),
|
|
3480
|
-
ChannelState: smithy_client_1.expectString(output.ChannelState),
|
|
3478
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3479
|
+
ChannelName: (0, smithy_client_1.expectString)(output.ChannelName),
|
|
3480
|
+
ChannelState: (0, smithy_client_1.expectString)(output.ChannelState),
|
|
3481
3481
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3482
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3482
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3483
3483
|
: undefined,
|
|
3484
3484
|
FillerSlate: output.FillerSlate !== undefined && output.FillerSlate !== null
|
|
3485
3485
|
? deserializeAws_restJson1SlateSource(output.FillerSlate, context)
|
|
3486
3486
|
: undefined,
|
|
3487
3487
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
3488
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
3488
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3489
3489
|
: undefined,
|
|
3490
3490
|
Outputs: output.Outputs !== undefined && output.Outputs !== null
|
|
3491
3491
|
? deserializeAws_restJson1ResponseOutputs(output.Outputs, context)
|
|
3492
3492
|
: undefined,
|
|
3493
|
-
PlaybackMode: smithy_client_1.expectString(output.PlaybackMode),
|
|
3493
|
+
PlaybackMode: (0, smithy_client_1.expectString)(output.PlaybackMode),
|
|
3494
3494
|
Tags: output.tags !== undefined && output.tags !== null
|
|
3495
3495
|
? deserializeAws_restJson1__mapOf__string(output.tags, context)
|
|
3496
3496
|
: undefined,
|
|
@@ -3509,44 +3509,44 @@ const deserializeAws_restJson1ConfigurationAliasesResponse = (output, context) =
|
|
|
3509
3509
|
};
|
|
3510
3510
|
const deserializeAws_restJson1DashConfiguration = (output, context) => {
|
|
3511
3511
|
return {
|
|
3512
|
-
ManifestEndpointPrefix: smithy_client_1.expectString(output.ManifestEndpointPrefix),
|
|
3513
|
-
MpdLocation: smithy_client_1.expectString(output.MpdLocation),
|
|
3514
|
-
OriginManifestType: smithy_client_1.expectString(output.OriginManifestType),
|
|
3512
|
+
ManifestEndpointPrefix: (0, smithy_client_1.expectString)(output.ManifestEndpointPrefix),
|
|
3513
|
+
MpdLocation: (0, smithy_client_1.expectString)(output.MpdLocation),
|
|
3514
|
+
OriginManifestType: (0, smithy_client_1.expectString)(output.OriginManifestType),
|
|
3515
3515
|
};
|
|
3516
3516
|
};
|
|
3517
3517
|
const deserializeAws_restJson1DashPlaylistSettings = (output, context) => {
|
|
3518
3518
|
return {
|
|
3519
|
-
ManifestWindowSeconds: smithy_client_1.expectInt32(output.ManifestWindowSeconds),
|
|
3520
|
-
MinBufferTimeSeconds: smithy_client_1.expectInt32(output.MinBufferTimeSeconds),
|
|
3521
|
-
MinUpdatePeriodSeconds: smithy_client_1.expectInt32(output.MinUpdatePeriodSeconds),
|
|
3522
|
-
SuggestedPresentationDelaySeconds: smithy_client_1.expectInt32(output.SuggestedPresentationDelaySeconds),
|
|
3519
|
+
ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.ManifestWindowSeconds),
|
|
3520
|
+
MinBufferTimeSeconds: (0, smithy_client_1.expectInt32)(output.MinBufferTimeSeconds),
|
|
3521
|
+
MinUpdatePeriodSeconds: (0, smithy_client_1.expectInt32)(output.MinUpdatePeriodSeconds),
|
|
3522
|
+
SuggestedPresentationDelaySeconds: (0, smithy_client_1.expectInt32)(output.SuggestedPresentationDelaySeconds),
|
|
3523
3523
|
};
|
|
3524
3524
|
};
|
|
3525
3525
|
const deserializeAws_restJson1DefaultSegmentDeliveryConfiguration = (output, context) => {
|
|
3526
3526
|
return {
|
|
3527
|
-
BaseUrl: smithy_client_1.expectString(output.BaseUrl),
|
|
3527
|
+
BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
|
|
3528
3528
|
};
|
|
3529
3529
|
};
|
|
3530
3530
|
const deserializeAws_restJson1HlsConfiguration = (output, context) => {
|
|
3531
3531
|
return {
|
|
3532
|
-
ManifestEndpointPrefix: smithy_client_1.expectString(output.ManifestEndpointPrefix),
|
|
3532
|
+
ManifestEndpointPrefix: (0, smithy_client_1.expectString)(output.ManifestEndpointPrefix),
|
|
3533
3533
|
};
|
|
3534
3534
|
};
|
|
3535
3535
|
const deserializeAws_restJson1HlsPlaylistSettings = (output, context) => {
|
|
3536
3536
|
return {
|
|
3537
|
-
ManifestWindowSeconds: smithy_client_1.expectInt32(output.ManifestWindowSeconds),
|
|
3537
|
+
ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.ManifestWindowSeconds),
|
|
3538
3538
|
};
|
|
3539
3539
|
};
|
|
3540
3540
|
const deserializeAws_restJson1HttpConfiguration = (output, context) => {
|
|
3541
3541
|
return {
|
|
3542
|
-
BaseUrl: smithy_client_1.expectString(output.BaseUrl),
|
|
3542
|
+
BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
|
|
3543
3543
|
};
|
|
3544
3544
|
};
|
|
3545
3545
|
const deserializeAws_restJson1HttpPackageConfiguration = (output, context) => {
|
|
3546
3546
|
return {
|
|
3547
|
-
Path: smithy_client_1.expectString(output.Path),
|
|
3548
|
-
SourceGroup: smithy_client_1.expectString(output.SourceGroup),
|
|
3549
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3547
|
+
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
3548
|
+
SourceGroup: (0, smithy_client_1.expectString)(output.SourceGroup),
|
|
3549
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3550
3550
|
};
|
|
3551
3551
|
};
|
|
3552
3552
|
const deserializeAws_restJson1HttpPackageConfigurations = (output, context) => {
|
|
@@ -3562,13 +3562,13 @@ const deserializeAws_restJson1HttpPackageConfigurations = (output, context) => {
|
|
|
3562
3562
|
};
|
|
3563
3563
|
const deserializeAws_restJson1LivePreRollConfiguration = (output, context) => {
|
|
3564
3564
|
return {
|
|
3565
|
-
AdDecisionServerUrl: smithy_client_1.expectString(output.AdDecisionServerUrl),
|
|
3566
|
-
MaxDurationSeconds: smithy_client_1.expectInt32(output.MaxDurationSeconds),
|
|
3565
|
+
AdDecisionServerUrl: (0, smithy_client_1.expectString)(output.AdDecisionServerUrl),
|
|
3566
|
+
MaxDurationSeconds: (0, smithy_client_1.expectInt32)(output.MaxDurationSeconds),
|
|
3567
3567
|
};
|
|
3568
3568
|
};
|
|
3569
3569
|
const deserializeAws_restJson1LogConfiguration = (output, context) => {
|
|
3570
3570
|
return {
|
|
3571
|
-
PercentEnabled: smithy_client_1.expectInt32(output.PercentEnabled),
|
|
3571
|
+
PercentEnabled: (0, smithy_client_1.expectInt32)(output.PercentEnabled),
|
|
3572
3572
|
};
|
|
3573
3573
|
};
|
|
3574
3574
|
const deserializeAws_restJson1ManifestProcessingRules = (output, context) => {
|
|
@@ -3580,7 +3580,7 @@ const deserializeAws_restJson1ManifestProcessingRules = (output, context) => {
|
|
|
3580
3580
|
};
|
|
3581
3581
|
const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
|
|
3582
3582
|
return {
|
|
3583
|
-
AdDecisionServerUrl: smithy_client_1.expectString(output.AdDecisionServerUrl),
|
|
3583
|
+
AdDecisionServerUrl: (0, smithy_client_1.expectString)(output.AdDecisionServerUrl),
|
|
3584
3584
|
AvailSuppression: output.AvailSuppression !== undefined && output.AvailSuppression !== null
|
|
3585
3585
|
? deserializeAws_restJson1AvailSuppression(output.AvailSuppression, context)
|
|
3586
3586
|
: undefined,
|
|
@@ -3608,17 +3608,17 @@ const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
|
|
|
3608
3608
|
ManifestProcessingRules: output.ManifestProcessingRules !== undefined && output.ManifestProcessingRules !== null
|
|
3609
3609
|
? deserializeAws_restJson1ManifestProcessingRules(output.ManifestProcessingRules, context)
|
|
3610
3610
|
: undefined,
|
|
3611
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3612
|
-
PersonalizationThresholdSeconds: smithy_client_1.expectInt32(output.PersonalizationThresholdSeconds),
|
|
3613
|
-
PlaybackConfigurationArn: smithy_client_1.expectString(output.PlaybackConfigurationArn),
|
|
3614
|
-
PlaybackEndpointPrefix: smithy_client_1.expectString(output.PlaybackEndpointPrefix),
|
|
3615
|
-
SessionInitializationEndpointPrefix: smithy_client_1.expectString(output.SessionInitializationEndpointPrefix),
|
|
3616
|
-
SlateAdUrl: smithy_client_1.expectString(output.SlateAdUrl),
|
|
3611
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3612
|
+
PersonalizationThresholdSeconds: (0, smithy_client_1.expectInt32)(output.PersonalizationThresholdSeconds),
|
|
3613
|
+
PlaybackConfigurationArn: (0, smithy_client_1.expectString)(output.PlaybackConfigurationArn),
|
|
3614
|
+
PlaybackEndpointPrefix: (0, smithy_client_1.expectString)(output.PlaybackEndpointPrefix),
|
|
3615
|
+
SessionInitializationEndpointPrefix: (0, smithy_client_1.expectString)(output.SessionInitializationEndpointPrefix),
|
|
3616
|
+
SlateAdUrl: (0, smithy_client_1.expectString)(output.SlateAdUrl),
|
|
3617
3617
|
Tags: output.tags !== undefined && output.tags !== null
|
|
3618
3618
|
? deserializeAws_restJson1__mapOf__string(output.tags, context)
|
|
3619
3619
|
: undefined,
|
|
3620
|
-
TranscodeProfileName: smithy_client_1.expectString(output.TranscodeProfileName),
|
|
3621
|
-
VideoContentSourceUrl: smithy_client_1.expectString(output.VideoContentSourceUrl),
|
|
3620
|
+
TranscodeProfileName: (0, smithy_client_1.expectString)(output.TranscodeProfileName),
|
|
3621
|
+
VideoContentSourceUrl: (0, smithy_client_1.expectString)(output.VideoContentSourceUrl),
|
|
3622
3622
|
};
|
|
3623
3623
|
};
|
|
3624
3624
|
const deserializeAws_restJson1PrefetchConsumption = (output, context) => {
|
|
@@ -3627,10 +3627,10 @@ const deserializeAws_restJson1PrefetchConsumption = (output, context) => {
|
|
|
3627
3627
|
? deserializeAws_restJson1__listOfAvailMatchingCriteria(output.AvailMatchingCriteria, context)
|
|
3628
3628
|
: undefined,
|
|
3629
3629
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
3630
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
3630
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
3631
3631
|
: undefined,
|
|
3632
3632
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3633
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
3633
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3634
3634
|
: undefined,
|
|
3635
3635
|
};
|
|
3636
3636
|
};
|
|
@@ -3640,25 +3640,25 @@ const deserializeAws_restJson1PrefetchRetrieval = (output, context) => {
|
|
|
3640
3640
|
? deserializeAws_restJson1__mapOf__string(output.DynamicVariables, context)
|
|
3641
3641
|
: undefined,
|
|
3642
3642
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
3643
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
3643
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
3644
3644
|
: undefined,
|
|
3645
3645
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3646
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
3646
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3647
3647
|
: undefined,
|
|
3648
3648
|
};
|
|
3649
3649
|
};
|
|
3650
3650
|
const deserializeAws_restJson1PrefetchSchedule = (output, context) => {
|
|
3651
3651
|
return {
|
|
3652
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
3652
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3653
3653
|
Consumption: output.Consumption !== undefined && output.Consumption !== null
|
|
3654
3654
|
? deserializeAws_restJson1PrefetchConsumption(output.Consumption, context)
|
|
3655
3655
|
: undefined,
|
|
3656
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3657
|
-
PlaybackConfigurationName: smithy_client_1.expectString(output.PlaybackConfigurationName),
|
|
3656
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3657
|
+
PlaybackConfigurationName: (0, smithy_client_1.expectString)(output.PlaybackConfigurationName),
|
|
3658
3658
|
Retrieval: output.Retrieval !== undefined && output.Retrieval !== null
|
|
3659
3659
|
? deserializeAws_restJson1PrefetchRetrieval(output.Retrieval, context)
|
|
3660
3660
|
: undefined,
|
|
3661
|
-
StreamId: smithy_client_1.expectString(output.StreamId),
|
|
3661
|
+
StreamId: (0, smithy_client_1.expectString)(output.StreamId),
|
|
3662
3662
|
};
|
|
3663
3663
|
};
|
|
3664
3664
|
const deserializeAws_restJson1ResponseOutputItem = (output, context) => {
|
|
@@ -3669,9 +3669,9 @@ const deserializeAws_restJson1ResponseOutputItem = (output, context) => {
|
|
|
3669
3669
|
HlsPlaylistSettings: output.HlsPlaylistSettings !== undefined && output.HlsPlaylistSettings !== null
|
|
3670
3670
|
? deserializeAws_restJson1HlsPlaylistSettings(output.HlsPlaylistSettings, context)
|
|
3671
3671
|
: undefined,
|
|
3672
|
-
ManifestName: smithy_client_1.expectString(output.ManifestName),
|
|
3673
|
-
PlaybackUrl: smithy_client_1.expectString(output.PlaybackUrl),
|
|
3674
|
-
SourceGroup: smithy_client_1.expectString(output.SourceGroup),
|
|
3672
|
+
ManifestName: (0, smithy_client_1.expectString)(output.ManifestName),
|
|
3673
|
+
PlaybackUrl: (0, smithy_client_1.expectString)(output.PlaybackUrl),
|
|
3674
|
+
SourceGroup: (0, smithy_client_1.expectString)(output.SourceGroup),
|
|
3675
3675
|
};
|
|
3676
3676
|
};
|
|
3677
3677
|
const deserializeAws_restJson1ResponseOutputs = (output, context) => {
|
|
@@ -3687,48 +3687,48 @@ const deserializeAws_restJson1ResponseOutputs = (output, context) => {
|
|
|
3687
3687
|
};
|
|
3688
3688
|
const deserializeAws_restJson1ScheduleAdBreak = (output, context) => {
|
|
3689
3689
|
return {
|
|
3690
|
-
ApproximateDurationSeconds: smithy_client_1.expectLong(output.ApproximateDurationSeconds),
|
|
3690
|
+
ApproximateDurationSeconds: (0, smithy_client_1.expectLong)(output.ApproximateDurationSeconds),
|
|
3691
3691
|
ApproximateStartTime: output.ApproximateStartTime !== undefined && output.ApproximateStartTime !== null
|
|
3692
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApproximateStartTime)))
|
|
3692
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApproximateStartTime)))
|
|
3693
3693
|
: undefined,
|
|
3694
|
-
SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
|
|
3695
|
-
VodSourceName: smithy_client_1.expectString(output.VodSourceName),
|
|
3694
|
+
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3695
|
+
VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
|
|
3696
3696
|
};
|
|
3697
3697
|
};
|
|
3698
3698
|
const deserializeAws_restJson1ScheduleEntry = (output, context) => {
|
|
3699
3699
|
return {
|
|
3700
|
-
ApproximateDurationSeconds: smithy_client_1.expectLong(output.ApproximateDurationSeconds),
|
|
3700
|
+
ApproximateDurationSeconds: (0, smithy_client_1.expectLong)(output.ApproximateDurationSeconds),
|
|
3701
3701
|
ApproximateStartTime: output.ApproximateStartTime !== undefined && output.ApproximateStartTime !== null
|
|
3702
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApproximateStartTime)))
|
|
3702
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApproximateStartTime)))
|
|
3703
3703
|
: undefined,
|
|
3704
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
3705
|
-
ChannelName: smithy_client_1.expectString(output.ChannelName),
|
|
3706
|
-
ProgramName: smithy_client_1.expectString(output.ProgramName),
|
|
3704
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3705
|
+
ChannelName: (0, smithy_client_1.expectString)(output.ChannelName),
|
|
3706
|
+
ProgramName: (0, smithy_client_1.expectString)(output.ProgramName),
|
|
3707
3707
|
ScheduleAdBreaks: output.ScheduleAdBreaks !== undefined && output.ScheduleAdBreaks !== null
|
|
3708
3708
|
? deserializeAws_restJson1__listOfScheduleAdBreak(output.ScheduleAdBreaks, context)
|
|
3709
3709
|
: undefined,
|
|
3710
|
-
ScheduleEntryType: smithy_client_1.expectString(output.ScheduleEntryType),
|
|
3711
|
-
SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
|
|
3712
|
-
VodSourceName: smithy_client_1.expectString(output.VodSourceName),
|
|
3710
|
+
ScheduleEntryType: (0, smithy_client_1.expectString)(output.ScheduleEntryType),
|
|
3711
|
+
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3712
|
+
VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
|
|
3713
3713
|
};
|
|
3714
3714
|
};
|
|
3715
3715
|
const deserializeAws_restJson1SecretsManagerAccessTokenConfiguration = (output, context) => {
|
|
3716
3716
|
return {
|
|
3717
|
-
HeaderName: smithy_client_1.expectString(output.HeaderName),
|
|
3718
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
3719
|
-
SecretStringKey: smithy_client_1.expectString(output.SecretStringKey),
|
|
3717
|
+
HeaderName: (0, smithy_client_1.expectString)(output.HeaderName),
|
|
3718
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
3719
|
+
SecretStringKey: (0, smithy_client_1.expectString)(output.SecretStringKey),
|
|
3720
3720
|
};
|
|
3721
3721
|
};
|
|
3722
3722
|
const deserializeAws_restJson1SegmentDeliveryConfiguration = (output, context) => {
|
|
3723
3723
|
return {
|
|
3724
|
-
BaseUrl: smithy_client_1.expectString(output.BaseUrl),
|
|
3725
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3724
|
+
BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
|
|
3725
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3726
3726
|
};
|
|
3727
3727
|
};
|
|
3728
3728
|
const deserializeAws_restJson1SlateSource = (output, context) => {
|
|
3729
3729
|
return {
|
|
3730
|
-
SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
|
|
3731
|
-
VodSourceName: smithy_client_1.expectString(output.VodSourceName),
|
|
3730
|
+
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3731
|
+
VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
|
|
3732
3732
|
};
|
|
3733
3733
|
};
|
|
3734
3734
|
const deserializeAws_restJson1SourceLocation = (output, context) => {
|
|
@@ -3736,9 +3736,9 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
|
|
|
3736
3736
|
AccessConfiguration: output.AccessConfiguration !== undefined && output.AccessConfiguration !== null
|
|
3737
3737
|
? deserializeAws_restJson1AccessConfiguration(output.AccessConfiguration, context)
|
|
3738
3738
|
: undefined,
|
|
3739
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
3739
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3740
3740
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3741
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3741
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3742
3742
|
: undefined,
|
|
3743
3743
|
DefaultSegmentDeliveryConfiguration: output.DefaultSegmentDeliveryConfiguration !== undefined && output.DefaultSegmentDeliveryConfiguration !== null
|
|
3744
3744
|
? deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(output.DefaultSegmentDeliveryConfiguration, context)
|
|
@@ -3747,12 +3747,12 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
|
|
|
3747
3747
|
? deserializeAws_restJson1HttpConfiguration(output.HttpConfiguration, context)
|
|
3748
3748
|
: undefined,
|
|
3749
3749
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
3750
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
3750
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3751
3751
|
: undefined,
|
|
3752
3752
|
SegmentDeliveryConfigurations: output.SegmentDeliveryConfigurations !== undefined && output.SegmentDeliveryConfigurations !== null
|
|
3753
3753
|
? deserializeAws_restJson1__listOfSegmentDeliveryConfiguration(output.SegmentDeliveryConfigurations, context)
|
|
3754
3754
|
: undefined,
|
|
3755
|
-
SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
|
|
3755
|
+
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3756
3756
|
Tags: output.tags !== undefined && output.tags !== null
|
|
3757
3757
|
? deserializeAws_restJson1__mapOf__string(output.tags, context)
|
|
3758
3758
|
: undefined,
|
|
@@ -3760,29 +3760,29 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
|
|
|
3760
3760
|
};
|
|
3761
3761
|
const deserializeAws_restJson1SpliceInsertMessage = (output, context) => {
|
|
3762
3762
|
return {
|
|
3763
|
-
AvailNum: smithy_client_1.expectInt32(output.AvailNum),
|
|
3764
|
-
AvailsExpected: smithy_client_1.expectInt32(output.AvailsExpected),
|
|
3765
|
-
SpliceEventId: smithy_client_1.expectInt32(output.SpliceEventId),
|
|
3766
|
-
UniqueProgramId: smithy_client_1.expectInt32(output.UniqueProgramId),
|
|
3763
|
+
AvailNum: (0, smithy_client_1.expectInt32)(output.AvailNum),
|
|
3764
|
+
AvailsExpected: (0, smithy_client_1.expectInt32)(output.AvailsExpected),
|
|
3765
|
+
SpliceEventId: (0, smithy_client_1.expectInt32)(output.SpliceEventId),
|
|
3766
|
+
UniqueProgramId: (0, smithy_client_1.expectInt32)(output.UniqueProgramId),
|
|
3767
3767
|
};
|
|
3768
3768
|
};
|
|
3769
3769
|
const deserializeAws_restJson1VodSource = (output, context) => {
|
|
3770
3770
|
return {
|
|
3771
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
3771
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3772
3772
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3773
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3773
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3774
3774
|
: undefined,
|
|
3775
3775
|
HttpPackageConfigurations: output.HttpPackageConfigurations !== undefined && output.HttpPackageConfigurations !== null
|
|
3776
3776
|
? deserializeAws_restJson1HttpPackageConfigurations(output.HttpPackageConfigurations, context)
|
|
3777
3777
|
: undefined,
|
|
3778
3778
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
3779
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
3779
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3780
3780
|
: undefined,
|
|
3781
|
-
SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
|
|
3781
|
+
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3782
3782
|
Tags: output.tags !== undefined && output.tags !== null
|
|
3783
3783
|
? deserializeAws_restJson1__mapOf__string(output.tags, context)
|
|
3784
3784
|
: undefined,
|
|
3785
|
-
VodSourceName: smithy_client_1.expectString(output.VodSourceName),
|
|
3785
|
+
VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
|
|
3786
3786
|
};
|
|
3787
3787
|
};
|
|
3788
3788
|
const deserializeMetadata = (output) => {
|