@aws-sdk/client-medialive 3.53.0 → 3.55.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/MediaLiveClient.js +13 -13
- package/dist-cjs/commands/AcceptInputDeviceTransferCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteCommand.js +3 -3
- package/dist-cjs/commands/BatchStartCommand.js +3 -3
- package/dist-cjs/commands/BatchStopCommand.js +3 -3
- package/dist-cjs/commands/BatchUpdateScheduleCommand.js +3 -3
- package/dist-cjs/commands/CancelInputDeviceTransferCommand.js +3 -3
- package/dist-cjs/commands/ClaimDeviceCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelCommand.js +3 -3
- package/dist-cjs/commands/CreateInputCommand.js +3 -3
- package/dist-cjs/commands/CreateInputSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateMultiplexCommand.js +3 -3
- package/dist-cjs/commands/CreateMultiplexProgramCommand.js +3 -3
- package/dist-cjs/commands/CreatePartnerInputCommand.js +3 -3
- package/dist-cjs/commands/CreateTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist-cjs/commands/DeleteInputCommand.js +3 -3
- package/dist-cjs/commands/DeleteInputSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteMultiplexCommand.js +3 -3
- package/dist-cjs/commands/DeleteMultiplexProgramCommand.js +3 -3
- package/dist-cjs/commands/DeleteReservationCommand.js +3 -3
- package/dist-cjs/commands/DeleteScheduleCommand.js +3 -3
- package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelCommand.js +3 -3
- package/dist-cjs/commands/DescribeInputCommand.js +3 -3
- package/dist-cjs/commands/DescribeInputDeviceCommand.js +3 -3
- package/dist-cjs/commands/DescribeInputDeviceThumbnailCommand.js +3 -3
- package/dist-cjs/commands/DescribeInputSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeMultiplexCommand.js +3 -3
- package/dist-cjs/commands/DescribeMultiplexProgramCommand.js +3 -3
- package/dist-cjs/commands/DescribeOfferingCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservationCommand.js +3 -3
- package/dist-cjs/commands/DescribeScheduleCommand.js +3 -3
- package/dist-cjs/commands/ListChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListInputDeviceTransfersCommand.js +3 -3
- package/dist-cjs/commands/ListInputDevicesCommand.js +3 -3
- package/dist-cjs/commands/ListInputSecurityGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListInputsCommand.js +3 -3
- package/dist-cjs/commands/ListMultiplexProgramsCommand.js +3 -3
- package/dist-cjs/commands/ListMultiplexesCommand.js +3 -3
- package/dist-cjs/commands/ListOfferingsCommand.js +3 -3
- package/dist-cjs/commands/ListReservationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PurchaseOfferingCommand.js +3 -3
- package/dist-cjs/commands/RejectInputDeviceTransferCommand.js +3 -3
- package/dist-cjs/commands/StartChannelCommand.js +3 -3
- package/dist-cjs/commands/StartMultiplexCommand.js +3 -3
- package/dist-cjs/commands/StopChannelCommand.js +3 -3
- package/dist-cjs/commands/StopMultiplexCommand.js +3 -3
- package/dist-cjs/commands/TransferInputDeviceCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelClassCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist-cjs/commands/UpdateInputCommand.js +3 -3
- package/dist-cjs/commands/UpdateInputDeviceCommand.js +3 -3
- package/dist-cjs/commands/UpdateInputSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateMultiplexCommand.js +3 -3
- package/dist-cjs/commands/UpdateMultiplexProgramCommand.js +3 -3
- package/dist-cjs/commands/UpdateReservationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +1029 -1029
- 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-cjs/waiters/waitForChannelCreated.js +3 -3
- package/dist-cjs/waiters/waitForChannelDeleted.js +3 -3
- package/dist-cjs/waiters/waitForChannelRunning.js +3 -3
- package/dist-cjs/waiters/waitForChannelStopped.js +3 -3
- package/dist-cjs/waiters/waitForInputAttached.js +3 -3
- package/dist-cjs/waiters/waitForInputDeleted.js +3 -3
- package/dist-cjs/waiters/waitForInputDetached.js +3 -3
- package/dist-cjs/waiters/waitForMultiplexCreated.js +3 -3
- package/dist-cjs/waiters/waitForMultiplexDeleted.js +3 -3
- package/dist-cjs/waiters/waitForMultiplexRunning.js +3 -3
- package/dist-cjs/waiters/waitForMultiplexStopped.js +3 -3
- package/dist-es/MediaLive.js +57 -57
- package/dist-es/pagination/DescribeSchedulePaginator.js +4 -4
- package/dist-es/pagination/ListChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListInputDeviceTransfersPaginator.js +4 -4
- package/dist-es/pagination/ListInputDevicesPaginator.js +4 -4
- package/dist-es/pagination/ListInputSecurityGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListInputsPaginator.js +4 -4
- package/dist-es/pagination/ListMultiplexProgramsPaginator.js +4 -4
- package/dist-es/pagination/ListMultiplexesPaginator.js +4 -4
- package/dist-es/pagination/ListOfferingsPaginator.js +4 -4
- package/dist-es/pagination/ListReservationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +57 -57
- package/dist-types/MediaLiveClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/MediaLiveClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -17,7 +17,7 @@ const serializeAws_restJson1AcceptInputDeviceTransferCommand = async (input, con
|
|
|
17
17
|
if (labelValue.length <= 0) {
|
|
18
18
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
19
19
|
}
|
|
20
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
20
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
23
23
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -129,7 +129,7 @@ const serializeAws_restJson1BatchUpdateScheduleCommand = async (input, context)
|
|
|
129
129
|
if (labelValue.length <= 0) {
|
|
130
130
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
131
131
|
}
|
|
132
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
132
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
133
133
|
}
|
|
134
134
|
else {
|
|
135
135
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -165,7 +165,7 @@ const serializeAws_restJson1CancelInputDeviceTransferCommand = async (input, con
|
|
|
165
165
|
if (labelValue.length <= 0) {
|
|
166
166
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
167
167
|
}
|
|
168
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
168
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
169
169
|
}
|
|
170
170
|
else {
|
|
171
171
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -235,7 +235,7 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
|
|
|
235
235
|
}),
|
|
236
236
|
...(input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel }),
|
|
237
237
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
238
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
238
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
239
239
|
...(input.Reserved !== undefined && input.Reserved !== null && { reserved: input.Reserved }),
|
|
240
240
|
...(input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn }),
|
|
241
241
|
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
@@ -279,7 +279,7 @@ const serializeAws_restJson1CreateInputCommand = async (input, context) => {
|
|
|
279
279
|
mediaConnectFlows: serializeAws_restJson1__listOfMediaConnectFlowRequest(input.MediaConnectFlows, context),
|
|
280
280
|
}),
|
|
281
281
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
282
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
282
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
283
283
|
...(input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn }),
|
|
284
284
|
...(input.Sources !== undefined &&
|
|
285
285
|
input.Sources !== null && { sources: serializeAws_restJson1__listOfInputSourceRequest(input.Sources, context) }),
|
|
@@ -342,7 +342,7 @@ const serializeAws_restJson1CreateMultiplexCommand = async (input, context) => {
|
|
|
342
342
|
multiplexSettings: serializeAws_restJson1MultiplexSettings(input.MultiplexSettings, context),
|
|
343
343
|
}),
|
|
344
344
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
345
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
345
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
346
346
|
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
347
347
|
});
|
|
348
348
|
return new protocol_http_1.HttpRequest({
|
|
@@ -368,7 +368,7 @@ const serializeAws_restJson1CreateMultiplexProgramCommand = async (input, contex
|
|
|
368
368
|
if (labelValue.length <= 0) {
|
|
369
369
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
370
370
|
}
|
|
371
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
371
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
374
374
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -380,7 +380,7 @@ const serializeAws_restJson1CreateMultiplexProgramCommand = async (input, contex
|
|
|
380
380
|
multiplexProgramSettings: serializeAws_restJson1MultiplexProgramSettings(input.MultiplexProgramSettings, context),
|
|
381
381
|
}),
|
|
382
382
|
...(input.ProgramName !== undefined && input.ProgramName !== null && { programName: input.ProgramName }),
|
|
383
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
383
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
384
384
|
});
|
|
385
385
|
return new protocol_http_1.HttpRequest({
|
|
386
386
|
protocol,
|
|
@@ -405,14 +405,14 @@ const serializeAws_restJson1CreatePartnerInputCommand = async (input, context) =
|
|
|
405
405
|
if (labelValue.length <= 0) {
|
|
406
406
|
throw new Error("Empty value provided for input HTTP label: InputId.");
|
|
407
407
|
}
|
|
408
|
-
resolvedPath = resolvedPath.replace("{InputId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
408
|
+
resolvedPath = resolvedPath.replace("{InputId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
409
409
|
}
|
|
410
410
|
else {
|
|
411
411
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
412
412
|
}
|
|
413
413
|
let body;
|
|
414
414
|
body = JSON.stringify({
|
|
415
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
415
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
416
416
|
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
417
417
|
});
|
|
418
418
|
return new protocol_http_1.HttpRequest({
|
|
@@ -437,7 +437,7 @@ const serializeAws_restJson1CreateTagsCommand = async (input, context) => {
|
|
|
437
437
|
if (labelValue.length <= 0) {
|
|
438
438
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
439
439
|
}
|
|
440
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
440
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
441
441
|
}
|
|
442
442
|
else {
|
|
443
443
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -466,7 +466,7 @@ const serializeAws_restJson1DeleteChannelCommand = async (input, context) => {
|
|
|
466
466
|
if (labelValue.length <= 0) {
|
|
467
467
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
468
468
|
}
|
|
469
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
469
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
470
470
|
}
|
|
471
471
|
else {
|
|
472
472
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -492,7 +492,7 @@ const serializeAws_restJson1DeleteInputCommand = async (input, context) => {
|
|
|
492
492
|
if (labelValue.length <= 0) {
|
|
493
493
|
throw new Error("Empty value provided for input HTTP label: InputId.");
|
|
494
494
|
}
|
|
495
|
-
resolvedPath = resolvedPath.replace("{InputId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
495
|
+
resolvedPath = resolvedPath.replace("{InputId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
496
496
|
}
|
|
497
497
|
else {
|
|
498
498
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
@@ -519,7 +519,7 @@ const serializeAws_restJson1DeleteInputSecurityGroupCommand = async (input, cont
|
|
|
519
519
|
if (labelValue.length <= 0) {
|
|
520
520
|
throw new Error("Empty value provided for input HTTP label: InputSecurityGroupId.");
|
|
521
521
|
}
|
|
522
|
-
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
522
|
+
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
523
523
|
}
|
|
524
524
|
else {
|
|
525
525
|
throw new Error("No value provided for input HTTP label: InputSecurityGroupId.");
|
|
@@ -545,7 +545,7 @@ const serializeAws_restJson1DeleteMultiplexCommand = async (input, context) => {
|
|
|
545
545
|
if (labelValue.length <= 0) {
|
|
546
546
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
547
547
|
}
|
|
548
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
548
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
549
549
|
}
|
|
550
550
|
else {
|
|
551
551
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -572,7 +572,7 @@ const serializeAws_restJson1DeleteMultiplexProgramCommand = async (input, contex
|
|
|
572
572
|
if (labelValue.length <= 0) {
|
|
573
573
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
574
574
|
}
|
|
575
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
575
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
576
576
|
}
|
|
577
577
|
else {
|
|
578
578
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -582,7 +582,7 @@ const serializeAws_restJson1DeleteMultiplexProgramCommand = async (input, contex
|
|
|
582
582
|
if (labelValue.length <= 0) {
|
|
583
583
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
584
584
|
}
|
|
585
|
-
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
585
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
586
586
|
}
|
|
587
587
|
else {
|
|
588
588
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -608,7 +608,7 @@ const serializeAws_restJson1DeleteReservationCommand = async (input, context) =>
|
|
|
608
608
|
if (labelValue.length <= 0) {
|
|
609
609
|
throw new Error("Empty value provided for input HTTP label: ReservationId.");
|
|
610
610
|
}
|
|
611
|
-
resolvedPath = resolvedPath.replace("{ReservationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
611
|
+
resolvedPath = resolvedPath.replace("{ReservationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
612
612
|
}
|
|
613
613
|
else {
|
|
614
614
|
throw new Error("No value provided for input HTTP label: ReservationId.");
|
|
@@ -634,7 +634,7 @@ const serializeAws_restJson1DeleteScheduleCommand = async (input, context) => {
|
|
|
634
634
|
if (labelValue.length <= 0) {
|
|
635
635
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
636
636
|
}
|
|
637
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
637
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
638
638
|
}
|
|
639
639
|
else {
|
|
640
640
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -660,7 +660,7 @@ const serializeAws_restJson1DeleteTagsCommand = async (input, context) => {
|
|
|
660
660
|
if (labelValue.length <= 0) {
|
|
661
661
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
662
662
|
}
|
|
663
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
663
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
664
664
|
}
|
|
665
665
|
else {
|
|
666
666
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -690,7 +690,7 @@ const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
|
|
|
690
690
|
if (labelValue.length <= 0) {
|
|
691
691
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
692
692
|
}
|
|
693
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
693
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
694
694
|
}
|
|
695
695
|
else {
|
|
696
696
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -716,7 +716,7 @@ const serializeAws_restJson1DescribeInputCommand = async (input, context) => {
|
|
|
716
716
|
if (labelValue.length <= 0) {
|
|
717
717
|
throw new Error("Empty value provided for input HTTP label: InputId.");
|
|
718
718
|
}
|
|
719
|
-
resolvedPath = resolvedPath.replace("{InputId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
719
|
+
resolvedPath = resolvedPath.replace("{InputId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
720
720
|
}
|
|
721
721
|
else {
|
|
722
722
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
@@ -742,7 +742,7 @@ const serializeAws_restJson1DescribeInputDeviceCommand = async (input, context)
|
|
|
742
742
|
if (labelValue.length <= 0) {
|
|
743
743
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
744
744
|
}
|
|
745
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
745
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
746
746
|
}
|
|
747
747
|
else {
|
|
748
748
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -771,7 +771,7 @@ const serializeAws_restJson1DescribeInputDeviceThumbnailCommand = async (input,
|
|
|
771
771
|
if (labelValue.length <= 0) {
|
|
772
772
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
773
773
|
}
|
|
774
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
774
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
775
775
|
}
|
|
776
776
|
else {
|
|
777
777
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -798,7 +798,7 @@ const serializeAws_restJson1DescribeInputSecurityGroupCommand = async (input, co
|
|
|
798
798
|
if (labelValue.length <= 0) {
|
|
799
799
|
throw new Error("Empty value provided for input HTTP label: InputSecurityGroupId.");
|
|
800
800
|
}
|
|
801
|
-
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
801
|
+
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
802
802
|
}
|
|
803
803
|
else {
|
|
804
804
|
throw new Error("No value provided for input HTTP label: InputSecurityGroupId.");
|
|
@@ -824,7 +824,7 @@ const serializeAws_restJson1DescribeMultiplexCommand = async (input, context) =>
|
|
|
824
824
|
if (labelValue.length <= 0) {
|
|
825
825
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
826
826
|
}
|
|
827
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
827
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
828
828
|
}
|
|
829
829
|
else {
|
|
830
830
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -851,7 +851,7 @@ const serializeAws_restJson1DescribeMultiplexProgramCommand = async (input, cont
|
|
|
851
851
|
if (labelValue.length <= 0) {
|
|
852
852
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
853
853
|
}
|
|
854
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
854
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
855
855
|
}
|
|
856
856
|
else {
|
|
857
857
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -861,7 +861,7 @@ const serializeAws_restJson1DescribeMultiplexProgramCommand = async (input, cont
|
|
|
861
861
|
if (labelValue.length <= 0) {
|
|
862
862
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
863
863
|
}
|
|
864
|
-
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
864
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
865
865
|
}
|
|
866
866
|
else {
|
|
867
867
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -887,7 +887,7 @@ const serializeAws_restJson1DescribeOfferingCommand = async (input, context) =>
|
|
|
887
887
|
if (labelValue.length <= 0) {
|
|
888
888
|
throw new Error("Empty value provided for input HTTP label: OfferingId.");
|
|
889
889
|
}
|
|
890
|
-
resolvedPath = resolvedPath.replace("{OfferingId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
890
|
+
resolvedPath = resolvedPath.replace("{OfferingId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
891
891
|
}
|
|
892
892
|
else {
|
|
893
893
|
throw new Error("No value provided for input HTTP label: OfferingId.");
|
|
@@ -913,7 +913,7 @@ const serializeAws_restJson1DescribeReservationCommand = async (input, context)
|
|
|
913
913
|
if (labelValue.length <= 0) {
|
|
914
914
|
throw new Error("Empty value provided for input HTTP label: ReservationId.");
|
|
915
915
|
}
|
|
916
|
-
resolvedPath = resolvedPath.replace("{ReservationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
916
|
+
resolvedPath = resolvedPath.replace("{ReservationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
917
917
|
}
|
|
918
918
|
else {
|
|
919
919
|
throw new Error("No value provided for input HTTP label: ReservationId.");
|
|
@@ -939,7 +939,7 @@ const serializeAws_restJson1DescribeScheduleCommand = async (input, context) =>
|
|
|
939
939
|
if (labelValue.length <= 0) {
|
|
940
940
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
941
941
|
}
|
|
942
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
942
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
943
943
|
}
|
|
944
944
|
else {
|
|
945
945
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1097,7 +1097,7 @@ const serializeAws_restJson1ListMultiplexProgramsCommand = async (input, context
|
|
|
1097
1097
|
if (labelValue.length <= 0) {
|
|
1098
1098
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1099
1099
|
}
|
|
1100
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1100
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1101
1101
|
}
|
|
1102
1102
|
else {
|
|
1103
1103
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1188,7 +1188,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
1188
1188
|
if (labelValue.length <= 0) {
|
|
1189
1189
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
1190
1190
|
}
|
|
1191
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1191
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1192
1192
|
}
|
|
1193
1193
|
else {
|
|
1194
1194
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -1217,7 +1217,7 @@ const serializeAws_restJson1PurchaseOfferingCommand = async (input, context) =>
|
|
|
1217
1217
|
if (labelValue.length <= 0) {
|
|
1218
1218
|
throw new Error("Empty value provided for input HTTP label: OfferingId.");
|
|
1219
1219
|
}
|
|
1220
|
-
resolvedPath = resolvedPath.replace("{OfferingId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1220
|
+
resolvedPath = resolvedPath.replace("{OfferingId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1221
1221
|
}
|
|
1222
1222
|
else {
|
|
1223
1223
|
throw new Error("No value provided for input HTTP label: OfferingId.");
|
|
@@ -1226,7 +1226,7 @@ const serializeAws_restJson1PurchaseOfferingCommand = async (input, context) =>
|
|
|
1226
1226
|
body = JSON.stringify({
|
|
1227
1227
|
...(input.Count !== undefined && input.Count !== null && { count: input.Count }),
|
|
1228
1228
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
1229
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1229
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1230
1230
|
...(input.Start !== undefined && input.Start !== null && { start: input.Start }),
|
|
1231
1231
|
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
1232
1232
|
});
|
|
@@ -1250,7 +1250,7 @@ const serializeAws_restJson1RejectInputDeviceTransferCommand = async (input, con
|
|
|
1250
1250
|
if (labelValue.length <= 0) {
|
|
1251
1251
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
1252
1252
|
}
|
|
1253
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1253
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1254
1254
|
}
|
|
1255
1255
|
else {
|
|
1256
1256
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -1276,7 +1276,7 @@ const serializeAws_restJson1StartChannelCommand = async (input, context) => {
|
|
|
1276
1276
|
if (labelValue.length <= 0) {
|
|
1277
1277
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
1278
1278
|
}
|
|
1279
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1279
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1280
1280
|
}
|
|
1281
1281
|
else {
|
|
1282
1282
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1302,7 +1302,7 @@ const serializeAws_restJson1StartMultiplexCommand = async (input, context) => {
|
|
|
1302
1302
|
if (labelValue.length <= 0) {
|
|
1303
1303
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1304
1304
|
}
|
|
1305
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1305
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1306
1306
|
}
|
|
1307
1307
|
else {
|
|
1308
1308
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1328,7 +1328,7 @@ const serializeAws_restJson1StopChannelCommand = async (input, context) => {
|
|
|
1328
1328
|
if (labelValue.length <= 0) {
|
|
1329
1329
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
1330
1330
|
}
|
|
1331
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1331
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1332
1332
|
}
|
|
1333
1333
|
else {
|
|
1334
1334
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1354,7 +1354,7 @@ const serializeAws_restJson1StopMultiplexCommand = async (input, context) => {
|
|
|
1354
1354
|
if (labelValue.length <= 0) {
|
|
1355
1355
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1356
1356
|
}
|
|
1357
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1357
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1358
1358
|
}
|
|
1359
1359
|
else {
|
|
1360
1360
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1383,7 +1383,7 @@ const serializeAws_restJson1TransferInputDeviceCommand = async (input, context)
|
|
|
1383
1383
|
if (labelValue.length <= 0) {
|
|
1384
1384
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
1385
1385
|
}
|
|
1386
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1386
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1387
1387
|
}
|
|
1388
1388
|
else {
|
|
1389
1389
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -1418,7 +1418,7 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
|
|
|
1418
1418
|
if (labelValue.length <= 0) {
|
|
1419
1419
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
1420
1420
|
}
|
|
1421
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1421
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1422
1422
|
}
|
|
1423
1423
|
else {
|
|
1424
1424
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1471,7 +1471,7 @@ const serializeAws_restJson1UpdateChannelClassCommand = async (input, context) =
|
|
|
1471
1471
|
if (labelValue.length <= 0) {
|
|
1472
1472
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
1473
1473
|
}
|
|
1474
|
-
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1474
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1475
1475
|
}
|
|
1476
1476
|
else {
|
|
1477
1477
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1506,7 +1506,7 @@ const serializeAws_restJson1UpdateInputCommand = async (input, context) => {
|
|
|
1506
1506
|
if (labelValue.length <= 0) {
|
|
1507
1507
|
throw new Error("Empty value provided for input HTTP label: InputId.");
|
|
1508
1508
|
}
|
|
1509
|
-
resolvedPath = resolvedPath.replace("{InputId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1509
|
+
resolvedPath = resolvedPath.replace("{InputId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1510
1510
|
}
|
|
1511
1511
|
else {
|
|
1512
1512
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
@@ -1556,7 +1556,7 @@ const serializeAws_restJson1UpdateInputDeviceCommand = async (input, context) =>
|
|
|
1556
1556
|
if (labelValue.length <= 0) {
|
|
1557
1557
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
1558
1558
|
}
|
|
1559
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1559
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1560
1560
|
}
|
|
1561
1561
|
else {
|
|
1562
1562
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -1596,7 +1596,7 @@ const serializeAws_restJson1UpdateInputSecurityGroupCommand = async (input, cont
|
|
|
1596
1596
|
if (labelValue.length <= 0) {
|
|
1597
1597
|
throw new Error("Empty value provided for input HTTP label: InputSecurityGroupId.");
|
|
1598
1598
|
}
|
|
1599
|
-
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1599
|
+
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1600
1600
|
}
|
|
1601
1601
|
else {
|
|
1602
1602
|
throw new Error("No value provided for input HTTP label: InputSecurityGroupId.");
|
|
@@ -1631,7 +1631,7 @@ const serializeAws_restJson1UpdateMultiplexCommand = async (input, context) => {
|
|
|
1631
1631
|
if (labelValue.length <= 0) {
|
|
1632
1632
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1633
1633
|
}
|
|
1634
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1634
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1635
1635
|
}
|
|
1636
1636
|
else {
|
|
1637
1637
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1667,7 +1667,7 @@ const serializeAws_restJson1UpdateMultiplexProgramCommand = async (input, contex
|
|
|
1667
1667
|
if (labelValue.length <= 0) {
|
|
1668
1668
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1669
1669
|
}
|
|
1670
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1670
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1671
1671
|
}
|
|
1672
1672
|
else {
|
|
1673
1673
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1677,7 +1677,7 @@ const serializeAws_restJson1UpdateMultiplexProgramCommand = async (input, contex
|
|
|
1677
1677
|
if (labelValue.length <= 0) {
|
|
1678
1678
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
1679
1679
|
}
|
|
1680
|
-
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1680
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1681
1681
|
}
|
|
1682
1682
|
else {
|
|
1683
1683
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -1711,7 +1711,7 @@ const serializeAws_restJson1UpdateReservationCommand = async (input, context) =>
|
|
|
1711
1711
|
if (labelValue.length <= 0) {
|
|
1712
1712
|
throw new Error("Empty value provided for input HTTP label: ReservationId.");
|
|
1713
1713
|
}
|
|
1714
|
-
resolvedPath = resolvedPath.replace("{ReservationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1714
|
+
resolvedPath = resolvedPath.replace("{ReservationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1715
1715
|
}
|
|
1716
1716
|
else {
|
|
1717
1717
|
throw new Error("No value provided for input HTTP label: ReservationId.");
|
|
@@ -1785,7 +1785,7 @@ const deserializeAws_restJson1AcceptInputDeviceTransferCommandError = async (out
|
|
|
1785
1785
|
$fault: "client",
|
|
1786
1786
|
$metadata: deserializeMetadata(output),
|
|
1787
1787
|
});
|
|
1788
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1788
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1789
1789
|
}
|
|
1790
1790
|
};
|
|
1791
1791
|
const deserializeAws_restJson1BatchDeleteCommand = async (output, context) => {
|
|
@@ -1797,7 +1797,7 @@ const deserializeAws_restJson1BatchDeleteCommand = async (output, context) => {
|
|
|
1797
1797
|
Failed: undefined,
|
|
1798
1798
|
Successful: undefined,
|
|
1799
1799
|
};
|
|
1800
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1800
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1801
1801
|
if (data.failed !== undefined && data.failed !== null) {
|
|
1802
1802
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
1803
1803
|
}
|
|
@@ -1847,7 +1847,7 @@ const deserializeAws_restJson1BatchDeleteCommandError = async (output, context)
|
|
|
1847
1847
|
$fault: "client",
|
|
1848
1848
|
$metadata: deserializeMetadata(output),
|
|
1849
1849
|
});
|
|
1850
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1850
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
1853
|
const deserializeAws_restJson1BatchStartCommand = async (output, context) => {
|
|
@@ -1859,7 +1859,7 @@ const deserializeAws_restJson1BatchStartCommand = async (output, context) => {
|
|
|
1859
1859
|
Failed: undefined,
|
|
1860
1860
|
Successful: undefined,
|
|
1861
1861
|
};
|
|
1862
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1862
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1863
1863
|
if (data.failed !== undefined && data.failed !== null) {
|
|
1864
1864
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
1865
1865
|
}
|
|
@@ -1909,7 +1909,7 @@ const deserializeAws_restJson1BatchStartCommandError = async (output, context) =
|
|
|
1909
1909
|
$fault: "client",
|
|
1910
1910
|
$metadata: deserializeMetadata(output),
|
|
1911
1911
|
});
|
|
1912
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1912
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1913
1913
|
}
|
|
1914
1914
|
};
|
|
1915
1915
|
const deserializeAws_restJson1BatchStopCommand = async (output, context) => {
|
|
@@ -1921,7 +1921,7 @@ const deserializeAws_restJson1BatchStopCommand = async (output, context) => {
|
|
|
1921
1921
|
Failed: undefined,
|
|
1922
1922
|
Successful: undefined,
|
|
1923
1923
|
};
|
|
1924
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1924
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1925
1925
|
if (data.failed !== undefined && data.failed !== null) {
|
|
1926
1926
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
1927
1927
|
}
|
|
@@ -1971,7 +1971,7 @@ const deserializeAws_restJson1BatchStopCommandError = async (output, context) =>
|
|
|
1971
1971
|
$fault: "client",
|
|
1972
1972
|
$metadata: deserializeMetadata(output),
|
|
1973
1973
|
});
|
|
1974
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1974
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1975
1975
|
}
|
|
1976
1976
|
};
|
|
1977
1977
|
const deserializeAws_restJson1BatchUpdateScheduleCommand = async (output, context) => {
|
|
@@ -1983,7 +1983,7 @@ const deserializeAws_restJson1BatchUpdateScheduleCommand = async (output, contex
|
|
|
1983
1983
|
Creates: undefined,
|
|
1984
1984
|
Deletes: undefined,
|
|
1985
1985
|
};
|
|
1986
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1986
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1987
1987
|
if (data.creates !== undefined && data.creates !== null) {
|
|
1988
1988
|
contents.Creates = deserializeAws_restJson1BatchScheduleActionCreateResult(data.creates, context);
|
|
1989
1989
|
}
|
|
@@ -2033,7 +2033,7 @@ const deserializeAws_restJson1BatchUpdateScheduleCommandError = async (output, c
|
|
|
2033
2033
|
$fault: "client",
|
|
2034
2034
|
$metadata: deserializeMetadata(output),
|
|
2035
2035
|
});
|
|
2036
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2036
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2037
2037
|
}
|
|
2038
2038
|
};
|
|
2039
2039
|
const deserializeAws_restJson1CancelInputDeviceTransferCommand = async (output, context) => {
|
|
@@ -2090,7 +2090,7 @@ const deserializeAws_restJson1CancelInputDeviceTransferCommandError = async (out
|
|
|
2090
2090
|
$fault: "client",
|
|
2091
2091
|
$metadata: deserializeMetadata(output),
|
|
2092
2092
|
});
|
|
2093
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2093
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2094
2094
|
}
|
|
2095
2095
|
};
|
|
2096
2096
|
const deserializeAws_restJson1ClaimDeviceCommand = async (output, context) => {
|
|
@@ -2144,7 +2144,7 @@ const deserializeAws_restJson1ClaimDeviceCommandError = async (output, context)
|
|
|
2144
2144
|
$fault: "client",
|
|
2145
2145
|
$metadata: deserializeMetadata(output),
|
|
2146
2146
|
});
|
|
2147
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2147
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2148
2148
|
}
|
|
2149
2149
|
};
|
|
2150
2150
|
const deserializeAws_restJson1CreateChannelCommand = async (output, context) => {
|
|
@@ -2155,7 +2155,7 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
|
|
|
2155
2155
|
$metadata: deserializeMetadata(output),
|
|
2156
2156
|
Channel: undefined,
|
|
2157
2157
|
};
|
|
2158
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2158
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2159
2159
|
if (data.channel !== undefined && data.channel !== null) {
|
|
2160
2160
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
2161
2161
|
}
|
|
@@ -2202,7 +2202,7 @@ const deserializeAws_restJson1CreateChannelCommandError = async (output, context
|
|
|
2202
2202
|
$fault: "client",
|
|
2203
2203
|
$metadata: deserializeMetadata(output),
|
|
2204
2204
|
});
|
|
2205
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2205
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2206
2206
|
}
|
|
2207
2207
|
};
|
|
2208
2208
|
const deserializeAws_restJson1CreateInputCommand = async (output, context) => {
|
|
@@ -2213,7 +2213,7 @@ const deserializeAws_restJson1CreateInputCommand = async (output, context) => {
|
|
|
2213
2213
|
$metadata: deserializeMetadata(output),
|
|
2214
2214
|
Input: undefined,
|
|
2215
2215
|
};
|
|
2216
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2216
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2217
2217
|
if (data.input !== undefined && data.input !== null) {
|
|
2218
2218
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
2219
2219
|
}
|
|
@@ -2254,7 +2254,7 @@ const deserializeAws_restJson1CreateInputCommandError = async (output, context)
|
|
|
2254
2254
|
$fault: "client",
|
|
2255
2255
|
$metadata: deserializeMetadata(output),
|
|
2256
2256
|
});
|
|
2257
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2257
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2258
2258
|
}
|
|
2259
2259
|
};
|
|
2260
2260
|
const deserializeAws_restJson1CreateInputSecurityGroupCommand = async (output, context) => {
|
|
@@ -2265,7 +2265,7 @@ const deserializeAws_restJson1CreateInputSecurityGroupCommand = async (output, c
|
|
|
2265
2265
|
$metadata: deserializeMetadata(output),
|
|
2266
2266
|
SecurityGroup: undefined,
|
|
2267
2267
|
};
|
|
2268
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2268
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2269
2269
|
if (data.securityGroup !== undefined && data.securityGroup !== null) {
|
|
2270
2270
|
contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
|
|
2271
2271
|
}
|
|
@@ -2306,7 +2306,7 @@ const deserializeAws_restJson1CreateInputSecurityGroupCommandError = async (outp
|
|
|
2306
2306
|
$fault: "client",
|
|
2307
2307
|
$metadata: deserializeMetadata(output),
|
|
2308
2308
|
});
|
|
2309
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2309
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2310
2310
|
}
|
|
2311
2311
|
};
|
|
2312
2312
|
const deserializeAws_restJson1CreateMultiplexCommand = async (output, context) => {
|
|
@@ -2317,7 +2317,7 @@ const deserializeAws_restJson1CreateMultiplexCommand = async (output, context) =
|
|
|
2317
2317
|
$metadata: deserializeMetadata(output),
|
|
2318
2318
|
Multiplex: undefined,
|
|
2319
2319
|
};
|
|
2320
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2320
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2321
2321
|
if (data.multiplex !== undefined && data.multiplex !== null) {
|
|
2322
2322
|
contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
|
|
2323
2323
|
}
|
|
@@ -2364,7 +2364,7 @@ const deserializeAws_restJson1CreateMultiplexCommandError = async (output, conte
|
|
|
2364
2364
|
$fault: "client",
|
|
2365
2365
|
$metadata: deserializeMetadata(output),
|
|
2366
2366
|
});
|
|
2367
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2367
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2368
2368
|
}
|
|
2369
2369
|
};
|
|
2370
2370
|
const deserializeAws_restJson1CreateMultiplexProgramCommand = async (output, context) => {
|
|
@@ -2375,7 +2375,7 @@ const deserializeAws_restJson1CreateMultiplexProgramCommand = async (output, con
|
|
|
2375
2375
|
$metadata: deserializeMetadata(output),
|
|
2376
2376
|
MultiplexProgram: undefined,
|
|
2377
2377
|
};
|
|
2378
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2378
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2379
2379
|
if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
|
|
2380
2380
|
contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
|
|
2381
2381
|
}
|
|
@@ -2422,7 +2422,7 @@ const deserializeAws_restJson1CreateMultiplexProgramCommandError = async (output
|
|
|
2422
2422
|
$fault: "client",
|
|
2423
2423
|
$metadata: deserializeMetadata(output),
|
|
2424
2424
|
});
|
|
2425
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2425
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2426
2426
|
}
|
|
2427
2427
|
};
|
|
2428
2428
|
const deserializeAws_restJson1CreatePartnerInputCommand = async (output, context) => {
|
|
@@ -2433,7 +2433,7 @@ const deserializeAws_restJson1CreatePartnerInputCommand = async (output, context
|
|
|
2433
2433
|
$metadata: deserializeMetadata(output),
|
|
2434
2434
|
Input: undefined,
|
|
2435
2435
|
};
|
|
2436
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2436
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2437
2437
|
if (data.input !== undefined && data.input !== null) {
|
|
2438
2438
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
2439
2439
|
}
|
|
@@ -2474,7 +2474,7 @@ const deserializeAws_restJson1CreatePartnerInputCommandError = async (output, co
|
|
|
2474
2474
|
$fault: "client",
|
|
2475
2475
|
$metadata: deserializeMetadata(output),
|
|
2476
2476
|
});
|
|
2477
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2477
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2478
2478
|
}
|
|
2479
2479
|
};
|
|
2480
2480
|
const deserializeAws_restJson1CreateTagsCommand = async (output, context) => {
|
|
@@ -2516,7 +2516,7 @@ const deserializeAws_restJson1CreateTagsCommandError = async (output, context) =
|
|
|
2516
2516
|
$fault: "client",
|
|
2517
2517
|
$metadata: deserializeMetadata(output),
|
|
2518
2518
|
});
|
|
2519
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2519
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2520
2520
|
}
|
|
2521
2521
|
};
|
|
2522
2522
|
const deserializeAws_restJson1DeleteChannelCommand = async (output, context) => {
|
|
@@ -2543,15 +2543,15 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
2543
2543
|
Tags: undefined,
|
|
2544
2544
|
Vpc: undefined,
|
|
2545
2545
|
};
|
|
2546
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2546
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2547
2547
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2548
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
2548
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
2549
2549
|
}
|
|
2550
2550
|
if (data.cdiInputSpecification !== undefined && data.cdiInputSpecification !== null) {
|
|
2551
2551
|
contents.CdiInputSpecification = deserializeAws_restJson1CdiInputSpecification(data.cdiInputSpecification, context);
|
|
2552
2552
|
}
|
|
2553
2553
|
if (data.channelClass !== undefined && data.channelClass !== null) {
|
|
2554
|
-
contents.ChannelClass = smithy_client_1.expectString(data.channelClass);
|
|
2554
|
+
contents.ChannelClass = (0, smithy_client_1.expectString)(data.channelClass);
|
|
2555
2555
|
}
|
|
2556
2556
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
2557
2557
|
contents.Destinations = deserializeAws_restJson1__listOfOutputDestination(data.destinations, context);
|
|
@@ -2563,7 +2563,7 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
2563
2563
|
contents.EncoderSettings = deserializeAws_restJson1EncoderSettings(data.encoderSettings, context);
|
|
2564
2564
|
}
|
|
2565
2565
|
if (data.id !== undefined && data.id !== null) {
|
|
2566
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
2566
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
2567
2567
|
}
|
|
2568
2568
|
if (data.inputAttachments !== undefined && data.inputAttachments !== null) {
|
|
2569
2569
|
contents.InputAttachments = deserializeAws_restJson1__listOfInputAttachment(data.inputAttachments, context);
|
|
@@ -2572,22 +2572,22 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
2572
2572
|
contents.InputSpecification = deserializeAws_restJson1InputSpecification(data.inputSpecification, context);
|
|
2573
2573
|
}
|
|
2574
2574
|
if (data.logLevel !== undefined && data.logLevel !== null) {
|
|
2575
|
-
contents.LogLevel = smithy_client_1.expectString(data.logLevel);
|
|
2575
|
+
contents.LogLevel = (0, smithy_client_1.expectString)(data.logLevel);
|
|
2576
2576
|
}
|
|
2577
2577
|
if (data.name !== undefined && data.name !== null) {
|
|
2578
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
2578
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
2579
2579
|
}
|
|
2580
2580
|
if (data.pipelineDetails !== undefined && data.pipelineDetails !== null) {
|
|
2581
2581
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
2582
2582
|
}
|
|
2583
2583
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
2584
|
-
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
2584
|
+
contents.PipelinesRunningCount = (0, smithy_client_1.expectInt32)(data.pipelinesRunningCount);
|
|
2585
2585
|
}
|
|
2586
2586
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
2587
|
-
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
2587
|
+
contents.RoleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
2588
2588
|
}
|
|
2589
2589
|
if (data.state !== undefined && data.state !== null) {
|
|
2590
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
2590
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
2591
2591
|
}
|
|
2592
2592
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2593
2593
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -2638,7 +2638,7 @@ const deserializeAws_restJson1DeleteChannelCommandError = async (output, context
|
|
|
2638
2638
|
$fault: "client",
|
|
2639
2639
|
$metadata: deserializeMetadata(output),
|
|
2640
2640
|
});
|
|
2641
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2641
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2642
2642
|
}
|
|
2643
2643
|
};
|
|
2644
2644
|
const deserializeAws_restJson1DeleteInputCommand = async (output, context) => {
|
|
@@ -2692,7 +2692,7 @@ const deserializeAws_restJson1DeleteInputCommandError = async (output, context)
|
|
|
2692
2692
|
$fault: "client",
|
|
2693
2693
|
$metadata: deserializeMetadata(output),
|
|
2694
2694
|
});
|
|
2695
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2695
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2696
2696
|
}
|
|
2697
2697
|
};
|
|
2698
2698
|
const deserializeAws_restJson1DeleteInputSecurityGroupCommand = async (output, context) => {
|
|
@@ -2743,7 +2743,7 @@ const deserializeAws_restJson1DeleteInputSecurityGroupCommandError = async (outp
|
|
|
2743
2743
|
$fault: "client",
|
|
2744
2744
|
$metadata: deserializeMetadata(output),
|
|
2745
2745
|
});
|
|
2746
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2746
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2747
2747
|
}
|
|
2748
2748
|
};
|
|
2749
2749
|
const deserializeAws_restJson1DeleteMultiplexCommand = async (output, context) => {
|
|
@@ -2763,9 +2763,9 @@ const deserializeAws_restJson1DeleteMultiplexCommand = async (output, context) =
|
|
|
2763
2763
|
State: undefined,
|
|
2764
2764
|
Tags: undefined,
|
|
2765
2765
|
};
|
|
2766
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2766
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2767
2767
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2768
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
2768
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
2769
2769
|
}
|
|
2770
2770
|
if (data.availabilityZones !== undefined && data.availabilityZones !== null) {
|
|
2771
2771
|
contents.AvailabilityZones = deserializeAws_restJson1__listOf__string(data.availabilityZones, context);
|
|
@@ -2774,22 +2774,22 @@ const deserializeAws_restJson1DeleteMultiplexCommand = async (output, context) =
|
|
|
2774
2774
|
contents.Destinations = deserializeAws_restJson1__listOfMultiplexOutputDestination(data.destinations, context);
|
|
2775
2775
|
}
|
|
2776
2776
|
if (data.id !== undefined && data.id !== null) {
|
|
2777
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
2777
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
2778
2778
|
}
|
|
2779
2779
|
if (data.multiplexSettings !== undefined && data.multiplexSettings !== null) {
|
|
2780
2780
|
contents.MultiplexSettings = deserializeAws_restJson1MultiplexSettings(data.multiplexSettings, context);
|
|
2781
2781
|
}
|
|
2782
2782
|
if (data.name !== undefined && data.name !== null) {
|
|
2783
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
2783
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
2784
2784
|
}
|
|
2785
2785
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
2786
|
-
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
2786
|
+
contents.PipelinesRunningCount = (0, smithy_client_1.expectInt32)(data.pipelinesRunningCount);
|
|
2787
2787
|
}
|
|
2788
2788
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
2789
|
-
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
2789
|
+
contents.ProgramCount = (0, smithy_client_1.expectInt32)(data.programCount);
|
|
2790
2790
|
}
|
|
2791
2791
|
if (data.state !== undefined && data.state !== null) {
|
|
2792
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
2792
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
2793
2793
|
}
|
|
2794
2794
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2795
2795
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -2837,7 +2837,7 @@ const deserializeAws_restJson1DeleteMultiplexCommandError = async (output, conte
|
|
|
2837
2837
|
$fault: "client",
|
|
2838
2838
|
$metadata: deserializeMetadata(output),
|
|
2839
2839
|
});
|
|
2840
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2840
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2841
2841
|
}
|
|
2842
2842
|
};
|
|
2843
2843
|
const deserializeAws_restJson1DeleteMultiplexProgramCommand = async (output, context) => {
|
|
@@ -2852,9 +2852,9 @@ const deserializeAws_restJson1DeleteMultiplexProgramCommand = async (output, con
|
|
|
2852
2852
|
PipelineDetails: undefined,
|
|
2853
2853
|
ProgramName: undefined,
|
|
2854
2854
|
};
|
|
2855
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2855
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2856
2856
|
if (data.channelId !== undefined && data.channelId !== null) {
|
|
2857
|
-
contents.ChannelId = smithy_client_1.expectString(data.channelId);
|
|
2857
|
+
contents.ChannelId = (0, smithy_client_1.expectString)(data.channelId);
|
|
2858
2858
|
}
|
|
2859
2859
|
if (data.multiplexProgramSettings !== undefined && data.multiplexProgramSettings !== null) {
|
|
2860
2860
|
contents.MultiplexProgramSettings = deserializeAws_restJson1MultiplexProgramSettings(data.multiplexProgramSettings, context);
|
|
@@ -2866,7 +2866,7 @@ const deserializeAws_restJson1DeleteMultiplexProgramCommand = async (output, con
|
|
|
2866
2866
|
contents.PipelineDetails = deserializeAws_restJson1__listOfMultiplexProgramPipelineDetail(data.pipelineDetails, context);
|
|
2867
2867
|
}
|
|
2868
2868
|
if (data.programName !== undefined && data.programName !== null) {
|
|
2869
|
-
contents.ProgramName = smithy_client_1.expectString(data.programName);
|
|
2869
|
+
contents.ProgramName = (0, smithy_client_1.expectString)(data.programName);
|
|
2870
2870
|
}
|
|
2871
2871
|
return Promise.resolve(contents);
|
|
2872
2872
|
};
|
|
@@ -2911,7 +2911,7 @@ const deserializeAws_restJson1DeleteMultiplexProgramCommandError = async (output
|
|
|
2911
2911
|
$fault: "client",
|
|
2912
2912
|
$metadata: deserializeMetadata(output),
|
|
2913
2913
|
});
|
|
2914
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2914
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2915
2915
|
}
|
|
2916
2916
|
};
|
|
2917
2917
|
const deserializeAws_restJson1DeleteReservationCommand = async (output, context) => {
|
|
@@ -2939,60 +2939,60 @@ const deserializeAws_restJson1DeleteReservationCommand = async (output, context)
|
|
|
2939
2939
|
Tags: undefined,
|
|
2940
2940
|
UsagePrice: undefined,
|
|
2941
2941
|
};
|
|
2942
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2942
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2943
2943
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2944
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
2944
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
2945
2945
|
}
|
|
2946
2946
|
if (data.count !== undefined && data.count !== null) {
|
|
2947
|
-
contents.Count = smithy_client_1.expectInt32(data.count);
|
|
2947
|
+
contents.Count = (0, smithy_client_1.expectInt32)(data.count);
|
|
2948
2948
|
}
|
|
2949
2949
|
if (data.currencyCode !== undefined && data.currencyCode !== null) {
|
|
2950
|
-
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
2950
|
+
contents.CurrencyCode = (0, smithy_client_1.expectString)(data.currencyCode);
|
|
2951
2951
|
}
|
|
2952
2952
|
if (data.duration !== undefined && data.duration !== null) {
|
|
2953
|
-
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
2953
|
+
contents.Duration = (0, smithy_client_1.expectInt32)(data.duration);
|
|
2954
2954
|
}
|
|
2955
2955
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
2956
|
-
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
2956
|
+
contents.DurationUnits = (0, smithy_client_1.expectString)(data.durationUnits);
|
|
2957
2957
|
}
|
|
2958
2958
|
if (data.end !== undefined && data.end !== null) {
|
|
2959
|
-
contents.End = smithy_client_1.expectString(data.end);
|
|
2959
|
+
contents.End = (0, smithy_client_1.expectString)(data.end);
|
|
2960
2960
|
}
|
|
2961
2961
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
2962
|
-
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
2962
|
+
contents.FixedPrice = (0, smithy_client_1.limitedParseDouble)(data.fixedPrice);
|
|
2963
2963
|
}
|
|
2964
2964
|
if (data.name !== undefined && data.name !== null) {
|
|
2965
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
2965
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
2966
2966
|
}
|
|
2967
2967
|
if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
|
|
2968
|
-
contents.OfferingDescription = smithy_client_1.expectString(data.offeringDescription);
|
|
2968
|
+
contents.OfferingDescription = (0, smithy_client_1.expectString)(data.offeringDescription);
|
|
2969
2969
|
}
|
|
2970
2970
|
if (data.offeringId !== undefined && data.offeringId !== null) {
|
|
2971
|
-
contents.OfferingId = smithy_client_1.expectString(data.offeringId);
|
|
2971
|
+
contents.OfferingId = (0, smithy_client_1.expectString)(data.offeringId);
|
|
2972
2972
|
}
|
|
2973
2973
|
if (data.offeringType !== undefined && data.offeringType !== null) {
|
|
2974
|
-
contents.OfferingType = smithy_client_1.expectString(data.offeringType);
|
|
2974
|
+
contents.OfferingType = (0, smithy_client_1.expectString)(data.offeringType);
|
|
2975
2975
|
}
|
|
2976
2976
|
if (data.region !== undefined && data.region !== null) {
|
|
2977
|
-
contents.Region = smithy_client_1.expectString(data.region);
|
|
2977
|
+
contents.Region = (0, smithy_client_1.expectString)(data.region);
|
|
2978
2978
|
}
|
|
2979
2979
|
if (data.reservationId !== undefined && data.reservationId !== null) {
|
|
2980
|
-
contents.ReservationId = smithy_client_1.expectString(data.reservationId);
|
|
2980
|
+
contents.ReservationId = (0, smithy_client_1.expectString)(data.reservationId);
|
|
2981
2981
|
}
|
|
2982
2982
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
2983
2983
|
contents.ResourceSpecification = deserializeAws_restJson1ReservationResourceSpecification(data.resourceSpecification, context);
|
|
2984
2984
|
}
|
|
2985
2985
|
if (data.start !== undefined && data.start !== null) {
|
|
2986
|
-
contents.Start = smithy_client_1.expectString(data.start);
|
|
2986
|
+
contents.Start = (0, smithy_client_1.expectString)(data.start);
|
|
2987
2987
|
}
|
|
2988
2988
|
if (data.state !== undefined && data.state !== null) {
|
|
2989
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
2989
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
2990
2990
|
}
|
|
2991
2991
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2992
2992
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
2993
2993
|
}
|
|
2994
2994
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
2995
|
-
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
2995
|
+
contents.UsagePrice = (0, smithy_client_1.limitedParseDouble)(data.usagePrice);
|
|
2996
2996
|
}
|
|
2997
2997
|
return Promise.resolve(contents);
|
|
2998
2998
|
};
|
|
@@ -3037,7 +3037,7 @@ const deserializeAws_restJson1DeleteReservationCommandError = async (output, con
|
|
|
3037
3037
|
$fault: "client",
|
|
3038
3038
|
$metadata: deserializeMetadata(output),
|
|
3039
3039
|
});
|
|
3040
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3040
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3041
3041
|
}
|
|
3042
3042
|
};
|
|
3043
3043
|
const deserializeAws_restJson1DeleteScheduleCommand = async (output, context) => {
|
|
@@ -3088,7 +3088,7 @@ const deserializeAws_restJson1DeleteScheduleCommandError = async (output, contex
|
|
|
3088
3088
|
$fault: "client",
|
|
3089
3089
|
$metadata: deserializeMetadata(output),
|
|
3090
3090
|
});
|
|
3091
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3091
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3092
3092
|
}
|
|
3093
3093
|
};
|
|
3094
3094
|
const deserializeAws_restJson1DeleteTagsCommand = async (output, context) => {
|
|
@@ -3130,7 +3130,7 @@ const deserializeAws_restJson1DeleteTagsCommandError = async (output, context) =
|
|
|
3130
3130
|
$fault: "client",
|
|
3131
3131
|
$metadata: deserializeMetadata(output),
|
|
3132
3132
|
});
|
|
3133
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3133
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3134
3134
|
}
|
|
3135
3135
|
};
|
|
3136
3136
|
const deserializeAws_restJson1DescribeChannelCommand = async (output, context) => {
|
|
@@ -3157,15 +3157,15 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
3157
3157
|
Tags: undefined,
|
|
3158
3158
|
Vpc: undefined,
|
|
3159
3159
|
};
|
|
3160
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3160
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3161
3161
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3162
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3162
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
3163
3163
|
}
|
|
3164
3164
|
if (data.cdiInputSpecification !== undefined && data.cdiInputSpecification !== null) {
|
|
3165
3165
|
contents.CdiInputSpecification = deserializeAws_restJson1CdiInputSpecification(data.cdiInputSpecification, context);
|
|
3166
3166
|
}
|
|
3167
3167
|
if (data.channelClass !== undefined && data.channelClass !== null) {
|
|
3168
|
-
contents.ChannelClass = smithy_client_1.expectString(data.channelClass);
|
|
3168
|
+
contents.ChannelClass = (0, smithy_client_1.expectString)(data.channelClass);
|
|
3169
3169
|
}
|
|
3170
3170
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
3171
3171
|
contents.Destinations = deserializeAws_restJson1__listOfOutputDestination(data.destinations, context);
|
|
@@ -3177,7 +3177,7 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
3177
3177
|
contents.EncoderSettings = deserializeAws_restJson1EncoderSettings(data.encoderSettings, context);
|
|
3178
3178
|
}
|
|
3179
3179
|
if (data.id !== undefined && data.id !== null) {
|
|
3180
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
3180
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
3181
3181
|
}
|
|
3182
3182
|
if (data.inputAttachments !== undefined && data.inputAttachments !== null) {
|
|
3183
3183
|
contents.InputAttachments = deserializeAws_restJson1__listOfInputAttachment(data.inputAttachments, context);
|
|
@@ -3186,22 +3186,22 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
3186
3186
|
contents.InputSpecification = deserializeAws_restJson1InputSpecification(data.inputSpecification, context);
|
|
3187
3187
|
}
|
|
3188
3188
|
if (data.logLevel !== undefined && data.logLevel !== null) {
|
|
3189
|
-
contents.LogLevel = smithy_client_1.expectString(data.logLevel);
|
|
3189
|
+
contents.LogLevel = (0, smithy_client_1.expectString)(data.logLevel);
|
|
3190
3190
|
}
|
|
3191
3191
|
if (data.name !== undefined && data.name !== null) {
|
|
3192
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
3192
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
3193
3193
|
}
|
|
3194
3194
|
if (data.pipelineDetails !== undefined && data.pipelineDetails !== null) {
|
|
3195
3195
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
3196
3196
|
}
|
|
3197
3197
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
3198
|
-
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
3198
|
+
contents.PipelinesRunningCount = (0, smithy_client_1.expectInt32)(data.pipelinesRunningCount);
|
|
3199
3199
|
}
|
|
3200
3200
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
3201
|
-
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
3201
|
+
contents.RoleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
3202
3202
|
}
|
|
3203
3203
|
if (data.state !== undefined && data.state !== null) {
|
|
3204
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
3204
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
3205
3205
|
}
|
|
3206
3206
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3207
3207
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -3249,7 +3249,7 @@ const deserializeAws_restJson1DescribeChannelCommandError = async (output, conte
|
|
|
3249
3249
|
$fault: "client",
|
|
3250
3250
|
$metadata: deserializeMetadata(output),
|
|
3251
3251
|
});
|
|
3252
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3252
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3253
3253
|
}
|
|
3254
3254
|
};
|
|
3255
3255
|
const deserializeAws_restJson1DescribeInputCommand = async (output, context) => {
|
|
@@ -3275,9 +3275,9 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
3275
3275
|
Tags: undefined,
|
|
3276
3276
|
Type: undefined,
|
|
3277
3277
|
};
|
|
3278
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3278
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3279
3279
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3280
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3280
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
3281
3281
|
}
|
|
3282
3282
|
if (data.attachedChannels !== undefined && data.attachedChannels !== null) {
|
|
3283
3283
|
contents.AttachedChannels = deserializeAws_restJson1__listOf__string(data.attachedChannels, context);
|
|
@@ -3286,10 +3286,10 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
3286
3286
|
contents.Destinations = deserializeAws_restJson1__listOfInputDestination(data.destinations, context);
|
|
3287
3287
|
}
|
|
3288
3288
|
if (data.id !== undefined && data.id !== null) {
|
|
3289
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
3289
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
3290
3290
|
}
|
|
3291
3291
|
if (data.inputClass !== undefined && data.inputClass !== null) {
|
|
3292
|
-
contents.InputClass = smithy_client_1.expectString(data.inputClass);
|
|
3292
|
+
contents.InputClass = (0, smithy_client_1.expectString)(data.inputClass);
|
|
3293
3293
|
}
|
|
3294
3294
|
if (data.inputDevices !== undefined && data.inputDevices !== null) {
|
|
3295
3295
|
contents.InputDevices = deserializeAws_restJson1__listOfInputDeviceSettings(data.inputDevices, context);
|
|
@@ -3298,16 +3298,16 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
3298
3298
|
contents.InputPartnerIds = deserializeAws_restJson1__listOf__string(data.inputPartnerIds, context);
|
|
3299
3299
|
}
|
|
3300
3300
|
if (data.inputSourceType !== undefined && data.inputSourceType !== null) {
|
|
3301
|
-
contents.InputSourceType = smithy_client_1.expectString(data.inputSourceType);
|
|
3301
|
+
contents.InputSourceType = (0, smithy_client_1.expectString)(data.inputSourceType);
|
|
3302
3302
|
}
|
|
3303
3303
|
if (data.mediaConnectFlows !== undefined && data.mediaConnectFlows !== null) {
|
|
3304
3304
|
contents.MediaConnectFlows = deserializeAws_restJson1__listOfMediaConnectFlow(data.mediaConnectFlows, context);
|
|
3305
3305
|
}
|
|
3306
3306
|
if (data.name !== undefined && data.name !== null) {
|
|
3307
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
3307
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
3308
3308
|
}
|
|
3309
3309
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
3310
|
-
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
3310
|
+
contents.RoleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
3311
3311
|
}
|
|
3312
3312
|
if (data.securityGroups !== undefined && data.securityGroups !== null) {
|
|
3313
3313
|
contents.SecurityGroups = deserializeAws_restJson1__listOf__string(data.securityGroups, context);
|
|
@@ -3316,13 +3316,13 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
3316
3316
|
contents.Sources = deserializeAws_restJson1__listOfInputSource(data.sources, context);
|
|
3317
3317
|
}
|
|
3318
3318
|
if (data.state !== undefined && data.state !== null) {
|
|
3319
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
3319
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
3320
3320
|
}
|
|
3321
3321
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3322
3322
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
3323
3323
|
}
|
|
3324
3324
|
if (data.type !== undefined && data.type !== null) {
|
|
3325
|
-
contents.Type = smithy_client_1.expectString(data.type);
|
|
3325
|
+
contents.Type = (0, smithy_client_1.expectString)(data.type);
|
|
3326
3326
|
}
|
|
3327
3327
|
return Promise.resolve(contents);
|
|
3328
3328
|
};
|
|
@@ -3364,7 +3364,7 @@ const deserializeAws_restJson1DescribeInputCommandError = async (output, context
|
|
|
3364
3364
|
$fault: "client",
|
|
3365
3365
|
$metadata: deserializeMetadata(output),
|
|
3366
3366
|
});
|
|
3367
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3367
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3368
3368
|
}
|
|
3369
3369
|
};
|
|
3370
3370
|
const deserializeAws_restJson1DescribeInputDeviceCommand = async (output, context) => {
|
|
@@ -3386,39 +3386,39 @@ const deserializeAws_restJson1DescribeInputDeviceCommand = async (output, contex
|
|
|
3386
3386
|
Type: undefined,
|
|
3387
3387
|
UhdDeviceSettings: undefined,
|
|
3388
3388
|
};
|
|
3389
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3389
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3390
3390
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3391
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3391
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
3392
3392
|
}
|
|
3393
3393
|
if (data.connectionState !== undefined && data.connectionState !== null) {
|
|
3394
|
-
contents.ConnectionState = smithy_client_1.expectString(data.connectionState);
|
|
3394
|
+
contents.ConnectionState = (0, smithy_client_1.expectString)(data.connectionState);
|
|
3395
3395
|
}
|
|
3396
3396
|
if (data.deviceSettingsSyncState !== undefined && data.deviceSettingsSyncState !== null) {
|
|
3397
|
-
contents.DeviceSettingsSyncState = smithy_client_1.expectString(data.deviceSettingsSyncState);
|
|
3397
|
+
contents.DeviceSettingsSyncState = (0, smithy_client_1.expectString)(data.deviceSettingsSyncState);
|
|
3398
3398
|
}
|
|
3399
3399
|
if (data.deviceUpdateStatus !== undefined && data.deviceUpdateStatus !== null) {
|
|
3400
|
-
contents.DeviceUpdateStatus = smithy_client_1.expectString(data.deviceUpdateStatus);
|
|
3400
|
+
contents.DeviceUpdateStatus = (0, smithy_client_1.expectString)(data.deviceUpdateStatus);
|
|
3401
3401
|
}
|
|
3402
3402
|
if (data.hdDeviceSettings !== undefined && data.hdDeviceSettings !== null) {
|
|
3403
3403
|
contents.HdDeviceSettings = deserializeAws_restJson1InputDeviceHdSettings(data.hdDeviceSettings, context);
|
|
3404
3404
|
}
|
|
3405
3405
|
if (data.id !== undefined && data.id !== null) {
|
|
3406
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
3406
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
3407
3407
|
}
|
|
3408
3408
|
if (data.macAddress !== undefined && data.macAddress !== null) {
|
|
3409
|
-
contents.MacAddress = smithy_client_1.expectString(data.macAddress);
|
|
3409
|
+
contents.MacAddress = (0, smithy_client_1.expectString)(data.macAddress);
|
|
3410
3410
|
}
|
|
3411
3411
|
if (data.name !== undefined && data.name !== null) {
|
|
3412
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
3412
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
3413
3413
|
}
|
|
3414
3414
|
if (data.networkSettings !== undefined && data.networkSettings !== null) {
|
|
3415
3415
|
contents.NetworkSettings = deserializeAws_restJson1InputDeviceNetworkSettings(data.networkSettings, context);
|
|
3416
3416
|
}
|
|
3417
3417
|
if (data.serialNumber !== undefined && data.serialNumber !== null) {
|
|
3418
|
-
contents.SerialNumber = smithy_client_1.expectString(data.serialNumber);
|
|
3418
|
+
contents.SerialNumber = (0, smithy_client_1.expectString)(data.serialNumber);
|
|
3419
3419
|
}
|
|
3420
3420
|
if (data.type !== undefined && data.type !== null) {
|
|
3421
|
-
contents.Type = smithy_client_1.expectString(data.type);
|
|
3421
|
+
contents.Type = (0, smithy_client_1.expectString)(data.type);
|
|
3422
3422
|
}
|
|
3423
3423
|
if (data.uhdDeviceSettings !== undefined && data.uhdDeviceSettings !== null) {
|
|
3424
3424
|
contents.UhdDeviceSettings = deserializeAws_restJson1InputDeviceUhdSettings(data.uhdDeviceSettings, context);
|
|
@@ -3463,7 +3463,7 @@ const deserializeAws_restJson1DescribeInputDeviceCommandError = async (output, c
|
|
|
3463
3463
|
$fault: "client",
|
|
3464
3464
|
$metadata: deserializeMetadata(output),
|
|
3465
3465
|
});
|
|
3466
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3466
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3467
3467
|
}
|
|
3468
3468
|
};
|
|
3469
3469
|
const deserializeAws_restJson1DescribeInputDeviceThumbnailCommand = async (output, context) => {
|
|
@@ -3482,13 +3482,13 @@ const deserializeAws_restJson1DescribeInputDeviceThumbnailCommand = async (outpu
|
|
|
3482
3482
|
contents.ContentType = output.headers["content-type"];
|
|
3483
3483
|
}
|
|
3484
3484
|
if (output.headers["content-length"] !== undefined) {
|
|
3485
|
-
contents.ContentLength = smithy_client_1.strictParseLong(output.headers["content-length"]);
|
|
3485
|
+
contents.ContentLength = (0, smithy_client_1.strictParseLong)(output.headers["content-length"]);
|
|
3486
3486
|
}
|
|
3487
3487
|
if (output.headers["etag"] !== undefined) {
|
|
3488
3488
|
contents.ETag = output.headers["etag"];
|
|
3489
3489
|
}
|
|
3490
3490
|
if (output.headers["last-modified"] !== undefined) {
|
|
3491
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc7231DateTime(output.headers["last-modified"]));
|
|
3491
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc7231DateTime)(output.headers["last-modified"]));
|
|
3492
3492
|
}
|
|
3493
3493
|
const data = output.body;
|
|
3494
3494
|
contents.Body = data;
|
|
@@ -3532,7 +3532,7 @@ const deserializeAws_restJson1DescribeInputDeviceThumbnailCommandError = async (
|
|
|
3532
3532
|
$fault: "client",
|
|
3533
3533
|
$metadata: deserializeMetadata(output),
|
|
3534
3534
|
});
|
|
3535
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3535
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3536
3536
|
}
|
|
3537
3537
|
};
|
|
3538
3538
|
const deserializeAws_restJson1DescribeInputSecurityGroupCommand = async (output, context) => {
|
|
@@ -3548,18 +3548,18 @@ const deserializeAws_restJson1DescribeInputSecurityGroupCommand = async (output,
|
|
|
3548
3548
|
Tags: undefined,
|
|
3549
3549
|
WhitelistRules: undefined,
|
|
3550
3550
|
};
|
|
3551
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3551
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3552
3552
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3553
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3553
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
3554
3554
|
}
|
|
3555
3555
|
if (data.id !== undefined && data.id !== null) {
|
|
3556
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
3556
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
3557
3557
|
}
|
|
3558
3558
|
if (data.inputs !== undefined && data.inputs !== null) {
|
|
3559
3559
|
contents.Inputs = deserializeAws_restJson1__listOf__string(data.inputs, context);
|
|
3560
3560
|
}
|
|
3561
3561
|
if (data.state !== undefined && data.state !== null) {
|
|
3562
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
3562
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
3563
3563
|
}
|
|
3564
3564
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3565
3565
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -3607,7 +3607,7 @@ const deserializeAws_restJson1DescribeInputSecurityGroupCommandError = async (ou
|
|
|
3607
3607
|
$fault: "client",
|
|
3608
3608
|
$metadata: deserializeMetadata(output),
|
|
3609
3609
|
});
|
|
3610
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3610
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3611
3611
|
}
|
|
3612
3612
|
};
|
|
3613
3613
|
const deserializeAws_restJson1DescribeMultiplexCommand = async (output, context) => {
|
|
@@ -3627,9 +3627,9 @@ const deserializeAws_restJson1DescribeMultiplexCommand = async (output, context)
|
|
|
3627
3627
|
State: undefined,
|
|
3628
3628
|
Tags: undefined,
|
|
3629
3629
|
};
|
|
3630
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3630
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3631
3631
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3632
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3632
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
3633
3633
|
}
|
|
3634
3634
|
if (data.availabilityZones !== undefined && data.availabilityZones !== null) {
|
|
3635
3635
|
contents.AvailabilityZones = deserializeAws_restJson1__listOf__string(data.availabilityZones, context);
|
|
@@ -3638,22 +3638,22 @@ const deserializeAws_restJson1DescribeMultiplexCommand = async (output, context)
|
|
|
3638
3638
|
contents.Destinations = deserializeAws_restJson1__listOfMultiplexOutputDestination(data.destinations, context);
|
|
3639
3639
|
}
|
|
3640
3640
|
if (data.id !== undefined && data.id !== null) {
|
|
3641
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
3641
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
3642
3642
|
}
|
|
3643
3643
|
if (data.multiplexSettings !== undefined && data.multiplexSettings !== null) {
|
|
3644
3644
|
contents.MultiplexSettings = deserializeAws_restJson1MultiplexSettings(data.multiplexSettings, context);
|
|
3645
3645
|
}
|
|
3646
3646
|
if (data.name !== undefined && data.name !== null) {
|
|
3647
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
3647
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
3648
3648
|
}
|
|
3649
3649
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
3650
|
-
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
3650
|
+
contents.PipelinesRunningCount = (0, smithy_client_1.expectInt32)(data.pipelinesRunningCount);
|
|
3651
3651
|
}
|
|
3652
3652
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
3653
|
-
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
3653
|
+
contents.ProgramCount = (0, smithy_client_1.expectInt32)(data.programCount);
|
|
3654
3654
|
}
|
|
3655
3655
|
if (data.state !== undefined && data.state !== null) {
|
|
3656
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
3656
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
3657
3657
|
}
|
|
3658
3658
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3659
3659
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -3698,7 +3698,7 @@ const deserializeAws_restJson1DescribeMultiplexCommandError = async (output, con
|
|
|
3698
3698
|
$fault: "client",
|
|
3699
3699
|
$metadata: deserializeMetadata(output),
|
|
3700
3700
|
});
|
|
3701
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3701
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3702
3702
|
}
|
|
3703
3703
|
};
|
|
3704
3704
|
const deserializeAws_restJson1DescribeMultiplexProgramCommand = async (output, context) => {
|
|
@@ -3713,9 +3713,9 @@ const deserializeAws_restJson1DescribeMultiplexProgramCommand = async (output, c
|
|
|
3713
3713
|
PipelineDetails: undefined,
|
|
3714
3714
|
ProgramName: undefined,
|
|
3715
3715
|
};
|
|
3716
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3716
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3717
3717
|
if (data.channelId !== undefined && data.channelId !== null) {
|
|
3718
|
-
contents.ChannelId = smithy_client_1.expectString(data.channelId);
|
|
3718
|
+
contents.ChannelId = (0, smithy_client_1.expectString)(data.channelId);
|
|
3719
3719
|
}
|
|
3720
3720
|
if (data.multiplexProgramSettings !== undefined && data.multiplexProgramSettings !== null) {
|
|
3721
3721
|
contents.MultiplexProgramSettings = deserializeAws_restJson1MultiplexProgramSettings(data.multiplexProgramSettings, context);
|
|
@@ -3727,7 +3727,7 @@ const deserializeAws_restJson1DescribeMultiplexProgramCommand = async (output, c
|
|
|
3727
3727
|
contents.PipelineDetails = deserializeAws_restJson1__listOfMultiplexProgramPipelineDetail(data.pipelineDetails, context);
|
|
3728
3728
|
}
|
|
3729
3729
|
if (data.programName !== undefined && data.programName !== null) {
|
|
3730
|
-
contents.ProgramName = smithy_client_1.expectString(data.programName);
|
|
3730
|
+
contents.ProgramName = (0, smithy_client_1.expectString)(data.programName);
|
|
3731
3731
|
}
|
|
3732
3732
|
return Promise.resolve(contents);
|
|
3733
3733
|
};
|
|
@@ -3769,7 +3769,7 @@ const deserializeAws_restJson1DescribeMultiplexProgramCommandError = async (outp
|
|
|
3769
3769
|
$fault: "client",
|
|
3770
3770
|
$metadata: deserializeMetadata(output),
|
|
3771
3771
|
});
|
|
3772
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3772
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3773
3773
|
}
|
|
3774
3774
|
};
|
|
3775
3775
|
const deserializeAws_restJson1DescribeOfferingCommand = async (output, context) => {
|
|
@@ -3790,39 +3790,39 @@ const deserializeAws_restJson1DescribeOfferingCommand = async (output, context)
|
|
|
3790
3790
|
ResourceSpecification: undefined,
|
|
3791
3791
|
UsagePrice: undefined,
|
|
3792
3792
|
};
|
|
3793
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3793
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3794
3794
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3795
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3795
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
3796
3796
|
}
|
|
3797
3797
|
if (data.currencyCode !== undefined && data.currencyCode !== null) {
|
|
3798
|
-
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
3798
|
+
contents.CurrencyCode = (0, smithy_client_1.expectString)(data.currencyCode);
|
|
3799
3799
|
}
|
|
3800
3800
|
if (data.duration !== undefined && data.duration !== null) {
|
|
3801
|
-
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
3801
|
+
contents.Duration = (0, smithy_client_1.expectInt32)(data.duration);
|
|
3802
3802
|
}
|
|
3803
3803
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
3804
|
-
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
3804
|
+
contents.DurationUnits = (0, smithy_client_1.expectString)(data.durationUnits);
|
|
3805
3805
|
}
|
|
3806
3806
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
3807
|
-
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
3807
|
+
contents.FixedPrice = (0, smithy_client_1.limitedParseDouble)(data.fixedPrice);
|
|
3808
3808
|
}
|
|
3809
3809
|
if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
|
|
3810
|
-
contents.OfferingDescription = smithy_client_1.expectString(data.offeringDescription);
|
|
3810
|
+
contents.OfferingDescription = (0, smithy_client_1.expectString)(data.offeringDescription);
|
|
3811
3811
|
}
|
|
3812
3812
|
if (data.offeringId !== undefined && data.offeringId !== null) {
|
|
3813
|
-
contents.OfferingId = smithy_client_1.expectString(data.offeringId);
|
|
3813
|
+
contents.OfferingId = (0, smithy_client_1.expectString)(data.offeringId);
|
|
3814
3814
|
}
|
|
3815
3815
|
if (data.offeringType !== undefined && data.offeringType !== null) {
|
|
3816
|
-
contents.OfferingType = smithy_client_1.expectString(data.offeringType);
|
|
3816
|
+
contents.OfferingType = (0, smithy_client_1.expectString)(data.offeringType);
|
|
3817
3817
|
}
|
|
3818
3818
|
if (data.region !== undefined && data.region !== null) {
|
|
3819
|
-
contents.Region = smithy_client_1.expectString(data.region);
|
|
3819
|
+
contents.Region = (0, smithy_client_1.expectString)(data.region);
|
|
3820
3820
|
}
|
|
3821
3821
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
3822
3822
|
contents.ResourceSpecification = deserializeAws_restJson1ReservationResourceSpecification(data.resourceSpecification, context);
|
|
3823
3823
|
}
|
|
3824
3824
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
3825
|
-
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
3825
|
+
contents.UsagePrice = (0, smithy_client_1.limitedParseDouble)(data.usagePrice);
|
|
3826
3826
|
}
|
|
3827
3827
|
return Promise.resolve(contents);
|
|
3828
3828
|
};
|
|
@@ -3864,7 +3864,7 @@ const deserializeAws_restJson1DescribeOfferingCommandError = async (output, cont
|
|
|
3864
3864
|
$fault: "client",
|
|
3865
3865
|
$metadata: deserializeMetadata(output),
|
|
3866
3866
|
});
|
|
3867
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3867
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3868
3868
|
}
|
|
3869
3869
|
};
|
|
3870
3870
|
const deserializeAws_restJson1DescribeReservationCommand = async (output, context) => {
|
|
@@ -3892,60 +3892,60 @@ const deserializeAws_restJson1DescribeReservationCommand = async (output, contex
|
|
|
3892
3892
|
Tags: undefined,
|
|
3893
3893
|
UsagePrice: undefined,
|
|
3894
3894
|
};
|
|
3895
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3895
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3896
3896
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3897
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3897
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
3898
3898
|
}
|
|
3899
3899
|
if (data.count !== undefined && data.count !== null) {
|
|
3900
|
-
contents.Count = smithy_client_1.expectInt32(data.count);
|
|
3900
|
+
contents.Count = (0, smithy_client_1.expectInt32)(data.count);
|
|
3901
3901
|
}
|
|
3902
3902
|
if (data.currencyCode !== undefined && data.currencyCode !== null) {
|
|
3903
|
-
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
3903
|
+
contents.CurrencyCode = (0, smithy_client_1.expectString)(data.currencyCode);
|
|
3904
3904
|
}
|
|
3905
3905
|
if (data.duration !== undefined && data.duration !== null) {
|
|
3906
|
-
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
3906
|
+
contents.Duration = (0, smithy_client_1.expectInt32)(data.duration);
|
|
3907
3907
|
}
|
|
3908
3908
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
3909
|
-
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
3909
|
+
contents.DurationUnits = (0, smithy_client_1.expectString)(data.durationUnits);
|
|
3910
3910
|
}
|
|
3911
3911
|
if (data.end !== undefined && data.end !== null) {
|
|
3912
|
-
contents.End = smithy_client_1.expectString(data.end);
|
|
3912
|
+
contents.End = (0, smithy_client_1.expectString)(data.end);
|
|
3913
3913
|
}
|
|
3914
3914
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
3915
|
-
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
3915
|
+
contents.FixedPrice = (0, smithy_client_1.limitedParseDouble)(data.fixedPrice);
|
|
3916
3916
|
}
|
|
3917
3917
|
if (data.name !== undefined && data.name !== null) {
|
|
3918
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
3918
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
3919
3919
|
}
|
|
3920
3920
|
if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
|
|
3921
|
-
contents.OfferingDescription = smithy_client_1.expectString(data.offeringDescription);
|
|
3921
|
+
contents.OfferingDescription = (0, smithy_client_1.expectString)(data.offeringDescription);
|
|
3922
3922
|
}
|
|
3923
3923
|
if (data.offeringId !== undefined && data.offeringId !== null) {
|
|
3924
|
-
contents.OfferingId = smithy_client_1.expectString(data.offeringId);
|
|
3924
|
+
contents.OfferingId = (0, smithy_client_1.expectString)(data.offeringId);
|
|
3925
3925
|
}
|
|
3926
3926
|
if (data.offeringType !== undefined && data.offeringType !== null) {
|
|
3927
|
-
contents.OfferingType = smithy_client_1.expectString(data.offeringType);
|
|
3927
|
+
contents.OfferingType = (0, smithy_client_1.expectString)(data.offeringType);
|
|
3928
3928
|
}
|
|
3929
3929
|
if (data.region !== undefined && data.region !== null) {
|
|
3930
|
-
contents.Region = smithy_client_1.expectString(data.region);
|
|
3930
|
+
contents.Region = (0, smithy_client_1.expectString)(data.region);
|
|
3931
3931
|
}
|
|
3932
3932
|
if (data.reservationId !== undefined && data.reservationId !== null) {
|
|
3933
|
-
contents.ReservationId = smithy_client_1.expectString(data.reservationId);
|
|
3933
|
+
contents.ReservationId = (0, smithy_client_1.expectString)(data.reservationId);
|
|
3934
3934
|
}
|
|
3935
3935
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
3936
3936
|
contents.ResourceSpecification = deserializeAws_restJson1ReservationResourceSpecification(data.resourceSpecification, context);
|
|
3937
3937
|
}
|
|
3938
3938
|
if (data.start !== undefined && data.start !== null) {
|
|
3939
|
-
contents.Start = smithy_client_1.expectString(data.start);
|
|
3939
|
+
contents.Start = (0, smithy_client_1.expectString)(data.start);
|
|
3940
3940
|
}
|
|
3941
3941
|
if (data.state !== undefined && data.state !== null) {
|
|
3942
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
3942
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
3943
3943
|
}
|
|
3944
3944
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3945
3945
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
3946
3946
|
}
|
|
3947
3947
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
3948
|
-
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
3948
|
+
contents.UsagePrice = (0, smithy_client_1.limitedParseDouble)(data.usagePrice);
|
|
3949
3949
|
}
|
|
3950
3950
|
return Promise.resolve(contents);
|
|
3951
3951
|
};
|
|
@@ -3987,7 +3987,7 @@ const deserializeAws_restJson1DescribeReservationCommandError = async (output, c
|
|
|
3987
3987
|
$fault: "client",
|
|
3988
3988
|
$metadata: deserializeMetadata(output),
|
|
3989
3989
|
});
|
|
3990
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3990
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3991
3991
|
}
|
|
3992
3992
|
};
|
|
3993
3993
|
const deserializeAws_restJson1DescribeScheduleCommand = async (output, context) => {
|
|
@@ -3999,9 +3999,9 @@ const deserializeAws_restJson1DescribeScheduleCommand = async (output, context)
|
|
|
3999
3999
|
NextToken: undefined,
|
|
4000
4000
|
ScheduleActions: undefined,
|
|
4001
4001
|
};
|
|
4002
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4002
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4003
4003
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4004
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4004
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4005
4005
|
}
|
|
4006
4006
|
if (data.scheduleActions !== undefined && data.scheduleActions !== null) {
|
|
4007
4007
|
contents.ScheduleActions = deserializeAws_restJson1__listOfScheduleAction(data.scheduleActions, context);
|
|
@@ -4046,7 +4046,7 @@ const deserializeAws_restJson1DescribeScheduleCommandError = async (output, cont
|
|
|
4046
4046
|
$fault: "client",
|
|
4047
4047
|
$metadata: deserializeMetadata(output),
|
|
4048
4048
|
});
|
|
4049
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4049
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4050
4050
|
}
|
|
4051
4051
|
};
|
|
4052
4052
|
const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
@@ -4058,12 +4058,12 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
|
4058
4058
|
Channels: undefined,
|
|
4059
4059
|
NextToken: undefined,
|
|
4060
4060
|
};
|
|
4061
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4061
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4062
4062
|
if (data.channels !== undefined && data.channels !== null) {
|
|
4063
4063
|
contents.Channels = deserializeAws_restJson1__listOfChannelSummary(data.channels, context);
|
|
4064
4064
|
}
|
|
4065
4065
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4066
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4066
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4067
4067
|
}
|
|
4068
4068
|
return Promise.resolve(contents);
|
|
4069
4069
|
};
|
|
@@ -4102,7 +4102,7 @@ const deserializeAws_restJson1ListChannelsCommandError = async (output, context)
|
|
|
4102
4102
|
$fault: "client",
|
|
4103
4103
|
$metadata: deserializeMetadata(output),
|
|
4104
4104
|
});
|
|
4105
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4105
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4106
4106
|
}
|
|
4107
4107
|
};
|
|
4108
4108
|
const deserializeAws_restJson1ListInputDevicesCommand = async (output, context) => {
|
|
@@ -4114,12 +4114,12 @@ const deserializeAws_restJson1ListInputDevicesCommand = async (output, context)
|
|
|
4114
4114
|
InputDevices: undefined,
|
|
4115
4115
|
NextToken: undefined,
|
|
4116
4116
|
};
|
|
4117
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4117
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4118
4118
|
if (data.inputDevices !== undefined && data.inputDevices !== null) {
|
|
4119
4119
|
contents.InputDevices = deserializeAws_restJson1__listOfInputDeviceSummary(data.inputDevices, context);
|
|
4120
4120
|
}
|
|
4121
4121
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4122
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4122
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4123
4123
|
}
|
|
4124
4124
|
return Promise.resolve(contents);
|
|
4125
4125
|
};
|
|
@@ -4158,7 +4158,7 @@ const deserializeAws_restJson1ListInputDevicesCommandError = async (output, cont
|
|
|
4158
4158
|
$fault: "client",
|
|
4159
4159
|
$metadata: deserializeMetadata(output),
|
|
4160
4160
|
});
|
|
4161
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4161
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4162
4162
|
}
|
|
4163
4163
|
};
|
|
4164
4164
|
const deserializeAws_restJson1ListInputDeviceTransfersCommand = async (output, context) => {
|
|
@@ -4170,12 +4170,12 @@ const deserializeAws_restJson1ListInputDeviceTransfersCommand = async (output, c
|
|
|
4170
4170
|
InputDeviceTransfers: undefined,
|
|
4171
4171
|
NextToken: undefined,
|
|
4172
4172
|
};
|
|
4173
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4173
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4174
4174
|
if (data.inputDeviceTransfers !== undefined && data.inputDeviceTransfers !== null) {
|
|
4175
4175
|
contents.InputDeviceTransfers = deserializeAws_restJson1__listOfTransferringInputDeviceSummary(data.inputDeviceTransfers, context);
|
|
4176
4176
|
}
|
|
4177
4177
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4178
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4178
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4179
4179
|
}
|
|
4180
4180
|
return Promise.resolve(contents);
|
|
4181
4181
|
};
|
|
@@ -4217,7 +4217,7 @@ const deserializeAws_restJson1ListInputDeviceTransfersCommandError = async (outp
|
|
|
4217
4217
|
$fault: "client",
|
|
4218
4218
|
$metadata: deserializeMetadata(output),
|
|
4219
4219
|
});
|
|
4220
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4220
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4221
4221
|
}
|
|
4222
4222
|
};
|
|
4223
4223
|
const deserializeAws_restJson1ListInputsCommand = async (output, context) => {
|
|
@@ -4229,12 +4229,12 @@ const deserializeAws_restJson1ListInputsCommand = async (output, context) => {
|
|
|
4229
4229
|
Inputs: undefined,
|
|
4230
4230
|
NextToken: undefined,
|
|
4231
4231
|
};
|
|
4232
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4232
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4233
4233
|
if (data.inputs !== undefined && data.inputs !== null) {
|
|
4234
4234
|
contents.Inputs = deserializeAws_restJson1__listOfInput(data.inputs, context);
|
|
4235
4235
|
}
|
|
4236
4236
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4237
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4237
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4238
4238
|
}
|
|
4239
4239
|
return Promise.resolve(contents);
|
|
4240
4240
|
};
|
|
@@ -4273,7 +4273,7 @@ const deserializeAws_restJson1ListInputsCommandError = async (output, context) =
|
|
|
4273
4273
|
$fault: "client",
|
|
4274
4274
|
$metadata: deserializeMetadata(output),
|
|
4275
4275
|
});
|
|
4276
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4276
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4277
4277
|
}
|
|
4278
4278
|
};
|
|
4279
4279
|
const deserializeAws_restJson1ListInputSecurityGroupsCommand = async (output, context) => {
|
|
@@ -4285,12 +4285,12 @@ const deserializeAws_restJson1ListInputSecurityGroupsCommand = async (output, co
|
|
|
4285
4285
|
InputSecurityGroups: undefined,
|
|
4286
4286
|
NextToken: undefined,
|
|
4287
4287
|
};
|
|
4288
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4288
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4289
4289
|
if (data.inputSecurityGroups !== undefined && data.inputSecurityGroups !== null) {
|
|
4290
4290
|
contents.InputSecurityGroups = deserializeAws_restJson1__listOfInputSecurityGroup(data.inputSecurityGroups, context);
|
|
4291
4291
|
}
|
|
4292
4292
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4293
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4293
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4294
4294
|
}
|
|
4295
4295
|
return Promise.resolve(contents);
|
|
4296
4296
|
};
|
|
@@ -4329,7 +4329,7 @@ const deserializeAws_restJson1ListInputSecurityGroupsCommandError = async (outpu
|
|
|
4329
4329
|
$fault: "client",
|
|
4330
4330
|
$metadata: deserializeMetadata(output),
|
|
4331
4331
|
});
|
|
4332
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4332
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4333
4333
|
}
|
|
4334
4334
|
};
|
|
4335
4335
|
const deserializeAws_restJson1ListMultiplexesCommand = async (output, context) => {
|
|
@@ -4341,12 +4341,12 @@ const deserializeAws_restJson1ListMultiplexesCommand = async (output, context) =
|
|
|
4341
4341
|
Multiplexes: undefined,
|
|
4342
4342
|
NextToken: undefined,
|
|
4343
4343
|
};
|
|
4344
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4344
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4345
4345
|
if (data.multiplexes !== undefined && data.multiplexes !== null) {
|
|
4346
4346
|
contents.Multiplexes = deserializeAws_restJson1__listOfMultiplexSummary(data.multiplexes, context);
|
|
4347
4347
|
}
|
|
4348
4348
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4349
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4349
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4350
4350
|
}
|
|
4351
4351
|
return Promise.resolve(contents);
|
|
4352
4352
|
};
|
|
@@ -4385,7 +4385,7 @@ const deserializeAws_restJson1ListMultiplexesCommandError = async (output, conte
|
|
|
4385
4385
|
$fault: "client",
|
|
4386
4386
|
$metadata: deserializeMetadata(output),
|
|
4387
4387
|
});
|
|
4388
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4388
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4389
4389
|
}
|
|
4390
4390
|
};
|
|
4391
4391
|
const deserializeAws_restJson1ListMultiplexProgramsCommand = async (output, context) => {
|
|
@@ -4397,12 +4397,12 @@ const deserializeAws_restJson1ListMultiplexProgramsCommand = async (output, cont
|
|
|
4397
4397
|
MultiplexPrograms: undefined,
|
|
4398
4398
|
NextToken: undefined,
|
|
4399
4399
|
};
|
|
4400
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4400
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4401
4401
|
if (data.multiplexPrograms !== undefined && data.multiplexPrograms !== null) {
|
|
4402
4402
|
contents.MultiplexPrograms = deserializeAws_restJson1__listOfMultiplexProgramSummary(data.multiplexPrograms, context);
|
|
4403
4403
|
}
|
|
4404
4404
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4405
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4405
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4406
4406
|
}
|
|
4407
4407
|
return Promise.resolve(contents);
|
|
4408
4408
|
};
|
|
@@ -4444,7 +4444,7 @@ const deserializeAws_restJson1ListMultiplexProgramsCommandError = async (output,
|
|
|
4444
4444
|
$fault: "client",
|
|
4445
4445
|
$metadata: deserializeMetadata(output),
|
|
4446
4446
|
});
|
|
4447
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4447
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4448
4448
|
}
|
|
4449
4449
|
};
|
|
4450
4450
|
const deserializeAws_restJson1ListOfferingsCommand = async (output, context) => {
|
|
@@ -4456,9 +4456,9 @@ const deserializeAws_restJson1ListOfferingsCommand = async (output, context) =>
|
|
|
4456
4456
|
NextToken: undefined,
|
|
4457
4457
|
Offerings: undefined,
|
|
4458
4458
|
};
|
|
4459
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4459
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4460
4460
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4461
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4461
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4462
4462
|
}
|
|
4463
4463
|
if (data.offerings !== undefined && data.offerings !== null) {
|
|
4464
4464
|
contents.Offerings = deserializeAws_restJson1__listOfOffering(data.offerings, context);
|
|
@@ -4500,7 +4500,7 @@ const deserializeAws_restJson1ListOfferingsCommandError = async (output, context
|
|
|
4500
4500
|
$fault: "client",
|
|
4501
4501
|
$metadata: deserializeMetadata(output),
|
|
4502
4502
|
});
|
|
4503
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4503
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4504
4504
|
}
|
|
4505
4505
|
};
|
|
4506
4506
|
const deserializeAws_restJson1ListReservationsCommand = async (output, context) => {
|
|
@@ -4512,9 +4512,9 @@ const deserializeAws_restJson1ListReservationsCommand = async (output, context)
|
|
|
4512
4512
|
NextToken: undefined,
|
|
4513
4513
|
Reservations: undefined,
|
|
4514
4514
|
};
|
|
4515
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4515
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4516
4516
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4517
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
4517
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
4518
4518
|
}
|
|
4519
4519
|
if (data.reservations !== undefined && data.reservations !== null) {
|
|
4520
4520
|
contents.Reservations = deserializeAws_restJson1__listOfReservation(data.reservations, context);
|
|
@@ -4556,7 +4556,7 @@ const deserializeAws_restJson1ListReservationsCommandError = async (output, cont
|
|
|
4556
4556
|
$fault: "client",
|
|
4557
4557
|
$metadata: deserializeMetadata(output),
|
|
4558
4558
|
});
|
|
4559
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4559
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4560
4560
|
}
|
|
4561
4561
|
};
|
|
4562
4562
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -4567,7 +4567,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
4567
4567
|
$metadata: deserializeMetadata(output),
|
|
4568
4568
|
Tags: undefined,
|
|
4569
4569
|
};
|
|
4570
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4570
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4571
4571
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4572
4572
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
4573
4573
|
}
|
|
@@ -4602,7 +4602,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
4602
4602
|
$fault: "client",
|
|
4603
4603
|
$metadata: deserializeMetadata(output),
|
|
4604
4604
|
});
|
|
4605
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4605
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4606
4606
|
}
|
|
4607
4607
|
};
|
|
4608
4608
|
const deserializeAws_restJson1PurchaseOfferingCommand = async (output, context) => {
|
|
@@ -4613,7 +4613,7 @@ const deserializeAws_restJson1PurchaseOfferingCommand = async (output, context)
|
|
|
4613
4613
|
$metadata: deserializeMetadata(output),
|
|
4614
4614
|
Reservation: undefined,
|
|
4615
4615
|
};
|
|
4616
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4616
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4617
4617
|
if (data.reservation !== undefined && data.reservation !== null) {
|
|
4618
4618
|
contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
|
|
4619
4619
|
}
|
|
@@ -4660,7 +4660,7 @@ const deserializeAws_restJson1PurchaseOfferingCommandError = async (output, cont
|
|
|
4660
4660
|
$fault: "client",
|
|
4661
4661
|
$metadata: deserializeMetadata(output),
|
|
4662
4662
|
});
|
|
4663
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4663
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4664
4664
|
}
|
|
4665
4665
|
};
|
|
4666
4666
|
const deserializeAws_restJson1RejectInputDeviceTransferCommand = async (output, context) => {
|
|
@@ -4717,7 +4717,7 @@ const deserializeAws_restJson1RejectInputDeviceTransferCommandError = async (out
|
|
|
4717
4717
|
$fault: "client",
|
|
4718
4718
|
$metadata: deserializeMetadata(output),
|
|
4719
4719
|
});
|
|
4720
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4720
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4721
4721
|
}
|
|
4722
4722
|
};
|
|
4723
4723
|
const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
@@ -4744,15 +4744,15 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
4744
4744
|
Tags: undefined,
|
|
4745
4745
|
Vpc: undefined,
|
|
4746
4746
|
};
|
|
4747
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4747
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4748
4748
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4749
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4749
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
4750
4750
|
}
|
|
4751
4751
|
if (data.cdiInputSpecification !== undefined && data.cdiInputSpecification !== null) {
|
|
4752
4752
|
contents.CdiInputSpecification = deserializeAws_restJson1CdiInputSpecification(data.cdiInputSpecification, context);
|
|
4753
4753
|
}
|
|
4754
4754
|
if (data.channelClass !== undefined && data.channelClass !== null) {
|
|
4755
|
-
contents.ChannelClass = smithy_client_1.expectString(data.channelClass);
|
|
4755
|
+
contents.ChannelClass = (0, smithy_client_1.expectString)(data.channelClass);
|
|
4756
4756
|
}
|
|
4757
4757
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
4758
4758
|
contents.Destinations = deserializeAws_restJson1__listOfOutputDestination(data.destinations, context);
|
|
@@ -4764,7 +4764,7 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
4764
4764
|
contents.EncoderSettings = deserializeAws_restJson1EncoderSettings(data.encoderSettings, context);
|
|
4765
4765
|
}
|
|
4766
4766
|
if (data.id !== undefined && data.id !== null) {
|
|
4767
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
4767
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
4768
4768
|
}
|
|
4769
4769
|
if (data.inputAttachments !== undefined && data.inputAttachments !== null) {
|
|
4770
4770
|
contents.InputAttachments = deserializeAws_restJson1__listOfInputAttachment(data.inputAttachments, context);
|
|
@@ -4773,22 +4773,22 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
4773
4773
|
contents.InputSpecification = deserializeAws_restJson1InputSpecification(data.inputSpecification, context);
|
|
4774
4774
|
}
|
|
4775
4775
|
if (data.logLevel !== undefined && data.logLevel !== null) {
|
|
4776
|
-
contents.LogLevel = smithy_client_1.expectString(data.logLevel);
|
|
4776
|
+
contents.LogLevel = (0, smithy_client_1.expectString)(data.logLevel);
|
|
4777
4777
|
}
|
|
4778
4778
|
if (data.name !== undefined && data.name !== null) {
|
|
4779
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
4779
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
4780
4780
|
}
|
|
4781
4781
|
if (data.pipelineDetails !== undefined && data.pipelineDetails !== null) {
|
|
4782
4782
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
4783
4783
|
}
|
|
4784
4784
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
4785
|
-
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
4785
|
+
contents.PipelinesRunningCount = (0, smithy_client_1.expectInt32)(data.pipelinesRunningCount);
|
|
4786
4786
|
}
|
|
4787
4787
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
4788
|
-
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
4788
|
+
contents.RoleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
4789
4789
|
}
|
|
4790
4790
|
if (data.state !== undefined && data.state !== null) {
|
|
4791
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
4791
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
4792
4792
|
}
|
|
4793
4793
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4794
4794
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -4839,7 +4839,7 @@ const deserializeAws_restJson1StartChannelCommandError = async (output, context)
|
|
|
4839
4839
|
$fault: "client",
|
|
4840
4840
|
$metadata: deserializeMetadata(output),
|
|
4841
4841
|
});
|
|
4842
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4842
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4843
4843
|
}
|
|
4844
4844
|
};
|
|
4845
4845
|
const deserializeAws_restJson1StartMultiplexCommand = async (output, context) => {
|
|
@@ -4859,9 +4859,9 @@ const deserializeAws_restJson1StartMultiplexCommand = async (output, context) =>
|
|
|
4859
4859
|
State: undefined,
|
|
4860
4860
|
Tags: undefined,
|
|
4861
4861
|
};
|
|
4862
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4862
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4863
4863
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4864
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4864
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
4865
4865
|
}
|
|
4866
4866
|
if (data.availabilityZones !== undefined && data.availabilityZones !== null) {
|
|
4867
4867
|
contents.AvailabilityZones = deserializeAws_restJson1__listOf__string(data.availabilityZones, context);
|
|
@@ -4870,22 +4870,22 @@ const deserializeAws_restJson1StartMultiplexCommand = async (output, context) =>
|
|
|
4870
4870
|
contents.Destinations = deserializeAws_restJson1__listOfMultiplexOutputDestination(data.destinations, context);
|
|
4871
4871
|
}
|
|
4872
4872
|
if (data.id !== undefined && data.id !== null) {
|
|
4873
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
4873
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
4874
4874
|
}
|
|
4875
4875
|
if (data.multiplexSettings !== undefined && data.multiplexSettings !== null) {
|
|
4876
4876
|
contents.MultiplexSettings = deserializeAws_restJson1MultiplexSettings(data.multiplexSettings, context);
|
|
4877
4877
|
}
|
|
4878
4878
|
if (data.name !== undefined && data.name !== null) {
|
|
4879
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
4879
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
4880
4880
|
}
|
|
4881
4881
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
4882
|
-
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
4882
|
+
contents.PipelinesRunningCount = (0, smithy_client_1.expectInt32)(data.pipelinesRunningCount);
|
|
4883
4883
|
}
|
|
4884
4884
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
4885
|
-
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
4885
|
+
contents.ProgramCount = (0, smithy_client_1.expectInt32)(data.programCount);
|
|
4886
4886
|
}
|
|
4887
4887
|
if (data.state !== undefined && data.state !== null) {
|
|
4888
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
4888
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
4889
4889
|
}
|
|
4890
4890
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4891
4891
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -4933,7 +4933,7 @@ const deserializeAws_restJson1StartMultiplexCommandError = async (output, contex
|
|
|
4933
4933
|
$fault: "client",
|
|
4934
4934
|
$metadata: deserializeMetadata(output),
|
|
4935
4935
|
});
|
|
4936
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4936
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4937
4937
|
}
|
|
4938
4938
|
};
|
|
4939
4939
|
const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
@@ -4960,15 +4960,15 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
4960
4960
|
Tags: undefined,
|
|
4961
4961
|
Vpc: undefined,
|
|
4962
4962
|
};
|
|
4963
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4963
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4964
4964
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4965
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4965
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
4966
4966
|
}
|
|
4967
4967
|
if (data.cdiInputSpecification !== undefined && data.cdiInputSpecification !== null) {
|
|
4968
4968
|
contents.CdiInputSpecification = deserializeAws_restJson1CdiInputSpecification(data.cdiInputSpecification, context);
|
|
4969
4969
|
}
|
|
4970
4970
|
if (data.channelClass !== undefined && data.channelClass !== null) {
|
|
4971
|
-
contents.ChannelClass = smithy_client_1.expectString(data.channelClass);
|
|
4971
|
+
contents.ChannelClass = (0, smithy_client_1.expectString)(data.channelClass);
|
|
4972
4972
|
}
|
|
4973
4973
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
4974
4974
|
contents.Destinations = deserializeAws_restJson1__listOfOutputDestination(data.destinations, context);
|
|
@@ -4980,7 +4980,7 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
4980
4980
|
contents.EncoderSettings = deserializeAws_restJson1EncoderSettings(data.encoderSettings, context);
|
|
4981
4981
|
}
|
|
4982
4982
|
if (data.id !== undefined && data.id !== null) {
|
|
4983
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
4983
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
4984
4984
|
}
|
|
4985
4985
|
if (data.inputAttachments !== undefined && data.inputAttachments !== null) {
|
|
4986
4986
|
contents.InputAttachments = deserializeAws_restJson1__listOfInputAttachment(data.inputAttachments, context);
|
|
@@ -4989,22 +4989,22 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
4989
4989
|
contents.InputSpecification = deserializeAws_restJson1InputSpecification(data.inputSpecification, context);
|
|
4990
4990
|
}
|
|
4991
4991
|
if (data.logLevel !== undefined && data.logLevel !== null) {
|
|
4992
|
-
contents.LogLevel = smithy_client_1.expectString(data.logLevel);
|
|
4992
|
+
contents.LogLevel = (0, smithy_client_1.expectString)(data.logLevel);
|
|
4993
4993
|
}
|
|
4994
4994
|
if (data.name !== undefined && data.name !== null) {
|
|
4995
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
4995
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
4996
4996
|
}
|
|
4997
4997
|
if (data.pipelineDetails !== undefined && data.pipelineDetails !== null) {
|
|
4998
4998
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
4999
4999
|
}
|
|
5000
5000
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
5001
|
-
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
5001
|
+
contents.PipelinesRunningCount = (0, smithy_client_1.expectInt32)(data.pipelinesRunningCount);
|
|
5002
5002
|
}
|
|
5003
5003
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
5004
|
-
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
5004
|
+
contents.RoleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
5005
5005
|
}
|
|
5006
5006
|
if (data.state !== undefined && data.state !== null) {
|
|
5007
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
5007
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
5008
5008
|
}
|
|
5009
5009
|
if (data.tags !== undefined && data.tags !== null) {
|
|
5010
5010
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -5055,7 +5055,7 @@ const deserializeAws_restJson1StopChannelCommandError = async (output, context)
|
|
|
5055
5055
|
$fault: "client",
|
|
5056
5056
|
$metadata: deserializeMetadata(output),
|
|
5057
5057
|
});
|
|
5058
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5058
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5059
5059
|
}
|
|
5060
5060
|
};
|
|
5061
5061
|
const deserializeAws_restJson1StopMultiplexCommand = async (output, context) => {
|
|
@@ -5075,9 +5075,9 @@ const deserializeAws_restJson1StopMultiplexCommand = async (output, context) =>
|
|
|
5075
5075
|
State: undefined,
|
|
5076
5076
|
Tags: undefined,
|
|
5077
5077
|
};
|
|
5078
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5078
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5079
5079
|
if (data.arn !== undefined && data.arn !== null) {
|
|
5080
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
5080
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
5081
5081
|
}
|
|
5082
5082
|
if (data.availabilityZones !== undefined && data.availabilityZones !== null) {
|
|
5083
5083
|
contents.AvailabilityZones = deserializeAws_restJson1__listOf__string(data.availabilityZones, context);
|
|
@@ -5086,22 +5086,22 @@ const deserializeAws_restJson1StopMultiplexCommand = async (output, context) =>
|
|
|
5086
5086
|
contents.Destinations = deserializeAws_restJson1__listOfMultiplexOutputDestination(data.destinations, context);
|
|
5087
5087
|
}
|
|
5088
5088
|
if (data.id !== undefined && data.id !== null) {
|
|
5089
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
5089
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
5090
5090
|
}
|
|
5091
5091
|
if (data.multiplexSettings !== undefined && data.multiplexSettings !== null) {
|
|
5092
5092
|
contents.MultiplexSettings = deserializeAws_restJson1MultiplexSettings(data.multiplexSettings, context);
|
|
5093
5093
|
}
|
|
5094
5094
|
if (data.name !== undefined && data.name !== null) {
|
|
5095
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
5095
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
5096
5096
|
}
|
|
5097
5097
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
5098
|
-
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
5098
|
+
contents.PipelinesRunningCount = (0, smithy_client_1.expectInt32)(data.pipelinesRunningCount);
|
|
5099
5099
|
}
|
|
5100
5100
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
5101
|
-
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
5101
|
+
contents.ProgramCount = (0, smithy_client_1.expectInt32)(data.programCount);
|
|
5102
5102
|
}
|
|
5103
5103
|
if (data.state !== undefined && data.state !== null) {
|
|
5104
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
5104
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
5105
5105
|
}
|
|
5106
5106
|
if (data.tags !== undefined && data.tags !== null) {
|
|
5107
5107
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -5149,7 +5149,7 @@ const deserializeAws_restJson1StopMultiplexCommandError = async (output, context
|
|
|
5149
5149
|
$fault: "client",
|
|
5150
5150
|
$metadata: deserializeMetadata(output),
|
|
5151
5151
|
});
|
|
5152
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5152
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5153
5153
|
}
|
|
5154
5154
|
};
|
|
5155
5155
|
const deserializeAws_restJson1TransferInputDeviceCommand = async (output, context) => {
|
|
@@ -5206,7 +5206,7 @@ const deserializeAws_restJson1TransferInputDeviceCommandError = async (output, c
|
|
|
5206
5206
|
$fault: "client",
|
|
5207
5207
|
$metadata: deserializeMetadata(output),
|
|
5208
5208
|
});
|
|
5209
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5209
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5210
5210
|
}
|
|
5211
5211
|
};
|
|
5212
5212
|
const deserializeAws_restJson1UpdateChannelCommand = async (output, context) => {
|
|
@@ -5217,7 +5217,7 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
|
|
|
5217
5217
|
$metadata: deserializeMetadata(output),
|
|
5218
5218
|
Channel: undefined,
|
|
5219
5219
|
};
|
|
5220
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5220
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5221
5221
|
if (data.channel !== undefined && data.channel !== null) {
|
|
5222
5222
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
5223
5223
|
}
|
|
@@ -5261,7 +5261,7 @@ const deserializeAws_restJson1UpdateChannelCommandError = async (output, context
|
|
|
5261
5261
|
$fault: "client",
|
|
5262
5262
|
$metadata: deserializeMetadata(output),
|
|
5263
5263
|
});
|
|
5264
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5264
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5265
5265
|
}
|
|
5266
5266
|
};
|
|
5267
5267
|
const deserializeAws_restJson1UpdateChannelClassCommand = async (output, context) => {
|
|
@@ -5272,7 +5272,7 @@ const deserializeAws_restJson1UpdateChannelClassCommand = async (output, context
|
|
|
5272
5272
|
$metadata: deserializeMetadata(output),
|
|
5273
5273
|
Channel: undefined,
|
|
5274
5274
|
};
|
|
5275
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5275
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5276
5276
|
if (data.channel !== undefined && data.channel !== null) {
|
|
5277
5277
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
5278
5278
|
}
|
|
@@ -5322,7 +5322,7 @@ const deserializeAws_restJson1UpdateChannelClassCommandError = async (output, co
|
|
|
5322
5322
|
$fault: "client",
|
|
5323
5323
|
$metadata: deserializeMetadata(output),
|
|
5324
5324
|
});
|
|
5325
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5325
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5326
5326
|
}
|
|
5327
5327
|
};
|
|
5328
5328
|
const deserializeAws_restJson1UpdateInputCommand = async (output, context) => {
|
|
@@ -5333,7 +5333,7 @@ const deserializeAws_restJson1UpdateInputCommand = async (output, context) => {
|
|
|
5333
5333
|
$metadata: deserializeMetadata(output),
|
|
5334
5334
|
Input: undefined,
|
|
5335
5335
|
};
|
|
5336
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5336
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5337
5337
|
if (data.input !== undefined && data.input !== null) {
|
|
5338
5338
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
5339
5339
|
}
|
|
@@ -5377,7 +5377,7 @@ const deserializeAws_restJson1UpdateInputCommandError = async (output, context)
|
|
|
5377
5377
|
$fault: "client",
|
|
5378
5378
|
$metadata: deserializeMetadata(output),
|
|
5379
5379
|
});
|
|
5380
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5380
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5381
5381
|
}
|
|
5382
5382
|
};
|
|
5383
5383
|
const deserializeAws_restJson1UpdateInputDeviceCommand = async (output, context) => {
|
|
@@ -5399,39 +5399,39 @@ const deserializeAws_restJson1UpdateInputDeviceCommand = async (output, context)
|
|
|
5399
5399
|
Type: undefined,
|
|
5400
5400
|
UhdDeviceSettings: undefined,
|
|
5401
5401
|
};
|
|
5402
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5402
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5403
5403
|
if (data.arn !== undefined && data.arn !== null) {
|
|
5404
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
5404
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
5405
5405
|
}
|
|
5406
5406
|
if (data.connectionState !== undefined && data.connectionState !== null) {
|
|
5407
|
-
contents.ConnectionState = smithy_client_1.expectString(data.connectionState);
|
|
5407
|
+
contents.ConnectionState = (0, smithy_client_1.expectString)(data.connectionState);
|
|
5408
5408
|
}
|
|
5409
5409
|
if (data.deviceSettingsSyncState !== undefined && data.deviceSettingsSyncState !== null) {
|
|
5410
|
-
contents.DeviceSettingsSyncState = smithy_client_1.expectString(data.deviceSettingsSyncState);
|
|
5410
|
+
contents.DeviceSettingsSyncState = (0, smithy_client_1.expectString)(data.deviceSettingsSyncState);
|
|
5411
5411
|
}
|
|
5412
5412
|
if (data.deviceUpdateStatus !== undefined && data.deviceUpdateStatus !== null) {
|
|
5413
|
-
contents.DeviceUpdateStatus = smithy_client_1.expectString(data.deviceUpdateStatus);
|
|
5413
|
+
contents.DeviceUpdateStatus = (0, smithy_client_1.expectString)(data.deviceUpdateStatus);
|
|
5414
5414
|
}
|
|
5415
5415
|
if (data.hdDeviceSettings !== undefined && data.hdDeviceSettings !== null) {
|
|
5416
5416
|
contents.HdDeviceSettings = deserializeAws_restJson1InputDeviceHdSettings(data.hdDeviceSettings, context);
|
|
5417
5417
|
}
|
|
5418
5418
|
if (data.id !== undefined && data.id !== null) {
|
|
5419
|
-
contents.Id = smithy_client_1.expectString(data.id);
|
|
5419
|
+
contents.Id = (0, smithy_client_1.expectString)(data.id);
|
|
5420
5420
|
}
|
|
5421
5421
|
if (data.macAddress !== undefined && data.macAddress !== null) {
|
|
5422
|
-
contents.MacAddress = smithy_client_1.expectString(data.macAddress);
|
|
5422
|
+
contents.MacAddress = (0, smithy_client_1.expectString)(data.macAddress);
|
|
5423
5423
|
}
|
|
5424
5424
|
if (data.name !== undefined && data.name !== null) {
|
|
5425
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
5425
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
5426
5426
|
}
|
|
5427
5427
|
if (data.networkSettings !== undefined && data.networkSettings !== null) {
|
|
5428
5428
|
contents.NetworkSettings = deserializeAws_restJson1InputDeviceNetworkSettings(data.networkSettings, context);
|
|
5429
5429
|
}
|
|
5430
5430
|
if (data.serialNumber !== undefined && data.serialNumber !== null) {
|
|
5431
|
-
contents.SerialNumber = smithy_client_1.expectString(data.serialNumber);
|
|
5431
|
+
contents.SerialNumber = (0, smithy_client_1.expectString)(data.serialNumber);
|
|
5432
5432
|
}
|
|
5433
5433
|
if (data.type !== undefined && data.type !== null) {
|
|
5434
|
-
contents.Type = smithy_client_1.expectString(data.type);
|
|
5434
|
+
contents.Type = (0, smithy_client_1.expectString)(data.type);
|
|
5435
5435
|
}
|
|
5436
5436
|
if (data.uhdDeviceSettings !== undefined && data.uhdDeviceSettings !== null) {
|
|
5437
5437
|
contents.UhdDeviceSettings = deserializeAws_restJson1InputDeviceUhdSettings(data.uhdDeviceSettings, context);
|
|
@@ -5479,7 +5479,7 @@ const deserializeAws_restJson1UpdateInputDeviceCommandError = async (output, con
|
|
|
5479
5479
|
$fault: "client",
|
|
5480
5480
|
$metadata: deserializeMetadata(output),
|
|
5481
5481
|
});
|
|
5482
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5482
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5483
5483
|
}
|
|
5484
5484
|
};
|
|
5485
5485
|
const deserializeAws_restJson1UpdateInputSecurityGroupCommand = async (output, context) => {
|
|
@@ -5490,7 +5490,7 @@ const deserializeAws_restJson1UpdateInputSecurityGroupCommand = async (output, c
|
|
|
5490
5490
|
$metadata: deserializeMetadata(output),
|
|
5491
5491
|
SecurityGroup: undefined,
|
|
5492
5492
|
};
|
|
5493
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5493
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5494
5494
|
if (data.securityGroup !== undefined && data.securityGroup !== null) {
|
|
5495
5495
|
contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
|
|
5496
5496
|
}
|
|
@@ -5534,7 +5534,7 @@ const deserializeAws_restJson1UpdateInputSecurityGroupCommandError = async (outp
|
|
|
5534
5534
|
$fault: "client",
|
|
5535
5535
|
$metadata: deserializeMetadata(output),
|
|
5536
5536
|
});
|
|
5537
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5537
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5538
5538
|
}
|
|
5539
5539
|
};
|
|
5540
5540
|
const deserializeAws_restJson1UpdateMultiplexCommand = async (output, context) => {
|
|
@@ -5545,7 +5545,7 @@ const deserializeAws_restJson1UpdateMultiplexCommand = async (output, context) =
|
|
|
5545
5545
|
$metadata: deserializeMetadata(output),
|
|
5546
5546
|
Multiplex: undefined,
|
|
5547
5547
|
};
|
|
5548
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5548
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5549
5549
|
if (data.multiplex !== undefined && data.multiplex !== null) {
|
|
5550
5550
|
contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
|
|
5551
5551
|
}
|
|
@@ -5592,7 +5592,7 @@ const deserializeAws_restJson1UpdateMultiplexCommandError = async (output, conte
|
|
|
5592
5592
|
$fault: "client",
|
|
5593
5593
|
$metadata: deserializeMetadata(output),
|
|
5594
5594
|
});
|
|
5595
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5595
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5596
5596
|
}
|
|
5597
5597
|
};
|
|
5598
5598
|
const deserializeAws_restJson1UpdateMultiplexProgramCommand = async (output, context) => {
|
|
@@ -5603,7 +5603,7 @@ const deserializeAws_restJson1UpdateMultiplexProgramCommand = async (output, con
|
|
|
5603
5603
|
$metadata: deserializeMetadata(output),
|
|
5604
5604
|
MultiplexProgram: undefined,
|
|
5605
5605
|
};
|
|
5606
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5606
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5607
5607
|
if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
|
|
5608
5608
|
contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
|
|
5609
5609
|
}
|
|
@@ -5650,7 +5650,7 @@ const deserializeAws_restJson1UpdateMultiplexProgramCommandError = async (output
|
|
|
5650
5650
|
$fault: "client",
|
|
5651
5651
|
$metadata: deserializeMetadata(output),
|
|
5652
5652
|
});
|
|
5653
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5653
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5654
5654
|
}
|
|
5655
5655
|
};
|
|
5656
5656
|
const deserializeAws_restJson1UpdateReservationCommand = async (output, context) => {
|
|
@@ -5661,7 +5661,7 @@ const deserializeAws_restJson1UpdateReservationCommand = async (output, context)
|
|
|
5661
5661
|
$metadata: deserializeMetadata(output),
|
|
5662
5662
|
Reservation: undefined,
|
|
5663
5663
|
};
|
|
5664
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5664
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5665
5665
|
if (data.reservation !== undefined && data.reservation !== null) {
|
|
5666
5666
|
contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
|
|
5667
5667
|
}
|
|
@@ -5708,110 +5708,110 @@ const deserializeAws_restJson1UpdateReservationCommandError = async (output, con
|
|
|
5708
5708
|
$fault: "client",
|
|
5709
5709
|
$metadata: deserializeMetadata(output),
|
|
5710
5710
|
});
|
|
5711
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5711
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5712
5712
|
}
|
|
5713
5713
|
};
|
|
5714
5714
|
const deserializeAws_restJson1BadGatewayExceptionResponse = async (parsedOutput, context) => {
|
|
5715
5715
|
const contents = {};
|
|
5716
5716
|
const data = parsedOutput.body;
|
|
5717
5717
|
if (data.message !== undefined && data.message !== null) {
|
|
5718
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5718
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5719
5719
|
}
|
|
5720
5720
|
const exception = new models_1_1.BadGatewayException({
|
|
5721
5721
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5722
5722
|
...contents,
|
|
5723
5723
|
});
|
|
5724
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5724
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5725
5725
|
};
|
|
5726
5726
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
5727
5727
|
const contents = {};
|
|
5728
5728
|
const data = parsedOutput.body;
|
|
5729
5729
|
if (data.message !== undefined && data.message !== null) {
|
|
5730
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5730
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5731
5731
|
}
|
|
5732
5732
|
const exception = new models_1_1.BadRequestException({
|
|
5733
5733
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5734
5734
|
...contents,
|
|
5735
5735
|
});
|
|
5736
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5736
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5737
5737
|
};
|
|
5738
5738
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
5739
5739
|
const contents = {};
|
|
5740
5740
|
const data = parsedOutput.body;
|
|
5741
5741
|
if (data.message !== undefined && data.message !== null) {
|
|
5742
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5742
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5743
5743
|
}
|
|
5744
5744
|
const exception = new models_1_1.ConflictException({
|
|
5745
5745
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5746
5746
|
...contents,
|
|
5747
5747
|
});
|
|
5748
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5748
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5749
5749
|
};
|
|
5750
5750
|
const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
|
|
5751
5751
|
const contents = {};
|
|
5752
5752
|
const data = parsedOutput.body;
|
|
5753
5753
|
if (data.message !== undefined && data.message !== null) {
|
|
5754
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5754
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5755
5755
|
}
|
|
5756
5756
|
const exception = new models_1_1.ForbiddenException({
|
|
5757
5757
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5758
5758
|
...contents,
|
|
5759
5759
|
});
|
|
5760
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5760
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5761
5761
|
};
|
|
5762
5762
|
const deserializeAws_restJson1GatewayTimeoutExceptionResponse = async (parsedOutput, context) => {
|
|
5763
5763
|
const contents = {};
|
|
5764
5764
|
const data = parsedOutput.body;
|
|
5765
5765
|
if (data.message !== undefined && data.message !== null) {
|
|
5766
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5766
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5767
5767
|
}
|
|
5768
5768
|
const exception = new models_1_1.GatewayTimeoutException({
|
|
5769
5769
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5770
5770
|
...contents,
|
|
5771
5771
|
});
|
|
5772
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5772
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5773
5773
|
};
|
|
5774
5774
|
const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
|
|
5775
5775
|
const contents = {};
|
|
5776
5776
|
const data = parsedOutput.body;
|
|
5777
5777
|
if (data.message !== undefined && data.message !== null) {
|
|
5778
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5778
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5779
5779
|
}
|
|
5780
5780
|
const exception = new models_1_1.InternalServerErrorException({
|
|
5781
5781
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5782
5782
|
...contents,
|
|
5783
5783
|
});
|
|
5784
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5784
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5785
5785
|
};
|
|
5786
5786
|
const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
5787
5787
|
const contents = {};
|
|
5788
5788
|
const data = parsedOutput.body;
|
|
5789
5789
|
if (data.message !== undefined && data.message !== null) {
|
|
5790
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5790
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5791
5791
|
}
|
|
5792
5792
|
const exception = new models_1_1.NotFoundException({
|
|
5793
5793
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5794
5794
|
...contents,
|
|
5795
5795
|
});
|
|
5796
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5796
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5797
5797
|
};
|
|
5798
5798
|
const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
5799
5799
|
const contents = {};
|
|
5800
5800
|
const data = parsedOutput.body;
|
|
5801
5801
|
if (data.message !== undefined && data.message !== null) {
|
|
5802
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5802
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5803
5803
|
}
|
|
5804
5804
|
const exception = new models_1_1.TooManyRequestsException({
|
|
5805
5805
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5806
5806
|
...contents,
|
|
5807
5807
|
});
|
|
5808
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5808
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5809
5809
|
};
|
|
5810
5810
|
const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (parsedOutput, context) => {
|
|
5811
5811
|
const contents = {};
|
|
5812
5812
|
const data = parsedOutput.body;
|
|
5813
5813
|
if (data.message !== undefined && data.message !== null) {
|
|
5814
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
5814
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
5815
5815
|
}
|
|
5816
5816
|
if (data.validationErrors !== undefined && data.validationErrors !== null) {
|
|
5817
5817
|
contents.ValidationErrors = deserializeAws_restJson1__listOfValidationError(data.validationErrors, context);
|
|
@@ -5820,7 +5820,7 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
|
|
|
5820
5820
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5821
5821
|
...contents,
|
|
5822
5822
|
});
|
|
5823
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5823
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5824
5824
|
};
|
|
5825
5825
|
const serializeAws_restJson1__listOf__string = (input, context) => {
|
|
5826
5826
|
return input
|
|
@@ -6104,7 +6104,7 @@ const serializeAws_restJson1__listOfVideoDescription = (input, context) => {
|
|
|
6104
6104
|
};
|
|
6105
6105
|
const serializeAws_restJson1AacSettings = (input, context) => {
|
|
6106
6106
|
return {
|
|
6107
|
-
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: smithy_client_1.serializeFloat(input.Bitrate) }),
|
|
6107
|
+
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: (0, smithy_client_1.serializeFloat)(input.Bitrate) }),
|
|
6108
6108
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
6109
6109
|
...(input.InputType !== undefined && input.InputType !== null && { inputType: input.InputType }),
|
|
6110
6110
|
...(input.Profile !== undefined && input.Profile !== null && { profile: input.Profile }),
|
|
@@ -6112,14 +6112,14 @@ const serializeAws_restJson1AacSettings = (input, context) => {
|
|
|
6112
6112
|
input.RateControlMode !== null && { rateControlMode: input.RateControlMode }),
|
|
6113
6113
|
...(input.RawFormat !== undefined && input.RawFormat !== null && { rawFormat: input.RawFormat }),
|
|
6114
6114
|
...(input.SampleRate !== undefined &&
|
|
6115
|
-
input.SampleRate !== null && { sampleRate: smithy_client_1.serializeFloat(input.SampleRate) }),
|
|
6115
|
+
input.SampleRate !== null && { sampleRate: (0, smithy_client_1.serializeFloat)(input.SampleRate) }),
|
|
6116
6116
|
...(input.Spec !== undefined && input.Spec !== null && { spec: input.Spec }),
|
|
6117
6117
|
...(input.VbrQuality !== undefined && input.VbrQuality !== null && { vbrQuality: input.VbrQuality }),
|
|
6118
6118
|
};
|
|
6119
6119
|
};
|
|
6120
6120
|
const serializeAws_restJson1Ac3Settings = (input, context) => {
|
|
6121
6121
|
return {
|
|
6122
|
-
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: smithy_client_1.serializeFloat(input.Bitrate) }),
|
|
6122
|
+
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: (0, smithy_client_1.serializeFloat)(input.Bitrate) }),
|
|
6123
6123
|
...(input.BitstreamMode !== undefined && input.BitstreamMode !== null && { bitstreamMode: input.BitstreamMode }),
|
|
6124
6124
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
6125
6125
|
...(input.Dialnorm !== undefined && input.Dialnorm !== null && { dialnorm: input.Dialnorm }),
|
|
@@ -6264,7 +6264,7 @@ const serializeAws_restJson1AudioNormalizationSettings = (input, context) => {
|
|
|
6264
6264
|
...(input.AlgorithmControl !== undefined &&
|
|
6265
6265
|
input.AlgorithmControl !== null && { algorithmControl: input.AlgorithmControl }),
|
|
6266
6266
|
...(input.TargetLkfs !== undefined &&
|
|
6267
|
-
input.TargetLkfs !== null && { targetLkfs: smithy_client_1.serializeFloat(input.TargetLkfs) }),
|
|
6267
|
+
input.TargetLkfs !== null && { targetLkfs: (0, smithy_client_1.serializeFloat)(input.TargetLkfs) }),
|
|
6268
6268
|
};
|
|
6269
6269
|
};
|
|
6270
6270
|
const serializeAws_restJson1AudioOnlyHlsSettings = (input, context) => {
|
|
@@ -6522,11 +6522,11 @@ const serializeAws_restJson1CaptionLanguageMapping = (input, context) => {
|
|
|
6522
6522
|
};
|
|
6523
6523
|
const serializeAws_restJson1CaptionRectangle = (input, context) => {
|
|
6524
6524
|
return {
|
|
6525
|
-
...(input.Height !== undefined && input.Height !== null && { height: smithy_client_1.serializeFloat(input.Height) }),
|
|
6525
|
+
...(input.Height !== undefined && input.Height !== null && { height: (0, smithy_client_1.serializeFloat)(input.Height) }),
|
|
6526
6526
|
...(input.LeftOffset !== undefined &&
|
|
6527
|
-
input.LeftOffset !== null && { leftOffset: smithy_client_1.serializeFloat(input.LeftOffset) }),
|
|
6528
|
-
...(input.TopOffset !== undefined && input.TopOffset !== null && { topOffset: smithy_client_1.serializeFloat(input.TopOffset) }),
|
|
6529
|
-
...(input.Width !== undefined && input.Width !== null && { width: smithy_client_1.serializeFloat(input.Width) }),
|
|
6527
|
+
input.LeftOffset !== null && { leftOffset: (0, smithy_client_1.serializeFloat)(input.LeftOffset) }),
|
|
6528
|
+
...(input.TopOffset !== undefined && input.TopOffset !== null && { topOffset: (0, smithy_client_1.serializeFloat)(input.TopOffset) }),
|
|
6529
|
+
...(input.Width !== undefined && input.Width !== null && { width: (0, smithy_client_1.serializeFloat)(input.Width) }),
|
|
6530
6530
|
};
|
|
6531
6531
|
};
|
|
6532
6532
|
const serializeAws_restJson1CaptionSelector = (input, context) => {
|
|
@@ -6636,7 +6636,7 @@ const serializeAws_restJson1Eac3Settings = (input, context) => {
|
|
|
6636
6636
|
return {
|
|
6637
6637
|
...(input.AttenuationControl !== undefined &&
|
|
6638
6638
|
input.AttenuationControl !== null && { attenuationControl: input.AttenuationControl }),
|
|
6639
|
-
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: smithy_client_1.serializeFloat(input.Bitrate) }),
|
|
6639
|
+
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: (0, smithy_client_1.serializeFloat)(input.Bitrate) }),
|
|
6640
6640
|
...(input.BitstreamMode !== undefined && input.BitstreamMode !== null && { bitstreamMode: input.BitstreamMode }),
|
|
6641
6641
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
6642
6642
|
...(input.DcFilter !== undefined && input.DcFilter !== null && { dcFilter: input.DcFilter }),
|
|
@@ -6646,13 +6646,13 @@ const serializeAws_restJson1Eac3Settings = (input, context) => {
|
|
|
6646
6646
|
...(input.LfeControl !== undefined && input.LfeControl !== null && { lfeControl: input.LfeControl }),
|
|
6647
6647
|
...(input.LfeFilter !== undefined && input.LfeFilter !== null && { lfeFilter: input.LfeFilter }),
|
|
6648
6648
|
...(input.LoRoCenterMixLevel !== undefined &&
|
|
6649
|
-
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel: smithy_client_1.serializeFloat(input.LoRoCenterMixLevel) }),
|
|
6649
|
+
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel: (0, smithy_client_1.serializeFloat)(input.LoRoCenterMixLevel) }),
|
|
6650
6650
|
...(input.LoRoSurroundMixLevel !== undefined &&
|
|
6651
|
-
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel: smithy_client_1.serializeFloat(input.LoRoSurroundMixLevel) }),
|
|
6651
|
+
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel: (0, smithy_client_1.serializeFloat)(input.LoRoSurroundMixLevel) }),
|
|
6652
6652
|
...(input.LtRtCenterMixLevel !== undefined &&
|
|
6653
|
-
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel: smithy_client_1.serializeFloat(input.LtRtCenterMixLevel) }),
|
|
6653
|
+
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel: (0, smithy_client_1.serializeFloat)(input.LtRtCenterMixLevel) }),
|
|
6654
6654
|
...(input.LtRtSurroundMixLevel !== undefined &&
|
|
6655
|
-
input.LtRtSurroundMixLevel !== null && { ltRtSurroundMixLevel: smithy_client_1.serializeFloat(input.LtRtSurroundMixLevel) }),
|
|
6655
|
+
input.LtRtSurroundMixLevel !== null && { ltRtSurroundMixLevel: (0, smithy_client_1.serializeFloat)(input.LtRtSurroundMixLevel) }),
|
|
6656
6656
|
...(input.MetadataControl !== undefined &&
|
|
6657
6657
|
input.MetadataControl !== null && { metadataControl: input.MetadataControl }),
|
|
6658
6658
|
...(input.PassthroughControl !== undefined &&
|
|
@@ -6918,7 +6918,7 @@ const serializeAws_restJson1H264Settings = (input, context) => {
|
|
|
6918
6918
|
...(input.GopClosedCadence !== undefined &&
|
|
6919
6919
|
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence }),
|
|
6920
6920
|
...(input.GopNumBFrames !== undefined && input.GopNumBFrames !== null && { gopNumBFrames: input.GopNumBFrames }),
|
|
6921
|
-
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: smithy_client_1.serializeFloat(input.GopSize) }),
|
|
6921
|
+
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: (0, smithy_client_1.serializeFloat)(input.GopSize) }),
|
|
6922
6922
|
...(input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits }),
|
|
6923
6923
|
...(input.Level !== undefined && input.Level !== null && { level: input.Level }),
|
|
6924
6924
|
...(input.LookAheadRateControl !== undefined &&
|
|
@@ -7003,7 +7003,7 @@ const serializeAws_restJson1H265Settings = (input, context) => {
|
|
|
7003
7003
|
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator }),
|
|
7004
7004
|
...(input.GopClosedCadence !== undefined &&
|
|
7005
7005
|
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence }),
|
|
7006
|
-
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: smithy_client_1.serializeFloat(input.GopSize) }),
|
|
7006
|
+
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: (0, smithy_client_1.serializeFloat)(input.GopSize) }),
|
|
7007
7007
|
...(input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits }),
|
|
7008
7008
|
...(input.Level !== undefined && input.Level !== null && { level: input.Level }),
|
|
7009
7009
|
...(input.LookAheadRateControl !== undefined &&
|
|
@@ -7482,13 +7482,13 @@ const serializeAws_restJson1M2tsSettings = (input, context) => {
|
|
|
7482
7482
|
input.EtvPlatformPid !== null && { etvPlatformPid: input.EtvPlatformPid }),
|
|
7483
7483
|
...(input.EtvSignalPid !== undefined && input.EtvSignalPid !== null && { etvSignalPid: input.EtvSignalPid }),
|
|
7484
7484
|
...(input.FragmentTime !== undefined &&
|
|
7485
|
-
input.FragmentTime !== null && { fragmentTime: smithy_client_1.serializeFloat(input.FragmentTime) }),
|
|
7485
|
+
input.FragmentTime !== null && { fragmentTime: (0, smithy_client_1.serializeFloat)(input.FragmentTime) }),
|
|
7486
7486
|
...(input.Klv !== undefined && input.Klv !== null && { klv: input.Klv }),
|
|
7487
7487
|
...(input.KlvDataPids !== undefined && input.KlvDataPids !== null && { klvDataPids: input.KlvDataPids }),
|
|
7488
7488
|
...(input.NielsenId3Behavior !== undefined &&
|
|
7489
7489
|
input.NielsenId3Behavior !== null && { nielsenId3Behavior: input.NielsenId3Behavior }),
|
|
7490
7490
|
...(input.NullPacketBitrate !== undefined &&
|
|
7491
|
-
input.NullPacketBitrate !== null && { nullPacketBitrate: smithy_client_1.serializeFloat(input.NullPacketBitrate) }),
|
|
7491
|
+
input.NullPacketBitrate !== null && { nullPacketBitrate: (0, smithy_client_1.serializeFloat)(input.NullPacketBitrate) }),
|
|
7492
7492
|
...(input.PatInterval !== undefined && input.PatInterval !== null && { patInterval: input.PatInterval }),
|
|
7493
7493
|
...(input.PcrControl !== undefined && input.PcrControl !== null && { pcrControl: input.PcrControl }),
|
|
7494
7494
|
...(input.PcrPeriod !== undefined && input.PcrPeriod !== null && { pcrPeriod: input.PcrPeriod }),
|
|
@@ -7505,7 +7505,7 @@ const serializeAws_restJson1M2tsSettings = (input, context) => {
|
|
|
7505
7505
|
...(input.SegmentationStyle !== undefined &&
|
|
7506
7506
|
input.SegmentationStyle !== null && { segmentationStyle: input.SegmentationStyle }),
|
|
7507
7507
|
...(input.SegmentationTime !== undefined &&
|
|
7508
|
-
input.SegmentationTime !== null && { segmentationTime: smithy_client_1.serializeFloat(input.SegmentationTime) }),
|
|
7508
|
+
input.SegmentationTime !== null && { segmentationTime: (0, smithy_client_1.serializeFloat)(input.SegmentationTime) }),
|
|
7509
7509
|
...(input.TimedMetadataBehavior !== undefined &&
|
|
7510
7510
|
input.TimedMetadataBehavior !== null && { timedMetadataBehavior: input.TimedMetadataBehavior }),
|
|
7511
7511
|
...(input.TimedMetadataPid !== undefined &&
|
|
@@ -7594,10 +7594,10 @@ const serializeAws_restJson1MotionGraphicsSettings = (input, context) => {
|
|
|
7594
7594
|
};
|
|
7595
7595
|
const serializeAws_restJson1Mp2Settings = (input, context) => {
|
|
7596
7596
|
return {
|
|
7597
|
-
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: smithy_client_1.serializeFloat(input.Bitrate) }),
|
|
7597
|
+
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: (0, smithy_client_1.serializeFloat)(input.Bitrate) }),
|
|
7598
7598
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
7599
7599
|
...(input.SampleRate !== undefined &&
|
|
7600
|
-
input.SampleRate !== null && { sampleRate: smithy_client_1.serializeFloat(input.SampleRate) }),
|
|
7600
|
+
input.SampleRate !== null && { sampleRate: (0, smithy_client_1.serializeFloat)(input.SampleRate) }),
|
|
7601
7601
|
};
|
|
7602
7602
|
};
|
|
7603
7603
|
const serializeAws_restJson1Mpeg2FilterSettings = (input, context) => {
|
|
@@ -7629,7 +7629,7 @@ const serializeAws_restJson1Mpeg2Settings = (input, context) => {
|
|
|
7629
7629
|
...(input.GopClosedCadence !== undefined &&
|
|
7630
7630
|
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence }),
|
|
7631
7631
|
...(input.GopNumBFrames !== undefined && input.GopNumBFrames !== null && { gopNumBFrames: input.GopNumBFrames }),
|
|
7632
|
-
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: smithy_client_1.serializeFloat(input.GopSize) }),
|
|
7632
|
+
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: (0, smithy_client_1.serializeFloat)(input.GopSize) }),
|
|
7633
7633
|
...(input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits }),
|
|
7634
7634
|
...(input.ScanType !== undefined && input.ScanType !== null && { scanType: input.ScanType }),
|
|
7635
7635
|
...(input.SubgopLength !== undefined && input.SubgopLength !== null && { subgopLength: input.SubgopLength }),
|
|
@@ -7785,7 +7785,7 @@ const serializeAws_restJson1NielsenNaesIiNw = (input, context) => {
|
|
|
7785
7785
|
return {
|
|
7786
7786
|
...(input.CheckDigitString !== undefined &&
|
|
7787
7787
|
input.CheckDigitString !== null && { checkDigitString: input.CheckDigitString }),
|
|
7788
|
-
...(input.Sid !== undefined && input.Sid !== null && { sid: smithy_client_1.serializeFloat(input.Sid) }),
|
|
7788
|
+
...(input.Sid !== undefined && input.Sid !== null && { sid: (0, smithy_client_1.serializeFloat)(input.Sid) }),
|
|
7789
7789
|
};
|
|
7790
7790
|
};
|
|
7791
7791
|
const serializeAws_restJson1NielsenWatermarksSettings = (input, context) => {
|
|
@@ -8324,7 +8324,7 @@ const serializeAws_restJson1UdpOutputSettings = (input, context) => {
|
|
|
8324
8324
|
const serializeAws_restJson1VideoBlackFailoverSettings = (input, context) => {
|
|
8325
8325
|
return {
|
|
8326
8326
|
...(input.BlackDetectThreshold !== undefined &&
|
|
8327
|
-
input.BlackDetectThreshold !== null && { blackDetectThreshold: smithy_client_1.serializeFloat(input.BlackDetectThreshold) }),
|
|
8327
|
+
input.BlackDetectThreshold !== null && { blackDetectThreshold: (0, smithy_client_1.serializeFloat)(input.BlackDetectThreshold) }),
|
|
8328
8328
|
...(input.VideoBlackThresholdMsec !== undefined &&
|
|
8329
8329
|
input.VideoBlackThresholdMsec !== null && { videoBlackThresholdMsec: input.VideoBlackThresholdMsec }),
|
|
8330
8330
|
};
|
|
@@ -8421,10 +8421,10 @@ const serializeAws_restJson1VpcOutputSettings = (input, context) => {
|
|
|
8421
8421
|
};
|
|
8422
8422
|
const serializeAws_restJson1WavSettings = (input, context) => {
|
|
8423
8423
|
return {
|
|
8424
|
-
...(input.BitDepth !== undefined && input.BitDepth !== null && { bitDepth: smithy_client_1.serializeFloat(input.BitDepth) }),
|
|
8424
|
+
...(input.BitDepth !== undefined && input.BitDepth !== null && { bitDepth: (0, smithy_client_1.serializeFloat)(input.BitDepth) }),
|
|
8425
8425
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
8426
8426
|
...(input.SampleRate !== undefined &&
|
|
8427
|
-
input.SampleRate !== null && { sampleRate: smithy_client_1.serializeFloat(input.SampleRate) }),
|
|
8427
|
+
input.SampleRate !== null && { sampleRate: (0, smithy_client_1.serializeFloat)(input.SampleRate) }),
|
|
8428
8428
|
};
|
|
8429
8429
|
};
|
|
8430
8430
|
const serializeAws_restJson1WebvttDestinationSettings = (input, context) => {
|
|
@@ -8439,7 +8439,7 @@ const deserializeAws_restJson1__listOf__integer = (output, context) => {
|
|
|
8439
8439
|
if (entry === null) {
|
|
8440
8440
|
return null;
|
|
8441
8441
|
}
|
|
8442
|
-
return smithy_client_1.expectInt32(entry);
|
|
8442
|
+
return (0, smithy_client_1.expectInt32)(entry);
|
|
8443
8443
|
});
|
|
8444
8444
|
return retVal;
|
|
8445
8445
|
};
|
|
@@ -8450,7 +8450,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
8450
8450
|
if (entry === null) {
|
|
8451
8451
|
return null;
|
|
8452
8452
|
}
|
|
8453
|
-
return smithy_client_1.expectString(entry);
|
|
8453
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
8454
8454
|
});
|
|
8455
8455
|
return retVal;
|
|
8456
8456
|
};
|
|
@@ -8593,7 +8593,7 @@ const deserializeAws_restJson1__listOfHlsAdMarkers = (output, context) => {
|
|
|
8593
8593
|
if (entry === null) {
|
|
8594
8594
|
return null;
|
|
8595
8595
|
}
|
|
8596
|
-
return smithy_client_1.expectString(entry);
|
|
8596
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
8597
8597
|
});
|
|
8598
8598
|
return retVal;
|
|
8599
8599
|
};
|
|
@@ -8857,7 +8857,7 @@ const deserializeAws_restJson1__listOfRtmpAdMarkers = (output, context) => {
|
|
|
8857
8857
|
if (entry === null) {
|
|
8858
8858
|
return null;
|
|
8859
8859
|
}
|
|
8860
|
-
return smithy_client_1.expectString(entry);
|
|
8860
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
8861
8861
|
});
|
|
8862
8862
|
return retVal;
|
|
8863
8863
|
};
|
|
@@ -8918,31 +8918,31 @@ const deserializeAws_restJson1__listOfVideoDescription = (output, context) => {
|
|
|
8918
8918
|
};
|
|
8919
8919
|
const deserializeAws_restJson1AacSettings = (output, context) => {
|
|
8920
8920
|
return {
|
|
8921
|
-
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
8922
|
-
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
8923
|
-
InputType: smithy_client_1.expectString(output.inputType),
|
|
8924
|
-
Profile: smithy_client_1.expectString(output.profile),
|
|
8925
|
-
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
8926
|
-
RawFormat: smithy_client_1.expectString(output.rawFormat),
|
|
8927
|
-
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
8928
|
-
Spec: smithy_client_1.expectString(output.spec),
|
|
8929
|
-
VbrQuality: smithy_client_1.expectString(output.vbrQuality),
|
|
8921
|
+
Bitrate: (0, smithy_client_1.limitedParseDouble)(output.bitrate),
|
|
8922
|
+
CodingMode: (0, smithy_client_1.expectString)(output.codingMode),
|
|
8923
|
+
InputType: (0, smithy_client_1.expectString)(output.inputType),
|
|
8924
|
+
Profile: (0, smithy_client_1.expectString)(output.profile),
|
|
8925
|
+
RateControlMode: (0, smithy_client_1.expectString)(output.rateControlMode),
|
|
8926
|
+
RawFormat: (0, smithy_client_1.expectString)(output.rawFormat),
|
|
8927
|
+
SampleRate: (0, smithy_client_1.limitedParseDouble)(output.sampleRate),
|
|
8928
|
+
Spec: (0, smithy_client_1.expectString)(output.spec),
|
|
8929
|
+
VbrQuality: (0, smithy_client_1.expectString)(output.vbrQuality),
|
|
8930
8930
|
};
|
|
8931
8931
|
};
|
|
8932
8932
|
const deserializeAws_restJson1Ac3Settings = (output, context) => {
|
|
8933
8933
|
return {
|
|
8934
|
-
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
8935
|
-
BitstreamMode: smithy_client_1.expectString(output.bitstreamMode),
|
|
8936
|
-
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
8937
|
-
Dialnorm: smithy_client_1.expectInt32(output.dialnorm),
|
|
8938
|
-
DrcProfile: smithy_client_1.expectString(output.drcProfile),
|
|
8939
|
-
LfeFilter: smithy_client_1.expectString(output.lfeFilter),
|
|
8940
|
-
MetadataControl: smithy_client_1.expectString(output.metadataControl),
|
|
8934
|
+
Bitrate: (0, smithy_client_1.limitedParseDouble)(output.bitrate),
|
|
8935
|
+
BitstreamMode: (0, smithy_client_1.expectString)(output.bitstreamMode),
|
|
8936
|
+
CodingMode: (0, smithy_client_1.expectString)(output.codingMode),
|
|
8937
|
+
Dialnorm: (0, smithy_client_1.expectInt32)(output.dialnorm),
|
|
8938
|
+
DrcProfile: (0, smithy_client_1.expectString)(output.drcProfile),
|
|
8939
|
+
LfeFilter: (0, smithy_client_1.expectString)(output.lfeFilter),
|
|
8940
|
+
MetadataControl: (0, smithy_client_1.expectString)(output.metadataControl),
|
|
8941
8941
|
};
|
|
8942
8942
|
};
|
|
8943
8943
|
const deserializeAws_restJson1AncillarySourceSettings = (output, context) => {
|
|
8944
8944
|
return {
|
|
8945
|
-
SourceAncillaryChannelNumber: smithy_client_1.expectInt32(output.sourceAncillaryChannelNumber),
|
|
8945
|
+
SourceAncillaryChannelNumber: (0, smithy_client_1.expectInt32)(output.sourceAncillaryChannelNumber),
|
|
8946
8946
|
};
|
|
8947
8947
|
};
|
|
8948
8948
|
const deserializeAws_restJson1ArchiveCdnSettings = (output, context) => {
|
|
@@ -8970,7 +8970,7 @@ const deserializeAws_restJson1ArchiveGroupSettings = (output, context) => {
|
|
|
8970
8970
|
Destination: output.destination !== undefined && output.destination !== null
|
|
8971
8971
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
8972
8972
|
: undefined,
|
|
8973
|
-
RolloverInterval: smithy_client_1.expectInt32(output.rolloverInterval),
|
|
8973
|
+
RolloverInterval: (0, smithy_client_1.expectInt32)(output.rolloverInterval),
|
|
8974
8974
|
};
|
|
8975
8975
|
};
|
|
8976
8976
|
const deserializeAws_restJson1ArchiveOutputSettings = (output, context) => {
|
|
@@ -8978,13 +8978,13 @@ const deserializeAws_restJson1ArchiveOutputSettings = (output, context) => {
|
|
|
8978
8978
|
ContainerSettings: output.containerSettings !== undefined && output.containerSettings !== null
|
|
8979
8979
|
? deserializeAws_restJson1ArchiveContainerSettings(output.containerSettings, context)
|
|
8980
8980
|
: undefined,
|
|
8981
|
-
Extension: smithy_client_1.expectString(output.extension),
|
|
8982
|
-
NameModifier: smithy_client_1.expectString(output.nameModifier),
|
|
8981
|
+
Extension: (0, smithy_client_1.expectString)(output.extension),
|
|
8982
|
+
NameModifier: (0, smithy_client_1.expectString)(output.nameModifier),
|
|
8983
8983
|
};
|
|
8984
8984
|
};
|
|
8985
8985
|
const deserializeAws_restJson1ArchiveS3Settings = (output, context) => {
|
|
8986
8986
|
return {
|
|
8987
|
-
CannedAcl: smithy_client_1.expectString(output.cannedAcl),
|
|
8987
|
+
CannedAcl: (0, smithy_client_1.expectString)(output.cannedAcl),
|
|
8988
8988
|
};
|
|
8989
8989
|
};
|
|
8990
8990
|
const deserializeAws_restJson1AribDestinationSettings = (output, context) => {
|
|
@@ -8998,7 +8998,7 @@ const deserializeAws_restJson1AudioChannelMapping = (output, context) => {
|
|
|
8998
8998
|
InputChannelLevels: output.inputChannelLevels !== undefined && output.inputChannelLevels !== null
|
|
8999
8999
|
? deserializeAws_restJson1__listOfInputChannelLevel(output.inputChannelLevels, context)
|
|
9000
9000
|
: undefined,
|
|
9001
|
-
OutputChannel: smithy_client_1.expectInt32(output.outputChannel),
|
|
9001
|
+
OutputChannel: (0, smithy_client_1.expectInt32)(output.outputChannel),
|
|
9002
9002
|
};
|
|
9003
9003
|
};
|
|
9004
9004
|
const deserializeAws_restJson1AudioCodecSettings = (output, context) => {
|
|
@@ -9028,61 +9028,61 @@ const deserializeAws_restJson1AudioDescription = (output, context) => {
|
|
|
9028
9028
|
AudioNormalizationSettings: output.audioNormalizationSettings !== undefined && output.audioNormalizationSettings !== null
|
|
9029
9029
|
? deserializeAws_restJson1AudioNormalizationSettings(output.audioNormalizationSettings, context)
|
|
9030
9030
|
: undefined,
|
|
9031
|
-
AudioSelectorName: smithy_client_1.expectString(output.audioSelectorName),
|
|
9032
|
-
AudioType: smithy_client_1.expectString(output.audioType),
|
|
9033
|
-
AudioTypeControl: smithy_client_1.expectString(output.audioTypeControl),
|
|
9031
|
+
AudioSelectorName: (0, smithy_client_1.expectString)(output.audioSelectorName),
|
|
9032
|
+
AudioType: (0, smithy_client_1.expectString)(output.audioType),
|
|
9033
|
+
AudioTypeControl: (0, smithy_client_1.expectString)(output.audioTypeControl),
|
|
9034
9034
|
AudioWatermarkingSettings: output.audioWatermarkingSettings !== undefined && output.audioWatermarkingSettings !== null
|
|
9035
9035
|
? deserializeAws_restJson1AudioWatermarkSettings(output.audioWatermarkingSettings, context)
|
|
9036
9036
|
: undefined,
|
|
9037
9037
|
CodecSettings: output.codecSettings !== undefined && output.codecSettings !== null
|
|
9038
9038
|
? deserializeAws_restJson1AudioCodecSettings(output.codecSettings, context)
|
|
9039
9039
|
: undefined,
|
|
9040
|
-
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
9041
|
-
LanguageCodeControl: smithy_client_1.expectString(output.languageCodeControl),
|
|
9042
|
-
Name: smithy_client_1.expectString(output.name),
|
|
9040
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.languageCode),
|
|
9041
|
+
LanguageCodeControl: (0, smithy_client_1.expectString)(output.languageCodeControl),
|
|
9042
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
9043
9043
|
RemixSettings: output.remixSettings !== undefined && output.remixSettings !== null
|
|
9044
9044
|
? deserializeAws_restJson1RemixSettings(output.remixSettings, context)
|
|
9045
9045
|
: undefined,
|
|
9046
|
-
StreamName: smithy_client_1.expectString(output.streamName),
|
|
9046
|
+
StreamName: (0, smithy_client_1.expectString)(output.streamName),
|
|
9047
9047
|
};
|
|
9048
9048
|
};
|
|
9049
9049
|
const deserializeAws_restJson1AudioHlsRenditionSelection = (output, context) => {
|
|
9050
9050
|
return {
|
|
9051
|
-
GroupId: smithy_client_1.expectString(output.groupId),
|
|
9052
|
-
Name: smithy_client_1.expectString(output.name),
|
|
9051
|
+
GroupId: (0, smithy_client_1.expectString)(output.groupId),
|
|
9052
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
9053
9053
|
};
|
|
9054
9054
|
};
|
|
9055
9055
|
const deserializeAws_restJson1AudioLanguageSelection = (output, context) => {
|
|
9056
9056
|
return {
|
|
9057
|
-
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
9058
|
-
LanguageSelectionPolicy: smithy_client_1.expectString(output.languageSelectionPolicy),
|
|
9057
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.languageCode),
|
|
9058
|
+
LanguageSelectionPolicy: (0, smithy_client_1.expectString)(output.languageSelectionPolicy),
|
|
9059
9059
|
};
|
|
9060
9060
|
};
|
|
9061
9061
|
const deserializeAws_restJson1AudioNormalizationSettings = (output, context) => {
|
|
9062
9062
|
return {
|
|
9063
|
-
Algorithm: smithy_client_1.expectString(output.algorithm),
|
|
9064
|
-
AlgorithmControl: smithy_client_1.expectString(output.algorithmControl),
|
|
9065
|
-
TargetLkfs: smithy_client_1.limitedParseDouble(output.targetLkfs),
|
|
9063
|
+
Algorithm: (0, smithy_client_1.expectString)(output.algorithm),
|
|
9064
|
+
AlgorithmControl: (0, smithy_client_1.expectString)(output.algorithmControl),
|
|
9065
|
+
TargetLkfs: (0, smithy_client_1.limitedParseDouble)(output.targetLkfs),
|
|
9066
9066
|
};
|
|
9067
9067
|
};
|
|
9068
9068
|
const deserializeAws_restJson1AudioOnlyHlsSettings = (output, context) => {
|
|
9069
9069
|
return {
|
|
9070
|
-
AudioGroupId: smithy_client_1.expectString(output.audioGroupId),
|
|
9070
|
+
AudioGroupId: (0, smithy_client_1.expectString)(output.audioGroupId),
|
|
9071
9071
|
AudioOnlyImage: output.audioOnlyImage !== undefined && output.audioOnlyImage !== null
|
|
9072
9072
|
? deserializeAws_restJson1InputLocation(output.audioOnlyImage, context)
|
|
9073
9073
|
: undefined,
|
|
9074
|
-
AudioTrackType: smithy_client_1.expectString(output.audioTrackType),
|
|
9075
|
-
SegmentType: smithy_client_1.expectString(output.segmentType),
|
|
9074
|
+
AudioTrackType: (0, smithy_client_1.expectString)(output.audioTrackType),
|
|
9075
|
+
SegmentType: (0, smithy_client_1.expectString)(output.segmentType),
|
|
9076
9076
|
};
|
|
9077
9077
|
};
|
|
9078
9078
|
const deserializeAws_restJson1AudioPidSelection = (output, context) => {
|
|
9079
9079
|
return {
|
|
9080
|
-
Pid: smithy_client_1.expectInt32(output.pid),
|
|
9080
|
+
Pid: (0, smithy_client_1.expectInt32)(output.pid),
|
|
9081
9081
|
};
|
|
9082
9082
|
};
|
|
9083
9083
|
const deserializeAws_restJson1AudioSelector = (output, context) => {
|
|
9084
9084
|
return {
|
|
9085
|
-
Name: smithy_client_1.expectString(output.name),
|
|
9085
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
9086
9086
|
SelectorSettings: output.selectorSettings !== undefined && output.selectorSettings !== null
|
|
9087
9087
|
? deserializeAws_restJson1AudioSelectorSettings(output.selectorSettings, context)
|
|
9088
9088
|
: undefined,
|
|
@@ -9106,13 +9106,13 @@ const deserializeAws_restJson1AudioSelectorSettings = (output, context) => {
|
|
|
9106
9106
|
};
|
|
9107
9107
|
const deserializeAws_restJson1AudioSilenceFailoverSettings = (output, context) => {
|
|
9108
9108
|
return {
|
|
9109
|
-
AudioSelectorName: smithy_client_1.expectString(output.audioSelectorName),
|
|
9110
|
-
AudioSilenceThresholdMsec: smithy_client_1.expectInt32(output.audioSilenceThresholdMsec),
|
|
9109
|
+
AudioSelectorName: (0, smithy_client_1.expectString)(output.audioSelectorName),
|
|
9110
|
+
AudioSilenceThresholdMsec: (0, smithy_client_1.expectInt32)(output.audioSilenceThresholdMsec),
|
|
9111
9111
|
};
|
|
9112
9112
|
};
|
|
9113
9113
|
const deserializeAws_restJson1AudioTrack = (output, context) => {
|
|
9114
9114
|
return {
|
|
9115
|
-
Track: smithy_client_1.expectInt32(output.track),
|
|
9115
|
+
Track: (0, smithy_client_1.expectInt32)(output.track),
|
|
9116
9116
|
};
|
|
9117
9117
|
};
|
|
9118
9118
|
const deserializeAws_restJson1AudioTrackSelection = (output, context) => {
|
|
@@ -9131,12 +9131,12 @@ const deserializeAws_restJson1AudioWatermarkSettings = (output, context) => {
|
|
|
9131
9131
|
};
|
|
9132
9132
|
const deserializeAws_restJson1AutomaticInputFailoverSettings = (output, context) => {
|
|
9133
9133
|
return {
|
|
9134
|
-
ErrorClearTimeMsec: smithy_client_1.expectInt32(output.errorClearTimeMsec),
|
|
9134
|
+
ErrorClearTimeMsec: (0, smithy_client_1.expectInt32)(output.errorClearTimeMsec),
|
|
9135
9135
|
FailoverConditions: output.failoverConditions !== undefined && output.failoverConditions !== null
|
|
9136
9136
|
? deserializeAws_restJson1__listOfFailoverCondition(output.failoverConditions, context)
|
|
9137
9137
|
: undefined,
|
|
9138
|
-
InputPreference: smithy_client_1.expectString(output.inputPreference),
|
|
9139
|
-
SecondaryInputId: smithy_client_1.expectString(output.secondaryInputId),
|
|
9138
|
+
InputPreference: (0, smithy_client_1.expectString)(output.inputPreference),
|
|
9139
|
+
SecondaryInputId: (0, smithy_client_1.expectString)(output.secondaryInputId),
|
|
9140
9140
|
};
|
|
9141
9141
|
};
|
|
9142
9142
|
const deserializeAws_restJson1AvailBlanking = (output, context) => {
|
|
@@ -9144,7 +9144,7 @@ const deserializeAws_restJson1AvailBlanking = (output, context) => {
|
|
|
9144
9144
|
AvailBlankingImage: output.availBlankingImage !== undefined && output.availBlankingImage !== null
|
|
9145
9145
|
? deserializeAws_restJson1InputLocation(output.availBlankingImage, context)
|
|
9146
9146
|
: undefined,
|
|
9147
|
-
State: smithy_client_1.expectString(output.state),
|
|
9147
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
9148
9148
|
};
|
|
9149
9149
|
};
|
|
9150
9150
|
const deserializeAws_restJson1AvailConfiguration = (output, context) => {
|
|
@@ -9166,10 +9166,10 @@ const deserializeAws_restJson1AvailSettings = (output, context) => {
|
|
|
9166
9166
|
};
|
|
9167
9167
|
const deserializeAws_restJson1BatchFailedResultModel = (output, context) => {
|
|
9168
9168
|
return {
|
|
9169
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
9170
|
-
Code: smithy_client_1.expectString(output.code),
|
|
9171
|
-
Id: smithy_client_1.expectString(output.id),
|
|
9172
|
-
Message: smithy_client_1.expectString(output.message),
|
|
9169
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
9170
|
+
Code: (0, smithy_client_1.expectString)(output.code),
|
|
9171
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
9172
|
+
Message: (0, smithy_client_1.expectString)(output.message),
|
|
9173
9173
|
};
|
|
9174
9174
|
};
|
|
9175
9175
|
const deserializeAws_restJson1BatchScheduleActionCreateResult = (output, context) => {
|
|
@@ -9188,9 +9188,9 @@ const deserializeAws_restJson1BatchScheduleActionDeleteResult = (output, context
|
|
|
9188
9188
|
};
|
|
9189
9189
|
const deserializeAws_restJson1BatchSuccessfulResultModel = (output, context) => {
|
|
9190
9190
|
return {
|
|
9191
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
9192
|
-
Id: smithy_client_1.expectString(output.id),
|
|
9193
|
-
State: smithy_client_1.expectString(output.state),
|
|
9191
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
9192
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
9193
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
9194
9194
|
};
|
|
9195
9195
|
};
|
|
9196
9196
|
const deserializeAws_restJson1BlackoutSlate = (output, context) => {
|
|
@@ -9198,46 +9198,46 @@ const deserializeAws_restJson1BlackoutSlate = (output, context) => {
|
|
|
9198
9198
|
BlackoutSlateImage: output.blackoutSlateImage !== undefined && output.blackoutSlateImage !== null
|
|
9199
9199
|
? deserializeAws_restJson1InputLocation(output.blackoutSlateImage, context)
|
|
9200
9200
|
: undefined,
|
|
9201
|
-
NetworkEndBlackout: smithy_client_1.expectString(output.networkEndBlackout),
|
|
9201
|
+
NetworkEndBlackout: (0, smithy_client_1.expectString)(output.networkEndBlackout),
|
|
9202
9202
|
NetworkEndBlackoutImage: output.networkEndBlackoutImage !== undefined && output.networkEndBlackoutImage !== null
|
|
9203
9203
|
? deserializeAws_restJson1InputLocation(output.networkEndBlackoutImage, context)
|
|
9204
9204
|
: undefined,
|
|
9205
|
-
NetworkId: smithy_client_1.expectString(output.networkId),
|
|
9206
|
-
State: smithy_client_1.expectString(output.state),
|
|
9205
|
+
NetworkId: (0, smithy_client_1.expectString)(output.networkId),
|
|
9206
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
9207
9207
|
};
|
|
9208
9208
|
};
|
|
9209
9209
|
const deserializeAws_restJson1BurnInDestinationSettings = (output, context) => {
|
|
9210
9210
|
return {
|
|
9211
|
-
Alignment: smithy_client_1.expectString(output.alignment),
|
|
9212
|
-
BackgroundColor: smithy_client_1.expectString(output.backgroundColor),
|
|
9213
|
-
BackgroundOpacity: smithy_client_1.expectInt32(output.backgroundOpacity),
|
|
9211
|
+
Alignment: (0, smithy_client_1.expectString)(output.alignment),
|
|
9212
|
+
BackgroundColor: (0, smithy_client_1.expectString)(output.backgroundColor),
|
|
9213
|
+
BackgroundOpacity: (0, smithy_client_1.expectInt32)(output.backgroundOpacity),
|
|
9214
9214
|
Font: output.font !== undefined && output.font !== null
|
|
9215
9215
|
? deserializeAws_restJson1InputLocation(output.font, context)
|
|
9216
9216
|
: undefined,
|
|
9217
|
-
FontColor: smithy_client_1.expectString(output.fontColor),
|
|
9218
|
-
FontOpacity: smithy_client_1.expectInt32(output.fontOpacity),
|
|
9219
|
-
FontResolution: smithy_client_1.expectInt32(output.fontResolution),
|
|
9220
|
-
FontSize: smithy_client_1.expectString(output.fontSize),
|
|
9221
|
-
OutlineColor: smithy_client_1.expectString(output.outlineColor),
|
|
9222
|
-
OutlineSize: smithy_client_1.expectInt32(output.outlineSize),
|
|
9223
|
-
ShadowColor: smithy_client_1.expectString(output.shadowColor),
|
|
9224
|
-
ShadowOpacity: smithy_client_1.expectInt32(output.shadowOpacity),
|
|
9225
|
-
ShadowXOffset: smithy_client_1.expectInt32(output.shadowXOffset),
|
|
9226
|
-
ShadowYOffset: smithy_client_1.expectInt32(output.shadowYOffset),
|
|
9227
|
-
TeletextGridControl: smithy_client_1.expectString(output.teletextGridControl),
|
|
9228
|
-
XPosition: smithy_client_1.expectInt32(output.xPosition),
|
|
9229
|
-
YPosition: smithy_client_1.expectInt32(output.yPosition),
|
|
9217
|
+
FontColor: (0, smithy_client_1.expectString)(output.fontColor),
|
|
9218
|
+
FontOpacity: (0, smithy_client_1.expectInt32)(output.fontOpacity),
|
|
9219
|
+
FontResolution: (0, smithy_client_1.expectInt32)(output.fontResolution),
|
|
9220
|
+
FontSize: (0, smithy_client_1.expectString)(output.fontSize),
|
|
9221
|
+
OutlineColor: (0, smithy_client_1.expectString)(output.outlineColor),
|
|
9222
|
+
OutlineSize: (0, smithy_client_1.expectInt32)(output.outlineSize),
|
|
9223
|
+
ShadowColor: (0, smithy_client_1.expectString)(output.shadowColor),
|
|
9224
|
+
ShadowOpacity: (0, smithy_client_1.expectInt32)(output.shadowOpacity),
|
|
9225
|
+
ShadowXOffset: (0, smithy_client_1.expectInt32)(output.shadowXOffset),
|
|
9226
|
+
ShadowYOffset: (0, smithy_client_1.expectInt32)(output.shadowYOffset),
|
|
9227
|
+
TeletextGridControl: (0, smithy_client_1.expectString)(output.teletextGridControl),
|
|
9228
|
+
XPosition: (0, smithy_client_1.expectInt32)(output.xPosition),
|
|
9229
|
+
YPosition: (0, smithy_client_1.expectInt32)(output.yPosition),
|
|
9230
9230
|
};
|
|
9231
9231
|
};
|
|
9232
9232
|
const deserializeAws_restJson1CaptionDescription = (output, context) => {
|
|
9233
9233
|
return {
|
|
9234
|
-
CaptionSelectorName: smithy_client_1.expectString(output.captionSelectorName),
|
|
9234
|
+
CaptionSelectorName: (0, smithy_client_1.expectString)(output.captionSelectorName),
|
|
9235
9235
|
DestinationSettings: output.destinationSettings !== undefined && output.destinationSettings !== null
|
|
9236
9236
|
? deserializeAws_restJson1CaptionDestinationSettings(output.destinationSettings, context)
|
|
9237
9237
|
: undefined,
|
|
9238
|
-
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
9239
|
-
LanguageDescription: smithy_client_1.expectString(output.languageDescription),
|
|
9240
|
-
Name: smithy_client_1.expectString(output.name),
|
|
9238
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.languageCode),
|
|
9239
|
+
LanguageDescription: (0, smithy_client_1.expectString)(output.languageDescription),
|
|
9240
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
9241
9241
|
};
|
|
9242
9242
|
};
|
|
9243
9243
|
const deserializeAws_restJson1CaptionDestinationSettings = (output, context) => {
|
|
@@ -9287,23 +9287,23 @@ const deserializeAws_restJson1CaptionDestinationSettings = (output, context) =>
|
|
|
9287
9287
|
};
|
|
9288
9288
|
const deserializeAws_restJson1CaptionLanguageMapping = (output, context) => {
|
|
9289
9289
|
return {
|
|
9290
|
-
CaptionChannel: smithy_client_1.expectInt32(output.captionChannel),
|
|
9291
|
-
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
9292
|
-
LanguageDescription: smithy_client_1.expectString(output.languageDescription),
|
|
9290
|
+
CaptionChannel: (0, smithy_client_1.expectInt32)(output.captionChannel),
|
|
9291
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.languageCode),
|
|
9292
|
+
LanguageDescription: (0, smithy_client_1.expectString)(output.languageDescription),
|
|
9293
9293
|
};
|
|
9294
9294
|
};
|
|
9295
9295
|
const deserializeAws_restJson1CaptionRectangle = (output, context) => {
|
|
9296
9296
|
return {
|
|
9297
|
-
Height: smithy_client_1.limitedParseDouble(output.height),
|
|
9298
|
-
LeftOffset: smithy_client_1.limitedParseDouble(output.leftOffset),
|
|
9299
|
-
TopOffset: smithy_client_1.limitedParseDouble(output.topOffset),
|
|
9300
|
-
Width: smithy_client_1.limitedParseDouble(output.width),
|
|
9297
|
+
Height: (0, smithy_client_1.limitedParseDouble)(output.height),
|
|
9298
|
+
LeftOffset: (0, smithy_client_1.limitedParseDouble)(output.leftOffset),
|
|
9299
|
+
TopOffset: (0, smithy_client_1.limitedParseDouble)(output.topOffset),
|
|
9300
|
+
Width: (0, smithy_client_1.limitedParseDouble)(output.width),
|
|
9301
9301
|
};
|
|
9302
9302
|
};
|
|
9303
9303
|
const deserializeAws_restJson1CaptionSelector = (output, context) => {
|
|
9304
9304
|
return {
|
|
9305
|
-
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
9306
|
-
Name: smithy_client_1.expectString(output.name),
|
|
9305
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.languageCode),
|
|
9306
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
9307
9307
|
SelectorSettings: output.selectorSettings !== undefined && output.selectorSettings !== null
|
|
9308
9308
|
? deserializeAws_restJson1CaptionSelectorSettings(output.selectorSettings, context)
|
|
9309
9309
|
: undefined,
|
|
@@ -9336,16 +9336,16 @@ const deserializeAws_restJson1CaptionSelectorSettings = (output, context) => {
|
|
|
9336
9336
|
};
|
|
9337
9337
|
const deserializeAws_restJson1CdiInputSpecification = (output, context) => {
|
|
9338
9338
|
return {
|
|
9339
|
-
Resolution: smithy_client_1.expectString(output.resolution),
|
|
9339
|
+
Resolution: (0, smithy_client_1.expectString)(output.resolution),
|
|
9340
9340
|
};
|
|
9341
9341
|
};
|
|
9342
9342
|
const deserializeAws_restJson1Channel = (output, context) => {
|
|
9343
9343
|
return {
|
|
9344
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
9344
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
9345
9345
|
CdiInputSpecification: output.cdiInputSpecification !== undefined && output.cdiInputSpecification !== null
|
|
9346
9346
|
? deserializeAws_restJson1CdiInputSpecification(output.cdiInputSpecification, context)
|
|
9347
9347
|
: undefined,
|
|
9348
|
-
ChannelClass: smithy_client_1.expectString(output.channelClass),
|
|
9348
|
+
ChannelClass: (0, smithy_client_1.expectString)(output.channelClass),
|
|
9349
9349
|
Destinations: output.destinations !== undefined && output.destinations !== null
|
|
9350
9350
|
? deserializeAws_restJson1__listOfOutputDestination(output.destinations, context)
|
|
9351
9351
|
: undefined,
|
|
@@ -9355,21 +9355,21 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
9355
9355
|
EncoderSettings: output.encoderSettings !== undefined && output.encoderSettings !== null
|
|
9356
9356
|
? deserializeAws_restJson1EncoderSettings(output.encoderSettings, context)
|
|
9357
9357
|
: undefined,
|
|
9358
|
-
Id: smithy_client_1.expectString(output.id),
|
|
9358
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
9359
9359
|
InputAttachments: output.inputAttachments !== undefined && output.inputAttachments !== null
|
|
9360
9360
|
? deserializeAws_restJson1__listOfInputAttachment(output.inputAttachments, context)
|
|
9361
9361
|
: undefined,
|
|
9362
9362
|
InputSpecification: output.inputSpecification !== undefined && output.inputSpecification !== null
|
|
9363
9363
|
? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
|
|
9364
9364
|
: undefined,
|
|
9365
|
-
LogLevel: smithy_client_1.expectString(output.logLevel),
|
|
9366
|
-
Name: smithy_client_1.expectString(output.name),
|
|
9365
|
+
LogLevel: (0, smithy_client_1.expectString)(output.logLevel),
|
|
9366
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
9367
9367
|
PipelineDetails: output.pipelineDetails !== undefined && output.pipelineDetails !== null
|
|
9368
9368
|
? deserializeAws_restJson1__listOfPipelineDetail(output.pipelineDetails, context)
|
|
9369
9369
|
: undefined,
|
|
9370
|
-
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
9371
|
-
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
9372
|
-
State: smithy_client_1.expectString(output.state),
|
|
9370
|
+
PipelinesRunningCount: (0, smithy_client_1.expectInt32)(output.pipelinesRunningCount),
|
|
9371
|
+
RoleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
9372
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
9373
9373
|
Tags: output.tags !== undefined && output.tags !== null
|
|
9374
9374
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
9375
9375
|
: undefined,
|
|
@@ -9380,34 +9380,34 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
9380
9380
|
};
|
|
9381
9381
|
const deserializeAws_restJson1ChannelEgressEndpoint = (output, context) => {
|
|
9382
9382
|
return {
|
|
9383
|
-
SourceIp: smithy_client_1.expectString(output.sourceIp),
|
|
9383
|
+
SourceIp: (0, smithy_client_1.expectString)(output.sourceIp),
|
|
9384
9384
|
};
|
|
9385
9385
|
};
|
|
9386
9386
|
const deserializeAws_restJson1ChannelSummary = (output, context) => {
|
|
9387
9387
|
return {
|
|
9388
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
9388
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
9389
9389
|
CdiInputSpecification: output.cdiInputSpecification !== undefined && output.cdiInputSpecification !== null
|
|
9390
9390
|
? deserializeAws_restJson1CdiInputSpecification(output.cdiInputSpecification, context)
|
|
9391
9391
|
: undefined,
|
|
9392
|
-
ChannelClass: smithy_client_1.expectString(output.channelClass),
|
|
9392
|
+
ChannelClass: (0, smithy_client_1.expectString)(output.channelClass),
|
|
9393
9393
|
Destinations: output.destinations !== undefined && output.destinations !== null
|
|
9394
9394
|
? deserializeAws_restJson1__listOfOutputDestination(output.destinations, context)
|
|
9395
9395
|
: undefined,
|
|
9396
9396
|
EgressEndpoints: output.egressEndpoints !== undefined && output.egressEndpoints !== null
|
|
9397
9397
|
? deserializeAws_restJson1__listOfChannelEgressEndpoint(output.egressEndpoints, context)
|
|
9398
9398
|
: undefined,
|
|
9399
|
-
Id: smithy_client_1.expectString(output.id),
|
|
9399
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
9400
9400
|
InputAttachments: output.inputAttachments !== undefined && output.inputAttachments !== null
|
|
9401
9401
|
? deserializeAws_restJson1__listOfInputAttachment(output.inputAttachments, context)
|
|
9402
9402
|
: undefined,
|
|
9403
9403
|
InputSpecification: output.inputSpecification !== undefined && output.inputSpecification !== null
|
|
9404
9404
|
? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
|
|
9405
9405
|
: undefined,
|
|
9406
|
-
LogLevel: smithy_client_1.expectString(output.logLevel),
|
|
9407
|
-
Name: smithy_client_1.expectString(output.name),
|
|
9408
|
-
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
9409
|
-
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
9410
|
-
State: smithy_client_1.expectString(output.state),
|
|
9406
|
+
LogLevel: (0, smithy_client_1.expectString)(output.logLevel),
|
|
9407
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
9408
|
+
PipelinesRunningCount: (0, smithy_client_1.expectInt32)(output.pipelinesRunningCount),
|
|
9409
|
+
RoleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
9410
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
9411
9411
|
Tags: output.tags !== undefined && output.tags !== null
|
|
9412
9412
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
9413
9413
|
: undefined,
|
|
@@ -9421,83 +9421,83 @@ const deserializeAws_restJson1ColorSpacePassthroughSettings = (output, context)
|
|
|
9421
9421
|
};
|
|
9422
9422
|
const deserializeAws_restJson1DvbNitSettings = (output, context) => {
|
|
9423
9423
|
return {
|
|
9424
|
-
NetworkId: smithy_client_1.expectInt32(output.networkId),
|
|
9425
|
-
NetworkName: smithy_client_1.expectString(output.networkName),
|
|
9426
|
-
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
9424
|
+
NetworkId: (0, smithy_client_1.expectInt32)(output.networkId),
|
|
9425
|
+
NetworkName: (0, smithy_client_1.expectString)(output.networkName),
|
|
9426
|
+
RepInterval: (0, smithy_client_1.expectInt32)(output.repInterval),
|
|
9427
9427
|
};
|
|
9428
9428
|
};
|
|
9429
9429
|
const deserializeAws_restJson1DvbSdtSettings = (output, context) => {
|
|
9430
9430
|
return {
|
|
9431
|
-
OutputSdt: smithy_client_1.expectString(output.outputSdt),
|
|
9432
|
-
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
9433
|
-
ServiceName: smithy_client_1.expectString(output.serviceName),
|
|
9434
|
-
ServiceProviderName: smithy_client_1.expectString(output.serviceProviderName),
|
|
9431
|
+
OutputSdt: (0, smithy_client_1.expectString)(output.outputSdt),
|
|
9432
|
+
RepInterval: (0, smithy_client_1.expectInt32)(output.repInterval),
|
|
9433
|
+
ServiceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
9434
|
+
ServiceProviderName: (0, smithy_client_1.expectString)(output.serviceProviderName),
|
|
9435
9435
|
};
|
|
9436
9436
|
};
|
|
9437
9437
|
const deserializeAws_restJson1DvbSubDestinationSettings = (output, context) => {
|
|
9438
9438
|
return {
|
|
9439
|
-
Alignment: smithy_client_1.expectString(output.alignment),
|
|
9440
|
-
BackgroundColor: smithy_client_1.expectString(output.backgroundColor),
|
|
9441
|
-
BackgroundOpacity: smithy_client_1.expectInt32(output.backgroundOpacity),
|
|
9439
|
+
Alignment: (0, smithy_client_1.expectString)(output.alignment),
|
|
9440
|
+
BackgroundColor: (0, smithy_client_1.expectString)(output.backgroundColor),
|
|
9441
|
+
BackgroundOpacity: (0, smithy_client_1.expectInt32)(output.backgroundOpacity),
|
|
9442
9442
|
Font: output.font !== undefined && output.font !== null
|
|
9443
9443
|
? deserializeAws_restJson1InputLocation(output.font, context)
|
|
9444
9444
|
: undefined,
|
|
9445
|
-
FontColor: smithy_client_1.expectString(output.fontColor),
|
|
9446
|
-
FontOpacity: smithy_client_1.expectInt32(output.fontOpacity),
|
|
9447
|
-
FontResolution: smithy_client_1.expectInt32(output.fontResolution),
|
|
9448
|
-
FontSize: smithy_client_1.expectString(output.fontSize),
|
|
9449
|
-
OutlineColor: smithy_client_1.expectString(output.outlineColor),
|
|
9450
|
-
OutlineSize: smithy_client_1.expectInt32(output.outlineSize),
|
|
9451
|
-
ShadowColor: smithy_client_1.expectString(output.shadowColor),
|
|
9452
|
-
ShadowOpacity: smithy_client_1.expectInt32(output.shadowOpacity),
|
|
9453
|
-
ShadowXOffset: smithy_client_1.expectInt32(output.shadowXOffset),
|
|
9454
|
-
ShadowYOffset: smithy_client_1.expectInt32(output.shadowYOffset),
|
|
9455
|
-
TeletextGridControl: smithy_client_1.expectString(output.teletextGridControl),
|
|
9456
|
-
XPosition: smithy_client_1.expectInt32(output.xPosition),
|
|
9457
|
-
YPosition: smithy_client_1.expectInt32(output.yPosition),
|
|
9445
|
+
FontColor: (0, smithy_client_1.expectString)(output.fontColor),
|
|
9446
|
+
FontOpacity: (0, smithy_client_1.expectInt32)(output.fontOpacity),
|
|
9447
|
+
FontResolution: (0, smithy_client_1.expectInt32)(output.fontResolution),
|
|
9448
|
+
FontSize: (0, smithy_client_1.expectString)(output.fontSize),
|
|
9449
|
+
OutlineColor: (0, smithy_client_1.expectString)(output.outlineColor),
|
|
9450
|
+
OutlineSize: (0, smithy_client_1.expectInt32)(output.outlineSize),
|
|
9451
|
+
ShadowColor: (0, smithy_client_1.expectString)(output.shadowColor),
|
|
9452
|
+
ShadowOpacity: (0, smithy_client_1.expectInt32)(output.shadowOpacity),
|
|
9453
|
+
ShadowXOffset: (0, smithy_client_1.expectInt32)(output.shadowXOffset),
|
|
9454
|
+
ShadowYOffset: (0, smithy_client_1.expectInt32)(output.shadowYOffset),
|
|
9455
|
+
TeletextGridControl: (0, smithy_client_1.expectString)(output.teletextGridControl),
|
|
9456
|
+
XPosition: (0, smithy_client_1.expectInt32)(output.xPosition),
|
|
9457
|
+
YPosition: (0, smithy_client_1.expectInt32)(output.yPosition),
|
|
9458
9458
|
};
|
|
9459
9459
|
};
|
|
9460
9460
|
const deserializeAws_restJson1DvbSubSourceSettings = (output, context) => {
|
|
9461
9461
|
return {
|
|
9462
|
-
OcrLanguage: smithy_client_1.expectString(output.ocrLanguage),
|
|
9463
|
-
Pid: smithy_client_1.expectInt32(output.pid),
|
|
9462
|
+
OcrLanguage: (0, smithy_client_1.expectString)(output.ocrLanguage),
|
|
9463
|
+
Pid: (0, smithy_client_1.expectInt32)(output.pid),
|
|
9464
9464
|
};
|
|
9465
9465
|
};
|
|
9466
9466
|
const deserializeAws_restJson1DvbTdtSettings = (output, context) => {
|
|
9467
9467
|
return {
|
|
9468
|
-
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
9468
|
+
RepInterval: (0, smithy_client_1.expectInt32)(output.repInterval),
|
|
9469
9469
|
};
|
|
9470
9470
|
};
|
|
9471
9471
|
const deserializeAws_restJson1Eac3Settings = (output, context) => {
|
|
9472
9472
|
return {
|
|
9473
|
-
AttenuationControl: smithy_client_1.expectString(output.attenuationControl),
|
|
9474
|
-
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
9475
|
-
BitstreamMode: smithy_client_1.expectString(output.bitstreamMode),
|
|
9476
|
-
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
9477
|
-
DcFilter: smithy_client_1.expectString(output.dcFilter),
|
|
9478
|
-
Dialnorm: smithy_client_1.expectInt32(output.dialnorm),
|
|
9479
|
-
DrcLine: smithy_client_1.expectString(output.drcLine),
|
|
9480
|
-
DrcRf: smithy_client_1.expectString(output.drcRf),
|
|
9481
|
-
LfeControl: smithy_client_1.expectString(output.lfeControl),
|
|
9482
|
-
LfeFilter: smithy_client_1.expectString(output.lfeFilter),
|
|
9483
|
-
LoRoCenterMixLevel: smithy_client_1.limitedParseDouble(output.loRoCenterMixLevel),
|
|
9484
|
-
LoRoSurroundMixLevel: smithy_client_1.limitedParseDouble(output.loRoSurroundMixLevel),
|
|
9485
|
-
LtRtCenterMixLevel: smithy_client_1.limitedParseDouble(output.ltRtCenterMixLevel),
|
|
9486
|
-
LtRtSurroundMixLevel: smithy_client_1.limitedParseDouble(output.ltRtSurroundMixLevel),
|
|
9487
|
-
MetadataControl: smithy_client_1.expectString(output.metadataControl),
|
|
9488
|
-
PassthroughControl: smithy_client_1.expectString(output.passthroughControl),
|
|
9489
|
-
PhaseControl: smithy_client_1.expectString(output.phaseControl),
|
|
9490
|
-
StereoDownmix: smithy_client_1.expectString(output.stereoDownmix),
|
|
9491
|
-
SurroundExMode: smithy_client_1.expectString(output.surroundExMode),
|
|
9492
|
-
SurroundMode: smithy_client_1.expectString(output.surroundMode),
|
|
9473
|
+
AttenuationControl: (0, smithy_client_1.expectString)(output.attenuationControl),
|
|
9474
|
+
Bitrate: (0, smithy_client_1.limitedParseDouble)(output.bitrate),
|
|
9475
|
+
BitstreamMode: (0, smithy_client_1.expectString)(output.bitstreamMode),
|
|
9476
|
+
CodingMode: (0, smithy_client_1.expectString)(output.codingMode),
|
|
9477
|
+
DcFilter: (0, smithy_client_1.expectString)(output.dcFilter),
|
|
9478
|
+
Dialnorm: (0, smithy_client_1.expectInt32)(output.dialnorm),
|
|
9479
|
+
DrcLine: (0, smithy_client_1.expectString)(output.drcLine),
|
|
9480
|
+
DrcRf: (0, smithy_client_1.expectString)(output.drcRf),
|
|
9481
|
+
LfeControl: (0, smithy_client_1.expectString)(output.lfeControl),
|
|
9482
|
+
LfeFilter: (0, smithy_client_1.expectString)(output.lfeFilter),
|
|
9483
|
+
LoRoCenterMixLevel: (0, smithy_client_1.limitedParseDouble)(output.loRoCenterMixLevel),
|
|
9484
|
+
LoRoSurroundMixLevel: (0, smithy_client_1.limitedParseDouble)(output.loRoSurroundMixLevel),
|
|
9485
|
+
LtRtCenterMixLevel: (0, smithy_client_1.limitedParseDouble)(output.ltRtCenterMixLevel),
|
|
9486
|
+
LtRtSurroundMixLevel: (0, smithy_client_1.limitedParseDouble)(output.ltRtSurroundMixLevel),
|
|
9487
|
+
MetadataControl: (0, smithy_client_1.expectString)(output.metadataControl),
|
|
9488
|
+
PassthroughControl: (0, smithy_client_1.expectString)(output.passthroughControl),
|
|
9489
|
+
PhaseControl: (0, smithy_client_1.expectString)(output.phaseControl),
|
|
9490
|
+
StereoDownmix: (0, smithy_client_1.expectString)(output.stereoDownmix),
|
|
9491
|
+
SurroundExMode: (0, smithy_client_1.expectString)(output.surroundExMode),
|
|
9492
|
+
SurroundMode: (0, smithy_client_1.expectString)(output.surroundMode),
|
|
9493
9493
|
};
|
|
9494
9494
|
};
|
|
9495
9495
|
const deserializeAws_restJson1EbuTtDDestinationSettings = (output, context) => {
|
|
9496
9496
|
return {
|
|
9497
|
-
CopyrightHolder: smithy_client_1.expectString(output.copyrightHolder),
|
|
9498
|
-
FillLineGap: smithy_client_1.expectString(output.fillLineGap),
|
|
9499
|
-
FontFamily: smithy_client_1.expectString(output.fontFamily),
|
|
9500
|
-
StyleControl: smithy_client_1.expectString(output.styleControl),
|
|
9497
|
+
CopyrightHolder: (0, smithy_client_1.expectString)(output.copyrightHolder),
|
|
9498
|
+
FillLineGap: (0, smithy_client_1.expectString)(output.fillLineGap),
|
|
9499
|
+
FontFamily: (0, smithy_client_1.expectString)(output.fontFamily),
|
|
9500
|
+
StyleControl: (0, smithy_client_1.expectString)(output.styleControl),
|
|
9501
9501
|
};
|
|
9502
9502
|
};
|
|
9503
9503
|
const deserializeAws_restJson1EmbeddedDestinationSettings = (output, context) => {
|
|
@@ -9508,10 +9508,10 @@ const deserializeAws_restJson1EmbeddedPlusScte20DestinationSettings = (output, c
|
|
|
9508
9508
|
};
|
|
9509
9509
|
const deserializeAws_restJson1EmbeddedSourceSettings = (output, context) => {
|
|
9510
9510
|
return {
|
|
9511
|
-
Convert608To708: smithy_client_1.expectString(output.convert608To708),
|
|
9512
|
-
Scte20Detection: smithy_client_1.expectString(output.scte20Detection),
|
|
9513
|
-
Source608ChannelNumber: smithy_client_1.expectInt32(output.source608ChannelNumber),
|
|
9514
|
-
Source608TrackNumber: smithy_client_1.expectInt32(output.source608TrackNumber),
|
|
9511
|
+
Convert608To708: (0, smithy_client_1.expectString)(output.convert608To708),
|
|
9512
|
+
Scte20Detection: (0, smithy_client_1.expectString)(output.scte20Detection),
|
|
9513
|
+
Source608ChannelNumber: (0, smithy_client_1.expectInt32)(output.source608ChannelNumber),
|
|
9514
|
+
Source608TrackNumber: (0, smithy_client_1.expectInt32)(output.source608TrackNumber),
|
|
9515
9515
|
};
|
|
9516
9516
|
};
|
|
9517
9517
|
const deserializeAws_restJson1EncoderSettings = (output, context) => {
|
|
@@ -9576,32 +9576,32 @@ const deserializeAws_restJson1FailoverConditionSettings = (output, context) => {
|
|
|
9576
9576
|
};
|
|
9577
9577
|
const deserializeAws_restJson1FeatureActivations = (output, context) => {
|
|
9578
9578
|
return {
|
|
9579
|
-
InputPrepareScheduleActions: smithy_client_1.expectString(output.inputPrepareScheduleActions),
|
|
9579
|
+
InputPrepareScheduleActions: (0, smithy_client_1.expectString)(output.inputPrepareScheduleActions),
|
|
9580
9580
|
};
|
|
9581
9581
|
};
|
|
9582
9582
|
const deserializeAws_restJson1FecOutputSettings = (output, context) => {
|
|
9583
9583
|
return {
|
|
9584
|
-
ColumnDepth: smithy_client_1.expectInt32(output.columnDepth),
|
|
9585
|
-
IncludeFec: smithy_client_1.expectString(output.includeFec),
|
|
9586
|
-
RowLength: smithy_client_1.expectInt32(output.rowLength),
|
|
9584
|
+
ColumnDepth: (0, smithy_client_1.expectInt32)(output.columnDepth),
|
|
9585
|
+
IncludeFec: (0, smithy_client_1.expectString)(output.includeFec),
|
|
9586
|
+
RowLength: (0, smithy_client_1.expectInt32)(output.rowLength),
|
|
9587
9587
|
};
|
|
9588
9588
|
};
|
|
9589
9589
|
const deserializeAws_restJson1FixedModeScheduleActionStartSettings = (output, context) => {
|
|
9590
9590
|
return {
|
|
9591
|
-
Time: smithy_client_1.expectString(output.time),
|
|
9591
|
+
Time: (0, smithy_client_1.expectString)(output.time),
|
|
9592
9592
|
};
|
|
9593
9593
|
};
|
|
9594
9594
|
const deserializeAws_restJson1Fmp4HlsSettings = (output, context) => {
|
|
9595
9595
|
return {
|
|
9596
|
-
AudioRenditionSets: smithy_client_1.expectString(output.audioRenditionSets),
|
|
9597
|
-
NielsenId3Behavior: smithy_client_1.expectString(output.nielsenId3Behavior),
|
|
9598
|
-
TimedMetadataBehavior: smithy_client_1.expectString(output.timedMetadataBehavior),
|
|
9596
|
+
AudioRenditionSets: (0, smithy_client_1.expectString)(output.audioRenditionSets),
|
|
9597
|
+
NielsenId3Behavior: (0, smithy_client_1.expectString)(output.nielsenId3Behavior),
|
|
9598
|
+
TimedMetadataBehavior: (0, smithy_client_1.expectString)(output.timedMetadataBehavior),
|
|
9599
9599
|
};
|
|
9600
9600
|
};
|
|
9601
9601
|
const deserializeAws_restJson1FollowModeScheduleActionStartSettings = (output, context) => {
|
|
9602
9602
|
return {
|
|
9603
|
-
FollowPoint: smithy_client_1.expectString(output.followPoint),
|
|
9604
|
-
ReferenceActionName: smithy_client_1.expectString(output.referenceActionName),
|
|
9603
|
+
FollowPoint: (0, smithy_client_1.expectString)(output.followPoint),
|
|
9604
|
+
ReferenceActionName: (0, smithy_client_1.expectString)(output.referenceActionName),
|
|
9605
9605
|
};
|
|
9606
9606
|
};
|
|
9607
9607
|
const deserializeAws_restJson1FrameCaptureCdnSettings = (output, context) => {
|
|
@@ -9626,30 +9626,30 @@ const deserializeAws_restJson1FrameCaptureHlsSettings = (output, context) => {
|
|
|
9626
9626
|
};
|
|
9627
9627
|
const deserializeAws_restJson1FrameCaptureOutputSettings = (output, context) => {
|
|
9628
9628
|
return {
|
|
9629
|
-
NameModifier: smithy_client_1.expectString(output.nameModifier),
|
|
9629
|
+
NameModifier: (0, smithy_client_1.expectString)(output.nameModifier),
|
|
9630
9630
|
};
|
|
9631
9631
|
};
|
|
9632
9632
|
const deserializeAws_restJson1FrameCaptureS3Settings = (output, context) => {
|
|
9633
9633
|
return {
|
|
9634
|
-
CannedAcl: smithy_client_1.expectString(output.cannedAcl),
|
|
9634
|
+
CannedAcl: (0, smithy_client_1.expectString)(output.cannedAcl),
|
|
9635
9635
|
};
|
|
9636
9636
|
};
|
|
9637
9637
|
const deserializeAws_restJson1FrameCaptureSettings = (output, context) => {
|
|
9638
9638
|
return {
|
|
9639
|
-
CaptureInterval: smithy_client_1.expectInt32(output.captureInterval),
|
|
9640
|
-
CaptureIntervalUnits: smithy_client_1.expectString(output.captureIntervalUnits),
|
|
9639
|
+
CaptureInterval: (0, smithy_client_1.expectInt32)(output.captureInterval),
|
|
9640
|
+
CaptureIntervalUnits: (0, smithy_client_1.expectString)(output.captureIntervalUnits),
|
|
9641
9641
|
};
|
|
9642
9642
|
};
|
|
9643
9643
|
const deserializeAws_restJson1GlobalConfiguration = (output, context) => {
|
|
9644
9644
|
return {
|
|
9645
|
-
InitialAudioGain: smithy_client_1.expectInt32(output.initialAudioGain),
|
|
9646
|
-
InputEndAction: smithy_client_1.expectString(output.inputEndAction),
|
|
9645
|
+
InitialAudioGain: (0, smithy_client_1.expectInt32)(output.initialAudioGain),
|
|
9646
|
+
InputEndAction: (0, smithy_client_1.expectString)(output.inputEndAction),
|
|
9647
9647
|
InputLossBehavior: output.inputLossBehavior !== undefined && output.inputLossBehavior !== null
|
|
9648
9648
|
? deserializeAws_restJson1InputLossBehavior(output.inputLossBehavior, context)
|
|
9649
9649
|
: undefined,
|
|
9650
|
-
OutputLockingMode: smithy_client_1.expectString(output.outputLockingMode),
|
|
9651
|
-
OutputTimingSource: smithy_client_1.expectString(output.outputTimingSource),
|
|
9652
|
-
SupportLowFramerateInputs: smithy_client_1.expectString(output.supportLowFramerateInputs),
|
|
9650
|
+
OutputLockingMode: (0, smithy_client_1.expectString)(output.outputLockingMode),
|
|
9651
|
+
OutputTimingSource: (0, smithy_client_1.expectString)(output.outputTimingSource),
|
|
9652
|
+
SupportLowFramerateInputs: (0, smithy_client_1.expectString)(output.supportLowFramerateInputs),
|
|
9653
9653
|
};
|
|
9654
9654
|
};
|
|
9655
9655
|
const deserializeAws_restJson1H264ColorSpaceSettings = (output, context) => {
|
|
@@ -9674,51 +9674,51 @@ const deserializeAws_restJson1H264FilterSettings = (output, context) => {
|
|
|
9674
9674
|
};
|
|
9675
9675
|
const deserializeAws_restJson1H264Settings = (output, context) => {
|
|
9676
9676
|
return {
|
|
9677
|
-
AdaptiveQuantization: smithy_client_1.expectString(output.adaptiveQuantization),
|
|
9678
|
-
AfdSignaling: smithy_client_1.expectString(output.afdSignaling),
|
|
9679
|
-
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
9680
|
-
BufFillPct: smithy_client_1.expectInt32(output.bufFillPct),
|
|
9681
|
-
BufSize: smithy_client_1.expectInt32(output.bufSize),
|
|
9682
|
-
ColorMetadata: smithy_client_1.expectString(output.colorMetadata),
|
|
9677
|
+
AdaptiveQuantization: (0, smithy_client_1.expectString)(output.adaptiveQuantization),
|
|
9678
|
+
AfdSignaling: (0, smithy_client_1.expectString)(output.afdSignaling),
|
|
9679
|
+
Bitrate: (0, smithy_client_1.expectInt32)(output.bitrate),
|
|
9680
|
+
BufFillPct: (0, smithy_client_1.expectInt32)(output.bufFillPct),
|
|
9681
|
+
BufSize: (0, smithy_client_1.expectInt32)(output.bufSize),
|
|
9682
|
+
ColorMetadata: (0, smithy_client_1.expectString)(output.colorMetadata),
|
|
9683
9683
|
ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
|
|
9684
9684
|
? deserializeAws_restJson1H264ColorSpaceSettings(output.colorSpaceSettings, context)
|
|
9685
9685
|
: undefined,
|
|
9686
|
-
EntropyEncoding: smithy_client_1.expectString(output.entropyEncoding),
|
|
9686
|
+
EntropyEncoding: (0, smithy_client_1.expectString)(output.entropyEncoding),
|
|
9687
9687
|
FilterSettings: output.filterSettings !== undefined && output.filterSettings !== null
|
|
9688
9688
|
? deserializeAws_restJson1H264FilterSettings(output.filterSettings, context)
|
|
9689
9689
|
: undefined,
|
|
9690
|
-
FixedAfd: smithy_client_1.expectString(output.fixedAfd),
|
|
9691
|
-
FlickerAq: smithy_client_1.expectString(output.flickerAq),
|
|
9692
|
-
ForceFieldPictures: smithy_client_1.expectString(output.forceFieldPictures),
|
|
9693
|
-
FramerateControl: smithy_client_1.expectString(output.framerateControl),
|
|
9694
|
-
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
9695
|
-
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
9696
|
-
GopBReference: smithy_client_1.expectString(output.gopBReference),
|
|
9697
|
-
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
9698
|
-
GopNumBFrames: smithy_client_1.expectInt32(output.gopNumBFrames),
|
|
9699
|
-
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
9700
|
-
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
9701
|
-
Level: smithy_client_1.expectString(output.level),
|
|
9702
|
-
LookAheadRateControl: smithy_client_1.expectString(output.lookAheadRateControl),
|
|
9703
|
-
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
9704
|
-
MinIInterval: smithy_client_1.expectInt32(output.minIInterval),
|
|
9705
|
-
NumRefFrames: smithy_client_1.expectInt32(output.numRefFrames),
|
|
9706
|
-
ParControl: smithy_client_1.expectString(output.parControl),
|
|
9707
|
-
ParDenominator: smithy_client_1.expectInt32(output.parDenominator),
|
|
9708
|
-
ParNumerator: smithy_client_1.expectInt32(output.parNumerator),
|
|
9709
|
-
Profile: smithy_client_1.expectString(output.profile),
|
|
9710
|
-
QualityLevel: smithy_client_1.expectString(output.qualityLevel),
|
|
9711
|
-
QvbrQualityLevel: smithy_client_1.expectInt32(output.qvbrQualityLevel),
|
|
9712
|
-
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
9713
|
-
ScanType: smithy_client_1.expectString(output.scanType),
|
|
9714
|
-
SceneChangeDetect: smithy_client_1.expectString(output.sceneChangeDetect),
|
|
9715
|
-
Slices: smithy_client_1.expectInt32(output.slices),
|
|
9716
|
-
Softness: smithy_client_1.expectInt32(output.softness),
|
|
9717
|
-
SpatialAq: smithy_client_1.expectString(output.spatialAq),
|
|
9718
|
-
SubgopLength: smithy_client_1.expectString(output.subgopLength),
|
|
9719
|
-
Syntax: smithy_client_1.expectString(output.syntax),
|
|
9720
|
-
TemporalAq: smithy_client_1.expectString(output.temporalAq),
|
|
9721
|
-
TimecodeInsertion: smithy_client_1.expectString(output.timecodeInsertion),
|
|
9690
|
+
FixedAfd: (0, smithy_client_1.expectString)(output.fixedAfd),
|
|
9691
|
+
FlickerAq: (0, smithy_client_1.expectString)(output.flickerAq),
|
|
9692
|
+
ForceFieldPictures: (0, smithy_client_1.expectString)(output.forceFieldPictures),
|
|
9693
|
+
FramerateControl: (0, smithy_client_1.expectString)(output.framerateControl),
|
|
9694
|
+
FramerateDenominator: (0, smithy_client_1.expectInt32)(output.framerateDenominator),
|
|
9695
|
+
FramerateNumerator: (0, smithy_client_1.expectInt32)(output.framerateNumerator),
|
|
9696
|
+
GopBReference: (0, smithy_client_1.expectString)(output.gopBReference),
|
|
9697
|
+
GopClosedCadence: (0, smithy_client_1.expectInt32)(output.gopClosedCadence),
|
|
9698
|
+
GopNumBFrames: (0, smithy_client_1.expectInt32)(output.gopNumBFrames),
|
|
9699
|
+
GopSize: (0, smithy_client_1.limitedParseDouble)(output.gopSize),
|
|
9700
|
+
GopSizeUnits: (0, smithy_client_1.expectString)(output.gopSizeUnits),
|
|
9701
|
+
Level: (0, smithy_client_1.expectString)(output.level),
|
|
9702
|
+
LookAheadRateControl: (0, smithy_client_1.expectString)(output.lookAheadRateControl),
|
|
9703
|
+
MaxBitrate: (0, smithy_client_1.expectInt32)(output.maxBitrate),
|
|
9704
|
+
MinIInterval: (0, smithy_client_1.expectInt32)(output.minIInterval),
|
|
9705
|
+
NumRefFrames: (0, smithy_client_1.expectInt32)(output.numRefFrames),
|
|
9706
|
+
ParControl: (0, smithy_client_1.expectString)(output.parControl),
|
|
9707
|
+
ParDenominator: (0, smithy_client_1.expectInt32)(output.parDenominator),
|
|
9708
|
+
ParNumerator: (0, smithy_client_1.expectInt32)(output.parNumerator),
|
|
9709
|
+
Profile: (0, smithy_client_1.expectString)(output.profile),
|
|
9710
|
+
QualityLevel: (0, smithy_client_1.expectString)(output.qualityLevel),
|
|
9711
|
+
QvbrQualityLevel: (0, smithy_client_1.expectInt32)(output.qvbrQualityLevel),
|
|
9712
|
+
RateControlMode: (0, smithy_client_1.expectString)(output.rateControlMode),
|
|
9713
|
+
ScanType: (0, smithy_client_1.expectString)(output.scanType),
|
|
9714
|
+
SceneChangeDetect: (0, smithy_client_1.expectString)(output.sceneChangeDetect),
|
|
9715
|
+
Slices: (0, smithy_client_1.expectInt32)(output.slices),
|
|
9716
|
+
Softness: (0, smithy_client_1.expectInt32)(output.softness),
|
|
9717
|
+
SpatialAq: (0, smithy_client_1.expectString)(output.spatialAq),
|
|
9718
|
+
SubgopLength: (0, smithy_client_1.expectString)(output.subgopLength),
|
|
9719
|
+
Syntax: (0, smithy_client_1.expectString)(output.syntax),
|
|
9720
|
+
TemporalAq: (0, smithy_client_1.expectString)(output.temporalAq),
|
|
9721
|
+
TimecodeInsertion: (0, smithy_client_1.expectString)(output.timecodeInsertion),
|
|
9722
9722
|
};
|
|
9723
9723
|
};
|
|
9724
9724
|
const deserializeAws_restJson1H265ColorSpaceSettings = (output, context) => {
|
|
@@ -9746,64 +9746,64 @@ const deserializeAws_restJson1H265FilterSettings = (output, context) => {
|
|
|
9746
9746
|
};
|
|
9747
9747
|
const deserializeAws_restJson1H265Settings = (output, context) => {
|
|
9748
9748
|
return {
|
|
9749
|
-
AdaptiveQuantization: smithy_client_1.expectString(output.adaptiveQuantization),
|
|
9750
|
-
AfdSignaling: smithy_client_1.expectString(output.afdSignaling),
|
|
9751
|
-
AlternativeTransferFunction: smithy_client_1.expectString(output.alternativeTransferFunction),
|
|
9752
|
-
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
9753
|
-
BufSize: smithy_client_1.expectInt32(output.bufSize),
|
|
9754
|
-
ColorMetadata: smithy_client_1.expectString(output.colorMetadata),
|
|
9749
|
+
AdaptiveQuantization: (0, smithy_client_1.expectString)(output.adaptiveQuantization),
|
|
9750
|
+
AfdSignaling: (0, smithy_client_1.expectString)(output.afdSignaling),
|
|
9751
|
+
AlternativeTransferFunction: (0, smithy_client_1.expectString)(output.alternativeTransferFunction),
|
|
9752
|
+
Bitrate: (0, smithy_client_1.expectInt32)(output.bitrate),
|
|
9753
|
+
BufSize: (0, smithy_client_1.expectInt32)(output.bufSize),
|
|
9754
|
+
ColorMetadata: (0, smithy_client_1.expectString)(output.colorMetadata),
|
|
9755
9755
|
ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
|
|
9756
9756
|
? deserializeAws_restJson1H265ColorSpaceSettings(output.colorSpaceSettings, context)
|
|
9757
9757
|
: undefined,
|
|
9758
9758
|
FilterSettings: output.filterSettings !== undefined && output.filterSettings !== null
|
|
9759
9759
|
? deserializeAws_restJson1H265FilterSettings(output.filterSettings, context)
|
|
9760
9760
|
: undefined,
|
|
9761
|
-
FixedAfd: smithy_client_1.expectString(output.fixedAfd),
|
|
9762
|
-
FlickerAq: smithy_client_1.expectString(output.flickerAq),
|
|
9763
|
-
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
9764
|
-
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
9765
|
-
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
9766
|
-
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
9767
|
-
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
9768
|
-
Level: smithy_client_1.expectString(output.level),
|
|
9769
|
-
LookAheadRateControl: smithy_client_1.expectString(output.lookAheadRateControl),
|
|
9770
|
-
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
9771
|
-
MinIInterval: smithy_client_1.expectInt32(output.minIInterval),
|
|
9772
|
-
ParDenominator: smithy_client_1.expectInt32(output.parDenominator),
|
|
9773
|
-
ParNumerator: smithy_client_1.expectInt32(output.parNumerator),
|
|
9774
|
-
Profile: smithy_client_1.expectString(output.profile),
|
|
9775
|
-
QvbrQualityLevel: smithy_client_1.expectInt32(output.qvbrQualityLevel),
|
|
9776
|
-
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
9777
|
-
ScanType: smithy_client_1.expectString(output.scanType),
|
|
9778
|
-
SceneChangeDetect: smithy_client_1.expectString(output.sceneChangeDetect),
|
|
9779
|
-
Slices: smithy_client_1.expectInt32(output.slices),
|
|
9780
|
-
Tier: smithy_client_1.expectString(output.tier),
|
|
9781
|
-
TimecodeInsertion: smithy_client_1.expectString(output.timecodeInsertion),
|
|
9761
|
+
FixedAfd: (0, smithy_client_1.expectString)(output.fixedAfd),
|
|
9762
|
+
FlickerAq: (0, smithy_client_1.expectString)(output.flickerAq),
|
|
9763
|
+
FramerateDenominator: (0, smithy_client_1.expectInt32)(output.framerateDenominator),
|
|
9764
|
+
FramerateNumerator: (0, smithy_client_1.expectInt32)(output.framerateNumerator),
|
|
9765
|
+
GopClosedCadence: (0, smithy_client_1.expectInt32)(output.gopClosedCadence),
|
|
9766
|
+
GopSize: (0, smithy_client_1.limitedParseDouble)(output.gopSize),
|
|
9767
|
+
GopSizeUnits: (0, smithy_client_1.expectString)(output.gopSizeUnits),
|
|
9768
|
+
Level: (0, smithy_client_1.expectString)(output.level),
|
|
9769
|
+
LookAheadRateControl: (0, smithy_client_1.expectString)(output.lookAheadRateControl),
|
|
9770
|
+
MaxBitrate: (0, smithy_client_1.expectInt32)(output.maxBitrate),
|
|
9771
|
+
MinIInterval: (0, smithy_client_1.expectInt32)(output.minIInterval),
|
|
9772
|
+
ParDenominator: (0, smithy_client_1.expectInt32)(output.parDenominator),
|
|
9773
|
+
ParNumerator: (0, smithy_client_1.expectInt32)(output.parNumerator),
|
|
9774
|
+
Profile: (0, smithy_client_1.expectString)(output.profile),
|
|
9775
|
+
QvbrQualityLevel: (0, smithy_client_1.expectInt32)(output.qvbrQualityLevel),
|
|
9776
|
+
RateControlMode: (0, smithy_client_1.expectString)(output.rateControlMode),
|
|
9777
|
+
ScanType: (0, smithy_client_1.expectString)(output.scanType),
|
|
9778
|
+
SceneChangeDetect: (0, smithy_client_1.expectString)(output.sceneChangeDetect),
|
|
9779
|
+
Slices: (0, smithy_client_1.expectInt32)(output.slices),
|
|
9780
|
+
Tier: (0, smithy_client_1.expectString)(output.tier),
|
|
9781
|
+
TimecodeInsertion: (0, smithy_client_1.expectString)(output.timecodeInsertion),
|
|
9782
9782
|
};
|
|
9783
9783
|
};
|
|
9784
9784
|
const deserializeAws_restJson1Hdr10Settings = (output, context) => {
|
|
9785
9785
|
return {
|
|
9786
|
-
MaxCll: smithy_client_1.expectInt32(output.maxCll),
|
|
9787
|
-
MaxFall: smithy_client_1.expectInt32(output.maxFall),
|
|
9786
|
+
MaxCll: (0, smithy_client_1.expectInt32)(output.maxCll),
|
|
9787
|
+
MaxFall: (0, smithy_client_1.expectInt32)(output.maxFall),
|
|
9788
9788
|
};
|
|
9789
9789
|
};
|
|
9790
9790
|
const deserializeAws_restJson1HlsAkamaiSettings = (output, context) => {
|
|
9791
9791
|
return {
|
|
9792
|
-
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
9793
|
-
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
9794
|
-
HttpTransferMode: smithy_client_1.expectString(output.httpTransferMode),
|
|
9795
|
-
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
9796
|
-
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
9797
|
-
Salt: smithy_client_1.expectString(output.salt),
|
|
9798
|
-
Token: smithy_client_1.expectString(output.token),
|
|
9792
|
+
ConnectionRetryInterval: (0, smithy_client_1.expectInt32)(output.connectionRetryInterval),
|
|
9793
|
+
FilecacheDuration: (0, smithy_client_1.expectInt32)(output.filecacheDuration),
|
|
9794
|
+
HttpTransferMode: (0, smithy_client_1.expectString)(output.httpTransferMode),
|
|
9795
|
+
NumRetries: (0, smithy_client_1.expectInt32)(output.numRetries),
|
|
9796
|
+
RestartDelay: (0, smithy_client_1.expectInt32)(output.restartDelay),
|
|
9797
|
+
Salt: (0, smithy_client_1.expectString)(output.salt),
|
|
9798
|
+
Token: (0, smithy_client_1.expectString)(output.token),
|
|
9799
9799
|
};
|
|
9800
9800
|
};
|
|
9801
9801
|
const deserializeAws_restJson1HlsBasicPutSettings = (output, context) => {
|
|
9802
9802
|
return {
|
|
9803
|
-
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
9804
|
-
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
9805
|
-
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
9806
|
-
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
9803
|
+
ConnectionRetryInterval: (0, smithy_client_1.expectInt32)(output.connectionRetryInterval),
|
|
9804
|
+
FilecacheDuration: (0, smithy_client_1.expectInt32)(output.filecacheDuration),
|
|
9805
|
+
NumRetries: (0, smithy_client_1.expectInt32)(output.numRetries),
|
|
9806
|
+
RestartDelay: (0, smithy_client_1.expectInt32)(output.restartDelay),
|
|
9807
9807
|
};
|
|
9808
9808
|
};
|
|
9809
9809
|
const deserializeAws_restJson1HlsCdnSettings = (output, context) => {
|
|
@@ -9830,94 +9830,94 @@ const deserializeAws_restJson1HlsGroupSettings = (output, context) => {
|
|
|
9830
9830
|
AdMarkers: output.adMarkers !== undefined && output.adMarkers !== null
|
|
9831
9831
|
? deserializeAws_restJson1__listOfHlsAdMarkers(output.adMarkers, context)
|
|
9832
9832
|
: undefined,
|
|
9833
|
-
BaseUrlContent: smithy_client_1.expectString(output.baseUrlContent),
|
|
9834
|
-
BaseUrlContent1: smithy_client_1.expectString(output.baseUrlContent1),
|
|
9835
|
-
BaseUrlManifest: smithy_client_1.expectString(output.baseUrlManifest),
|
|
9836
|
-
BaseUrlManifest1: smithy_client_1.expectString(output.baseUrlManifest1),
|
|
9833
|
+
BaseUrlContent: (0, smithy_client_1.expectString)(output.baseUrlContent),
|
|
9834
|
+
BaseUrlContent1: (0, smithy_client_1.expectString)(output.baseUrlContent1),
|
|
9835
|
+
BaseUrlManifest: (0, smithy_client_1.expectString)(output.baseUrlManifest),
|
|
9836
|
+
BaseUrlManifest1: (0, smithy_client_1.expectString)(output.baseUrlManifest1),
|
|
9837
9837
|
CaptionLanguageMappings: output.captionLanguageMappings !== undefined && output.captionLanguageMappings !== null
|
|
9838
9838
|
? deserializeAws_restJson1__listOfCaptionLanguageMapping(output.captionLanguageMappings, context)
|
|
9839
9839
|
: undefined,
|
|
9840
|
-
CaptionLanguageSetting: smithy_client_1.expectString(output.captionLanguageSetting),
|
|
9841
|
-
ClientCache: smithy_client_1.expectString(output.clientCache),
|
|
9842
|
-
CodecSpecification: smithy_client_1.expectString(output.codecSpecification),
|
|
9843
|
-
ConstantIv: smithy_client_1.expectString(output.constantIv),
|
|
9840
|
+
CaptionLanguageSetting: (0, smithy_client_1.expectString)(output.captionLanguageSetting),
|
|
9841
|
+
ClientCache: (0, smithy_client_1.expectString)(output.clientCache),
|
|
9842
|
+
CodecSpecification: (0, smithy_client_1.expectString)(output.codecSpecification),
|
|
9843
|
+
ConstantIv: (0, smithy_client_1.expectString)(output.constantIv),
|
|
9844
9844
|
Destination: output.destination !== undefined && output.destination !== null
|
|
9845
9845
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
9846
9846
|
: undefined,
|
|
9847
|
-
DirectoryStructure: smithy_client_1.expectString(output.directoryStructure),
|
|
9848
|
-
DiscontinuityTags: smithy_client_1.expectString(output.discontinuityTags),
|
|
9849
|
-
EncryptionType: smithy_client_1.expectString(output.encryptionType),
|
|
9847
|
+
DirectoryStructure: (0, smithy_client_1.expectString)(output.directoryStructure),
|
|
9848
|
+
DiscontinuityTags: (0, smithy_client_1.expectString)(output.discontinuityTags),
|
|
9849
|
+
EncryptionType: (0, smithy_client_1.expectString)(output.encryptionType),
|
|
9850
9850
|
HlsCdnSettings: output.hlsCdnSettings !== undefined && output.hlsCdnSettings !== null
|
|
9851
9851
|
? deserializeAws_restJson1HlsCdnSettings(output.hlsCdnSettings, context)
|
|
9852
9852
|
: undefined,
|
|
9853
|
-
HlsId3SegmentTagging: smithy_client_1.expectString(output.hlsId3SegmentTagging),
|
|
9854
|
-
IFrameOnlyPlaylists: smithy_client_1.expectString(output.iFrameOnlyPlaylists),
|
|
9855
|
-
IncompleteSegmentBehavior: smithy_client_1.expectString(output.incompleteSegmentBehavior),
|
|
9856
|
-
IndexNSegments: smithy_client_1.expectInt32(output.indexNSegments),
|
|
9857
|
-
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
9858
|
-
IvInManifest: smithy_client_1.expectString(output.ivInManifest),
|
|
9859
|
-
IvSource: smithy_client_1.expectString(output.ivSource),
|
|
9860
|
-
KeepSegments: smithy_client_1.expectInt32(output.keepSegments),
|
|
9861
|
-
KeyFormat: smithy_client_1.expectString(output.keyFormat),
|
|
9862
|
-
KeyFormatVersions: smithy_client_1.expectString(output.keyFormatVersions),
|
|
9853
|
+
HlsId3SegmentTagging: (0, smithy_client_1.expectString)(output.hlsId3SegmentTagging),
|
|
9854
|
+
IFrameOnlyPlaylists: (0, smithy_client_1.expectString)(output.iFrameOnlyPlaylists),
|
|
9855
|
+
IncompleteSegmentBehavior: (0, smithy_client_1.expectString)(output.incompleteSegmentBehavior),
|
|
9856
|
+
IndexNSegments: (0, smithy_client_1.expectInt32)(output.indexNSegments),
|
|
9857
|
+
InputLossAction: (0, smithy_client_1.expectString)(output.inputLossAction),
|
|
9858
|
+
IvInManifest: (0, smithy_client_1.expectString)(output.ivInManifest),
|
|
9859
|
+
IvSource: (0, smithy_client_1.expectString)(output.ivSource),
|
|
9860
|
+
KeepSegments: (0, smithy_client_1.expectInt32)(output.keepSegments),
|
|
9861
|
+
KeyFormat: (0, smithy_client_1.expectString)(output.keyFormat),
|
|
9862
|
+
KeyFormatVersions: (0, smithy_client_1.expectString)(output.keyFormatVersions),
|
|
9863
9863
|
KeyProviderSettings: output.keyProviderSettings !== undefined && output.keyProviderSettings !== null
|
|
9864
9864
|
? deserializeAws_restJson1KeyProviderSettings(output.keyProviderSettings, context)
|
|
9865
9865
|
: undefined,
|
|
9866
|
-
ManifestCompression: smithy_client_1.expectString(output.manifestCompression),
|
|
9867
|
-
ManifestDurationFormat: smithy_client_1.expectString(output.manifestDurationFormat),
|
|
9868
|
-
MinSegmentLength: smithy_client_1.expectInt32(output.minSegmentLength),
|
|
9869
|
-
Mode: smithy_client_1.expectString(output.mode),
|
|
9870
|
-
OutputSelection: smithy_client_1.expectString(output.outputSelection),
|
|
9871
|
-
ProgramDateTime: smithy_client_1.expectString(output.programDateTime),
|
|
9872
|
-
ProgramDateTimeClock: smithy_client_1.expectString(output.programDateTimeClock),
|
|
9873
|
-
ProgramDateTimePeriod: smithy_client_1.expectInt32(output.programDateTimePeriod),
|
|
9874
|
-
RedundantManifest: smithy_client_1.expectString(output.redundantManifest),
|
|
9875
|
-
SegmentLength: smithy_client_1.expectInt32(output.segmentLength),
|
|
9876
|
-
SegmentationMode: smithy_client_1.expectString(output.segmentationMode),
|
|
9877
|
-
SegmentsPerSubdirectory: smithy_client_1.expectInt32(output.segmentsPerSubdirectory),
|
|
9878
|
-
StreamInfResolution: smithy_client_1.expectString(output.streamInfResolution),
|
|
9879
|
-
TimedMetadataId3Frame: smithy_client_1.expectString(output.timedMetadataId3Frame),
|
|
9880
|
-
TimedMetadataId3Period: smithy_client_1.expectInt32(output.timedMetadataId3Period),
|
|
9881
|
-
TimestampDeltaMilliseconds: smithy_client_1.expectInt32(output.timestampDeltaMilliseconds),
|
|
9882
|
-
TsFileMode: smithy_client_1.expectString(output.tsFileMode),
|
|
9866
|
+
ManifestCompression: (0, smithy_client_1.expectString)(output.manifestCompression),
|
|
9867
|
+
ManifestDurationFormat: (0, smithy_client_1.expectString)(output.manifestDurationFormat),
|
|
9868
|
+
MinSegmentLength: (0, smithy_client_1.expectInt32)(output.minSegmentLength),
|
|
9869
|
+
Mode: (0, smithy_client_1.expectString)(output.mode),
|
|
9870
|
+
OutputSelection: (0, smithy_client_1.expectString)(output.outputSelection),
|
|
9871
|
+
ProgramDateTime: (0, smithy_client_1.expectString)(output.programDateTime),
|
|
9872
|
+
ProgramDateTimeClock: (0, smithy_client_1.expectString)(output.programDateTimeClock),
|
|
9873
|
+
ProgramDateTimePeriod: (0, smithy_client_1.expectInt32)(output.programDateTimePeriod),
|
|
9874
|
+
RedundantManifest: (0, smithy_client_1.expectString)(output.redundantManifest),
|
|
9875
|
+
SegmentLength: (0, smithy_client_1.expectInt32)(output.segmentLength),
|
|
9876
|
+
SegmentationMode: (0, smithy_client_1.expectString)(output.segmentationMode),
|
|
9877
|
+
SegmentsPerSubdirectory: (0, smithy_client_1.expectInt32)(output.segmentsPerSubdirectory),
|
|
9878
|
+
StreamInfResolution: (0, smithy_client_1.expectString)(output.streamInfResolution),
|
|
9879
|
+
TimedMetadataId3Frame: (0, smithy_client_1.expectString)(output.timedMetadataId3Frame),
|
|
9880
|
+
TimedMetadataId3Period: (0, smithy_client_1.expectInt32)(output.timedMetadataId3Period),
|
|
9881
|
+
TimestampDeltaMilliseconds: (0, smithy_client_1.expectInt32)(output.timestampDeltaMilliseconds),
|
|
9882
|
+
TsFileMode: (0, smithy_client_1.expectString)(output.tsFileMode),
|
|
9883
9883
|
};
|
|
9884
9884
|
};
|
|
9885
9885
|
const deserializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = (output, context) => {
|
|
9886
9886
|
return {
|
|
9887
|
-
Tag: smithy_client_1.expectString(output.tag),
|
|
9887
|
+
Tag: (0, smithy_client_1.expectString)(output.tag),
|
|
9888
9888
|
};
|
|
9889
9889
|
};
|
|
9890
9890
|
const deserializeAws_restJson1HlsInputSettings = (output, context) => {
|
|
9891
9891
|
return {
|
|
9892
|
-
Bandwidth: smithy_client_1.expectInt32(output.bandwidth),
|
|
9893
|
-
BufferSegments: smithy_client_1.expectInt32(output.bufferSegments),
|
|
9894
|
-
Retries: smithy_client_1.expectInt32(output.retries),
|
|
9895
|
-
RetryInterval: smithy_client_1.expectInt32(output.retryInterval),
|
|
9896
|
-
Scte35Source: smithy_client_1.expectString(output.scte35Source),
|
|
9892
|
+
Bandwidth: (0, smithy_client_1.expectInt32)(output.bandwidth),
|
|
9893
|
+
BufferSegments: (0, smithy_client_1.expectInt32)(output.bufferSegments),
|
|
9894
|
+
Retries: (0, smithy_client_1.expectInt32)(output.retries),
|
|
9895
|
+
RetryInterval: (0, smithy_client_1.expectInt32)(output.retryInterval),
|
|
9896
|
+
Scte35Source: (0, smithy_client_1.expectString)(output.scte35Source),
|
|
9897
9897
|
};
|
|
9898
9898
|
};
|
|
9899
9899
|
const deserializeAws_restJson1HlsMediaStoreSettings = (output, context) => {
|
|
9900
9900
|
return {
|
|
9901
|
-
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
9902
|
-
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
9903
|
-
MediaStoreStorageClass: smithy_client_1.expectString(output.mediaStoreStorageClass),
|
|
9904
|
-
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
9905
|
-
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
9901
|
+
ConnectionRetryInterval: (0, smithy_client_1.expectInt32)(output.connectionRetryInterval),
|
|
9902
|
+
FilecacheDuration: (0, smithy_client_1.expectInt32)(output.filecacheDuration),
|
|
9903
|
+
MediaStoreStorageClass: (0, smithy_client_1.expectString)(output.mediaStoreStorageClass),
|
|
9904
|
+
NumRetries: (0, smithy_client_1.expectInt32)(output.numRetries),
|
|
9905
|
+
RestartDelay: (0, smithy_client_1.expectInt32)(output.restartDelay),
|
|
9906
9906
|
};
|
|
9907
9907
|
};
|
|
9908
9908
|
const deserializeAws_restJson1HlsOutputSettings = (output, context) => {
|
|
9909
9909
|
return {
|
|
9910
|
-
H265PackagingType: smithy_client_1.expectString(output.h265PackagingType),
|
|
9910
|
+
H265PackagingType: (0, smithy_client_1.expectString)(output.h265PackagingType),
|
|
9911
9911
|
HlsSettings: output.hlsSettings !== undefined && output.hlsSettings !== null
|
|
9912
9912
|
? deserializeAws_restJson1HlsSettings(output.hlsSettings, context)
|
|
9913
9913
|
: undefined,
|
|
9914
|
-
NameModifier: smithy_client_1.expectString(output.nameModifier),
|
|
9915
|
-
SegmentModifier: smithy_client_1.expectString(output.segmentModifier),
|
|
9914
|
+
NameModifier: (0, smithy_client_1.expectString)(output.nameModifier),
|
|
9915
|
+
SegmentModifier: (0, smithy_client_1.expectString)(output.segmentModifier),
|
|
9916
9916
|
};
|
|
9917
9917
|
};
|
|
9918
9918
|
const deserializeAws_restJson1HlsS3Settings = (output, context) => {
|
|
9919
9919
|
return {
|
|
9920
|
-
CannedAcl: smithy_client_1.expectString(output.cannedAcl),
|
|
9920
|
+
CannedAcl: (0, smithy_client_1.expectString)(output.cannedAcl),
|
|
9921
9921
|
};
|
|
9922
9922
|
};
|
|
9923
9923
|
const deserializeAws_restJson1HlsSettings = (output, context) => {
|
|
@@ -9938,16 +9938,16 @@ const deserializeAws_restJson1HlsSettings = (output, context) => {
|
|
|
9938
9938
|
};
|
|
9939
9939
|
const deserializeAws_restJson1HlsTimedMetadataScheduleActionSettings = (output, context) => {
|
|
9940
9940
|
return {
|
|
9941
|
-
Id3: smithy_client_1.expectString(output.id3),
|
|
9941
|
+
Id3: (0, smithy_client_1.expectString)(output.id3),
|
|
9942
9942
|
};
|
|
9943
9943
|
};
|
|
9944
9944
|
const deserializeAws_restJson1HlsWebdavSettings = (output, context) => {
|
|
9945
9945
|
return {
|
|
9946
|
-
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
9947
|
-
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
9948
|
-
HttpTransferMode: smithy_client_1.expectString(output.httpTransferMode),
|
|
9949
|
-
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
9950
|
-
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
9946
|
+
ConnectionRetryInterval: (0, smithy_client_1.expectInt32)(output.connectionRetryInterval),
|
|
9947
|
+
FilecacheDuration: (0, smithy_client_1.expectInt32)(output.filecacheDuration),
|
|
9948
|
+
HttpTransferMode: (0, smithy_client_1.expectString)(output.httpTransferMode),
|
|
9949
|
+
NumRetries: (0, smithy_client_1.expectInt32)(output.numRetries),
|
|
9950
|
+
RestartDelay: (0, smithy_client_1.expectInt32)(output.restartDelay),
|
|
9951
9951
|
};
|
|
9952
9952
|
};
|
|
9953
9953
|
const deserializeAws_restJson1HtmlMotionGraphicsSettings = (output, context) => {
|
|
@@ -9958,38 +9958,38 @@ const deserializeAws_restJson1ImmediateModeScheduleActionStartSettings = (output
|
|
|
9958
9958
|
};
|
|
9959
9959
|
const deserializeAws_restJson1Input = (output, context) => {
|
|
9960
9960
|
return {
|
|
9961
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
9961
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
9962
9962
|
AttachedChannels: output.attachedChannels !== undefined && output.attachedChannels !== null
|
|
9963
9963
|
? deserializeAws_restJson1__listOf__string(output.attachedChannels, context)
|
|
9964
9964
|
: undefined,
|
|
9965
9965
|
Destinations: output.destinations !== undefined && output.destinations !== null
|
|
9966
9966
|
? deserializeAws_restJson1__listOfInputDestination(output.destinations, context)
|
|
9967
9967
|
: undefined,
|
|
9968
|
-
Id: smithy_client_1.expectString(output.id),
|
|
9969
|
-
InputClass: smithy_client_1.expectString(output.inputClass),
|
|
9968
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
9969
|
+
InputClass: (0, smithy_client_1.expectString)(output.inputClass),
|
|
9970
9970
|
InputDevices: output.inputDevices !== undefined && output.inputDevices !== null
|
|
9971
9971
|
? deserializeAws_restJson1__listOfInputDeviceSettings(output.inputDevices, context)
|
|
9972
9972
|
: undefined,
|
|
9973
9973
|
InputPartnerIds: output.inputPartnerIds !== undefined && output.inputPartnerIds !== null
|
|
9974
9974
|
? deserializeAws_restJson1__listOf__string(output.inputPartnerIds, context)
|
|
9975
9975
|
: undefined,
|
|
9976
|
-
InputSourceType: smithy_client_1.expectString(output.inputSourceType),
|
|
9976
|
+
InputSourceType: (0, smithy_client_1.expectString)(output.inputSourceType),
|
|
9977
9977
|
MediaConnectFlows: output.mediaConnectFlows !== undefined && output.mediaConnectFlows !== null
|
|
9978
9978
|
? deserializeAws_restJson1__listOfMediaConnectFlow(output.mediaConnectFlows, context)
|
|
9979
9979
|
: undefined,
|
|
9980
|
-
Name: smithy_client_1.expectString(output.name),
|
|
9981
|
-
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
9980
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
9981
|
+
RoleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
9982
9982
|
SecurityGroups: output.securityGroups !== undefined && output.securityGroups !== null
|
|
9983
9983
|
? deserializeAws_restJson1__listOf__string(output.securityGroups, context)
|
|
9984
9984
|
: undefined,
|
|
9985
9985
|
Sources: output.sources !== undefined && output.sources !== null
|
|
9986
9986
|
? deserializeAws_restJson1__listOfInputSource(output.sources, context)
|
|
9987
9987
|
: undefined,
|
|
9988
|
-
State: smithy_client_1.expectString(output.state),
|
|
9988
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
9989
9989
|
Tags: output.tags !== undefined && output.tags !== null
|
|
9990
9990
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
9991
9991
|
: undefined,
|
|
9992
|
-
Type: smithy_client_1.expectString(output.type),
|
|
9992
|
+
Type: (0, smithy_client_1.expectString)(output.type),
|
|
9993
9993
|
};
|
|
9994
9994
|
};
|
|
9995
9995
|
const deserializeAws_restJson1InputAttachment = (output, context) => {
|
|
@@ -9997,8 +9997,8 @@ const deserializeAws_restJson1InputAttachment = (output, context) => {
|
|
|
9997
9997
|
AutomaticInputFailoverSettings: output.automaticInputFailoverSettings !== undefined && output.automaticInputFailoverSettings !== null
|
|
9998
9998
|
? deserializeAws_restJson1AutomaticInputFailoverSettings(output.automaticInputFailoverSettings, context)
|
|
9999
9999
|
: undefined,
|
|
10000
|
-
InputAttachmentName: smithy_client_1.expectString(output.inputAttachmentName),
|
|
10001
|
-
InputId: smithy_client_1.expectString(output.inputId),
|
|
10000
|
+
InputAttachmentName: (0, smithy_client_1.expectString)(output.inputAttachmentName),
|
|
10001
|
+
InputId: (0, smithy_client_1.expectString)(output.inputId),
|
|
10002
10002
|
InputSettings: output.inputSettings !== undefined && output.inputSettings !== null
|
|
10003
10003
|
? deserializeAws_restJson1InputSettings(output.inputSettings, context)
|
|
10004
10004
|
: undefined,
|
|
@@ -10006,13 +10006,13 @@ const deserializeAws_restJson1InputAttachment = (output, context) => {
|
|
|
10006
10006
|
};
|
|
10007
10007
|
const deserializeAws_restJson1InputChannelLevel = (output, context) => {
|
|
10008
10008
|
return {
|
|
10009
|
-
Gain: smithy_client_1.expectInt32(output.gain),
|
|
10010
|
-
InputChannel: smithy_client_1.expectInt32(output.inputChannel),
|
|
10009
|
+
Gain: (0, smithy_client_1.expectInt32)(output.gain),
|
|
10010
|
+
InputChannel: (0, smithy_client_1.expectInt32)(output.inputChannel),
|
|
10011
10011
|
};
|
|
10012
10012
|
};
|
|
10013
10013
|
const deserializeAws_restJson1InputClippingSettings = (output, context) => {
|
|
10014
10014
|
return {
|
|
10015
|
-
InputTimecodeSource: smithy_client_1.expectString(output.inputTimecodeSource),
|
|
10015
|
+
InputTimecodeSource: (0, smithy_client_1.expectString)(output.inputTimecodeSource),
|
|
10016
10016
|
StartTimecode: output.startTimecode !== undefined && output.startTimecode !== null
|
|
10017
10017
|
? deserializeAws_restJson1StartTimecode(output.startTimecode, context)
|
|
10018
10018
|
: undefined,
|
|
@@ -10023,9 +10023,9 @@ const deserializeAws_restJson1InputClippingSettings = (output, context) => {
|
|
|
10023
10023
|
};
|
|
10024
10024
|
const deserializeAws_restJson1InputDestination = (output, context) => {
|
|
10025
10025
|
return {
|
|
10026
|
-
Ip: smithy_client_1.expectString(output.ip),
|
|
10027
|
-
Port: smithy_client_1.expectString(output.port),
|
|
10028
|
-
Url: smithy_client_1.expectString(output.url),
|
|
10026
|
+
Ip: (0, smithy_client_1.expectString)(output.ip),
|
|
10027
|
+
Port: (0, smithy_client_1.expectString)(output.port),
|
|
10028
|
+
Url: (0, smithy_client_1.expectString)(output.url),
|
|
10029
10029
|
Vpc: output.vpc !== undefined && output.vpc !== null
|
|
10030
10030
|
? deserializeAws_restJson1InputDestinationVpc(output.vpc, context)
|
|
10031
10031
|
: undefined,
|
|
@@ -10033,20 +10033,20 @@ const deserializeAws_restJson1InputDestination = (output, context) => {
|
|
|
10033
10033
|
};
|
|
10034
10034
|
const deserializeAws_restJson1InputDestinationVpc = (output, context) => {
|
|
10035
10035
|
return {
|
|
10036
|
-
AvailabilityZone: smithy_client_1.expectString(output.availabilityZone),
|
|
10037
|
-
NetworkInterfaceId: smithy_client_1.expectString(output.networkInterfaceId),
|
|
10036
|
+
AvailabilityZone: (0, smithy_client_1.expectString)(output.availabilityZone),
|
|
10037
|
+
NetworkInterfaceId: (0, smithy_client_1.expectString)(output.networkInterfaceId),
|
|
10038
10038
|
};
|
|
10039
10039
|
};
|
|
10040
10040
|
const deserializeAws_restJson1InputDeviceHdSettings = (output, context) => {
|
|
10041
10041
|
return {
|
|
10042
|
-
ActiveInput: smithy_client_1.expectString(output.activeInput),
|
|
10043
|
-
ConfiguredInput: smithy_client_1.expectString(output.configuredInput),
|
|
10044
|
-
DeviceState: smithy_client_1.expectString(output.deviceState),
|
|
10045
|
-
Framerate: smithy_client_1.limitedParseDouble(output.framerate),
|
|
10046
|
-
Height: smithy_client_1.expectInt32(output.height),
|
|
10047
|
-
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
10048
|
-
ScanType: smithy_client_1.expectString(output.scanType),
|
|
10049
|
-
Width: smithy_client_1.expectInt32(output.width),
|
|
10042
|
+
ActiveInput: (0, smithy_client_1.expectString)(output.activeInput),
|
|
10043
|
+
ConfiguredInput: (0, smithy_client_1.expectString)(output.configuredInput),
|
|
10044
|
+
DeviceState: (0, smithy_client_1.expectString)(output.deviceState),
|
|
10045
|
+
Framerate: (0, smithy_client_1.limitedParseDouble)(output.framerate),
|
|
10046
|
+
Height: (0, smithy_client_1.expectInt32)(output.height),
|
|
10047
|
+
MaxBitrate: (0, smithy_client_1.expectInt32)(output.maxBitrate),
|
|
10048
|
+
ScanType: (0, smithy_client_1.expectString)(output.scanType),
|
|
10049
|
+
Width: (0, smithy_client_1.expectInt32)(output.width),
|
|
10050
10050
|
};
|
|
10051
10051
|
};
|
|
10052
10052
|
const deserializeAws_restJson1InputDeviceNetworkSettings = (output, context) => {
|
|
@@ -10054,34 +10054,34 @@ const deserializeAws_restJson1InputDeviceNetworkSettings = (output, context) =>
|
|
|
10054
10054
|
DnsAddresses: output.dnsAddresses !== undefined && output.dnsAddresses !== null
|
|
10055
10055
|
? deserializeAws_restJson1__listOf__string(output.dnsAddresses, context)
|
|
10056
10056
|
: undefined,
|
|
10057
|
-
Gateway: smithy_client_1.expectString(output.gateway),
|
|
10058
|
-
IpAddress: smithy_client_1.expectString(output.ipAddress),
|
|
10059
|
-
IpScheme: smithy_client_1.expectString(output.ipScheme),
|
|
10060
|
-
SubnetMask: smithy_client_1.expectString(output.subnetMask),
|
|
10057
|
+
Gateway: (0, smithy_client_1.expectString)(output.gateway),
|
|
10058
|
+
IpAddress: (0, smithy_client_1.expectString)(output.ipAddress),
|
|
10059
|
+
IpScheme: (0, smithy_client_1.expectString)(output.ipScheme),
|
|
10060
|
+
SubnetMask: (0, smithy_client_1.expectString)(output.subnetMask),
|
|
10061
10061
|
};
|
|
10062
10062
|
};
|
|
10063
10063
|
const deserializeAws_restJson1InputDeviceSettings = (output, context) => {
|
|
10064
10064
|
return {
|
|
10065
|
-
Id: smithy_client_1.expectString(output.id),
|
|
10065
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
10066
10066
|
};
|
|
10067
10067
|
};
|
|
10068
10068
|
const deserializeAws_restJson1InputDeviceSummary = (output, context) => {
|
|
10069
10069
|
return {
|
|
10070
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
10071
|
-
ConnectionState: smithy_client_1.expectString(output.connectionState),
|
|
10072
|
-
DeviceSettingsSyncState: smithy_client_1.expectString(output.deviceSettingsSyncState),
|
|
10073
|
-
DeviceUpdateStatus: smithy_client_1.expectString(output.deviceUpdateStatus),
|
|
10070
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
10071
|
+
ConnectionState: (0, smithy_client_1.expectString)(output.connectionState),
|
|
10072
|
+
DeviceSettingsSyncState: (0, smithy_client_1.expectString)(output.deviceSettingsSyncState),
|
|
10073
|
+
DeviceUpdateStatus: (0, smithy_client_1.expectString)(output.deviceUpdateStatus),
|
|
10074
10074
|
HdDeviceSettings: output.hdDeviceSettings !== undefined && output.hdDeviceSettings !== null
|
|
10075
10075
|
? deserializeAws_restJson1InputDeviceHdSettings(output.hdDeviceSettings, context)
|
|
10076
10076
|
: undefined,
|
|
10077
|
-
Id: smithy_client_1.expectString(output.id),
|
|
10078
|
-
MacAddress: smithy_client_1.expectString(output.macAddress),
|
|
10079
|
-
Name: smithy_client_1.expectString(output.name),
|
|
10077
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
10078
|
+
MacAddress: (0, smithy_client_1.expectString)(output.macAddress),
|
|
10079
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
10080
10080
|
NetworkSettings: output.networkSettings !== undefined && output.networkSettings !== null
|
|
10081
10081
|
? deserializeAws_restJson1InputDeviceNetworkSettings(output.networkSettings, context)
|
|
10082
10082
|
: undefined,
|
|
10083
|
-
SerialNumber: smithy_client_1.expectString(output.serialNumber),
|
|
10084
|
-
Type: smithy_client_1.expectString(output.type),
|
|
10083
|
+
SerialNumber: (0, smithy_client_1.expectString)(output.serialNumber),
|
|
10084
|
+
Type: (0, smithy_client_1.expectString)(output.type),
|
|
10085
10085
|
UhdDeviceSettings: output.uhdDeviceSettings !== undefined && output.uhdDeviceSettings !== null
|
|
10086
10086
|
? deserializeAws_restJson1InputDeviceUhdSettings(output.uhdDeviceSettings, context)
|
|
10087
10087
|
: undefined,
|
|
@@ -10089,42 +10089,42 @@ const deserializeAws_restJson1InputDeviceSummary = (output, context) => {
|
|
|
10089
10089
|
};
|
|
10090
10090
|
const deserializeAws_restJson1InputDeviceUhdSettings = (output, context) => {
|
|
10091
10091
|
return {
|
|
10092
|
-
ActiveInput: smithy_client_1.expectString(output.activeInput),
|
|
10093
|
-
ConfiguredInput: smithy_client_1.expectString(output.configuredInput),
|
|
10094
|
-
DeviceState: smithy_client_1.expectString(output.deviceState),
|
|
10095
|
-
Framerate: smithy_client_1.limitedParseDouble(output.framerate),
|
|
10096
|
-
Height: smithy_client_1.expectInt32(output.height),
|
|
10097
|
-
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
10098
|
-
ScanType: smithy_client_1.expectString(output.scanType),
|
|
10099
|
-
Width: smithy_client_1.expectInt32(output.width),
|
|
10092
|
+
ActiveInput: (0, smithy_client_1.expectString)(output.activeInput),
|
|
10093
|
+
ConfiguredInput: (0, smithy_client_1.expectString)(output.configuredInput),
|
|
10094
|
+
DeviceState: (0, smithy_client_1.expectString)(output.deviceState),
|
|
10095
|
+
Framerate: (0, smithy_client_1.limitedParseDouble)(output.framerate),
|
|
10096
|
+
Height: (0, smithy_client_1.expectInt32)(output.height),
|
|
10097
|
+
MaxBitrate: (0, smithy_client_1.expectInt32)(output.maxBitrate),
|
|
10098
|
+
ScanType: (0, smithy_client_1.expectString)(output.scanType),
|
|
10099
|
+
Width: (0, smithy_client_1.expectInt32)(output.width),
|
|
10100
10100
|
};
|
|
10101
10101
|
};
|
|
10102
10102
|
const deserializeAws_restJson1InputLocation = (output, context) => {
|
|
10103
10103
|
return {
|
|
10104
|
-
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
10105
|
-
Uri: smithy_client_1.expectString(output.uri),
|
|
10106
|
-
Username: smithy_client_1.expectString(output.username),
|
|
10104
|
+
PasswordParam: (0, smithy_client_1.expectString)(output.passwordParam),
|
|
10105
|
+
Uri: (0, smithy_client_1.expectString)(output.uri),
|
|
10106
|
+
Username: (0, smithy_client_1.expectString)(output.username),
|
|
10107
10107
|
};
|
|
10108
10108
|
};
|
|
10109
10109
|
const deserializeAws_restJson1InputLossBehavior = (output, context) => {
|
|
10110
10110
|
return {
|
|
10111
|
-
BlackFrameMsec: smithy_client_1.expectInt32(output.blackFrameMsec),
|
|
10112
|
-
InputLossImageColor: smithy_client_1.expectString(output.inputLossImageColor),
|
|
10111
|
+
BlackFrameMsec: (0, smithy_client_1.expectInt32)(output.blackFrameMsec),
|
|
10112
|
+
InputLossImageColor: (0, smithy_client_1.expectString)(output.inputLossImageColor),
|
|
10113
10113
|
InputLossImageSlate: output.inputLossImageSlate !== undefined && output.inputLossImageSlate !== null
|
|
10114
10114
|
? deserializeAws_restJson1InputLocation(output.inputLossImageSlate, context)
|
|
10115
10115
|
: undefined,
|
|
10116
|
-
InputLossImageType: smithy_client_1.expectString(output.inputLossImageType),
|
|
10117
|
-
RepeatFrameMsec: smithy_client_1.expectInt32(output.repeatFrameMsec),
|
|
10116
|
+
InputLossImageType: (0, smithy_client_1.expectString)(output.inputLossImageType),
|
|
10117
|
+
RepeatFrameMsec: (0, smithy_client_1.expectInt32)(output.repeatFrameMsec),
|
|
10118
10118
|
};
|
|
10119
10119
|
};
|
|
10120
10120
|
const deserializeAws_restJson1InputLossFailoverSettings = (output, context) => {
|
|
10121
10121
|
return {
|
|
10122
|
-
InputLossThresholdMsec: smithy_client_1.expectInt32(output.inputLossThresholdMsec),
|
|
10122
|
+
InputLossThresholdMsec: (0, smithy_client_1.expectInt32)(output.inputLossThresholdMsec),
|
|
10123
10123
|
};
|
|
10124
10124
|
};
|
|
10125
10125
|
const deserializeAws_restJson1InputPrepareScheduleActionSettings = (output, context) => {
|
|
10126
10126
|
return {
|
|
10127
|
-
InputAttachmentNameReference: smithy_client_1.expectString(output.inputAttachmentNameReference),
|
|
10127
|
+
InputAttachmentNameReference: (0, smithy_client_1.expectString)(output.inputAttachmentNameReference),
|
|
10128
10128
|
InputClippingSettings: output.inputClippingSettings !== undefined && output.inputClippingSettings !== null
|
|
10129
10129
|
? deserializeAws_restJson1InputClippingSettings(output.inputClippingSettings, context)
|
|
10130
10130
|
: undefined,
|
|
@@ -10135,12 +10135,12 @@ const deserializeAws_restJson1InputPrepareScheduleActionSettings = (output, cont
|
|
|
10135
10135
|
};
|
|
10136
10136
|
const deserializeAws_restJson1InputSecurityGroup = (output, context) => {
|
|
10137
10137
|
return {
|
|
10138
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
10139
|
-
Id: smithy_client_1.expectString(output.id),
|
|
10138
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
10139
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
10140
10140
|
Inputs: output.inputs !== undefined && output.inputs !== null
|
|
10141
10141
|
? deserializeAws_restJson1__listOf__string(output.inputs, context)
|
|
10142
10142
|
: undefined,
|
|
10143
|
-
State: smithy_client_1.expectString(output.state),
|
|
10143
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
10144
10144
|
Tags: output.tags !== undefined && output.tags !== null
|
|
10145
10145
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
10146
10146
|
: undefined,
|
|
@@ -10157,16 +10157,16 @@ const deserializeAws_restJson1InputSettings = (output, context) => {
|
|
|
10157
10157
|
CaptionSelectors: output.captionSelectors !== undefined && output.captionSelectors !== null
|
|
10158
10158
|
? deserializeAws_restJson1__listOfCaptionSelector(output.captionSelectors, context)
|
|
10159
10159
|
: undefined,
|
|
10160
|
-
DeblockFilter: smithy_client_1.expectString(output.deblockFilter),
|
|
10161
|
-
DenoiseFilter: smithy_client_1.expectString(output.denoiseFilter),
|
|
10162
|
-
FilterStrength: smithy_client_1.expectInt32(output.filterStrength),
|
|
10163
|
-
InputFilter: smithy_client_1.expectString(output.inputFilter),
|
|
10160
|
+
DeblockFilter: (0, smithy_client_1.expectString)(output.deblockFilter),
|
|
10161
|
+
DenoiseFilter: (0, smithy_client_1.expectString)(output.denoiseFilter),
|
|
10162
|
+
FilterStrength: (0, smithy_client_1.expectInt32)(output.filterStrength),
|
|
10163
|
+
InputFilter: (0, smithy_client_1.expectString)(output.inputFilter),
|
|
10164
10164
|
NetworkInputSettings: output.networkInputSettings !== undefined && output.networkInputSettings !== null
|
|
10165
10165
|
? deserializeAws_restJson1NetworkInputSettings(output.networkInputSettings, context)
|
|
10166
10166
|
: undefined,
|
|
10167
|
-
Scte35Pid: smithy_client_1.expectInt32(output.scte35Pid),
|
|
10168
|
-
Smpte2038DataPreference: smithy_client_1.expectString(output.smpte2038DataPreference),
|
|
10169
|
-
SourceEndBehavior: smithy_client_1.expectString(output.sourceEndBehavior),
|
|
10167
|
+
Scte35Pid: (0, smithy_client_1.expectInt32)(output.scte35Pid),
|
|
10168
|
+
Smpte2038DataPreference: (0, smithy_client_1.expectString)(output.smpte2038DataPreference),
|
|
10169
|
+
SourceEndBehavior: (0, smithy_client_1.expectString)(output.sourceEndBehavior),
|
|
10170
10170
|
VideoSelector: output.videoSelector !== undefined && output.videoSelector !== null
|
|
10171
10171
|
? deserializeAws_restJson1VideoSelector(output.videoSelector, context)
|
|
10172
10172
|
: undefined,
|
|
@@ -10174,21 +10174,21 @@ const deserializeAws_restJson1InputSettings = (output, context) => {
|
|
|
10174
10174
|
};
|
|
10175
10175
|
const deserializeAws_restJson1InputSource = (output, context) => {
|
|
10176
10176
|
return {
|
|
10177
|
-
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
10178
|
-
Url: smithy_client_1.expectString(output.url),
|
|
10179
|
-
Username: smithy_client_1.expectString(output.username),
|
|
10177
|
+
PasswordParam: (0, smithy_client_1.expectString)(output.passwordParam),
|
|
10178
|
+
Url: (0, smithy_client_1.expectString)(output.url),
|
|
10179
|
+
Username: (0, smithy_client_1.expectString)(output.username),
|
|
10180
10180
|
};
|
|
10181
10181
|
};
|
|
10182
10182
|
const deserializeAws_restJson1InputSpecification = (output, context) => {
|
|
10183
10183
|
return {
|
|
10184
|
-
Codec: smithy_client_1.expectString(output.codec),
|
|
10185
|
-
MaximumBitrate: smithy_client_1.expectString(output.maximumBitrate),
|
|
10186
|
-
Resolution: smithy_client_1.expectString(output.resolution),
|
|
10184
|
+
Codec: (0, smithy_client_1.expectString)(output.codec),
|
|
10185
|
+
MaximumBitrate: (0, smithy_client_1.expectString)(output.maximumBitrate),
|
|
10186
|
+
Resolution: (0, smithy_client_1.expectString)(output.resolution),
|
|
10187
10187
|
};
|
|
10188
10188
|
};
|
|
10189
10189
|
const deserializeAws_restJson1InputSwitchScheduleActionSettings = (output, context) => {
|
|
10190
10190
|
return {
|
|
10191
|
-
InputAttachmentNameReference: smithy_client_1.expectString(output.inputAttachmentNameReference),
|
|
10191
|
+
InputAttachmentNameReference: (0, smithy_client_1.expectString)(output.inputAttachmentNameReference),
|
|
10192
10192
|
InputClippingSettings: output.inputClippingSettings !== undefined && output.inputClippingSettings !== null
|
|
10193
10193
|
? deserializeAws_restJson1InputClippingSettings(output.inputClippingSettings, context)
|
|
10194
10194
|
: undefined,
|
|
@@ -10199,7 +10199,7 @@ const deserializeAws_restJson1InputSwitchScheduleActionSettings = (output, conte
|
|
|
10199
10199
|
};
|
|
10200
10200
|
const deserializeAws_restJson1InputWhitelistRule = (output, context) => {
|
|
10201
10201
|
return {
|
|
10202
|
-
Cidr: smithy_client_1.expectString(output.cidr),
|
|
10202
|
+
Cidr: (0, smithy_client_1.expectString)(output.cidr),
|
|
10203
10203
|
};
|
|
10204
10204
|
};
|
|
10205
10205
|
const deserializeAws_restJson1KeyProviderSettings = (output, context) => {
|
|
@@ -10211,85 +10211,85 @@ const deserializeAws_restJson1KeyProviderSettings = (output, context) => {
|
|
|
10211
10211
|
};
|
|
10212
10212
|
const deserializeAws_restJson1M2tsSettings = (output, context) => {
|
|
10213
10213
|
return {
|
|
10214
|
-
AbsentInputAudioBehavior: smithy_client_1.expectString(output.absentInputAudioBehavior),
|
|
10215
|
-
Arib: smithy_client_1.expectString(output.arib),
|
|
10216
|
-
AribCaptionsPid: smithy_client_1.expectString(output.aribCaptionsPid),
|
|
10217
|
-
AribCaptionsPidControl: smithy_client_1.expectString(output.aribCaptionsPidControl),
|
|
10218
|
-
AudioBufferModel: smithy_client_1.expectString(output.audioBufferModel),
|
|
10219
|
-
AudioFramesPerPes: smithy_client_1.expectInt32(output.audioFramesPerPes),
|
|
10220
|
-
AudioPids: smithy_client_1.expectString(output.audioPids),
|
|
10221
|
-
AudioStreamType: smithy_client_1.expectString(output.audioStreamType),
|
|
10222
|
-
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
10223
|
-
BufferModel: smithy_client_1.expectString(output.bufferModel),
|
|
10224
|
-
CcDescriptor: smithy_client_1.expectString(output.ccDescriptor),
|
|
10214
|
+
AbsentInputAudioBehavior: (0, smithy_client_1.expectString)(output.absentInputAudioBehavior),
|
|
10215
|
+
Arib: (0, smithy_client_1.expectString)(output.arib),
|
|
10216
|
+
AribCaptionsPid: (0, smithy_client_1.expectString)(output.aribCaptionsPid),
|
|
10217
|
+
AribCaptionsPidControl: (0, smithy_client_1.expectString)(output.aribCaptionsPidControl),
|
|
10218
|
+
AudioBufferModel: (0, smithy_client_1.expectString)(output.audioBufferModel),
|
|
10219
|
+
AudioFramesPerPes: (0, smithy_client_1.expectInt32)(output.audioFramesPerPes),
|
|
10220
|
+
AudioPids: (0, smithy_client_1.expectString)(output.audioPids),
|
|
10221
|
+
AudioStreamType: (0, smithy_client_1.expectString)(output.audioStreamType),
|
|
10222
|
+
Bitrate: (0, smithy_client_1.expectInt32)(output.bitrate),
|
|
10223
|
+
BufferModel: (0, smithy_client_1.expectString)(output.bufferModel),
|
|
10224
|
+
CcDescriptor: (0, smithy_client_1.expectString)(output.ccDescriptor),
|
|
10225
10225
|
DvbNitSettings: output.dvbNitSettings !== undefined && output.dvbNitSettings !== null
|
|
10226
10226
|
? deserializeAws_restJson1DvbNitSettings(output.dvbNitSettings, context)
|
|
10227
10227
|
: undefined,
|
|
10228
10228
|
DvbSdtSettings: output.dvbSdtSettings !== undefined && output.dvbSdtSettings !== null
|
|
10229
10229
|
? deserializeAws_restJson1DvbSdtSettings(output.dvbSdtSettings, context)
|
|
10230
10230
|
: undefined,
|
|
10231
|
-
DvbSubPids: smithy_client_1.expectString(output.dvbSubPids),
|
|
10231
|
+
DvbSubPids: (0, smithy_client_1.expectString)(output.dvbSubPids),
|
|
10232
10232
|
DvbTdtSettings: output.dvbTdtSettings !== undefined && output.dvbTdtSettings !== null
|
|
10233
10233
|
? deserializeAws_restJson1DvbTdtSettings(output.dvbTdtSettings, context)
|
|
10234
10234
|
: undefined,
|
|
10235
|
-
DvbTeletextPid: smithy_client_1.expectString(output.dvbTeletextPid),
|
|
10236
|
-
Ebif: smithy_client_1.expectString(output.ebif),
|
|
10237
|
-
EbpAudioInterval: smithy_client_1.expectString(output.ebpAudioInterval),
|
|
10238
|
-
EbpLookaheadMs: smithy_client_1.expectInt32(output.ebpLookaheadMs),
|
|
10239
|
-
EbpPlacement: smithy_client_1.expectString(output.ebpPlacement),
|
|
10240
|
-
EcmPid: smithy_client_1.expectString(output.ecmPid),
|
|
10241
|
-
EsRateInPes: smithy_client_1.expectString(output.esRateInPes),
|
|
10242
|
-
EtvPlatformPid: smithy_client_1.expectString(output.etvPlatformPid),
|
|
10243
|
-
EtvSignalPid: smithy_client_1.expectString(output.etvSignalPid),
|
|
10244
|
-
FragmentTime: smithy_client_1.limitedParseDouble(output.fragmentTime),
|
|
10245
|
-
Klv: smithy_client_1.expectString(output.klv),
|
|
10246
|
-
KlvDataPids: smithy_client_1.expectString(output.klvDataPids),
|
|
10247
|
-
NielsenId3Behavior: smithy_client_1.expectString(output.nielsenId3Behavior),
|
|
10248
|
-
NullPacketBitrate: smithy_client_1.limitedParseDouble(output.nullPacketBitrate),
|
|
10249
|
-
PatInterval: smithy_client_1.expectInt32(output.patInterval),
|
|
10250
|
-
PcrControl: smithy_client_1.expectString(output.pcrControl),
|
|
10251
|
-
PcrPeriod: smithy_client_1.expectInt32(output.pcrPeriod),
|
|
10252
|
-
PcrPid: smithy_client_1.expectString(output.pcrPid),
|
|
10253
|
-
PmtInterval: smithy_client_1.expectInt32(output.pmtInterval),
|
|
10254
|
-
PmtPid: smithy_client_1.expectString(output.pmtPid),
|
|
10255
|
-
ProgramNum: smithy_client_1.expectInt32(output.programNum),
|
|
10256
|
-
RateMode: smithy_client_1.expectString(output.rateMode),
|
|
10257
|
-
Scte27Pids: smithy_client_1.expectString(output.scte27Pids),
|
|
10258
|
-
Scte35Control: smithy_client_1.expectString(output.scte35Control),
|
|
10259
|
-
Scte35Pid: smithy_client_1.expectString(output.scte35Pid),
|
|
10260
|
-
SegmentationMarkers: smithy_client_1.expectString(output.segmentationMarkers),
|
|
10261
|
-
SegmentationStyle: smithy_client_1.expectString(output.segmentationStyle),
|
|
10262
|
-
SegmentationTime: smithy_client_1.limitedParseDouble(output.segmentationTime),
|
|
10263
|
-
TimedMetadataBehavior: smithy_client_1.expectString(output.timedMetadataBehavior),
|
|
10264
|
-
TimedMetadataPid: smithy_client_1.expectString(output.timedMetadataPid),
|
|
10265
|
-
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
10266
|
-
VideoPid: smithy_client_1.expectString(output.videoPid),
|
|
10235
|
+
DvbTeletextPid: (0, smithy_client_1.expectString)(output.dvbTeletextPid),
|
|
10236
|
+
Ebif: (0, smithy_client_1.expectString)(output.ebif),
|
|
10237
|
+
EbpAudioInterval: (0, smithy_client_1.expectString)(output.ebpAudioInterval),
|
|
10238
|
+
EbpLookaheadMs: (0, smithy_client_1.expectInt32)(output.ebpLookaheadMs),
|
|
10239
|
+
EbpPlacement: (0, smithy_client_1.expectString)(output.ebpPlacement),
|
|
10240
|
+
EcmPid: (0, smithy_client_1.expectString)(output.ecmPid),
|
|
10241
|
+
EsRateInPes: (0, smithy_client_1.expectString)(output.esRateInPes),
|
|
10242
|
+
EtvPlatformPid: (0, smithy_client_1.expectString)(output.etvPlatformPid),
|
|
10243
|
+
EtvSignalPid: (0, smithy_client_1.expectString)(output.etvSignalPid),
|
|
10244
|
+
FragmentTime: (0, smithy_client_1.limitedParseDouble)(output.fragmentTime),
|
|
10245
|
+
Klv: (0, smithy_client_1.expectString)(output.klv),
|
|
10246
|
+
KlvDataPids: (0, smithy_client_1.expectString)(output.klvDataPids),
|
|
10247
|
+
NielsenId3Behavior: (0, smithy_client_1.expectString)(output.nielsenId3Behavior),
|
|
10248
|
+
NullPacketBitrate: (0, smithy_client_1.limitedParseDouble)(output.nullPacketBitrate),
|
|
10249
|
+
PatInterval: (0, smithy_client_1.expectInt32)(output.patInterval),
|
|
10250
|
+
PcrControl: (0, smithy_client_1.expectString)(output.pcrControl),
|
|
10251
|
+
PcrPeriod: (0, smithy_client_1.expectInt32)(output.pcrPeriod),
|
|
10252
|
+
PcrPid: (0, smithy_client_1.expectString)(output.pcrPid),
|
|
10253
|
+
PmtInterval: (0, smithy_client_1.expectInt32)(output.pmtInterval),
|
|
10254
|
+
PmtPid: (0, smithy_client_1.expectString)(output.pmtPid),
|
|
10255
|
+
ProgramNum: (0, smithy_client_1.expectInt32)(output.programNum),
|
|
10256
|
+
RateMode: (0, smithy_client_1.expectString)(output.rateMode),
|
|
10257
|
+
Scte27Pids: (0, smithy_client_1.expectString)(output.scte27Pids),
|
|
10258
|
+
Scte35Control: (0, smithy_client_1.expectString)(output.scte35Control),
|
|
10259
|
+
Scte35Pid: (0, smithy_client_1.expectString)(output.scte35Pid),
|
|
10260
|
+
SegmentationMarkers: (0, smithy_client_1.expectString)(output.segmentationMarkers),
|
|
10261
|
+
SegmentationStyle: (0, smithy_client_1.expectString)(output.segmentationStyle),
|
|
10262
|
+
SegmentationTime: (0, smithy_client_1.limitedParseDouble)(output.segmentationTime),
|
|
10263
|
+
TimedMetadataBehavior: (0, smithy_client_1.expectString)(output.timedMetadataBehavior),
|
|
10264
|
+
TimedMetadataPid: (0, smithy_client_1.expectString)(output.timedMetadataPid),
|
|
10265
|
+
TransportStreamId: (0, smithy_client_1.expectInt32)(output.transportStreamId),
|
|
10266
|
+
VideoPid: (0, smithy_client_1.expectString)(output.videoPid),
|
|
10267
10267
|
};
|
|
10268
10268
|
};
|
|
10269
10269
|
const deserializeAws_restJson1M3u8Settings = (output, context) => {
|
|
10270
10270
|
return {
|
|
10271
|
-
AudioFramesPerPes: smithy_client_1.expectInt32(output.audioFramesPerPes),
|
|
10272
|
-
AudioPids: smithy_client_1.expectString(output.audioPids),
|
|
10273
|
-
EcmPid: smithy_client_1.expectString(output.ecmPid),
|
|
10274
|
-
NielsenId3Behavior: smithy_client_1.expectString(output.nielsenId3Behavior),
|
|
10275
|
-
PatInterval: smithy_client_1.expectInt32(output.patInterval),
|
|
10276
|
-
PcrControl: smithy_client_1.expectString(output.pcrControl),
|
|
10277
|
-
PcrPeriod: smithy_client_1.expectInt32(output.pcrPeriod),
|
|
10278
|
-
PcrPid: smithy_client_1.expectString(output.pcrPid),
|
|
10279
|
-
PmtInterval: smithy_client_1.expectInt32(output.pmtInterval),
|
|
10280
|
-
PmtPid: smithy_client_1.expectString(output.pmtPid),
|
|
10281
|
-
ProgramNum: smithy_client_1.expectInt32(output.programNum),
|
|
10282
|
-
Scte35Behavior: smithy_client_1.expectString(output.scte35Behavior),
|
|
10283
|
-
Scte35Pid: smithy_client_1.expectString(output.scte35Pid),
|
|
10284
|
-
TimedMetadataBehavior: smithy_client_1.expectString(output.timedMetadataBehavior),
|
|
10285
|
-
TimedMetadataPid: smithy_client_1.expectString(output.timedMetadataPid),
|
|
10286
|
-
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
10287
|
-
VideoPid: smithy_client_1.expectString(output.videoPid),
|
|
10271
|
+
AudioFramesPerPes: (0, smithy_client_1.expectInt32)(output.audioFramesPerPes),
|
|
10272
|
+
AudioPids: (0, smithy_client_1.expectString)(output.audioPids),
|
|
10273
|
+
EcmPid: (0, smithy_client_1.expectString)(output.ecmPid),
|
|
10274
|
+
NielsenId3Behavior: (0, smithy_client_1.expectString)(output.nielsenId3Behavior),
|
|
10275
|
+
PatInterval: (0, smithy_client_1.expectInt32)(output.patInterval),
|
|
10276
|
+
PcrControl: (0, smithy_client_1.expectString)(output.pcrControl),
|
|
10277
|
+
PcrPeriod: (0, smithy_client_1.expectInt32)(output.pcrPeriod),
|
|
10278
|
+
PcrPid: (0, smithy_client_1.expectString)(output.pcrPid),
|
|
10279
|
+
PmtInterval: (0, smithy_client_1.expectInt32)(output.pmtInterval),
|
|
10280
|
+
PmtPid: (0, smithy_client_1.expectString)(output.pmtPid),
|
|
10281
|
+
ProgramNum: (0, smithy_client_1.expectInt32)(output.programNum),
|
|
10282
|
+
Scte35Behavior: (0, smithy_client_1.expectString)(output.scte35Behavior),
|
|
10283
|
+
Scte35Pid: (0, smithy_client_1.expectString)(output.scte35Pid),
|
|
10284
|
+
TimedMetadataBehavior: (0, smithy_client_1.expectString)(output.timedMetadataBehavior),
|
|
10285
|
+
TimedMetadataPid: (0, smithy_client_1.expectString)(output.timedMetadataPid),
|
|
10286
|
+
TransportStreamId: (0, smithy_client_1.expectInt32)(output.transportStreamId),
|
|
10287
|
+
VideoPid: (0, smithy_client_1.expectString)(output.videoPid),
|
|
10288
10288
|
};
|
|
10289
10289
|
};
|
|
10290
10290
|
const deserializeAws_restJson1MediaConnectFlow = (output, context) => {
|
|
10291
10291
|
return {
|
|
10292
|
-
FlowArn: smithy_client_1.expectString(output.flowArn),
|
|
10292
|
+
FlowArn: (0, smithy_client_1.expectString)(output.flowArn),
|
|
10293
10293
|
};
|
|
10294
10294
|
};
|
|
10295
10295
|
const deserializeAws_restJson1MediaPackageGroupSettings = (output, context) => {
|
|
@@ -10301,7 +10301,7 @@ const deserializeAws_restJson1MediaPackageGroupSettings = (output, context) => {
|
|
|
10301
10301
|
};
|
|
10302
10302
|
const deserializeAws_restJson1MediaPackageOutputDestinationSettings = (output, context) => {
|
|
10303
10303
|
return {
|
|
10304
|
-
ChannelId: smithy_client_1.expectString(output.channelId),
|
|
10304
|
+
ChannelId: (0, smithy_client_1.expectString)(output.channelId),
|
|
10305
10305
|
};
|
|
10306
10306
|
};
|
|
10307
10307
|
const deserializeAws_restJson1MediaPackageOutputSettings = (output, context) => {
|
|
@@ -10309,15 +10309,15 @@ const deserializeAws_restJson1MediaPackageOutputSettings = (output, context) =>
|
|
|
10309
10309
|
};
|
|
10310
10310
|
const deserializeAws_restJson1MotionGraphicsActivateScheduleActionSettings = (output, context) => {
|
|
10311
10311
|
return {
|
|
10312
|
-
Duration: smithy_client_1.expectLong(output.duration),
|
|
10313
|
-
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
10314
|
-
Url: smithy_client_1.expectString(output.url),
|
|
10315
|
-
Username: smithy_client_1.expectString(output.username),
|
|
10312
|
+
Duration: (0, smithy_client_1.expectLong)(output.duration),
|
|
10313
|
+
PasswordParam: (0, smithy_client_1.expectString)(output.passwordParam),
|
|
10314
|
+
Url: (0, smithy_client_1.expectString)(output.url),
|
|
10315
|
+
Username: (0, smithy_client_1.expectString)(output.username),
|
|
10316
10316
|
};
|
|
10317
10317
|
};
|
|
10318
10318
|
const deserializeAws_restJson1MotionGraphicsConfiguration = (output, context) => {
|
|
10319
10319
|
return {
|
|
10320
|
-
MotionGraphicsInsertion: smithy_client_1.expectString(output.motionGraphicsInsertion),
|
|
10320
|
+
MotionGraphicsInsertion: (0, smithy_client_1.expectString)(output.motionGraphicsInsertion),
|
|
10321
10321
|
MotionGraphicsSettings: output.motionGraphicsSettings !== undefined && output.motionGraphicsSettings !== null
|
|
10322
10322
|
? deserializeAws_restJson1MotionGraphicsSettings(output.motionGraphicsSettings, context)
|
|
10323
10323
|
: undefined,
|
|
@@ -10335,9 +10335,9 @@ const deserializeAws_restJson1MotionGraphicsSettings = (output, context) => {
|
|
|
10335
10335
|
};
|
|
10336
10336
|
const deserializeAws_restJson1Mp2Settings = (output, context) => {
|
|
10337
10337
|
return {
|
|
10338
|
-
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
10339
|
-
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
10340
|
-
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
10338
|
+
Bitrate: (0, smithy_client_1.limitedParseDouble)(output.bitrate),
|
|
10339
|
+
CodingMode: (0, smithy_client_1.expectString)(output.codingMode),
|
|
10340
|
+
SampleRate: (0, smithy_client_1.limitedParseDouble)(output.sampleRate),
|
|
10341
10341
|
};
|
|
10342
10342
|
};
|
|
10343
10343
|
const deserializeAws_restJson1Mpeg2FilterSettings = (output, context) => {
|
|
@@ -10349,74 +10349,74 @@ const deserializeAws_restJson1Mpeg2FilterSettings = (output, context) => {
|
|
|
10349
10349
|
};
|
|
10350
10350
|
const deserializeAws_restJson1Mpeg2Settings = (output, context) => {
|
|
10351
10351
|
return {
|
|
10352
|
-
AdaptiveQuantization: smithy_client_1.expectString(output.adaptiveQuantization),
|
|
10353
|
-
AfdSignaling: smithy_client_1.expectString(output.afdSignaling),
|
|
10354
|
-
ColorMetadata: smithy_client_1.expectString(output.colorMetadata),
|
|
10355
|
-
ColorSpace: smithy_client_1.expectString(output.colorSpace),
|
|
10356
|
-
DisplayAspectRatio: smithy_client_1.expectString(output.displayAspectRatio),
|
|
10352
|
+
AdaptiveQuantization: (0, smithy_client_1.expectString)(output.adaptiveQuantization),
|
|
10353
|
+
AfdSignaling: (0, smithy_client_1.expectString)(output.afdSignaling),
|
|
10354
|
+
ColorMetadata: (0, smithy_client_1.expectString)(output.colorMetadata),
|
|
10355
|
+
ColorSpace: (0, smithy_client_1.expectString)(output.colorSpace),
|
|
10356
|
+
DisplayAspectRatio: (0, smithy_client_1.expectString)(output.displayAspectRatio),
|
|
10357
10357
|
FilterSettings: output.filterSettings !== undefined && output.filterSettings !== null
|
|
10358
10358
|
? deserializeAws_restJson1Mpeg2FilterSettings(output.filterSettings, context)
|
|
10359
10359
|
: undefined,
|
|
10360
|
-
FixedAfd: smithy_client_1.expectString(output.fixedAfd),
|
|
10361
|
-
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
10362
|
-
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
10363
|
-
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
10364
|
-
GopNumBFrames: smithy_client_1.expectInt32(output.gopNumBFrames),
|
|
10365
|
-
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
10366
|
-
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
10367
|
-
ScanType: smithy_client_1.expectString(output.scanType),
|
|
10368
|
-
SubgopLength: smithy_client_1.expectString(output.subgopLength),
|
|
10369
|
-
TimecodeInsertion: smithy_client_1.expectString(output.timecodeInsertion),
|
|
10360
|
+
FixedAfd: (0, smithy_client_1.expectString)(output.fixedAfd),
|
|
10361
|
+
FramerateDenominator: (0, smithy_client_1.expectInt32)(output.framerateDenominator),
|
|
10362
|
+
FramerateNumerator: (0, smithy_client_1.expectInt32)(output.framerateNumerator),
|
|
10363
|
+
GopClosedCadence: (0, smithy_client_1.expectInt32)(output.gopClosedCadence),
|
|
10364
|
+
GopNumBFrames: (0, smithy_client_1.expectInt32)(output.gopNumBFrames),
|
|
10365
|
+
GopSize: (0, smithy_client_1.limitedParseDouble)(output.gopSize),
|
|
10366
|
+
GopSizeUnits: (0, smithy_client_1.expectString)(output.gopSizeUnits),
|
|
10367
|
+
ScanType: (0, smithy_client_1.expectString)(output.scanType),
|
|
10368
|
+
SubgopLength: (0, smithy_client_1.expectString)(output.subgopLength),
|
|
10369
|
+
TimecodeInsertion: (0, smithy_client_1.expectString)(output.timecodeInsertion),
|
|
10370
10370
|
};
|
|
10371
10371
|
};
|
|
10372
10372
|
const deserializeAws_restJson1MsSmoothGroupSettings = (output, context) => {
|
|
10373
10373
|
return {
|
|
10374
|
-
AcquisitionPointId: smithy_client_1.expectString(output.acquisitionPointId),
|
|
10375
|
-
AudioOnlyTimecodeControl: smithy_client_1.expectString(output.audioOnlyTimecodeControl),
|
|
10376
|
-
CertificateMode: smithy_client_1.expectString(output.certificateMode),
|
|
10377
|
-
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
10374
|
+
AcquisitionPointId: (0, smithy_client_1.expectString)(output.acquisitionPointId),
|
|
10375
|
+
AudioOnlyTimecodeControl: (0, smithy_client_1.expectString)(output.audioOnlyTimecodeControl),
|
|
10376
|
+
CertificateMode: (0, smithy_client_1.expectString)(output.certificateMode),
|
|
10377
|
+
ConnectionRetryInterval: (0, smithy_client_1.expectInt32)(output.connectionRetryInterval),
|
|
10378
10378
|
Destination: output.destination !== undefined && output.destination !== null
|
|
10379
10379
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
10380
10380
|
: undefined,
|
|
10381
|
-
EventId: smithy_client_1.expectString(output.eventId),
|
|
10382
|
-
EventIdMode: smithy_client_1.expectString(output.eventIdMode),
|
|
10383
|
-
EventStopBehavior: smithy_client_1.expectString(output.eventStopBehavior),
|
|
10384
|
-
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
10385
|
-
FragmentLength: smithy_client_1.expectInt32(output.fragmentLength),
|
|
10386
|
-
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
10387
|
-
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
10388
|
-
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
10389
|
-
SegmentationMode: smithy_client_1.expectString(output.segmentationMode),
|
|
10390
|
-
SendDelayMs: smithy_client_1.expectInt32(output.sendDelayMs),
|
|
10391
|
-
SparseTrackType: smithy_client_1.expectString(output.sparseTrackType),
|
|
10392
|
-
StreamManifestBehavior: smithy_client_1.expectString(output.streamManifestBehavior),
|
|
10393
|
-
TimestampOffset: smithy_client_1.expectString(output.timestampOffset),
|
|
10394
|
-
TimestampOffsetMode: smithy_client_1.expectString(output.timestampOffsetMode),
|
|
10381
|
+
EventId: (0, smithy_client_1.expectString)(output.eventId),
|
|
10382
|
+
EventIdMode: (0, smithy_client_1.expectString)(output.eventIdMode),
|
|
10383
|
+
EventStopBehavior: (0, smithy_client_1.expectString)(output.eventStopBehavior),
|
|
10384
|
+
FilecacheDuration: (0, smithy_client_1.expectInt32)(output.filecacheDuration),
|
|
10385
|
+
FragmentLength: (0, smithy_client_1.expectInt32)(output.fragmentLength),
|
|
10386
|
+
InputLossAction: (0, smithy_client_1.expectString)(output.inputLossAction),
|
|
10387
|
+
NumRetries: (0, smithy_client_1.expectInt32)(output.numRetries),
|
|
10388
|
+
RestartDelay: (0, smithy_client_1.expectInt32)(output.restartDelay),
|
|
10389
|
+
SegmentationMode: (0, smithy_client_1.expectString)(output.segmentationMode),
|
|
10390
|
+
SendDelayMs: (0, smithy_client_1.expectInt32)(output.sendDelayMs),
|
|
10391
|
+
SparseTrackType: (0, smithy_client_1.expectString)(output.sparseTrackType),
|
|
10392
|
+
StreamManifestBehavior: (0, smithy_client_1.expectString)(output.streamManifestBehavior),
|
|
10393
|
+
TimestampOffset: (0, smithy_client_1.expectString)(output.timestampOffset),
|
|
10394
|
+
TimestampOffsetMode: (0, smithy_client_1.expectString)(output.timestampOffsetMode),
|
|
10395
10395
|
};
|
|
10396
10396
|
};
|
|
10397
10397
|
const deserializeAws_restJson1MsSmoothOutputSettings = (output, context) => {
|
|
10398
10398
|
return {
|
|
10399
|
-
H265PackagingType: smithy_client_1.expectString(output.h265PackagingType),
|
|
10400
|
-
NameModifier: smithy_client_1.expectString(output.nameModifier),
|
|
10399
|
+
H265PackagingType: (0, smithy_client_1.expectString)(output.h265PackagingType),
|
|
10400
|
+
NameModifier: (0, smithy_client_1.expectString)(output.nameModifier),
|
|
10401
10401
|
};
|
|
10402
10402
|
};
|
|
10403
10403
|
const deserializeAws_restJson1Multiplex = (output, context) => {
|
|
10404
10404
|
return {
|
|
10405
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
10405
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
10406
10406
|
AvailabilityZones: output.availabilityZones !== undefined && output.availabilityZones !== null
|
|
10407
10407
|
? deserializeAws_restJson1__listOf__string(output.availabilityZones, context)
|
|
10408
10408
|
: undefined,
|
|
10409
10409
|
Destinations: output.destinations !== undefined && output.destinations !== null
|
|
10410
10410
|
? deserializeAws_restJson1__listOfMultiplexOutputDestination(output.destinations, context)
|
|
10411
10411
|
: undefined,
|
|
10412
|
-
Id: smithy_client_1.expectString(output.id),
|
|
10412
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
10413
10413
|
MultiplexSettings: output.multiplexSettings !== undefined && output.multiplexSettings !== null
|
|
10414
10414
|
? deserializeAws_restJson1MultiplexSettings(output.multiplexSettings, context)
|
|
10415
10415
|
: undefined,
|
|
10416
|
-
Name: smithy_client_1.expectString(output.name),
|
|
10417
|
-
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
10418
|
-
ProgramCount: smithy_client_1.expectInt32(output.programCount),
|
|
10419
|
-
State: smithy_client_1.expectString(output.state),
|
|
10416
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
10417
|
+
PipelinesRunningCount: (0, smithy_client_1.expectInt32)(output.pipelinesRunningCount),
|
|
10418
|
+
ProgramCount: (0, smithy_client_1.expectInt32)(output.programCount),
|
|
10419
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
10420
10420
|
Tags: output.tags !== undefined && output.tags !== null
|
|
10421
10421
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
10422
10422
|
: undefined,
|
|
@@ -10427,7 +10427,7 @@ const deserializeAws_restJson1MultiplexGroupSettings = (output, context) => {
|
|
|
10427
10427
|
};
|
|
10428
10428
|
const deserializeAws_restJson1MultiplexMediaConnectOutputDestinationSettings = (output, context) => {
|
|
10429
10429
|
return {
|
|
10430
|
-
EntitlementArn: smithy_client_1.expectString(output.entitlementArn),
|
|
10430
|
+
EntitlementArn: (0, smithy_client_1.expectString)(output.entitlementArn),
|
|
10431
10431
|
};
|
|
10432
10432
|
};
|
|
10433
10433
|
const deserializeAws_restJson1MultiplexOutputDestination = (output, context) => {
|
|
@@ -10446,7 +10446,7 @@ const deserializeAws_restJson1MultiplexOutputSettings = (output, context) => {
|
|
|
10446
10446
|
};
|
|
10447
10447
|
const deserializeAws_restJson1MultiplexProgram = (output, context) => {
|
|
10448
10448
|
return {
|
|
10449
|
-
ChannelId: smithy_client_1.expectString(output.channelId),
|
|
10449
|
+
ChannelId: (0, smithy_client_1.expectString)(output.channelId),
|
|
10450
10450
|
MultiplexProgramSettings: output.multiplexProgramSettings !== undefined && output.multiplexProgramSettings !== null
|
|
10451
10451
|
? deserializeAws_restJson1MultiplexProgramSettings(output.multiplexProgramSettings, context)
|
|
10452
10452
|
: undefined,
|
|
@@ -10456,13 +10456,13 @@ const deserializeAws_restJson1MultiplexProgram = (output, context) => {
|
|
|
10456
10456
|
PipelineDetails: output.pipelineDetails !== undefined && output.pipelineDetails !== null
|
|
10457
10457
|
? deserializeAws_restJson1__listOfMultiplexProgramPipelineDetail(output.pipelineDetails, context)
|
|
10458
10458
|
: undefined,
|
|
10459
|
-
ProgramName: smithy_client_1.expectString(output.programName),
|
|
10459
|
+
ProgramName: (0, smithy_client_1.expectString)(output.programName),
|
|
10460
10460
|
};
|
|
10461
10461
|
};
|
|
10462
10462
|
const deserializeAws_restJson1MultiplexProgramChannelDestinationSettings = (output, context) => {
|
|
10463
10463
|
return {
|
|
10464
|
-
MultiplexId: smithy_client_1.expectString(output.multiplexId),
|
|
10465
|
-
ProgramName: smithy_client_1.expectString(output.programName),
|
|
10464
|
+
MultiplexId: (0, smithy_client_1.expectString)(output.multiplexId),
|
|
10465
|
+
ProgramName: (0, smithy_client_1.expectString)(output.programName),
|
|
10466
10466
|
};
|
|
10467
10467
|
};
|
|
10468
10468
|
const deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap = (output, context) => {
|
|
@@ -10473,39 +10473,39 @@ const deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap = (output, co
|
|
|
10473
10473
|
DvbSubPids: output.dvbSubPids !== undefined && output.dvbSubPids !== null
|
|
10474
10474
|
? deserializeAws_restJson1__listOf__integer(output.dvbSubPids, context)
|
|
10475
10475
|
: undefined,
|
|
10476
|
-
DvbTeletextPid: smithy_client_1.expectInt32(output.dvbTeletextPid),
|
|
10477
|
-
EtvPlatformPid: smithy_client_1.expectInt32(output.etvPlatformPid),
|
|
10478
|
-
EtvSignalPid: smithy_client_1.expectInt32(output.etvSignalPid),
|
|
10476
|
+
DvbTeletextPid: (0, smithy_client_1.expectInt32)(output.dvbTeletextPid),
|
|
10477
|
+
EtvPlatformPid: (0, smithy_client_1.expectInt32)(output.etvPlatformPid),
|
|
10478
|
+
EtvSignalPid: (0, smithy_client_1.expectInt32)(output.etvSignalPid),
|
|
10479
10479
|
KlvDataPids: output.klvDataPids !== undefined && output.klvDataPids !== null
|
|
10480
10480
|
? deserializeAws_restJson1__listOf__integer(output.klvDataPids, context)
|
|
10481
10481
|
: undefined,
|
|
10482
|
-
PcrPid: smithy_client_1.expectInt32(output.pcrPid),
|
|
10483
|
-
PmtPid: smithy_client_1.expectInt32(output.pmtPid),
|
|
10484
|
-
PrivateMetadataPid: smithy_client_1.expectInt32(output.privateMetadataPid),
|
|
10482
|
+
PcrPid: (0, smithy_client_1.expectInt32)(output.pcrPid),
|
|
10483
|
+
PmtPid: (0, smithy_client_1.expectInt32)(output.pmtPid),
|
|
10484
|
+
PrivateMetadataPid: (0, smithy_client_1.expectInt32)(output.privateMetadataPid),
|
|
10485
10485
|
Scte27Pids: output.scte27Pids !== undefined && output.scte27Pids !== null
|
|
10486
10486
|
? deserializeAws_restJson1__listOf__integer(output.scte27Pids, context)
|
|
10487
10487
|
: undefined,
|
|
10488
|
-
Scte35Pid: smithy_client_1.expectInt32(output.scte35Pid),
|
|
10489
|
-
TimedMetadataPid: smithy_client_1.expectInt32(output.timedMetadataPid),
|
|
10490
|
-
VideoPid: smithy_client_1.expectInt32(output.videoPid),
|
|
10488
|
+
Scte35Pid: (0, smithy_client_1.expectInt32)(output.scte35Pid),
|
|
10489
|
+
TimedMetadataPid: (0, smithy_client_1.expectInt32)(output.timedMetadataPid),
|
|
10490
|
+
VideoPid: (0, smithy_client_1.expectInt32)(output.videoPid),
|
|
10491
10491
|
};
|
|
10492
10492
|
};
|
|
10493
10493
|
const deserializeAws_restJson1MultiplexProgramPipelineDetail = (output, context) => {
|
|
10494
10494
|
return {
|
|
10495
|
-
ActiveChannelPipeline: smithy_client_1.expectString(output.activeChannelPipeline),
|
|
10496
|
-
PipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
10495
|
+
ActiveChannelPipeline: (0, smithy_client_1.expectString)(output.activeChannelPipeline),
|
|
10496
|
+
PipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
10497
10497
|
};
|
|
10498
10498
|
};
|
|
10499
10499
|
const deserializeAws_restJson1MultiplexProgramServiceDescriptor = (output, context) => {
|
|
10500
10500
|
return {
|
|
10501
|
-
ProviderName: smithy_client_1.expectString(output.providerName),
|
|
10502
|
-
ServiceName: smithy_client_1.expectString(output.serviceName),
|
|
10501
|
+
ProviderName: (0, smithy_client_1.expectString)(output.providerName),
|
|
10502
|
+
ServiceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
10503
10503
|
};
|
|
10504
10504
|
};
|
|
10505
10505
|
const deserializeAws_restJson1MultiplexProgramSettings = (output, context) => {
|
|
10506
10506
|
return {
|
|
10507
|
-
PreferredChannelPipeline: smithy_client_1.expectString(output.preferredChannelPipeline),
|
|
10508
|
-
ProgramNumber: smithy_client_1.expectInt32(output.programNumber),
|
|
10507
|
+
PreferredChannelPipeline: (0, smithy_client_1.expectString)(output.preferredChannelPipeline),
|
|
10508
|
+
ProgramNumber: (0, smithy_client_1.expectInt32)(output.programNumber),
|
|
10509
10509
|
ServiceDescriptor: output.serviceDescriptor !== undefined && output.serviceDescriptor !== null
|
|
10510
10510
|
? deserializeAws_restJson1MultiplexProgramServiceDescriptor(output.serviceDescriptor, context)
|
|
10511
10511
|
: undefined,
|
|
@@ -10516,44 +10516,44 @@ const deserializeAws_restJson1MultiplexProgramSettings = (output, context) => {
|
|
|
10516
10516
|
};
|
|
10517
10517
|
const deserializeAws_restJson1MultiplexProgramSummary = (output, context) => {
|
|
10518
10518
|
return {
|
|
10519
|
-
ChannelId: smithy_client_1.expectString(output.channelId),
|
|
10520
|
-
ProgramName: smithy_client_1.expectString(output.programName),
|
|
10519
|
+
ChannelId: (0, smithy_client_1.expectString)(output.channelId),
|
|
10520
|
+
ProgramName: (0, smithy_client_1.expectString)(output.programName),
|
|
10521
10521
|
};
|
|
10522
10522
|
};
|
|
10523
10523
|
const deserializeAws_restJson1MultiplexSettings = (output, context) => {
|
|
10524
10524
|
return {
|
|
10525
|
-
MaximumVideoBufferDelayMilliseconds: smithy_client_1.expectInt32(output.maximumVideoBufferDelayMilliseconds),
|
|
10526
|
-
TransportStreamBitrate: smithy_client_1.expectInt32(output.transportStreamBitrate),
|
|
10527
|
-
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
10528
|
-
TransportStreamReservedBitrate: smithy_client_1.expectInt32(output.transportStreamReservedBitrate),
|
|
10525
|
+
MaximumVideoBufferDelayMilliseconds: (0, smithy_client_1.expectInt32)(output.maximumVideoBufferDelayMilliseconds),
|
|
10526
|
+
TransportStreamBitrate: (0, smithy_client_1.expectInt32)(output.transportStreamBitrate),
|
|
10527
|
+
TransportStreamId: (0, smithy_client_1.expectInt32)(output.transportStreamId),
|
|
10528
|
+
TransportStreamReservedBitrate: (0, smithy_client_1.expectInt32)(output.transportStreamReservedBitrate),
|
|
10529
10529
|
};
|
|
10530
10530
|
};
|
|
10531
10531
|
const deserializeAws_restJson1MultiplexSettingsSummary = (output, context) => {
|
|
10532
10532
|
return {
|
|
10533
|
-
TransportStreamBitrate: smithy_client_1.expectInt32(output.transportStreamBitrate),
|
|
10533
|
+
TransportStreamBitrate: (0, smithy_client_1.expectInt32)(output.transportStreamBitrate),
|
|
10534
10534
|
};
|
|
10535
10535
|
};
|
|
10536
10536
|
const deserializeAws_restJson1MultiplexStatmuxVideoSettings = (output, context) => {
|
|
10537
10537
|
return {
|
|
10538
|
-
MaximumBitrate: smithy_client_1.expectInt32(output.maximumBitrate),
|
|
10539
|
-
MinimumBitrate: smithy_client_1.expectInt32(output.minimumBitrate),
|
|
10540
|
-
Priority: smithy_client_1.expectInt32(output.priority),
|
|
10538
|
+
MaximumBitrate: (0, smithy_client_1.expectInt32)(output.maximumBitrate),
|
|
10539
|
+
MinimumBitrate: (0, smithy_client_1.expectInt32)(output.minimumBitrate),
|
|
10540
|
+
Priority: (0, smithy_client_1.expectInt32)(output.priority),
|
|
10541
10541
|
};
|
|
10542
10542
|
};
|
|
10543
10543
|
const deserializeAws_restJson1MultiplexSummary = (output, context) => {
|
|
10544
10544
|
return {
|
|
10545
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
10545
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
10546
10546
|
AvailabilityZones: output.availabilityZones !== undefined && output.availabilityZones !== null
|
|
10547
10547
|
? deserializeAws_restJson1__listOf__string(output.availabilityZones, context)
|
|
10548
10548
|
: undefined,
|
|
10549
|
-
Id: smithy_client_1.expectString(output.id),
|
|
10549
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
10550
10550
|
MultiplexSettings: output.multiplexSettings !== undefined && output.multiplexSettings !== null
|
|
10551
10551
|
? deserializeAws_restJson1MultiplexSettingsSummary(output.multiplexSettings, context)
|
|
10552
10552
|
: undefined,
|
|
10553
|
-
Name: smithy_client_1.expectString(output.name),
|
|
10554
|
-
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
10555
|
-
ProgramCount: smithy_client_1.expectInt32(output.programCount),
|
|
10556
|
-
State: smithy_client_1.expectString(output.state),
|
|
10553
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
10554
|
+
PipelinesRunningCount: (0, smithy_client_1.expectInt32)(output.pipelinesRunningCount),
|
|
10555
|
+
ProgramCount: (0, smithy_client_1.expectInt32)(output.programCount),
|
|
10556
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
10557
10557
|
Tags: output.tags !== undefined && output.tags !== null
|
|
10558
10558
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
10559
10559
|
: undefined,
|
|
@@ -10561,7 +10561,7 @@ const deserializeAws_restJson1MultiplexSummary = (output, context) => {
|
|
|
10561
10561
|
};
|
|
10562
10562
|
const deserializeAws_restJson1MultiplexVideoSettings = (output, context) => {
|
|
10563
10563
|
return {
|
|
10564
|
-
ConstantBitrate: smithy_client_1.expectInt32(output.constantBitrate),
|
|
10564
|
+
ConstantBitrate: (0, smithy_client_1.expectInt32)(output.constantBitrate),
|
|
10565
10565
|
StatmuxSettings: output.statmuxSettings !== undefined && output.statmuxSettings !== null
|
|
10566
10566
|
? deserializeAws_restJson1MultiplexStatmuxVideoSettings(output.statmuxSettings, context)
|
|
10567
10567
|
: undefined,
|
|
@@ -10572,26 +10572,26 @@ const deserializeAws_restJson1NetworkInputSettings = (output, context) => {
|
|
|
10572
10572
|
HlsInputSettings: output.hlsInputSettings !== undefined && output.hlsInputSettings !== null
|
|
10573
10573
|
? deserializeAws_restJson1HlsInputSettings(output.hlsInputSettings, context)
|
|
10574
10574
|
: undefined,
|
|
10575
|
-
ServerValidation: smithy_client_1.expectString(output.serverValidation),
|
|
10575
|
+
ServerValidation: (0, smithy_client_1.expectString)(output.serverValidation),
|
|
10576
10576
|
};
|
|
10577
10577
|
};
|
|
10578
10578
|
const deserializeAws_restJson1NielsenCBET = (output, context) => {
|
|
10579
10579
|
return {
|
|
10580
|
-
CbetCheckDigitString: smithy_client_1.expectString(output.cbetCheckDigitString),
|
|
10581
|
-
CbetStepaside: smithy_client_1.expectString(output.cbetStepaside),
|
|
10582
|
-
Csid: smithy_client_1.expectString(output.csid),
|
|
10580
|
+
CbetCheckDigitString: (0, smithy_client_1.expectString)(output.cbetCheckDigitString),
|
|
10581
|
+
CbetStepaside: (0, smithy_client_1.expectString)(output.cbetStepaside),
|
|
10582
|
+
Csid: (0, smithy_client_1.expectString)(output.csid),
|
|
10583
10583
|
};
|
|
10584
10584
|
};
|
|
10585
10585
|
const deserializeAws_restJson1NielsenConfiguration = (output, context) => {
|
|
10586
10586
|
return {
|
|
10587
|
-
DistributorId: smithy_client_1.expectString(output.distributorId),
|
|
10588
|
-
NielsenPcmToId3Tagging: smithy_client_1.expectString(output.nielsenPcmToId3Tagging),
|
|
10587
|
+
DistributorId: (0, smithy_client_1.expectString)(output.distributorId),
|
|
10588
|
+
NielsenPcmToId3Tagging: (0, smithy_client_1.expectString)(output.nielsenPcmToId3Tagging),
|
|
10589
10589
|
};
|
|
10590
10590
|
};
|
|
10591
10591
|
const deserializeAws_restJson1NielsenNaesIiNw = (output, context) => {
|
|
10592
10592
|
return {
|
|
10593
|
-
CheckDigitString: smithy_client_1.expectString(output.checkDigitString),
|
|
10594
|
-
Sid: smithy_client_1.limitedParseDouble(output.sid),
|
|
10593
|
+
CheckDigitString: (0, smithy_client_1.expectString)(output.checkDigitString),
|
|
10594
|
+
Sid: (0, smithy_client_1.limitedParseDouble)(output.sid),
|
|
10595
10595
|
};
|
|
10596
10596
|
};
|
|
10597
10597
|
const deserializeAws_restJson1NielsenWatermarksSettings = (output, context) => {
|
|
@@ -10599,7 +10599,7 @@ const deserializeAws_restJson1NielsenWatermarksSettings = (output, context) => {
|
|
|
10599
10599
|
NielsenCbetSettings: output.nielsenCbetSettings !== undefined && output.nielsenCbetSettings !== null
|
|
10600
10600
|
? deserializeAws_restJson1NielsenCBET(output.nielsenCbetSettings, context)
|
|
10601
10601
|
: undefined,
|
|
10602
|
-
NielsenDistributionType: smithy_client_1.expectString(output.nielsenDistributionType),
|
|
10602
|
+
NielsenDistributionType: (0, smithy_client_1.expectString)(output.nielsenDistributionType),
|
|
10603
10603
|
NielsenNaesIiNwSettings: output.nielsenNaesIiNwSettings !== undefined && output.nielsenNaesIiNwSettings !== null
|
|
10604
10604
|
? deserializeAws_restJson1NielsenNaesIiNw(output.nielsenNaesIiNwSettings, context)
|
|
10605
10605
|
: undefined,
|
|
@@ -10607,19 +10607,19 @@ const deserializeAws_restJson1NielsenWatermarksSettings = (output, context) => {
|
|
|
10607
10607
|
};
|
|
10608
10608
|
const deserializeAws_restJson1Offering = (output, context) => {
|
|
10609
10609
|
return {
|
|
10610
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
10611
|
-
CurrencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
10612
|
-
Duration: smithy_client_1.expectInt32(output.duration),
|
|
10613
|
-
DurationUnits: smithy_client_1.expectString(output.durationUnits),
|
|
10614
|
-
FixedPrice: smithy_client_1.limitedParseDouble(output.fixedPrice),
|
|
10615
|
-
OfferingDescription: smithy_client_1.expectString(output.offeringDescription),
|
|
10616
|
-
OfferingId: smithy_client_1.expectString(output.offeringId),
|
|
10617
|
-
OfferingType: smithy_client_1.expectString(output.offeringType),
|
|
10618
|
-
Region: smithy_client_1.expectString(output.region),
|
|
10610
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
10611
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.currencyCode),
|
|
10612
|
+
Duration: (0, smithy_client_1.expectInt32)(output.duration),
|
|
10613
|
+
DurationUnits: (0, smithy_client_1.expectString)(output.durationUnits),
|
|
10614
|
+
FixedPrice: (0, smithy_client_1.limitedParseDouble)(output.fixedPrice),
|
|
10615
|
+
OfferingDescription: (0, smithy_client_1.expectString)(output.offeringDescription),
|
|
10616
|
+
OfferingId: (0, smithy_client_1.expectString)(output.offeringId),
|
|
10617
|
+
OfferingType: (0, smithy_client_1.expectString)(output.offeringType),
|
|
10618
|
+
Region: (0, smithy_client_1.expectString)(output.region),
|
|
10619
10619
|
ResourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
|
|
10620
10620
|
? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
|
|
10621
10621
|
: undefined,
|
|
10622
|
-
UsagePrice: smithy_client_1.limitedParseDouble(output.usagePrice),
|
|
10622
|
+
UsagePrice: (0, smithy_client_1.limitedParseDouble)(output.usagePrice),
|
|
10623
10623
|
};
|
|
10624
10624
|
};
|
|
10625
10625
|
const deserializeAws_restJson1Output = (output, context) => {
|
|
@@ -10630,16 +10630,16 @@ const deserializeAws_restJson1Output = (output, context) => {
|
|
|
10630
10630
|
CaptionDescriptionNames: output.captionDescriptionNames !== undefined && output.captionDescriptionNames !== null
|
|
10631
10631
|
? deserializeAws_restJson1__listOf__string(output.captionDescriptionNames, context)
|
|
10632
10632
|
: undefined,
|
|
10633
|
-
OutputName: smithy_client_1.expectString(output.outputName),
|
|
10633
|
+
OutputName: (0, smithy_client_1.expectString)(output.outputName),
|
|
10634
10634
|
OutputSettings: output.outputSettings !== undefined && output.outputSettings !== null
|
|
10635
10635
|
? deserializeAws_restJson1OutputSettings(output.outputSettings, context)
|
|
10636
10636
|
: undefined,
|
|
10637
|
-
VideoDescriptionName: smithy_client_1.expectString(output.videoDescriptionName),
|
|
10637
|
+
VideoDescriptionName: (0, smithy_client_1.expectString)(output.videoDescriptionName),
|
|
10638
10638
|
};
|
|
10639
10639
|
};
|
|
10640
10640
|
const deserializeAws_restJson1OutputDestination = (output, context) => {
|
|
10641
10641
|
return {
|
|
10642
|
-
Id: smithy_client_1.expectString(output.id),
|
|
10642
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
10643
10643
|
MediaPackageSettings: output.mediaPackageSettings !== undefined && output.mediaPackageSettings !== null
|
|
10644
10644
|
? deserializeAws_restJson1__listOfMediaPackageOutputDestinationSettings(output.mediaPackageSettings, context)
|
|
10645
10645
|
: undefined,
|
|
@@ -10653,15 +10653,15 @@ const deserializeAws_restJson1OutputDestination = (output, context) => {
|
|
|
10653
10653
|
};
|
|
10654
10654
|
const deserializeAws_restJson1OutputDestinationSettings = (output, context) => {
|
|
10655
10655
|
return {
|
|
10656
|
-
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
10657
|
-
StreamName: smithy_client_1.expectString(output.streamName),
|
|
10658
|
-
Url: smithy_client_1.expectString(output.url),
|
|
10659
|
-
Username: smithy_client_1.expectString(output.username),
|
|
10656
|
+
PasswordParam: (0, smithy_client_1.expectString)(output.passwordParam),
|
|
10657
|
+
StreamName: (0, smithy_client_1.expectString)(output.streamName),
|
|
10658
|
+
Url: (0, smithy_client_1.expectString)(output.url),
|
|
10659
|
+
Username: (0, smithy_client_1.expectString)(output.username),
|
|
10660
10660
|
};
|
|
10661
10661
|
};
|
|
10662
10662
|
const deserializeAws_restJson1OutputGroup = (output, context) => {
|
|
10663
10663
|
return {
|
|
10664
|
-
Name: smithy_client_1.expectString(output.name),
|
|
10664
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
10665
10665
|
OutputGroupSettings: output.outputGroupSettings !== undefined && output.outputGroupSettings !== null
|
|
10666
10666
|
? deserializeAws_restJson1OutputGroupSettings(output.outputGroupSettings, context)
|
|
10667
10667
|
: undefined,
|
|
@@ -10700,7 +10700,7 @@ const deserializeAws_restJson1OutputGroupSettings = (output, context) => {
|
|
|
10700
10700
|
};
|
|
10701
10701
|
const deserializeAws_restJson1OutputLocationRef = (output, context) => {
|
|
10702
10702
|
return {
|
|
10703
|
-
DestinationRefId: smithy_client_1.expectString(output.destinationRefId),
|
|
10703
|
+
DestinationRefId: (0, smithy_client_1.expectString)(output.destinationRefId),
|
|
10704
10704
|
};
|
|
10705
10705
|
};
|
|
10706
10706
|
const deserializeAws_restJson1OutputSettings = (output, context) => {
|
|
@@ -10743,16 +10743,16 @@ const deserializeAws_restJson1PauseStateScheduleActionSettings = (output, contex
|
|
|
10743
10743
|
};
|
|
10744
10744
|
const deserializeAws_restJson1PipelineDetail = (output, context) => {
|
|
10745
10745
|
return {
|
|
10746
|
-
ActiveInputAttachmentName: smithy_client_1.expectString(output.activeInputAttachmentName),
|
|
10747
|
-
ActiveInputSwitchActionName: smithy_client_1.expectString(output.activeInputSwitchActionName),
|
|
10748
|
-
ActiveMotionGraphicsActionName: smithy_client_1.expectString(output.activeMotionGraphicsActionName),
|
|
10749
|
-
ActiveMotionGraphicsUri: smithy_client_1.expectString(output.activeMotionGraphicsUri),
|
|
10750
|
-
PipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
10746
|
+
ActiveInputAttachmentName: (0, smithy_client_1.expectString)(output.activeInputAttachmentName),
|
|
10747
|
+
ActiveInputSwitchActionName: (0, smithy_client_1.expectString)(output.activeInputSwitchActionName),
|
|
10748
|
+
ActiveMotionGraphicsActionName: (0, smithy_client_1.expectString)(output.activeMotionGraphicsActionName),
|
|
10749
|
+
ActiveMotionGraphicsUri: (0, smithy_client_1.expectString)(output.activeMotionGraphicsUri),
|
|
10750
|
+
PipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
10751
10751
|
};
|
|
10752
10752
|
};
|
|
10753
10753
|
const deserializeAws_restJson1PipelinePauseStateSettings = (output, context) => {
|
|
10754
10754
|
return {
|
|
10755
|
-
PipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
10755
|
+
PipelineId: (0, smithy_client_1.expectString)(output.pipelineId),
|
|
10756
10756
|
};
|
|
10757
10757
|
};
|
|
10758
10758
|
const deserializeAws_restJson1RawSettings = (output, context) => {
|
|
@@ -10769,46 +10769,46 @@ const deserializeAws_restJson1RemixSettings = (output, context) => {
|
|
|
10769
10769
|
ChannelMappings: output.channelMappings !== undefined && output.channelMappings !== null
|
|
10770
10770
|
? deserializeAws_restJson1__listOfAudioChannelMapping(output.channelMappings, context)
|
|
10771
10771
|
: undefined,
|
|
10772
|
-
ChannelsIn: smithy_client_1.expectInt32(output.channelsIn),
|
|
10773
|
-
ChannelsOut: smithy_client_1.expectInt32(output.channelsOut),
|
|
10772
|
+
ChannelsIn: (0, smithy_client_1.expectInt32)(output.channelsIn),
|
|
10773
|
+
ChannelsOut: (0, smithy_client_1.expectInt32)(output.channelsOut),
|
|
10774
10774
|
};
|
|
10775
10775
|
};
|
|
10776
10776
|
const deserializeAws_restJson1Reservation = (output, context) => {
|
|
10777
10777
|
return {
|
|
10778
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
10779
|
-
Count: smithy_client_1.expectInt32(output.count),
|
|
10780
|
-
CurrencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
10781
|
-
Duration: smithy_client_1.expectInt32(output.duration),
|
|
10782
|
-
DurationUnits: smithy_client_1.expectString(output.durationUnits),
|
|
10783
|
-
End: smithy_client_1.expectString(output.end),
|
|
10784
|
-
FixedPrice: smithy_client_1.limitedParseDouble(output.fixedPrice),
|
|
10785
|
-
Name: smithy_client_1.expectString(output.name),
|
|
10786
|
-
OfferingDescription: smithy_client_1.expectString(output.offeringDescription),
|
|
10787
|
-
OfferingId: smithy_client_1.expectString(output.offeringId),
|
|
10788
|
-
OfferingType: smithy_client_1.expectString(output.offeringType),
|
|
10789
|
-
Region: smithy_client_1.expectString(output.region),
|
|
10790
|
-
ReservationId: smithy_client_1.expectString(output.reservationId),
|
|
10778
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
10779
|
+
Count: (0, smithy_client_1.expectInt32)(output.count),
|
|
10780
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.currencyCode),
|
|
10781
|
+
Duration: (0, smithy_client_1.expectInt32)(output.duration),
|
|
10782
|
+
DurationUnits: (0, smithy_client_1.expectString)(output.durationUnits),
|
|
10783
|
+
End: (0, smithy_client_1.expectString)(output.end),
|
|
10784
|
+
FixedPrice: (0, smithy_client_1.limitedParseDouble)(output.fixedPrice),
|
|
10785
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
10786
|
+
OfferingDescription: (0, smithy_client_1.expectString)(output.offeringDescription),
|
|
10787
|
+
OfferingId: (0, smithy_client_1.expectString)(output.offeringId),
|
|
10788
|
+
OfferingType: (0, smithy_client_1.expectString)(output.offeringType),
|
|
10789
|
+
Region: (0, smithy_client_1.expectString)(output.region),
|
|
10790
|
+
ReservationId: (0, smithy_client_1.expectString)(output.reservationId),
|
|
10791
10791
|
ResourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
|
|
10792
10792
|
? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
|
|
10793
10793
|
: undefined,
|
|
10794
|
-
Start: smithy_client_1.expectString(output.start),
|
|
10795
|
-
State: smithy_client_1.expectString(output.state),
|
|
10794
|
+
Start: (0, smithy_client_1.expectString)(output.start),
|
|
10795
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
10796
10796
|
Tags: output.tags !== undefined && output.tags !== null
|
|
10797
10797
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
10798
10798
|
: undefined,
|
|
10799
|
-
UsagePrice: smithy_client_1.limitedParseDouble(output.usagePrice),
|
|
10799
|
+
UsagePrice: (0, smithy_client_1.limitedParseDouble)(output.usagePrice),
|
|
10800
10800
|
};
|
|
10801
10801
|
};
|
|
10802
10802
|
const deserializeAws_restJson1ReservationResourceSpecification = (output, context) => {
|
|
10803
10803
|
return {
|
|
10804
|
-
ChannelClass: smithy_client_1.expectString(output.channelClass),
|
|
10805
|
-
Codec: smithy_client_1.expectString(output.codec),
|
|
10806
|
-
MaximumBitrate: smithy_client_1.expectString(output.maximumBitrate),
|
|
10807
|
-
MaximumFramerate: smithy_client_1.expectString(output.maximumFramerate),
|
|
10808
|
-
Resolution: smithy_client_1.expectString(output.resolution),
|
|
10809
|
-
ResourceType: smithy_client_1.expectString(output.resourceType),
|
|
10810
|
-
SpecialFeature: smithy_client_1.expectString(output.specialFeature),
|
|
10811
|
-
VideoQuality: smithy_client_1.expectString(output.videoQuality),
|
|
10804
|
+
ChannelClass: (0, smithy_client_1.expectString)(output.channelClass),
|
|
10805
|
+
Codec: (0, smithy_client_1.expectString)(output.codec),
|
|
10806
|
+
MaximumBitrate: (0, smithy_client_1.expectString)(output.maximumBitrate),
|
|
10807
|
+
MaximumFramerate: (0, smithy_client_1.expectString)(output.maximumFramerate),
|
|
10808
|
+
Resolution: (0, smithy_client_1.expectString)(output.resolution),
|
|
10809
|
+
ResourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
10810
|
+
SpecialFeature: (0, smithy_client_1.expectString)(output.specialFeature),
|
|
10811
|
+
VideoQuality: (0, smithy_client_1.expectString)(output.videoQuality),
|
|
10812
10812
|
};
|
|
10813
10813
|
};
|
|
10814
10814
|
const deserializeAws_restJson1RtmpCaptionInfoDestinationSettings = (output, context) => {
|
|
@@ -10819,27 +10819,27 @@ const deserializeAws_restJson1RtmpGroupSettings = (output, context) => {
|
|
|
10819
10819
|
AdMarkers: output.adMarkers !== undefined && output.adMarkers !== null
|
|
10820
10820
|
? deserializeAws_restJson1__listOfRtmpAdMarkers(output.adMarkers, context)
|
|
10821
10821
|
: undefined,
|
|
10822
|
-
AuthenticationScheme: smithy_client_1.expectString(output.authenticationScheme),
|
|
10823
|
-
CacheFullBehavior: smithy_client_1.expectString(output.cacheFullBehavior),
|
|
10824
|
-
CacheLength: smithy_client_1.expectInt32(output.cacheLength),
|
|
10825
|
-
CaptionData: smithy_client_1.expectString(output.captionData),
|
|
10826
|
-
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
10827
|
-
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
10822
|
+
AuthenticationScheme: (0, smithy_client_1.expectString)(output.authenticationScheme),
|
|
10823
|
+
CacheFullBehavior: (0, smithy_client_1.expectString)(output.cacheFullBehavior),
|
|
10824
|
+
CacheLength: (0, smithy_client_1.expectInt32)(output.cacheLength),
|
|
10825
|
+
CaptionData: (0, smithy_client_1.expectString)(output.captionData),
|
|
10826
|
+
InputLossAction: (0, smithy_client_1.expectString)(output.inputLossAction),
|
|
10827
|
+
RestartDelay: (0, smithy_client_1.expectInt32)(output.restartDelay),
|
|
10828
10828
|
};
|
|
10829
10829
|
};
|
|
10830
10830
|
const deserializeAws_restJson1RtmpOutputSettings = (output, context) => {
|
|
10831
10831
|
return {
|
|
10832
|
-
CertificateMode: smithy_client_1.expectString(output.certificateMode),
|
|
10833
|
-
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
10832
|
+
CertificateMode: (0, smithy_client_1.expectString)(output.certificateMode),
|
|
10833
|
+
ConnectionRetryInterval: (0, smithy_client_1.expectInt32)(output.connectionRetryInterval),
|
|
10834
10834
|
Destination: output.destination !== undefined && output.destination !== null
|
|
10835
10835
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
10836
10836
|
: undefined,
|
|
10837
|
-
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
10837
|
+
NumRetries: (0, smithy_client_1.expectInt32)(output.numRetries),
|
|
10838
10838
|
};
|
|
10839
10839
|
};
|
|
10840
10840
|
const deserializeAws_restJson1ScheduleAction = (output, context) => {
|
|
10841
10841
|
return {
|
|
10842
|
-
ActionName: smithy_client_1.expectString(output.actionName),
|
|
10842
|
+
ActionName: (0, smithy_client_1.expectString)(output.actionName),
|
|
10843
10843
|
ScheduleActionSettings: output.scheduleActionSettings !== undefined && output.scheduleActionSettings !== null
|
|
10844
10844
|
? deserializeAws_restJson1ScheduleActionSettings(output.scheduleActionSettings, context)
|
|
10845
10845
|
: undefined,
|
|
@@ -10909,8 +10909,8 @@ const deserializeAws_restJson1Scte20PlusEmbeddedDestinationSettings = (output, c
|
|
|
10909
10909
|
};
|
|
10910
10910
|
const deserializeAws_restJson1Scte20SourceSettings = (output, context) => {
|
|
10911
10911
|
return {
|
|
10912
|
-
Convert608To708: smithy_client_1.expectString(output.convert608To708),
|
|
10913
|
-
Source608ChannelNumber: smithy_client_1.expectInt32(output.source608ChannelNumber),
|
|
10912
|
+
Convert608To708: (0, smithy_client_1.expectString)(output.convert608To708),
|
|
10913
|
+
Source608ChannelNumber: (0, smithy_client_1.expectInt32)(output.source608ChannelNumber),
|
|
10914
10914
|
};
|
|
10915
10915
|
};
|
|
10916
10916
|
const deserializeAws_restJson1Scte27DestinationSettings = (output, context) => {
|
|
@@ -10918,16 +10918,16 @@ const deserializeAws_restJson1Scte27DestinationSettings = (output, context) => {
|
|
|
10918
10918
|
};
|
|
10919
10919
|
const deserializeAws_restJson1Scte27SourceSettings = (output, context) => {
|
|
10920
10920
|
return {
|
|
10921
|
-
OcrLanguage: smithy_client_1.expectString(output.ocrLanguage),
|
|
10922
|
-
Pid: smithy_client_1.expectInt32(output.pid),
|
|
10921
|
+
OcrLanguage: (0, smithy_client_1.expectString)(output.ocrLanguage),
|
|
10922
|
+
Pid: (0, smithy_client_1.expectInt32)(output.pid),
|
|
10923
10923
|
};
|
|
10924
10924
|
};
|
|
10925
10925
|
const deserializeAws_restJson1Scte35DeliveryRestrictions = (output, context) => {
|
|
10926
10926
|
return {
|
|
10927
|
-
ArchiveAllowedFlag: smithy_client_1.expectString(output.archiveAllowedFlag),
|
|
10928
|
-
DeviceRestrictions: smithy_client_1.expectString(output.deviceRestrictions),
|
|
10929
|
-
NoRegionalBlackoutFlag: smithy_client_1.expectString(output.noRegionalBlackoutFlag),
|
|
10930
|
-
WebDeliveryAllowedFlag: smithy_client_1.expectString(output.webDeliveryAllowedFlag),
|
|
10927
|
+
ArchiveAllowedFlag: (0, smithy_client_1.expectString)(output.archiveAllowedFlag),
|
|
10928
|
+
DeviceRestrictions: (0, smithy_client_1.expectString)(output.deviceRestrictions),
|
|
10929
|
+
NoRegionalBlackoutFlag: (0, smithy_client_1.expectString)(output.noRegionalBlackoutFlag),
|
|
10930
|
+
WebDeliveryAllowedFlag: (0, smithy_client_1.expectString)(output.webDeliveryAllowedFlag),
|
|
10931
10931
|
};
|
|
10932
10932
|
};
|
|
10933
10933
|
const deserializeAws_restJson1Scte35Descriptor = (output, context) => {
|
|
@@ -10947,7 +10947,7 @@ const deserializeAws_restJson1Scte35DescriptorSettings = (output, context) => {
|
|
|
10947
10947
|
};
|
|
10948
10948
|
const deserializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings = (output, context) => {
|
|
10949
10949
|
return {
|
|
10950
|
-
SpliceEventId: smithy_client_1.expectLong(output.spliceEventId),
|
|
10950
|
+
SpliceEventId: (0, smithy_client_1.expectLong)(output.spliceEventId),
|
|
10951
10951
|
};
|
|
10952
10952
|
};
|
|
10953
10953
|
const deserializeAws_restJson1Scte35SegmentationDescriptor = (output, context) => {
|
|
@@ -10955,36 +10955,36 @@ const deserializeAws_restJson1Scte35SegmentationDescriptor = (output, context) =
|
|
|
10955
10955
|
DeliveryRestrictions: output.deliveryRestrictions !== undefined && output.deliveryRestrictions !== null
|
|
10956
10956
|
? deserializeAws_restJson1Scte35DeliveryRestrictions(output.deliveryRestrictions, context)
|
|
10957
10957
|
: undefined,
|
|
10958
|
-
SegmentNum: smithy_client_1.expectInt32(output.segmentNum),
|
|
10959
|
-
SegmentationCancelIndicator: smithy_client_1.expectString(output.segmentationCancelIndicator),
|
|
10960
|
-
SegmentationDuration: smithy_client_1.expectLong(output.segmentationDuration),
|
|
10961
|
-
SegmentationEventId: smithy_client_1.expectLong(output.segmentationEventId),
|
|
10962
|
-
SegmentationTypeId: smithy_client_1.expectInt32(output.segmentationTypeId),
|
|
10963
|
-
SegmentationUpid: smithy_client_1.expectString(output.segmentationUpid),
|
|
10964
|
-
SegmentationUpidType: smithy_client_1.expectInt32(output.segmentationUpidType),
|
|
10965
|
-
SegmentsExpected: smithy_client_1.expectInt32(output.segmentsExpected),
|
|
10966
|
-
SubSegmentNum: smithy_client_1.expectInt32(output.subSegmentNum),
|
|
10967
|
-
SubSegmentsExpected: smithy_client_1.expectInt32(output.subSegmentsExpected),
|
|
10958
|
+
SegmentNum: (0, smithy_client_1.expectInt32)(output.segmentNum),
|
|
10959
|
+
SegmentationCancelIndicator: (0, smithy_client_1.expectString)(output.segmentationCancelIndicator),
|
|
10960
|
+
SegmentationDuration: (0, smithy_client_1.expectLong)(output.segmentationDuration),
|
|
10961
|
+
SegmentationEventId: (0, smithy_client_1.expectLong)(output.segmentationEventId),
|
|
10962
|
+
SegmentationTypeId: (0, smithy_client_1.expectInt32)(output.segmentationTypeId),
|
|
10963
|
+
SegmentationUpid: (0, smithy_client_1.expectString)(output.segmentationUpid),
|
|
10964
|
+
SegmentationUpidType: (0, smithy_client_1.expectInt32)(output.segmentationUpidType),
|
|
10965
|
+
SegmentsExpected: (0, smithy_client_1.expectInt32)(output.segmentsExpected),
|
|
10966
|
+
SubSegmentNum: (0, smithy_client_1.expectInt32)(output.subSegmentNum),
|
|
10967
|
+
SubSegmentsExpected: (0, smithy_client_1.expectInt32)(output.subSegmentsExpected),
|
|
10968
10968
|
};
|
|
10969
10969
|
};
|
|
10970
10970
|
const deserializeAws_restJson1Scte35SpliceInsert = (output, context) => {
|
|
10971
10971
|
return {
|
|
10972
|
-
AdAvailOffset: smithy_client_1.expectInt32(output.adAvailOffset),
|
|
10973
|
-
NoRegionalBlackoutFlag: smithy_client_1.expectString(output.noRegionalBlackoutFlag),
|
|
10974
|
-
WebDeliveryAllowedFlag: smithy_client_1.expectString(output.webDeliveryAllowedFlag),
|
|
10972
|
+
AdAvailOffset: (0, smithy_client_1.expectInt32)(output.adAvailOffset),
|
|
10973
|
+
NoRegionalBlackoutFlag: (0, smithy_client_1.expectString)(output.noRegionalBlackoutFlag),
|
|
10974
|
+
WebDeliveryAllowedFlag: (0, smithy_client_1.expectString)(output.webDeliveryAllowedFlag),
|
|
10975
10975
|
};
|
|
10976
10976
|
};
|
|
10977
10977
|
const deserializeAws_restJson1Scte35SpliceInsertScheduleActionSettings = (output, context) => {
|
|
10978
10978
|
return {
|
|
10979
|
-
Duration: smithy_client_1.expectLong(output.duration),
|
|
10980
|
-
SpliceEventId: smithy_client_1.expectLong(output.spliceEventId),
|
|
10979
|
+
Duration: (0, smithy_client_1.expectLong)(output.duration),
|
|
10980
|
+
SpliceEventId: (0, smithy_client_1.expectLong)(output.spliceEventId),
|
|
10981
10981
|
};
|
|
10982
10982
|
};
|
|
10983
10983
|
const deserializeAws_restJson1Scte35TimeSignalApos = (output, context) => {
|
|
10984
10984
|
return {
|
|
10985
|
-
AdAvailOffset: smithy_client_1.expectInt32(output.adAvailOffset),
|
|
10986
|
-
NoRegionalBlackoutFlag: smithy_client_1.expectString(output.noRegionalBlackoutFlag),
|
|
10987
|
-
WebDeliveryAllowedFlag: smithy_client_1.expectString(output.webDeliveryAllowedFlag),
|
|
10985
|
+
AdAvailOffset: (0, smithy_client_1.expectInt32)(output.adAvailOffset),
|
|
10986
|
+
NoRegionalBlackoutFlag: (0, smithy_client_1.expectString)(output.noRegionalBlackoutFlag),
|
|
10987
|
+
WebDeliveryAllowedFlag: (0, smithy_client_1.expectString)(output.webDeliveryAllowedFlag),
|
|
10988
10988
|
};
|
|
10989
10989
|
};
|
|
10990
10990
|
const deserializeAws_restJson1Scte35TimeSignalScheduleActionSettings = (output, context) => {
|
|
@@ -10999,7 +10999,7 @@ const deserializeAws_restJson1SmpteTtDestinationSettings = (output, context) =>
|
|
|
10999
10999
|
};
|
|
11000
11000
|
const deserializeAws_restJson1StandardHlsSettings = (output, context) => {
|
|
11001
11001
|
return {
|
|
11002
|
-
AudioRenditionSets: smithy_client_1.expectString(output.audioRenditionSets),
|
|
11002
|
+
AudioRenditionSets: (0, smithy_client_1.expectString)(output.audioRenditionSets),
|
|
11003
11003
|
M3u8Settings: output.m3u8Settings !== undefined && output.m3u8Settings !== null
|
|
11004
11004
|
? deserializeAws_restJson1M3u8Settings(output.m3u8Settings, context)
|
|
11005
11005
|
: undefined,
|
|
@@ -11007,29 +11007,29 @@ const deserializeAws_restJson1StandardHlsSettings = (output, context) => {
|
|
|
11007
11007
|
};
|
|
11008
11008
|
const deserializeAws_restJson1StartTimecode = (output, context) => {
|
|
11009
11009
|
return {
|
|
11010
|
-
Timecode: smithy_client_1.expectString(output.timecode),
|
|
11010
|
+
Timecode: (0, smithy_client_1.expectString)(output.timecode),
|
|
11011
11011
|
};
|
|
11012
11012
|
};
|
|
11013
11013
|
const deserializeAws_restJson1StaticImageActivateScheduleActionSettings = (output, context) => {
|
|
11014
11014
|
return {
|
|
11015
|
-
Duration: smithy_client_1.expectInt32(output.duration),
|
|
11016
|
-
FadeIn: smithy_client_1.expectInt32(output.fadeIn),
|
|
11017
|
-
FadeOut: smithy_client_1.expectInt32(output.fadeOut),
|
|
11018
|
-
Height: smithy_client_1.expectInt32(output.height),
|
|
11015
|
+
Duration: (0, smithy_client_1.expectInt32)(output.duration),
|
|
11016
|
+
FadeIn: (0, smithy_client_1.expectInt32)(output.fadeIn),
|
|
11017
|
+
FadeOut: (0, smithy_client_1.expectInt32)(output.fadeOut),
|
|
11018
|
+
Height: (0, smithy_client_1.expectInt32)(output.height),
|
|
11019
11019
|
Image: output.image !== undefined && output.image !== null
|
|
11020
11020
|
? deserializeAws_restJson1InputLocation(output.image, context)
|
|
11021
11021
|
: undefined,
|
|
11022
|
-
ImageX: smithy_client_1.expectInt32(output.imageX),
|
|
11023
|
-
ImageY: smithy_client_1.expectInt32(output.imageY),
|
|
11024
|
-
Layer: smithy_client_1.expectInt32(output.layer),
|
|
11025
|
-
Opacity: smithy_client_1.expectInt32(output.opacity),
|
|
11026
|
-
Width: smithy_client_1.expectInt32(output.width),
|
|
11022
|
+
ImageX: (0, smithy_client_1.expectInt32)(output.imageX),
|
|
11023
|
+
ImageY: (0, smithy_client_1.expectInt32)(output.imageY),
|
|
11024
|
+
Layer: (0, smithy_client_1.expectInt32)(output.layer),
|
|
11025
|
+
Opacity: (0, smithy_client_1.expectInt32)(output.opacity),
|
|
11026
|
+
Width: (0, smithy_client_1.expectInt32)(output.width),
|
|
11027
11027
|
};
|
|
11028
11028
|
};
|
|
11029
11029
|
const deserializeAws_restJson1StaticImageDeactivateScheduleActionSettings = (output, context) => {
|
|
11030
11030
|
return {
|
|
11031
|
-
FadeOut: smithy_client_1.expectInt32(output.fadeOut),
|
|
11032
|
-
Layer: smithy_client_1.expectInt32(output.layer),
|
|
11031
|
+
FadeOut: (0, smithy_client_1.expectInt32)(output.fadeOut),
|
|
11032
|
+
Layer: (0, smithy_client_1.expectInt32)(output.layer),
|
|
11033
11033
|
};
|
|
11034
11034
|
};
|
|
11035
11035
|
const deserializeAws_restJson1StaticKeySettings = (output, context) => {
|
|
@@ -11037,13 +11037,13 @@ const deserializeAws_restJson1StaticKeySettings = (output, context) => {
|
|
|
11037
11037
|
KeyProviderServer: output.keyProviderServer !== undefined && output.keyProviderServer !== null
|
|
11038
11038
|
? deserializeAws_restJson1InputLocation(output.keyProviderServer, context)
|
|
11039
11039
|
: undefined,
|
|
11040
|
-
StaticKeyValue: smithy_client_1.expectString(output.staticKeyValue),
|
|
11040
|
+
StaticKeyValue: (0, smithy_client_1.expectString)(output.staticKeyValue),
|
|
11041
11041
|
};
|
|
11042
11042
|
};
|
|
11043
11043
|
const deserializeAws_restJson1StopTimecode = (output, context) => {
|
|
11044
11044
|
return {
|
|
11045
|
-
LastFrameClippingBehavior: smithy_client_1.expectString(output.lastFrameClippingBehavior),
|
|
11046
|
-
Timecode: smithy_client_1.expectString(output.timecode),
|
|
11045
|
+
LastFrameClippingBehavior: (0, smithy_client_1.expectString)(output.lastFrameClippingBehavior),
|
|
11046
|
+
Timecode: (0, smithy_client_1.expectString)(output.timecode),
|
|
11047
11047
|
};
|
|
11048
11048
|
};
|
|
11049
11049
|
const deserializeAws_restJson1Tags = (output, context) => {
|
|
@@ -11053,7 +11053,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
11053
11053
|
}
|
|
11054
11054
|
return {
|
|
11055
11055
|
...acc,
|
|
11056
|
-
[key]: smithy_client_1.expectString(value),
|
|
11056
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
11057
11057
|
};
|
|
11058
11058
|
}, {});
|
|
11059
11059
|
};
|
|
@@ -11065,32 +11065,32 @@ const deserializeAws_restJson1TeletextSourceSettings = (output, context) => {
|
|
|
11065
11065
|
OutputRectangle: output.outputRectangle !== undefined && output.outputRectangle !== null
|
|
11066
11066
|
? deserializeAws_restJson1CaptionRectangle(output.outputRectangle, context)
|
|
11067
11067
|
: undefined,
|
|
11068
|
-
PageNumber: smithy_client_1.expectString(output.pageNumber),
|
|
11068
|
+
PageNumber: (0, smithy_client_1.expectString)(output.pageNumber),
|
|
11069
11069
|
};
|
|
11070
11070
|
};
|
|
11071
11071
|
const deserializeAws_restJson1TemporalFilterSettings = (output, context) => {
|
|
11072
11072
|
return {
|
|
11073
|
-
PostFilterSharpening: smithy_client_1.expectString(output.postFilterSharpening),
|
|
11074
|
-
Strength: smithy_client_1.expectString(output.strength),
|
|
11073
|
+
PostFilterSharpening: (0, smithy_client_1.expectString)(output.postFilterSharpening),
|
|
11074
|
+
Strength: (0, smithy_client_1.expectString)(output.strength),
|
|
11075
11075
|
};
|
|
11076
11076
|
};
|
|
11077
11077
|
const deserializeAws_restJson1TimecodeConfig = (output, context) => {
|
|
11078
11078
|
return {
|
|
11079
|
-
Source: smithy_client_1.expectString(output.source),
|
|
11080
|
-
SyncThreshold: smithy_client_1.expectInt32(output.syncThreshold),
|
|
11079
|
+
Source: (0, smithy_client_1.expectString)(output.source),
|
|
11080
|
+
SyncThreshold: (0, smithy_client_1.expectInt32)(output.syncThreshold),
|
|
11081
11081
|
};
|
|
11082
11082
|
};
|
|
11083
11083
|
const deserializeAws_restJson1TransferringInputDeviceSummary = (output, context) => {
|
|
11084
11084
|
return {
|
|
11085
|
-
Id: smithy_client_1.expectString(output.id),
|
|
11086
|
-
Message: smithy_client_1.expectString(output.message),
|
|
11087
|
-
TargetCustomerId: smithy_client_1.expectString(output.targetCustomerId),
|
|
11088
|
-
TransferType: smithy_client_1.expectString(output.transferType),
|
|
11085
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
11086
|
+
Message: (0, smithy_client_1.expectString)(output.message),
|
|
11087
|
+
TargetCustomerId: (0, smithy_client_1.expectString)(output.targetCustomerId),
|
|
11088
|
+
TransferType: (0, smithy_client_1.expectString)(output.transferType),
|
|
11089
11089
|
};
|
|
11090
11090
|
};
|
|
11091
11091
|
const deserializeAws_restJson1TtmlDestinationSettings = (output, context) => {
|
|
11092
11092
|
return {
|
|
11093
|
-
StyleControl: smithy_client_1.expectString(output.styleControl),
|
|
11093
|
+
StyleControl: (0, smithy_client_1.expectString)(output.styleControl),
|
|
11094
11094
|
};
|
|
11095
11095
|
};
|
|
11096
11096
|
const deserializeAws_restJson1UdpContainerSettings = (output, context) => {
|
|
@@ -11102,14 +11102,14 @@ const deserializeAws_restJson1UdpContainerSettings = (output, context) => {
|
|
|
11102
11102
|
};
|
|
11103
11103
|
const deserializeAws_restJson1UdpGroupSettings = (output, context) => {
|
|
11104
11104
|
return {
|
|
11105
|
-
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
11106
|
-
TimedMetadataId3Frame: smithy_client_1.expectString(output.timedMetadataId3Frame),
|
|
11107
|
-
TimedMetadataId3Period: smithy_client_1.expectInt32(output.timedMetadataId3Period),
|
|
11105
|
+
InputLossAction: (0, smithy_client_1.expectString)(output.inputLossAction),
|
|
11106
|
+
TimedMetadataId3Frame: (0, smithy_client_1.expectString)(output.timedMetadataId3Frame),
|
|
11107
|
+
TimedMetadataId3Period: (0, smithy_client_1.expectInt32)(output.timedMetadataId3Period),
|
|
11108
11108
|
};
|
|
11109
11109
|
};
|
|
11110
11110
|
const deserializeAws_restJson1UdpOutputSettings = (output, context) => {
|
|
11111
11111
|
return {
|
|
11112
|
-
BufferMsec: smithy_client_1.expectInt32(output.bufferMsec),
|
|
11112
|
+
BufferMsec: (0, smithy_client_1.expectInt32)(output.bufferMsec),
|
|
11113
11113
|
ContainerSettings: output.containerSettings !== undefined && output.containerSettings !== null
|
|
11114
11114
|
? deserializeAws_restJson1UdpContainerSettings(output.containerSettings, context)
|
|
11115
11115
|
: undefined,
|
|
@@ -11123,14 +11123,14 @@ const deserializeAws_restJson1UdpOutputSettings = (output, context) => {
|
|
|
11123
11123
|
};
|
|
11124
11124
|
const deserializeAws_restJson1ValidationError = (output, context) => {
|
|
11125
11125
|
return {
|
|
11126
|
-
ElementPath: smithy_client_1.expectString(output.elementPath),
|
|
11127
|
-
ErrorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
11126
|
+
ElementPath: (0, smithy_client_1.expectString)(output.elementPath),
|
|
11127
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
11128
11128
|
};
|
|
11129
11129
|
};
|
|
11130
11130
|
const deserializeAws_restJson1VideoBlackFailoverSettings = (output, context) => {
|
|
11131
11131
|
return {
|
|
11132
|
-
BlackDetectThreshold: smithy_client_1.limitedParseDouble(output.blackDetectThreshold),
|
|
11133
|
-
VideoBlackThresholdMsec: smithy_client_1.expectInt32(output.videoBlackThresholdMsec),
|
|
11132
|
+
BlackDetectThreshold: (0, smithy_client_1.limitedParseDouble)(output.blackDetectThreshold),
|
|
11133
|
+
VideoBlackThresholdMsec: (0, smithy_client_1.expectInt32)(output.videoBlackThresholdMsec),
|
|
11134
11134
|
};
|
|
11135
11135
|
};
|
|
11136
11136
|
const deserializeAws_restJson1VideoCodecSettings = (output, context) => {
|
|
@@ -11154,21 +11154,21 @@ const deserializeAws_restJson1VideoDescription = (output, context) => {
|
|
|
11154
11154
|
CodecSettings: output.codecSettings !== undefined && output.codecSettings !== null
|
|
11155
11155
|
? deserializeAws_restJson1VideoCodecSettings(output.codecSettings, context)
|
|
11156
11156
|
: undefined,
|
|
11157
|
-
Height: smithy_client_1.expectInt32(output.height),
|
|
11158
|
-
Name: smithy_client_1.expectString(output.name),
|
|
11159
|
-
RespondToAfd: smithy_client_1.expectString(output.respondToAfd),
|
|
11160
|
-
ScalingBehavior: smithy_client_1.expectString(output.scalingBehavior),
|
|
11161
|
-
Sharpness: smithy_client_1.expectInt32(output.sharpness),
|
|
11162
|
-
Width: smithy_client_1.expectInt32(output.width),
|
|
11157
|
+
Height: (0, smithy_client_1.expectInt32)(output.height),
|
|
11158
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
11159
|
+
RespondToAfd: (0, smithy_client_1.expectString)(output.respondToAfd),
|
|
11160
|
+
ScalingBehavior: (0, smithy_client_1.expectString)(output.scalingBehavior),
|
|
11161
|
+
Sharpness: (0, smithy_client_1.expectInt32)(output.sharpness),
|
|
11162
|
+
Width: (0, smithy_client_1.expectInt32)(output.width),
|
|
11163
11163
|
};
|
|
11164
11164
|
};
|
|
11165
11165
|
const deserializeAws_restJson1VideoSelector = (output, context) => {
|
|
11166
11166
|
return {
|
|
11167
|
-
ColorSpace: smithy_client_1.expectString(output.colorSpace),
|
|
11167
|
+
ColorSpace: (0, smithy_client_1.expectString)(output.colorSpace),
|
|
11168
11168
|
ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
|
|
11169
11169
|
? deserializeAws_restJson1VideoSelectorColorSpaceSettings(output.colorSpaceSettings, context)
|
|
11170
11170
|
: undefined,
|
|
11171
|
-
ColorSpaceUsage: smithy_client_1.expectString(output.colorSpaceUsage),
|
|
11171
|
+
ColorSpaceUsage: (0, smithy_client_1.expectString)(output.colorSpaceUsage),
|
|
11172
11172
|
SelectorSettings: output.selectorSettings !== undefined && output.selectorSettings !== null
|
|
11173
11173
|
? deserializeAws_restJson1VideoSelectorSettings(output.selectorSettings, context)
|
|
11174
11174
|
: undefined,
|
|
@@ -11183,12 +11183,12 @@ const deserializeAws_restJson1VideoSelectorColorSpaceSettings = (output, context
|
|
|
11183
11183
|
};
|
|
11184
11184
|
const deserializeAws_restJson1VideoSelectorPid = (output, context) => {
|
|
11185
11185
|
return {
|
|
11186
|
-
Pid: smithy_client_1.expectInt32(output.pid),
|
|
11186
|
+
Pid: (0, smithy_client_1.expectInt32)(output.pid),
|
|
11187
11187
|
};
|
|
11188
11188
|
};
|
|
11189
11189
|
const deserializeAws_restJson1VideoSelectorProgramId = (output, context) => {
|
|
11190
11190
|
return {
|
|
11191
|
-
ProgramId: smithy_client_1.expectInt32(output.programId),
|
|
11191
|
+
ProgramId: (0, smithy_client_1.expectInt32)(output.programId),
|
|
11192
11192
|
};
|
|
11193
11193
|
};
|
|
11194
11194
|
const deserializeAws_restJson1VideoSelectorSettings = (output, context) => {
|
|
@@ -11219,14 +11219,14 @@ const deserializeAws_restJson1VpcOutputSettingsDescription = (output, context) =
|
|
|
11219
11219
|
};
|
|
11220
11220
|
const deserializeAws_restJson1WavSettings = (output, context) => {
|
|
11221
11221
|
return {
|
|
11222
|
-
BitDepth: smithy_client_1.limitedParseDouble(output.bitDepth),
|
|
11223
|
-
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
11224
|
-
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
11222
|
+
BitDepth: (0, smithy_client_1.limitedParseDouble)(output.bitDepth),
|
|
11223
|
+
CodingMode: (0, smithy_client_1.expectString)(output.codingMode),
|
|
11224
|
+
SampleRate: (0, smithy_client_1.limitedParseDouble)(output.sampleRate),
|
|
11225
11225
|
};
|
|
11226
11226
|
};
|
|
11227
11227
|
const deserializeAws_restJson1WebvttDestinationSettings = (output, context) => {
|
|
11228
11228
|
return {
|
|
11229
|
-
StyleControl: smithy_client_1.expectString(output.styleControl),
|
|
11229
|
+
StyleControl: (0, smithy_client_1.expectString)(output.styleControl),
|
|
11230
11230
|
};
|
|
11231
11231
|
};
|
|
11232
11232
|
const deserializeMetadata = (output) => {
|