@aws-sdk/client-mediaconnect 3.29.0 → 3.33.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 +32 -0
- package/dist/cjs/MediaConnectClient.js +13 -13
- package/dist/cjs/MediaConnectClient.js.map +1 -1
- package/dist/cjs/commands/AddFlowMediaStreamsCommand.js +3 -3
- package/dist/cjs/commands/AddFlowMediaStreamsCommand.js.map +1 -1
- package/dist/cjs/commands/AddFlowOutputsCommand.js +3 -3
- package/dist/cjs/commands/AddFlowOutputsCommand.js.map +1 -1
- package/dist/cjs/commands/AddFlowSourcesCommand.js +3 -3
- package/dist/cjs/commands/AddFlowSourcesCommand.js.map +1 -1
- package/dist/cjs/commands/AddFlowVpcInterfacesCommand.js +3 -3
- package/dist/cjs/commands/AddFlowVpcInterfacesCommand.js.map +1 -1
- package/dist/cjs/commands/CreateFlowCommand.js +3 -3
- package/dist/cjs/commands/CreateFlowCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFlowCommand.js +3 -3
- package/dist/cjs/commands/DeleteFlowCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeFlowCommand.js +3 -3
- package/dist/cjs/commands/DescribeFlowCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeOfferingCommand.js +3 -3
- package/dist/cjs/commands/DescribeOfferingCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeReservationCommand.js +3 -3
- package/dist/cjs/commands/DescribeReservationCommand.js.map +1 -1
- package/dist/cjs/commands/GrantFlowEntitlementsCommand.js +3 -3
- package/dist/cjs/commands/GrantFlowEntitlementsCommand.js.map +1 -1
- package/dist/cjs/commands/ListEntitlementsCommand.js +3 -3
- package/dist/cjs/commands/ListEntitlementsCommand.js.map +1 -1
- package/dist/cjs/commands/ListFlowsCommand.js +3 -3
- package/dist/cjs/commands/ListFlowsCommand.js.map +1 -1
- package/dist/cjs/commands/ListOfferingsCommand.js +3 -3
- package/dist/cjs/commands/ListOfferingsCommand.js.map +1 -1
- package/dist/cjs/commands/ListReservationsCommand.js +3 -3
- package/dist/cjs/commands/ListReservationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PurchaseOfferingCommand.js +3 -3
- package/dist/cjs/commands/PurchaseOfferingCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveFlowMediaStreamCommand.js +3 -3
- package/dist/cjs/commands/RemoveFlowMediaStreamCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveFlowOutputCommand.js +3 -3
- package/dist/cjs/commands/RemoveFlowOutputCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveFlowSourceCommand.js +3 -3
- package/dist/cjs/commands/RemoveFlowSourceCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveFlowVpcInterfaceCommand.js +3 -3
- package/dist/cjs/commands/RemoveFlowVpcInterfaceCommand.js.map +1 -1
- package/dist/cjs/commands/RevokeFlowEntitlementCommand.js +3 -3
- package/dist/cjs/commands/RevokeFlowEntitlementCommand.js.map +1 -1
- package/dist/cjs/commands/StartFlowCommand.js +3 -3
- package/dist/cjs/commands/StartFlowCommand.js.map +1 -1
- package/dist/cjs/commands/StopFlowCommand.js +3 -3
- package/dist/cjs/commands/StopFlowCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFlowCommand.js +3 -3
- package/dist/cjs/commands/UpdateFlowCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFlowEntitlementCommand.js +3 -3
- package/dist/cjs/commands/UpdateFlowEntitlementCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFlowMediaStreamCommand.js +3 -3
- package/dist/cjs/commands/UpdateFlowMediaStreamCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFlowOutputCommand.js +3 -3
- package/dist/cjs/commands/UpdateFlowOutputCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFlowSourceCommand.js +3 -3
- package/dist/cjs/commands/UpdateFlowSourceCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +41 -41
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_restJson1.js +215 -215
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForFlowActive.js +3 -3
- package/dist/cjs/waiters/waitForFlowActive.js.map +1 -1
- package/dist/cjs/waiters/waitForFlowDeleted.js +3 -3
- package/dist/cjs/waiters/waitForFlowDeleted.js.map +1 -1
- package/dist/cjs/waiters/waitForFlowStandby.js +3 -3
- package/dist/cjs/waiters/waitForFlowStandby.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/pagination/ListEntitlementsPaginator.js +4 -4
- package/dist/es/pagination/ListEntitlementsPaginator.js.map +1 -1
- package/dist/es/pagination/ListFlowsPaginator.js +4 -4
- package/dist/es/pagination/ListFlowsPaginator.js.map +1 -1
- package/dist/es/pagination/ListOfferingsPaginator.js +4 -4
- package/dist/es/pagination/ListOfferingsPaginator.js.map +1 -1
- package/dist/es/pagination/ListReservationsPaginator.js +4 -4
- package/dist/es/pagination/ListReservationsPaginator.js.map +1 -1
- package/package.json +32 -32
- package/tsconfig.json +1 -2
|
@@ -15,7 +15,7 @@ const serializeAws_restJson1AddFlowMediaStreamsCommand = async (input, context)
|
|
|
15
15
|
if (labelValue.length <= 0) {
|
|
16
16
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
17
17
|
}
|
|
18
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
18
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
19
19
|
}
|
|
20
20
|
else {
|
|
21
21
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -49,7 +49,7 @@ const serializeAws_restJson1AddFlowOutputsCommand = async (input, context) => {
|
|
|
49
49
|
if (labelValue.length <= 0) {
|
|
50
50
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
51
51
|
}
|
|
52
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
52
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
55
55
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -81,7 +81,7 @@ const serializeAws_restJson1AddFlowSourcesCommand = async (input, context) => {
|
|
|
81
81
|
if (labelValue.length <= 0) {
|
|
82
82
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
83
83
|
}
|
|
84
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
84
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
87
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -113,7 +113,7 @@ const serializeAws_restJson1AddFlowVpcInterfacesCommand = async (input, context)
|
|
|
113
113
|
if (labelValue.length <= 0) {
|
|
114
114
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
115
115
|
}
|
|
116
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
116
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
117
117
|
}
|
|
118
118
|
else {
|
|
119
119
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -190,7 +190,7 @@ const serializeAws_restJson1DeleteFlowCommand = async (input, context) => {
|
|
|
190
190
|
if (labelValue.length <= 0) {
|
|
191
191
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
192
192
|
}
|
|
193
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
193
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
196
196
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -216,7 +216,7 @@ const serializeAws_restJson1DescribeFlowCommand = async (input, context) => {
|
|
|
216
216
|
if (labelValue.length <= 0) {
|
|
217
217
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
218
218
|
}
|
|
219
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
219
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
220
220
|
}
|
|
221
221
|
else {
|
|
222
222
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -242,7 +242,7 @@ const serializeAws_restJson1DescribeOfferingCommand = async (input, context) =>
|
|
|
242
242
|
if (labelValue.length <= 0) {
|
|
243
243
|
throw new Error("Empty value provided for input HTTP label: OfferingArn.");
|
|
244
244
|
}
|
|
245
|
-
resolvedPath = resolvedPath.replace("{OfferingArn}",
|
|
245
|
+
resolvedPath = resolvedPath.replace("{OfferingArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
248
248
|
throw new Error("No value provided for input HTTP label: OfferingArn.");
|
|
@@ -268,7 +268,7 @@ const serializeAws_restJson1DescribeReservationCommand = async (input, context)
|
|
|
268
268
|
if (labelValue.length <= 0) {
|
|
269
269
|
throw new Error("Empty value provided for input HTTP label: ReservationArn.");
|
|
270
270
|
}
|
|
271
|
-
resolvedPath = resolvedPath.replace("{ReservationArn}",
|
|
271
|
+
resolvedPath = resolvedPath.replace("{ReservationArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
272
272
|
}
|
|
273
273
|
else {
|
|
274
274
|
throw new Error("No value provided for input HTTP label: ReservationArn.");
|
|
@@ -296,7 +296,7 @@ const serializeAws_restJson1GrantFlowEntitlementsCommand = async (input, context
|
|
|
296
296
|
if (labelValue.length <= 0) {
|
|
297
297
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
298
298
|
}
|
|
299
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
299
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
300
300
|
}
|
|
301
301
|
else {
|
|
302
302
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -412,7 +412,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
412
412
|
if (labelValue.length <= 0) {
|
|
413
413
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
414
414
|
}
|
|
415
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
415
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
416
416
|
}
|
|
417
417
|
else {
|
|
418
418
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -440,7 +440,7 @@ const serializeAws_restJson1PurchaseOfferingCommand = async (input, context) =>
|
|
|
440
440
|
if (labelValue.length <= 0) {
|
|
441
441
|
throw new Error("Empty value provided for input HTTP label: OfferingArn.");
|
|
442
442
|
}
|
|
443
|
-
resolvedPath = resolvedPath.replace("{OfferingArn}",
|
|
443
|
+
resolvedPath = resolvedPath.replace("{OfferingArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
444
444
|
}
|
|
445
445
|
else {
|
|
446
446
|
throw new Error("No value provided for input HTTP label: OfferingArn.");
|
|
@@ -472,7 +472,7 @@ const serializeAws_restJson1RemoveFlowMediaStreamCommand = async (input, context
|
|
|
472
472
|
if (labelValue.length <= 0) {
|
|
473
473
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
474
474
|
}
|
|
475
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
475
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
476
476
|
}
|
|
477
477
|
else {
|
|
478
478
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -482,7 +482,7 @@ const serializeAws_restJson1RemoveFlowMediaStreamCommand = async (input, context
|
|
|
482
482
|
if (labelValue.length <= 0) {
|
|
483
483
|
throw new Error("Empty value provided for input HTTP label: MediaStreamName.");
|
|
484
484
|
}
|
|
485
|
-
resolvedPath = resolvedPath.replace("{MediaStreamName}",
|
|
485
|
+
resolvedPath = resolvedPath.replace("{MediaStreamName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
486
486
|
}
|
|
487
487
|
else {
|
|
488
488
|
throw new Error("No value provided for input HTTP label: MediaStreamName.");
|
|
@@ -508,7 +508,7 @@ const serializeAws_restJson1RemoveFlowOutputCommand = async (input, context) =>
|
|
|
508
508
|
if (labelValue.length <= 0) {
|
|
509
509
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
510
510
|
}
|
|
511
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
511
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
512
512
|
}
|
|
513
513
|
else {
|
|
514
514
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -518,7 +518,7 @@ const serializeAws_restJson1RemoveFlowOutputCommand = async (input, context) =>
|
|
|
518
518
|
if (labelValue.length <= 0) {
|
|
519
519
|
throw new Error("Empty value provided for input HTTP label: OutputArn.");
|
|
520
520
|
}
|
|
521
|
-
resolvedPath = resolvedPath.replace("{OutputArn}",
|
|
521
|
+
resolvedPath = resolvedPath.replace("{OutputArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
522
522
|
}
|
|
523
523
|
else {
|
|
524
524
|
throw new Error("No value provided for input HTTP label: OutputArn.");
|
|
@@ -544,7 +544,7 @@ const serializeAws_restJson1RemoveFlowSourceCommand = async (input, context) =>
|
|
|
544
544
|
if (labelValue.length <= 0) {
|
|
545
545
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
546
546
|
}
|
|
547
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
547
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
548
548
|
}
|
|
549
549
|
else {
|
|
550
550
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -554,7 +554,7 @@ const serializeAws_restJson1RemoveFlowSourceCommand = async (input, context) =>
|
|
|
554
554
|
if (labelValue.length <= 0) {
|
|
555
555
|
throw new Error("Empty value provided for input HTTP label: SourceArn.");
|
|
556
556
|
}
|
|
557
|
-
resolvedPath = resolvedPath.replace("{SourceArn}",
|
|
557
|
+
resolvedPath = resolvedPath.replace("{SourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
560
560
|
throw new Error("No value provided for input HTTP label: SourceArn.");
|
|
@@ -581,7 +581,7 @@ const serializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (input, contex
|
|
|
581
581
|
if (labelValue.length <= 0) {
|
|
582
582
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
583
583
|
}
|
|
584
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
584
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
585
585
|
}
|
|
586
586
|
else {
|
|
587
587
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -591,7 +591,7 @@ const serializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (input, contex
|
|
|
591
591
|
if (labelValue.length <= 0) {
|
|
592
592
|
throw new Error("Empty value provided for input HTTP label: VpcInterfaceName.");
|
|
593
593
|
}
|
|
594
|
-
resolvedPath = resolvedPath.replace("{VpcInterfaceName}",
|
|
594
|
+
resolvedPath = resolvedPath.replace("{VpcInterfaceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
595
595
|
}
|
|
596
596
|
else {
|
|
597
597
|
throw new Error("No value provided for input HTTP label: VpcInterfaceName.");
|
|
@@ -618,7 +618,7 @@ const serializeAws_restJson1RevokeFlowEntitlementCommand = async (input, context
|
|
|
618
618
|
if (labelValue.length <= 0) {
|
|
619
619
|
throw new Error("Empty value provided for input HTTP label: EntitlementArn.");
|
|
620
620
|
}
|
|
621
|
-
resolvedPath = resolvedPath.replace("{EntitlementArn}",
|
|
621
|
+
resolvedPath = resolvedPath.replace("{EntitlementArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
622
622
|
}
|
|
623
623
|
else {
|
|
624
624
|
throw new Error("No value provided for input HTTP label: EntitlementArn.");
|
|
@@ -628,7 +628,7 @@ const serializeAws_restJson1RevokeFlowEntitlementCommand = async (input, context
|
|
|
628
628
|
if (labelValue.length <= 0) {
|
|
629
629
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
630
630
|
}
|
|
631
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
631
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
632
632
|
}
|
|
633
633
|
else {
|
|
634
634
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -654,7 +654,7 @@ const serializeAws_restJson1StartFlowCommand = async (input, context) => {
|
|
|
654
654
|
if (labelValue.length <= 0) {
|
|
655
655
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
656
656
|
}
|
|
657
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
657
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
658
658
|
}
|
|
659
659
|
else {
|
|
660
660
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -680,7 +680,7 @@ const serializeAws_restJson1StopFlowCommand = async (input, context) => {
|
|
|
680
680
|
if (labelValue.length <= 0) {
|
|
681
681
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
682
682
|
}
|
|
683
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
683
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
684
684
|
}
|
|
685
685
|
else {
|
|
686
686
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -708,7 +708,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
708
708
|
if (labelValue.length <= 0) {
|
|
709
709
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
710
710
|
}
|
|
711
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
711
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
712
712
|
}
|
|
713
713
|
else {
|
|
714
714
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -738,7 +738,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
738
738
|
if (labelValue.length <= 0) {
|
|
739
739
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
740
740
|
}
|
|
741
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
741
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
742
742
|
}
|
|
743
743
|
else {
|
|
744
744
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -770,7 +770,7 @@ const serializeAws_restJson1UpdateFlowCommand = async (input, context) => {
|
|
|
770
770
|
if (labelValue.length <= 0) {
|
|
771
771
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
772
772
|
}
|
|
773
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
773
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
774
774
|
}
|
|
775
775
|
else {
|
|
776
776
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -805,7 +805,7 @@ const serializeAws_restJson1UpdateFlowEntitlementCommand = async (input, context
|
|
|
805
805
|
if (labelValue.length <= 0) {
|
|
806
806
|
throw new Error("Empty value provided for input HTTP label: EntitlementArn.");
|
|
807
807
|
}
|
|
808
|
-
resolvedPath = resolvedPath.replace("{EntitlementArn}",
|
|
808
|
+
resolvedPath = resolvedPath.replace("{EntitlementArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
809
809
|
}
|
|
810
810
|
else {
|
|
811
811
|
throw new Error("No value provided for input HTTP label: EntitlementArn.");
|
|
@@ -815,7 +815,7 @@ const serializeAws_restJson1UpdateFlowEntitlementCommand = async (input, context
|
|
|
815
815
|
if (labelValue.length <= 0) {
|
|
816
816
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
817
817
|
}
|
|
818
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
818
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
819
819
|
}
|
|
820
820
|
else {
|
|
821
821
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -855,7 +855,7 @@ const serializeAws_restJson1UpdateFlowMediaStreamCommand = async (input, context
|
|
|
855
855
|
if (labelValue.length <= 0) {
|
|
856
856
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
857
857
|
}
|
|
858
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
858
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
859
859
|
}
|
|
860
860
|
else {
|
|
861
861
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -865,7 +865,7 @@ const serializeAws_restJson1UpdateFlowMediaStreamCommand = async (input, context
|
|
|
865
865
|
if (labelValue.length <= 0) {
|
|
866
866
|
throw new Error("Empty value provided for input HTTP label: MediaStreamName.");
|
|
867
867
|
}
|
|
868
|
-
resolvedPath = resolvedPath.replace("{MediaStreamName}",
|
|
868
|
+
resolvedPath = resolvedPath.replace("{MediaStreamName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
869
869
|
}
|
|
870
870
|
else {
|
|
871
871
|
throw new Error("No value provided for input HTTP label: MediaStreamName.");
|
|
@@ -904,7 +904,7 @@ const serializeAws_restJson1UpdateFlowOutputCommand = async (input, context) =>
|
|
|
904
904
|
if (labelValue.length <= 0) {
|
|
905
905
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
906
906
|
}
|
|
907
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
907
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
908
908
|
}
|
|
909
909
|
else {
|
|
910
910
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -914,7 +914,7 @@ const serializeAws_restJson1UpdateFlowOutputCommand = async (input, context) =>
|
|
|
914
914
|
if (labelValue.length <= 0) {
|
|
915
915
|
throw new Error("Empty value provided for input HTTP label: OutputArn.");
|
|
916
916
|
}
|
|
917
|
-
resolvedPath = resolvedPath.replace("{OutputArn}",
|
|
917
|
+
resolvedPath = resolvedPath.replace("{OutputArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
918
918
|
}
|
|
919
919
|
else {
|
|
920
920
|
throw new Error("No value provided for input HTTP label: OutputArn.");
|
|
@@ -968,7 +968,7 @@ const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) =>
|
|
|
968
968
|
if (labelValue.length <= 0) {
|
|
969
969
|
throw new Error("Empty value provided for input HTTP label: FlowArn.");
|
|
970
970
|
}
|
|
971
|
-
resolvedPath = resolvedPath.replace("{FlowArn}",
|
|
971
|
+
resolvedPath = resolvedPath.replace("{FlowArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
972
972
|
}
|
|
973
973
|
else {
|
|
974
974
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
@@ -978,7 +978,7 @@ const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) =>
|
|
|
978
978
|
if (labelValue.length <= 0) {
|
|
979
979
|
throw new Error("Empty value provided for input HTTP label: SourceArn.");
|
|
980
980
|
}
|
|
981
|
-
resolvedPath = resolvedPath.replace("{SourceArn}",
|
|
981
|
+
resolvedPath = resolvedPath.replace("{SourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
982
982
|
}
|
|
983
983
|
else {
|
|
984
984
|
throw new Error("No value provided for input HTTP label: SourceArn.");
|
|
@@ -1025,9 +1025,9 @@ const deserializeAws_restJson1AddFlowMediaStreamsCommand = async (output, contex
|
|
|
1025
1025
|
FlowArn: undefined,
|
|
1026
1026
|
MediaStreams: undefined,
|
|
1027
1027
|
};
|
|
1028
|
-
const data =
|
|
1028
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1029
1029
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
1030
|
-
contents.FlowArn =
|
|
1030
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
1031
1031
|
}
|
|
1032
1032
|
if (data.mediaStreams !== undefined && data.mediaStreams !== null) {
|
|
1033
1033
|
contents.MediaStreams = deserializeAws_restJson1__listOfMediaStream(data.mediaStreams, context);
|
|
@@ -1117,9 +1117,9 @@ const deserializeAws_restJson1AddFlowOutputsCommand = async (output, context) =>
|
|
|
1117
1117
|
FlowArn: undefined,
|
|
1118
1118
|
Outputs: undefined,
|
|
1119
1119
|
};
|
|
1120
|
-
const data =
|
|
1120
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1121
1121
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
1122
|
-
contents.FlowArn =
|
|
1122
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
1123
1123
|
}
|
|
1124
1124
|
if (data.outputs !== undefined && data.outputs !== null) {
|
|
1125
1125
|
contents.Outputs = deserializeAws_restJson1__listOfOutput(data.outputs, context);
|
|
@@ -1217,9 +1217,9 @@ const deserializeAws_restJson1AddFlowSourcesCommand = async (output, context) =>
|
|
|
1217
1217
|
FlowArn: undefined,
|
|
1218
1218
|
Sources: undefined,
|
|
1219
1219
|
};
|
|
1220
|
-
const data =
|
|
1220
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1221
1221
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
1222
|
-
contents.FlowArn =
|
|
1222
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
1223
1223
|
}
|
|
1224
1224
|
if (data.sources !== undefined && data.sources !== null) {
|
|
1225
1225
|
contents.Sources = deserializeAws_restJson1__listOfSource(data.sources, context);
|
|
@@ -1309,9 +1309,9 @@ const deserializeAws_restJson1AddFlowVpcInterfacesCommand = async (output, conte
|
|
|
1309
1309
|
FlowArn: undefined,
|
|
1310
1310
|
VpcInterfaces: undefined,
|
|
1311
1311
|
};
|
|
1312
|
-
const data =
|
|
1312
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1313
1313
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
1314
|
-
contents.FlowArn =
|
|
1314
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
1315
1315
|
}
|
|
1316
1316
|
if (data.vpcInterfaces !== undefined && data.vpcInterfaces !== null) {
|
|
1317
1317
|
contents.VpcInterfaces = deserializeAws_restJson1__listOfVpcInterface(data.vpcInterfaces, context);
|
|
@@ -1400,7 +1400,7 @@ const deserializeAws_restJson1CreateFlowCommand = async (output, context) => {
|
|
|
1400
1400
|
$metadata: deserializeMetadata(output),
|
|
1401
1401
|
Flow: undefined,
|
|
1402
1402
|
};
|
|
1403
|
-
const data =
|
|
1403
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1404
1404
|
if (data.flow !== undefined && data.flow !== null) {
|
|
1405
1405
|
contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
|
|
1406
1406
|
}
|
|
@@ -1489,12 +1489,12 @@ const deserializeAws_restJson1DeleteFlowCommand = async (output, context) => {
|
|
|
1489
1489
|
FlowArn: undefined,
|
|
1490
1490
|
Status: undefined,
|
|
1491
1491
|
};
|
|
1492
|
-
const data =
|
|
1492
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1493
1493
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
1494
|
-
contents.FlowArn =
|
|
1494
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
1495
1495
|
}
|
|
1496
1496
|
if (data.status !== undefined && data.status !== null) {
|
|
1497
|
-
contents.Status =
|
|
1497
|
+
contents.Status = smithy_client_1.expectString(data.status);
|
|
1498
1498
|
}
|
|
1499
1499
|
return Promise.resolve(contents);
|
|
1500
1500
|
};
|
|
@@ -1581,7 +1581,7 @@ const deserializeAws_restJson1DescribeFlowCommand = async (output, context) => {
|
|
|
1581
1581
|
Flow: undefined,
|
|
1582
1582
|
Messages: undefined,
|
|
1583
1583
|
};
|
|
1584
|
-
const data =
|
|
1584
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1585
1585
|
if (data.flow !== undefined && data.flow !== null) {
|
|
1586
1586
|
contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
|
|
1587
1587
|
}
|
|
@@ -1672,7 +1672,7 @@ const deserializeAws_restJson1DescribeOfferingCommand = async (output, context)
|
|
|
1672
1672
|
$metadata: deserializeMetadata(output),
|
|
1673
1673
|
Offering: undefined,
|
|
1674
1674
|
};
|
|
1675
|
-
const data =
|
|
1675
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1676
1676
|
if (data.offering !== undefined && data.offering !== null) {
|
|
1677
1677
|
contents.Offering = deserializeAws_restJson1Offering(data.offering, context);
|
|
1678
1678
|
}
|
|
@@ -1752,7 +1752,7 @@ const deserializeAws_restJson1DescribeReservationCommand = async (output, contex
|
|
|
1752
1752
|
$metadata: deserializeMetadata(output),
|
|
1753
1753
|
Reservation: undefined,
|
|
1754
1754
|
};
|
|
1755
|
-
const data =
|
|
1755
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1756
1756
|
if (data.reservation !== undefined && data.reservation !== null) {
|
|
1757
1757
|
contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
|
|
1758
1758
|
}
|
|
@@ -1833,12 +1833,12 @@ const deserializeAws_restJson1GrantFlowEntitlementsCommand = async (output, cont
|
|
|
1833
1833
|
Entitlements: undefined,
|
|
1834
1834
|
FlowArn: undefined,
|
|
1835
1835
|
};
|
|
1836
|
-
const data =
|
|
1836
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1837
1837
|
if (data.entitlements !== undefined && data.entitlements !== null) {
|
|
1838
1838
|
contents.Entitlements = deserializeAws_restJson1__listOfEntitlement(data.entitlements, context);
|
|
1839
1839
|
}
|
|
1840
1840
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
1841
|
-
contents.FlowArn =
|
|
1841
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
1842
1842
|
}
|
|
1843
1843
|
return Promise.resolve(contents);
|
|
1844
1844
|
};
|
|
@@ -1933,12 +1933,12 @@ const deserializeAws_restJson1ListEntitlementsCommand = async (output, context)
|
|
|
1933
1933
|
Entitlements: undefined,
|
|
1934
1934
|
NextToken: undefined,
|
|
1935
1935
|
};
|
|
1936
|
-
const data =
|
|
1936
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1937
1937
|
if (data.entitlements !== undefined && data.entitlements !== null) {
|
|
1938
1938
|
contents.Entitlements = deserializeAws_restJson1__listOfListedEntitlement(data.entitlements, context);
|
|
1939
1939
|
}
|
|
1940
1940
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1941
|
-
contents.NextToken =
|
|
1941
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1942
1942
|
}
|
|
1943
1943
|
return Promise.resolve(contents);
|
|
1944
1944
|
};
|
|
@@ -2009,12 +2009,12 @@ const deserializeAws_restJson1ListFlowsCommand = async (output, context) => {
|
|
|
2009
2009
|
Flows: undefined,
|
|
2010
2010
|
NextToken: undefined,
|
|
2011
2011
|
};
|
|
2012
|
-
const data =
|
|
2012
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2013
2013
|
if (data.flows !== undefined && data.flows !== null) {
|
|
2014
2014
|
contents.Flows = deserializeAws_restJson1__listOfListedFlow(data.flows, context);
|
|
2015
2015
|
}
|
|
2016
2016
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2017
|
-
contents.NextToken =
|
|
2017
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2018
2018
|
}
|
|
2019
2019
|
return Promise.resolve(contents);
|
|
2020
2020
|
};
|
|
@@ -2085,9 +2085,9 @@ const deserializeAws_restJson1ListOfferingsCommand = async (output, context) =>
|
|
|
2085
2085
|
NextToken: undefined,
|
|
2086
2086
|
Offerings: undefined,
|
|
2087
2087
|
};
|
|
2088
|
-
const data =
|
|
2088
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2089
2089
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2090
|
-
contents.NextToken =
|
|
2090
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2091
2091
|
}
|
|
2092
2092
|
if (data.offerings !== undefined && data.offerings !== null) {
|
|
2093
2093
|
contents.Offerings = deserializeAws_restJson1__listOfOffering(data.offerings, context);
|
|
@@ -2161,9 +2161,9 @@ const deserializeAws_restJson1ListReservationsCommand = async (output, context)
|
|
|
2161
2161
|
NextToken: undefined,
|
|
2162
2162
|
Reservations: undefined,
|
|
2163
2163
|
};
|
|
2164
|
-
const data =
|
|
2164
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2165
2165
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2166
|
-
contents.NextToken =
|
|
2166
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2167
2167
|
}
|
|
2168
2168
|
if (data.reservations !== undefined && data.reservations !== null) {
|
|
2169
2169
|
contents.Reservations = deserializeAws_restJson1__listOfReservation(data.reservations, context);
|
|
@@ -2236,7 +2236,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2236
2236
|
$metadata: deserializeMetadata(output),
|
|
2237
2237
|
Tags: undefined,
|
|
2238
2238
|
};
|
|
2239
|
-
const data =
|
|
2239
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2240
2240
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2241
2241
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2242
2242
|
}
|
|
@@ -2300,7 +2300,7 @@ const deserializeAws_restJson1PurchaseOfferingCommand = async (output, context)
|
|
|
2300
2300
|
$metadata: deserializeMetadata(output),
|
|
2301
2301
|
Reservation: undefined,
|
|
2302
2302
|
};
|
|
2303
|
-
const data =
|
|
2303
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2304
2304
|
if (data.reservation !== undefined && data.reservation !== null) {
|
|
2305
2305
|
contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
|
|
2306
2306
|
}
|
|
@@ -2389,12 +2389,12 @@ const deserializeAws_restJson1RemoveFlowMediaStreamCommand = async (output, cont
|
|
|
2389
2389
|
FlowArn: undefined,
|
|
2390
2390
|
MediaStreamName: undefined,
|
|
2391
2391
|
};
|
|
2392
|
-
const data =
|
|
2392
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2393
2393
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
2394
|
-
contents.FlowArn =
|
|
2394
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
2395
2395
|
}
|
|
2396
2396
|
if (data.mediaStreamName !== undefined && data.mediaStreamName !== null) {
|
|
2397
|
-
contents.MediaStreamName =
|
|
2397
|
+
contents.MediaStreamName = smithy_client_1.expectString(data.mediaStreamName);
|
|
2398
2398
|
}
|
|
2399
2399
|
return Promise.resolve(contents);
|
|
2400
2400
|
};
|
|
@@ -2481,12 +2481,12 @@ const deserializeAws_restJson1RemoveFlowOutputCommand = async (output, context)
|
|
|
2481
2481
|
FlowArn: undefined,
|
|
2482
2482
|
OutputArn: undefined,
|
|
2483
2483
|
};
|
|
2484
|
-
const data =
|
|
2484
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2485
2485
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
2486
|
-
contents.FlowArn =
|
|
2486
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
2487
2487
|
}
|
|
2488
2488
|
if (data.outputArn !== undefined && data.outputArn !== null) {
|
|
2489
|
-
contents.OutputArn =
|
|
2489
|
+
contents.OutputArn = smithy_client_1.expectString(data.outputArn);
|
|
2490
2490
|
}
|
|
2491
2491
|
return Promise.resolve(contents);
|
|
2492
2492
|
};
|
|
@@ -2573,12 +2573,12 @@ const deserializeAws_restJson1RemoveFlowSourceCommand = async (output, context)
|
|
|
2573
2573
|
FlowArn: undefined,
|
|
2574
2574
|
SourceArn: undefined,
|
|
2575
2575
|
};
|
|
2576
|
-
const data =
|
|
2576
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2577
2577
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
2578
|
-
contents.FlowArn =
|
|
2578
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
2579
2579
|
}
|
|
2580
2580
|
if (data.sourceArn !== undefined && data.sourceArn !== null) {
|
|
2581
|
-
contents.SourceArn =
|
|
2581
|
+
contents.SourceArn = smithy_client_1.expectString(data.sourceArn);
|
|
2582
2582
|
}
|
|
2583
2583
|
return Promise.resolve(contents);
|
|
2584
2584
|
};
|
|
@@ -2666,15 +2666,15 @@ const deserializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (output, con
|
|
|
2666
2666
|
NonDeletedNetworkInterfaceIds: undefined,
|
|
2667
2667
|
VpcInterfaceName: undefined,
|
|
2668
2668
|
};
|
|
2669
|
-
const data =
|
|
2669
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2670
2670
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
2671
|
-
contents.FlowArn =
|
|
2671
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
2672
2672
|
}
|
|
2673
2673
|
if (data.nonDeletedNetworkInterfaceIds !== undefined && data.nonDeletedNetworkInterfaceIds !== null) {
|
|
2674
2674
|
contents.NonDeletedNetworkInterfaceIds = deserializeAws_restJson1__listOf__string(data.nonDeletedNetworkInterfaceIds, context);
|
|
2675
2675
|
}
|
|
2676
2676
|
if (data.vpcInterfaceName !== undefined && data.vpcInterfaceName !== null) {
|
|
2677
|
-
contents.VpcInterfaceName =
|
|
2677
|
+
contents.VpcInterfaceName = smithy_client_1.expectString(data.vpcInterfaceName);
|
|
2678
2678
|
}
|
|
2679
2679
|
return Promise.resolve(contents);
|
|
2680
2680
|
};
|
|
@@ -2761,12 +2761,12 @@ const deserializeAws_restJson1RevokeFlowEntitlementCommand = async (output, cont
|
|
|
2761
2761
|
EntitlementArn: undefined,
|
|
2762
2762
|
FlowArn: undefined,
|
|
2763
2763
|
};
|
|
2764
|
-
const data =
|
|
2764
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2765
2765
|
if (data.entitlementArn !== undefined && data.entitlementArn !== null) {
|
|
2766
|
-
contents.EntitlementArn =
|
|
2766
|
+
contents.EntitlementArn = smithy_client_1.expectString(data.entitlementArn);
|
|
2767
2767
|
}
|
|
2768
2768
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
2769
|
-
contents.FlowArn =
|
|
2769
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
2770
2770
|
}
|
|
2771
2771
|
return Promise.resolve(contents);
|
|
2772
2772
|
};
|
|
@@ -2853,12 +2853,12 @@ const deserializeAws_restJson1StartFlowCommand = async (output, context) => {
|
|
|
2853
2853
|
FlowArn: undefined,
|
|
2854
2854
|
Status: undefined,
|
|
2855
2855
|
};
|
|
2856
|
-
const data =
|
|
2856
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2857
2857
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
2858
|
-
contents.FlowArn =
|
|
2858
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
2859
2859
|
}
|
|
2860
2860
|
if (data.status !== undefined && data.status !== null) {
|
|
2861
|
-
contents.Status =
|
|
2861
|
+
contents.Status = smithy_client_1.expectString(data.status);
|
|
2862
2862
|
}
|
|
2863
2863
|
return Promise.resolve(contents);
|
|
2864
2864
|
};
|
|
@@ -2945,12 +2945,12 @@ const deserializeAws_restJson1StopFlowCommand = async (output, context) => {
|
|
|
2945
2945
|
FlowArn: undefined,
|
|
2946
2946
|
Status: undefined,
|
|
2947
2947
|
};
|
|
2948
|
-
const data =
|
|
2948
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2949
2949
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
2950
|
-
contents.FlowArn =
|
|
2950
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
2951
2951
|
}
|
|
2952
2952
|
if (data.status !== undefined && data.status !== null) {
|
|
2953
|
-
contents.Status =
|
|
2953
|
+
contents.Status = smithy_client_1.expectString(data.status);
|
|
2954
2954
|
}
|
|
2955
2955
|
return Promise.resolve(contents);
|
|
2956
2956
|
};
|
|
@@ -3156,7 +3156,7 @@ const deserializeAws_restJson1UpdateFlowCommand = async (output, context) => {
|
|
|
3156
3156
|
$metadata: deserializeMetadata(output),
|
|
3157
3157
|
Flow: undefined,
|
|
3158
3158
|
};
|
|
3159
|
-
const data =
|
|
3159
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3160
3160
|
if (data.flow !== undefined && data.flow !== null) {
|
|
3161
3161
|
contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
|
|
3162
3162
|
}
|
|
@@ -3245,12 +3245,12 @@ const deserializeAws_restJson1UpdateFlowEntitlementCommand = async (output, cont
|
|
|
3245
3245
|
Entitlement: undefined,
|
|
3246
3246
|
FlowArn: undefined,
|
|
3247
3247
|
};
|
|
3248
|
-
const data =
|
|
3248
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3249
3249
|
if (data.entitlement !== undefined && data.entitlement !== null) {
|
|
3250
3250
|
contents.Entitlement = deserializeAws_restJson1Entitlement(data.entitlement, context);
|
|
3251
3251
|
}
|
|
3252
3252
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
3253
|
-
contents.FlowArn =
|
|
3253
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
3254
3254
|
}
|
|
3255
3255
|
return Promise.resolve(contents);
|
|
3256
3256
|
};
|
|
@@ -3337,9 +3337,9 @@ const deserializeAws_restJson1UpdateFlowMediaStreamCommand = async (output, cont
|
|
|
3337
3337
|
FlowArn: undefined,
|
|
3338
3338
|
MediaStream: undefined,
|
|
3339
3339
|
};
|
|
3340
|
-
const data =
|
|
3340
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3341
3341
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
3342
|
-
contents.FlowArn =
|
|
3342
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
3343
3343
|
}
|
|
3344
3344
|
if (data.mediaStream !== undefined && data.mediaStream !== null) {
|
|
3345
3345
|
contents.MediaStream = deserializeAws_restJson1MediaStream(data.mediaStream, context);
|
|
@@ -3429,9 +3429,9 @@ const deserializeAws_restJson1UpdateFlowOutputCommand = async (output, context)
|
|
|
3429
3429
|
FlowArn: undefined,
|
|
3430
3430
|
Output: undefined,
|
|
3431
3431
|
};
|
|
3432
|
-
const data =
|
|
3432
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3433
3433
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
3434
|
-
contents.FlowArn =
|
|
3434
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
3435
3435
|
}
|
|
3436
3436
|
if (data.output !== undefined && data.output !== null) {
|
|
3437
3437
|
contents.Output = deserializeAws_restJson1Output(data.output, context);
|
|
@@ -3521,9 +3521,9 @@ const deserializeAws_restJson1UpdateFlowSourceCommand = async (output, context)
|
|
|
3521
3521
|
FlowArn: undefined,
|
|
3522
3522
|
Source: undefined,
|
|
3523
3523
|
};
|
|
3524
|
-
const data =
|
|
3524
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3525
3525
|
if (data.flowArn !== undefined && data.flowArn !== null) {
|
|
3526
|
-
contents.FlowArn =
|
|
3526
|
+
contents.FlowArn = smithy_client_1.expectString(data.flowArn);
|
|
3527
3527
|
}
|
|
3528
3528
|
if (data.source !== undefined && data.source !== null) {
|
|
3529
3529
|
contents.Source = deserializeAws_restJson1Source(data.source, context);
|
|
@@ -3613,7 +3613,7 @@ const deserializeAws_restJson1AddFlowOutputs420ExceptionResponse = async (parsed
|
|
|
3613
3613
|
};
|
|
3614
3614
|
const data = parsedOutput.body;
|
|
3615
3615
|
if (data.message !== undefined && data.message !== null) {
|
|
3616
|
-
contents.Message =
|
|
3616
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3617
3617
|
}
|
|
3618
3618
|
return contents;
|
|
3619
3619
|
};
|
|
@@ -3626,7 +3626,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
3626
3626
|
};
|
|
3627
3627
|
const data = parsedOutput.body;
|
|
3628
3628
|
if (data.message !== undefined && data.message !== null) {
|
|
3629
|
-
contents.Message =
|
|
3629
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3630
3630
|
}
|
|
3631
3631
|
return contents;
|
|
3632
3632
|
};
|
|
@@ -3639,7 +3639,7 @@ const deserializeAws_restJson1CreateFlow420ExceptionResponse = async (parsedOutp
|
|
|
3639
3639
|
};
|
|
3640
3640
|
const data = parsedOutput.body;
|
|
3641
3641
|
if (data.message !== undefined && data.message !== null) {
|
|
3642
|
-
contents.Message =
|
|
3642
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3643
3643
|
}
|
|
3644
3644
|
return contents;
|
|
3645
3645
|
};
|
|
@@ -3652,7 +3652,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
3652
3652
|
};
|
|
3653
3653
|
const data = parsedOutput.body;
|
|
3654
3654
|
if (data.message !== undefined && data.message !== null) {
|
|
3655
|
-
contents.Message =
|
|
3655
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3656
3656
|
}
|
|
3657
3657
|
return contents;
|
|
3658
3658
|
};
|
|
@@ -3665,7 +3665,7 @@ const deserializeAws_restJson1GrantFlowEntitlements420ExceptionResponse = async
|
|
|
3665
3665
|
};
|
|
3666
3666
|
const data = parsedOutput.body;
|
|
3667
3667
|
if (data.message !== undefined && data.message !== null) {
|
|
3668
|
-
contents.Message =
|
|
3668
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3669
3669
|
}
|
|
3670
3670
|
return contents;
|
|
3671
3671
|
};
|
|
@@ -3678,7 +3678,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
|
|
|
3678
3678
|
};
|
|
3679
3679
|
const data = parsedOutput.body;
|
|
3680
3680
|
if (data.message !== undefined && data.message !== null) {
|
|
3681
|
-
contents.Message =
|
|
3681
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3682
3682
|
}
|
|
3683
3683
|
return contents;
|
|
3684
3684
|
};
|
|
@@ -3691,7 +3691,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
3691
3691
|
};
|
|
3692
3692
|
const data = parsedOutput.body;
|
|
3693
3693
|
if (data.message !== undefined && data.message !== null) {
|
|
3694
|
-
contents.Message =
|
|
3694
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3695
3695
|
}
|
|
3696
3696
|
return contents;
|
|
3697
3697
|
};
|
|
@@ -3704,7 +3704,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
3704
3704
|
};
|
|
3705
3705
|
const data = parsedOutput.body;
|
|
3706
3706
|
if (data.message !== undefined && data.message !== null) {
|
|
3707
|
-
contents.Message =
|
|
3707
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3708
3708
|
}
|
|
3709
3709
|
return contents;
|
|
3710
3710
|
};
|
|
@@ -3717,7 +3717,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
|
|
|
3717
3717
|
};
|
|
3718
3718
|
const data = parsedOutput.body;
|
|
3719
3719
|
if (data.message !== undefined && data.message !== null) {
|
|
3720
|
-
contents.Message =
|
|
3720
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
3721
3721
|
}
|
|
3722
3722
|
return contents;
|
|
3723
3723
|
};
|
|
@@ -3889,7 +3889,7 @@ const serializeAws_restJson1DestinationConfigurationRequest = (input, context) =
|
|
|
3889
3889
|
const serializeAws_restJson1EncodingParametersRequest = (input, context) => {
|
|
3890
3890
|
return {
|
|
3891
3891
|
...(input.CompressionFactor !== undefined &&
|
|
3892
|
-
input.CompressionFactor !== null && { compressionFactor:
|
|
3892
|
+
input.CompressionFactor !== null && { compressionFactor: smithy_client_1.serializeFloat(input.CompressionFactor) }),
|
|
3893
3893
|
...(input.EncoderProfile !== undefined &&
|
|
3894
3894
|
input.EncoderProfile !== null && { encoderProfile: input.EncoderProfile }),
|
|
3895
3895
|
};
|
|
@@ -4080,7 +4080,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
4080
4080
|
if (entry === null) {
|
|
4081
4081
|
return null;
|
|
4082
4082
|
}
|
|
4083
|
-
return
|
|
4083
|
+
return smithy_client_1.expectString(entry);
|
|
4084
4084
|
});
|
|
4085
4085
|
};
|
|
4086
4086
|
const deserializeAws_restJson1__listOfDestinationConfiguration = (output, context) => {
|
|
@@ -4220,49 +4220,49 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
|
|
|
4220
4220
|
}
|
|
4221
4221
|
return {
|
|
4222
4222
|
...acc,
|
|
4223
|
-
[key]:
|
|
4223
|
+
[key]: smithy_client_1.expectString(value),
|
|
4224
4224
|
};
|
|
4225
4225
|
}, {});
|
|
4226
4226
|
};
|
|
4227
4227
|
const deserializeAws_restJson1DestinationConfiguration = (output, context) => {
|
|
4228
4228
|
return {
|
|
4229
|
-
DestinationIp:
|
|
4230
|
-
DestinationPort:
|
|
4229
|
+
DestinationIp: smithy_client_1.expectString(output.destinationIp),
|
|
4230
|
+
DestinationPort: smithy_client_1.expectInt32(output.destinationPort),
|
|
4231
4231
|
Interface: output.interface !== undefined && output.interface !== null
|
|
4232
4232
|
? deserializeAws_restJson1Interface(output.interface, context)
|
|
4233
4233
|
: undefined,
|
|
4234
|
-
OutboundIp:
|
|
4234
|
+
OutboundIp: smithy_client_1.expectString(output.outboundIp),
|
|
4235
4235
|
};
|
|
4236
4236
|
};
|
|
4237
4237
|
const deserializeAws_restJson1EncodingParameters = (output, context) => {
|
|
4238
4238
|
return {
|
|
4239
|
-
CompressionFactor:
|
|
4240
|
-
EncoderProfile:
|
|
4239
|
+
CompressionFactor: smithy_client_1.limitedParseDouble(output.compressionFactor),
|
|
4240
|
+
EncoderProfile: smithy_client_1.expectString(output.encoderProfile),
|
|
4241
4241
|
};
|
|
4242
4242
|
};
|
|
4243
4243
|
const deserializeAws_restJson1Encryption = (output, context) => {
|
|
4244
4244
|
return {
|
|
4245
|
-
Algorithm:
|
|
4246
|
-
ConstantInitializationVector:
|
|
4247
|
-
DeviceId:
|
|
4248
|
-
KeyType:
|
|
4249
|
-
Region:
|
|
4250
|
-
ResourceId:
|
|
4251
|
-
RoleArn:
|
|
4252
|
-
SecretArn:
|
|
4253
|
-
Url:
|
|
4245
|
+
Algorithm: smithy_client_1.expectString(output.algorithm),
|
|
4246
|
+
ConstantInitializationVector: smithy_client_1.expectString(output.constantInitializationVector),
|
|
4247
|
+
DeviceId: smithy_client_1.expectString(output.deviceId),
|
|
4248
|
+
KeyType: smithy_client_1.expectString(output.keyType),
|
|
4249
|
+
Region: smithy_client_1.expectString(output.region),
|
|
4250
|
+
ResourceId: smithy_client_1.expectString(output.resourceId),
|
|
4251
|
+
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
4252
|
+
SecretArn: smithy_client_1.expectString(output.secretArn),
|
|
4253
|
+
Url: smithy_client_1.expectString(output.url),
|
|
4254
4254
|
};
|
|
4255
4255
|
};
|
|
4256
4256
|
const deserializeAws_restJson1Entitlement = (output, context) => {
|
|
4257
4257
|
return {
|
|
4258
|
-
DataTransferSubscriberFeePercent:
|
|
4259
|
-
Description:
|
|
4258
|
+
DataTransferSubscriberFeePercent: smithy_client_1.expectInt32(output.dataTransferSubscriberFeePercent),
|
|
4259
|
+
Description: smithy_client_1.expectString(output.description),
|
|
4260
4260
|
Encryption: output.encryption !== undefined && output.encryption !== null
|
|
4261
4261
|
? deserializeAws_restJson1Encryption(output.encryption, context)
|
|
4262
4262
|
: undefined,
|
|
4263
|
-
EntitlementArn:
|
|
4264
|
-
EntitlementStatus:
|
|
4265
|
-
Name:
|
|
4263
|
+
EntitlementArn: smithy_client_1.expectString(output.entitlementArn),
|
|
4264
|
+
EntitlementStatus: smithy_client_1.expectString(output.entitlementStatus),
|
|
4265
|
+
Name: smithy_client_1.expectString(output.name),
|
|
4266
4266
|
Subscribers: output.subscribers !== undefined && output.subscribers !== null
|
|
4267
4267
|
? deserializeAws_restJson1__listOf__string(output.subscribers, context)
|
|
4268
4268
|
: undefined,
|
|
@@ -4270,27 +4270,27 @@ const deserializeAws_restJson1Entitlement = (output, context) => {
|
|
|
4270
4270
|
};
|
|
4271
4271
|
const deserializeAws_restJson1FailoverConfig = (output, context) => {
|
|
4272
4272
|
return {
|
|
4273
|
-
FailoverMode:
|
|
4274
|
-
RecoveryWindow:
|
|
4273
|
+
FailoverMode: smithy_client_1.expectString(output.failoverMode),
|
|
4274
|
+
RecoveryWindow: smithy_client_1.expectInt32(output.recoveryWindow),
|
|
4275
4275
|
SourcePriority: output.sourcePriority !== undefined && output.sourcePriority !== null
|
|
4276
4276
|
? deserializeAws_restJson1SourcePriority(output.sourcePriority, context)
|
|
4277
4277
|
: undefined,
|
|
4278
|
-
State:
|
|
4278
|
+
State: smithy_client_1.expectString(output.state),
|
|
4279
4279
|
};
|
|
4280
4280
|
};
|
|
4281
4281
|
const deserializeAws_restJson1Flow = (output, context) => {
|
|
4282
4282
|
return {
|
|
4283
|
-
AvailabilityZone:
|
|
4284
|
-
Description:
|
|
4285
|
-
EgressIp:
|
|
4283
|
+
AvailabilityZone: smithy_client_1.expectString(output.availabilityZone),
|
|
4284
|
+
Description: smithy_client_1.expectString(output.description),
|
|
4285
|
+
EgressIp: smithy_client_1.expectString(output.egressIp),
|
|
4286
4286
|
Entitlements: output.entitlements !== undefined && output.entitlements !== null
|
|
4287
4287
|
? deserializeAws_restJson1__listOfEntitlement(output.entitlements, context)
|
|
4288
4288
|
: undefined,
|
|
4289
|
-
FlowArn:
|
|
4289
|
+
FlowArn: smithy_client_1.expectString(output.flowArn),
|
|
4290
4290
|
MediaStreams: output.mediaStreams !== undefined && output.mediaStreams !== null
|
|
4291
4291
|
? deserializeAws_restJson1__listOfMediaStream(output.mediaStreams, context)
|
|
4292
4292
|
: undefined,
|
|
4293
|
-
Name:
|
|
4293
|
+
Name: smithy_client_1.expectString(output.name),
|
|
4294
4294
|
Outputs: output.outputs !== undefined && output.outputs !== null
|
|
4295
4295
|
? deserializeAws_restJson1__listOfOutput(output.outputs, context)
|
|
4296
4296
|
: undefined,
|
|
@@ -4303,7 +4303,7 @@ const deserializeAws_restJson1Flow = (output, context) => {
|
|
|
4303
4303
|
Sources: output.sources !== undefined && output.sources !== null
|
|
4304
4304
|
? deserializeAws_restJson1__listOfSource(output.sources, context)
|
|
4305
4305
|
: undefined,
|
|
4306
|
-
Status:
|
|
4306
|
+
Status: smithy_client_1.expectString(output.status),
|
|
4307
4307
|
VpcInterfaces: output.vpcInterfaces !== undefined && output.vpcInterfaces !== null
|
|
4308
4308
|
? deserializeAws_restJson1__listOfVpcInterface(output.vpcInterfaces, context)
|
|
4309
4309
|
: undefined,
|
|
@@ -4311,19 +4311,19 @@ const deserializeAws_restJson1Flow = (output, context) => {
|
|
|
4311
4311
|
};
|
|
4312
4312
|
const deserializeAws_restJson1Fmtp = (output, context) => {
|
|
4313
4313
|
return {
|
|
4314
|
-
ChannelOrder:
|
|
4315
|
-
Colorimetry:
|
|
4316
|
-
ExactFramerate:
|
|
4317
|
-
Par:
|
|
4318
|
-
Range:
|
|
4319
|
-
ScanMode:
|
|
4320
|
-
Tcs:
|
|
4314
|
+
ChannelOrder: smithy_client_1.expectString(output.channelOrder),
|
|
4315
|
+
Colorimetry: smithy_client_1.expectString(output.colorimetry),
|
|
4316
|
+
ExactFramerate: smithy_client_1.expectString(output.exactFramerate),
|
|
4317
|
+
Par: smithy_client_1.expectString(output.par),
|
|
4318
|
+
Range: smithy_client_1.expectString(output.range),
|
|
4319
|
+
ScanMode: smithy_client_1.expectString(output.scanMode),
|
|
4320
|
+
Tcs: smithy_client_1.expectString(output.tcs),
|
|
4321
4321
|
};
|
|
4322
4322
|
};
|
|
4323
4323
|
const deserializeAws_restJson1InputConfiguration = (output, context) => {
|
|
4324
4324
|
return {
|
|
4325
|
-
InputIp:
|
|
4326
|
-
InputPort:
|
|
4325
|
+
InputIp: smithy_client_1.expectString(output.inputIp),
|
|
4326
|
+
InputPort: smithy_client_1.expectInt32(output.inputPort),
|
|
4327
4327
|
Interface: output.interface !== undefined && output.interface !== null
|
|
4328
4328
|
? deserializeAws_restJson1Interface(output.interface, context)
|
|
4329
4329
|
: undefined,
|
|
@@ -4331,24 +4331,24 @@ const deserializeAws_restJson1InputConfiguration = (output, context) => {
|
|
|
4331
4331
|
};
|
|
4332
4332
|
const deserializeAws_restJson1Interface = (output, context) => {
|
|
4333
4333
|
return {
|
|
4334
|
-
Name:
|
|
4334
|
+
Name: smithy_client_1.expectString(output.name),
|
|
4335
4335
|
};
|
|
4336
4336
|
};
|
|
4337
4337
|
const deserializeAws_restJson1ListedEntitlement = (output, context) => {
|
|
4338
4338
|
return {
|
|
4339
|
-
DataTransferSubscriberFeePercent:
|
|
4340
|
-
EntitlementArn:
|
|
4341
|
-
EntitlementName:
|
|
4339
|
+
DataTransferSubscriberFeePercent: smithy_client_1.expectInt32(output.dataTransferSubscriberFeePercent),
|
|
4340
|
+
EntitlementArn: smithy_client_1.expectString(output.entitlementArn),
|
|
4341
|
+
EntitlementName: smithy_client_1.expectString(output.entitlementName),
|
|
4342
4342
|
};
|
|
4343
4343
|
};
|
|
4344
4344
|
const deserializeAws_restJson1ListedFlow = (output, context) => {
|
|
4345
4345
|
return {
|
|
4346
|
-
AvailabilityZone:
|
|
4347
|
-
Description:
|
|
4348
|
-
FlowArn:
|
|
4349
|
-
Name:
|
|
4350
|
-
SourceType:
|
|
4351
|
-
Status:
|
|
4346
|
+
AvailabilityZone: smithy_client_1.expectString(output.availabilityZone),
|
|
4347
|
+
Description: smithy_client_1.expectString(output.description),
|
|
4348
|
+
FlowArn: smithy_client_1.expectString(output.flowArn),
|
|
4349
|
+
Name: smithy_client_1.expectString(output.name),
|
|
4350
|
+
SourceType: smithy_client_1.expectString(output.sourceType),
|
|
4351
|
+
Status: smithy_client_1.expectString(output.status),
|
|
4352
4352
|
};
|
|
4353
4353
|
};
|
|
4354
4354
|
const deserializeAws_restJson1MediaStream = (output, context) => {
|
|
@@ -4356,13 +4356,13 @@ const deserializeAws_restJson1MediaStream = (output, context) => {
|
|
|
4356
4356
|
Attributes: output.attributes !== undefined && output.attributes !== null
|
|
4357
4357
|
? deserializeAws_restJson1MediaStreamAttributes(output.attributes, context)
|
|
4358
4358
|
: undefined,
|
|
4359
|
-
ClockRate:
|
|
4360
|
-
Description:
|
|
4361
|
-
Fmt:
|
|
4362
|
-
MediaStreamId:
|
|
4363
|
-
MediaStreamName:
|
|
4364
|
-
MediaStreamType:
|
|
4365
|
-
VideoFormat:
|
|
4359
|
+
ClockRate: smithy_client_1.expectInt32(output.clockRate),
|
|
4360
|
+
Description: smithy_client_1.expectString(output.description),
|
|
4361
|
+
Fmt: smithy_client_1.expectInt32(output.fmt),
|
|
4362
|
+
MediaStreamId: smithy_client_1.expectInt32(output.mediaStreamId),
|
|
4363
|
+
MediaStreamName: smithy_client_1.expectString(output.mediaStreamName),
|
|
4364
|
+
MediaStreamType: smithy_client_1.expectString(output.mediaStreamType),
|
|
4365
|
+
VideoFormat: smithy_client_1.expectString(output.videoFormat),
|
|
4366
4366
|
};
|
|
4367
4367
|
};
|
|
4368
4368
|
const deserializeAws_restJson1MediaStreamAttributes = (output, context) => {
|
|
@@ -4370,7 +4370,7 @@ const deserializeAws_restJson1MediaStreamAttributes = (output, context) => {
|
|
|
4370
4370
|
Fmtp: output.fmtp !== undefined && output.fmtp !== null
|
|
4371
4371
|
? deserializeAws_restJson1Fmtp(output.fmtp, context)
|
|
4372
4372
|
: undefined,
|
|
4373
|
-
Lang:
|
|
4373
|
+
Lang: smithy_client_1.expectString(output.lang),
|
|
4374
4374
|
};
|
|
4375
4375
|
};
|
|
4376
4376
|
const deserializeAws_restJson1MediaStreamOutputConfiguration = (output, context) => {
|
|
@@ -4378,20 +4378,20 @@ const deserializeAws_restJson1MediaStreamOutputConfiguration = (output, context)
|
|
|
4378
4378
|
DestinationConfigurations: output.destinationConfigurations !== undefined && output.destinationConfigurations !== null
|
|
4379
4379
|
? deserializeAws_restJson1__listOfDestinationConfiguration(output.destinationConfigurations, context)
|
|
4380
4380
|
: undefined,
|
|
4381
|
-
EncodingName:
|
|
4381
|
+
EncodingName: smithy_client_1.expectString(output.encodingName),
|
|
4382
4382
|
EncodingParameters: output.encodingParameters !== undefined && output.encodingParameters !== null
|
|
4383
4383
|
? deserializeAws_restJson1EncodingParameters(output.encodingParameters, context)
|
|
4384
4384
|
: undefined,
|
|
4385
|
-
MediaStreamName:
|
|
4385
|
+
MediaStreamName: smithy_client_1.expectString(output.mediaStreamName),
|
|
4386
4386
|
};
|
|
4387
4387
|
};
|
|
4388
4388
|
const deserializeAws_restJson1MediaStreamSourceConfiguration = (output, context) => {
|
|
4389
4389
|
return {
|
|
4390
|
-
EncodingName:
|
|
4390
|
+
EncodingName: smithy_client_1.expectString(output.encodingName),
|
|
4391
4391
|
InputConfigurations: output.inputConfigurations !== undefined && output.inputConfigurations !== null
|
|
4392
4392
|
? deserializeAws_restJson1__listOfInputConfiguration(output.inputConfigurations, context)
|
|
4393
4393
|
: undefined,
|
|
4394
|
-
MediaStreamName:
|
|
4394
|
+
MediaStreamName: smithy_client_1.expectString(output.mediaStreamName),
|
|
4395
4395
|
};
|
|
4396
4396
|
};
|
|
4397
4397
|
const deserializeAws_restJson1Messages = (output, context) => {
|
|
@@ -4403,13 +4403,13 @@ const deserializeAws_restJson1Messages = (output, context) => {
|
|
|
4403
4403
|
};
|
|
4404
4404
|
const deserializeAws_restJson1Offering = (output, context) => {
|
|
4405
4405
|
return {
|
|
4406
|
-
CurrencyCode:
|
|
4407
|
-
Duration:
|
|
4408
|
-
DurationUnits:
|
|
4409
|
-
OfferingArn:
|
|
4410
|
-
OfferingDescription:
|
|
4411
|
-
PricePerUnit:
|
|
4412
|
-
PriceUnits:
|
|
4406
|
+
CurrencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
4407
|
+
Duration: smithy_client_1.expectInt32(output.duration),
|
|
4408
|
+
DurationUnits: smithy_client_1.expectString(output.durationUnits),
|
|
4409
|
+
OfferingArn: smithy_client_1.expectString(output.offeringArn),
|
|
4410
|
+
OfferingDescription: smithy_client_1.expectString(output.offeringDescription),
|
|
4411
|
+
PricePerUnit: smithy_client_1.expectString(output.pricePerUnit),
|
|
4412
|
+
PriceUnits: smithy_client_1.expectString(output.priceUnits),
|
|
4413
4413
|
ResourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
|
|
4414
4414
|
? deserializeAws_restJson1ResourceSpecification(output.resourceSpecification, context)
|
|
4415
4415
|
: undefined,
|
|
@@ -4417,21 +4417,21 @@ const deserializeAws_restJson1Offering = (output, context) => {
|
|
|
4417
4417
|
};
|
|
4418
4418
|
const deserializeAws_restJson1Output = (output, context) => {
|
|
4419
4419
|
return {
|
|
4420
|
-
DataTransferSubscriberFeePercent:
|
|
4421
|
-
Description:
|
|
4422
|
-
Destination:
|
|
4420
|
+
DataTransferSubscriberFeePercent: smithy_client_1.expectInt32(output.dataTransferSubscriberFeePercent),
|
|
4421
|
+
Description: smithy_client_1.expectString(output.description),
|
|
4422
|
+
Destination: smithy_client_1.expectString(output.destination),
|
|
4423
4423
|
Encryption: output.encryption !== undefined && output.encryption !== null
|
|
4424
4424
|
? deserializeAws_restJson1Encryption(output.encryption, context)
|
|
4425
4425
|
: undefined,
|
|
4426
|
-
EntitlementArn:
|
|
4427
|
-
ListenerAddress:
|
|
4428
|
-
MediaLiveInputArn:
|
|
4426
|
+
EntitlementArn: smithy_client_1.expectString(output.entitlementArn),
|
|
4427
|
+
ListenerAddress: smithy_client_1.expectString(output.listenerAddress),
|
|
4428
|
+
MediaLiveInputArn: smithy_client_1.expectString(output.mediaLiveInputArn),
|
|
4429
4429
|
MediaStreamOutputConfigurations: output.mediaStreamOutputConfigurations !== undefined && output.mediaStreamOutputConfigurations !== null
|
|
4430
4430
|
? deserializeAws_restJson1__listOfMediaStreamOutputConfiguration(output.mediaStreamOutputConfigurations, context)
|
|
4431
4431
|
: undefined,
|
|
4432
|
-
Name:
|
|
4433
|
-
OutputArn:
|
|
4434
|
-
Port:
|
|
4432
|
+
Name: smithy_client_1.expectString(output.name),
|
|
4433
|
+
OutputArn: smithy_client_1.expectString(output.outputArn),
|
|
4434
|
+
Port: smithy_client_1.expectInt32(output.port),
|
|
4435
4435
|
Transport: output.transport !== undefined && output.transport !== null
|
|
4436
4436
|
? deserializeAws_restJson1Transport(output.transport, context)
|
|
4437
4437
|
: undefined,
|
|
@@ -4442,54 +4442,54 @@ const deserializeAws_restJson1Output = (output, context) => {
|
|
|
4442
4442
|
};
|
|
4443
4443
|
const deserializeAws_restJson1Reservation = (output, context) => {
|
|
4444
4444
|
return {
|
|
4445
|
-
CurrencyCode:
|
|
4446
|
-
Duration:
|
|
4447
|
-
DurationUnits:
|
|
4448
|
-
End:
|
|
4449
|
-
OfferingArn:
|
|
4450
|
-
OfferingDescription:
|
|
4451
|
-
PricePerUnit:
|
|
4452
|
-
PriceUnits:
|
|
4453
|
-
ReservationArn:
|
|
4454
|
-
ReservationName:
|
|
4455
|
-
ReservationState:
|
|
4445
|
+
CurrencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
4446
|
+
Duration: smithy_client_1.expectInt32(output.duration),
|
|
4447
|
+
DurationUnits: smithy_client_1.expectString(output.durationUnits),
|
|
4448
|
+
End: smithy_client_1.expectString(output.end),
|
|
4449
|
+
OfferingArn: smithy_client_1.expectString(output.offeringArn),
|
|
4450
|
+
OfferingDescription: smithy_client_1.expectString(output.offeringDescription),
|
|
4451
|
+
PricePerUnit: smithy_client_1.expectString(output.pricePerUnit),
|
|
4452
|
+
PriceUnits: smithy_client_1.expectString(output.priceUnits),
|
|
4453
|
+
ReservationArn: smithy_client_1.expectString(output.reservationArn),
|
|
4454
|
+
ReservationName: smithy_client_1.expectString(output.reservationName),
|
|
4455
|
+
ReservationState: smithy_client_1.expectString(output.reservationState),
|
|
4456
4456
|
ResourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
|
|
4457
4457
|
? deserializeAws_restJson1ResourceSpecification(output.resourceSpecification, context)
|
|
4458
4458
|
: undefined,
|
|
4459
|
-
Start:
|
|
4459
|
+
Start: smithy_client_1.expectString(output.start),
|
|
4460
4460
|
};
|
|
4461
4461
|
};
|
|
4462
4462
|
const deserializeAws_restJson1ResourceSpecification = (output, context) => {
|
|
4463
4463
|
return {
|
|
4464
|
-
ReservedBitrate:
|
|
4465
|
-
ResourceType:
|
|
4464
|
+
ReservedBitrate: smithy_client_1.expectInt32(output.reservedBitrate),
|
|
4465
|
+
ResourceType: smithy_client_1.expectString(output.resourceType),
|
|
4466
4466
|
};
|
|
4467
4467
|
};
|
|
4468
4468
|
const deserializeAws_restJson1Source = (output, context) => {
|
|
4469
4469
|
return {
|
|
4470
|
-
DataTransferSubscriberFeePercent:
|
|
4470
|
+
DataTransferSubscriberFeePercent: smithy_client_1.expectInt32(output.dataTransferSubscriberFeePercent),
|
|
4471
4471
|
Decryption: output.decryption !== undefined && output.decryption !== null
|
|
4472
4472
|
? deserializeAws_restJson1Encryption(output.decryption, context)
|
|
4473
4473
|
: undefined,
|
|
4474
|
-
Description:
|
|
4475
|
-
EntitlementArn:
|
|
4476
|
-
IngestIp:
|
|
4477
|
-
IngestPort:
|
|
4474
|
+
Description: smithy_client_1.expectString(output.description),
|
|
4475
|
+
EntitlementArn: smithy_client_1.expectString(output.entitlementArn),
|
|
4476
|
+
IngestIp: smithy_client_1.expectString(output.ingestIp),
|
|
4477
|
+
IngestPort: smithy_client_1.expectInt32(output.ingestPort),
|
|
4478
4478
|
MediaStreamSourceConfigurations: output.mediaStreamSourceConfigurations !== undefined && output.mediaStreamSourceConfigurations !== null
|
|
4479
4479
|
? deserializeAws_restJson1__listOfMediaStreamSourceConfiguration(output.mediaStreamSourceConfigurations, context)
|
|
4480
4480
|
: undefined,
|
|
4481
|
-
Name:
|
|
4482
|
-
SourceArn:
|
|
4481
|
+
Name: smithy_client_1.expectString(output.name),
|
|
4482
|
+
SourceArn: smithy_client_1.expectString(output.sourceArn),
|
|
4483
4483
|
Transport: output.transport !== undefined && output.transport !== null
|
|
4484
4484
|
? deserializeAws_restJson1Transport(output.transport, context)
|
|
4485
4485
|
: undefined,
|
|
4486
|
-
VpcInterfaceName:
|
|
4487
|
-
WhitelistCidr:
|
|
4486
|
+
VpcInterfaceName: smithy_client_1.expectString(output.vpcInterfaceName),
|
|
4487
|
+
WhitelistCidr: smithy_client_1.expectString(output.whitelistCidr),
|
|
4488
4488
|
};
|
|
4489
4489
|
};
|
|
4490
4490
|
const deserializeAws_restJson1SourcePriority = (output, context) => {
|
|
4491
4491
|
return {
|
|
4492
|
-
PrimarySource:
|
|
4492
|
+
PrimarySource: smithy_client_1.expectString(output.primarySource),
|
|
4493
4493
|
};
|
|
4494
4494
|
};
|
|
4495
4495
|
const deserializeAws_restJson1Transport = (output, context) => {
|
|
@@ -4497,33 +4497,33 @@ const deserializeAws_restJson1Transport = (output, context) => {
|
|
|
4497
4497
|
CidrAllowList: output.cidrAllowList !== undefined && output.cidrAllowList !== null
|
|
4498
4498
|
? deserializeAws_restJson1__listOf__string(output.cidrAllowList, context)
|
|
4499
4499
|
: undefined,
|
|
4500
|
-
MaxBitrate:
|
|
4501
|
-
MaxLatency:
|
|
4502
|
-
MaxSyncBuffer:
|
|
4503
|
-
MinLatency:
|
|
4504
|
-
Protocol:
|
|
4505
|
-
RemoteId:
|
|
4506
|
-
SmoothingLatency:
|
|
4507
|
-
StreamId:
|
|
4500
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
4501
|
+
MaxLatency: smithy_client_1.expectInt32(output.maxLatency),
|
|
4502
|
+
MaxSyncBuffer: smithy_client_1.expectInt32(output.maxSyncBuffer),
|
|
4503
|
+
MinLatency: smithy_client_1.expectInt32(output.minLatency),
|
|
4504
|
+
Protocol: smithy_client_1.expectString(output.protocol),
|
|
4505
|
+
RemoteId: smithy_client_1.expectString(output.remoteId),
|
|
4506
|
+
SmoothingLatency: smithy_client_1.expectInt32(output.smoothingLatency),
|
|
4507
|
+
StreamId: smithy_client_1.expectString(output.streamId),
|
|
4508
4508
|
};
|
|
4509
4509
|
};
|
|
4510
4510
|
const deserializeAws_restJson1VpcInterface = (output, context) => {
|
|
4511
4511
|
return {
|
|
4512
|
-
Name:
|
|
4512
|
+
Name: smithy_client_1.expectString(output.name),
|
|
4513
4513
|
NetworkInterfaceIds: output.networkInterfaceIds !== undefined && output.networkInterfaceIds !== null
|
|
4514
4514
|
? deserializeAws_restJson1__listOf__string(output.networkInterfaceIds, context)
|
|
4515
4515
|
: undefined,
|
|
4516
|
-
NetworkInterfaceType:
|
|
4517
|
-
RoleArn:
|
|
4516
|
+
NetworkInterfaceType: smithy_client_1.expectString(output.networkInterfaceType),
|
|
4517
|
+
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
4518
4518
|
SecurityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
|
|
4519
4519
|
? deserializeAws_restJson1__listOf__string(output.securityGroupIds, context)
|
|
4520
4520
|
: undefined,
|
|
4521
|
-
SubnetId:
|
|
4521
|
+
SubnetId: smithy_client_1.expectString(output.subnetId),
|
|
4522
4522
|
};
|
|
4523
4523
|
};
|
|
4524
4524
|
const deserializeAws_restJson1VpcInterfaceAttachment = (output, context) => {
|
|
4525
4525
|
return {
|
|
4526
|
-
VpcInterfaceName:
|
|
4526
|
+
VpcInterfaceName: smithy_client_1.expectString(output.vpcInterfaceName),
|
|
4527
4527
|
};
|
|
4528
4528
|
};
|
|
4529
4529
|
const deserializeMetadata = (output) => {
|