@aws-sdk/client-mediaconvert 3.118.1 → 3.128.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 +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1521 -2183
- package/dist-es/protocols/Aws_restJson1.js +782 -1444
- package/package.json +26 -26
|
@@ -15,7 +15,7 @@ export var serializeAws_restJson1AssociateCertificateCommand = function (input,
|
|
|
15
15
|
"content-type": "application/json",
|
|
16
16
|
};
|
|
17
17
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/certificates";
|
|
18
|
-
body = JSON.stringify(__assign({}, (input.Arn
|
|
18
|
+
body = JSON.stringify(__assign({}, (input.Arn != null && { arn: input.Arn })));
|
|
19
19
|
return [2, new __HttpRequest({
|
|
20
20
|
protocol: protocol,
|
|
21
21
|
hostname: hostname,
|
|
@@ -71,19 +71,11 @@ export var serializeAws_restJson1CreateJobCommand = function (input, context) {
|
|
|
71
71
|
"content-type": "application/json",
|
|
72
72
|
};
|
|
73
73
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobs";
|
|
74
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccelerationSettings
|
|
75
|
-
input.AccelerationSettings !== null && {
|
|
74
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccelerationSettings != null && {
|
|
76
75
|
accelerationSettings: serializeAws_restJson1AccelerationSettings(input.AccelerationSettings, context),
|
|
77
|
-
})), (input.BillingTagsSource !==
|
|
78
|
-
input.BillingTagsSource !== null && { billingTagsSource: input.BillingTagsSource })), { clientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.HopDestinations !== undefined &&
|
|
79
|
-
input.HopDestinations !== null && {
|
|
76
|
+
})), (input.BillingTagsSource != null && { billingTagsSource: input.BillingTagsSource })), { clientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.HopDestinations != null && {
|
|
80
77
|
hopDestinations: serializeAws_restJson1__listOfHopDestination(input.HopDestinations, context),
|
|
81
|
-
})), (input.JobTemplate
|
|
82
|
-
input.Settings !== null && { settings: serializeAws_restJson1JobSettings(input.Settings, context) })), (input.SimulateReservedQueue !== undefined &&
|
|
83
|
-
input.SimulateReservedQueue !== null && { simulateReservedQueue: input.SimulateReservedQueue })), (input.StatusUpdateInterval !== undefined &&
|
|
84
|
-
input.StatusUpdateInterval !== null && { statusUpdateInterval: input.StatusUpdateInterval })), (input.Tags !== undefined &&
|
|
85
|
-
input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })), (input.UserMetadata !== undefined &&
|
|
86
|
-
input.UserMetadata !== null && {
|
|
78
|
+
})), (input.JobTemplate != null && { jobTemplate: input.JobTemplate })), (input.Priority != null && { priority: input.Priority })), (input.Queue != null && { queue: input.Queue })), (input.Role != null && { role: input.Role })), (input.Settings != null && { settings: serializeAws_restJson1JobSettings(input.Settings, context) })), (input.SimulateReservedQueue != null && { simulateReservedQueue: input.SimulateReservedQueue })), (input.StatusUpdateInterval != null && { statusUpdateInterval: input.StatusUpdateInterval })), (input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })), (input.UserMetadata != null && {
|
|
87
79
|
userMetadata: serializeAws_restJson1__mapOf__string(input.UserMetadata, context),
|
|
88
80
|
})));
|
|
89
81
|
return [2, new __HttpRequest({
|
|
@@ -109,16 +101,11 @@ export var serializeAws_restJson1CreateJobTemplateCommand = function (input, con
|
|
|
109
101
|
"content-type": "application/json",
|
|
110
102
|
};
|
|
111
103
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/jobTemplates";
|
|
112
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccelerationSettings
|
|
113
|
-
input.AccelerationSettings !== null && {
|
|
104
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccelerationSettings != null && {
|
|
114
105
|
accelerationSettings: serializeAws_restJson1AccelerationSettings(input.AccelerationSettings, context),
|
|
115
|
-
})), (input.Category
|
|
116
|
-
input.HopDestinations !== null && {
|
|
106
|
+
})), (input.Category != null && { category: input.Category })), (input.Description != null && { description: input.Description })), (input.HopDestinations != null && {
|
|
117
107
|
hopDestinations: serializeAws_restJson1__listOfHopDestination(input.HopDestinations, context),
|
|
118
|
-
})), (input.Name
|
|
119
|
-
input.Settings !== null && { settings: serializeAws_restJson1JobTemplateSettings(input.Settings, context) })), (input.StatusUpdateInterval !== undefined &&
|
|
120
|
-
input.StatusUpdateInterval !== null && { statusUpdateInterval: input.StatusUpdateInterval })), (input.Tags !== undefined &&
|
|
121
|
-
input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
108
|
+
})), (input.Name != null && { name: input.Name })), (input.Priority != null && { priority: input.Priority })), (input.Queue != null && { queue: input.Queue })), (input.Settings != null && { settings: serializeAws_restJson1JobTemplateSettings(input.Settings, context) })), (input.StatusUpdateInterval != null && { statusUpdateInterval: input.StatusUpdateInterval })), (input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
122
109
|
return [2, new __HttpRequest({
|
|
123
110
|
protocol: protocol,
|
|
124
111
|
hostname: hostname,
|
|
@@ -142,9 +129,7 @@ export var serializeAws_restJson1CreatePresetCommand = function (input, context)
|
|
|
142
129
|
"content-type": "application/json",
|
|
143
130
|
};
|
|
144
131
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/presets";
|
|
145
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Category
|
|
146
|
-
input.Settings !== null && { settings: serializeAws_restJson1PresetSettings(input.Settings, context) })), (input.Tags !== undefined &&
|
|
147
|
-
input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
132
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Category != null && { category: input.Category })), (input.Description != null && { description: input.Description })), (input.Name != null && { name: input.Name })), (input.Settings != null && { settings: serializeAws_restJson1PresetSettings(input.Settings, context) })), (input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
148
133
|
return [2, new __HttpRequest({
|
|
149
134
|
protocol: protocol,
|
|
150
135
|
hostname: hostname,
|
|
@@ -168,11 +153,9 @@ export var serializeAws_restJson1CreateQueueCommand = function (input, context)
|
|
|
168
153
|
"content-type": "application/json",
|
|
169
154
|
};
|
|
170
155
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/queues";
|
|
171
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
172
|
-
input.ReservationPlanSettings !== null && {
|
|
156
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { description: input.Description })), (input.Name != null && { name: input.Name })), (input.PricingPlan != null && { pricingPlan: input.PricingPlan })), (input.ReservationPlanSettings != null && {
|
|
173
157
|
reservationPlanSettings: serializeAws_restJson1ReservationPlanSettings(input.ReservationPlanSettings, context),
|
|
174
|
-
})), (input.Status
|
|
175
|
-
input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
158
|
+
})), (input.Status != null && { status: input.Status })), (input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
176
159
|
return [2, new __HttpRequest({
|
|
177
160
|
protocol: protocol,
|
|
178
161
|
hostname: hostname,
|
|
@@ -313,7 +296,7 @@ export var serializeAws_restJson1DescribeEndpointsCommand = function (input, con
|
|
|
313
296
|
"content-type": "application/json",
|
|
314
297
|
};
|
|
315
298
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/endpoints";
|
|
316
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.MaxResults
|
|
299
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.MaxResults != null && { maxResults: input.MaxResults })), (input.Mode != null && { mode: input.Mode })), (input.NextToken != null && { nextToken: input.NextToken })));
|
|
317
300
|
return [2, new __HttpRequest({
|
|
318
301
|
protocol: protocol,
|
|
319
302
|
hostname: hostname,
|
|
@@ -639,8 +622,7 @@ export var serializeAws_restJson1PutPolicyCommand = function (input, context) {
|
|
|
639
622
|
"content-type": "application/json",
|
|
640
623
|
};
|
|
641
624
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/policy";
|
|
642
|
-
body = JSON.stringify(__assign({}, (input.Policy
|
|
643
|
-
input.Policy !== null && { policy: serializeAws_restJson1Policy(input.Policy, context) })));
|
|
625
|
+
body = JSON.stringify(__assign({}, (input.Policy != null && { policy: serializeAws_restJson1Policy(input.Policy, context) })));
|
|
644
626
|
return [2, new __HttpRequest({
|
|
645
627
|
protocol: protocol,
|
|
646
628
|
hostname: hostname,
|
|
@@ -664,8 +646,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
664
646
|
"content-type": "application/json",
|
|
665
647
|
};
|
|
666
648
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2017-08-29/tags";
|
|
667
|
-
body = JSON.stringify(__assign(__assign({}, (input.Arn
|
|
668
|
-
input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
649
|
+
body = JSON.stringify(__assign(__assign({}, (input.Arn != null && { arn: input.Arn })), (input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
669
650
|
return [2, new __HttpRequest({
|
|
670
651
|
protocol: protocol,
|
|
671
652
|
hostname: hostname,
|
|
@@ -699,8 +680,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
699
680
|
else {
|
|
700
681
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
701
682
|
}
|
|
702
|
-
body = JSON.stringify(__assign({}, (input.TagKeys
|
|
703
|
-
input.TagKeys !== null && { tagKeys: serializeAws_restJson1__listOf__string(input.TagKeys, context) })));
|
|
683
|
+
body = JSON.stringify(__assign({}, (input.TagKeys != null && { tagKeys: serializeAws_restJson1__listOf__string(input.TagKeys, context) })));
|
|
704
684
|
return [2, new __HttpRequest({
|
|
705
685
|
protocol: protocol,
|
|
706
686
|
hostname: hostname,
|
|
@@ -734,15 +714,11 @@ export var serializeAws_restJson1UpdateJobTemplateCommand = function (input, con
|
|
|
734
714
|
else {
|
|
735
715
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
736
716
|
}
|
|
737
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccelerationSettings
|
|
738
|
-
input.AccelerationSettings !== null && {
|
|
717
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccelerationSettings != null && {
|
|
739
718
|
accelerationSettings: serializeAws_restJson1AccelerationSettings(input.AccelerationSettings, context),
|
|
740
|
-
})), (input.Category
|
|
741
|
-
input.HopDestinations !== null && {
|
|
719
|
+
})), (input.Category != null && { category: input.Category })), (input.Description != null && { description: input.Description })), (input.HopDestinations != null && {
|
|
742
720
|
hopDestinations: serializeAws_restJson1__listOfHopDestination(input.HopDestinations, context),
|
|
743
|
-
})), (input.Priority
|
|
744
|
-
input.Settings !== null && { settings: serializeAws_restJson1JobTemplateSettings(input.Settings, context) })), (input.StatusUpdateInterval !== undefined &&
|
|
745
|
-
input.StatusUpdateInterval !== null && { statusUpdateInterval: input.StatusUpdateInterval })));
|
|
721
|
+
})), (input.Priority != null && { priority: input.Priority })), (input.Queue != null && { queue: input.Queue })), (input.Settings != null && { settings: serializeAws_restJson1JobTemplateSettings(input.Settings, context) })), (input.StatusUpdateInterval != null && { statusUpdateInterval: input.StatusUpdateInterval })));
|
|
746
722
|
return [2, new __HttpRequest({
|
|
747
723
|
protocol: protocol,
|
|
748
724
|
hostname: hostname,
|
|
@@ -776,8 +752,7 @@ export var serializeAws_restJson1UpdatePresetCommand = function (input, context)
|
|
|
776
752
|
else {
|
|
777
753
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
778
754
|
}
|
|
779
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Category
|
|
780
|
-
input.Settings !== null && { settings: serializeAws_restJson1PresetSettings(input.Settings, context) })));
|
|
755
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Category != null && { category: input.Category })), (input.Description != null && { description: input.Description })), (input.Settings != null && { settings: serializeAws_restJson1PresetSettings(input.Settings, context) })));
|
|
781
756
|
return [2, new __HttpRequest({
|
|
782
757
|
protocol: protocol,
|
|
783
758
|
hostname: hostname,
|
|
@@ -811,10 +786,9 @@ export var serializeAws_restJson1UpdateQueueCommand = function (input, context)
|
|
|
811
786
|
else {
|
|
812
787
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
813
788
|
}
|
|
814
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Description
|
|
815
|
-
input.ReservationPlanSettings !== null && {
|
|
789
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Description != null && { description: input.Description })), (input.ReservationPlanSettings != null && {
|
|
816
790
|
reservationPlanSettings: serializeAws_restJson1ReservationPlanSettings(input.ReservationPlanSettings, context),
|
|
817
|
-
})), (input.Status
|
|
791
|
+
})), (input.Status != null && { status: input.Status })));
|
|
818
792
|
return [2, new __HttpRequest({
|
|
819
793
|
protocol: protocol,
|
|
820
794
|
hostname: hostname,
|
|
@@ -846,7 +820,7 @@ export var deserializeAws_restJson1AssociateCertificateCommand = function (outpu
|
|
|
846
820
|
});
|
|
847
821
|
}); };
|
|
848
822
|
var deserializeAws_restJson1AssociateCertificateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
849
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
823
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
850
824
|
var _c;
|
|
851
825
|
return __generator(this, function (_d) {
|
|
852
826
|
switch (_d.label) {
|
|
@@ -856,7 +830,6 @@ var deserializeAws_restJson1AssociateCertificateCommandError = function (output,
|
|
|
856
830
|
return [4, parseBody(output.body, context)];
|
|
857
831
|
case 1:
|
|
858
832
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
859
|
-
errorCode = "UnknownError";
|
|
860
833
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
861
834
|
_b = errorCode;
|
|
862
835
|
switch (_b) {
|
|
@@ -888,10 +861,12 @@ var deserializeAws_restJson1AssociateCertificateCommandError = function (output,
|
|
|
888
861
|
case 13: throw _d.sent();
|
|
889
862
|
case 14:
|
|
890
863
|
parsedBody = parsedOutput.body;
|
|
864
|
+
$metadata = deserializeMetadata(output);
|
|
865
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
891
866
|
response = new __BaseException({
|
|
892
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
867
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
893
868
|
$fault: "client",
|
|
894
|
-
$metadata:
|
|
869
|
+
$metadata: $metadata,
|
|
895
870
|
});
|
|
896
871
|
throw __decorateServiceException(response, parsedBody);
|
|
897
872
|
}
|
|
@@ -916,7 +891,7 @@ export var deserializeAws_restJson1CancelJobCommand = function (output, context)
|
|
|
916
891
|
});
|
|
917
892
|
}); };
|
|
918
893
|
var deserializeAws_restJson1CancelJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
919
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
894
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
920
895
|
var _c;
|
|
921
896
|
return __generator(this, function (_d) {
|
|
922
897
|
switch (_d.label) {
|
|
@@ -926,7 +901,6 @@ var deserializeAws_restJson1CancelJobCommandError = function (output, context) {
|
|
|
926
901
|
return [4, parseBody(output.body, context)];
|
|
927
902
|
case 1:
|
|
928
903
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
929
|
-
errorCode = "UnknownError";
|
|
930
904
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
931
905
|
_b = errorCode;
|
|
932
906
|
switch (_b) {
|
|
@@ -958,10 +932,12 @@ var deserializeAws_restJson1CancelJobCommandError = function (output, context) {
|
|
|
958
932
|
case 13: throw _d.sent();
|
|
959
933
|
case 14:
|
|
960
934
|
parsedBody = parsedOutput.body;
|
|
935
|
+
$metadata = deserializeMetadata(output);
|
|
936
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
961
937
|
response = new __BaseException({
|
|
962
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
938
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
963
939
|
$fault: "client",
|
|
964
|
-
$metadata:
|
|
940
|
+
$metadata: $metadata,
|
|
965
941
|
});
|
|
966
942
|
throw __decorateServiceException(response, parsedBody);
|
|
967
943
|
}
|
|
@@ -992,7 +968,7 @@ export var deserializeAws_restJson1CreateJobCommand = function (output, context)
|
|
|
992
968
|
});
|
|
993
969
|
}); };
|
|
994
970
|
var deserializeAws_restJson1CreateJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
995
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
971
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
996
972
|
var _c;
|
|
997
973
|
return __generator(this, function (_d) {
|
|
998
974
|
switch (_d.label) {
|
|
@@ -1002,7 +978,6 @@ var deserializeAws_restJson1CreateJobCommandError = function (output, context) {
|
|
|
1002
978
|
return [4, parseBody(output.body, context)];
|
|
1003
979
|
case 1:
|
|
1004
980
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1005
|
-
errorCode = "UnknownError";
|
|
1006
981
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1007
982
|
_b = errorCode;
|
|
1008
983
|
switch (_b) {
|
|
@@ -1034,10 +1009,12 @@ var deserializeAws_restJson1CreateJobCommandError = function (output, context) {
|
|
|
1034
1009
|
case 13: throw _d.sent();
|
|
1035
1010
|
case 14:
|
|
1036
1011
|
parsedBody = parsedOutput.body;
|
|
1012
|
+
$metadata = deserializeMetadata(output);
|
|
1013
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1037
1014
|
response = new __BaseException({
|
|
1038
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1015
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1039
1016
|
$fault: "client",
|
|
1040
|
-
$metadata:
|
|
1017
|
+
$metadata: $metadata,
|
|
1041
1018
|
});
|
|
1042
1019
|
throw __decorateServiceException(response, parsedBody);
|
|
1043
1020
|
}
|
|
@@ -1068,7 +1045,7 @@ export var deserializeAws_restJson1CreateJobTemplateCommand = function (output,
|
|
|
1068
1045
|
});
|
|
1069
1046
|
}); };
|
|
1070
1047
|
var deserializeAws_restJson1CreateJobTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1071
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1048
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1072
1049
|
var _c;
|
|
1073
1050
|
return __generator(this, function (_d) {
|
|
1074
1051
|
switch (_d.label) {
|
|
@@ -1078,7 +1055,6 @@ var deserializeAws_restJson1CreateJobTemplateCommandError = function (output, co
|
|
|
1078
1055
|
return [4, parseBody(output.body, context)];
|
|
1079
1056
|
case 1:
|
|
1080
1057
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1081
|
-
errorCode = "UnknownError";
|
|
1082
1058
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1083
1059
|
_b = errorCode;
|
|
1084
1060
|
switch (_b) {
|
|
@@ -1110,10 +1086,12 @@ var deserializeAws_restJson1CreateJobTemplateCommandError = function (output, co
|
|
|
1110
1086
|
case 13: throw _d.sent();
|
|
1111
1087
|
case 14:
|
|
1112
1088
|
parsedBody = parsedOutput.body;
|
|
1089
|
+
$metadata = deserializeMetadata(output);
|
|
1090
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1113
1091
|
response = new __BaseException({
|
|
1114
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1092
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1115
1093
|
$fault: "client",
|
|
1116
|
-
$metadata:
|
|
1094
|
+
$metadata: $metadata,
|
|
1117
1095
|
});
|
|
1118
1096
|
throw __decorateServiceException(response, parsedBody);
|
|
1119
1097
|
}
|
|
@@ -1144,7 +1122,7 @@ export var deserializeAws_restJson1CreatePresetCommand = function (output, conte
|
|
|
1144
1122
|
});
|
|
1145
1123
|
}); };
|
|
1146
1124
|
var deserializeAws_restJson1CreatePresetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1147
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1125
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1148
1126
|
var _c;
|
|
1149
1127
|
return __generator(this, function (_d) {
|
|
1150
1128
|
switch (_d.label) {
|
|
@@ -1154,7 +1132,6 @@ var deserializeAws_restJson1CreatePresetCommandError = function (output, context
|
|
|
1154
1132
|
return [4, parseBody(output.body, context)];
|
|
1155
1133
|
case 1:
|
|
1156
1134
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1157
|
-
errorCode = "UnknownError";
|
|
1158
1135
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1159
1136
|
_b = errorCode;
|
|
1160
1137
|
switch (_b) {
|
|
@@ -1186,10 +1163,12 @@ var deserializeAws_restJson1CreatePresetCommandError = function (output, context
|
|
|
1186
1163
|
case 13: throw _d.sent();
|
|
1187
1164
|
case 14:
|
|
1188
1165
|
parsedBody = parsedOutput.body;
|
|
1166
|
+
$metadata = deserializeMetadata(output);
|
|
1167
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1189
1168
|
response = new __BaseException({
|
|
1190
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1169
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1191
1170
|
$fault: "client",
|
|
1192
|
-
$metadata:
|
|
1171
|
+
$metadata: $metadata,
|
|
1193
1172
|
});
|
|
1194
1173
|
throw __decorateServiceException(response, parsedBody);
|
|
1195
1174
|
}
|
|
@@ -1220,7 +1199,7 @@ export var deserializeAws_restJson1CreateQueueCommand = function (output, contex
|
|
|
1220
1199
|
});
|
|
1221
1200
|
}); };
|
|
1222
1201
|
var deserializeAws_restJson1CreateQueueCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1223
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1202
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1224
1203
|
var _c;
|
|
1225
1204
|
return __generator(this, function (_d) {
|
|
1226
1205
|
switch (_d.label) {
|
|
@@ -1230,7 +1209,6 @@ var deserializeAws_restJson1CreateQueueCommandError = function (output, context)
|
|
|
1230
1209
|
return [4, parseBody(output.body, context)];
|
|
1231
1210
|
case 1:
|
|
1232
1211
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1233
|
-
errorCode = "UnknownError";
|
|
1234
1212
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1235
1213
|
_b = errorCode;
|
|
1236
1214
|
switch (_b) {
|
|
@@ -1262,10 +1240,12 @@ var deserializeAws_restJson1CreateQueueCommandError = function (output, context)
|
|
|
1262
1240
|
case 13: throw _d.sent();
|
|
1263
1241
|
case 14:
|
|
1264
1242
|
parsedBody = parsedOutput.body;
|
|
1243
|
+
$metadata = deserializeMetadata(output);
|
|
1244
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1265
1245
|
response = new __BaseException({
|
|
1266
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1246
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1267
1247
|
$fault: "client",
|
|
1268
|
-
$metadata:
|
|
1248
|
+
$metadata: $metadata,
|
|
1269
1249
|
});
|
|
1270
1250
|
throw __decorateServiceException(response, parsedBody);
|
|
1271
1251
|
}
|
|
@@ -1290,7 +1270,7 @@ export var deserializeAws_restJson1DeleteJobTemplateCommand = function (output,
|
|
|
1290
1270
|
});
|
|
1291
1271
|
}); };
|
|
1292
1272
|
var deserializeAws_restJson1DeleteJobTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1293
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1273
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1294
1274
|
var _c;
|
|
1295
1275
|
return __generator(this, function (_d) {
|
|
1296
1276
|
switch (_d.label) {
|
|
@@ -1300,7 +1280,6 @@ var deserializeAws_restJson1DeleteJobTemplateCommandError = function (output, co
|
|
|
1300
1280
|
return [4, parseBody(output.body, context)];
|
|
1301
1281
|
case 1:
|
|
1302
1282
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1303
|
-
errorCode = "UnknownError";
|
|
1304
1283
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1305
1284
|
_b = errorCode;
|
|
1306
1285
|
switch (_b) {
|
|
@@ -1332,10 +1311,12 @@ var deserializeAws_restJson1DeleteJobTemplateCommandError = function (output, co
|
|
|
1332
1311
|
case 13: throw _d.sent();
|
|
1333
1312
|
case 14:
|
|
1334
1313
|
parsedBody = parsedOutput.body;
|
|
1314
|
+
$metadata = deserializeMetadata(output);
|
|
1315
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1335
1316
|
response = new __BaseException({
|
|
1336
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1317
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1337
1318
|
$fault: "client",
|
|
1338
|
-
$metadata:
|
|
1319
|
+
$metadata: $metadata,
|
|
1339
1320
|
});
|
|
1340
1321
|
throw __decorateServiceException(response, parsedBody);
|
|
1341
1322
|
}
|
|
@@ -1360,7 +1341,7 @@ export var deserializeAws_restJson1DeletePolicyCommand = function (output, conte
|
|
|
1360
1341
|
});
|
|
1361
1342
|
}); };
|
|
1362
1343
|
var deserializeAws_restJson1DeletePolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1363
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1344
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1364
1345
|
var _c;
|
|
1365
1346
|
return __generator(this, function (_d) {
|
|
1366
1347
|
switch (_d.label) {
|
|
@@ -1370,7 +1351,6 @@ var deserializeAws_restJson1DeletePolicyCommandError = function (output, context
|
|
|
1370
1351
|
return [4, parseBody(output.body, context)];
|
|
1371
1352
|
case 1:
|
|
1372
1353
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1373
|
-
errorCode = "UnknownError";
|
|
1374
1354
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1375
1355
|
_b = errorCode;
|
|
1376
1356
|
switch (_b) {
|
|
@@ -1402,10 +1382,12 @@ var deserializeAws_restJson1DeletePolicyCommandError = function (output, context
|
|
|
1402
1382
|
case 13: throw _d.sent();
|
|
1403
1383
|
case 14:
|
|
1404
1384
|
parsedBody = parsedOutput.body;
|
|
1385
|
+
$metadata = deserializeMetadata(output);
|
|
1386
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1405
1387
|
response = new __BaseException({
|
|
1406
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1388
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1407
1389
|
$fault: "client",
|
|
1408
|
-
$metadata:
|
|
1390
|
+
$metadata: $metadata,
|
|
1409
1391
|
});
|
|
1410
1392
|
throw __decorateServiceException(response, parsedBody);
|
|
1411
1393
|
}
|
|
@@ -1430,7 +1412,7 @@ export var deserializeAws_restJson1DeletePresetCommand = function (output, conte
|
|
|
1430
1412
|
});
|
|
1431
1413
|
}); };
|
|
1432
1414
|
var deserializeAws_restJson1DeletePresetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1433
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1415
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1434
1416
|
var _c;
|
|
1435
1417
|
return __generator(this, function (_d) {
|
|
1436
1418
|
switch (_d.label) {
|
|
@@ -1440,7 +1422,6 @@ var deserializeAws_restJson1DeletePresetCommandError = function (output, context
|
|
|
1440
1422
|
return [4, parseBody(output.body, context)];
|
|
1441
1423
|
case 1:
|
|
1442
1424
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1443
|
-
errorCode = "UnknownError";
|
|
1444
1425
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1445
1426
|
_b = errorCode;
|
|
1446
1427
|
switch (_b) {
|
|
@@ -1472,10 +1453,12 @@ var deserializeAws_restJson1DeletePresetCommandError = function (output, context
|
|
|
1472
1453
|
case 13: throw _d.sent();
|
|
1473
1454
|
case 14:
|
|
1474
1455
|
parsedBody = parsedOutput.body;
|
|
1456
|
+
$metadata = deserializeMetadata(output);
|
|
1457
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1475
1458
|
response = new __BaseException({
|
|
1476
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1459
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1477
1460
|
$fault: "client",
|
|
1478
|
-
$metadata:
|
|
1461
|
+
$metadata: $metadata,
|
|
1479
1462
|
});
|
|
1480
1463
|
throw __decorateServiceException(response, parsedBody);
|
|
1481
1464
|
}
|
|
@@ -1500,7 +1483,7 @@ export var deserializeAws_restJson1DeleteQueueCommand = function (output, contex
|
|
|
1500
1483
|
});
|
|
1501
1484
|
}); };
|
|
1502
1485
|
var deserializeAws_restJson1DeleteQueueCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1503
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1486
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1504
1487
|
var _c;
|
|
1505
1488
|
return __generator(this, function (_d) {
|
|
1506
1489
|
switch (_d.label) {
|
|
@@ -1510,7 +1493,6 @@ var deserializeAws_restJson1DeleteQueueCommandError = function (output, context)
|
|
|
1510
1493
|
return [4, parseBody(output.body, context)];
|
|
1511
1494
|
case 1:
|
|
1512
1495
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1513
|
-
errorCode = "UnknownError";
|
|
1514
1496
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1515
1497
|
_b = errorCode;
|
|
1516
1498
|
switch (_b) {
|
|
@@ -1542,10 +1524,12 @@ var deserializeAws_restJson1DeleteQueueCommandError = function (output, context)
|
|
|
1542
1524
|
case 13: throw _d.sent();
|
|
1543
1525
|
case 14:
|
|
1544
1526
|
parsedBody = parsedOutput.body;
|
|
1527
|
+
$metadata = deserializeMetadata(output);
|
|
1528
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1545
1529
|
response = new __BaseException({
|
|
1546
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1530
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1547
1531
|
$fault: "client",
|
|
1548
|
-
$metadata:
|
|
1532
|
+
$metadata: $metadata,
|
|
1549
1533
|
});
|
|
1550
1534
|
throw __decorateServiceException(response, parsedBody);
|
|
1551
1535
|
}
|
|
@@ -1580,7 +1564,7 @@ export var deserializeAws_restJson1DescribeEndpointsCommand = function (output,
|
|
|
1580
1564
|
});
|
|
1581
1565
|
}); };
|
|
1582
1566
|
var deserializeAws_restJson1DescribeEndpointsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1583
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1567
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1584
1568
|
var _c;
|
|
1585
1569
|
return __generator(this, function (_d) {
|
|
1586
1570
|
switch (_d.label) {
|
|
@@ -1590,7 +1574,6 @@ var deserializeAws_restJson1DescribeEndpointsCommandError = function (output, co
|
|
|
1590
1574
|
return [4, parseBody(output.body, context)];
|
|
1591
1575
|
case 1:
|
|
1592
1576
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1593
|
-
errorCode = "UnknownError";
|
|
1594
1577
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1595
1578
|
_b = errorCode;
|
|
1596
1579
|
switch (_b) {
|
|
@@ -1622,10 +1605,12 @@ var deserializeAws_restJson1DescribeEndpointsCommandError = function (output, co
|
|
|
1622
1605
|
case 13: throw _d.sent();
|
|
1623
1606
|
case 14:
|
|
1624
1607
|
parsedBody = parsedOutput.body;
|
|
1608
|
+
$metadata = deserializeMetadata(output);
|
|
1609
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1625
1610
|
response = new __BaseException({
|
|
1626
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1611
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1627
1612
|
$fault: "client",
|
|
1628
|
-
$metadata:
|
|
1613
|
+
$metadata: $metadata,
|
|
1629
1614
|
});
|
|
1630
1615
|
throw __decorateServiceException(response, parsedBody);
|
|
1631
1616
|
}
|
|
@@ -1650,7 +1635,7 @@ export var deserializeAws_restJson1DisassociateCertificateCommand = function (ou
|
|
|
1650
1635
|
});
|
|
1651
1636
|
}); };
|
|
1652
1637
|
var deserializeAws_restJson1DisassociateCertificateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1653
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1638
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1654
1639
|
var _c;
|
|
1655
1640
|
return __generator(this, function (_d) {
|
|
1656
1641
|
switch (_d.label) {
|
|
@@ -1660,7 +1645,6 @@ var deserializeAws_restJson1DisassociateCertificateCommandError = function (outp
|
|
|
1660
1645
|
return [4, parseBody(output.body, context)];
|
|
1661
1646
|
case 1:
|
|
1662
1647
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1663
|
-
errorCode = "UnknownError";
|
|
1664
1648
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1665
1649
|
_b = errorCode;
|
|
1666
1650
|
switch (_b) {
|
|
@@ -1692,10 +1676,12 @@ var deserializeAws_restJson1DisassociateCertificateCommandError = function (outp
|
|
|
1692
1676
|
case 13: throw _d.sent();
|
|
1693
1677
|
case 14:
|
|
1694
1678
|
parsedBody = parsedOutput.body;
|
|
1679
|
+
$metadata = deserializeMetadata(output);
|
|
1680
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1695
1681
|
response = new __BaseException({
|
|
1696
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1682
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1697
1683
|
$fault: "client",
|
|
1698
|
-
$metadata:
|
|
1684
|
+
$metadata: $metadata,
|
|
1699
1685
|
});
|
|
1700
1686
|
throw __decorateServiceException(response, parsedBody);
|
|
1701
1687
|
}
|
|
@@ -1726,7 +1712,7 @@ export var deserializeAws_restJson1GetJobCommand = function (output, context) {
|
|
|
1726
1712
|
});
|
|
1727
1713
|
}); };
|
|
1728
1714
|
var deserializeAws_restJson1GetJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1729
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1715
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1730
1716
|
var _c;
|
|
1731
1717
|
return __generator(this, function (_d) {
|
|
1732
1718
|
switch (_d.label) {
|
|
@@ -1736,7 +1722,6 @@ var deserializeAws_restJson1GetJobCommandError = function (output, context) { re
|
|
|
1736
1722
|
return [4, parseBody(output.body, context)];
|
|
1737
1723
|
case 1:
|
|
1738
1724
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1739
|
-
errorCode = "UnknownError";
|
|
1740
1725
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1741
1726
|
_b = errorCode;
|
|
1742
1727
|
switch (_b) {
|
|
@@ -1768,10 +1753,12 @@ var deserializeAws_restJson1GetJobCommandError = function (output, context) { re
|
|
|
1768
1753
|
case 13: throw _d.sent();
|
|
1769
1754
|
case 14:
|
|
1770
1755
|
parsedBody = parsedOutput.body;
|
|
1756
|
+
$metadata = deserializeMetadata(output);
|
|
1757
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1771
1758
|
response = new __BaseException({
|
|
1772
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1759
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1773
1760
|
$fault: "client",
|
|
1774
|
-
$metadata:
|
|
1761
|
+
$metadata: $metadata,
|
|
1775
1762
|
});
|
|
1776
1763
|
throw __decorateServiceException(response, parsedBody);
|
|
1777
1764
|
}
|
|
@@ -1802,7 +1789,7 @@ export var deserializeAws_restJson1GetJobTemplateCommand = function (output, con
|
|
|
1802
1789
|
});
|
|
1803
1790
|
}); };
|
|
1804
1791
|
var deserializeAws_restJson1GetJobTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1805
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1792
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1806
1793
|
var _c;
|
|
1807
1794
|
return __generator(this, function (_d) {
|
|
1808
1795
|
switch (_d.label) {
|
|
@@ -1812,7 +1799,6 @@ var deserializeAws_restJson1GetJobTemplateCommandError = function (output, conte
|
|
|
1812
1799
|
return [4, parseBody(output.body, context)];
|
|
1813
1800
|
case 1:
|
|
1814
1801
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1815
|
-
errorCode = "UnknownError";
|
|
1816
1802
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1817
1803
|
_b = errorCode;
|
|
1818
1804
|
switch (_b) {
|
|
@@ -1844,10 +1830,12 @@ var deserializeAws_restJson1GetJobTemplateCommandError = function (output, conte
|
|
|
1844
1830
|
case 13: throw _d.sent();
|
|
1845
1831
|
case 14:
|
|
1846
1832
|
parsedBody = parsedOutput.body;
|
|
1833
|
+
$metadata = deserializeMetadata(output);
|
|
1834
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1847
1835
|
response = new __BaseException({
|
|
1848
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1836
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1849
1837
|
$fault: "client",
|
|
1850
|
-
$metadata:
|
|
1838
|
+
$metadata: $metadata,
|
|
1851
1839
|
});
|
|
1852
1840
|
throw __decorateServiceException(response, parsedBody);
|
|
1853
1841
|
}
|
|
@@ -1878,7 +1866,7 @@ export var deserializeAws_restJson1GetPolicyCommand = function (output, context)
|
|
|
1878
1866
|
});
|
|
1879
1867
|
}); };
|
|
1880
1868
|
var deserializeAws_restJson1GetPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1881
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1869
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1882
1870
|
var _c;
|
|
1883
1871
|
return __generator(this, function (_d) {
|
|
1884
1872
|
switch (_d.label) {
|
|
@@ -1888,7 +1876,6 @@ var deserializeAws_restJson1GetPolicyCommandError = function (output, context) {
|
|
|
1888
1876
|
return [4, parseBody(output.body, context)];
|
|
1889
1877
|
case 1:
|
|
1890
1878
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1891
|
-
errorCode = "UnknownError";
|
|
1892
1879
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1893
1880
|
_b = errorCode;
|
|
1894
1881
|
switch (_b) {
|
|
@@ -1920,10 +1907,12 @@ var deserializeAws_restJson1GetPolicyCommandError = function (output, context) {
|
|
|
1920
1907
|
case 13: throw _d.sent();
|
|
1921
1908
|
case 14:
|
|
1922
1909
|
parsedBody = parsedOutput.body;
|
|
1910
|
+
$metadata = deserializeMetadata(output);
|
|
1911
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1923
1912
|
response = new __BaseException({
|
|
1924
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1913
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1925
1914
|
$fault: "client",
|
|
1926
|
-
$metadata:
|
|
1915
|
+
$metadata: $metadata,
|
|
1927
1916
|
});
|
|
1928
1917
|
throw __decorateServiceException(response, parsedBody);
|
|
1929
1918
|
}
|
|
@@ -1954,7 +1943,7 @@ export var deserializeAws_restJson1GetPresetCommand = function (output, context)
|
|
|
1954
1943
|
});
|
|
1955
1944
|
}); };
|
|
1956
1945
|
var deserializeAws_restJson1GetPresetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1957
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1946
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1958
1947
|
var _c;
|
|
1959
1948
|
return __generator(this, function (_d) {
|
|
1960
1949
|
switch (_d.label) {
|
|
@@ -1964,7 +1953,6 @@ var deserializeAws_restJson1GetPresetCommandError = function (output, context) {
|
|
|
1964
1953
|
return [4, parseBody(output.body, context)];
|
|
1965
1954
|
case 1:
|
|
1966
1955
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1967
|
-
errorCode = "UnknownError";
|
|
1968
1956
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1969
1957
|
_b = errorCode;
|
|
1970
1958
|
switch (_b) {
|
|
@@ -1996,10 +1984,12 @@ var deserializeAws_restJson1GetPresetCommandError = function (output, context) {
|
|
|
1996
1984
|
case 13: throw _d.sent();
|
|
1997
1985
|
case 14:
|
|
1998
1986
|
parsedBody = parsedOutput.body;
|
|
1987
|
+
$metadata = deserializeMetadata(output);
|
|
1988
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1999
1989
|
response = new __BaseException({
|
|
2000
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1990
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2001
1991
|
$fault: "client",
|
|
2002
|
-
$metadata:
|
|
1992
|
+
$metadata: $metadata,
|
|
2003
1993
|
});
|
|
2004
1994
|
throw __decorateServiceException(response, parsedBody);
|
|
2005
1995
|
}
|
|
@@ -2030,7 +2020,7 @@ export var deserializeAws_restJson1GetQueueCommand = function (output, context)
|
|
|
2030
2020
|
});
|
|
2031
2021
|
}); };
|
|
2032
2022
|
var deserializeAws_restJson1GetQueueCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2033
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2023
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2034
2024
|
var _c;
|
|
2035
2025
|
return __generator(this, function (_d) {
|
|
2036
2026
|
switch (_d.label) {
|
|
@@ -2040,7 +2030,6 @@ var deserializeAws_restJson1GetQueueCommandError = function (output, context) {
|
|
|
2040
2030
|
return [4, parseBody(output.body, context)];
|
|
2041
2031
|
case 1:
|
|
2042
2032
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2043
|
-
errorCode = "UnknownError";
|
|
2044
2033
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2045
2034
|
_b = errorCode;
|
|
2046
2035
|
switch (_b) {
|
|
@@ -2072,10 +2061,12 @@ var deserializeAws_restJson1GetQueueCommandError = function (output, context) {
|
|
|
2072
2061
|
case 13: throw _d.sent();
|
|
2073
2062
|
case 14:
|
|
2074
2063
|
parsedBody = parsedOutput.body;
|
|
2064
|
+
$metadata = deserializeMetadata(output);
|
|
2065
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2075
2066
|
response = new __BaseException({
|
|
2076
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2067
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2077
2068
|
$fault: "client",
|
|
2078
|
-
$metadata:
|
|
2069
|
+
$metadata: $metadata,
|
|
2079
2070
|
});
|
|
2080
2071
|
throw __decorateServiceException(response, parsedBody);
|
|
2081
2072
|
}
|
|
@@ -2110,7 +2101,7 @@ export var deserializeAws_restJson1ListJobsCommand = function (output, context)
|
|
|
2110
2101
|
});
|
|
2111
2102
|
}); };
|
|
2112
2103
|
var deserializeAws_restJson1ListJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2113
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2104
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2114
2105
|
var _c;
|
|
2115
2106
|
return __generator(this, function (_d) {
|
|
2116
2107
|
switch (_d.label) {
|
|
@@ -2120,7 +2111,6 @@ var deserializeAws_restJson1ListJobsCommandError = function (output, context) {
|
|
|
2120
2111
|
return [4, parseBody(output.body, context)];
|
|
2121
2112
|
case 1:
|
|
2122
2113
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2123
|
-
errorCode = "UnknownError";
|
|
2124
2114
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2125
2115
|
_b = errorCode;
|
|
2126
2116
|
switch (_b) {
|
|
@@ -2152,10 +2142,12 @@ var deserializeAws_restJson1ListJobsCommandError = function (output, context) {
|
|
|
2152
2142
|
case 13: throw _d.sent();
|
|
2153
2143
|
case 14:
|
|
2154
2144
|
parsedBody = parsedOutput.body;
|
|
2145
|
+
$metadata = deserializeMetadata(output);
|
|
2146
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2155
2147
|
response = new __BaseException({
|
|
2156
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2148
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2157
2149
|
$fault: "client",
|
|
2158
|
-
$metadata:
|
|
2150
|
+
$metadata: $metadata,
|
|
2159
2151
|
});
|
|
2160
2152
|
throw __decorateServiceException(response, parsedBody);
|
|
2161
2153
|
}
|
|
@@ -2190,7 +2182,7 @@ export var deserializeAws_restJson1ListJobTemplatesCommand = function (output, c
|
|
|
2190
2182
|
});
|
|
2191
2183
|
}); };
|
|
2192
2184
|
var deserializeAws_restJson1ListJobTemplatesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2193
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2185
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2194
2186
|
var _c;
|
|
2195
2187
|
return __generator(this, function (_d) {
|
|
2196
2188
|
switch (_d.label) {
|
|
@@ -2200,7 +2192,6 @@ var deserializeAws_restJson1ListJobTemplatesCommandError = function (output, con
|
|
|
2200
2192
|
return [4, parseBody(output.body, context)];
|
|
2201
2193
|
case 1:
|
|
2202
2194
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2203
|
-
errorCode = "UnknownError";
|
|
2204
2195
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2205
2196
|
_b = errorCode;
|
|
2206
2197
|
switch (_b) {
|
|
@@ -2232,10 +2223,12 @@ var deserializeAws_restJson1ListJobTemplatesCommandError = function (output, con
|
|
|
2232
2223
|
case 13: throw _d.sent();
|
|
2233
2224
|
case 14:
|
|
2234
2225
|
parsedBody = parsedOutput.body;
|
|
2226
|
+
$metadata = deserializeMetadata(output);
|
|
2227
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2235
2228
|
response = new __BaseException({
|
|
2236
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2229
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2237
2230
|
$fault: "client",
|
|
2238
|
-
$metadata:
|
|
2231
|
+
$metadata: $metadata,
|
|
2239
2232
|
});
|
|
2240
2233
|
throw __decorateServiceException(response, parsedBody);
|
|
2241
2234
|
}
|
|
@@ -2270,7 +2263,7 @@ export var deserializeAws_restJson1ListPresetsCommand = function (output, contex
|
|
|
2270
2263
|
});
|
|
2271
2264
|
}); };
|
|
2272
2265
|
var deserializeAws_restJson1ListPresetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2273
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2266
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2274
2267
|
var _c;
|
|
2275
2268
|
return __generator(this, function (_d) {
|
|
2276
2269
|
switch (_d.label) {
|
|
@@ -2280,7 +2273,6 @@ var deserializeAws_restJson1ListPresetsCommandError = function (output, context)
|
|
|
2280
2273
|
return [4, parseBody(output.body, context)];
|
|
2281
2274
|
case 1:
|
|
2282
2275
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2283
|
-
errorCode = "UnknownError";
|
|
2284
2276
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2285
2277
|
_b = errorCode;
|
|
2286
2278
|
switch (_b) {
|
|
@@ -2312,10 +2304,12 @@ var deserializeAws_restJson1ListPresetsCommandError = function (output, context)
|
|
|
2312
2304
|
case 13: throw _d.sent();
|
|
2313
2305
|
case 14:
|
|
2314
2306
|
parsedBody = parsedOutput.body;
|
|
2307
|
+
$metadata = deserializeMetadata(output);
|
|
2308
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2315
2309
|
response = new __BaseException({
|
|
2316
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2310
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2317
2311
|
$fault: "client",
|
|
2318
|
-
$metadata:
|
|
2312
|
+
$metadata: $metadata,
|
|
2319
2313
|
});
|
|
2320
2314
|
throw __decorateServiceException(response, parsedBody);
|
|
2321
2315
|
}
|
|
@@ -2350,7 +2344,7 @@ export var deserializeAws_restJson1ListQueuesCommand = function (output, context
|
|
|
2350
2344
|
});
|
|
2351
2345
|
}); };
|
|
2352
2346
|
var deserializeAws_restJson1ListQueuesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2353
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2347
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2354
2348
|
var _c;
|
|
2355
2349
|
return __generator(this, function (_d) {
|
|
2356
2350
|
switch (_d.label) {
|
|
@@ -2360,7 +2354,6 @@ var deserializeAws_restJson1ListQueuesCommandError = function (output, context)
|
|
|
2360
2354
|
return [4, parseBody(output.body, context)];
|
|
2361
2355
|
case 1:
|
|
2362
2356
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2363
|
-
errorCode = "UnknownError";
|
|
2364
2357
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2365
2358
|
_b = errorCode;
|
|
2366
2359
|
switch (_b) {
|
|
@@ -2392,10 +2385,12 @@ var deserializeAws_restJson1ListQueuesCommandError = function (output, context)
|
|
|
2392
2385
|
case 13: throw _d.sent();
|
|
2393
2386
|
case 14:
|
|
2394
2387
|
parsedBody = parsedOutput.body;
|
|
2388
|
+
$metadata = deserializeMetadata(output);
|
|
2389
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2395
2390
|
response = new __BaseException({
|
|
2396
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2391
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2397
2392
|
$fault: "client",
|
|
2398
|
-
$metadata:
|
|
2393
|
+
$metadata: $metadata,
|
|
2399
2394
|
});
|
|
2400
2395
|
throw __decorateServiceException(response, parsedBody);
|
|
2401
2396
|
}
|
|
@@ -2426,7 +2421,7 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
|
|
|
2426
2421
|
});
|
|
2427
2422
|
}); };
|
|
2428
2423
|
var deserializeAws_restJson1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2429
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2424
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2430
2425
|
var _c;
|
|
2431
2426
|
return __generator(this, function (_d) {
|
|
2432
2427
|
switch (_d.label) {
|
|
@@ -2436,7 +2431,6 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
2436
2431
|
return [4, parseBody(output.body, context)];
|
|
2437
2432
|
case 1:
|
|
2438
2433
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2439
|
-
errorCode = "UnknownError";
|
|
2440
2434
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2441
2435
|
_b = errorCode;
|
|
2442
2436
|
switch (_b) {
|
|
@@ -2468,10 +2462,12 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
2468
2462
|
case 13: throw _d.sent();
|
|
2469
2463
|
case 14:
|
|
2470
2464
|
parsedBody = parsedOutput.body;
|
|
2465
|
+
$metadata = deserializeMetadata(output);
|
|
2466
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2471
2467
|
response = new __BaseException({
|
|
2472
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2468
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2473
2469
|
$fault: "client",
|
|
2474
|
-
$metadata:
|
|
2470
|
+
$metadata: $metadata,
|
|
2475
2471
|
});
|
|
2476
2472
|
throw __decorateServiceException(response, parsedBody);
|
|
2477
2473
|
}
|
|
@@ -2502,7 +2498,7 @@ export var deserializeAws_restJson1PutPolicyCommand = function (output, context)
|
|
|
2502
2498
|
});
|
|
2503
2499
|
}); };
|
|
2504
2500
|
var deserializeAws_restJson1PutPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2505
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2501
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2506
2502
|
var _c;
|
|
2507
2503
|
return __generator(this, function (_d) {
|
|
2508
2504
|
switch (_d.label) {
|
|
@@ -2512,7 +2508,6 @@ var deserializeAws_restJson1PutPolicyCommandError = function (output, context) {
|
|
|
2512
2508
|
return [4, parseBody(output.body, context)];
|
|
2513
2509
|
case 1:
|
|
2514
2510
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2515
|
-
errorCode = "UnknownError";
|
|
2516
2511
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2517
2512
|
_b = errorCode;
|
|
2518
2513
|
switch (_b) {
|
|
@@ -2544,10 +2539,12 @@ var deserializeAws_restJson1PutPolicyCommandError = function (output, context) {
|
|
|
2544
2539
|
case 13: throw _d.sent();
|
|
2545
2540
|
case 14:
|
|
2546
2541
|
parsedBody = parsedOutput.body;
|
|
2542
|
+
$metadata = deserializeMetadata(output);
|
|
2543
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2547
2544
|
response = new __BaseException({
|
|
2548
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2545
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2549
2546
|
$fault: "client",
|
|
2550
|
-
$metadata:
|
|
2547
|
+
$metadata: $metadata,
|
|
2551
2548
|
});
|
|
2552
2549
|
throw __decorateServiceException(response, parsedBody);
|
|
2553
2550
|
}
|
|
@@ -2572,7 +2569,7 @@ export var deserializeAws_restJson1TagResourceCommand = function (output, contex
|
|
|
2572
2569
|
});
|
|
2573
2570
|
}); };
|
|
2574
2571
|
var deserializeAws_restJson1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2575
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2572
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2576
2573
|
var _c;
|
|
2577
2574
|
return __generator(this, function (_d) {
|
|
2578
2575
|
switch (_d.label) {
|
|
@@ -2582,7 +2579,6 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
2582
2579
|
return [4, parseBody(output.body, context)];
|
|
2583
2580
|
case 1:
|
|
2584
2581
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2585
|
-
errorCode = "UnknownError";
|
|
2586
2582
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2587
2583
|
_b = errorCode;
|
|
2588
2584
|
switch (_b) {
|
|
@@ -2614,10 +2610,12 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
2614
2610
|
case 13: throw _d.sent();
|
|
2615
2611
|
case 14:
|
|
2616
2612
|
parsedBody = parsedOutput.body;
|
|
2613
|
+
$metadata = deserializeMetadata(output);
|
|
2614
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2617
2615
|
response = new __BaseException({
|
|
2618
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2616
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2619
2617
|
$fault: "client",
|
|
2620
|
-
$metadata:
|
|
2618
|
+
$metadata: $metadata,
|
|
2621
2619
|
});
|
|
2622
2620
|
throw __decorateServiceException(response, parsedBody);
|
|
2623
2621
|
}
|
|
@@ -2642,7 +2640,7 @@ export var deserializeAws_restJson1UntagResourceCommand = function (output, cont
|
|
|
2642
2640
|
});
|
|
2643
2641
|
}); };
|
|
2644
2642
|
var deserializeAws_restJson1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2645
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2643
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2646
2644
|
var _c;
|
|
2647
2645
|
return __generator(this, function (_d) {
|
|
2648
2646
|
switch (_d.label) {
|
|
@@ -2652,7 +2650,6 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
2652
2650
|
return [4, parseBody(output.body, context)];
|
|
2653
2651
|
case 1:
|
|
2654
2652
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2655
|
-
errorCode = "UnknownError";
|
|
2656
2653
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2657
2654
|
_b = errorCode;
|
|
2658
2655
|
switch (_b) {
|
|
@@ -2684,10 +2681,12 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
2684
2681
|
case 13: throw _d.sent();
|
|
2685
2682
|
case 14:
|
|
2686
2683
|
parsedBody = parsedOutput.body;
|
|
2684
|
+
$metadata = deserializeMetadata(output);
|
|
2685
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2687
2686
|
response = new __BaseException({
|
|
2688
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2687
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2689
2688
|
$fault: "client",
|
|
2690
|
-
$metadata:
|
|
2689
|
+
$metadata: $metadata,
|
|
2691
2690
|
});
|
|
2692
2691
|
throw __decorateServiceException(response, parsedBody);
|
|
2693
2692
|
}
|
|
@@ -2718,7 +2717,7 @@ export var deserializeAws_restJson1UpdateJobTemplateCommand = function (output,
|
|
|
2718
2717
|
});
|
|
2719
2718
|
}); };
|
|
2720
2719
|
var deserializeAws_restJson1UpdateJobTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2721
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2720
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2722
2721
|
var _c;
|
|
2723
2722
|
return __generator(this, function (_d) {
|
|
2724
2723
|
switch (_d.label) {
|
|
@@ -2728,7 +2727,6 @@ var deserializeAws_restJson1UpdateJobTemplateCommandError = function (output, co
|
|
|
2728
2727
|
return [4, parseBody(output.body, context)];
|
|
2729
2728
|
case 1:
|
|
2730
2729
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2731
|
-
errorCode = "UnknownError";
|
|
2732
2730
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2733
2731
|
_b = errorCode;
|
|
2734
2732
|
switch (_b) {
|
|
@@ -2760,10 +2758,12 @@ var deserializeAws_restJson1UpdateJobTemplateCommandError = function (output, co
|
|
|
2760
2758
|
case 13: throw _d.sent();
|
|
2761
2759
|
case 14:
|
|
2762
2760
|
parsedBody = parsedOutput.body;
|
|
2761
|
+
$metadata = deserializeMetadata(output);
|
|
2762
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2763
2763
|
response = new __BaseException({
|
|
2764
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2764
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2765
2765
|
$fault: "client",
|
|
2766
|
-
$metadata:
|
|
2766
|
+
$metadata: $metadata,
|
|
2767
2767
|
});
|
|
2768
2768
|
throw __decorateServiceException(response, parsedBody);
|
|
2769
2769
|
}
|
|
@@ -2794,7 +2794,7 @@ export var deserializeAws_restJson1UpdatePresetCommand = function (output, conte
|
|
|
2794
2794
|
});
|
|
2795
2795
|
}); };
|
|
2796
2796
|
var deserializeAws_restJson1UpdatePresetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2797
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2797
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2798
2798
|
var _c;
|
|
2799
2799
|
return __generator(this, function (_d) {
|
|
2800
2800
|
switch (_d.label) {
|
|
@@ -2804,7 +2804,6 @@ var deserializeAws_restJson1UpdatePresetCommandError = function (output, context
|
|
|
2804
2804
|
return [4, parseBody(output.body, context)];
|
|
2805
2805
|
case 1:
|
|
2806
2806
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2807
|
-
errorCode = "UnknownError";
|
|
2808
2807
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2809
2808
|
_b = errorCode;
|
|
2810
2809
|
switch (_b) {
|
|
@@ -2836,10 +2835,12 @@ var deserializeAws_restJson1UpdatePresetCommandError = function (output, context
|
|
|
2836
2835
|
case 13: throw _d.sent();
|
|
2837
2836
|
case 14:
|
|
2838
2837
|
parsedBody = parsedOutput.body;
|
|
2838
|
+
$metadata = deserializeMetadata(output);
|
|
2839
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2839
2840
|
response = new __BaseException({
|
|
2840
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2841
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2841
2842
|
$fault: "client",
|
|
2842
|
-
$metadata:
|
|
2843
|
+
$metadata: $metadata,
|
|
2843
2844
|
});
|
|
2844
2845
|
throw __decorateServiceException(response, parsedBody);
|
|
2845
2846
|
}
|
|
@@ -2870,7 +2871,7 @@ export var deserializeAws_restJson1UpdateQueueCommand = function (output, contex
|
|
|
2870
2871
|
});
|
|
2871
2872
|
}); };
|
|
2872
2873
|
var deserializeAws_restJson1UpdateQueueCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2873
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2874
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2874
2875
|
var _c;
|
|
2875
2876
|
return __generator(this, function (_d) {
|
|
2876
2877
|
switch (_d.label) {
|
|
@@ -2880,7 +2881,6 @@ var deserializeAws_restJson1UpdateQueueCommandError = function (output, context)
|
|
|
2880
2881
|
return [4, parseBody(output.body, context)];
|
|
2881
2882
|
case 1:
|
|
2882
2883
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2883
|
-
errorCode = "UnknownError";
|
|
2884
2884
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2885
2885
|
_b = errorCode;
|
|
2886
2886
|
switch (_b) {
|
|
@@ -2912,10 +2912,12 @@ var deserializeAws_restJson1UpdateQueueCommandError = function (output, context)
|
|
|
2912
2912
|
case 13: throw _d.sent();
|
|
2913
2913
|
case 14:
|
|
2914
2914
|
parsedBody = parsedOutput.body;
|
|
2915
|
+
$metadata = deserializeMetadata(output);
|
|
2916
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2915
2917
|
response = new __BaseException({
|
|
2916
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2918
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2917
2919
|
$fault: "client",
|
|
2918
|
-
$metadata:
|
|
2920
|
+
$metadata: $metadata,
|
|
2919
2921
|
});
|
|
2920
2922
|
throw __decorateServiceException(response, parsedBody);
|
|
2921
2923
|
}
|
|
@@ -3344,1443 +3346,942 @@ var serializeAws_restJson1__mapOfCaptionSelector = function (input, context) {
|
|
|
3344
3346
|
}, {});
|
|
3345
3347
|
};
|
|
3346
3348
|
var serializeAws_restJson1AacSettings = function (input, context) {
|
|
3347
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptionBroadcasterMix
|
|
3348
|
-
input.AudioDescriptionBroadcasterMix !== null && {
|
|
3349
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptionBroadcasterMix != null && {
|
|
3349
3350
|
audioDescriptionBroadcasterMix: input.AudioDescriptionBroadcasterMix,
|
|
3350
|
-
})), (input.Bitrate
|
|
3351
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.RawFormat !== undefined && input.RawFormat !== null && { rawFormat: input.RawFormat })), (input.SampleRate !== undefined && input.SampleRate !== null && { sampleRate: input.SampleRate })), (input.Specification !== undefined && input.Specification !== null && { specification: input.Specification })), (input.VbrQuality !== undefined && input.VbrQuality !== null && { vbrQuality: input.VbrQuality }));
|
|
3351
|
+
})), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.CodecProfile != null && { codecProfile: input.CodecProfile })), (input.CodingMode != null && { codingMode: input.CodingMode })), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.RawFormat != null && { rawFormat: input.RawFormat })), (input.SampleRate != null && { sampleRate: input.SampleRate })), (input.Specification != null && { specification: input.Specification })), (input.VbrQuality != null && { vbrQuality: input.VbrQuality }));
|
|
3352
3352
|
};
|
|
3353
3353
|
var serializeAws_restJson1Ac3Settings = function (input, context) {
|
|
3354
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
3355
|
-
|
|
3356
|
-
|
|
3354
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: input.Bitrate })), (input.BitstreamMode != null && { bitstreamMode: input.BitstreamMode })), (input.CodingMode != null && { codingMode: input.CodingMode })), (input.Dialnorm != null && { dialnorm: input.Dialnorm })), (input.DynamicRangeCompressionLine != null && {
|
|
3355
|
+
dynamicRangeCompressionLine: input.DynamicRangeCompressionLine,
|
|
3356
|
+
})), (input.DynamicRangeCompressionProfile != null && {
|
|
3357
3357
|
dynamicRangeCompressionProfile: input.DynamicRangeCompressionProfile,
|
|
3358
|
-
})), (input.DynamicRangeCompressionRf
|
|
3359
|
-
input.DynamicRangeCompressionRf !== null && { dynamicRangeCompressionRf: input.DynamicRangeCompressionRf })), (input.LfeFilter !== undefined && input.LfeFilter !== null && { lfeFilter: input.LfeFilter })), (input.MetadataControl !== undefined &&
|
|
3360
|
-
input.MetadataControl !== null && { metadataControl: input.MetadataControl })), (input.SampleRate !== undefined && input.SampleRate !== null && { sampleRate: input.SampleRate }));
|
|
3358
|
+
})), (input.DynamicRangeCompressionRf != null && { dynamicRangeCompressionRf: input.DynamicRangeCompressionRf })), (input.LfeFilter != null && { lfeFilter: input.LfeFilter })), (input.MetadataControl != null && { metadataControl: input.MetadataControl })), (input.SampleRate != null && { sampleRate: input.SampleRate }));
|
|
3361
3359
|
};
|
|
3362
3360
|
var serializeAws_restJson1AccelerationSettings = function (input, context) {
|
|
3363
|
-
return __assign({}, (input.Mode
|
|
3361
|
+
return __assign({}, (input.Mode != null && { mode: input.Mode }));
|
|
3364
3362
|
};
|
|
3365
3363
|
var serializeAws_restJson1AiffSettings = function (input, context) {
|
|
3366
|
-
return __assign(__assign(__assign({}, (input.BitDepth
|
|
3364
|
+
return __assign(__assign(__assign({}, (input.BitDepth != null && { bitDepth: input.BitDepth })), (input.Channels != null && { channels: input.Channels })), (input.SampleRate != null && { sampleRate: input.SampleRate }));
|
|
3367
3365
|
};
|
|
3368
3366
|
var serializeAws_restJson1AllowedRenditionSize = function (input, context) {
|
|
3369
|
-
return __assign(__assign(__assign({}, (input.Height
|
|
3367
|
+
return __assign(__assign(__assign({}, (input.Height != null && { height: input.Height })), (input.Required != null && { required: input.Required })), (input.Width != null && { width: input.Width }));
|
|
3370
3368
|
};
|
|
3371
3369
|
var serializeAws_restJson1AncillarySourceSettings = function (input, context) {
|
|
3372
|
-
return __assign(__assign(__assign({}, (input.Convert608To708
|
|
3373
|
-
input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.SourceAncillaryChannelNumber !== undefined &&
|
|
3374
|
-
input.SourceAncillaryChannelNumber !== null && {
|
|
3370
|
+
return __assign(__assign(__assign({}, (input.Convert608To708 != null && { convert608To708: input.Convert608To708 })), (input.SourceAncillaryChannelNumber != null && {
|
|
3375
3371
|
sourceAncillaryChannelNumber: input.SourceAncillaryChannelNumber,
|
|
3376
|
-
})), (input.TerminateCaptions
|
|
3377
|
-
input.TerminateCaptions !== null && { terminateCaptions: input.TerminateCaptions }));
|
|
3372
|
+
})), (input.TerminateCaptions != null && { terminateCaptions: input.TerminateCaptions }));
|
|
3378
3373
|
};
|
|
3379
3374
|
var serializeAws_restJson1AudioChannelTaggingSettings = function (input, context) {
|
|
3380
|
-
return __assign({}, (input.ChannelTag
|
|
3375
|
+
return __assign({}, (input.ChannelTag != null && { channelTag: input.ChannelTag }));
|
|
3381
3376
|
};
|
|
3382
3377
|
var serializeAws_restJson1AudioCodecSettings = function (input, context) {
|
|
3383
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AacSettings
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
input.AiffSettings !== null && { aiffSettings: serializeAws_restJson1AiffSettings(input.AiffSettings, context) })), (input.Codec !== undefined && input.Codec !== null && { codec: input.Codec })), (input.Eac3AtmosSettings !== undefined &&
|
|
3387
|
-
input.Eac3AtmosSettings !== null && {
|
|
3378
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AacSettings != null && { aacSettings: serializeAws_restJson1AacSettings(input.AacSettings, context) })), (input.Ac3Settings != null && { ac3Settings: serializeAws_restJson1Ac3Settings(input.Ac3Settings, context) })), (input.AiffSettings != null && {
|
|
3379
|
+
aiffSettings: serializeAws_restJson1AiffSettings(input.AiffSettings, context),
|
|
3380
|
+
})), (input.Codec != null && { codec: input.Codec })), (input.Eac3AtmosSettings != null && {
|
|
3388
3381
|
eac3AtmosSettings: serializeAws_restJson1Eac3AtmosSettings(input.Eac3AtmosSettings, context),
|
|
3389
|
-
})), (input.Eac3Settings
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
input.VorbisSettings !== null && {
|
|
3382
|
+
})), (input.Eac3Settings != null && {
|
|
3383
|
+
eac3Settings: serializeAws_restJson1Eac3Settings(input.Eac3Settings, context),
|
|
3384
|
+
})), (input.Mp2Settings != null && { mp2Settings: serializeAws_restJson1Mp2Settings(input.Mp2Settings, context) })), (input.Mp3Settings != null && { mp3Settings: serializeAws_restJson1Mp3Settings(input.Mp3Settings, context) })), (input.OpusSettings != null && {
|
|
3385
|
+
opusSettings: serializeAws_restJson1OpusSettings(input.OpusSettings, context),
|
|
3386
|
+
})), (input.VorbisSettings != null && {
|
|
3395
3387
|
vorbisSettings: serializeAws_restJson1VorbisSettings(input.VorbisSettings, context),
|
|
3396
|
-
})), (input.WavSettings
|
|
3397
|
-
input.WavSettings !== null && { wavSettings: serializeAws_restJson1WavSettings(input.WavSettings, context) }));
|
|
3388
|
+
})), (input.WavSettings != null && { wavSettings: serializeAws_restJson1WavSettings(input.WavSettings, context) }));
|
|
3398
3389
|
};
|
|
3399
3390
|
var serializeAws_restJson1AudioDescription = function (input, context) {
|
|
3400
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioChannelTaggingSettings
|
|
3401
|
-
input.AudioChannelTaggingSettings !== null && {
|
|
3391
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioChannelTaggingSettings != null && {
|
|
3402
3392
|
audioChannelTaggingSettings: serializeAws_restJson1AudioChannelTaggingSettings(input.AudioChannelTaggingSettings, context),
|
|
3403
|
-
})), (input.AudioNormalizationSettings
|
|
3404
|
-
input.AudioNormalizationSettings !== null && {
|
|
3393
|
+
})), (input.AudioNormalizationSettings != null && {
|
|
3405
3394
|
audioNormalizationSettings: serializeAws_restJson1AudioNormalizationSettings(input.AudioNormalizationSettings, context),
|
|
3406
|
-
})), (input.AudioSourceName
|
|
3407
|
-
input.AudioSourceName !== null && { audioSourceName: input.AudioSourceName })), (input.AudioType !== undefined && input.AudioType !== null && { audioType: input.AudioType })), (input.AudioTypeControl !== undefined &&
|
|
3408
|
-
input.AudioTypeControl !== null && { audioTypeControl: input.AudioTypeControl })), (input.CodecSettings !== undefined &&
|
|
3409
|
-
input.CodecSettings !== null && {
|
|
3395
|
+
})), (input.AudioSourceName != null && { audioSourceName: input.AudioSourceName })), (input.AudioType != null && { audioType: input.AudioType })), (input.AudioTypeControl != null && { audioTypeControl: input.AudioTypeControl })), (input.CodecSettings != null && {
|
|
3410
3396
|
codecSettings: serializeAws_restJson1AudioCodecSettings(input.CodecSettings, context),
|
|
3411
|
-
})), (input.CustomLanguageCode
|
|
3412
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { languageCode: input.LanguageCode })), (input.LanguageCodeControl !== undefined &&
|
|
3413
|
-
input.LanguageCodeControl !== null && { languageCodeControl: input.LanguageCodeControl })), (input.RemixSettings !== undefined &&
|
|
3414
|
-
input.RemixSettings !== null && {
|
|
3397
|
+
})), (input.CustomLanguageCode != null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageCodeControl != null && { languageCodeControl: input.LanguageCodeControl })), (input.RemixSettings != null && {
|
|
3415
3398
|
remixSettings: serializeAws_restJson1RemixSettings(input.RemixSettings, context),
|
|
3416
|
-
})), (input.StreamName
|
|
3399
|
+
})), (input.StreamName != null && { streamName: input.StreamName }));
|
|
3417
3400
|
};
|
|
3418
3401
|
var serializeAws_restJson1AudioNormalizationSettings = function (input, context) {
|
|
3419
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Algorithm
|
|
3420
|
-
input.AlgorithmControl !== null && { algorithmControl: input.AlgorithmControl })), (input.CorrectionGateLevel !== undefined &&
|
|
3421
|
-
input.CorrectionGateLevel !== null && { correctionGateLevel: input.CorrectionGateLevel })), (input.LoudnessLogging !== undefined &&
|
|
3422
|
-
input.LoudnessLogging !== null && { loudnessLogging: input.LoudnessLogging })), (input.PeakCalculation !== undefined &&
|
|
3423
|
-
input.PeakCalculation !== null && { peakCalculation: input.PeakCalculation })), (input.TargetLkfs !== undefined &&
|
|
3424
|
-
input.TargetLkfs !== null && { targetLkfs: __serializeFloat(input.TargetLkfs) }));
|
|
3402
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Algorithm != null && { algorithm: input.Algorithm })), (input.AlgorithmControl != null && { algorithmControl: input.AlgorithmControl })), (input.CorrectionGateLevel != null && { correctionGateLevel: input.CorrectionGateLevel })), (input.LoudnessLogging != null && { loudnessLogging: input.LoudnessLogging })), (input.PeakCalculation != null && { peakCalculation: input.PeakCalculation })), (input.TargetLkfs != null && { targetLkfs: __serializeFloat(input.TargetLkfs) }));
|
|
3425
3403
|
};
|
|
3426
3404
|
var serializeAws_restJson1AudioSelector = function (input, context) {
|
|
3427
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDurationCorrection
|
|
3428
|
-
input.AudioDurationCorrection !== null && { audioDurationCorrection: input.AudioDurationCorrection })), (input.CustomLanguageCode !== undefined &&
|
|
3429
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.DefaultSelection !== undefined &&
|
|
3430
|
-
input.DefaultSelection !== null && { defaultSelection: input.DefaultSelection })), (input.ExternalAudioFileInput !== undefined &&
|
|
3431
|
-
input.ExternalAudioFileInput !== null && { externalAudioFileInput: input.ExternalAudioFileInput })), (input.HlsRenditionGroupSettings !== undefined &&
|
|
3432
|
-
input.HlsRenditionGroupSettings !== null && {
|
|
3405
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDurationCorrection != null && { audioDurationCorrection: input.AudioDurationCorrection })), (input.CustomLanguageCode != null && { customLanguageCode: input.CustomLanguageCode })), (input.DefaultSelection != null && { defaultSelection: input.DefaultSelection })), (input.ExternalAudioFileInput != null && { externalAudioFileInput: input.ExternalAudioFileInput })), (input.HlsRenditionGroupSettings != null && {
|
|
3433
3406
|
hlsRenditionGroupSettings: serializeAws_restJson1HlsRenditionGroupSettings(input.HlsRenditionGroupSettings, context),
|
|
3434
|
-
})), (input.LanguageCode
|
|
3435
|
-
input.Pids !== null && { pids: serializeAws_restJson1__listOf__integerMin1Max2147483647(input.Pids, context) })), (input.ProgramSelection !== undefined &&
|
|
3436
|
-
input.ProgramSelection !== null && { programSelection: input.ProgramSelection })), (input.RemixSettings !== undefined &&
|
|
3437
|
-
input.RemixSettings !== null && {
|
|
3407
|
+
})), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.Offset != null && { offset: input.Offset })), (input.Pids != null && { pids: serializeAws_restJson1__listOf__integerMin1Max2147483647(input.Pids, context) })), (input.ProgramSelection != null && { programSelection: input.ProgramSelection })), (input.RemixSettings != null && {
|
|
3438
3408
|
remixSettings: serializeAws_restJson1RemixSettings(input.RemixSettings, context),
|
|
3439
|
-
})), (input.SelectorType
|
|
3440
|
-
input.Tracks !== null && {
|
|
3409
|
+
})), (input.SelectorType != null && { selectorType: input.SelectorType })), (input.Tracks != null && {
|
|
3441
3410
|
tracks: serializeAws_restJson1__listOf__integerMin1Max2147483647(input.Tracks, context),
|
|
3442
3411
|
}));
|
|
3443
3412
|
};
|
|
3444
3413
|
var serializeAws_restJson1AudioSelectorGroup = function (input, context) {
|
|
3445
|
-
return __assign({}, (input.AudioSelectorNames
|
|
3446
|
-
input.AudioSelectorNames !== null && {
|
|
3414
|
+
return __assign({}, (input.AudioSelectorNames != null && {
|
|
3447
3415
|
audioSelectorNames: serializeAws_restJson1__listOf__stringMin1(input.AudioSelectorNames, context),
|
|
3448
3416
|
}));
|
|
3449
3417
|
};
|
|
3450
3418
|
var serializeAws_restJson1AutomatedAbrRule = function (input, context) {
|
|
3451
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AllowedRenditions
|
|
3452
|
-
input.AllowedRenditions !== null && {
|
|
3419
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AllowedRenditions != null && {
|
|
3453
3420
|
allowedRenditions: serializeAws_restJson1__listOfAllowedRenditionSize(input.AllowedRenditions, context),
|
|
3454
|
-
})), (input.ForceIncludeRenditions
|
|
3455
|
-
input.ForceIncludeRenditions !== null && {
|
|
3421
|
+
})), (input.ForceIncludeRenditions != null && {
|
|
3456
3422
|
forceIncludeRenditions: serializeAws_restJson1__listOfForceIncludeRenditionSize(input.ForceIncludeRenditions, context),
|
|
3457
|
-
})), (input.MinBottomRenditionSize
|
|
3458
|
-
input.MinBottomRenditionSize !== null && {
|
|
3423
|
+
})), (input.MinBottomRenditionSize != null && {
|
|
3459
3424
|
minBottomRenditionSize: serializeAws_restJson1MinBottomRenditionSize(input.MinBottomRenditionSize, context),
|
|
3460
|
-
})), (input.MinTopRenditionSize
|
|
3461
|
-
input.MinTopRenditionSize !== null && {
|
|
3425
|
+
})), (input.MinTopRenditionSize != null && {
|
|
3462
3426
|
minTopRenditionSize: serializeAws_restJson1MinTopRenditionSize(input.MinTopRenditionSize, context),
|
|
3463
|
-
})), (input.Type
|
|
3427
|
+
})), (input.Type != null && { type: input.Type }));
|
|
3464
3428
|
};
|
|
3465
3429
|
var serializeAws_restJson1AutomatedAbrSettings = function (input, context) {
|
|
3466
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxAbrBitrate
|
|
3467
|
-
input.Rules !== null && { rules: serializeAws_restJson1__listOfAutomatedAbrRule(input.Rules, context) }));
|
|
3430
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxAbrBitrate != null && { maxAbrBitrate: input.MaxAbrBitrate })), (input.MaxRenditions != null && { maxRenditions: input.MaxRenditions })), (input.MinAbrBitrate != null && { minAbrBitrate: input.MinAbrBitrate })), (input.Rules != null && { rules: serializeAws_restJson1__listOfAutomatedAbrRule(input.Rules, context) }));
|
|
3468
3431
|
};
|
|
3469
3432
|
var serializeAws_restJson1AutomatedEncodingSettings = function (input, context) {
|
|
3470
|
-
return __assign({}, (input.AbrSettings
|
|
3471
|
-
input.AbrSettings !== null && {
|
|
3433
|
+
return __assign({}, (input.AbrSettings != null && {
|
|
3472
3434
|
abrSettings: serializeAws_restJson1AutomatedAbrSettings(input.AbrSettings, context),
|
|
3473
3435
|
}));
|
|
3474
3436
|
};
|
|
3475
3437
|
var serializeAws_restJson1Av1QvbrSettings = function (input, context) {
|
|
3476
|
-
return __assign(__assign({}, (input.QvbrQualityLevel
|
|
3477
|
-
input.QvbrQualityLevel !== null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune !== undefined &&
|
|
3478
|
-
input.QvbrQualityLevelFineTune !== null && {
|
|
3438
|
+
return __assign(__assign({}, (input.QvbrQualityLevel != null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune != null && {
|
|
3479
3439
|
qvbrQualityLevelFineTune: __serializeFloat(input.QvbrQualityLevelFineTune),
|
|
3480
3440
|
}));
|
|
3481
3441
|
};
|
|
3482
3442
|
var serializeAws_restJson1Av1Settings = function (input, context) {
|
|
3483
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization
|
|
3484
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.BitDepth !== undefined && input.BitDepth !== null && { bitDepth: input.BitDepth })), (input.FramerateControl !== undefined &&
|
|
3485
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
3486
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
3443
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization != null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.BitDepth != null && { bitDepth: input.BitDepth })), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
3487
3444
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
3488
|
-
})), (input.FramerateDenominator
|
|
3489
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3490
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopSize !== undefined && input.GopSize !== null && { gopSize: __serializeFloat(input.GopSize) })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate })), (input.NumberBFramesBetweenReferenceFrames !== undefined &&
|
|
3491
|
-
input.NumberBFramesBetweenReferenceFrames !== null && {
|
|
3445
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.NumberBFramesBetweenReferenceFrames != null && {
|
|
3492
3446
|
numberBFramesBetweenReferenceFrames: input.NumberBFramesBetweenReferenceFrames,
|
|
3493
|
-
})), (input.QvbrSettings
|
|
3494
|
-
input.QvbrSettings !== null && {
|
|
3447
|
+
})), (input.QvbrSettings != null && {
|
|
3495
3448
|
qvbrSettings: serializeAws_restJson1Av1QvbrSettings(input.QvbrSettings, context),
|
|
3496
|
-
})), (input.RateControlMode
|
|
3497
|
-
|
|
3498
|
-
|
|
3449
|
+
})), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.Slices != null && { slices: input.Slices })), (input.SpatialAdaptiveQuantization != null && {
|
|
3450
|
+
spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization,
|
|
3451
|
+
}));
|
|
3499
3452
|
};
|
|
3500
3453
|
var serializeAws_restJson1AvailBlanking = function (input, context) {
|
|
3501
|
-
return __assign({}, (input.AvailBlankingImage
|
|
3502
|
-
input.AvailBlankingImage !== null && { availBlankingImage: input.AvailBlankingImage }));
|
|
3454
|
+
return __assign({}, (input.AvailBlankingImage != null && { availBlankingImage: input.AvailBlankingImage }));
|
|
3503
3455
|
};
|
|
3504
3456
|
var serializeAws_restJson1AvcIntraSettings = function (input, context) {
|
|
3505
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvcIntraClass
|
|
3506
|
-
input.AvcIntraUhdSettings !== null && {
|
|
3457
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvcIntraClass != null && { avcIntraClass: input.AvcIntraClass })), (input.AvcIntraUhdSettings != null && {
|
|
3507
3458
|
avcIntraUhdSettings: serializeAws_restJson1AvcIntraUhdSettings(input.AvcIntraUhdSettings, context),
|
|
3508
|
-
})), (input.FramerateControl
|
|
3509
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
3510
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
3459
|
+
})), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
3511
3460
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
3512
|
-
})), (input.FramerateDenominator
|
|
3513
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3514
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.InterlaceMode !== undefined && input.InterlaceMode !== null && { interlaceMode: input.InterlaceMode })), (input.ScanTypeConversionMode !== undefined &&
|
|
3515
|
-
input.ScanTypeConversionMode !== null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SlowPal !== undefined && input.SlowPal !== null && { slowPal: input.SlowPal })), (input.Telecine !== undefined && input.Telecine !== null && { telecine: input.Telecine }));
|
|
3461
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.InterlaceMode != null && { interlaceMode: input.InterlaceMode })), (input.ScanTypeConversionMode != null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SlowPal != null && { slowPal: input.SlowPal })), (input.Telecine != null && { telecine: input.Telecine }));
|
|
3516
3462
|
};
|
|
3517
3463
|
var serializeAws_restJson1AvcIntraUhdSettings = function (input, context) {
|
|
3518
|
-
return __assign({}, (input.QualityTuningLevel
|
|
3519
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel }));
|
|
3464
|
+
return __assign({}, (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel }));
|
|
3520
3465
|
};
|
|
3521
3466
|
var serializeAws_restJson1BurninDestinationSettings = function (input, context) {
|
|
3522
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment
|
|
3523
|
-
input.ApplyFontColor !== null && { applyFontColor: input.ApplyFontColor })), (input.BackgroundColor !== undefined &&
|
|
3524
|
-
input.BackgroundColor !== null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity !== undefined &&
|
|
3525
|
-
input.BackgroundOpacity !== null && { backgroundOpacity: input.BackgroundOpacity })), (input.FallbackFont !== undefined && input.FallbackFont !== null && { fallbackFont: input.FallbackFont })), (input.FontColor !== undefined && input.FontColor !== null && { fontColor: input.FontColor })), (input.FontOpacity !== undefined && input.FontOpacity !== null && { fontOpacity: input.FontOpacity })), (input.FontResolution !== undefined &&
|
|
3526
|
-
input.FontResolution !== null && { fontResolution: input.FontResolution })), (input.FontScript !== undefined && input.FontScript !== null && { fontScript: input.FontScript })), (input.FontSize !== undefined && input.FontSize !== null && { fontSize: input.FontSize })), (input.HexFontColor !== undefined && input.HexFontColor !== null && { hexFontColor: input.HexFontColor })), (input.OutlineColor !== undefined && input.OutlineColor !== null && { outlineColor: input.OutlineColor })), (input.OutlineSize !== undefined && input.OutlineSize !== null && { outlineSize: input.OutlineSize })), (input.ShadowColor !== undefined && input.ShadowColor !== null && { shadowColor: input.ShadowColor })), (input.ShadowOpacity !== undefined && input.ShadowOpacity !== null && { shadowOpacity: input.ShadowOpacity })), (input.ShadowXOffset !== undefined && input.ShadowXOffset !== null && { shadowXOffset: input.ShadowXOffset })), (input.ShadowYOffset !== undefined && input.ShadowYOffset !== null && { shadowYOffset: input.ShadowYOffset })), (input.StylePassthrough !== undefined &&
|
|
3527
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough })), (input.TeletextSpacing !== undefined &&
|
|
3528
|
-
input.TeletextSpacing !== null && { teletextSpacing: input.TeletextSpacing })), (input.XPosition !== undefined && input.XPosition !== null && { xPosition: input.XPosition })), (input.YPosition !== undefined && input.YPosition !== null && { yPosition: input.YPosition }));
|
|
3467
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment != null && { alignment: input.Alignment })), (input.ApplyFontColor != null && { applyFontColor: input.ApplyFontColor })), (input.BackgroundColor != null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity != null && { backgroundOpacity: input.BackgroundOpacity })), (input.FallbackFont != null && { fallbackFont: input.FallbackFont })), (input.FontColor != null && { fontColor: input.FontColor })), (input.FontOpacity != null && { fontOpacity: input.FontOpacity })), (input.FontResolution != null && { fontResolution: input.FontResolution })), (input.FontScript != null && { fontScript: input.FontScript })), (input.FontSize != null && { fontSize: input.FontSize })), (input.HexFontColor != null && { hexFontColor: input.HexFontColor })), (input.OutlineColor != null && { outlineColor: input.OutlineColor })), (input.OutlineSize != null && { outlineSize: input.OutlineSize })), (input.ShadowColor != null && { shadowColor: input.ShadowColor })), (input.ShadowOpacity != null && { shadowOpacity: input.ShadowOpacity })), (input.ShadowXOffset != null && { shadowXOffset: input.ShadowXOffset })), (input.ShadowYOffset != null && { shadowYOffset: input.ShadowYOffset })), (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough })), (input.TeletextSpacing != null && { teletextSpacing: input.TeletextSpacing })), (input.XPosition != null && { xPosition: input.XPosition })), (input.YPosition != null && { yPosition: input.YPosition }));
|
|
3529
3468
|
};
|
|
3530
3469
|
var serializeAws_restJson1CaptionDescription = function (input, context) {
|
|
3531
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CaptionSelectorName
|
|
3532
|
-
input.CaptionSelectorName !== null && { captionSelectorName: input.CaptionSelectorName })), (input.CustomLanguageCode !== undefined &&
|
|
3533
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.DestinationSettings !== undefined &&
|
|
3534
|
-
input.DestinationSettings !== null && {
|
|
3470
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CaptionSelectorName != null && { captionSelectorName: input.CaptionSelectorName })), (input.CustomLanguageCode != null && { customLanguageCode: input.CustomLanguageCode })), (input.DestinationSettings != null && {
|
|
3535
3471
|
destinationSettings: serializeAws_restJson1CaptionDestinationSettings(input.DestinationSettings, context),
|
|
3536
|
-
})), (input.LanguageCode
|
|
3537
|
-
input.LanguageDescription !== null && { languageDescription: input.LanguageDescription }));
|
|
3472
|
+
})), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageDescription != null && { languageDescription: input.LanguageDescription }));
|
|
3538
3473
|
};
|
|
3539
3474
|
var serializeAws_restJson1CaptionDescriptionPreset = function (input, context) {
|
|
3540
|
-
return __assign(__assign(__assign(__assign({}, (input.CustomLanguageCode
|
|
3541
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.DestinationSettings !== undefined &&
|
|
3542
|
-
input.DestinationSettings !== null && {
|
|
3475
|
+
return __assign(__assign(__assign(__assign({}, (input.CustomLanguageCode != null && { customLanguageCode: input.CustomLanguageCode })), (input.DestinationSettings != null && {
|
|
3543
3476
|
destinationSettings: serializeAws_restJson1CaptionDestinationSettings(input.DestinationSettings, context),
|
|
3544
|
-
})), (input.LanguageCode
|
|
3545
|
-
input.LanguageDescription !== null && { languageDescription: input.LanguageDescription }));
|
|
3477
|
+
})), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageDescription != null && { languageDescription: input.LanguageDescription }));
|
|
3546
3478
|
};
|
|
3547
3479
|
var serializeAws_restJson1CaptionDestinationSettings = function (input, context) {
|
|
3548
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BurninDestinationSettings
|
|
3549
|
-
input.BurninDestinationSettings !== null && {
|
|
3480
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BurninDestinationSettings != null && {
|
|
3550
3481
|
burninDestinationSettings: serializeAws_restJson1BurninDestinationSettings(input.BurninDestinationSettings, context),
|
|
3551
|
-
})), (input.DestinationType
|
|
3552
|
-
input.DestinationType !== null && { destinationType: input.DestinationType })), (input.DvbSubDestinationSettings !== undefined &&
|
|
3553
|
-
input.DvbSubDestinationSettings !== null && {
|
|
3482
|
+
})), (input.DestinationType != null && { destinationType: input.DestinationType })), (input.DvbSubDestinationSettings != null && {
|
|
3554
3483
|
dvbSubDestinationSettings: serializeAws_restJson1DvbSubDestinationSettings(input.DvbSubDestinationSettings, context),
|
|
3555
|
-
})), (input.EmbeddedDestinationSettings
|
|
3556
|
-
input.EmbeddedDestinationSettings !== null && {
|
|
3484
|
+
})), (input.EmbeddedDestinationSettings != null && {
|
|
3557
3485
|
embeddedDestinationSettings: serializeAws_restJson1EmbeddedDestinationSettings(input.EmbeddedDestinationSettings, context),
|
|
3558
|
-
})), (input.ImscDestinationSettings
|
|
3559
|
-
input.ImscDestinationSettings !== null && {
|
|
3486
|
+
})), (input.ImscDestinationSettings != null && {
|
|
3560
3487
|
imscDestinationSettings: serializeAws_restJson1ImscDestinationSettings(input.ImscDestinationSettings, context),
|
|
3561
|
-
})), (input.SccDestinationSettings
|
|
3562
|
-
input.SccDestinationSettings !== null && {
|
|
3488
|
+
})), (input.SccDestinationSettings != null && {
|
|
3563
3489
|
sccDestinationSettings: serializeAws_restJson1SccDestinationSettings(input.SccDestinationSettings, context),
|
|
3564
|
-
})), (input.SrtDestinationSettings
|
|
3565
|
-
input.SrtDestinationSettings !== null && {
|
|
3490
|
+
})), (input.SrtDestinationSettings != null && {
|
|
3566
3491
|
srtDestinationSettings: serializeAws_restJson1SrtDestinationSettings(input.SrtDestinationSettings, context),
|
|
3567
|
-
})), (input.TeletextDestinationSettings
|
|
3568
|
-
input.TeletextDestinationSettings !== null && {
|
|
3492
|
+
})), (input.TeletextDestinationSettings != null && {
|
|
3569
3493
|
teletextDestinationSettings: serializeAws_restJson1TeletextDestinationSettings(input.TeletextDestinationSettings, context),
|
|
3570
|
-
})), (input.TtmlDestinationSettings
|
|
3571
|
-
input.TtmlDestinationSettings !== null && {
|
|
3494
|
+
})), (input.TtmlDestinationSettings != null && {
|
|
3572
3495
|
ttmlDestinationSettings: serializeAws_restJson1TtmlDestinationSettings(input.TtmlDestinationSettings, context),
|
|
3573
|
-
})), (input.WebvttDestinationSettings
|
|
3574
|
-
input.WebvttDestinationSettings !== null && {
|
|
3496
|
+
})), (input.WebvttDestinationSettings != null && {
|
|
3575
3497
|
webvttDestinationSettings: serializeAws_restJson1WebvttDestinationSettings(input.WebvttDestinationSettings, context),
|
|
3576
3498
|
}));
|
|
3577
3499
|
};
|
|
3578
3500
|
var serializeAws_restJson1CaptionSelector = function (input, context) {
|
|
3579
|
-
return __assign(__assign(__assign({}, (input.CustomLanguageCode
|
|
3580
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { languageCode: input.LanguageCode })), (input.SourceSettings !== undefined &&
|
|
3581
|
-
input.SourceSettings !== null && {
|
|
3501
|
+
return __assign(__assign(__assign({}, (input.CustomLanguageCode != null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.SourceSettings != null && {
|
|
3582
3502
|
sourceSettings: serializeAws_restJson1CaptionSourceSettings(input.SourceSettings, context),
|
|
3583
3503
|
}));
|
|
3584
3504
|
};
|
|
3585
3505
|
var serializeAws_restJson1CaptionSourceFramerate = function (input, context) {
|
|
3586
|
-
return __assign(__assign({}, (input.FramerateDenominator
|
|
3587
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3588
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator }));
|
|
3506
|
+
return __assign(__assign({}, (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator }));
|
|
3589
3507
|
};
|
|
3590
3508
|
var serializeAws_restJson1CaptionSourceSettings = function (input, context) {
|
|
3591
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AncillarySourceSettings
|
|
3592
|
-
input.AncillarySourceSettings !== null && {
|
|
3509
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AncillarySourceSettings != null && {
|
|
3593
3510
|
ancillarySourceSettings: serializeAws_restJson1AncillarySourceSettings(input.AncillarySourceSettings, context),
|
|
3594
|
-
})), (input.DvbSubSourceSettings
|
|
3595
|
-
input.DvbSubSourceSettings !== null && {
|
|
3511
|
+
})), (input.DvbSubSourceSettings != null && {
|
|
3596
3512
|
dvbSubSourceSettings: serializeAws_restJson1DvbSubSourceSettings(input.DvbSubSourceSettings, context),
|
|
3597
|
-
})), (input.EmbeddedSourceSettings
|
|
3598
|
-
input.EmbeddedSourceSettings !== null && {
|
|
3513
|
+
})), (input.EmbeddedSourceSettings != null && {
|
|
3599
3514
|
embeddedSourceSettings: serializeAws_restJson1EmbeddedSourceSettings(input.EmbeddedSourceSettings, context),
|
|
3600
|
-
})), (input.FileSourceSettings
|
|
3601
|
-
input.FileSourceSettings !== null && {
|
|
3515
|
+
})), (input.FileSourceSettings != null && {
|
|
3602
3516
|
fileSourceSettings: serializeAws_restJson1FileSourceSettings(input.FileSourceSettings, context),
|
|
3603
|
-
})), (input.SourceType
|
|
3604
|
-
input.TeletextSourceSettings !== null && {
|
|
3517
|
+
})), (input.SourceType != null && { sourceType: input.SourceType })), (input.TeletextSourceSettings != null && {
|
|
3605
3518
|
teletextSourceSettings: serializeAws_restJson1TeletextSourceSettings(input.TeletextSourceSettings, context),
|
|
3606
|
-
})), (input.TrackSourceSettings
|
|
3607
|
-
input.TrackSourceSettings !== null && {
|
|
3519
|
+
})), (input.TrackSourceSettings != null && {
|
|
3608
3520
|
trackSourceSettings: serializeAws_restJson1TrackSourceSettings(input.TrackSourceSettings, context),
|
|
3609
|
-
})), (input.WebvttHlsSourceSettings
|
|
3610
|
-
input.WebvttHlsSourceSettings !== null && {
|
|
3521
|
+
})), (input.WebvttHlsSourceSettings != null && {
|
|
3611
3522
|
webvttHlsSourceSettings: serializeAws_restJson1WebvttHlsSourceSettings(input.WebvttHlsSourceSettings, context),
|
|
3612
3523
|
}));
|
|
3613
3524
|
};
|
|
3614
3525
|
var serializeAws_restJson1ChannelMapping = function (input, context) {
|
|
3615
|
-
return __assign({}, (input.OutputChannels
|
|
3616
|
-
input.OutputChannels !== null && {
|
|
3526
|
+
return __assign({}, (input.OutputChannels != null && {
|
|
3617
3527
|
outputChannels: serializeAws_restJson1__listOfOutputChannelMapping(input.OutputChannels, context),
|
|
3618
3528
|
}));
|
|
3619
3529
|
};
|
|
3620
3530
|
var serializeAws_restJson1CmafAdditionalManifest = function (input, context) {
|
|
3621
|
-
return __assign(__assign({}, (input.ManifestNameModifier
|
|
3622
|
-
input.ManifestNameModifier !== null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs !== undefined &&
|
|
3623
|
-
input.SelectedOutputs !== null && {
|
|
3531
|
+
return __assign(__assign({}, (input.ManifestNameModifier != null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs != null && {
|
|
3624
3532
|
selectedOutputs: serializeAws_restJson1__listOf__stringMin1(input.SelectedOutputs, context),
|
|
3625
3533
|
}));
|
|
3626
3534
|
};
|
|
3627
3535
|
var serializeAws_restJson1CmafEncryptionSettings = function (input, context) {
|
|
3628
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector
|
|
3629
|
-
input.ConstantInitializationVector !== null && {
|
|
3536
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector != null && {
|
|
3630
3537
|
constantInitializationVector: input.ConstantInitializationVector,
|
|
3631
|
-
})), (input.EncryptionMethod
|
|
3632
|
-
input.EncryptionMethod !== null && { encryptionMethod: input.EncryptionMethod })), (input.InitializationVectorInManifest !== undefined &&
|
|
3633
|
-
input.InitializationVectorInManifest !== null && {
|
|
3538
|
+
})), (input.EncryptionMethod != null && { encryptionMethod: input.EncryptionMethod })), (input.InitializationVectorInManifest != null && {
|
|
3634
3539
|
initializationVectorInManifest: input.InitializationVectorInManifest,
|
|
3635
|
-
})), (input.SpekeKeyProvider
|
|
3636
|
-
input.SpekeKeyProvider !== null && {
|
|
3540
|
+
})), (input.SpekeKeyProvider != null && {
|
|
3637
3541
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProviderCmaf(input.SpekeKeyProvider, context),
|
|
3638
|
-
})), (input.StaticKeyProvider
|
|
3639
|
-
input.StaticKeyProvider !== null && {
|
|
3542
|
+
})), (input.StaticKeyProvider != null && {
|
|
3640
3543
|
staticKeyProvider: serializeAws_restJson1StaticKeyProvider(input.StaticKeyProvider, context),
|
|
3641
|
-
})), (input.Type
|
|
3544
|
+
})), (input.Type != null && { type: input.Type }));
|
|
3642
3545
|
};
|
|
3643
3546
|
var serializeAws_restJson1CmafGroupSettings = function (input, context) {
|
|
3644
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests
|
|
3645
|
-
input.AdditionalManifests !== null && {
|
|
3547
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests != null && {
|
|
3646
3548
|
additionalManifests: serializeAws_restJson1__listOfCmafAdditionalManifest(input.AdditionalManifests, context),
|
|
3647
|
-
})), (input.BaseUrl
|
|
3648
|
-
input.CodecSpecification !== null && { codecSpecification: input.CodecSpecification })), (input.Destination !== undefined && input.Destination !== null && { destination: input.Destination })), (input.DestinationSettings !== undefined &&
|
|
3649
|
-
input.DestinationSettings !== null && {
|
|
3549
|
+
})), (input.BaseUrl != null && { baseUrl: input.BaseUrl })), (input.ClientCache != null && { clientCache: input.ClientCache })), (input.CodecSpecification != null && { codecSpecification: input.CodecSpecification })), (input.Destination != null && { destination: input.Destination })), (input.DestinationSettings != null && {
|
|
3650
3550
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
3651
|
-
})), (input.Encryption
|
|
3652
|
-
input.Encryption !== null && {
|
|
3551
|
+
})), (input.Encryption != null && {
|
|
3653
3552
|
encryption: serializeAws_restJson1CmafEncryptionSettings(input.Encryption, context),
|
|
3654
|
-
})), (input.FragmentLength
|
|
3655
|
-
input.FragmentLength !== null && { fragmentLength: input.FragmentLength })), (input.ImageBasedTrickPlay !== undefined &&
|
|
3656
|
-
input.ImageBasedTrickPlay !== null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings !== undefined &&
|
|
3657
|
-
input.ImageBasedTrickPlaySettings !== null && {
|
|
3553
|
+
})), (input.FragmentLength != null && { fragmentLength: input.FragmentLength })), (input.ImageBasedTrickPlay != null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings != null && {
|
|
3658
3554
|
imageBasedTrickPlaySettings: serializeAws_restJson1CmafImageBasedTrickPlaySettings(input.ImageBasedTrickPlaySettings, context),
|
|
3659
|
-
})), (input.ManifestCompression
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
input.SegmentControl !== null && { segmentControl: input.SegmentControl })), (input.SegmentLength !== undefined && input.SegmentLength !== null && { segmentLength: input.SegmentLength })), (input.SegmentLengthControl !== undefined &&
|
|
3665
|
-
input.SegmentLengthControl !== null && { segmentLengthControl: input.SegmentLengthControl })), (input.StreamInfResolution !== undefined &&
|
|
3666
|
-
input.StreamInfResolution !== null && { streamInfResolution: input.StreamInfResolution })), (input.TargetDurationCompatibilityMode !== undefined &&
|
|
3667
|
-
input.TargetDurationCompatibilityMode !== null && {
|
|
3555
|
+
})), (input.ManifestCompression != null && { manifestCompression: input.ManifestCompression })), (input.ManifestDurationFormat != null && { manifestDurationFormat: input.ManifestDurationFormat })), (input.MinBufferTime != null && { minBufferTime: input.MinBufferTime })), (input.MinFinalSegmentLength != null && {
|
|
3556
|
+
minFinalSegmentLength: __serializeFloat(input.MinFinalSegmentLength),
|
|
3557
|
+
})), (input.MpdProfile != null && { mpdProfile: input.MpdProfile })), (input.PtsOffsetHandlingForBFrames != null && {
|
|
3558
|
+
ptsOffsetHandlingForBFrames: input.PtsOffsetHandlingForBFrames,
|
|
3559
|
+
})), (input.SegmentControl != null && { segmentControl: input.SegmentControl })), (input.SegmentLength != null && { segmentLength: input.SegmentLength })), (input.SegmentLengthControl != null && { segmentLengthControl: input.SegmentLengthControl })), (input.StreamInfResolution != null && { streamInfResolution: input.StreamInfResolution })), (input.TargetDurationCompatibilityMode != null && {
|
|
3668
3560
|
targetDurationCompatibilityMode: input.TargetDurationCompatibilityMode,
|
|
3669
|
-
})), (input.WriteDashManifest
|
|
3670
|
-
input.WriteDashManifest !== null && { writeDashManifest: input.WriteDashManifest })), (input.WriteHlsManifest !== undefined &&
|
|
3671
|
-
input.WriteHlsManifest !== null && { writeHlsManifest: input.WriteHlsManifest })), (input.WriteSegmentTimelineInRepresentation !== undefined &&
|
|
3672
|
-
input.WriteSegmentTimelineInRepresentation !== null && {
|
|
3561
|
+
})), (input.WriteDashManifest != null && { writeDashManifest: input.WriteDashManifest })), (input.WriteHlsManifest != null && { writeHlsManifest: input.WriteHlsManifest })), (input.WriteSegmentTimelineInRepresentation != null && {
|
|
3673
3562
|
writeSegmentTimelineInRepresentation: input.WriteSegmentTimelineInRepresentation,
|
|
3674
3563
|
}));
|
|
3675
3564
|
};
|
|
3676
3565
|
var serializeAws_restJson1CmafImageBasedTrickPlaySettings = function (input, context) {
|
|
3677
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence
|
|
3678
|
-
input.IntervalCadence !== null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight !== undefined &&
|
|
3679
|
-
input.ThumbnailHeight !== null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval !== undefined &&
|
|
3680
|
-
input.ThumbnailInterval !== null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth !== undefined &&
|
|
3681
|
-
input.ThumbnailWidth !== null && { thumbnailWidth: input.ThumbnailWidth })), (input.TileHeight !== undefined && input.TileHeight !== null && { tileHeight: input.TileHeight })), (input.TileWidth !== undefined && input.TileWidth !== null && { tileWidth: input.TileWidth }));
|
|
3566
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence != null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight != null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval != null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth != null && { thumbnailWidth: input.ThumbnailWidth })), (input.TileHeight != null && { tileHeight: input.TileHeight })), (input.TileWidth != null && { tileWidth: input.TileWidth }));
|
|
3682
3567
|
};
|
|
3683
3568
|
var serializeAws_restJson1CmfcSettings = function (input, context) {
|
|
3684
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDuration
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
input.DescriptiveVideoServiceFlag !== null && { descriptiveVideoServiceFlag: input.DescriptiveVideoServiceFlag })), (input.IFrameOnlyManifest !== undefined &&
|
|
3688
|
-
input.IFrameOnlyManifest !== null && { iFrameOnlyManifest: input.IFrameOnlyManifest })), (input.KlvMetadata !== undefined && input.KlvMetadata !== null && { klvMetadata: input.KlvMetadata })), (input.Scte35Esam !== undefined && input.Scte35Esam !== null && { scte35Esam: input.Scte35Esam })), (input.Scte35Source !== undefined && input.Scte35Source !== null && { scte35Source: input.Scte35Source })), (input.TimedMetadata !== undefined && input.TimedMetadata !== null && { timedMetadata: input.TimedMetadata }));
|
|
3569
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDuration != null && { audioDuration: input.AudioDuration })), (input.AudioGroupId != null && { audioGroupId: input.AudioGroupId })), (input.AudioRenditionSets != null && { audioRenditionSets: input.AudioRenditionSets })), (input.AudioTrackType != null && { audioTrackType: input.AudioTrackType })), (input.DescriptiveVideoServiceFlag != null && {
|
|
3570
|
+
descriptiveVideoServiceFlag: input.DescriptiveVideoServiceFlag,
|
|
3571
|
+
})), (input.IFrameOnlyManifest != null && { iFrameOnlyManifest: input.IFrameOnlyManifest })), (input.KlvMetadata != null && { klvMetadata: input.KlvMetadata })), (input.Scte35Esam != null && { scte35Esam: input.Scte35Esam })), (input.Scte35Source != null && { scte35Source: input.Scte35Source })), (input.TimedMetadata != null && { timedMetadata: input.TimedMetadata }));
|
|
3689
3572
|
};
|
|
3690
3573
|
var serializeAws_restJson1ColorCorrector = function (input, context) {
|
|
3691
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Brightness
|
|
3692
|
-
input.ColorSpaceConversion !== null && { colorSpaceConversion: input.ColorSpaceConversion })), (input.Contrast !== undefined && input.Contrast !== null && { contrast: input.Contrast })), (input.Hdr10Metadata !== undefined &&
|
|
3693
|
-
input.Hdr10Metadata !== null && {
|
|
3574
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Brightness != null && { brightness: input.Brightness })), (input.ColorSpaceConversion != null && { colorSpaceConversion: input.ColorSpaceConversion })), (input.Contrast != null && { contrast: input.Contrast })), (input.Hdr10Metadata != null && {
|
|
3694
3575
|
hdr10Metadata: serializeAws_restJson1Hdr10Metadata(input.Hdr10Metadata, context),
|
|
3695
|
-
})), (input.Hue
|
|
3696
|
-
input.SampleRangeConversion !== null && { sampleRangeConversion: input.SampleRangeConversion })), (input.Saturation !== undefined && input.Saturation !== null && { saturation: input.Saturation }));
|
|
3576
|
+
})), (input.Hue != null && { hue: input.Hue })), (input.SampleRangeConversion != null && { sampleRangeConversion: input.SampleRangeConversion })), (input.Saturation != null && { saturation: input.Saturation }));
|
|
3697
3577
|
};
|
|
3698
3578
|
var serializeAws_restJson1ContainerSettings = function (input, context) {
|
|
3699
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CmfcSettings
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
input.MpdSettings !== null && { mpdSettings: serializeAws_restJson1MpdSettings(input.MpdSettings, context) })), (input.MxfSettings !== undefined &&
|
|
3707
|
-
input.MxfSettings !== null && { mxfSettings: serializeAws_restJson1MxfSettings(input.MxfSettings, context) }));
|
|
3579
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CmfcSettings != null && {
|
|
3580
|
+
cmfcSettings: serializeAws_restJson1CmfcSettings(input.CmfcSettings, context),
|
|
3581
|
+
})), (input.Container != null && { container: input.Container })), (input.F4vSettings != null && { f4vSettings: serializeAws_restJson1F4vSettings(input.F4vSettings, context) })), (input.M2tsSettings != null && {
|
|
3582
|
+
m2tsSettings: serializeAws_restJson1M2tsSettings(input.M2tsSettings, context),
|
|
3583
|
+
})), (input.M3u8Settings != null && {
|
|
3584
|
+
m3u8Settings: serializeAws_restJson1M3u8Settings(input.M3u8Settings, context),
|
|
3585
|
+
})), (input.MovSettings != null && { movSettings: serializeAws_restJson1MovSettings(input.MovSettings, context) })), (input.Mp4Settings != null && { mp4Settings: serializeAws_restJson1Mp4Settings(input.Mp4Settings, context) })), (input.MpdSettings != null && { mpdSettings: serializeAws_restJson1MpdSettings(input.MpdSettings, context) })), (input.MxfSettings != null && { mxfSettings: serializeAws_restJson1MxfSettings(input.MxfSettings, context) }));
|
|
3708
3586
|
};
|
|
3709
3587
|
var serializeAws_restJson1DashAdditionalManifest = function (input, context) {
|
|
3710
|
-
return __assign(__assign({}, (input.ManifestNameModifier
|
|
3711
|
-
input.ManifestNameModifier !== null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs !== undefined &&
|
|
3712
|
-
input.SelectedOutputs !== null && {
|
|
3588
|
+
return __assign(__assign({}, (input.ManifestNameModifier != null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs != null && {
|
|
3713
3589
|
selectedOutputs: serializeAws_restJson1__listOf__stringMin1(input.SelectedOutputs, context),
|
|
3714
3590
|
}));
|
|
3715
3591
|
};
|
|
3716
3592
|
var serializeAws_restJson1DashIsoEncryptionSettings = function (input, context) {
|
|
3717
|
-
return __assign(__assign({}, (input.PlaybackDeviceCompatibility
|
|
3718
|
-
|
|
3719
|
-
|
|
3593
|
+
return __assign(__assign({}, (input.PlaybackDeviceCompatibility != null && {
|
|
3594
|
+
playbackDeviceCompatibility: input.PlaybackDeviceCompatibility,
|
|
3595
|
+
})), (input.SpekeKeyProvider != null && {
|
|
3720
3596
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProvider(input.SpekeKeyProvider, context),
|
|
3721
3597
|
}));
|
|
3722
3598
|
};
|
|
3723
3599
|
var serializeAws_restJson1DashIsoGroupSettings = function (input, context) {
|
|
3724
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests
|
|
3725
|
-
input.AdditionalManifests !== null && {
|
|
3600
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests != null && {
|
|
3726
3601
|
additionalManifests: serializeAws_restJson1__listOfDashAdditionalManifest(input.AdditionalManifests, context),
|
|
3727
|
-
})), (input.AudioChannelConfigSchemeIdUri
|
|
3728
|
-
input.AudioChannelConfigSchemeIdUri !== null && {
|
|
3602
|
+
})), (input.AudioChannelConfigSchemeIdUri != null && {
|
|
3729
3603
|
audioChannelConfigSchemeIdUri: input.AudioChannelConfigSchemeIdUri,
|
|
3730
|
-
})), (input.BaseUrl
|
|
3731
|
-
input.DestinationSettings !== null && {
|
|
3604
|
+
})), (input.BaseUrl != null && { baseUrl: input.BaseUrl })), (input.Destination != null && { destination: input.Destination })), (input.DestinationSettings != null && {
|
|
3732
3605
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
3733
|
-
})), (input.Encryption
|
|
3734
|
-
input.Encryption !== null && {
|
|
3606
|
+
})), (input.Encryption != null && {
|
|
3735
3607
|
encryption: serializeAws_restJson1DashIsoEncryptionSettings(input.Encryption, context),
|
|
3736
|
-
})), (input.FragmentLength
|
|
3737
|
-
input.FragmentLength !== null && { fragmentLength: input.FragmentLength })), (input.HbbtvCompliance !== undefined &&
|
|
3738
|
-
input.HbbtvCompliance !== null && { hbbtvCompliance: input.HbbtvCompliance })), (input.ImageBasedTrickPlay !== undefined &&
|
|
3739
|
-
input.ImageBasedTrickPlay !== null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings !== undefined &&
|
|
3740
|
-
input.ImageBasedTrickPlaySettings !== null && {
|
|
3608
|
+
})), (input.FragmentLength != null && { fragmentLength: input.FragmentLength })), (input.HbbtvCompliance != null && { hbbtvCompliance: input.HbbtvCompliance })), (input.ImageBasedTrickPlay != null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings != null && {
|
|
3741
3609
|
imageBasedTrickPlaySettings: serializeAws_restJson1DashIsoImageBasedTrickPlaySettings(input.ImageBasedTrickPlaySettings, context),
|
|
3742
|
-
})), (input.MinBufferTime
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
input.WriteSegmentTimelineInRepresentation !== null && {
|
|
3610
|
+
})), (input.MinBufferTime != null && { minBufferTime: input.MinBufferTime })), (input.MinFinalSegmentLength != null && {
|
|
3611
|
+
minFinalSegmentLength: __serializeFloat(input.MinFinalSegmentLength),
|
|
3612
|
+
})), (input.MpdProfile != null && { mpdProfile: input.MpdProfile })), (input.PtsOffsetHandlingForBFrames != null && {
|
|
3613
|
+
ptsOffsetHandlingForBFrames: input.PtsOffsetHandlingForBFrames,
|
|
3614
|
+
})), (input.SegmentControl != null && { segmentControl: input.SegmentControl })), (input.SegmentLength != null && { segmentLength: input.SegmentLength })), (input.SegmentLengthControl != null && { segmentLengthControl: input.SegmentLengthControl })), (input.WriteSegmentTimelineInRepresentation != null && {
|
|
3748
3615
|
writeSegmentTimelineInRepresentation: input.WriteSegmentTimelineInRepresentation,
|
|
3749
3616
|
}));
|
|
3750
3617
|
};
|
|
3751
3618
|
var serializeAws_restJson1DashIsoImageBasedTrickPlaySettings = function (input, context) {
|
|
3752
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence
|
|
3753
|
-
input.IntervalCadence !== null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight !== undefined &&
|
|
3754
|
-
input.ThumbnailHeight !== null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval !== undefined &&
|
|
3755
|
-
input.ThumbnailInterval !== null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth !== undefined &&
|
|
3756
|
-
input.ThumbnailWidth !== null && { thumbnailWidth: input.ThumbnailWidth })), (input.TileHeight !== undefined && input.TileHeight !== null && { tileHeight: input.TileHeight })), (input.TileWidth !== undefined && input.TileWidth !== null && { tileWidth: input.TileWidth }));
|
|
3619
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence != null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight != null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval != null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth != null && { thumbnailWidth: input.ThumbnailWidth })), (input.TileHeight != null && { tileHeight: input.TileHeight })), (input.TileWidth != null && { tileWidth: input.TileWidth }));
|
|
3757
3620
|
};
|
|
3758
3621
|
var serializeAws_restJson1Deinterlacer = function (input, context) {
|
|
3759
|
-
return __assign(__assign(__assign({}, (input.Algorithm
|
|
3622
|
+
return __assign(__assign(__assign({}, (input.Algorithm != null && { algorithm: input.Algorithm })), (input.Control != null && { control: input.Control })), (input.Mode != null && { mode: input.Mode }));
|
|
3760
3623
|
};
|
|
3761
3624
|
var serializeAws_restJson1DestinationSettings = function (input, context) {
|
|
3762
|
-
return __assign({}, (input.S3Settings
|
|
3763
|
-
input.S3Settings !== null && {
|
|
3625
|
+
return __assign({}, (input.S3Settings != null && {
|
|
3764
3626
|
s3Settings: serializeAws_restJson1S3DestinationSettings(input.S3Settings, context),
|
|
3765
3627
|
}));
|
|
3766
3628
|
};
|
|
3767
3629
|
var serializeAws_restJson1DolbyVision = function (input, context) {
|
|
3768
|
-
return __assign(__assign(__assign(__assign({}, (input.L6Metadata
|
|
3769
|
-
input.L6Metadata !== null && {
|
|
3630
|
+
return __assign(__assign(__assign(__assign({}, (input.L6Metadata != null && {
|
|
3770
3631
|
l6Metadata: serializeAws_restJson1DolbyVisionLevel6Metadata(input.L6Metadata, context),
|
|
3771
|
-
})), (input.L6Mode
|
|
3632
|
+
})), (input.L6Mode != null && { l6Mode: input.L6Mode })), (input.Mapping != null && { mapping: input.Mapping })), (input.Profile != null && { profile: input.Profile }));
|
|
3772
3633
|
};
|
|
3773
3634
|
var serializeAws_restJson1DolbyVisionLevel6Metadata = function (input, context) {
|
|
3774
|
-
return __assign(__assign({}, (input.MaxCll
|
|
3635
|
+
return __assign(__assign({}, (input.MaxCll != null && { maxCll: input.MaxCll })), (input.MaxFall != null && { maxFall: input.MaxFall }));
|
|
3775
3636
|
};
|
|
3776
3637
|
var serializeAws_restJson1DvbNitSettings = function (input, context) {
|
|
3777
|
-
return __assign(__assign(__assign({}, (input.NetworkId
|
|
3638
|
+
return __assign(__assign(__assign({}, (input.NetworkId != null && { networkId: input.NetworkId })), (input.NetworkName != null && { networkName: input.NetworkName })), (input.NitInterval != null && { nitInterval: input.NitInterval }));
|
|
3778
3639
|
};
|
|
3779
3640
|
var serializeAws_restJson1DvbSdtSettings = function (input, context) {
|
|
3780
|
-
return __assign(__assign(__assign(__assign({}, (input.OutputSdt
|
|
3781
|
-
input.ServiceProviderName !== null && { serviceProviderName: input.ServiceProviderName }));
|
|
3641
|
+
return __assign(__assign(__assign(__assign({}, (input.OutputSdt != null && { outputSdt: input.OutputSdt })), (input.SdtInterval != null && { sdtInterval: input.SdtInterval })), (input.ServiceName != null && { serviceName: input.ServiceName })), (input.ServiceProviderName != null && { serviceProviderName: input.ServiceProviderName }));
|
|
3782
3642
|
};
|
|
3783
3643
|
var serializeAws_restJson1DvbSubDestinationSettings = function (input, context) {
|
|
3784
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment
|
|
3785
|
-
input.ApplyFontColor !== null && { applyFontColor: input.ApplyFontColor })), (input.BackgroundColor !== undefined &&
|
|
3786
|
-
input.BackgroundColor !== null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity !== undefined &&
|
|
3787
|
-
input.BackgroundOpacity !== null && { backgroundOpacity: input.BackgroundOpacity })), (input.DdsHandling !== undefined && input.DdsHandling !== null && { ddsHandling: input.DdsHandling })), (input.DdsXCoordinate !== undefined &&
|
|
3788
|
-
input.DdsXCoordinate !== null && { ddsXCoordinate: input.DdsXCoordinate })), (input.DdsYCoordinate !== undefined &&
|
|
3789
|
-
input.DdsYCoordinate !== null && { ddsYCoordinate: input.DdsYCoordinate })), (input.FallbackFont !== undefined && input.FallbackFont !== null && { fallbackFont: input.FallbackFont })), (input.FontColor !== undefined && input.FontColor !== null && { fontColor: input.FontColor })), (input.FontOpacity !== undefined && input.FontOpacity !== null && { fontOpacity: input.FontOpacity })), (input.FontResolution !== undefined &&
|
|
3790
|
-
input.FontResolution !== null && { fontResolution: input.FontResolution })), (input.FontScript !== undefined && input.FontScript !== null && { fontScript: input.FontScript })), (input.FontSize !== undefined && input.FontSize !== null && { fontSize: input.FontSize })), (input.Height !== undefined && input.Height !== null && { height: input.Height })), (input.HexFontColor !== undefined && input.HexFontColor !== null && { hexFontColor: input.HexFontColor })), (input.OutlineColor !== undefined && input.OutlineColor !== null && { outlineColor: input.OutlineColor })), (input.OutlineSize !== undefined && input.OutlineSize !== null && { outlineSize: input.OutlineSize })), (input.ShadowColor !== undefined && input.ShadowColor !== null && { shadowColor: input.ShadowColor })), (input.ShadowOpacity !== undefined && input.ShadowOpacity !== null && { shadowOpacity: input.ShadowOpacity })), (input.ShadowXOffset !== undefined && input.ShadowXOffset !== null && { shadowXOffset: input.ShadowXOffset })), (input.ShadowYOffset !== undefined && input.ShadowYOffset !== null && { shadowYOffset: input.ShadowYOffset })), (input.StylePassthrough !== undefined &&
|
|
3791
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough })), (input.SubtitlingType !== undefined &&
|
|
3792
|
-
input.SubtitlingType !== null && { subtitlingType: input.SubtitlingType })), (input.TeletextSpacing !== undefined &&
|
|
3793
|
-
input.TeletextSpacing !== null && { teletextSpacing: input.TeletextSpacing })), (input.Width !== undefined && input.Width !== null && { width: input.Width })), (input.XPosition !== undefined && input.XPosition !== null && { xPosition: input.XPosition })), (input.YPosition !== undefined && input.YPosition !== null && { yPosition: input.YPosition }));
|
|
3644
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment != null && { alignment: input.Alignment })), (input.ApplyFontColor != null && { applyFontColor: input.ApplyFontColor })), (input.BackgroundColor != null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity != null && { backgroundOpacity: input.BackgroundOpacity })), (input.DdsHandling != null && { ddsHandling: input.DdsHandling })), (input.DdsXCoordinate != null && { ddsXCoordinate: input.DdsXCoordinate })), (input.DdsYCoordinate != null && { ddsYCoordinate: input.DdsYCoordinate })), (input.FallbackFont != null && { fallbackFont: input.FallbackFont })), (input.FontColor != null && { fontColor: input.FontColor })), (input.FontOpacity != null && { fontOpacity: input.FontOpacity })), (input.FontResolution != null && { fontResolution: input.FontResolution })), (input.FontScript != null && { fontScript: input.FontScript })), (input.FontSize != null && { fontSize: input.FontSize })), (input.Height != null && { height: input.Height })), (input.HexFontColor != null && { hexFontColor: input.HexFontColor })), (input.OutlineColor != null && { outlineColor: input.OutlineColor })), (input.OutlineSize != null && { outlineSize: input.OutlineSize })), (input.ShadowColor != null && { shadowColor: input.ShadowColor })), (input.ShadowOpacity != null && { shadowOpacity: input.ShadowOpacity })), (input.ShadowXOffset != null && { shadowXOffset: input.ShadowXOffset })), (input.ShadowYOffset != null && { shadowYOffset: input.ShadowYOffset })), (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough })), (input.SubtitlingType != null && { subtitlingType: input.SubtitlingType })), (input.TeletextSpacing != null && { teletextSpacing: input.TeletextSpacing })), (input.Width != null && { width: input.Width })), (input.XPosition != null && { xPosition: input.XPosition })), (input.YPosition != null && { yPosition: input.YPosition }));
|
|
3794
3645
|
};
|
|
3795
3646
|
var serializeAws_restJson1DvbSubSourceSettings = function (input, context) {
|
|
3796
|
-
return __assign({}, (input.Pid
|
|
3647
|
+
return __assign({}, (input.Pid != null && { pid: input.Pid }));
|
|
3797
3648
|
};
|
|
3798
3649
|
var serializeAws_restJson1DvbTdtSettings = function (input, context) {
|
|
3799
|
-
return __assign({}, (input.TdtInterval
|
|
3650
|
+
return __assign({}, (input.TdtInterval != null && { tdtInterval: input.TdtInterval }));
|
|
3800
3651
|
};
|
|
3801
3652
|
var serializeAws_restJson1Eac3AtmosSettings = function (input, context) {
|
|
3802
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
input.DynamicRangeCompressionLine !== null && { dynamicRangeCompressionLine: input.DynamicRangeCompressionLine })), (input.DynamicRangeCompressionRf !== undefined &&
|
|
3806
|
-
input.DynamicRangeCompressionRf !== null && { dynamicRangeCompressionRf: input.DynamicRangeCompressionRf })), (input.DynamicRangeControl !== undefined &&
|
|
3807
|
-
input.DynamicRangeControl !== null && { dynamicRangeControl: input.DynamicRangeControl })), (input.LoRoCenterMixLevel !== undefined &&
|
|
3808
|
-
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel: __serializeFloat(input.LoRoCenterMixLevel) })), (input.LoRoSurroundMixLevel !== undefined &&
|
|
3809
|
-
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel: __serializeFloat(input.LoRoSurroundMixLevel) })), (input.LtRtCenterMixLevel !== undefined &&
|
|
3810
|
-
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel: __serializeFloat(input.LtRtCenterMixLevel) })), (input.LtRtSurroundMixLevel !== undefined &&
|
|
3811
|
-
input.LtRtSurroundMixLevel !== null && { ltRtSurroundMixLevel: __serializeFloat(input.LtRtSurroundMixLevel) })), (input.MeteringMode !== undefined && input.MeteringMode !== null && { meteringMode: input.MeteringMode })), (input.SampleRate !== undefined && input.SampleRate !== null && { sampleRate: input.SampleRate })), (input.SpeechThreshold !== undefined &&
|
|
3812
|
-
input.SpeechThreshold !== null && { speechThreshold: input.SpeechThreshold })), (input.StereoDownmix !== undefined && input.StereoDownmix !== null && { stereoDownmix: input.StereoDownmix })), (input.SurroundExMode !== undefined &&
|
|
3813
|
-
input.SurroundExMode !== null && { surroundExMode: input.SurroundExMode }));
|
|
3653
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: input.Bitrate })), (input.BitstreamMode != null && { bitstreamMode: input.BitstreamMode })), (input.CodingMode != null && { codingMode: input.CodingMode })), (input.DialogueIntelligence != null && { dialogueIntelligence: input.DialogueIntelligence })), (input.DownmixControl != null && { downmixControl: input.DownmixControl })), (input.DynamicRangeCompressionLine != null && {
|
|
3654
|
+
dynamicRangeCompressionLine: input.DynamicRangeCompressionLine,
|
|
3655
|
+
})), (input.DynamicRangeCompressionRf != null && { dynamicRangeCompressionRf: input.DynamicRangeCompressionRf })), (input.DynamicRangeControl != null && { dynamicRangeControl: input.DynamicRangeControl })), (input.LoRoCenterMixLevel != null && { loRoCenterMixLevel: __serializeFloat(input.LoRoCenterMixLevel) })), (input.LoRoSurroundMixLevel != null && { loRoSurroundMixLevel: __serializeFloat(input.LoRoSurroundMixLevel) })), (input.LtRtCenterMixLevel != null && { ltRtCenterMixLevel: __serializeFloat(input.LtRtCenterMixLevel) })), (input.LtRtSurroundMixLevel != null && { ltRtSurroundMixLevel: __serializeFloat(input.LtRtSurroundMixLevel) })), (input.MeteringMode != null && { meteringMode: input.MeteringMode })), (input.SampleRate != null && { sampleRate: input.SampleRate })), (input.SpeechThreshold != null && { speechThreshold: input.SpeechThreshold })), (input.StereoDownmix != null && { stereoDownmix: input.StereoDownmix })), (input.SurroundExMode != null && { surroundExMode: input.SurroundExMode }));
|
|
3814
3656
|
};
|
|
3815
3657
|
var serializeAws_restJson1Eac3Settings = function (input, context) {
|
|
3816
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttenuationControl
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
input.DynamicRangeCompressionRf !== null && { dynamicRangeCompressionRf: input.DynamicRangeCompressionRf })), (input.LfeControl !== undefined && input.LfeControl !== null && { lfeControl: input.LfeControl })), (input.LfeFilter !== undefined && input.LfeFilter !== null && { lfeFilter: input.LfeFilter })), (input.LoRoCenterMixLevel !== undefined &&
|
|
3820
|
-
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel: __serializeFloat(input.LoRoCenterMixLevel) })), (input.LoRoSurroundMixLevel !== undefined &&
|
|
3821
|
-
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel: __serializeFloat(input.LoRoSurroundMixLevel) })), (input.LtRtCenterMixLevel !== undefined &&
|
|
3822
|
-
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel: __serializeFloat(input.LtRtCenterMixLevel) })), (input.LtRtSurroundMixLevel !== undefined &&
|
|
3823
|
-
input.LtRtSurroundMixLevel !== null && { ltRtSurroundMixLevel: __serializeFloat(input.LtRtSurroundMixLevel) })), (input.MetadataControl !== undefined &&
|
|
3824
|
-
input.MetadataControl !== null && { metadataControl: input.MetadataControl })), (input.PassthroughControl !== undefined &&
|
|
3825
|
-
input.PassthroughControl !== null && { passthroughControl: input.PassthroughControl })), (input.PhaseControl !== undefined && input.PhaseControl !== null && { phaseControl: input.PhaseControl })), (input.SampleRate !== undefined && input.SampleRate !== null && { sampleRate: input.SampleRate })), (input.StereoDownmix !== undefined && input.StereoDownmix !== null && { stereoDownmix: input.StereoDownmix })), (input.SurroundExMode !== undefined &&
|
|
3826
|
-
input.SurroundExMode !== null && { surroundExMode: input.SurroundExMode })), (input.SurroundMode !== undefined && input.SurroundMode !== null && { surroundMode: input.SurroundMode }));
|
|
3658
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttenuationControl != null && { attenuationControl: input.AttenuationControl })), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.BitstreamMode != null && { bitstreamMode: input.BitstreamMode })), (input.CodingMode != null && { codingMode: input.CodingMode })), (input.DcFilter != null && { dcFilter: input.DcFilter })), (input.Dialnorm != null && { dialnorm: input.Dialnorm })), (input.DynamicRangeCompressionLine != null && {
|
|
3659
|
+
dynamicRangeCompressionLine: input.DynamicRangeCompressionLine,
|
|
3660
|
+
})), (input.DynamicRangeCompressionRf != null && { dynamicRangeCompressionRf: input.DynamicRangeCompressionRf })), (input.LfeControl != null && { lfeControl: input.LfeControl })), (input.LfeFilter != null && { lfeFilter: input.LfeFilter })), (input.LoRoCenterMixLevel != null && { loRoCenterMixLevel: __serializeFloat(input.LoRoCenterMixLevel) })), (input.LoRoSurroundMixLevel != null && { loRoSurroundMixLevel: __serializeFloat(input.LoRoSurroundMixLevel) })), (input.LtRtCenterMixLevel != null && { ltRtCenterMixLevel: __serializeFloat(input.LtRtCenterMixLevel) })), (input.LtRtSurroundMixLevel != null && { ltRtSurroundMixLevel: __serializeFloat(input.LtRtSurroundMixLevel) })), (input.MetadataControl != null && { metadataControl: input.MetadataControl })), (input.PassthroughControl != null && { passthroughControl: input.PassthroughControl })), (input.PhaseControl != null && { phaseControl: input.PhaseControl })), (input.SampleRate != null && { sampleRate: input.SampleRate })), (input.StereoDownmix != null && { stereoDownmix: input.StereoDownmix })), (input.SurroundExMode != null && { surroundExMode: input.SurroundExMode })), (input.SurroundMode != null && { surroundMode: input.SurroundMode }));
|
|
3827
3661
|
};
|
|
3828
3662
|
var serializeAws_restJson1EmbeddedDestinationSettings = function (input, context) {
|
|
3829
|
-
return __assign(__assign({}, (input.Destination608ChannelNumber
|
|
3830
|
-
|
|
3831
|
-
|
|
3663
|
+
return __assign(__assign({}, (input.Destination608ChannelNumber != null && {
|
|
3664
|
+
destination608ChannelNumber: input.Destination608ChannelNumber,
|
|
3665
|
+
})), (input.Destination708ServiceNumber != null && {
|
|
3666
|
+
destination708ServiceNumber: input.Destination708ServiceNumber,
|
|
3667
|
+
}));
|
|
3832
3668
|
};
|
|
3833
3669
|
var serializeAws_restJson1EmbeddedSourceSettings = function (input, context) {
|
|
3834
|
-
return __assign(__assign(__assign(__assign({}, (input.Convert608To708
|
|
3835
|
-
input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.Source608ChannelNumber !== undefined &&
|
|
3836
|
-
input.Source608ChannelNumber !== null && { source608ChannelNumber: input.Source608ChannelNumber })), (input.Source608TrackNumber !== undefined &&
|
|
3837
|
-
input.Source608TrackNumber !== null && { source608TrackNumber: input.Source608TrackNumber })), (input.TerminateCaptions !== undefined &&
|
|
3838
|
-
input.TerminateCaptions !== null && { terminateCaptions: input.TerminateCaptions }));
|
|
3670
|
+
return __assign(__assign(__assign(__assign({}, (input.Convert608To708 != null && { convert608To708: input.Convert608To708 })), (input.Source608ChannelNumber != null && { source608ChannelNumber: input.Source608ChannelNumber })), (input.Source608TrackNumber != null && { source608TrackNumber: input.Source608TrackNumber })), (input.TerminateCaptions != null && { terminateCaptions: input.TerminateCaptions }));
|
|
3839
3671
|
};
|
|
3840
3672
|
var serializeAws_restJson1EsamManifestConfirmConditionNotification = function (input, context) {
|
|
3841
|
-
return __assign({}, (input.MccXml
|
|
3673
|
+
return __assign({}, (input.MccXml != null && { mccXml: input.MccXml }));
|
|
3842
3674
|
};
|
|
3843
3675
|
var serializeAws_restJson1EsamSettings = function (input, context) {
|
|
3844
|
-
return __assign(__assign(__assign({}, (input.ManifestConfirmConditionNotification
|
|
3845
|
-
input.ManifestConfirmConditionNotification !== null && {
|
|
3676
|
+
return __assign(__assign(__assign({}, (input.ManifestConfirmConditionNotification != null && {
|
|
3846
3677
|
manifestConfirmConditionNotification: serializeAws_restJson1EsamManifestConfirmConditionNotification(input.ManifestConfirmConditionNotification, context),
|
|
3847
|
-
})), (input.ResponseSignalPreroll
|
|
3848
|
-
input.ResponseSignalPreroll !== null && { responseSignalPreroll: input.ResponseSignalPreroll })), (input.SignalProcessingNotification !== undefined &&
|
|
3849
|
-
input.SignalProcessingNotification !== null && {
|
|
3678
|
+
})), (input.ResponseSignalPreroll != null && { responseSignalPreroll: input.ResponseSignalPreroll })), (input.SignalProcessingNotification != null && {
|
|
3850
3679
|
signalProcessingNotification: serializeAws_restJson1EsamSignalProcessingNotification(input.SignalProcessingNotification, context),
|
|
3851
3680
|
}));
|
|
3852
3681
|
};
|
|
3853
3682
|
var serializeAws_restJson1EsamSignalProcessingNotification = function (input, context) {
|
|
3854
|
-
return __assign({}, (input.SccXml
|
|
3683
|
+
return __assign({}, (input.SccXml != null && { sccXml: input.SccXml }));
|
|
3855
3684
|
};
|
|
3856
3685
|
var serializeAws_restJson1ExtendedDataServices = function (input, context) {
|
|
3857
|
-
return __assign(__assign({}, (input.CopyProtectionAction
|
|
3858
|
-
input.CopyProtectionAction !== null && { copyProtectionAction: input.CopyProtectionAction })), (input.VchipAction !== undefined && input.VchipAction !== null && { vchipAction: input.VchipAction }));
|
|
3686
|
+
return __assign(__assign({}, (input.CopyProtectionAction != null && { copyProtectionAction: input.CopyProtectionAction })), (input.VchipAction != null && { vchipAction: input.VchipAction }));
|
|
3859
3687
|
};
|
|
3860
3688
|
var serializeAws_restJson1F4vSettings = function (input, context) {
|
|
3861
|
-
return __assign({}, (input.MoovPlacement
|
|
3689
|
+
return __assign({}, (input.MoovPlacement != null && { moovPlacement: input.MoovPlacement }));
|
|
3862
3690
|
};
|
|
3863
3691
|
var serializeAws_restJson1FileGroupSettings = function (input, context) {
|
|
3864
|
-
return __assign(__assign({}, (input.Destination
|
|
3865
|
-
input.DestinationSettings !== null && {
|
|
3692
|
+
return __assign(__assign({}, (input.Destination != null && { destination: input.Destination })), (input.DestinationSettings != null && {
|
|
3866
3693
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
3867
3694
|
}));
|
|
3868
3695
|
};
|
|
3869
3696
|
var serializeAws_restJson1FileSourceSettings = function (input, context) {
|
|
3870
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Convert608To708
|
|
3871
|
-
input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.Framerate !== undefined &&
|
|
3872
|
-
input.Framerate !== null && {
|
|
3697
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Convert608To708 != null && { convert608To708: input.Convert608To708 })), (input.Framerate != null && {
|
|
3873
3698
|
framerate: serializeAws_restJson1CaptionSourceFramerate(input.Framerate, context),
|
|
3874
|
-
})), (input.SourceFile
|
|
3875
|
-
input.TimeDeltaUnits !== null && { timeDeltaUnits: input.TimeDeltaUnits }));
|
|
3699
|
+
})), (input.SourceFile != null && { sourceFile: input.SourceFile })), (input.TimeDelta != null && { timeDelta: input.TimeDelta })), (input.TimeDeltaUnits != null && { timeDeltaUnits: input.TimeDeltaUnits }));
|
|
3876
3700
|
};
|
|
3877
3701
|
var serializeAws_restJson1ForceIncludeRenditionSize = function (input, context) {
|
|
3878
|
-
return __assign(__assign({}, (input.Height
|
|
3702
|
+
return __assign(__assign({}, (input.Height != null && { height: input.Height })), (input.Width != null && { width: input.Width }));
|
|
3879
3703
|
};
|
|
3880
3704
|
var serializeAws_restJson1FrameCaptureSettings = function (input, context) {
|
|
3881
|
-
return __assign(__assign(__assign(__assign({}, (input.FramerateDenominator
|
|
3882
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3883
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.MaxCaptures !== undefined && input.MaxCaptures !== null && { maxCaptures: input.MaxCaptures })), (input.Quality !== undefined && input.Quality !== null && { quality: input.Quality }));
|
|
3705
|
+
return __assign(__assign(__assign(__assign({}, (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.MaxCaptures != null && { maxCaptures: input.MaxCaptures })), (input.Quality != null && { quality: input.Quality }));
|
|
3884
3706
|
};
|
|
3885
3707
|
var serializeAws_restJson1H264QvbrSettings = function (input, context) {
|
|
3886
|
-
return __assign(__assign(__assign({}, (input.MaxAverageBitrate
|
|
3887
|
-
input.MaxAverageBitrate !== null && { maxAverageBitrate: input.MaxAverageBitrate })), (input.QvbrQualityLevel !== undefined &&
|
|
3888
|
-
input.QvbrQualityLevel !== null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune !== undefined &&
|
|
3889
|
-
input.QvbrQualityLevelFineTune !== null && {
|
|
3708
|
+
return __assign(__assign(__assign({}, (input.MaxAverageBitrate != null && { maxAverageBitrate: input.MaxAverageBitrate })), (input.QvbrQualityLevel != null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune != null && {
|
|
3890
3709
|
qvbrQualityLevelFineTune: __serializeFloat(input.QvbrQualityLevelFineTune),
|
|
3891
3710
|
}));
|
|
3892
3711
|
};
|
|
3893
3712
|
var serializeAws_restJson1H264Settings = function (input, context) {
|
|
3894
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
input.FlickerAdaptiveQuantization !== null && { flickerAdaptiveQuantization: input.FlickerAdaptiveQuantization })), (input.FramerateControl !== undefined &&
|
|
3898
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
3899
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
3713
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization != null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.CodecLevel != null && { codecLevel: input.CodecLevel })), (input.CodecProfile != null && { codecProfile: input.CodecProfile })), (input.DynamicSubGop != null && { dynamicSubGop: input.DynamicSubGop })), (input.EntropyEncoding != null && { entropyEncoding: input.EntropyEncoding })), (input.FieldEncoding != null && { fieldEncoding: input.FieldEncoding })), (input.FlickerAdaptiveQuantization != null && {
|
|
3714
|
+
flickerAdaptiveQuantization: input.FlickerAdaptiveQuantization,
|
|
3715
|
+
})), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
3900
3716
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
3901
|
-
})), (input.FramerateDenominator
|
|
3902
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3903
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopBReference !== undefined && input.GopBReference !== null && { gopBReference: input.GopBReference })), (input.GopClosedCadence !== undefined &&
|
|
3904
|
-
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence })), (input.GopSize !== undefined && input.GopSize !== null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits })), (input.HrdBufferInitialFillPercentage !== undefined &&
|
|
3905
|
-
input.HrdBufferInitialFillPercentage !== null && {
|
|
3717
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.GopBReference != null && { gopBReference: input.GopBReference })), (input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence })), (input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits })), (input.HrdBufferInitialFillPercentage != null && {
|
|
3906
3718
|
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
|
|
3907
|
-
})), (input.HrdBufferSize
|
|
3908
|
-
input.NumberBFramesBetweenReferenceFrames !== null && {
|
|
3719
|
+
})), (input.HrdBufferSize != null && { hrdBufferSize: input.HrdBufferSize })), (input.InterlaceMode != null && { interlaceMode: input.InterlaceMode })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MinIInterval != null && { minIInterval: input.MinIInterval })), (input.NumberBFramesBetweenReferenceFrames != null && {
|
|
3909
3720
|
numberBFramesBetweenReferenceFrames: input.NumberBFramesBetweenReferenceFrames,
|
|
3910
|
-
})), (input.NumberReferenceFrames
|
|
3911
|
-
input.NumberReferenceFrames !== null && { numberReferenceFrames: input.NumberReferenceFrames })), (input.ParControl !== undefined && input.ParControl !== null && { parControl: input.ParControl })), (input.ParDenominator !== undefined &&
|
|
3912
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel !== undefined &&
|
|
3913
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.QvbrSettings !== undefined &&
|
|
3914
|
-
input.QvbrSettings !== null && {
|
|
3721
|
+
})), (input.NumberReferenceFrames != null && { numberReferenceFrames: input.NumberReferenceFrames })), (input.ParControl != null && { parControl: input.ParControl })), (input.ParDenominator != null && { parDenominator: input.ParDenominator })), (input.ParNumerator != null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel })), (input.QvbrSettings != null && {
|
|
3915
3722
|
qvbrSettings: serializeAws_restJson1H264QvbrSettings(input.QvbrSettings, context),
|
|
3916
|
-
})), (input.RateControlMode
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
input.SceneChangeDetect !== null && { sceneChangeDetect: input.SceneChangeDetect })), (input.Slices !== undefined && input.Slices !== null && { slices: input.Slices })), (input.SlowPal !== undefined && input.SlowPal !== null && { slowPal: input.SlowPal })), (input.Softness !== undefined && input.Softness !== null && { softness: input.Softness })), (input.SpatialAdaptiveQuantization !== undefined &&
|
|
3920
|
-
input.SpatialAdaptiveQuantization !== null && { spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization })), (input.Syntax !== undefined && input.Syntax !== null && { syntax: input.Syntax })), (input.Telecine !== undefined && input.Telecine !== null && { telecine: input.Telecine })), (input.TemporalAdaptiveQuantization !== undefined &&
|
|
3921
|
-
input.TemporalAdaptiveQuantization !== null && {
|
|
3723
|
+
})), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.RepeatPps != null && { repeatPps: input.RepeatPps })), (input.ScanTypeConversionMode != null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SceneChangeDetect != null && { sceneChangeDetect: input.SceneChangeDetect })), (input.Slices != null && { slices: input.Slices })), (input.SlowPal != null && { slowPal: input.SlowPal })), (input.Softness != null && { softness: input.Softness })), (input.SpatialAdaptiveQuantization != null && {
|
|
3724
|
+
spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization,
|
|
3725
|
+
})), (input.Syntax != null && { syntax: input.Syntax })), (input.Telecine != null && { telecine: input.Telecine })), (input.TemporalAdaptiveQuantization != null && {
|
|
3922
3726
|
temporalAdaptiveQuantization: input.TemporalAdaptiveQuantization,
|
|
3923
|
-
})), (input.UnregisteredSeiTimecode
|
|
3924
|
-
input.UnregisteredSeiTimecode !== null && { unregisteredSeiTimecode: input.UnregisteredSeiTimecode }));
|
|
3727
|
+
})), (input.UnregisteredSeiTimecode != null && { unregisteredSeiTimecode: input.UnregisteredSeiTimecode }));
|
|
3925
3728
|
};
|
|
3926
3729
|
var serializeAws_restJson1H265QvbrSettings = function (input, context) {
|
|
3927
|
-
return __assign(__assign(__assign({}, (input.MaxAverageBitrate
|
|
3928
|
-
input.MaxAverageBitrate !== null && { maxAverageBitrate: input.MaxAverageBitrate })), (input.QvbrQualityLevel !== undefined &&
|
|
3929
|
-
input.QvbrQualityLevel !== null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune !== undefined &&
|
|
3930
|
-
input.QvbrQualityLevelFineTune !== null && {
|
|
3730
|
+
return __assign(__assign(__assign({}, (input.MaxAverageBitrate != null && { maxAverageBitrate: input.MaxAverageBitrate })), (input.QvbrQualityLevel != null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune != null && {
|
|
3931
3731
|
qvbrQualityLevelFineTune: __serializeFloat(input.QvbrQualityLevelFineTune),
|
|
3932
3732
|
}));
|
|
3933
3733
|
};
|
|
3934
3734
|
var serializeAws_restJson1H265Settings = function (input, context) {
|
|
3935
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization
|
|
3936
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.AlternateTransferFunctionSei !== undefined &&
|
|
3937
|
-
input.AlternateTransferFunctionSei !== null && {
|
|
3735
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization != null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.AlternateTransferFunctionSei != null && {
|
|
3938
3736
|
alternateTransferFunctionSei: input.AlternateTransferFunctionSei,
|
|
3939
|
-
})), (input.Bitrate
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
3737
|
+
})), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.CodecLevel != null && { codecLevel: input.CodecLevel })), (input.CodecProfile != null && { codecProfile: input.CodecProfile })), (input.DynamicSubGop != null && { dynamicSubGop: input.DynamicSubGop })), (input.FlickerAdaptiveQuantization != null && {
|
|
3738
|
+
flickerAdaptiveQuantization: input.FlickerAdaptiveQuantization,
|
|
3739
|
+
})), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
3943
3740
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
3944
|
-
})), (input.FramerateDenominator
|
|
3945
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3946
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopBReference !== undefined && input.GopBReference !== null && { gopBReference: input.GopBReference })), (input.GopClosedCadence !== undefined &&
|
|
3947
|
-
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence })), (input.GopSize !== undefined && input.GopSize !== null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits })), (input.HrdBufferInitialFillPercentage !== undefined &&
|
|
3948
|
-
input.HrdBufferInitialFillPercentage !== null && {
|
|
3741
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.GopBReference != null && { gopBReference: input.GopBReference })), (input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence })), (input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits })), (input.HrdBufferInitialFillPercentage != null && {
|
|
3949
3742
|
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
|
|
3950
|
-
})), (input.HrdBufferSize
|
|
3951
|
-
input.NumberBFramesBetweenReferenceFrames !== null && {
|
|
3743
|
+
})), (input.HrdBufferSize != null && { hrdBufferSize: input.HrdBufferSize })), (input.InterlaceMode != null && { interlaceMode: input.InterlaceMode })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MinIInterval != null && { minIInterval: input.MinIInterval })), (input.NumberBFramesBetweenReferenceFrames != null && {
|
|
3952
3744
|
numberBFramesBetweenReferenceFrames: input.NumberBFramesBetweenReferenceFrames,
|
|
3953
|
-
})), (input.NumberReferenceFrames
|
|
3954
|
-
input.NumberReferenceFrames !== null && { numberReferenceFrames: input.NumberReferenceFrames })), (input.ParControl !== undefined && input.ParControl !== null && { parControl: input.ParControl })), (input.ParDenominator !== undefined &&
|
|
3955
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel !== undefined &&
|
|
3956
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.QvbrSettings !== undefined &&
|
|
3957
|
-
input.QvbrSettings !== null && {
|
|
3745
|
+
})), (input.NumberReferenceFrames != null && { numberReferenceFrames: input.NumberReferenceFrames })), (input.ParControl != null && { parControl: input.ParControl })), (input.ParDenominator != null && { parDenominator: input.ParDenominator })), (input.ParNumerator != null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel })), (input.QvbrSettings != null && {
|
|
3958
3746
|
qvbrSettings: serializeAws_restJson1H265QvbrSettings(input.QvbrSettings, context),
|
|
3959
|
-
})), (input.RateControlMode
|
|
3960
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.SampleAdaptiveOffsetFilterMode !== undefined &&
|
|
3961
|
-
input.SampleAdaptiveOffsetFilterMode !== null && {
|
|
3747
|
+
})), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.SampleAdaptiveOffsetFilterMode != null && {
|
|
3962
3748
|
sampleAdaptiveOffsetFilterMode: input.SampleAdaptiveOffsetFilterMode,
|
|
3963
|
-
})), (input.ScanTypeConversionMode
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
input.SpatialAdaptiveQuantization !== null && { spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization })), (input.Telecine !== undefined && input.Telecine !== null && { telecine: input.Telecine })), (input.TemporalAdaptiveQuantization !== undefined &&
|
|
3967
|
-
input.TemporalAdaptiveQuantization !== null && {
|
|
3749
|
+
})), (input.ScanTypeConversionMode != null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SceneChangeDetect != null && { sceneChangeDetect: input.SceneChangeDetect })), (input.Slices != null && { slices: input.Slices })), (input.SlowPal != null && { slowPal: input.SlowPal })), (input.SpatialAdaptiveQuantization != null && {
|
|
3750
|
+
spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization,
|
|
3751
|
+
})), (input.Telecine != null && { telecine: input.Telecine })), (input.TemporalAdaptiveQuantization != null && {
|
|
3968
3752
|
temporalAdaptiveQuantization: input.TemporalAdaptiveQuantization,
|
|
3969
|
-
})), (input.TemporalIds
|
|
3970
|
-
input.UnregisteredSeiTimecode !== null && { unregisteredSeiTimecode: input.UnregisteredSeiTimecode })), (input.WriteMp4PackagingType !== undefined &&
|
|
3971
|
-
input.WriteMp4PackagingType !== null && { writeMp4PackagingType: input.WriteMp4PackagingType }));
|
|
3753
|
+
})), (input.TemporalIds != null && { temporalIds: input.TemporalIds })), (input.Tiles != null && { tiles: input.Tiles })), (input.UnregisteredSeiTimecode != null && { unregisteredSeiTimecode: input.UnregisteredSeiTimecode })), (input.WriteMp4PackagingType != null && { writeMp4PackagingType: input.WriteMp4PackagingType }));
|
|
3972
3754
|
};
|
|
3973
3755
|
var serializeAws_restJson1Hdr10Metadata = function (input, context) {
|
|
3974
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BluePrimaryX
|
|
3975
|
-
input.MaxContentLightLevel !== null && { maxContentLightLevel: input.MaxContentLightLevel })), (input.MaxFrameAverageLightLevel !== undefined &&
|
|
3976
|
-
input.MaxFrameAverageLightLevel !== null && { maxFrameAverageLightLevel: input.MaxFrameAverageLightLevel })), (input.MaxLuminance !== undefined && input.MaxLuminance !== null && { maxLuminance: input.MaxLuminance })), (input.MinLuminance !== undefined && input.MinLuminance !== null && { minLuminance: input.MinLuminance })), (input.RedPrimaryX !== undefined && input.RedPrimaryX !== null && { redPrimaryX: input.RedPrimaryX })), (input.RedPrimaryY !== undefined && input.RedPrimaryY !== null && { redPrimaryY: input.RedPrimaryY })), (input.WhitePointX !== undefined && input.WhitePointX !== null && { whitePointX: input.WhitePointX })), (input.WhitePointY !== undefined && input.WhitePointY !== null && { whitePointY: input.WhitePointY }));
|
|
3756
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BluePrimaryX != null && { bluePrimaryX: input.BluePrimaryX })), (input.BluePrimaryY != null && { bluePrimaryY: input.BluePrimaryY })), (input.GreenPrimaryX != null && { greenPrimaryX: input.GreenPrimaryX })), (input.GreenPrimaryY != null && { greenPrimaryY: input.GreenPrimaryY })), (input.MaxContentLightLevel != null && { maxContentLightLevel: input.MaxContentLightLevel })), (input.MaxFrameAverageLightLevel != null && { maxFrameAverageLightLevel: input.MaxFrameAverageLightLevel })), (input.MaxLuminance != null && { maxLuminance: input.MaxLuminance })), (input.MinLuminance != null && { minLuminance: input.MinLuminance })), (input.RedPrimaryX != null && { redPrimaryX: input.RedPrimaryX })), (input.RedPrimaryY != null && { redPrimaryY: input.RedPrimaryY })), (input.WhitePointX != null && { whitePointX: input.WhitePointX })), (input.WhitePointY != null && { whitePointY: input.WhitePointY }));
|
|
3977
3757
|
};
|
|
3978
3758
|
var serializeAws_restJson1Hdr10Plus = function (input, context) {
|
|
3979
|
-
return __assign(__assign({}, (input.MasteringMonitorNits
|
|
3980
|
-
input.MasteringMonitorNits !== null && { masteringMonitorNits: input.MasteringMonitorNits })), (input.TargetMonitorNits !== undefined &&
|
|
3981
|
-
input.TargetMonitorNits !== null && { targetMonitorNits: input.TargetMonitorNits }));
|
|
3759
|
+
return __assign(__assign({}, (input.MasteringMonitorNits != null && { masteringMonitorNits: input.MasteringMonitorNits })), (input.TargetMonitorNits != null && { targetMonitorNits: input.TargetMonitorNits }));
|
|
3982
3760
|
};
|
|
3983
3761
|
var serializeAws_restJson1HlsAdditionalManifest = function (input, context) {
|
|
3984
|
-
return __assign(__assign({}, (input.ManifestNameModifier
|
|
3985
|
-
input.ManifestNameModifier !== null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs !== undefined &&
|
|
3986
|
-
input.SelectedOutputs !== null && {
|
|
3762
|
+
return __assign(__assign({}, (input.ManifestNameModifier != null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs != null && {
|
|
3987
3763
|
selectedOutputs: serializeAws_restJson1__listOf__stringMin1(input.SelectedOutputs, context),
|
|
3988
3764
|
}));
|
|
3989
3765
|
};
|
|
3990
3766
|
var serializeAws_restJson1HlsCaptionLanguageMapping = function (input, context) {
|
|
3991
|
-
return __assign(__assign(__assign(__assign({}, (input.CaptionChannel
|
|
3992
|
-
input.CaptionChannel !== null && { captionChannel: input.CaptionChannel })), (input.CustomLanguageCode !== undefined &&
|
|
3993
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { languageCode: input.LanguageCode })), (input.LanguageDescription !== undefined &&
|
|
3994
|
-
input.LanguageDescription !== null && { languageDescription: input.LanguageDescription }));
|
|
3767
|
+
return __assign(__assign(__assign(__assign({}, (input.CaptionChannel != null && { captionChannel: input.CaptionChannel })), (input.CustomLanguageCode != null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageDescription != null && { languageDescription: input.LanguageDescription }));
|
|
3995
3768
|
};
|
|
3996
3769
|
var serializeAws_restJson1HlsEncryptionSettings = function (input, context) {
|
|
3997
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector
|
|
3998
|
-
input.ConstantInitializationVector !== null && {
|
|
3770
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector != null && {
|
|
3999
3771
|
constantInitializationVector: input.ConstantInitializationVector,
|
|
4000
|
-
})), (input.EncryptionMethod
|
|
4001
|
-
input.EncryptionMethod !== null && { encryptionMethod: input.EncryptionMethod })), (input.InitializationVectorInManifest !== undefined &&
|
|
4002
|
-
input.InitializationVectorInManifest !== null && {
|
|
3772
|
+
})), (input.EncryptionMethod != null && { encryptionMethod: input.EncryptionMethod })), (input.InitializationVectorInManifest != null && {
|
|
4003
3773
|
initializationVectorInManifest: input.InitializationVectorInManifest,
|
|
4004
|
-
})), (input.OfflineEncrypted
|
|
4005
|
-
input.OfflineEncrypted !== null && { offlineEncrypted: input.OfflineEncrypted })), (input.SpekeKeyProvider !== undefined &&
|
|
4006
|
-
input.SpekeKeyProvider !== null && {
|
|
3774
|
+
})), (input.OfflineEncrypted != null && { offlineEncrypted: input.OfflineEncrypted })), (input.SpekeKeyProvider != null && {
|
|
4007
3775
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProvider(input.SpekeKeyProvider, context),
|
|
4008
|
-
})), (input.StaticKeyProvider
|
|
4009
|
-
input.StaticKeyProvider !== null && {
|
|
3776
|
+
})), (input.StaticKeyProvider != null && {
|
|
4010
3777
|
staticKeyProvider: serializeAws_restJson1StaticKeyProvider(input.StaticKeyProvider, context),
|
|
4011
|
-
})), (input.Type
|
|
3778
|
+
})), (input.Type != null && { type: input.Type }));
|
|
4012
3779
|
};
|
|
4013
3780
|
var serializeAws_restJson1HlsGroupSettings = function (input, context) {
|
|
4014
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdMarkers
|
|
4015
|
-
input.AdMarkers !== null && { adMarkers: serializeAws_restJson1__listOfHlsAdMarkers(input.AdMarkers, context) })), (input.AdditionalManifests !== undefined &&
|
|
4016
|
-
input.AdditionalManifests !== null && {
|
|
3781
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdMarkers != null && { adMarkers: serializeAws_restJson1__listOfHlsAdMarkers(input.AdMarkers, context) })), (input.AdditionalManifests != null && {
|
|
4017
3782
|
additionalManifests: serializeAws_restJson1__listOfHlsAdditionalManifest(input.AdditionalManifests, context),
|
|
4018
|
-
})), (input.AudioOnlyHeader
|
|
4019
|
-
input.AudioOnlyHeader !== null && { audioOnlyHeader: input.AudioOnlyHeader })), (input.BaseUrl !== undefined && input.BaseUrl !== null && { baseUrl: input.BaseUrl })), (input.CaptionLanguageMappings !== undefined &&
|
|
4020
|
-
input.CaptionLanguageMappings !== null && {
|
|
3783
|
+
})), (input.AudioOnlyHeader != null && { audioOnlyHeader: input.AudioOnlyHeader })), (input.BaseUrl != null && { baseUrl: input.BaseUrl })), (input.CaptionLanguageMappings != null && {
|
|
4021
3784
|
captionLanguageMappings: serializeAws_restJson1__listOfHlsCaptionLanguageMapping(input.CaptionLanguageMappings, context),
|
|
4022
|
-
})), (input.CaptionLanguageSetting
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
input.CodecSpecification !== null && { codecSpecification: input.CodecSpecification })), (input.Destination !== undefined && input.Destination !== null && { destination: input.Destination })), (input.DestinationSettings !== undefined &&
|
|
4026
|
-
input.DestinationSettings !== null && {
|
|
3785
|
+
})), (input.CaptionLanguageSetting != null && { captionLanguageSetting: input.CaptionLanguageSetting })), (input.CaptionSegmentLengthControl != null && {
|
|
3786
|
+
captionSegmentLengthControl: input.CaptionSegmentLengthControl,
|
|
3787
|
+
})), (input.ClientCache != null && { clientCache: input.ClientCache })), (input.CodecSpecification != null && { codecSpecification: input.CodecSpecification })), (input.Destination != null && { destination: input.Destination })), (input.DestinationSettings != null && {
|
|
4027
3788
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
4028
|
-
})), (input.DirectoryStructure
|
|
4029
|
-
input.DirectoryStructure !== null && { directoryStructure: input.DirectoryStructure })), (input.Encryption !== undefined &&
|
|
4030
|
-
input.Encryption !== null && {
|
|
3789
|
+
})), (input.DirectoryStructure != null && { directoryStructure: input.DirectoryStructure })), (input.Encryption != null && {
|
|
4031
3790
|
encryption: serializeAws_restJson1HlsEncryptionSettings(input.Encryption, context),
|
|
4032
|
-
})), (input.ImageBasedTrickPlay
|
|
4033
|
-
input.ImageBasedTrickPlay !== null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings !== undefined &&
|
|
4034
|
-
input.ImageBasedTrickPlaySettings !== null && {
|
|
3791
|
+
})), (input.ImageBasedTrickPlay != null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings != null && {
|
|
4035
3792
|
imageBasedTrickPlaySettings: serializeAws_restJson1HlsImageBasedTrickPlaySettings(input.ImageBasedTrickPlaySettings, context),
|
|
4036
|
-
})), (input.ManifestCompression
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
input.MinFinalSegmentLength !== null && { minFinalSegmentLength: __serializeFloat(input.MinFinalSegmentLength) })), (input.MinSegmentLength !== undefined &&
|
|
4040
|
-
input.MinSegmentLength !== null && { minSegmentLength: input.MinSegmentLength })), (input.OutputSelection !== undefined &&
|
|
4041
|
-
input.OutputSelection !== null && { outputSelection: input.OutputSelection })), (input.ProgramDateTime !== undefined &&
|
|
4042
|
-
input.ProgramDateTime !== null && { programDateTime: input.ProgramDateTime })), (input.ProgramDateTimePeriod !== undefined &&
|
|
4043
|
-
input.ProgramDateTimePeriod !== null && { programDateTimePeriod: input.ProgramDateTimePeriod })), (input.SegmentControl !== undefined &&
|
|
4044
|
-
input.SegmentControl !== null && { segmentControl: input.SegmentControl })), (input.SegmentLength !== undefined && input.SegmentLength !== null && { segmentLength: input.SegmentLength })), (input.SegmentLengthControl !== undefined &&
|
|
4045
|
-
input.SegmentLengthControl !== null && { segmentLengthControl: input.SegmentLengthControl })), (input.SegmentsPerSubdirectory !== undefined &&
|
|
4046
|
-
input.SegmentsPerSubdirectory !== null && { segmentsPerSubdirectory: input.SegmentsPerSubdirectory })), (input.StreamInfResolution !== undefined &&
|
|
4047
|
-
input.StreamInfResolution !== null && { streamInfResolution: input.StreamInfResolution })), (input.TargetDurationCompatibilityMode !== undefined &&
|
|
4048
|
-
input.TargetDurationCompatibilityMode !== null && {
|
|
3793
|
+
})), (input.ManifestCompression != null && { manifestCompression: input.ManifestCompression })), (input.ManifestDurationFormat != null && { manifestDurationFormat: input.ManifestDurationFormat })), (input.MinFinalSegmentLength != null && {
|
|
3794
|
+
minFinalSegmentLength: __serializeFloat(input.MinFinalSegmentLength),
|
|
3795
|
+
})), (input.MinSegmentLength != null && { minSegmentLength: input.MinSegmentLength })), (input.OutputSelection != null && { outputSelection: input.OutputSelection })), (input.ProgramDateTime != null && { programDateTime: input.ProgramDateTime })), (input.ProgramDateTimePeriod != null && { programDateTimePeriod: input.ProgramDateTimePeriod })), (input.SegmentControl != null && { segmentControl: input.SegmentControl })), (input.SegmentLength != null && { segmentLength: input.SegmentLength })), (input.SegmentLengthControl != null && { segmentLengthControl: input.SegmentLengthControl })), (input.SegmentsPerSubdirectory != null && { segmentsPerSubdirectory: input.SegmentsPerSubdirectory })), (input.StreamInfResolution != null && { streamInfResolution: input.StreamInfResolution })), (input.TargetDurationCompatibilityMode != null && {
|
|
4049
3796
|
targetDurationCompatibilityMode: input.TargetDurationCompatibilityMode,
|
|
4050
|
-
})), (input.TimedMetadataId3Frame
|
|
4051
|
-
input.TimedMetadataId3Frame !== null && { timedMetadataId3Frame: input.TimedMetadataId3Frame })), (input.TimedMetadataId3Period !== undefined &&
|
|
4052
|
-
input.TimedMetadataId3Period !== null && { timedMetadataId3Period: input.TimedMetadataId3Period })), (input.TimestampDeltaMilliseconds !== undefined &&
|
|
4053
|
-
input.TimestampDeltaMilliseconds !== null && { timestampDeltaMilliseconds: input.TimestampDeltaMilliseconds }));
|
|
3797
|
+
})), (input.TimedMetadataId3Frame != null && { timedMetadataId3Frame: input.TimedMetadataId3Frame })), (input.TimedMetadataId3Period != null && { timedMetadataId3Period: input.TimedMetadataId3Period })), (input.TimestampDeltaMilliseconds != null && { timestampDeltaMilliseconds: input.TimestampDeltaMilliseconds }));
|
|
4054
3798
|
};
|
|
4055
3799
|
var serializeAws_restJson1HlsImageBasedTrickPlaySettings = function (input, context) {
|
|
4056
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence
|
|
4057
|
-
input.IntervalCadence !== null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight !== undefined &&
|
|
4058
|
-
input.ThumbnailHeight !== null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval !== undefined &&
|
|
4059
|
-
input.ThumbnailInterval !== null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth !== undefined &&
|
|
4060
|
-
input.ThumbnailWidth !== null && { thumbnailWidth: input.ThumbnailWidth })), (input.TileHeight !== undefined && input.TileHeight !== null && { tileHeight: input.TileHeight })), (input.TileWidth !== undefined && input.TileWidth !== null && { tileWidth: input.TileWidth }));
|
|
3800
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence != null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight != null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval != null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth != null && { thumbnailWidth: input.ThumbnailWidth })), (input.TileHeight != null && { tileHeight: input.TileHeight })), (input.TileWidth != null && { tileWidth: input.TileWidth }));
|
|
4061
3801
|
};
|
|
4062
3802
|
var serializeAws_restJson1HlsRenditionGroupSettings = function (input, context) {
|
|
4063
|
-
return __assign(__assign(__assign({}, (input.RenditionGroupId
|
|
4064
|
-
input.RenditionGroupId !== null && { renditionGroupId: input.RenditionGroupId })), (input.RenditionLanguageCode !== undefined &&
|
|
4065
|
-
input.RenditionLanguageCode !== null && { renditionLanguageCode: input.RenditionLanguageCode })), (input.RenditionName !== undefined && input.RenditionName !== null && { renditionName: input.RenditionName }));
|
|
3803
|
+
return __assign(__assign(__assign({}, (input.RenditionGroupId != null && { renditionGroupId: input.RenditionGroupId })), (input.RenditionLanguageCode != null && { renditionLanguageCode: input.RenditionLanguageCode })), (input.RenditionName != null && { renditionName: input.RenditionName }));
|
|
4066
3804
|
};
|
|
4067
3805
|
var serializeAws_restJson1HlsSettings = function (input, context) {
|
|
4068
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioGroupId
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
input.AudioTrackType !== null && { audioTrackType: input.AudioTrackType })), (input.DescriptiveVideoServiceFlag !== undefined &&
|
|
4072
|
-
input.DescriptiveVideoServiceFlag !== null && { descriptiveVideoServiceFlag: input.DescriptiveVideoServiceFlag })), (input.IFrameOnlyManifest !== undefined &&
|
|
4073
|
-
input.IFrameOnlyManifest !== null && { iFrameOnlyManifest: input.IFrameOnlyManifest })), (input.SegmentModifier !== undefined &&
|
|
4074
|
-
input.SegmentModifier !== null && { segmentModifier: input.SegmentModifier }));
|
|
3806
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioGroupId != null && { audioGroupId: input.AudioGroupId })), (input.AudioOnlyContainer != null && { audioOnlyContainer: input.AudioOnlyContainer })), (input.AudioRenditionSets != null && { audioRenditionSets: input.AudioRenditionSets })), (input.AudioTrackType != null && { audioTrackType: input.AudioTrackType })), (input.DescriptiveVideoServiceFlag != null && {
|
|
3807
|
+
descriptiveVideoServiceFlag: input.DescriptiveVideoServiceFlag,
|
|
3808
|
+
})), (input.IFrameOnlyManifest != null && { iFrameOnlyManifest: input.IFrameOnlyManifest })), (input.SegmentModifier != null && { segmentModifier: input.SegmentModifier }));
|
|
4075
3809
|
};
|
|
4076
3810
|
var serializeAws_restJson1HopDestination = function (input, context) {
|
|
4077
|
-
return __assign(__assign(__assign({}, (input.Priority
|
|
3811
|
+
return __assign(__assign(__assign({}, (input.Priority != null && { priority: input.Priority })), (input.Queue != null && { queue: input.Queue })), (input.WaitMinutes != null && { waitMinutes: input.WaitMinutes }));
|
|
4078
3812
|
};
|
|
4079
3813
|
var serializeAws_restJson1Id3Insertion = function (input, context) {
|
|
4080
|
-
return __assign(__assign({}, (input.Id3
|
|
3814
|
+
return __assign(__assign({}, (input.Id3 != null && { id3: input.Id3 })), (input.Timecode != null && { timecode: input.Timecode }));
|
|
4081
3815
|
};
|
|
4082
3816
|
var serializeAws_restJson1ImageInserter = function (input, context) {
|
|
4083
|
-
return __assign({}, (input.InsertableImages
|
|
4084
|
-
input.InsertableImages !== null && {
|
|
3817
|
+
return __assign({}, (input.InsertableImages != null && {
|
|
4085
3818
|
insertableImages: serializeAws_restJson1__listOfInsertableImage(input.InsertableImages, context),
|
|
4086
3819
|
}));
|
|
4087
3820
|
};
|
|
4088
3821
|
var serializeAws_restJson1ImscDestinationSettings = function (input, context) {
|
|
4089
|
-
return __assign(__assign({}, (input.Accessibility
|
|
4090
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }));
|
|
3822
|
+
return __assign(__assign({}, (input.Accessibility != null && { accessibility: input.Accessibility })), (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough }));
|
|
4091
3823
|
};
|
|
4092
3824
|
var serializeAws_restJson1Input = function (input, context) {
|
|
4093
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioSelectorGroups
|
|
4094
|
-
input.AudioSelectorGroups !== null && {
|
|
3825
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioSelectorGroups != null && {
|
|
4095
3826
|
audioSelectorGroups: serializeAws_restJson1__mapOfAudioSelectorGroup(input.AudioSelectorGroups, context),
|
|
4096
|
-
})), (input.AudioSelectors
|
|
4097
|
-
input.AudioSelectors !== null && {
|
|
3827
|
+
})), (input.AudioSelectors != null && {
|
|
4098
3828
|
audioSelectors: serializeAws_restJson1__mapOfAudioSelector(input.AudioSelectors, context),
|
|
4099
|
-
})), (input.CaptionSelectors
|
|
4100
|
-
input.CaptionSelectors !== null && {
|
|
3829
|
+
})), (input.CaptionSelectors != null && {
|
|
4101
3830
|
captionSelectors: serializeAws_restJson1__mapOfCaptionSelector(input.CaptionSelectors, context),
|
|
4102
|
-
})), (input.Crop
|
|
4103
|
-
input.Crop !== null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DeblockFilter !== undefined && input.DeblockFilter !== null && { deblockFilter: input.DeblockFilter })), (input.DecryptionSettings !== undefined &&
|
|
4104
|
-
input.DecryptionSettings !== null && {
|
|
3831
|
+
})), (input.Crop != null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DeblockFilter != null && { deblockFilter: input.DeblockFilter })), (input.DecryptionSettings != null && {
|
|
4105
3832
|
decryptionSettings: serializeAws_restJson1InputDecryptionSettings(input.DecryptionSettings, context),
|
|
4106
|
-
})), (input.DenoiseFilter
|
|
4107
|
-
input.DolbyVisionMetadataXml !== null && { dolbyVisionMetadataXml: input.DolbyVisionMetadataXml })), (input.FileInput !== undefined && input.FileInput !== null && { fileInput: input.FileInput })), (input.FilterEnable !== undefined && input.FilterEnable !== null && { filterEnable: input.FilterEnable })), (input.FilterStrength !== undefined &&
|
|
4108
|
-
input.FilterStrength !== null && { filterStrength: input.FilterStrength })), (input.ImageInserter !== undefined &&
|
|
4109
|
-
input.ImageInserter !== null && {
|
|
3833
|
+
})), (input.DenoiseFilter != null && { denoiseFilter: input.DenoiseFilter })), (input.DolbyVisionMetadataXml != null && { dolbyVisionMetadataXml: input.DolbyVisionMetadataXml })), (input.FileInput != null && { fileInput: input.FileInput })), (input.FilterEnable != null && { filterEnable: input.FilterEnable })), (input.FilterStrength != null && { filterStrength: input.FilterStrength })), (input.ImageInserter != null && {
|
|
4110
3834
|
imageInserter: serializeAws_restJson1ImageInserter(input.ImageInserter, context),
|
|
4111
|
-
})), (input.InputClippings
|
|
4112
|
-
input.InputClippings !== null && {
|
|
3835
|
+
})), (input.InputClippings != null && {
|
|
4113
3836
|
inputClippings: serializeAws_restJson1__listOfInputClipping(input.InputClippings, context),
|
|
4114
|
-
})), (input.InputScanType
|
|
4115
|
-
input.Position !== null && { position: serializeAws_restJson1Rectangle(input.Position, context) })), (input.ProgramNumber !== undefined && input.ProgramNumber !== null && { programNumber: input.ProgramNumber })), (input.PsiControl !== undefined && input.PsiControl !== null && { psiControl: input.PsiControl })), (input.SupplementalImps !== undefined &&
|
|
4116
|
-
input.SupplementalImps !== null && {
|
|
3837
|
+
})), (input.InputScanType != null && { inputScanType: input.InputScanType })), (input.Position != null && { position: serializeAws_restJson1Rectangle(input.Position, context) })), (input.ProgramNumber != null && { programNumber: input.ProgramNumber })), (input.PsiControl != null && { psiControl: input.PsiControl })), (input.SupplementalImps != null && {
|
|
4117
3838
|
supplementalImps: serializeAws_restJson1__listOf__stringPatternS3ASSETMAPXml(input.SupplementalImps, context),
|
|
4118
|
-
})), (input.TimecodeSource
|
|
4119
|
-
input.TimecodeSource !== null && { timecodeSource: input.TimecodeSource })), (input.TimecodeStart !== undefined && input.TimecodeStart !== null && { timecodeStart: input.TimecodeStart })), (input.VideoGenerator !== undefined &&
|
|
4120
|
-
input.VideoGenerator !== null && {
|
|
3839
|
+
})), (input.TimecodeSource != null && { timecodeSource: input.TimecodeSource })), (input.TimecodeStart != null && { timecodeStart: input.TimecodeStart })), (input.VideoGenerator != null && {
|
|
4121
3840
|
videoGenerator: serializeAws_restJson1InputVideoGenerator(input.VideoGenerator, context),
|
|
4122
|
-
})), (input.VideoSelector
|
|
4123
|
-
input.VideoSelector !== null && {
|
|
3841
|
+
})), (input.VideoSelector != null && {
|
|
4124
3842
|
videoSelector: serializeAws_restJson1VideoSelector(input.VideoSelector, context),
|
|
4125
3843
|
}));
|
|
4126
3844
|
};
|
|
4127
3845
|
var serializeAws_restJson1InputClipping = function (input, context) {
|
|
4128
|
-
return __assign(__assign({}, (input.EndTimecode
|
|
3846
|
+
return __assign(__assign({}, (input.EndTimecode != null && { endTimecode: input.EndTimecode })), (input.StartTimecode != null && { startTimecode: input.StartTimecode }));
|
|
4129
3847
|
};
|
|
4130
3848
|
var serializeAws_restJson1InputDecryptionSettings = function (input, context) {
|
|
4131
|
-
return __assign(__assign(__assign(__assign({}, (input.DecryptionMode
|
|
4132
|
-
input.DecryptionMode !== null && { decryptionMode: input.DecryptionMode })), (input.EncryptedDecryptionKey !== undefined &&
|
|
4133
|
-
input.EncryptedDecryptionKey !== null && { encryptedDecryptionKey: input.EncryptedDecryptionKey })), (input.InitializationVector !== undefined &&
|
|
4134
|
-
input.InitializationVector !== null && { initializationVector: input.InitializationVector })), (input.KmsKeyRegion !== undefined && input.KmsKeyRegion !== null && { kmsKeyRegion: input.KmsKeyRegion }));
|
|
3849
|
+
return __assign(__assign(__assign(__assign({}, (input.DecryptionMode != null && { decryptionMode: input.DecryptionMode })), (input.EncryptedDecryptionKey != null && { encryptedDecryptionKey: input.EncryptedDecryptionKey })), (input.InitializationVector != null && { initializationVector: input.InitializationVector })), (input.KmsKeyRegion != null && { kmsKeyRegion: input.KmsKeyRegion }));
|
|
4135
3850
|
};
|
|
4136
3851
|
var serializeAws_restJson1InputTemplate = function (input, context) {
|
|
4137
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioSelectorGroups
|
|
4138
|
-
input.AudioSelectorGroups !== null && {
|
|
3852
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioSelectorGroups != null && {
|
|
4139
3853
|
audioSelectorGroups: serializeAws_restJson1__mapOfAudioSelectorGroup(input.AudioSelectorGroups, context),
|
|
4140
|
-
})), (input.AudioSelectors
|
|
4141
|
-
input.AudioSelectors !== null && {
|
|
3854
|
+
})), (input.AudioSelectors != null && {
|
|
4142
3855
|
audioSelectors: serializeAws_restJson1__mapOfAudioSelector(input.AudioSelectors, context),
|
|
4143
|
-
})), (input.CaptionSelectors
|
|
4144
|
-
input.CaptionSelectors !== null && {
|
|
3856
|
+
})), (input.CaptionSelectors != null && {
|
|
4145
3857
|
captionSelectors: serializeAws_restJson1__mapOfCaptionSelector(input.CaptionSelectors, context),
|
|
4146
|
-
})), (input.Crop
|
|
4147
|
-
input.Crop !== null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DeblockFilter !== undefined && input.DeblockFilter !== null && { deblockFilter: input.DeblockFilter })), (input.DenoiseFilter !== undefined && input.DenoiseFilter !== null && { denoiseFilter: input.DenoiseFilter })), (input.DolbyVisionMetadataXml !== undefined &&
|
|
4148
|
-
input.DolbyVisionMetadataXml !== null && { dolbyVisionMetadataXml: input.DolbyVisionMetadataXml })), (input.FilterEnable !== undefined && input.FilterEnable !== null && { filterEnable: input.FilterEnable })), (input.FilterStrength !== undefined &&
|
|
4149
|
-
input.FilterStrength !== null && { filterStrength: input.FilterStrength })), (input.ImageInserter !== undefined &&
|
|
4150
|
-
input.ImageInserter !== null && {
|
|
3858
|
+
})), (input.Crop != null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DeblockFilter != null && { deblockFilter: input.DeblockFilter })), (input.DenoiseFilter != null && { denoiseFilter: input.DenoiseFilter })), (input.DolbyVisionMetadataXml != null && { dolbyVisionMetadataXml: input.DolbyVisionMetadataXml })), (input.FilterEnable != null && { filterEnable: input.FilterEnable })), (input.FilterStrength != null && { filterStrength: input.FilterStrength })), (input.ImageInserter != null && {
|
|
4151
3859
|
imageInserter: serializeAws_restJson1ImageInserter(input.ImageInserter, context),
|
|
4152
|
-
})), (input.InputClippings
|
|
4153
|
-
input.InputClippings !== null && {
|
|
3860
|
+
})), (input.InputClippings != null && {
|
|
4154
3861
|
inputClippings: serializeAws_restJson1__listOfInputClipping(input.InputClippings, context),
|
|
4155
|
-
})), (input.InputScanType
|
|
4156
|
-
input.Position !== null && { position: serializeAws_restJson1Rectangle(input.Position, context) })), (input.ProgramNumber !== undefined && input.ProgramNumber !== null && { programNumber: input.ProgramNumber })), (input.PsiControl !== undefined && input.PsiControl !== null && { psiControl: input.PsiControl })), (input.TimecodeSource !== undefined &&
|
|
4157
|
-
input.TimecodeSource !== null && { timecodeSource: input.TimecodeSource })), (input.TimecodeStart !== undefined && input.TimecodeStart !== null && { timecodeStart: input.TimecodeStart })), (input.VideoSelector !== undefined &&
|
|
4158
|
-
input.VideoSelector !== null && {
|
|
3862
|
+
})), (input.InputScanType != null && { inputScanType: input.InputScanType })), (input.Position != null && { position: serializeAws_restJson1Rectangle(input.Position, context) })), (input.ProgramNumber != null && { programNumber: input.ProgramNumber })), (input.PsiControl != null && { psiControl: input.PsiControl })), (input.TimecodeSource != null && { timecodeSource: input.TimecodeSource })), (input.TimecodeStart != null && { timecodeStart: input.TimecodeStart })), (input.VideoSelector != null && {
|
|
4159
3863
|
videoSelector: serializeAws_restJson1VideoSelector(input.VideoSelector, context),
|
|
4160
3864
|
}));
|
|
4161
3865
|
};
|
|
4162
3866
|
var serializeAws_restJson1InputVideoGenerator = function (input, context) {
|
|
4163
|
-
return __assign({}, (input.Duration
|
|
3867
|
+
return __assign({}, (input.Duration != null && { duration: input.Duration }));
|
|
4164
3868
|
};
|
|
4165
3869
|
var serializeAws_restJson1InsertableImage = function (input, context) {
|
|
4166
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Duration
|
|
4167
|
-
input.ImageInserterInput !== null && { imageInserterInput: input.ImageInserterInput })), (input.ImageX !== undefined && input.ImageX !== null && { imageX: input.ImageX })), (input.ImageY !== undefined && input.ImageY !== null && { imageY: input.ImageY })), (input.Layer !== undefined && input.Layer !== null && { layer: input.Layer })), (input.Opacity !== undefined && input.Opacity !== null && { opacity: input.Opacity })), (input.StartTime !== undefined && input.StartTime !== null && { startTime: input.StartTime })), (input.Width !== undefined && input.Width !== null && { width: input.Width }));
|
|
3870
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Duration != null && { duration: input.Duration })), (input.FadeIn != null && { fadeIn: input.FadeIn })), (input.FadeOut != null && { fadeOut: input.FadeOut })), (input.Height != null && { height: input.Height })), (input.ImageInserterInput != null && { imageInserterInput: input.ImageInserterInput })), (input.ImageX != null && { imageX: input.ImageX })), (input.ImageY != null && { imageY: input.ImageY })), (input.Layer != null && { layer: input.Layer })), (input.Opacity != null && { opacity: input.Opacity })), (input.StartTime != null && { startTime: input.StartTime })), (input.Width != null && { width: input.Width }));
|
|
4168
3871
|
};
|
|
4169
3872
|
var serializeAws_restJson1JobSettings = function (input, context) {
|
|
4170
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdAvailOffset
|
|
4171
|
-
input.AvailBlanking !== null && {
|
|
3873
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdAvailOffset != null && { adAvailOffset: input.AdAvailOffset })), (input.AvailBlanking != null && {
|
|
4172
3874
|
availBlanking: serializeAws_restJson1AvailBlanking(input.AvailBlanking, context),
|
|
4173
|
-
})), (input.Esam
|
|
4174
|
-
input.Esam !== null && { esam: serializeAws_restJson1EsamSettings(input.Esam, context) })), (input.ExtendedDataServices !== undefined &&
|
|
4175
|
-
input.ExtendedDataServices !== null && {
|
|
3875
|
+
})), (input.Esam != null && { esam: serializeAws_restJson1EsamSettings(input.Esam, context) })), (input.ExtendedDataServices != null && {
|
|
4176
3876
|
extendedDataServices: serializeAws_restJson1ExtendedDataServices(input.ExtendedDataServices, context),
|
|
4177
|
-
})), (input.Inputs
|
|
4178
|
-
input.Inputs !== null && { inputs: serializeAws_restJson1__listOfInput(input.Inputs, context) })), (input.KantarWatermark !== undefined &&
|
|
4179
|
-
input.KantarWatermark !== null && {
|
|
3877
|
+
})), (input.Inputs != null && { inputs: serializeAws_restJson1__listOfInput(input.Inputs, context) })), (input.KantarWatermark != null && {
|
|
4180
3878
|
kantarWatermark: serializeAws_restJson1KantarWatermarkSettings(input.KantarWatermark, context),
|
|
4181
|
-
})), (input.MotionImageInserter
|
|
4182
|
-
input.MotionImageInserter !== null && {
|
|
3879
|
+
})), (input.MotionImageInserter != null && {
|
|
4183
3880
|
motionImageInserter: serializeAws_restJson1MotionImageInserter(input.MotionImageInserter, context),
|
|
4184
|
-
})), (input.NielsenConfiguration
|
|
4185
|
-
input.NielsenConfiguration !== null && {
|
|
3881
|
+
})), (input.NielsenConfiguration != null && {
|
|
4186
3882
|
nielsenConfiguration: serializeAws_restJson1NielsenConfiguration(input.NielsenConfiguration, context),
|
|
4187
|
-
})), (input.NielsenNonLinearWatermark
|
|
4188
|
-
input.NielsenNonLinearWatermark !== null && {
|
|
3883
|
+
})), (input.NielsenNonLinearWatermark != null && {
|
|
4189
3884
|
nielsenNonLinearWatermark: serializeAws_restJson1NielsenNonLinearWatermarkSettings(input.NielsenNonLinearWatermark, context),
|
|
4190
|
-
})), (input.OutputGroups
|
|
4191
|
-
input.OutputGroups !== null && {
|
|
3885
|
+
})), (input.OutputGroups != null && {
|
|
4192
3886
|
outputGroups: serializeAws_restJson1__listOfOutputGroup(input.OutputGroups, context),
|
|
4193
|
-
})), (input.TimecodeConfig
|
|
4194
|
-
input.TimecodeConfig !== null && {
|
|
3887
|
+
})), (input.TimecodeConfig != null && {
|
|
4195
3888
|
timecodeConfig: serializeAws_restJson1TimecodeConfig(input.TimecodeConfig, context),
|
|
4196
|
-
})), (input.TimedMetadataInsertion
|
|
4197
|
-
input.TimedMetadataInsertion !== null && {
|
|
3889
|
+
})), (input.TimedMetadataInsertion != null && {
|
|
4198
3890
|
timedMetadataInsertion: serializeAws_restJson1TimedMetadataInsertion(input.TimedMetadataInsertion, context),
|
|
4199
3891
|
}));
|
|
4200
3892
|
};
|
|
4201
3893
|
var serializeAws_restJson1JobTemplateSettings = function (input, context) {
|
|
4202
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdAvailOffset
|
|
4203
|
-
input.AvailBlanking !== null && {
|
|
3894
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdAvailOffset != null && { adAvailOffset: input.AdAvailOffset })), (input.AvailBlanking != null && {
|
|
4204
3895
|
availBlanking: serializeAws_restJson1AvailBlanking(input.AvailBlanking, context),
|
|
4205
|
-
})), (input.Esam
|
|
4206
|
-
input.Esam !== null && { esam: serializeAws_restJson1EsamSettings(input.Esam, context) })), (input.ExtendedDataServices !== undefined &&
|
|
4207
|
-
input.ExtendedDataServices !== null && {
|
|
3896
|
+
})), (input.Esam != null && { esam: serializeAws_restJson1EsamSettings(input.Esam, context) })), (input.ExtendedDataServices != null && {
|
|
4208
3897
|
extendedDataServices: serializeAws_restJson1ExtendedDataServices(input.ExtendedDataServices, context),
|
|
4209
|
-
})), (input.Inputs
|
|
4210
|
-
input.Inputs !== null && { inputs: serializeAws_restJson1__listOfInputTemplate(input.Inputs, context) })), (input.KantarWatermark !== undefined &&
|
|
4211
|
-
input.KantarWatermark !== null && {
|
|
3898
|
+
})), (input.Inputs != null && { inputs: serializeAws_restJson1__listOfInputTemplate(input.Inputs, context) })), (input.KantarWatermark != null && {
|
|
4212
3899
|
kantarWatermark: serializeAws_restJson1KantarWatermarkSettings(input.KantarWatermark, context),
|
|
4213
|
-
})), (input.MotionImageInserter
|
|
4214
|
-
input.MotionImageInserter !== null && {
|
|
3900
|
+
})), (input.MotionImageInserter != null && {
|
|
4215
3901
|
motionImageInserter: serializeAws_restJson1MotionImageInserter(input.MotionImageInserter, context),
|
|
4216
|
-
})), (input.NielsenConfiguration
|
|
4217
|
-
input.NielsenConfiguration !== null && {
|
|
3902
|
+
})), (input.NielsenConfiguration != null && {
|
|
4218
3903
|
nielsenConfiguration: serializeAws_restJson1NielsenConfiguration(input.NielsenConfiguration, context),
|
|
4219
|
-
})), (input.NielsenNonLinearWatermark
|
|
4220
|
-
input.NielsenNonLinearWatermark !== null && {
|
|
3904
|
+
})), (input.NielsenNonLinearWatermark != null && {
|
|
4221
3905
|
nielsenNonLinearWatermark: serializeAws_restJson1NielsenNonLinearWatermarkSettings(input.NielsenNonLinearWatermark, context),
|
|
4222
|
-
})), (input.OutputGroups
|
|
4223
|
-
input.OutputGroups !== null && {
|
|
3906
|
+
})), (input.OutputGroups != null && {
|
|
4224
3907
|
outputGroups: serializeAws_restJson1__listOfOutputGroup(input.OutputGroups, context),
|
|
4225
|
-
})), (input.TimecodeConfig
|
|
4226
|
-
input.TimecodeConfig !== null && {
|
|
3908
|
+
})), (input.TimecodeConfig != null && {
|
|
4227
3909
|
timecodeConfig: serializeAws_restJson1TimecodeConfig(input.TimecodeConfig, context),
|
|
4228
|
-
})), (input.TimedMetadataInsertion
|
|
4229
|
-
input.TimedMetadataInsertion !== null && {
|
|
3910
|
+
})), (input.TimedMetadataInsertion != null && {
|
|
4230
3911
|
timedMetadataInsertion: serializeAws_restJson1TimedMetadataInsertion(input.TimedMetadataInsertion, context),
|
|
4231
3912
|
}));
|
|
4232
3913
|
};
|
|
4233
3914
|
var serializeAws_restJson1KantarWatermarkSettings = function (input, context) {
|
|
4234
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelName
|
|
4235
|
-
input.ContentReference !== null && { contentReference: input.ContentReference })), (input.CredentialsSecretName !== undefined &&
|
|
4236
|
-
input.CredentialsSecretName !== null && { credentialsSecretName: input.CredentialsSecretName })), (input.FileOffset !== undefined &&
|
|
4237
|
-
input.FileOffset !== null && { fileOffset: __serializeFloat(input.FileOffset) })), (input.KantarLicenseId !== undefined &&
|
|
4238
|
-
input.KantarLicenseId !== null && { kantarLicenseId: input.KantarLicenseId })), (input.KantarServerUrl !== undefined &&
|
|
4239
|
-
input.KantarServerUrl !== null && { kantarServerUrl: input.KantarServerUrl })), (input.LogDestination !== undefined &&
|
|
4240
|
-
input.LogDestination !== null && { logDestination: input.LogDestination })), (input.Metadata3 !== undefined && input.Metadata3 !== null && { metadata3: input.Metadata3 })), (input.Metadata4 !== undefined && input.Metadata4 !== null && { metadata4: input.Metadata4 })), (input.Metadata5 !== undefined && input.Metadata5 !== null && { metadata5: input.Metadata5 })), (input.Metadata6 !== undefined && input.Metadata6 !== null && { metadata6: input.Metadata6 })), (input.Metadata7 !== undefined && input.Metadata7 !== null && { metadata7: input.Metadata7 })), (input.Metadata8 !== undefined && input.Metadata8 !== null && { metadata8: input.Metadata8 }));
|
|
3915
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelName != null && { channelName: input.ChannelName })), (input.ContentReference != null && { contentReference: input.ContentReference })), (input.CredentialsSecretName != null && { credentialsSecretName: input.CredentialsSecretName })), (input.FileOffset != null && { fileOffset: __serializeFloat(input.FileOffset) })), (input.KantarLicenseId != null && { kantarLicenseId: input.KantarLicenseId })), (input.KantarServerUrl != null && { kantarServerUrl: input.KantarServerUrl })), (input.LogDestination != null && { logDestination: input.LogDestination })), (input.Metadata3 != null && { metadata3: input.Metadata3 })), (input.Metadata4 != null && { metadata4: input.Metadata4 })), (input.Metadata5 != null && { metadata5: input.Metadata5 })), (input.Metadata6 != null && { metadata6: input.Metadata6 })), (input.Metadata7 != null && { metadata7: input.Metadata7 })), (input.Metadata8 != null && { metadata8: input.Metadata8 }));
|
|
4241
3916
|
};
|
|
4242
3917
|
var serializeAws_restJson1M2tsScte35Esam = function (input, context) {
|
|
4243
|
-
return __assign({}, (input.Scte35EsamPid
|
|
3918
|
+
return __assign({}, (input.Scte35EsamPid != null && { scte35EsamPid: input.Scte35EsamPid }));
|
|
4244
3919
|
};
|
|
4245
3920
|
var serializeAws_restJson1M2tsSettings = function (input, context) {
|
|
4246
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioBufferModel
|
|
4247
|
-
input.AudioBufferModel !== null && { audioBufferModel: input.AudioBufferModel })), (input.AudioDuration !== undefined && input.AudioDuration !== null && { audioDuration: input.AudioDuration })), (input.AudioFramesPerPes !== undefined &&
|
|
4248
|
-
input.AudioFramesPerPes !== null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids !== undefined &&
|
|
4249
|
-
input.AudioPids !== null && {
|
|
3921
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioBufferModel != null && { audioBufferModel: input.AudioBufferModel })), (input.AudioDuration != null && { audioDuration: input.AudioDuration })), (input.AudioFramesPerPes != null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids != null && {
|
|
4250
3922
|
audioPids: serializeAws_restJson1__listOf__integerMin32Max8182(input.AudioPids, context),
|
|
4251
|
-
})), (input.Bitrate
|
|
4252
|
-
input.DataPTSControl !== null && { dataPTSControl: input.DataPTSControl })), (input.DvbNitSettings !== undefined &&
|
|
4253
|
-
input.DvbNitSettings !== null && {
|
|
3923
|
+
})), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.BufferModel != null && { bufferModel: input.BufferModel })), (input.DataPTSControl != null && { dataPTSControl: input.DataPTSControl })), (input.DvbNitSettings != null && {
|
|
4254
3924
|
dvbNitSettings: serializeAws_restJson1DvbNitSettings(input.DvbNitSettings, context),
|
|
4255
|
-
})), (input.DvbSdtSettings
|
|
4256
|
-
input.DvbSdtSettings !== null && {
|
|
3925
|
+
})), (input.DvbSdtSettings != null && {
|
|
4257
3926
|
dvbSdtSettings: serializeAws_restJson1DvbSdtSettings(input.DvbSdtSettings, context),
|
|
4258
|
-
})), (input.DvbSubPids
|
|
4259
|
-
input.DvbSubPids !== null && {
|
|
3927
|
+
})), (input.DvbSubPids != null && {
|
|
4260
3928
|
dvbSubPids: serializeAws_restJson1__listOf__integerMin32Max8182(input.DvbSubPids, context),
|
|
4261
|
-
})), (input.DvbTdtSettings
|
|
4262
|
-
input.DvbTdtSettings !== null && {
|
|
3929
|
+
})), (input.DvbTdtSettings != null && {
|
|
4263
3930
|
dvbTdtSettings: serializeAws_restJson1DvbTdtSettings(input.DvbTdtSettings, context),
|
|
4264
|
-
})), (input.DvbTeletextPid
|
|
4265
|
-
input.DvbTeletextPid !== null && { dvbTeletextPid: input.DvbTeletextPid })), (input.EbpAudioInterval !== undefined &&
|
|
4266
|
-
input.EbpAudioInterval !== null && { ebpAudioInterval: input.EbpAudioInterval })), (input.EbpPlacement !== undefined && input.EbpPlacement !== null && { ebpPlacement: input.EbpPlacement })), (input.EsRateInPes !== undefined && input.EsRateInPes !== null && { esRateInPes: input.EsRateInPes })), (input.ForceTsVideoEbpOrder !== undefined &&
|
|
4267
|
-
input.ForceTsVideoEbpOrder !== null && { forceTsVideoEbpOrder: input.ForceTsVideoEbpOrder })), (input.FragmentTime !== undefined &&
|
|
4268
|
-
input.FragmentTime !== null && { fragmentTime: __serializeFloat(input.FragmentTime) })), (input.KlvMetadata !== undefined && input.KlvMetadata !== null && { klvMetadata: input.KlvMetadata })), (input.MaxPcrInterval !== undefined &&
|
|
4269
|
-
input.MaxPcrInterval !== null && { maxPcrInterval: input.MaxPcrInterval })), (input.MinEbpInterval !== undefined &&
|
|
4270
|
-
input.MinEbpInterval !== null && { minEbpInterval: input.MinEbpInterval })), (input.NielsenId3 !== undefined && input.NielsenId3 !== null && { nielsenId3: input.NielsenId3 })), (input.NullPacketBitrate !== undefined &&
|
|
4271
|
-
input.NullPacketBitrate !== null && { nullPacketBitrate: __serializeFloat(input.NullPacketBitrate) })), (input.PatInterval !== undefined && input.PatInterval !== null && { patInterval: input.PatInterval })), (input.PcrControl !== undefined && input.PcrControl !== null && { pcrControl: input.PcrControl })), (input.PcrPid !== undefined && input.PcrPid !== null && { pcrPid: input.PcrPid })), (input.PmtInterval !== undefined && input.PmtInterval !== null && { pmtInterval: input.PmtInterval })), (input.PmtPid !== undefined && input.PmtPid !== null && { pmtPid: input.PmtPid })), (input.PrivateMetadataPid !== undefined &&
|
|
4272
|
-
input.PrivateMetadataPid !== null && { privateMetadataPid: input.PrivateMetadataPid })), (input.ProgramNumber !== undefined && input.ProgramNumber !== null && { programNumber: input.ProgramNumber })), (input.RateMode !== undefined && input.RateMode !== null && { rateMode: input.RateMode })), (input.Scte35Esam !== undefined &&
|
|
4273
|
-
input.Scte35Esam !== null && { scte35Esam: serializeAws_restJson1M2tsScte35Esam(input.Scte35Esam, context) })), (input.Scte35Pid !== undefined && input.Scte35Pid !== null && { scte35Pid: input.Scte35Pid })), (input.Scte35Source !== undefined && input.Scte35Source !== null && { scte35Source: input.Scte35Source })), (input.SegmentationMarkers !== undefined &&
|
|
4274
|
-
input.SegmentationMarkers !== null && { segmentationMarkers: input.SegmentationMarkers })), (input.SegmentationStyle !== undefined &&
|
|
4275
|
-
input.SegmentationStyle !== null && { segmentationStyle: input.SegmentationStyle })), (input.SegmentationTime !== undefined &&
|
|
4276
|
-
input.SegmentationTime !== null && { segmentationTime: __serializeFloat(input.SegmentationTime) })), (input.TimedMetadataPid !== undefined &&
|
|
4277
|
-
input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
|
|
4278
|
-
input.TransportStreamId !== null && { transportStreamId: input.TransportStreamId })), (input.VideoPid !== undefined && input.VideoPid !== null && { videoPid: input.VideoPid }));
|
|
3931
|
+
})), (input.DvbTeletextPid != null && { dvbTeletextPid: input.DvbTeletextPid })), (input.EbpAudioInterval != null && { ebpAudioInterval: input.EbpAudioInterval })), (input.EbpPlacement != null && { ebpPlacement: input.EbpPlacement })), (input.EsRateInPes != null && { esRateInPes: input.EsRateInPes })), (input.ForceTsVideoEbpOrder != null && { forceTsVideoEbpOrder: input.ForceTsVideoEbpOrder })), (input.FragmentTime != null && { fragmentTime: __serializeFloat(input.FragmentTime) })), (input.KlvMetadata != null && { klvMetadata: input.KlvMetadata })), (input.MaxPcrInterval != null && { maxPcrInterval: input.MaxPcrInterval })), (input.MinEbpInterval != null && { minEbpInterval: input.MinEbpInterval })), (input.NielsenId3 != null && { nielsenId3: input.NielsenId3 })), (input.NullPacketBitrate != null && { nullPacketBitrate: __serializeFloat(input.NullPacketBitrate) })), (input.PatInterval != null && { patInterval: input.PatInterval })), (input.PcrControl != null && { pcrControl: input.PcrControl })), (input.PcrPid != null && { pcrPid: input.PcrPid })), (input.PmtInterval != null && { pmtInterval: input.PmtInterval })), (input.PmtPid != null && { pmtPid: input.PmtPid })), (input.PrivateMetadataPid != null && { privateMetadataPid: input.PrivateMetadataPid })), (input.ProgramNumber != null && { programNumber: input.ProgramNumber })), (input.RateMode != null && { rateMode: input.RateMode })), (input.Scte35Esam != null && { scte35Esam: serializeAws_restJson1M2tsScte35Esam(input.Scte35Esam, context) })), (input.Scte35Pid != null && { scte35Pid: input.Scte35Pid })), (input.Scte35Source != null && { scte35Source: input.Scte35Source })), (input.SegmentationMarkers != null && { segmentationMarkers: input.SegmentationMarkers })), (input.SegmentationStyle != null && { segmentationStyle: input.SegmentationStyle })), (input.SegmentationTime != null && { segmentationTime: __serializeFloat(input.SegmentationTime) })), (input.TimedMetadataPid != null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId != null && { transportStreamId: input.TransportStreamId })), (input.VideoPid != null && { videoPid: input.VideoPid }));
|
|
4279
3932
|
};
|
|
4280
3933
|
var serializeAws_restJson1M3u8Settings = function (input, context) {
|
|
4281
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDuration
|
|
4282
|
-
input.AudioFramesPerPes !== null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids !== undefined &&
|
|
4283
|
-
input.AudioPids !== null && {
|
|
3934
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDuration != null && { audioDuration: input.AudioDuration })), (input.AudioFramesPerPes != null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids != null && {
|
|
4284
3935
|
audioPids: serializeAws_restJson1__listOf__integerMin32Max8182(input.AudioPids, context),
|
|
4285
|
-
})), (input.DataPTSControl
|
|
4286
|
-
input.DataPTSControl !== null && { dataPTSControl: input.DataPTSControl })), (input.MaxPcrInterval !== undefined &&
|
|
4287
|
-
input.MaxPcrInterval !== null && { maxPcrInterval: input.MaxPcrInterval })), (input.NielsenId3 !== undefined && input.NielsenId3 !== null && { nielsenId3: input.NielsenId3 })), (input.PatInterval !== undefined && input.PatInterval !== null && { patInterval: input.PatInterval })), (input.PcrControl !== undefined && input.PcrControl !== null && { pcrControl: input.PcrControl })), (input.PcrPid !== undefined && input.PcrPid !== null && { pcrPid: input.PcrPid })), (input.PmtInterval !== undefined && input.PmtInterval !== null && { pmtInterval: input.PmtInterval })), (input.PmtPid !== undefined && input.PmtPid !== null && { pmtPid: input.PmtPid })), (input.PrivateMetadataPid !== undefined &&
|
|
4288
|
-
input.PrivateMetadataPid !== null && { privateMetadataPid: input.PrivateMetadataPid })), (input.ProgramNumber !== undefined && input.ProgramNumber !== null && { programNumber: input.ProgramNumber })), (input.Scte35Pid !== undefined && input.Scte35Pid !== null && { scte35Pid: input.Scte35Pid })), (input.Scte35Source !== undefined && input.Scte35Source !== null && { scte35Source: input.Scte35Source })), (input.TimedMetadata !== undefined && input.TimedMetadata !== null && { timedMetadata: input.TimedMetadata })), (input.TimedMetadataPid !== undefined &&
|
|
4289
|
-
input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
|
|
4290
|
-
input.TransportStreamId !== null && { transportStreamId: input.TransportStreamId })), (input.VideoPid !== undefined && input.VideoPid !== null && { videoPid: input.VideoPid }));
|
|
3936
|
+
})), (input.DataPTSControl != null && { dataPTSControl: input.DataPTSControl })), (input.MaxPcrInterval != null && { maxPcrInterval: input.MaxPcrInterval })), (input.NielsenId3 != null && { nielsenId3: input.NielsenId3 })), (input.PatInterval != null && { patInterval: input.PatInterval })), (input.PcrControl != null && { pcrControl: input.PcrControl })), (input.PcrPid != null && { pcrPid: input.PcrPid })), (input.PmtInterval != null && { pmtInterval: input.PmtInterval })), (input.PmtPid != null && { pmtPid: input.PmtPid })), (input.PrivateMetadataPid != null && { privateMetadataPid: input.PrivateMetadataPid })), (input.ProgramNumber != null && { programNumber: input.ProgramNumber })), (input.Scte35Pid != null && { scte35Pid: input.Scte35Pid })), (input.Scte35Source != null && { scte35Source: input.Scte35Source })), (input.TimedMetadata != null && { timedMetadata: input.TimedMetadata })), (input.TimedMetadataPid != null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId != null && { transportStreamId: input.TransportStreamId })), (input.VideoPid != null && { videoPid: input.VideoPid }));
|
|
4291
3937
|
};
|
|
4292
3938
|
var serializeAws_restJson1MinBottomRenditionSize = function (input, context) {
|
|
4293
|
-
return __assign(__assign({}, (input.Height
|
|
3939
|
+
return __assign(__assign({}, (input.Height != null && { height: input.Height })), (input.Width != null && { width: input.Width }));
|
|
4294
3940
|
};
|
|
4295
3941
|
var serializeAws_restJson1MinTopRenditionSize = function (input, context) {
|
|
4296
|
-
return __assign(__assign({}, (input.Height
|
|
3942
|
+
return __assign(__assign({}, (input.Height != null && { height: input.Height })), (input.Width != null && { width: input.Width }));
|
|
4297
3943
|
};
|
|
4298
3944
|
var serializeAws_restJson1MotionImageInserter = function (input, context) {
|
|
4299
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Framerate
|
|
4300
|
-
input.Framerate !== null && {
|
|
3945
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Framerate != null && {
|
|
4301
3946
|
framerate: serializeAws_restJson1MotionImageInsertionFramerate(input.Framerate, context),
|
|
4302
|
-
})), (input.Input
|
|
4303
|
-
input.Offset !== null && { offset: serializeAws_restJson1MotionImageInsertionOffset(input.Offset, context) })), (input.Playback !== undefined && input.Playback !== null && { playback: input.Playback })), (input.StartTime !== undefined && input.StartTime !== null && { startTime: input.StartTime }));
|
|
3947
|
+
})), (input.Input != null && { input: input.Input })), (input.InsertionMode != null && { insertionMode: input.InsertionMode })), (input.Offset != null && { offset: serializeAws_restJson1MotionImageInsertionOffset(input.Offset, context) })), (input.Playback != null && { playback: input.Playback })), (input.StartTime != null && { startTime: input.StartTime }));
|
|
4304
3948
|
};
|
|
4305
3949
|
var serializeAws_restJson1MotionImageInsertionFramerate = function (input, context) {
|
|
4306
|
-
return __assign(__assign({}, (input.FramerateDenominator
|
|
4307
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4308
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator }));
|
|
3950
|
+
return __assign(__assign({}, (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator }));
|
|
4309
3951
|
};
|
|
4310
3952
|
var serializeAws_restJson1MotionImageInsertionOffset = function (input, context) {
|
|
4311
|
-
return __assign(__assign({}, (input.ImageX
|
|
3953
|
+
return __assign(__assign({}, (input.ImageX != null && { imageX: input.ImageX })), (input.ImageY != null && { imageY: input.ImageY }));
|
|
4312
3954
|
};
|
|
4313
3955
|
var serializeAws_restJson1MovSettings = function (input, context) {
|
|
4314
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ClapAtom
|
|
4315
|
-
input.Mpeg2FourCCControl !== null && { mpeg2FourCCControl: input.Mpeg2FourCCControl })), (input.PaddingControl !== undefined &&
|
|
4316
|
-
input.PaddingControl !== null && { paddingControl: input.PaddingControl })), (input.Reference !== undefined && input.Reference !== null && { reference: input.Reference }));
|
|
3956
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ClapAtom != null && { clapAtom: input.ClapAtom })), (input.CslgAtom != null && { cslgAtom: input.CslgAtom })), (input.Mpeg2FourCCControl != null && { mpeg2FourCCControl: input.Mpeg2FourCCControl })), (input.PaddingControl != null && { paddingControl: input.PaddingControl })), (input.Reference != null && { reference: input.Reference }));
|
|
4317
3957
|
};
|
|
4318
3958
|
var serializeAws_restJson1Mp2Settings = function (input, context) {
|
|
4319
|
-
return __assign(__assign(__assign({}, (input.Bitrate
|
|
3959
|
+
return __assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: input.Bitrate })), (input.Channels != null && { channels: input.Channels })), (input.SampleRate != null && { sampleRate: input.SampleRate }));
|
|
4320
3960
|
};
|
|
4321
3961
|
var serializeAws_restJson1Mp3Settings = function (input, context) {
|
|
4322
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
4323
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.SampleRate !== undefined && input.SampleRate !== null && { sampleRate: input.SampleRate })), (input.VbrQuality !== undefined && input.VbrQuality !== null && { vbrQuality: input.VbrQuality }));
|
|
3962
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: input.Bitrate })), (input.Channels != null && { channels: input.Channels })), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.SampleRate != null && { sampleRate: input.SampleRate })), (input.VbrQuality != null && { vbrQuality: input.VbrQuality }));
|
|
4324
3963
|
};
|
|
4325
3964
|
var serializeAws_restJson1Mp4Settings = function (input, context) {
|
|
4326
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDuration
|
|
3965
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDuration != null && { audioDuration: input.AudioDuration })), (input.CslgAtom != null && { cslgAtom: input.CslgAtom })), (input.CttsVersion != null && { cttsVersion: input.CttsVersion })), (input.FreeSpaceBox != null && { freeSpaceBox: input.FreeSpaceBox })), (input.MoovPlacement != null && { moovPlacement: input.MoovPlacement })), (input.Mp4MajorBrand != null && { mp4MajorBrand: input.Mp4MajorBrand }));
|
|
4327
3966
|
};
|
|
4328
3967
|
var serializeAws_restJson1MpdSettings = function (input, context) {
|
|
4329
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessibilityCaptionHints
|
|
4330
|
-
input.AccessibilityCaptionHints !== null && { accessibilityCaptionHints: input.AccessibilityCaptionHints })), (input.AudioDuration !== undefined && input.AudioDuration !== null && { audioDuration: input.AudioDuration })), (input.CaptionContainerType !== undefined &&
|
|
4331
|
-
input.CaptionContainerType !== null && { captionContainerType: input.CaptionContainerType })), (input.KlvMetadata !== undefined && input.KlvMetadata !== null && { klvMetadata: input.KlvMetadata })), (input.Scte35Esam !== undefined && input.Scte35Esam !== null && { scte35Esam: input.Scte35Esam })), (input.Scte35Source !== undefined && input.Scte35Source !== null && { scte35Source: input.Scte35Source })), (input.TimedMetadata !== undefined && input.TimedMetadata !== null && { timedMetadata: input.TimedMetadata }));
|
|
3968
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessibilityCaptionHints != null && { accessibilityCaptionHints: input.AccessibilityCaptionHints })), (input.AudioDuration != null && { audioDuration: input.AudioDuration })), (input.CaptionContainerType != null && { captionContainerType: input.CaptionContainerType })), (input.KlvMetadata != null && { klvMetadata: input.KlvMetadata })), (input.Scte35Esam != null && { scte35Esam: input.Scte35Esam })), (input.Scte35Source != null && { scte35Source: input.Scte35Source })), (input.TimedMetadata != null && { timedMetadata: input.TimedMetadata }));
|
|
4332
3969
|
};
|
|
4333
3970
|
var serializeAws_restJson1Mpeg2Settings = function (input, context) {
|
|
4334
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization
|
|
4335
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: input.Bitrate })), (input.CodecLevel !== undefined && input.CodecLevel !== null && { codecLevel: input.CodecLevel })), (input.CodecProfile !== undefined && input.CodecProfile !== null && { codecProfile: input.CodecProfile })), (input.DynamicSubGop !== undefined && input.DynamicSubGop !== null && { dynamicSubGop: input.DynamicSubGop })), (input.FramerateControl !== undefined &&
|
|
4336
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4337
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
3971
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization != null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.CodecLevel != null && { codecLevel: input.CodecLevel })), (input.CodecProfile != null && { codecProfile: input.CodecProfile })), (input.DynamicSubGop != null && { dynamicSubGop: input.DynamicSubGop })), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
4338
3972
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4339
|
-
})), (input.FramerateDenominator
|
|
4340
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4341
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopClosedCadence !== undefined &&
|
|
4342
|
-
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence })), (input.GopSize !== undefined && input.GopSize !== null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits })), (input.HrdBufferInitialFillPercentage !== undefined &&
|
|
4343
|
-
input.HrdBufferInitialFillPercentage !== null && {
|
|
3973
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence })), (input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits })), (input.HrdBufferInitialFillPercentage != null && {
|
|
4344
3974
|
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
|
|
4345
|
-
})), (input.HrdBufferSize
|
|
4346
|
-
input.IntraDcPrecision !== null && { intraDcPrecision: input.IntraDcPrecision })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate })), (input.MinIInterval !== undefined && input.MinIInterval !== null && { minIInterval: input.MinIInterval })), (input.NumberBFramesBetweenReferenceFrames !== undefined &&
|
|
4347
|
-
input.NumberBFramesBetweenReferenceFrames !== null && {
|
|
3975
|
+
})), (input.HrdBufferSize != null && { hrdBufferSize: input.HrdBufferSize })), (input.InterlaceMode != null && { interlaceMode: input.InterlaceMode })), (input.IntraDcPrecision != null && { intraDcPrecision: input.IntraDcPrecision })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MinIInterval != null && { minIInterval: input.MinIInterval })), (input.NumberBFramesBetweenReferenceFrames != null && {
|
|
4348
3976
|
numberBFramesBetweenReferenceFrames: input.NumberBFramesBetweenReferenceFrames,
|
|
4349
|
-
})), (input.ParControl
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.ScanTypeConversionMode !== undefined &&
|
|
4353
|
-
input.ScanTypeConversionMode !== null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SceneChangeDetect !== undefined &&
|
|
4354
|
-
input.SceneChangeDetect !== null && { sceneChangeDetect: input.SceneChangeDetect })), (input.SlowPal !== undefined && input.SlowPal !== null && { slowPal: input.SlowPal })), (input.Softness !== undefined && input.Softness !== null && { softness: input.Softness })), (input.SpatialAdaptiveQuantization !== undefined &&
|
|
4355
|
-
input.SpatialAdaptiveQuantization !== null && { spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization })), (input.Syntax !== undefined && input.Syntax !== null && { syntax: input.Syntax })), (input.Telecine !== undefined && input.Telecine !== null && { telecine: input.Telecine })), (input.TemporalAdaptiveQuantization !== undefined &&
|
|
4356
|
-
input.TemporalAdaptiveQuantization !== null && {
|
|
3977
|
+
})), (input.ParControl != null && { parControl: input.ParControl })), (input.ParDenominator != null && { parDenominator: input.ParDenominator })), (input.ParNumerator != null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel })), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.ScanTypeConversionMode != null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SceneChangeDetect != null && { sceneChangeDetect: input.SceneChangeDetect })), (input.SlowPal != null && { slowPal: input.SlowPal })), (input.Softness != null && { softness: input.Softness })), (input.SpatialAdaptiveQuantization != null && {
|
|
3978
|
+
spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization,
|
|
3979
|
+
})), (input.Syntax != null && { syntax: input.Syntax })), (input.Telecine != null && { telecine: input.Telecine })), (input.TemporalAdaptiveQuantization != null && {
|
|
4357
3980
|
temporalAdaptiveQuantization: input.TemporalAdaptiveQuantization,
|
|
4358
3981
|
}));
|
|
4359
3982
|
};
|
|
4360
3983
|
var serializeAws_restJson1MsSmoothAdditionalManifest = function (input, context) {
|
|
4361
|
-
return __assign(__assign({}, (input.ManifestNameModifier
|
|
4362
|
-
input.ManifestNameModifier !== null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs !== undefined &&
|
|
4363
|
-
input.SelectedOutputs !== null && {
|
|
3984
|
+
return __assign(__assign({}, (input.ManifestNameModifier != null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs != null && {
|
|
4364
3985
|
selectedOutputs: serializeAws_restJson1__listOf__stringMin1(input.SelectedOutputs, context),
|
|
4365
3986
|
}));
|
|
4366
3987
|
};
|
|
4367
3988
|
var serializeAws_restJson1MsSmoothEncryptionSettings = function (input, context) {
|
|
4368
|
-
return __assign({}, (input.SpekeKeyProvider
|
|
4369
|
-
input.SpekeKeyProvider !== null && {
|
|
3989
|
+
return __assign({}, (input.SpekeKeyProvider != null && {
|
|
4370
3990
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProvider(input.SpekeKeyProvider, context),
|
|
4371
3991
|
}));
|
|
4372
3992
|
};
|
|
4373
3993
|
var serializeAws_restJson1MsSmoothGroupSettings = function (input, context) {
|
|
4374
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests
|
|
4375
|
-
input.AdditionalManifests !== null && {
|
|
3994
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests != null && {
|
|
4376
3995
|
additionalManifests: serializeAws_restJson1__listOfMsSmoothAdditionalManifest(input.AdditionalManifests, context),
|
|
4377
|
-
})), (input.AudioDeduplication
|
|
4378
|
-
input.AudioDeduplication !== null && { audioDeduplication: input.AudioDeduplication })), (input.Destination !== undefined && input.Destination !== null && { destination: input.Destination })), (input.DestinationSettings !== undefined &&
|
|
4379
|
-
input.DestinationSettings !== null && {
|
|
3996
|
+
})), (input.AudioDeduplication != null && { audioDeduplication: input.AudioDeduplication })), (input.Destination != null && { destination: input.Destination })), (input.DestinationSettings != null && {
|
|
4380
3997
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
4381
|
-
})), (input.Encryption
|
|
4382
|
-
input.Encryption !== null && {
|
|
3998
|
+
})), (input.Encryption != null && {
|
|
4383
3999
|
encryption: serializeAws_restJson1MsSmoothEncryptionSettings(input.Encryption, context),
|
|
4384
|
-
})), (input.FragmentLength
|
|
4385
|
-
input.FragmentLength !== null && { fragmentLength: input.FragmentLength })), (input.FragmentLengthControl !== undefined &&
|
|
4386
|
-
input.FragmentLengthControl !== null && { fragmentLengthControl: input.FragmentLengthControl })), (input.ManifestEncoding !== undefined &&
|
|
4387
|
-
input.ManifestEncoding !== null && { manifestEncoding: input.ManifestEncoding }));
|
|
4000
|
+
})), (input.FragmentLength != null && { fragmentLength: input.FragmentLength })), (input.FragmentLengthControl != null && { fragmentLengthControl: input.FragmentLengthControl })), (input.ManifestEncoding != null && { manifestEncoding: input.ManifestEncoding }));
|
|
4388
4001
|
};
|
|
4389
4002
|
var serializeAws_restJson1MxfSettings = function (input, context) {
|
|
4390
|
-
return __assign(__assign(__assign({}, (input.AfdSignaling
|
|
4391
|
-
input.XavcProfileSettings !== null && {
|
|
4003
|
+
return __assign(__assign(__assign({}, (input.AfdSignaling != null && { afdSignaling: input.AfdSignaling })), (input.Profile != null && { profile: input.Profile })), (input.XavcProfileSettings != null && {
|
|
4392
4004
|
xavcProfileSettings: serializeAws_restJson1MxfXavcProfileSettings(input.XavcProfileSettings, context),
|
|
4393
4005
|
}));
|
|
4394
4006
|
};
|
|
4395
4007
|
var serializeAws_restJson1MxfXavcProfileSettings = function (input, context) {
|
|
4396
|
-
return __assign(__assign({}, (input.DurationMode
|
|
4397
|
-
input.MaxAncDataSize !== null && { maxAncDataSize: input.MaxAncDataSize }));
|
|
4008
|
+
return __assign(__assign({}, (input.DurationMode != null && { durationMode: input.DurationMode })), (input.MaxAncDataSize != null && { maxAncDataSize: input.MaxAncDataSize }));
|
|
4398
4009
|
};
|
|
4399
4010
|
var serializeAws_restJson1NexGuardFileMarkerSettings = function (input, context) {
|
|
4400
|
-
return __assign(__assign(__assign(__assign({}, (input.License
|
|
4011
|
+
return __assign(__assign(__assign(__assign({}, (input.License != null && { license: input.License })), (input.Payload != null && { payload: input.Payload })), (input.Preset != null && { preset: input.Preset })), (input.Strength != null && { strength: input.Strength }));
|
|
4401
4012
|
};
|
|
4402
4013
|
var serializeAws_restJson1NielsenConfiguration = function (input, context) {
|
|
4403
|
-
return __assign(__assign({}, (input.BreakoutCode
|
|
4014
|
+
return __assign(__assign({}, (input.BreakoutCode != null && { breakoutCode: input.BreakoutCode })), (input.DistributorId != null && { distributorId: input.DistributorId }));
|
|
4404
4015
|
};
|
|
4405
4016
|
var serializeAws_restJson1NielsenNonLinearWatermarkSettings = function (input, context) {
|
|
4406
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveWatermarkProcess
|
|
4407
|
-
input.ActiveWatermarkProcess !== null && { activeWatermarkProcess: input.ActiveWatermarkProcess })), (input.AdiFilename !== undefined && input.AdiFilename !== null && { adiFilename: input.AdiFilename })), (input.AssetId !== undefined && input.AssetId !== null && { assetId: input.AssetId })), (input.AssetName !== undefined && input.AssetName !== null && { assetName: input.AssetName })), (input.CbetSourceId !== undefined && input.CbetSourceId !== null && { cbetSourceId: input.CbetSourceId })), (input.EpisodeId !== undefined && input.EpisodeId !== null && { episodeId: input.EpisodeId })), (input.MetadataDestination !== undefined &&
|
|
4408
|
-
input.MetadataDestination !== null && { metadataDestination: input.MetadataDestination })), (input.SourceId !== undefined && input.SourceId !== null && { sourceId: input.SourceId })), (input.SourceWatermarkStatus !== undefined &&
|
|
4409
|
-
input.SourceWatermarkStatus !== null && { sourceWatermarkStatus: input.SourceWatermarkStatus })), (input.TicServerUrl !== undefined && input.TicServerUrl !== null && { ticServerUrl: input.TicServerUrl })), (input.UniqueTicPerAudioTrack !== undefined &&
|
|
4410
|
-
input.UniqueTicPerAudioTrack !== null && { uniqueTicPerAudioTrack: input.UniqueTicPerAudioTrack }));
|
|
4017
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveWatermarkProcess != null && { activeWatermarkProcess: input.ActiveWatermarkProcess })), (input.AdiFilename != null && { adiFilename: input.AdiFilename })), (input.AssetId != null && { assetId: input.AssetId })), (input.AssetName != null && { assetName: input.AssetName })), (input.CbetSourceId != null && { cbetSourceId: input.CbetSourceId })), (input.EpisodeId != null && { episodeId: input.EpisodeId })), (input.MetadataDestination != null && { metadataDestination: input.MetadataDestination })), (input.SourceId != null && { sourceId: input.SourceId })), (input.SourceWatermarkStatus != null && { sourceWatermarkStatus: input.SourceWatermarkStatus })), (input.TicServerUrl != null && { ticServerUrl: input.TicServerUrl })), (input.UniqueTicPerAudioTrack != null && { uniqueTicPerAudioTrack: input.UniqueTicPerAudioTrack }));
|
|
4411
4018
|
};
|
|
4412
4019
|
var serializeAws_restJson1NoiseReducer = function (input, context) {
|
|
4413
|
-
return __assign(__assign(__assign(__assign({}, (input.Filter
|
|
4414
|
-
input.FilterSettings !== null && {
|
|
4020
|
+
return __assign(__assign(__assign(__assign({}, (input.Filter != null && { filter: input.Filter })), (input.FilterSettings != null && {
|
|
4415
4021
|
filterSettings: serializeAws_restJson1NoiseReducerFilterSettings(input.FilterSettings, context),
|
|
4416
|
-
})), (input.SpatialFilterSettings
|
|
4417
|
-
input.SpatialFilterSettings !== null && {
|
|
4022
|
+
})), (input.SpatialFilterSettings != null && {
|
|
4418
4023
|
spatialFilterSettings: serializeAws_restJson1NoiseReducerSpatialFilterSettings(input.SpatialFilterSettings, context),
|
|
4419
|
-
})), (input.TemporalFilterSettings
|
|
4420
|
-
input.TemporalFilterSettings !== null && {
|
|
4024
|
+
})), (input.TemporalFilterSettings != null && {
|
|
4421
4025
|
temporalFilterSettings: serializeAws_restJson1NoiseReducerTemporalFilterSettings(input.TemporalFilterSettings, context),
|
|
4422
4026
|
}));
|
|
4423
4027
|
};
|
|
4424
4028
|
var serializeAws_restJson1NoiseReducerFilterSettings = function (input, context) {
|
|
4425
|
-
return __assign({}, (input.Strength
|
|
4029
|
+
return __assign({}, (input.Strength != null && { strength: input.Strength }));
|
|
4426
4030
|
};
|
|
4427
4031
|
var serializeAws_restJson1NoiseReducerSpatialFilterSettings = function (input, context) {
|
|
4428
|
-
return __assign(__assign(__assign({}, (input.PostFilterSharpenStrength
|
|
4429
|
-
input.PostFilterSharpenStrength !== null && { postFilterSharpenStrength: input.PostFilterSharpenStrength })), (input.Speed !== undefined && input.Speed !== null && { speed: input.Speed })), (input.Strength !== undefined && input.Strength !== null && { strength: input.Strength }));
|
|
4032
|
+
return __assign(__assign(__assign({}, (input.PostFilterSharpenStrength != null && { postFilterSharpenStrength: input.PostFilterSharpenStrength })), (input.Speed != null && { speed: input.Speed })), (input.Strength != null && { strength: input.Strength }));
|
|
4430
4033
|
};
|
|
4431
4034
|
var serializeAws_restJson1NoiseReducerTemporalFilterSettings = function (input, context) {
|
|
4432
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AggressiveMode
|
|
4433
|
-
input.AggressiveMode !== null && { aggressiveMode: input.AggressiveMode })), (input.PostTemporalSharpening !== undefined &&
|
|
4434
|
-
input.PostTemporalSharpening !== null && { postTemporalSharpening: input.PostTemporalSharpening })), (input.PostTemporalSharpeningStrength !== undefined &&
|
|
4435
|
-
input.PostTemporalSharpeningStrength !== null && {
|
|
4035
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AggressiveMode != null && { aggressiveMode: input.AggressiveMode })), (input.PostTemporalSharpening != null && { postTemporalSharpening: input.PostTemporalSharpening })), (input.PostTemporalSharpeningStrength != null && {
|
|
4436
4036
|
postTemporalSharpeningStrength: input.PostTemporalSharpeningStrength,
|
|
4437
|
-
})), (input.Speed
|
|
4037
|
+
})), (input.Speed != null && { speed: input.Speed })), (input.Strength != null && { strength: input.Strength }));
|
|
4438
4038
|
};
|
|
4439
4039
|
var serializeAws_restJson1OpusSettings = function (input, context) {
|
|
4440
|
-
return __assign(__assign(__assign({}, (input.Bitrate
|
|
4040
|
+
return __assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: input.Bitrate })), (input.Channels != null && { channels: input.Channels })), (input.SampleRate != null && { sampleRate: input.SampleRate }));
|
|
4441
4041
|
};
|
|
4442
4042
|
var serializeAws_restJson1Output = function (input, context) {
|
|
4443
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptions
|
|
4444
|
-
input.AudioDescriptions !== null && {
|
|
4043
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptions != null && {
|
|
4445
4044
|
audioDescriptions: serializeAws_restJson1__listOfAudioDescription(input.AudioDescriptions, context),
|
|
4446
|
-
})), (input.CaptionDescriptions
|
|
4447
|
-
input.CaptionDescriptions !== null && {
|
|
4045
|
+
})), (input.CaptionDescriptions != null && {
|
|
4448
4046
|
captionDescriptions: serializeAws_restJson1__listOfCaptionDescription(input.CaptionDescriptions, context),
|
|
4449
|
-
})), (input.ContainerSettings
|
|
4450
|
-
input.ContainerSettings !== null && {
|
|
4047
|
+
})), (input.ContainerSettings != null && {
|
|
4451
4048
|
containerSettings: serializeAws_restJson1ContainerSettings(input.ContainerSettings, context),
|
|
4452
|
-
})), (input.Extension
|
|
4453
|
-
input.OutputSettings !== null && {
|
|
4049
|
+
})), (input.Extension != null && { extension: input.Extension })), (input.NameModifier != null && { nameModifier: input.NameModifier })), (input.OutputSettings != null && {
|
|
4454
4050
|
outputSettings: serializeAws_restJson1OutputSettings(input.OutputSettings, context),
|
|
4455
|
-
})), (input.Preset
|
|
4456
|
-
input.VideoDescription !== null && {
|
|
4051
|
+
})), (input.Preset != null && { preset: input.Preset })), (input.VideoDescription != null && {
|
|
4457
4052
|
videoDescription: serializeAws_restJson1VideoDescription(input.VideoDescription, context),
|
|
4458
4053
|
}));
|
|
4459
4054
|
};
|
|
4460
4055
|
var serializeAws_restJson1OutputChannelMapping = function (input, context) {
|
|
4461
|
-
return __assign(__assign({}, (input.InputChannels
|
|
4462
|
-
input.InputChannels !== null && {
|
|
4056
|
+
return __assign(__assign({}, (input.InputChannels != null && {
|
|
4463
4057
|
inputChannels: serializeAws_restJson1__listOf__integerMinNegative60Max6(input.InputChannels, context),
|
|
4464
|
-
})), (input.InputChannelsFineTune
|
|
4465
|
-
input.InputChannelsFineTune !== null && {
|
|
4058
|
+
})), (input.InputChannelsFineTune != null && {
|
|
4466
4059
|
inputChannelsFineTune: serializeAws_restJson1__listOf__doubleMinNegative60Max6(input.InputChannelsFineTune, context),
|
|
4467
4060
|
}));
|
|
4468
4061
|
};
|
|
4469
4062
|
var serializeAws_restJson1OutputGroup = function (input, context) {
|
|
4470
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AutomatedEncodingSettings
|
|
4471
|
-
input.AutomatedEncodingSettings !== null && {
|
|
4063
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AutomatedEncodingSettings != null && {
|
|
4472
4064
|
automatedEncodingSettings: serializeAws_restJson1AutomatedEncodingSettings(input.AutomatedEncodingSettings, context),
|
|
4473
|
-
})), (input.CustomName
|
|
4474
|
-
input.OutputGroupSettings !== null && {
|
|
4065
|
+
})), (input.CustomName != null && { customName: input.CustomName })), (input.Name != null && { name: input.Name })), (input.OutputGroupSettings != null && {
|
|
4475
4066
|
outputGroupSettings: serializeAws_restJson1OutputGroupSettings(input.OutputGroupSettings, context),
|
|
4476
|
-
})), (input.Outputs
|
|
4477
|
-
input.Outputs !== null && { outputs: serializeAws_restJson1__listOfOutput(input.Outputs, context) }));
|
|
4067
|
+
})), (input.Outputs != null && { outputs: serializeAws_restJson1__listOfOutput(input.Outputs, context) }));
|
|
4478
4068
|
};
|
|
4479
4069
|
var serializeAws_restJson1OutputGroupSettings = function (input, context) {
|
|
4480
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CmafGroupSettings
|
|
4481
|
-
input.CmafGroupSettings !== null && {
|
|
4070
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CmafGroupSettings != null && {
|
|
4482
4071
|
cmafGroupSettings: serializeAws_restJson1CmafGroupSettings(input.CmafGroupSettings, context),
|
|
4483
|
-
})), (input.DashIsoGroupSettings
|
|
4484
|
-
input.DashIsoGroupSettings !== null && {
|
|
4072
|
+
})), (input.DashIsoGroupSettings != null && {
|
|
4485
4073
|
dashIsoGroupSettings: serializeAws_restJson1DashIsoGroupSettings(input.DashIsoGroupSettings, context),
|
|
4486
|
-
})), (input.FileGroupSettings
|
|
4487
|
-
input.FileGroupSettings !== null && {
|
|
4074
|
+
})), (input.FileGroupSettings != null && {
|
|
4488
4075
|
fileGroupSettings: serializeAws_restJson1FileGroupSettings(input.FileGroupSettings, context),
|
|
4489
|
-
})), (input.HlsGroupSettings
|
|
4490
|
-
input.HlsGroupSettings !== null && {
|
|
4076
|
+
})), (input.HlsGroupSettings != null && {
|
|
4491
4077
|
hlsGroupSettings: serializeAws_restJson1HlsGroupSettings(input.HlsGroupSettings, context),
|
|
4492
|
-
})), (input.MsSmoothGroupSettings
|
|
4493
|
-
input.MsSmoothGroupSettings !== null && {
|
|
4078
|
+
})), (input.MsSmoothGroupSettings != null && {
|
|
4494
4079
|
msSmoothGroupSettings: serializeAws_restJson1MsSmoothGroupSettings(input.MsSmoothGroupSettings, context),
|
|
4495
|
-
})), (input.Type
|
|
4080
|
+
})), (input.Type != null && { type: input.Type }));
|
|
4496
4081
|
};
|
|
4497
4082
|
var serializeAws_restJson1OutputSettings = function (input, context) {
|
|
4498
|
-
return __assign({}, (input.HlsSettings
|
|
4499
|
-
input.HlsSettings !== null && { hlsSettings: serializeAws_restJson1HlsSettings(input.HlsSettings, context) }));
|
|
4083
|
+
return __assign({}, (input.HlsSettings != null && { hlsSettings: serializeAws_restJson1HlsSettings(input.HlsSettings, context) }));
|
|
4500
4084
|
};
|
|
4501
4085
|
var serializeAws_restJson1PartnerWatermarking = function (input, context) {
|
|
4502
|
-
return __assign({}, (input.NexguardFileMarkerSettings
|
|
4503
|
-
input.NexguardFileMarkerSettings !== null && {
|
|
4086
|
+
return __assign({}, (input.NexguardFileMarkerSettings != null && {
|
|
4504
4087
|
nexguardFileMarkerSettings: serializeAws_restJson1NexGuardFileMarkerSettings(input.NexguardFileMarkerSettings, context),
|
|
4505
4088
|
}));
|
|
4506
4089
|
};
|
|
4507
4090
|
var serializeAws_restJson1Policy = function (input, context) {
|
|
4508
|
-
return __assign(__assign(__assign({}, (input.HttpInputs
|
|
4091
|
+
return __assign(__assign(__assign({}, (input.HttpInputs != null && { httpInputs: input.HttpInputs })), (input.HttpsInputs != null && { httpsInputs: input.HttpsInputs })), (input.S3Inputs != null && { s3Inputs: input.S3Inputs }));
|
|
4509
4092
|
};
|
|
4510
4093
|
var serializeAws_restJson1PresetSettings = function (input, context) {
|
|
4511
|
-
return __assign(__assign(__assign(__assign({}, (input.AudioDescriptions
|
|
4512
|
-
input.AudioDescriptions !== null && {
|
|
4094
|
+
return __assign(__assign(__assign(__assign({}, (input.AudioDescriptions != null && {
|
|
4513
4095
|
audioDescriptions: serializeAws_restJson1__listOfAudioDescription(input.AudioDescriptions, context),
|
|
4514
|
-
})), (input.CaptionDescriptions
|
|
4515
|
-
input.CaptionDescriptions !== null && {
|
|
4096
|
+
})), (input.CaptionDescriptions != null && {
|
|
4516
4097
|
captionDescriptions: serializeAws_restJson1__listOfCaptionDescriptionPreset(input.CaptionDescriptions, context),
|
|
4517
|
-
})), (input.ContainerSettings
|
|
4518
|
-
input.ContainerSettings !== null && {
|
|
4098
|
+
})), (input.ContainerSettings != null && {
|
|
4519
4099
|
containerSettings: serializeAws_restJson1ContainerSettings(input.ContainerSettings, context),
|
|
4520
|
-
})), (input.VideoDescription
|
|
4521
|
-
input.VideoDescription !== null && {
|
|
4100
|
+
})), (input.VideoDescription != null && {
|
|
4522
4101
|
videoDescription: serializeAws_restJson1VideoDescription(input.VideoDescription, context),
|
|
4523
4102
|
}));
|
|
4524
4103
|
};
|
|
4525
4104
|
var serializeAws_restJson1ProresSettings = function (input, context) {
|
|
4526
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChromaSampling
|
|
4527
|
-
input.ChromaSampling !== null && { chromaSampling: input.ChromaSampling })), (input.CodecProfile !== undefined && input.CodecProfile !== null && { codecProfile: input.CodecProfile })), (input.FramerateControl !== undefined &&
|
|
4528
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4529
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
4105
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChromaSampling != null && { chromaSampling: input.ChromaSampling })), (input.CodecProfile != null && { codecProfile: input.CodecProfile })), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
4530
4106
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4531
|
-
})), (input.FramerateDenominator
|
|
4532
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4533
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.InterlaceMode !== undefined && input.InterlaceMode !== null && { interlaceMode: input.InterlaceMode })), (input.ParControl !== undefined && input.ParControl !== null && { parControl: input.ParControl })), (input.ParDenominator !== undefined &&
|
|
4534
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.ScanTypeConversionMode !== undefined &&
|
|
4535
|
-
input.ScanTypeConversionMode !== null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SlowPal !== undefined && input.SlowPal !== null && { slowPal: input.SlowPal })), (input.Telecine !== undefined && input.Telecine !== null && { telecine: input.Telecine }));
|
|
4107
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.InterlaceMode != null && { interlaceMode: input.InterlaceMode })), (input.ParControl != null && { parControl: input.ParControl })), (input.ParDenominator != null && { parDenominator: input.ParDenominator })), (input.ParNumerator != null && { parNumerator: input.ParNumerator })), (input.ScanTypeConversionMode != null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SlowPal != null && { slowPal: input.SlowPal })), (input.Telecine != null && { telecine: input.Telecine }));
|
|
4536
4108
|
};
|
|
4537
4109
|
var serializeAws_restJson1Rectangle = function (input, context) {
|
|
4538
|
-
return __assign(__assign(__assign(__assign({}, (input.Height
|
|
4110
|
+
return __assign(__assign(__assign(__assign({}, (input.Height != null && { height: input.Height })), (input.Width != null && { width: input.Width })), (input.X != null && { x: input.X })), (input.Y != null && { y: input.Y }));
|
|
4539
4111
|
};
|
|
4540
4112
|
var serializeAws_restJson1RemixSettings = function (input, context) {
|
|
4541
|
-
return __assign(__assign(__assign({}, (input.ChannelMapping
|
|
4542
|
-
input.ChannelMapping !== null && {
|
|
4113
|
+
return __assign(__assign(__assign({}, (input.ChannelMapping != null && {
|
|
4543
4114
|
channelMapping: serializeAws_restJson1ChannelMapping(input.ChannelMapping, context),
|
|
4544
|
-
})), (input.ChannelsIn
|
|
4115
|
+
})), (input.ChannelsIn != null && { channelsIn: input.ChannelsIn })), (input.ChannelsOut != null && { channelsOut: input.ChannelsOut }));
|
|
4545
4116
|
};
|
|
4546
4117
|
var serializeAws_restJson1ReservationPlanSettings = function (input, context) {
|
|
4547
|
-
return __assign(__assign(__assign({}, (input.Commitment
|
|
4118
|
+
return __assign(__assign(__assign({}, (input.Commitment != null && { commitment: input.Commitment })), (input.RenewalType != null && { renewalType: input.RenewalType })), (input.ReservedSlots != null && { reservedSlots: input.ReservedSlots }));
|
|
4548
4119
|
};
|
|
4549
4120
|
var serializeAws_restJson1S3DestinationAccessControl = function (input, context) {
|
|
4550
|
-
return __assign({}, (input.CannedAcl
|
|
4121
|
+
return __assign({}, (input.CannedAcl != null && { cannedAcl: input.CannedAcl }));
|
|
4551
4122
|
};
|
|
4552
4123
|
var serializeAws_restJson1S3DestinationSettings = function (input, context) {
|
|
4553
|
-
return __assign(__assign({}, (input.AccessControl
|
|
4554
|
-
input.AccessControl !== null && {
|
|
4124
|
+
return __assign(__assign({}, (input.AccessControl != null && {
|
|
4555
4125
|
accessControl: serializeAws_restJson1S3DestinationAccessControl(input.AccessControl, context),
|
|
4556
|
-
})), (input.Encryption
|
|
4557
|
-
input.Encryption !== null && {
|
|
4126
|
+
})), (input.Encryption != null && {
|
|
4558
4127
|
encryption: serializeAws_restJson1S3EncryptionSettings(input.Encryption, context),
|
|
4559
4128
|
}));
|
|
4560
4129
|
};
|
|
4561
4130
|
var serializeAws_restJson1S3EncryptionSettings = function (input, context) {
|
|
4562
|
-
return __assign(__assign(__assign({}, (input.EncryptionType
|
|
4563
|
-
input.EncryptionType !== null && { encryptionType: input.EncryptionType })), (input.KmsEncryptionContext !== undefined &&
|
|
4564
|
-
input.KmsEncryptionContext !== null && { kmsEncryptionContext: input.KmsEncryptionContext })), (input.KmsKeyArn !== undefined && input.KmsKeyArn !== null && { kmsKeyArn: input.KmsKeyArn }));
|
|
4131
|
+
return __assign(__assign(__assign({}, (input.EncryptionType != null && { encryptionType: input.EncryptionType })), (input.KmsEncryptionContext != null && { kmsEncryptionContext: input.KmsEncryptionContext })), (input.KmsKeyArn != null && { kmsKeyArn: input.KmsKeyArn }));
|
|
4565
4132
|
};
|
|
4566
4133
|
var serializeAws_restJson1SccDestinationSettings = function (input, context) {
|
|
4567
|
-
return __assign({}, (input.Framerate
|
|
4134
|
+
return __assign({}, (input.Framerate != null && { framerate: input.Framerate }));
|
|
4568
4135
|
};
|
|
4569
4136
|
var serializeAws_restJson1SpekeKeyProvider = function (input, context) {
|
|
4570
|
-
return __assign(__assign(__assign(__assign({}, (input.CertificateArn
|
|
4571
|
-
input.CertificateArn !== null && { certificateArn: input.CertificateArn })), (input.ResourceId !== undefined && input.ResourceId !== null && { resourceId: input.ResourceId })), (input.SystemIds !== undefined &&
|
|
4572
|
-
input.SystemIds !== null && {
|
|
4137
|
+
return __assign(__assign(__assign(__assign({}, (input.CertificateArn != null && { certificateArn: input.CertificateArn })), (input.ResourceId != null && { resourceId: input.ResourceId })), (input.SystemIds != null && {
|
|
4573
4138
|
systemIds: serializeAws_restJson1__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12(input.SystemIds, context),
|
|
4574
|
-
})), (input.Url
|
|
4139
|
+
})), (input.Url != null && { url: input.Url }));
|
|
4575
4140
|
};
|
|
4576
4141
|
var serializeAws_restJson1SpekeKeyProviderCmaf = function (input, context) {
|
|
4577
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CertificateArn
|
|
4578
|
-
input.CertificateArn !== null && { certificateArn: input.CertificateArn })), (input.DashSignaledSystemIds !== undefined &&
|
|
4579
|
-
input.DashSignaledSystemIds !== null && {
|
|
4142
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CertificateArn != null && { certificateArn: input.CertificateArn })), (input.DashSignaledSystemIds != null && {
|
|
4580
4143
|
dashSignaledSystemIds: serializeAws_restJson1__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(input.DashSignaledSystemIds, context),
|
|
4581
|
-
})), (input.HlsSignaledSystemIds
|
|
4582
|
-
input.HlsSignaledSystemIds !== null && {
|
|
4144
|
+
})), (input.HlsSignaledSystemIds != null && {
|
|
4583
4145
|
hlsSignaledSystemIds: serializeAws_restJson1__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(input.HlsSignaledSystemIds, context),
|
|
4584
|
-
})), (input.ResourceId
|
|
4146
|
+
})), (input.ResourceId != null && { resourceId: input.ResourceId })), (input.Url != null && { url: input.Url }));
|
|
4585
4147
|
};
|
|
4586
4148
|
var serializeAws_restJson1SrtDestinationSettings = function (input, context) {
|
|
4587
|
-
return __assign({}, (input.StylePassthrough
|
|
4588
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }));
|
|
4149
|
+
return __assign({}, (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough }));
|
|
4589
4150
|
};
|
|
4590
4151
|
var serializeAws_restJson1StaticKeyProvider = function (input, context) {
|
|
4591
|
-
return __assign(__assign(__assign(__assign({}, (input.KeyFormat
|
|
4592
|
-
input.KeyFormatVersions !== null && { keyFormatVersions: input.KeyFormatVersions })), (input.StaticKeyValue !== undefined &&
|
|
4593
|
-
input.StaticKeyValue !== null && { staticKeyValue: input.StaticKeyValue })), (input.Url !== undefined && input.Url !== null && { url: input.Url }));
|
|
4152
|
+
return __assign(__assign(__assign(__assign({}, (input.KeyFormat != null && { keyFormat: input.KeyFormat })), (input.KeyFormatVersions != null && { keyFormatVersions: input.KeyFormatVersions })), (input.StaticKeyValue != null && { staticKeyValue: input.StaticKeyValue })), (input.Url != null && { url: input.Url }));
|
|
4594
4153
|
};
|
|
4595
4154
|
var serializeAws_restJson1TeletextDestinationSettings = function (input, context) {
|
|
4596
|
-
return __assign(__assign({}, (input.PageNumber
|
|
4597
|
-
input.PageTypes !== null && {
|
|
4155
|
+
return __assign(__assign({}, (input.PageNumber != null && { pageNumber: input.PageNumber })), (input.PageTypes != null && {
|
|
4598
4156
|
pageTypes: serializeAws_restJson1__listOfTeletextPageType(input.PageTypes, context),
|
|
4599
4157
|
}));
|
|
4600
4158
|
};
|
|
4601
4159
|
var serializeAws_restJson1TeletextSourceSettings = function (input, context) {
|
|
4602
|
-
return __assign({}, (input.PageNumber
|
|
4160
|
+
return __assign({}, (input.PageNumber != null && { pageNumber: input.PageNumber }));
|
|
4603
4161
|
};
|
|
4604
4162
|
var serializeAws_restJson1TimecodeBurnin = function (input, context) {
|
|
4605
|
-
return __assign(__assign(__assign({}, (input.FontSize
|
|
4163
|
+
return __assign(__assign(__assign({}, (input.FontSize != null && { fontSize: input.FontSize })), (input.Position != null && { position: input.Position })), (input.Prefix != null && { prefix: input.Prefix }));
|
|
4606
4164
|
};
|
|
4607
4165
|
var serializeAws_restJson1TimecodeConfig = function (input, context) {
|
|
4608
|
-
return __assign(__assign(__assign(__assign({}, (input.Anchor
|
|
4609
|
-
input.TimestampOffset !== null && { timestampOffset: input.TimestampOffset }));
|
|
4166
|
+
return __assign(__assign(__assign(__assign({}, (input.Anchor != null && { anchor: input.Anchor })), (input.Source != null && { source: input.Source })), (input.Start != null && { start: input.Start })), (input.TimestampOffset != null && { timestampOffset: input.TimestampOffset }));
|
|
4610
4167
|
};
|
|
4611
4168
|
var serializeAws_restJson1TimedMetadataInsertion = function (input, context) {
|
|
4612
|
-
return __assign({}, (input.Id3Insertions
|
|
4613
|
-
input.Id3Insertions !== null && {
|
|
4169
|
+
return __assign({}, (input.Id3Insertions != null && {
|
|
4614
4170
|
id3Insertions: serializeAws_restJson1__listOfId3Insertion(input.Id3Insertions, context),
|
|
4615
4171
|
}));
|
|
4616
4172
|
};
|
|
4617
4173
|
var serializeAws_restJson1TrackSourceSettings = function (input, context) {
|
|
4618
|
-
return __assign({}, (input.TrackNumber
|
|
4174
|
+
return __assign({}, (input.TrackNumber != null && { trackNumber: input.TrackNumber }));
|
|
4619
4175
|
};
|
|
4620
4176
|
var serializeAws_restJson1TtmlDestinationSettings = function (input, context) {
|
|
4621
|
-
return __assign({}, (input.StylePassthrough
|
|
4622
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }));
|
|
4177
|
+
return __assign({}, (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough }));
|
|
4623
4178
|
};
|
|
4624
4179
|
var serializeAws_restJson1Vc3Settings = function (input, context) {
|
|
4625
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.FramerateControl
|
|
4626
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4627
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
4180
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
4628
4181
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4629
|
-
})), (input.FramerateDenominator
|
|
4630
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4631
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.InterlaceMode !== undefined && input.InterlaceMode !== null && { interlaceMode: input.InterlaceMode })), (input.ScanTypeConversionMode !== undefined &&
|
|
4632
|
-
input.ScanTypeConversionMode !== null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SlowPal !== undefined && input.SlowPal !== null && { slowPal: input.SlowPal })), (input.Telecine !== undefined && input.Telecine !== null && { telecine: input.Telecine })), (input.Vc3Class !== undefined && input.Vc3Class !== null && { vc3Class: input.Vc3Class }));
|
|
4182
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.InterlaceMode != null && { interlaceMode: input.InterlaceMode })), (input.ScanTypeConversionMode != null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SlowPal != null && { slowPal: input.SlowPal })), (input.Telecine != null && { telecine: input.Telecine })), (input.Vc3Class != null && { vc3Class: input.Vc3Class }));
|
|
4633
4183
|
};
|
|
4634
4184
|
var serializeAws_restJson1VideoCodecSettings = function (input, context) {
|
|
4635
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Av1Settings
|
|
4636
|
-
input.Av1Settings !== null && { av1Settings: serializeAws_restJson1Av1Settings(input.Av1Settings, context) })), (input.AvcIntraSettings !== undefined &&
|
|
4637
|
-
input.AvcIntraSettings !== null && {
|
|
4185
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Av1Settings != null && { av1Settings: serializeAws_restJson1Av1Settings(input.Av1Settings, context) })), (input.AvcIntraSettings != null && {
|
|
4638
4186
|
avcIntraSettings: serializeAws_restJson1AvcIntraSettings(input.AvcIntraSettings, context),
|
|
4639
|
-
})), (input.Codec
|
|
4640
|
-
input.FrameCaptureSettings !== null && {
|
|
4187
|
+
})), (input.Codec != null && { codec: input.Codec })), (input.FrameCaptureSettings != null && {
|
|
4641
4188
|
frameCaptureSettings: serializeAws_restJson1FrameCaptureSettings(input.FrameCaptureSettings, context),
|
|
4642
|
-
})), (input.H264Settings
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
input.
|
|
4189
|
+
})), (input.H264Settings != null && {
|
|
4190
|
+
h264Settings: serializeAws_restJson1H264Settings(input.H264Settings, context),
|
|
4191
|
+
})), (input.H265Settings != null && {
|
|
4192
|
+
h265Settings: serializeAws_restJson1H265Settings(input.H265Settings, context),
|
|
4193
|
+
})), (input.Mpeg2Settings != null && {
|
|
4646
4194
|
mpeg2Settings: serializeAws_restJson1Mpeg2Settings(input.Mpeg2Settings, context),
|
|
4647
|
-
})), (input.ProresSettings
|
|
4648
|
-
input.ProresSettings !== null && {
|
|
4195
|
+
})), (input.ProresSettings != null && {
|
|
4649
4196
|
proresSettings: serializeAws_restJson1ProresSettings(input.ProresSettings, context),
|
|
4650
|
-
})), (input.Vc3Settings
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
input.Vp9Settings !== null && { vp9Settings: serializeAws_restJson1Vp9Settings(input.Vp9Settings, context) })), (input.XavcSettings !== undefined &&
|
|
4654
|
-
input.XavcSettings !== null && { xavcSettings: serializeAws_restJson1XavcSettings(input.XavcSettings, context) }));
|
|
4197
|
+
})), (input.Vc3Settings != null && { vc3Settings: serializeAws_restJson1Vc3Settings(input.Vc3Settings, context) })), (input.Vp8Settings != null && { vp8Settings: serializeAws_restJson1Vp8Settings(input.Vp8Settings, context) })), (input.Vp9Settings != null && { vp9Settings: serializeAws_restJson1Vp9Settings(input.Vp9Settings, context) })), (input.XavcSettings != null && {
|
|
4198
|
+
xavcSettings: serializeAws_restJson1XavcSettings(input.XavcSettings, context),
|
|
4199
|
+
}));
|
|
4655
4200
|
};
|
|
4656
4201
|
var serializeAws_restJson1VideoDescription = function (input, context) {
|
|
4657
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AfdSignaling
|
|
4658
|
-
input.CodecSettings !== null && {
|
|
4202
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AfdSignaling != null && { afdSignaling: input.AfdSignaling })), (input.AntiAlias != null && { antiAlias: input.AntiAlias })), (input.CodecSettings != null && {
|
|
4659
4203
|
codecSettings: serializeAws_restJson1VideoCodecSettings(input.CodecSettings, context),
|
|
4660
|
-
})), (input.ColorMetadata
|
|
4661
|
-
input.Crop !== null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DropFrameTimecode !== undefined &&
|
|
4662
|
-
input.DropFrameTimecode !== null && { dropFrameTimecode: input.DropFrameTimecode })), (input.FixedAfd !== undefined && input.FixedAfd !== null && { fixedAfd: input.FixedAfd })), (input.Height !== undefined && input.Height !== null && { height: input.Height })), (input.Position !== undefined &&
|
|
4663
|
-
input.Position !== null && { position: serializeAws_restJson1Rectangle(input.Position, context) })), (input.RespondToAfd !== undefined && input.RespondToAfd !== null && { respondToAfd: input.RespondToAfd })), (input.ScalingBehavior !== undefined &&
|
|
4664
|
-
input.ScalingBehavior !== null && { scalingBehavior: input.ScalingBehavior })), (input.Sharpness !== undefined && input.Sharpness !== null && { sharpness: input.Sharpness })), (input.TimecodeInsertion !== undefined &&
|
|
4665
|
-
input.TimecodeInsertion !== null && { timecodeInsertion: input.TimecodeInsertion })), (input.VideoPreprocessors !== undefined &&
|
|
4666
|
-
input.VideoPreprocessors !== null && {
|
|
4204
|
+
})), (input.ColorMetadata != null && { colorMetadata: input.ColorMetadata })), (input.Crop != null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DropFrameTimecode != null && { dropFrameTimecode: input.DropFrameTimecode })), (input.FixedAfd != null && { fixedAfd: input.FixedAfd })), (input.Height != null && { height: input.Height })), (input.Position != null && { position: serializeAws_restJson1Rectangle(input.Position, context) })), (input.RespondToAfd != null && { respondToAfd: input.RespondToAfd })), (input.ScalingBehavior != null && { scalingBehavior: input.ScalingBehavior })), (input.Sharpness != null && { sharpness: input.Sharpness })), (input.TimecodeInsertion != null && { timecodeInsertion: input.TimecodeInsertion })), (input.VideoPreprocessors != null && {
|
|
4667
4205
|
videoPreprocessors: serializeAws_restJson1VideoPreprocessor(input.VideoPreprocessors, context),
|
|
4668
|
-
})), (input.Width
|
|
4206
|
+
})), (input.Width != null && { width: input.Width }));
|
|
4669
4207
|
};
|
|
4670
4208
|
var serializeAws_restJson1VideoPreprocessor = function (input, context) {
|
|
4671
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColorCorrector
|
|
4672
|
-
input.ColorCorrector !== null && {
|
|
4209
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColorCorrector != null && {
|
|
4673
4210
|
colorCorrector: serializeAws_restJson1ColorCorrector(input.ColorCorrector, context),
|
|
4674
|
-
})), (input.Deinterlacer
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
input.Hdr10Plus !== null && { hdr10Plus: serializeAws_restJson1Hdr10Plus(input.Hdr10Plus, context) })), (input.ImageInserter !== undefined &&
|
|
4678
|
-
input.ImageInserter !== null && {
|
|
4211
|
+
})), (input.Deinterlacer != null && {
|
|
4212
|
+
deinterlacer: serializeAws_restJson1Deinterlacer(input.Deinterlacer, context),
|
|
4213
|
+
})), (input.DolbyVision != null && { dolbyVision: serializeAws_restJson1DolbyVision(input.DolbyVision, context) })), (input.Hdr10Plus != null && { hdr10Plus: serializeAws_restJson1Hdr10Plus(input.Hdr10Plus, context) })), (input.ImageInserter != null && {
|
|
4679
4214
|
imageInserter: serializeAws_restJson1ImageInserter(input.ImageInserter, context),
|
|
4680
|
-
})), (input.NoiseReducer
|
|
4681
|
-
|
|
4682
|
-
|
|
4215
|
+
})), (input.NoiseReducer != null && {
|
|
4216
|
+
noiseReducer: serializeAws_restJson1NoiseReducer(input.NoiseReducer, context),
|
|
4217
|
+
})), (input.PartnerWatermarking != null && {
|
|
4683
4218
|
partnerWatermarking: serializeAws_restJson1PartnerWatermarking(input.PartnerWatermarking, context),
|
|
4684
|
-
})), (input.TimecodeBurnin
|
|
4685
|
-
input.TimecodeBurnin !== null && {
|
|
4219
|
+
})), (input.TimecodeBurnin != null && {
|
|
4686
4220
|
timecodeBurnin: serializeAws_restJson1TimecodeBurnin(input.TimecodeBurnin, context),
|
|
4687
4221
|
}));
|
|
4688
4222
|
};
|
|
4689
4223
|
var serializeAws_restJson1VideoSelector = function (input, context) {
|
|
4690
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlphaBehavior
|
|
4691
|
-
input.ColorSpaceUsage !== null && { colorSpaceUsage: input.ColorSpaceUsage })), (input.EmbeddedTimecodeOverride !== undefined &&
|
|
4692
|
-
input.EmbeddedTimecodeOverride !== null && { embeddedTimecodeOverride: input.EmbeddedTimecodeOverride })), (input.Hdr10Metadata !== undefined &&
|
|
4693
|
-
input.Hdr10Metadata !== null && {
|
|
4224
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlphaBehavior != null && { alphaBehavior: input.AlphaBehavior })), (input.ColorSpace != null && { colorSpace: input.ColorSpace })), (input.ColorSpaceUsage != null && { colorSpaceUsage: input.ColorSpaceUsage })), (input.EmbeddedTimecodeOverride != null && { embeddedTimecodeOverride: input.EmbeddedTimecodeOverride })), (input.Hdr10Metadata != null && {
|
|
4694
4225
|
hdr10Metadata: serializeAws_restJson1Hdr10Metadata(input.Hdr10Metadata, context),
|
|
4695
|
-
})), (input.PadVideo
|
|
4226
|
+
})), (input.PadVideo != null && { padVideo: input.PadVideo })), (input.Pid != null && { pid: input.Pid })), (input.ProgramNumber != null && { programNumber: input.ProgramNumber })), (input.Rotate != null && { rotate: input.Rotate })), (input.SampleRange != null && { sampleRange: input.SampleRange }));
|
|
4696
4227
|
};
|
|
4697
4228
|
var serializeAws_restJson1VorbisSettings = function (input, context) {
|
|
4698
|
-
return __assign(__assign(__assign({}, (input.Channels
|
|
4229
|
+
return __assign(__assign(__assign({}, (input.Channels != null && { channels: input.Channels })), (input.SampleRate != null && { sampleRate: input.SampleRate })), (input.VbrQuality != null && { vbrQuality: input.VbrQuality }));
|
|
4699
4230
|
};
|
|
4700
4231
|
var serializeAws_restJson1Vp8Settings = function (input, context) {
|
|
4701
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
4702
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4703
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
4232
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: input.Bitrate })), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
4704
4233
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4705
|
-
})), (input.FramerateDenominator
|
|
4706
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4707
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopSize !== undefined && input.GopSize !== null && { gopSize: __serializeFloat(input.GopSize) })), (input.HrdBufferSize !== undefined && input.HrdBufferSize !== null && { hrdBufferSize: input.HrdBufferSize })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate })), (input.ParControl !== undefined && input.ParControl !== null && { parControl: input.ParControl })), (input.ParDenominator !== undefined &&
|
|
4708
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel !== undefined &&
|
|
4709
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.RateControlMode !== undefined &&
|
|
4710
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode }));
|
|
4234
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) })), (input.HrdBufferSize != null && { hrdBufferSize: input.HrdBufferSize })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.ParControl != null && { parControl: input.ParControl })), (input.ParDenominator != null && { parDenominator: input.ParDenominator })), (input.ParNumerator != null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel })), (input.RateControlMode != null && { rateControlMode: input.RateControlMode }));
|
|
4711
4235
|
};
|
|
4712
4236
|
var serializeAws_restJson1Vp9Settings = function (input, context) {
|
|
4713
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
4714
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4715
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
4237
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: input.Bitrate })), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
4716
4238
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4717
|
-
})), (input.FramerateDenominator
|
|
4718
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4719
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopSize !== undefined && input.GopSize !== null && { gopSize: __serializeFloat(input.GopSize) })), (input.HrdBufferSize !== undefined && input.HrdBufferSize !== null && { hrdBufferSize: input.HrdBufferSize })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate })), (input.ParControl !== undefined && input.ParControl !== null && { parControl: input.ParControl })), (input.ParDenominator !== undefined &&
|
|
4720
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel !== undefined &&
|
|
4721
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.RateControlMode !== undefined &&
|
|
4722
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode }));
|
|
4239
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) })), (input.HrdBufferSize != null && { hrdBufferSize: input.HrdBufferSize })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.ParControl != null && { parControl: input.ParControl })), (input.ParDenominator != null && { parDenominator: input.ParDenominator })), (input.ParNumerator != null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel })), (input.RateControlMode != null && { rateControlMode: input.RateControlMode }));
|
|
4723
4240
|
};
|
|
4724
4241
|
var serializeAws_restJson1WavSettings = function (input, context) {
|
|
4725
|
-
return __assign(__assign(__assign(__assign({}, (input.BitDepth
|
|
4242
|
+
return __assign(__assign(__assign(__assign({}, (input.BitDepth != null && { bitDepth: input.BitDepth })), (input.Channels != null && { channels: input.Channels })), (input.Format != null && { format: input.Format })), (input.SampleRate != null && { sampleRate: input.SampleRate }));
|
|
4726
4243
|
};
|
|
4727
4244
|
var serializeAws_restJson1WebvttDestinationSettings = function (input, context) {
|
|
4728
|
-
return __assign(__assign({}, (input.Accessibility
|
|
4729
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }));
|
|
4245
|
+
return __assign(__assign({}, (input.Accessibility != null && { accessibility: input.Accessibility })), (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough }));
|
|
4730
4246
|
};
|
|
4731
4247
|
var serializeAws_restJson1WebvttHlsSourceSettings = function (input, context) {
|
|
4732
|
-
return __assign(__assign(__assign({}, (input.RenditionGroupId
|
|
4733
|
-
input.RenditionGroupId !== null && { renditionGroupId: input.RenditionGroupId })), (input.RenditionLanguageCode !== undefined &&
|
|
4734
|
-
input.RenditionLanguageCode !== null && { renditionLanguageCode: input.RenditionLanguageCode })), (input.RenditionName !== undefined && input.RenditionName !== null && { renditionName: input.RenditionName }));
|
|
4248
|
+
return __assign(__assign(__assign({}, (input.RenditionGroupId != null && { renditionGroupId: input.RenditionGroupId })), (input.RenditionLanguageCode != null && { renditionLanguageCode: input.RenditionLanguageCode })), (input.RenditionName != null && { renditionName: input.RenditionName }));
|
|
4735
4249
|
};
|
|
4736
4250
|
var serializeAws_restJson1Xavc4kIntraCbgProfileSettings = function (input, context) {
|
|
4737
|
-
return __assign({}, (input.XavcClass
|
|
4251
|
+
return __assign({}, (input.XavcClass != null && { xavcClass: input.XavcClass }));
|
|
4738
4252
|
};
|
|
4739
4253
|
var serializeAws_restJson1Xavc4kIntraVbrProfileSettings = function (input, context) {
|
|
4740
|
-
return __assign({}, (input.XavcClass
|
|
4254
|
+
return __assign({}, (input.XavcClass != null && { xavcClass: input.XavcClass }));
|
|
4741
4255
|
};
|
|
4742
4256
|
var serializeAws_restJson1Xavc4kProfileSettings = function (input, context) {
|
|
4743
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BitrateClass
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.Slices !== undefined && input.Slices !== null && { slices: input.Slices }));
|
|
4257
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BitrateClass != null && { bitrateClass: input.BitrateClass })), (input.CodecProfile != null && { codecProfile: input.CodecProfile })), (input.FlickerAdaptiveQuantization != null && {
|
|
4258
|
+
flickerAdaptiveQuantization: input.FlickerAdaptiveQuantization,
|
|
4259
|
+
})), (input.GopBReference != null && { gopBReference: input.GopBReference })), (input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence })), (input.HrdBufferSize != null && { hrdBufferSize: input.HrdBufferSize })), (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel })), (input.Slices != null && { slices: input.Slices }));
|
|
4747
4260
|
};
|
|
4748
4261
|
var serializeAws_restJson1XavcHdIntraCbgProfileSettings = function (input, context) {
|
|
4749
|
-
return __assign({}, (input.XavcClass
|
|
4262
|
+
return __assign({}, (input.XavcClass != null && { xavcClass: input.XavcClass }));
|
|
4750
4263
|
};
|
|
4751
4264
|
var serializeAws_restJson1XavcHdProfileSettings = function (input, context) {
|
|
4752
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BitrateClass
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.Slices !== undefined && input.Slices !== null && { slices: input.Slices })), (input.Telecine !== undefined && input.Telecine !== null && { telecine: input.Telecine }));
|
|
4265
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BitrateClass != null && { bitrateClass: input.BitrateClass })), (input.FlickerAdaptiveQuantization != null && {
|
|
4266
|
+
flickerAdaptiveQuantization: input.FlickerAdaptiveQuantization,
|
|
4267
|
+
})), (input.GopBReference != null && { gopBReference: input.GopBReference })), (input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence })), (input.HrdBufferSize != null && { hrdBufferSize: input.HrdBufferSize })), (input.InterlaceMode != null && { interlaceMode: input.InterlaceMode })), (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel })), (input.Slices != null && { slices: input.Slices })), (input.Telecine != null && { telecine: input.Telecine }));
|
|
4756
4268
|
};
|
|
4757
4269
|
var serializeAws_restJson1XavcSettings = function (input, context) {
|
|
4758
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization
|
|
4759
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.EntropyEncoding !== undefined &&
|
|
4760
|
-
input.EntropyEncoding !== null && { entropyEncoding: input.EntropyEncoding })), (input.FramerateControl !== undefined &&
|
|
4761
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4762
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
4270
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization != null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.EntropyEncoding != null && { entropyEncoding: input.EntropyEncoding })), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
4763
4271
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4764
|
-
})), (input.FramerateDenominator
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
input.SpatialAdaptiveQuantization !== null && { spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization })), (input.TemporalAdaptiveQuantization !== undefined &&
|
|
4768
|
-
input.TemporalAdaptiveQuantization !== null && {
|
|
4272
|
+
})), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.Profile != null && { profile: input.Profile })), (input.SlowPal != null && { slowPal: input.SlowPal })), (input.Softness != null && { softness: input.Softness })), (input.SpatialAdaptiveQuantization != null && {
|
|
4273
|
+
spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization,
|
|
4274
|
+
})), (input.TemporalAdaptiveQuantization != null && {
|
|
4769
4275
|
temporalAdaptiveQuantization: input.TemporalAdaptiveQuantization,
|
|
4770
|
-
})), (input.Xavc4kIntraCbgProfileSettings
|
|
4771
|
-
input.Xavc4kIntraCbgProfileSettings !== null && {
|
|
4276
|
+
})), (input.Xavc4kIntraCbgProfileSettings != null && {
|
|
4772
4277
|
xavc4kIntraCbgProfileSettings: serializeAws_restJson1Xavc4kIntraCbgProfileSettings(input.Xavc4kIntraCbgProfileSettings, context),
|
|
4773
|
-
})), (input.Xavc4kIntraVbrProfileSettings
|
|
4774
|
-
input.Xavc4kIntraVbrProfileSettings !== null && {
|
|
4278
|
+
})), (input.Xavc4kIntraVbrProfileSettings != null && {
|
|
4775
4279
|
xavc4kIntraVbrProfileSettings: serializeAws_restJson1Xavc4kIntraVbrProfileSettings(input.Xavc4kIntraVbrProfileSettings, context),
|
|
4776
|
-
})), (input.Xavc4kProfileSettings
|
|
4777
|
-
input.Xavc4kProfileSettings !== null && {
|
|
4280
|
+
})), (input.Xavc4kProfileSettings != null && {
|
|
4778
4281
|
xavc4kProfileSettings: serializeAws_restJson1Xavc4kProfileSettings(input.Xavc4kProfileSettings, context),
|
|
4779
|
-
})), (input.XavcHdIntraCbgProfileSettings
|
|
4780
|
-
input.XavcHdIntraCbgProfileSettings !== null && {
|
|
4282
|
+
})), (input.XavcHdIntraCbgProfileSettings != null && {
|
|
4781
4283
|
xavcHdIntraCbgProfileSettings: serializeAws_restJson1XavcHdIntraCbgProfileSettings(input.XavcHdIntraCbgProfileSettings, context),
|
|
4782
|
-
})), (input.XavcHdProfileSettings
|
|
4783
|
-
input.XavcHdProfileSettings !== null && {
|
|
4284
|
+
})), (input.XavcHdProfileSettings != null && {
|
|
4784
4285
|
xavcHdProfileSettings: serializeAws_restJson1XavcHdProfileSettings(input.XavcHdProfileSettings, context),
|
|
4785
4286
|
}));
|
|
4786
4287
|
};
|
|
@@ -5313,59 +4814,41 @@ var deserializeAws_restJson1AudioChannelTaggingSettings = function (output, cont
|
|
|
5313
4814
|
};
|
|
5314
4815
|
var deserializeAws_restJson1AudioCodecSettings = function (output, context) {
|
|
5315
4816
|
return {
|
|
5316
|
-
AacSettings: output.aacSettings
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
Ac3Settings: output.ac3Settings !== undefined && output.ac3Settings !== null
|
|
5320
|
-
? deserializeAws_restJson1Ac3Settings(output.ac3Settings, context)
|
|
5321
|
-
: undefined,
|
|
5322
|
-
AiffSettings: output.aiffSettings !== undefined && output.aiffSettings !== null
|
|
5323
|
-
? deserializeAws_restJson1AiffSettings(output.aiffSettings, context)
|
|
5324
|
-
: undefined,
|
|
4817
|
+
AacSettings: output.aacSettings != null ? deserializeAws_restJson1AacSettings(output.aacSettings, context) : undefined,
|
|
4818
|
+
Ac3Settings: output.ac3Settings != null ? deserializeAws_restJson1Ac3Settings(output.ac3Settings, context) : undefined,
|
|
4819
|
+
AiffSettings: output.aiffSettings != null ? deserializeAws_restJson1AiffSettings(output.aiffSettings, context) : undefined,
|
|
5325
4820
|
Codec: __expectString(output.codec),
|
|
5326
|
-
Eac3AtmosSettings: output.eac3AtmosSettings
|
|
4821
|
+
Eac3AtmosSettings: output.eac3AtmosSettings != null
|
|
5327
4822
|
? deserializeAws_restJson1Eac3AtmosSettings(output.eac3AtmosSettings, context)
|
|
5328
4823
|
: undefined,
|
|
5329
|
-
Eac3Settings: output.eac3Settings
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
: undefined,
|
|
5335
|
-
Mp3Settings: output.mp3Settings !== undefined && output.mp3Settings !== null
|
|
5336
|
-
? deserializeAws_restJson1Mp3Settings(output.mp3Settings, context)
|
|
5337
|
-
: undefined,
|
|
5338
|
-
OpusSettings: output.opusSettings !== undefined && output.opusSettings !== null
|
|
5339
|
-
? deserializeAws_restJson1OpusSettings(output.opusSettings, context)
|
|
5340
|
-
: undefined,
|
|
5341
|
-
VorbisSettings: output.vorbisSettings !== undefined && output.vorbisSettings !== null
|
|
4824
|
+
Eac3Settings: output.eac3Settings != null ? deserializeAws_restJson1Eac3Settings(output.eac3Settings, context) : undefined,
|
|
4825
|
+
Mp2Settings: output.mp2Settings != null ? deserializeAws_restJson1Mp2Settings(output.mp2Settings, context) : undefined,
|
|
4826
|
+
Mp3Settings: output.mp3Settings != null ? deserializeAws_restJson1Mp3Settings(output.mp3Settings, context) : undefined,
|
|
4827
|
+
OpusSettings: output.opusSettings != null ? deserializeAws_restJson1OpusSettings(output.opusSettings, context) : undefined,
|
|
4828
|
+
VorbisSettings: output.vorbisSettings != null
|
|
5342
4829
|
? deserializeAws_restJson1VorbisSettings(output.vorbisSettings, context)
|
|
5343
4830
|
: undefined,
|
|
5344
|
-
WavSettings: output.wavSettings
|
|
5345
|
-
? deserializeAws_restJson1WavSettings(output.wavSettings, context)
|
|
5346
|
-
: undefined,
|
|
4831
|
+
WavSettings: output.wavSettings != null ? deserializeAws_restJson1WavSettings(output.wavSettings, context) : undefined,
|
|
5347
4832
|
};
|
|
5348
4833
|
};
|
|
5349
4834
|
var deserializeAws_restJson1AudioDescription = function (output, context) {
|
|
5350
4835
|
return {
|
|
5351
|
-
AudioChannelTaggingSettings: output.audioChannelTaggingSettings
|
|
4836
|
+
AudioChannelTaggingSettings: output.audioChannelTaggingSettings != null
|
|
5352
4837
|
? deserializeAws_restJson1AudioChannelTaggingSettings(output.audioChannelTaggingSettings, context)
|
|
5353
4838
|
: undefined,
|
|
5354
|
-
AudioNormalizationSettings: output.audioNormalizationSettings
|
|
4839
|
+
AudioNormalizationSettings: output.audioNormalizationSettings != null
|
|
5355
4840
|
? deserializeAws_restJson1AudioNormalizationSettings(output.audioNormalizationSettings, context)
|
|
5356
4841
|
: undefined,
|
|
5357
4842
|
AudioSourceName: __expectString(output.audioSourceName),
|
|
5358
4843
|
AudioType: __expectInt32(output.audioType),
|
|
5359
4844
|
AudioTypeControl: __expectString(output.audioTypeControl),
|
|
5360
|
-
CodecSettings: output.codecSettings
|
|
4845
|
+
CodecSettings: output.codecSettings != null
|
|
5361
4846
|
? deserializeAws_restJson1AudioCodecSettings(output.codecSettings, context)
|
|
5362
4847
|
: undefined,
|
|
5363
4848
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5364
4849
|
LanguageCode: __expectString(output.languageCode),
|
|
5365
4850
|
LanguageCodeControl: __expectString(output.languageCodeControl),
|
|
5366
|
-
RemixSettings: output.remixSettings
|
|
5367
|
-
? deserializeAws_restJson1RemixSettings(output.remixSettings, context)
|
|
5368
|
-
: undefined,
|
|
4851
|
+
RemixSettings: output.remixSettings != null ? deserializeAws_restJson1RemixSettings(output.remixSettings, context) : undefined,
|
|
5369
4852
|
StreamName: __expectString(output.streamName),
|
|
5370
4853
|
};
|
|
5371
4854
|
};
|
|
@@ -5385,43 +4868,41 @@ var deserializeAws_restJson1AudioSelector = function (output, context) {
|
|
|
5385
4868
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5386
4869
|
DefaultSelection: __expectString(output.defaultSelection),
|
|
5387
4870
|
ExternalAudioFileInput: __expectString(output.externalAudioFileInput),
|
|
5388
|
-
HlsRenditionGroupSettings: output.hlsRenditionGroupSettings
|
|
4871
|
+
HlsRenditionGroupSettings: output.hlsRenditionGroupSettings != null
|
|
5389
4872
|
? deserializeAws_restJson1HlsRenditionGroupSettings(output.hlsRenditionGroupSettings, context)
|
|
5390
4873
|
: undefined,
|
|
5391
4874
|
LanguageCode: __expectString(output.languageCode),
|
|
5392
4875
|
Offset: __expectInt32(output.offset),
|
|
5393
|
-
Pids: output.pids
|
|
4876
|
+
Pids: output.pids != null
|
|
5394
4877
|
? deserializeAws_restJson1__listOf__integerMin1Max2147483647(output.pids, context)
|
|
5395
4878
|
: undefined,
|
|
5396
4879
|
ProgramSelection: __expectInt32(output.programSelection),
|
|
5397
|
-
RemixSettings: output.remixSettings
|
|
5398
|
-
? deserializeAws_restJson1RemixSettings(output.remixSettings, context)
|
|
5399
|
-
: undefined,
|
|
4880
|
+
RemixSettings: output.remixSettings != null ? deserializeAws_restJson1RemixSettings(output.remixSettings, context) : undefined,
|
|
5400
4881
|
SelectorType: __expectString(output.selectorType),
|
|
5401
|
-
Tracks: output.tracks
|
|
4882
|
+
Tracks: output.tracks != null
|
|
5402
4883
|
? deserializeAws_restJson1__listOf__integerMin1Max2147483647(output.tracks, context)
|
|
5403
4884
|
: undefined,
|
|
5404
4885
|
};
|
|
5405
4886
|
};
|
|
5406
4887
|
var deserializeAws_restJson1AudioSelectorGroup = function (output, context) {
|
|
5407
4888
|
return {
|
|
5408
|
-
AudioSelectorNames: output.audioSelectorNames
|
|
4889
|
+
AudioSelectorNames: output.audioSelectorNames != null
|
|
5409
4890
|
? deserializeAws_restJson1__listOf__stringMin1(output.audioSelectorNames, context)
|
|
5410
4891
|
: undefined,
|
|
5411
4892
|
};
|
|
5412
4893
|
};
|
|
5413
4894
|
var deserializeAws_restJson1AutomatedAbrRule = function (output, context) {
|
|
5414
4895
|
return {
|
|
5415
|
-
AllowedRenditions: output.allowedRenditions
|
|
4896
|
+
AllowedRenditions: output.allowedRenditions != null
|
|
5416
4897
|
? deserializeAws_restJson1__listOfAllowedRenditionSize(output.allowedRenditions, context)
|
|
5417
4898
|
: undefined,
|
|
5418
|
-
ForceIncludeRenditions: output.forceIncludeRenditions
|
|
4899
|
+
ForceIncludeRenditions: output.forceIncludeRenditions != null
|
|
5419
4900
|
? deserializeAws_restJson1__listOfForceIncludeRenditionSize(output.forceIncludeRenditions, context)
|
|
5420
4901
|
: undefined,
|
|
5421
|
-
MinBottomRenditionSize: output.minBottomRenditionSize
|
|
4902
|
+
MinBottomRenditionSize: output.minBottomRenditionSize != null
|
|
5422
4903
|
? deserializeAws_restJson1MinBottomRenditionSize(output.minBottomRenditionSize, context)
|
|
5423
4904
|
: undefined,
|
|
5424
|
-
MinTopRenditionSize: output.minTopRenditionSize
|
|
4905
|
+
MinTopRenditionSize: output.minTopRenditionSize != null
|
|
5425
4906
|
? deserializeAws_restJson1MinTopRenditionSize(output.minTopRenditionSize, context)
|
|
5426
4907
|
: undefined,
|
|
5427
4908
|
Type: __expectString(output.type),
|
|
@@ -5432,14 +4913,12 @@ var deserializeAws_restJson1AutomatedAbrSettings = function (output, context) {
|
|
|
5432
4913
|
MaxAbrBitrate: __expectInt32(output.maxAbrBitrate),
|
|
5433
4914
|
MaxRenditions: __expectInt32(output.maxRenditions),
|
|
5434
4915
|
MinAbrBitrate: __expectInt32(output.minAbrBitrate),
|
|
5435
|
-
Rules: output.rules
|
|
5436
|
-
? deserializeAws_restJson1__listOfAutomatedAbrRule(output.rules, context)
|
|
5437
|
-
: undefined,
|
|
4916
|
+
Rules: output.rules != null ? deserializeAws_restJson1__listOfAutomatedAbrRule(output.rules, context) : undefined,
|
|
5438
4917
|
};
|
|
5439
4918
|
};
|
|
5440
4919
|
var deserializeAws_restJson1AutomatedEncodingSettings = function (output, context) {
|
|
5441
4920
|
return {
|
|
5442
|
-
AbrSettings: output.abrSettings
|
|
4921
|
+
AbrSettings: output.abrSettings != null
|
|
5443
4922
|
? deserializeAws_restJson1AutomatedAbrSettings(output.abrSettings, context)
|
|
5444
4923
|
: undefined,
|
|
5445
4924
|
};
|
|
@@ -5461,9 +4940,7 @@ var deserializeAws_restJson1Av1Settings = function (output, context) {
|
|
|
5461
4940
|
GopSize: __limitedParseDouble(output.gopSize),
|
|
5462
4941
|
MaxBitrate: __expectInt32(output.maxBitrate),
|
|
5463
4942
|
NumberBFramesBetweenReferenceFrames: __expectInt32(output.numberBFramesBetweenReferenceFrames),
|
|
5464
|
-
QvbrSettings: output.qvbrSettings
|
|
5465
|
-
? deserializeAws_restJson1Av1QvbrSettings(output.qvbrSettings, context)
|
|
5466
|
-
: undefined,
|
|
4943
|
+
QvbrSettings: output.qvbrSettings != null ? deserializeAws_restJson1Av1QvbrSettings(output.qvbrSettings, context) : undefined,
|
|
5467
4944
|
RateControlMode: __expectString(output.rateControlMode),
|
|
5468
4945
|
Slices: __expectInt32(output.slices),
|
|
5469
4946
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
@@ -5477,7 +4954,7 @@ var deserializeAws_restJson1AvailBlanking = function (output, context) {
|
|
|
5477
4954
|
var deserializeAws_restJson1AvcIntraSettings = function (output, context) {
|
|
5478
4955
|
return {
|
|
5479
4956
|
AvcIntraClass: __expectString(output.avcIntraClass),
|
|
5480
|
-
AvcIntraUhdSettings: output.avcIntraUhdSettings
|
|
4957
|
+
AvcIntraUhdSettings: output.avcIntraUhdSettings != null
|
|
5481
4958
|
? deserializeAws_restJson1AvcIntraUhdSettings(output.avcIntraUhdSettings, context)
|
|
5482
4959
|
: undefined,
|
|
5483
4960
|
FramerateControl: __expectString(output.framerateControl),
|
|
@@ -5524,7 +5001,7 @@ var deserializeAws_restJson1CaptionDescription = function (output, context) {
|
|
|
5524
5001
|
return {
|
|
5525
5002
|
CaptionSelectorName: __expectString(output.captionSelectorName),
|
|
5526
5003
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5527
|
-
DestinationSettings: output.destinationSettings
|
|
5004
|
+
DestinationSettings: output.destinationSettings != null
|
|
5528
5005
|
? deserializeAws_restJson1CaptionDestinationSettings(output.destinationSettings, context)
|
|
5529
5006
|
: undefined,
|
|
5530
5007
|
LanguageCode: __expectString(output.languageCode),
|
|
@@ -5534,7 +5011,7 @@ var deserializeAws_restJson1CaptionDescription = function (output, context) {
|
|
|
5534
5011
|
var deserializeAws_restJson1CaptionDescriptionPreset = function (output, context) {
|
|
5535
5012
|
return {
|
|
5536
5013
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5537
|
-
DestinationSettings: output.destinationSettings
|
|
5014
|
+
DestinationSettings: output.destinationSettings != null
|
|
5538
5015
|
? deserializeAws_restJson1CaptionDestinationSettings(output.destinationSettings, context)
|
|
5539
5016
|
: undefined,
|
|
5540
5017
|
LanguageCode: __expectString(output.languageCode),
|
|
@@ -5543,32 +5020,32 @@ var deserializeAws_restJson1CaptionDescriptionPreset = function (output, context
|
|
|
5543
5020
|
};
|
|
5544
5021
|
var deserializeAws_restJson1CaptionDestinationSettings = function (output, context) {
|
|
5545
5022
|
return {
|
|
5546
|
-
BurninDestinationSettings: output.burninDestinationSettings
|
|
5023
|
+
BurninDestinationSettings: output.burninDestinationSettings != null
|
|
5547
5024
|
? deserializeAws_restJson1BurninDestinationSettings(output.burninDestinationSettings, context)
|
|
5548
5025
|
: undefined,
|
|
5549
5026
|
DestinationType: __expectString(output.destinationType),
|
|
5550
|
-
DvbSubDestinationSettings: output.dvbSubDestinationSettings
|
|
5027
|
+
DvbSubDestinationSettings: output.dvbSubDestinationSettings != null
|
|
5551
5028
|
? deserializeAws_restJson1DvbSubDestinationSettings(output.dvbSubDestinationSettings, context)
|
|
5552
5029
|
: undefined,
|
|
5553
|
-
EmbeddedDestinationSettings: output.embeddedDestinationSettings
|
|
5030
|
+
EmbeddedDestinationSettings: output.embeddedDestinationSettings != null
|
|
5554
5031
|
? deserializeAws_restJson1EmbeddedDestinationSettings(output.embeddedDestinationSettings, context)
|
|
5555
5032
|
: undefined,
|
|
5556
|
-
ImscDestinationSettings: output.imscDestinationSettings
|
|
5033
|
+
ImscDestinationSettings: output.imscDestinationSettings != null
|
|
5557
5034
|
? deserializeAws_restJson1ImscDestinationSettings(output.imscDestinationSettings, context)
|
|
5558
5035
|
: undefined,
|
|
5559
|
-
SccDestinationSettings: output.sccDestinationSettings
|
|
5036
|
+
SccDestinationSettings: output.sccDestinationSettings != null
|
|
5560
5037
|
? deserializeAws_restJson1SccDestinationSettings(output.sccDestinationSettings, context)
|
|
5561
5038
|
: undefined,
|
|
5562
|
-
SrtDestinationSettings: output.srtDestinationSettings
|
|
5039
|
+
SrtDestinationSettings: output.srtDestinationSettings != null
|
|
5563
5040
|
? deserializeAws_restJson1SrtDestinationSettings(output.srtDestinationSettings, context)
|
|
5564
5041
|
: undefined,
|
|
5565
|
-
TeletextDestinationSettings: output.teletextDestinationSettings
|
|
5042
|
+
TeletextDestinationSettings: output.teletextDestinationSettings != null
|
|
5566
5043
|
? deserializeAws_restJson1TeletextDestinationSettings(output.teletextDestinationSettings, context)
|
|
5567
5044
|
: undefined,
|
|
5568
|
-
TtmlDestinationSettings: output.ttmlDestinationSettings
|
|
5045
|
+
TtmlDestinationSettings: output.ttmlDestinationSettings != null
|
|
5569
5046
|
? deserializeAws_restJson1TtmlDestinationSettings(output.ttmlDestinationSettings, context)
|
|
5570
5047
|
: undefined,
|
|
5571
|
-
WebvttDestinationSettings: output.webvttDestinationSettings
|
|
5048
|
+
WebvttDestinationSettings: output.webvttDestinationSettings != null
|
|
5572
5049
|
? deserializeAws_restJson1WebvttDestinationSettings(output.webvttDestinationSettings, context)
|
|
5573
5050
|
: undefined,
|
|
5574
5051
|
};
|
|
@@ -5577,7 +5054,7 @@ var deserializeAws_restJson1CaptionSelector = function (output, context) {
|
|
|
5577
5054
|
return {
|
|
5578
5055
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5579
5056
|
LanguageCode: __expectString(output.languageCode),
|
|
5580
|
-
SourceSettings: output.sourceSettings
|
|
5057
|
+
SourceSettings: output.sourceSettings != null
|
|
5581
5058
|
? deserializeAws_restJson1CaptionSourceSettings(output.sourceSettings, context)
|
|
5582
5059
|
: undefined,
|
|
5583
5060
|
};
|
|
@@ -5590,33 +5067,33 @@ var deserializeAws_restJson1CaptionSourceFramerate = function (output, context)
|
|
|
5590
5067
|
};
|
|
5591
5068
|
var deserializeAws_restJson1CaptionSourceSettings = function (output, context) {
|
|
5592
5069
|
return {
|
|
5593
|
-
AncillarySourceSettings: output.ancillarySourceSettings
|
|
5070
|
+
AncillarySourceSettings: output.ancillarySourceSettings != null
|
|
5594
5071
|
? deserializeAws_restJson1AncillarySourceSettings(output.ancillarySourceSettings, context)
|
|
5595
5072
|
: undefined,
|
|
5596
|
-
DvbSubSourceSettings: output.dvbSubSourceSettings
|
|
5073
|
+
DvbSubSourceSettings: output.dvbSubSourceSettings != null
|
|
5597
5074
|
? deserializeAws_restJson1DvbSubSourceSettings(output.dvbSubSourceSettings, context)
|
|
5598
5075
|
: undefined,
|
|
5599
|
-
EmbeddedSourceSettings: output.embeddedSourceSettings
|
|
5076
|
+
EmbeddedSourceSettings: output.embeddedSourceSettings != null
|
|
5600
5077
|
? deserializeAws_restJson1EmbeddedSourceSettings(output.embeddedSourceSettings, context)
|
|
5601
5078
|
: undefined,
|
|
5602
|
-
FileSourceSettings: output.fileSourceSettings
|
|
5079
|
+
FileSourceSettings: output.fileSourceSettings != null
|
|
5603
5080
|
? deserializeAws_restJson1FileSourceSettings(output.fileSourceSettings, context)
|
|
5604
5081
|
: undefined,
|
|
5605
5082
|
SourceType: __expectString(output.sourceType),
|
|
5606
|
-
TeletextSourceSettings: output.teletextSourceSettings
|
|
5083
|
+
TeletextSourceSettings: output.teletextSourceSettings != null
|
|
5607
5084
|
? deserializeAws_restJson1TeletextSourceSettings(output.teletextSourceSettings, context)
|
|
5608
5085
|
: undefined,
|
|
5609
|
-
TrackSourceSettings: output.trackSourceSettings
|
|
5086
|
+
TrackSourceSettings: output.trackSourceSettings != null
|
|
5610
5087
|
? deserializeAws_restJson1TrackSourceSettings(output.trackSourceSettings, context)
|
|
5611
5088
|
: undefined,
|
|
5612
|
-
WebvttHlsSourceSettings: output.webvttHlsSourceSettings
|
|
5089
|
+
WebvttHlsSourceSettings: output.webvttHlsSourceSettings != null
|
|
5613
5090
|
? deserializeAws_restJson1WebvttHlsSourceSettings(output.webvttHlsSourceSettings, context)
|
|
5614
5091
|
: undefined,
|
|
5615
5092
|
};
|
|
5616
5093
|
};
|
|
5617
5094
|
var deserializeAws_restJson1ChannelMapping = function (output, context) {
|
|
5618
5095
|
return {
|
|
5619
|
-
OutputChannels: output.outputChannels
|
|
5096
|
+
OutputChannels: output.outputChannels != null
|
|
5620
5097
|
? deserializeAws_restJson1__listOfOutputChannelMapping(output.outputChannels, context)
|
|
5621
5098
|
: undefined,
|
|
5622
5099
|
};
|
|
@@ -5624,7 +5101,7 @@ var deserializeAws_restJson1ChannelMapping = function (output, context) {
|
|
|
5624
5101
|
var deserializeAws_restJson1CmafAdditionalManifest = function (output, context) {
|
|
5625
5102
|
return {
|
|
5626
5103
|
ManifestNameModifier: __expectString(output.manifestNameModifier),
|
|
5627
|
-
SelectedOutputs: output.selectedOutputs
|
|
5104
|
+
SelectedOutputs: output.selectedOutputs != null
|
|
5628
5105
|
? deserializeAws_restJson1__listOf__stringMin1(output.selectedOutputs, context)
|
|
5629
5106
|
: undefined,
|
|
5630
5107
|
};
|
|
@@ -5634,10 +5111,10 @@ var deserializeAws_restJson1CmafEncryptionSettings = function (output, context)
|
|
|
5634
5111
|
ConstantInitializationVector: __expectString(output.constantInitializationVector),
|
|
5635
5112
|
EncryptionMethod: __expectString(output.encryptionMethod),
|
|
5636
5113
|
InitializationVectorInManifest: __expectString(output.initializationVectorInManifest),
|
|
5637
|
-
SpekeKeyProvider: output.spekeKeyProvider
|
|
5114
|
+
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
5638
5115
|
? deserializeAws_restJson1SpekeKeyProviderCmaf(output.spekeKeyProvider, context)
|
|
5639
5116
|
: undefined,
|
|
5640
|
-
StaticKeyProvider: output.staticKeyProvider
|
|
5117
|
+
StaticKeyProvider: output.staticKeyProvider != null
|
|
5641
5118
|
? deserializeAws_restJson1StaticKeyProvider(output.staticKeyProvider, context)
|
|
5642
5119
|
: undefined,
|
|
5643
5120
|
Type: __expectString(output.type),
|
|
@@ -5645,22 +5122,22 @@ var deserializeAws_restJson1CmafEncryptionSettings = function (output, context)
|
|
|
5645
5122
|
};
|
|
5646
5123
|
var deserializeAws_restJson1CmafGroupSettings = function (output, context) {
|
|
5647
5124
|
return {
|
|
5648
|
-
AdditionalManifests: output.additionalManifests
|
|
5125
|
+
AdditionalManifests: output.additionalManifests != null
|
|
5649
5126
|
? deserializeAws_restJson1__listOfCmafAdditionalManifest(output.additionalManifests, context)
|
|
5650
5127
|
: undefined,
|
|
5651
5128
|
BaseUrl: __expectString(output.baseUrl),
|
|
5652
5129
|
ClientCache: __expectString(output.clientCache),
|
|
5653
5130
|
CodecSpecification: __expectString(output.codecSpecification),
|
|
5654
5131
|
Destination: __expectString(output.destination),
|
|
5655
|
-
DestinationSettings: output.destinationSettings
|
|
5132
|
+
DestinationSettings: output.destinationSettings != null
|
|
5656
5133
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
5657
5134
|
: undefined,
|
|
5658
|
-
Encryption: output.encryption
|
|
5135
|
+
Encryption: output.encryption != null
|
|
5659
5136
|
? deserializeAws_restJson1CmafEncryptionSettings(output.encryption, context)
|
|
5660
5137
|
: undefined,
|
|
5661
5138
|
FragmentLength: __expectInt32(output.fragmentLength),
|
|
5662
5139
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
5663
|
-
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings
|
|
5140
|
+
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings != null
|
|
5664
5141
|
? deserializeAws_restJson1CmafImageBasedTrickPlaySettings(output.imageBasedTrickPlaySettings, context)
|
|
5665
5142
|
: undefined,
|
|
5666
5143
|
ManifestCompression: __expectString(output.manifestCompression),
|
|
@@ -5708,9 +5185,7 @@ var deserializeAws_restJson1ColorCorrector = function (output, context) {
|
|
|
5708
5185
|
Brightness: __expectInt32(output.brightness),
|
|
5709
5186
|
ColorSpaceConversion: __expectString(output.colorSpaceConversion),
|
|
5710
5187
|
Contrast: __expectInt32(output.contrast),
|
|
5711
|
-
Hdr10Metadata: output.hdr10Metadata
|
|
5712
|
-
? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context)
|
|
5713
|
-
: undefined,
|
|
5188
|
+
Hdr10Metadata: output.hdr10Metadata != null ? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context) : undefined,
|
|
5714
5189
|
Hue: __expectInt32(output.hue),
|
|
5715
5190
|
SampleRangeConversion: __expectString(output.sampleRangeConversion),
|
|
5716
5191
|
Saturation: __expectInt32(output.saturation),
|
|
@@ -5718,37 +5193,21 @@ var deserializeAws_restJson1ColorCorrector = function (output, context) {
|
|
|
5718
5193
|
};
|
|
5719
5194
|
var deserializeAws_restJson1ContainerSettings = function (output, context) {
|
|
5720
5195
|
return {
|
|
5721
|
-
CmfcSettings: output.cmfcSettings
|
|
5722
|
-
? deserializeAws_restJson1CmfcSettings(output.cmfcSettings, context)
|
|
5723
|
-
: undefined,
|
|
5196
|
+
CmfcSettings: output.cmfcSettings != null ? deserializeAws_restJson1CmfcSettings(output.cmfcSettings, context) : undefined,
|
|
5724
5197
|
Container: __expectString(output.container),
|
|
5725
|
-
F4vSettings: output.f4vSettings
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
? deserializeAws_restJson1M3u8Settings(output.m3u8Settings, context)
|
|
5733
|
-
: undefined,
|
|
5734
|
-
MovSettings: output.movSettings !== undefined && output.movSettings !== null
|
|
5735
|
-
? deserializeAws_restJson1MovSettings(output.movSettings, context)
|
|
5736
|
-
: undefined,
|
|
5737
|
-
Mp4Settings: output.mp4Settings !== undefined && output.mp4Settings !== null
|
|
5738
|
-
? deserializeAws_restJson1Mp4Settings(output.mp4Settings, context)
|
|
5739
|
-
: undefined,
|
|
5740
|
-
MpdSettings: output.mpdSettings !== undefined && output.mpdSettings !== null
|
|
5741
|
-
? deserializeAws_restJson1MpdSettings(output.mpdSettings, context)
|
|
5742
|
-
: undefined,
|
|
5743
|
-
MxfSettings: output.mxfSettings !== undefined && output.mxfSettings !== null
|
|
5744
|
-
? deserializeAws_restJson1MxfSettings(output.mxfSettings, context)
|
|
5745
|
-
: undefined,
|
|
5198
|
+
F4vSettings: output.f4vSettings != null ? deserializeAws_restJson1F4vSettings(output.f4vSettings, context) : undefined,
|
|
5199
|
+
M2tsSettings: output.m2tsSettings != null ? deserializeAws_restJson1M2tsSettings(output.m2tsSettings, context) : undefined,
|
|
5200
|
+
M3u8Settings: output.m3u8Settings != null ? deserializeAws_restJson1M3u8Settings(output.m3u8Settings, context) : undefined,
|
|
5201
|
+
MovSettings: output.movSettings != null ? deserializeAws_restJson1MovSettings(output.movSettings, context) : undefined,
|
|
5202
|
+
Mp4Settings: output.mp4Settings != null ? deserializeAws_restJson1Mp4Settings(output.mp4Settings, context) : undefined,
|
|
5203
|
+
MpdSettings: output.mpdSettings != null ? deserializeAws_restJson1MpdSettings(output.mpdSettings, context) : undefined,
|
|
5204
|
+
MxfSettings: output.mxfSettings != null ? deserializeAws_restJson1MxfSettings(output.mxfSettings, context) : undefined,
|
|
5746
5205
|
};
|
|
5747
5206
|
};
|
|
5748
5207
|
var deserializeAws_restJson1DashAdditionalManifest = function (output, context) {
|
|
5749
5208
|
return {
|
|
5750
5209
|
ManifestNameModifier: __expectString(output.manifestNameModifier),
|
|
5751
|
-
SelectedOutputs: output.selectedOutputs
|
|
5210
|
+
SelectedOutputs: output.selectedOutputs != null
|
|
5752
5211
|
? deserializeAws_restJson1__listOf__stringMin1(output.selectedOutputs, context)
|
|
5753
5212
|
: undefined,
|
|
5754
5213
|
};
|
|
@@ -5756,29 +5215,29 @@ var deserializeAws_restJson1DashAdditionalManifest = function (output, context)
|
|
|
5756
5215
|
var deserializeAws_restJson1DashIsoEncryptionSettings = function (output, context) {
|
|
5757
5216
|
return {
|
|
5758
5217
|
PlaybackDeviceCompatibility: __expectString(output.playbackDeviceCompatibility),
|
|
5759
|
-
SpekeKeyProvider: output.spekeKeyProvider
|
|
5218
|
+
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
5760
5219
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
5761
5220
|
: undefined,
|
|
5762
5221
|
};
|
|
5763
5222
|
};
|
|
5764
5223
|
var deserializeAws_restJson1DashIsoGroupSettings = function (output, context) {
|
|
5765
5224
|
return {
|
|
5766
|
-
AdditionalManifests: output.additionalManifests
|
|
5225
|
+
AdditionalManifests: output.additionalManifests != null
|
|
5767
5226
|
? deserializeAws_restJson1__listOfDashAdditionalManifest(output.additionalManifests, context)
|
|
5768
5227
|
: undefined,
|
|
5769
5228
|
AudioChannelConfigSchemeIdUri: __expectString(output.audioChannelConfigSchemeIdUri),
|
|
5770
5229
|
BaseUrl: __expectString(output.baseUrl),
|
|
5771
5230
|
Destination: __expectString(output.destination),
|
|
5772
|
-
DestinationSettings: output.destinationSettings
|
|
5231
|
+
DestinationSettings: output.destinationSettings != null
|
|
5773
5232
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
5774
5233
|
: undefined,
|
|
5775
|
-
Encryption: output.encryption
|
|
5234
|
+
Encryption: output.encryption != null
|
|
5776
5235
|
? deserializeAws_restJson1DashIsoEncryptionSettings(output.encryption, context)
|
|
5777
5236
|
: undefined,
|
|
5778
5237
|
FragmentLength: __expectInt32(output.fragmentLength),
|
|
5779
5238
|
HbbtvCompliance: __expectString(output.hbbtvCompliance),
|
|
5780
5239
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
5781
|
-
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings
|
|
5240
|
+
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings != null
|
|
5782
5241
|
? deserializeAws_restJson1DashIsoImageBasedTrickPlaySettings(output.imageBasedTrickPlaySettings, context)
|
|
5783
5242
|
: undefined,
|
|
5784
5243
|
MinBufferTime: __expectInt32(output.minBufferTime),
|
|
@@ -5810,14 +5269,12 @@ var deserializeAws_restJson1Deinterlacer = function (output, context) {
|
|
|
5810
5269
|
};
|
|
5811
5270
|
var deserializeAws_restJson1DestinationSettings = function (output, context) {
|
|
5812
5271
|
return {
|
|
5813
|
-
S3Settings: output.s3Settings
|
|
5814
|
-
? deserializeAws_restJson1S3DestinationSettings(output.s3Settings, context)
|
|
5815
|
-
: undefined,
|
|
5272
|
+
S3Settings: output.s3Settings != null ? deserializeAws_restJson1S3DestinationSettings(output.s3Settings, context) : undefined,
|
|
5816
5273
|
};
|
|
5817
5274
|
};
|
|
5818
5275
|
var deserializeAws_restJson1DolbyVision = function (output, context) {
|
|
5819
5276
|
return {
|
|
5820
|
-
L6Metadata: output.l6Metadata
|
|
5277
|
+
L6Metadata: output.l6Metadata != null
|
|
5821
5278
|
? deserializeAws_restJson1DolbyVisionLevel6Metadata(output.l6Metadata, context)
|
|
5822
5279
|
: undefined,
|
|
5823
5280
|
L6Mode: __expectString(output.l6Mode),
|
|
@@ -5959,11 +5416,11 @@ var deserializeAws_restJson1EsamManifestConfirmConditionNotification = function
|
|
|
5959
5416
|
};
|
|
5960
5417
|
var deserializeAws_restJson1EsamSettings = function (output, context) {
|
|
5961
5418
|
return {
|
|
5962
|
-
ManifestConfirmConditionNotification: output.manifestConfirmConditionNotification
|
|
5419
|
+
ManifestConfirmConditionNotification: output.manifestConfirmConditionNotification != null
|
|
5963
5420
|
? deserializeAws_restJson1EsamManifestConfirmConditionNotification(output.manifestConfirmConditionNotification, context)
|
|
5964
5421
|
: undefined,
|
|
5965
5422
|
ResponseSignalPreroll: __expectInt32(output.responseSignalPreroll),
|
|
5966
|
-
SignalProcessingNotification: output.signalProcessingNotification
|
|
5423
|
+
SignalProcessingNotification: output.signalProcessingNotification != null
|
|
5967
5424
|
? deserializeAws_restJson1EsamSignalProcessingNotification(output.signalProcessingNotification, context)
|
|
5968
5425
|
: undefined,
|
|
5969
5426
|
};
|
|
@@ -5987,7 +5444,7 @@ var deserializeAws_restJson1F4vSettings = function (output, context) {
|
|
|
5987
5444
|
var deserializeAws_restJson1FileGroupSettings = function (output, context) {
|
|
5988
5445
|
return {
|
|
5989
5446
|
Destination: __expectString(output.destination),
|
|
5990
|
-
DestinationSettings: output.destinationSettings
|
|
5447
|
+
DestinationSettings: output.destinationSettings != null
|
|
5991
5448
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
5992
5449
|
: undefined,
|
|
5993
5450
|
};
|
|
@@ -5995,9 +5452,7 @@ var deserializeAws_restJson1FileGroupSettings = function (output, context) {
|
|
|
5995
5452
|
var deserializeAws_restJson1FileSourceSettings = function (output, context) {
|
|
5996
5453
|
return {
|
|
5997
5454
|
Convert608To708: __expectString(output.convert608To708),
|
|
5998
|
-
Framerate: output.framerate
|
|
5999
|
-
? deserializeAws_restJson1CaptionSourceFramerate(output.framerate, context)
|
|
6000
|
-
: undefined,
|
|
5455
|
+
Framerate: output.framerate != null ? deserializeAws_restJson1CaptionSourceFramerate(output.framerate, context) : undefined,
|
|
6001
5456
|
SourceFile: __expectString(output.sourceFile),
|
|
6002
5457
|
TimeDelta: __expectInt32(output.timeDelta),
|
|
6003
5458
|
TimeDeltaUnits: __expectString(output.timeDeltaUnits),
|
|
@@ -6053,9 +5508,7 @@ var deserializeAws_restJson1H264Settings = function (output, context) {
|
|
|
6053
5508
|
ParDenominator: __expectInt32(output.parDenominator),
|
|
6054
5509
|
ParNumerator: __expectInt32(output.parNumerator),
|
|
6055
5510
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
6056
|
-
QvbrSettings: output.qvbrSettings
|
|
6057
|
-
? deserializeAws_restJson1H264QvbrSettings(output.qvbrSettings, context)
|
|
6058
|
-
: undefined,
|
|
5511
|
+
QvbrSettings: output.qvbrSettings != null ? deserializeAws_restJson1H264QvbrSettings(output.qvbrSettings, context) : undefined,
|
|
6059
5512
|
RateControlMode: __expectString(output.rateControlMode),
|
|
6060
5513
|
RepeatPps: __expectString(output.repeatPps),
|
|
6061
5514
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
@@ -6105,9 +5558,7 @@ var deserializeAws_restJson1H265Settings = function (output, context) {
|
|
|
6105
5558
|
ParDenominator: __expectInt32(output.parDenominator),
|
|
6106
5559
|
ParNumerator: __expectInt32(output.parNumerator),
|
|
6107
5560
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
6108
|
-
QvbrSettings: output.qvbrSettings
|
|
6109
|
-
? deserializeAws_restJson1H265QvbrSettings(output.qvbrSettings, context)
|
|
6110
|
-
: undefined,
|
|
5561
|
+
QvbrSettings: output.qvbrSettings != null ? deserializeAws_restJson1H265QvbrSettings(output.qvbrSettings, context) : undefined,
|
|
6111
5562
|
RateControlMode: __expectString(output.rateControlMode),
|
|
6112
5563
|
SampleAdaptiveOffsetFilterMode: __expectString(output.sampleAdaptiveOffsetFilterMode),
|
|
6113
5564
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
@@ -6148,7 +5599,7 @@ var deserializeAws_restJson1Hdr10Plus = function (output, context) {
|
|
|
6148
5599
|
var deserializeAws_restJson1HlsAdditionalManifest = function (output, context) {
|
|
6149
5600
|
return {
|
|
6150
5601
|
ManifestNameModifier: __expectString(output.manifestNameModifier),
|
|
6151
|
-
SelectedOutputs: output.selectedOutputs
|
|
5602
|
+
SelectedOutputs: output.selectedOutputs != null
|
|
6152
5603
|
? deserializeAws_restJson1__listOf__stringMin1(output.selectedOutputs, context)
|
|
6153
5604
|
: undefined,
|
|
6154
5605
|
};
|
|
@@ -6167,10 +5618,10 @@ var deserializeAws_restJson1HlsEncryptionSettings = function (output, context) {
|
|
|
6167
5618
|
EncryptionMethod: __expectString(output.encryptionMethod),
|
|
6168
5619
|
InitializationVectorInManifest: __expectString(output.initializationVectorInManifest),
|
|
6169
5620
|
OfflineEncrypted: __expectString(output.offlineEncrypted),
|
|
6170
|
-
SpekeKeyProvider: output.spekeKeyProvider
|
|
5621
|
+
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
6171
5622
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
6172
5623
|
: undefined,
|
|
6173
|
-
StaticKeyProvider: output.staticKeyProvider
|
|
5624
|
+
StaticKeyProvider: output.staticKeyProvider != null
|
|
6174
5625
|
? deserializeAws_restJson1StaticKeyProvider(output.staticKeyProvider, context)
|
|
6175
5626
|
: undefined,
|
|
6176
5627
|
Type: __expectString(output.type),
|
|
@@ -6178,15 +5629,13 @@ var deserializeAws_restJson1HlsEncryptionSettings = function (output, context) {
|
|
|
6178
5629
|
};
|
|
6179
5630
|
var deserializeAws_restJson1HlsGroupSettings = function (output, context) {
|
|
6180
5631
|
return {
|
|
6181
|
-
AdMarkers: output.adMarkers
|
|
6182
|
-
|
|
6183
|
-
: undefined,
|
|
6184
|
-
AdditionalManifests: output.additionalManifests !== undefined && output.additionalManifests !== null
|
|
5632
|
+
AdMarkers: output.adMarkers != null ? deserializeAws_restJson1__listOfHlsAdMarkers(output.adMarkers, context) : undefined,
|
|
5633
|
+
AdditionalManifests: output.additionalManifests != null
|
|
6185
5634
|
? deserializeAws_restJson1__listOfHlsAdditionalManifest(output.additionalManifests, context)
|
|
6186
5635
|
: undefined,
|
|
6187
5636
|
AudioOnlyHeader: __expectString(output.audioOnlyHeader),
|
|
6188
5637
|
BaseUrl: __expectString(output.baseUrl),
|
|
6189
|
-
CaptionLanguageMappings: output.captionLanguageMappings
|
|
5638
|
+
CaptionLanguageMappings: output.captionLanguageMappings != null
|
|
6190
5639
|
? deserializeAws_restJson1__listOfHlsCaptionLanguageMapping(output.captionLanguageMappings, context)
|
|
6191
5640
|
: undefined,
|
|
6192
5641
|
CaptionLanguageSetting: __expectString(output.captionLanguageSetting),
|
|
@@ -6194,15 +5643,13 @@ var deserializeAws_restJson1HlsGroupSettings = function (output, context) {
|
|
|
6194
5643
|
ClientCache: __expectString(output.clientCache),
|
|
6195
5644
|
CodecSpecification: __expectString(output.codecSpecification),
|
|
6196
5645
|
Destination: __expectString(output.destination),
|
|
6197
|
-
DestinationSettings: output.destinationSettings
|
|
5646
|
+
DestinationSettings: output.destinationSettings != null
|
|
6198
5647
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
6199
5648
|
: undefined,
|
|
6200
5649
|
DirectoryStructure: __expectString(output.directoryStructure),
|
|
6201
|
-
Encryption: output.encryption
|
|
6202
|
-
? deserializeAws_restJson1HlsEncryptionSettings(output.encryption, context)
|
|
6203
|
-
: undefined,
|
|
5650
|
+
Encryption: output.encryption != null ? deserializeAws_restJson1HlsEncryptionSettings(output.encryption, context) : undefined,
|
|
6204
5651
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
6205
|
-
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings
|
|
5652
|
+
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings != null
|
|
6206
5653
|
? deserializeAws_restJson1HlsImageBasedTrickPlaySettings(output.imageBasedTrickPlaySettings, context)
|
|
6207
5654
|
: undefined,
|
|
6208
5655
|
ManifestCompression: __expectString(output.manifestCompression),
|
|
@@ -6266,7 +5713,7 @@ var deserializeAws_restJson1Id3Insertion = function (output, context) {
|
|
|
6266
5713
|
};
|
|
6267
5714
|
var deserializeAws_restJson1ImageInserter = function (output, context) {
|
|
6268
5715
|
return {
|
|
6269
|
-
InsertableImages: output.insertableImages
|
|
5716
|
+
InsertableImages: output.insertableImages != null
|
|
6270
5717
|
? deserializeAws_restJson1__listOfInsertableImage(output.insertableImages, context)
|
|
6271
5718
|
: undefined,
|
|
6272
5719
|
};
|
|
@@ -6279,20 +5726,18 @@ var deserializeAws_restJson1ImscDestinationSettings = function (output, context)
|
|
|
6279
5726
|
};
|
|
6280
5727
|
var deserializeAws_restJson1Input = function (output, context) {
|
|
6281
5728
|
return {
|
|
6282
|
-
AudioSelectorGroups: output.audioSelectorGroups
|
|
5729
|
+
AudioSelectorGroups: output.audioSelectorGroups != null
|
|
6283
5730
|
? deserializeAws_restJson1__mapOfAudioSelectorGroup(output.audioSelectorGroups, context)
|
|
6284
5731
|
: undefined,
|
|
6285
|
-
AudioSelectors: output.audioSelectors
|
|
5732
|
+
AudioSelectors: output.audioSelectors != null
|
|
6286
5733
|
? deserializeAws_restJson1__mapOfAudioSelector(output.audioSelectors, context)
|
|
6287
5734
|
: undefined,
|
|
6288
|
-
CaptionSelectors: output.captionSelectors
|
|
5735
|
+
CaptionSelectors: output.captionSelectors != null
|
|
6289
5736
|
? deserializeAws_restJson1__mapOfCaptionSelector(output.captionSelectors, context)
|
|
6290
5737
|
: undefined,
|
|
6291
|
-
Crop: output.crop
|
|
6292
|
-
? deserializeAws_restJson1Rectangle(output.crop, context)
|
|
6293
|
-
: undefined,
|
|
5738
|
+
Crop: output.crop != null ? deserializeAws_restJson1Rectangle(output.crop, context) : undefined,
|
|
6294
5739
|
DeblockFilter: __expectString(output.deblockFilter),
|
|
6295
|
-
DecryptionSettings: output.decryptionSettings
|
|
5740
|
+
DecryptionSettings: output.decryptionSettings != null
|
|
6296
5741
|
? deserializeAws_restJson1InputDecryptionSettings(output.decryptionSettings, context)
|
|
6297
5742
|
: undefined,
|
|
6298
5743
|
DenoiseFilter: __expectString(output.denoiseFilter),
|
|
@@ -6300,29 +5745,23 @@ var deserializeAws_restJson1Input = function (output, context) {
|
|
|
6300
5745
|
FileInput: __expectString(output.fileInput),
|
|
6301
5746
|
FilterEnable: __expectString(output.filterEnable),
|
|
6302
5747
|
FilterStrength: __expectInt32(output.filterStrength),
|
|
6303
|
-
ImageInserter: output.imageInserter
|
|
6304
|
-
|
|
6305
|
-
: undefined,
|
|
6306
|
-
InputClippings: output.inputClippings !== undefined && output.inputClippings !== null
|
|
5748
|
+
ImageInserter: output.imageInserter != null ? deserializeAws_restJson1ImageInserter(output.imageInserter, context) : undefined,
|
|
5749
|
+
InputClippings: output.inputClippings != null
|
|
6307
5750
|
? deserializeAws_restJson1__listOfInputClipping(output.inputClippings, context)
|
|
6308
5751
|
: undefined,
|
|
6309
5752
|
InputScanType: __expectString(output.inputScanType),
|
|
6310
|
-
Position: output.position
|
|
6311
|
-
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
6312
|
-
: undefined,
|
|
5753
|
+
Position: output.position != null ? deserializeAws_restJson1Rectangle(output.position, context) : undefined,
|
|
6313
5754
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
6314
5755
|
PsiControl: __expectString(output.psiControl),
|
|
6315
|
-
SupplementalImps: output.supplementalImps
|
|
5756
|
+
SupplementalImps: output.supplementalImps != null
|
|
6316
5757
|
? deserializeAws_restJson1__listOf__stringPatternS3ASSETMAPXml(output.supplementalImps, context)
|
|
6317
5758
|
: undefined,
|
|
6318
5759
|
TimecodeSource: __expectString(output.timecodeSource),
|
|
6319
5760
|
TimecodeStart: __expectString(output.timecodeStart),
|
|
6320
|
-
VideoGenerator: output.videoGenerator
|
|
5761
|
+
VideoGenerator: output.videoGenerator != null
|
|
6321
5762
|
? deserializeAws_restJson1InputVideoGenerator(output.videoGenerator, context)
|
|
6322
5763
|
: undefined,
|
|
6323
|
-
VideoSelector: output.videoSelector
|
|
6324
|
-
? deserializeAws_restJson1VideoSelector(output.videoSelector, context)
|
|
6325
|
-
: undefined,
|
|
5764
|
+
VideoSelector: output.videoSelector != null ? deserializeAws_restJson1VideoSelector(output.videoSelector, context) : undefined,
|
|
6326
5765
|
};
|
|
6327
5766
|
};
|
|
6328
5767
|
var deserializeAws_restJson1InputClipping = function (output, context) {
|
|
@@ -6341,40 +5780,32 @@ var deserializeAws_restJson1InputDecryptionSettings = function (output, context)
|
|
|
6341
5780
|
};
|
|
6342
5781
|
var deserializeAws_restJson1InputTemplate = function (output, context) {
|
|
6343
5782
|
return {
|
|
6344
|
-
AudioSelectorGroups: output.audioSelectorGroups
|
|
5783
|
+
AudioSelectorGroups: output.audioSelectorGroups != null
|
|
6345
5784
|
? deserializeAws_restJson1__mapOfAudioSelectorGroup(output.audioSelectorGroups, context)
|
|
6346
5785
|
: undefined,
|
|
6347
|
-
AudioSelectors: output.audioSelectors
|
|
5786
|
+
AudioSelectors: output.audioSelectors != null
|
|
6348
5787
|
? deserializeAws_restJson1__mapOfAudioSelector(output.audioSelectors, context)
|
|
6349
5788
|
: undefined,
|
|
6350
|
-
CaptionSelectors: output.captionSelectors
|
|
5789
|
+
CaptionSelectors: output.captionSelectors != null
|
|
6351
5790
|
? deserializeAws_restJson1__mapOfCaptionSelector(output.captionSelectors, context)
|
|
6352
5791
|
: undefined,
|
|
6353
|
-
Crop: output.crop
|
|
6354
|
-
? deserializeAws_restJson1Rectangle(output.crop, context)
|
|
6355
|
-
: undefined,
|
|
5792
|
+
Crop: output.crop != null ? deserializeAws_restJson1Rectangle(output.crop, context) : undefined,
|
|
6356
5793
|
DeblockFilter: __expectString(output.deblockFilter),
|
|
6357
5794
|
DenoiseFilter: __expectString(output.denoiseFilter),
|
|
6358
5795
|
DolbyVisionMetadataXml: __expectString(output.dolbyVisionMetadataXml),
|
|
6359
5796
|
FilterEnable: __expectString(output.filterEnable),
|
|
6360
5797
|
FilterStrength: __expectInt32(output.filterStrength),
|
|
6361
|
-
ImageInserter: output.imageInserter
|
|
6362
|
-
|
|
6363
|
-
: undefined,
|
|
6364
|
-
InputClippings: output.inputClippings !== undefined && output.inputClippings !== null
|
|
5798
|
+
ImageInserter: output.imageInserter != null ? deserializeAws_restJson1ImageInserter(output.imageInserter, context) : undefined,
|
|
5799
|
+
InputClippings: output.inputClippings != null
|
|
6365
5800
|
? deserializeAws_restJson1__listOfInputClipping(output.inputClippings, context)
|
|
6366
5801
|
: undefined,
|
|
6367
5802
|
InputScanType: __expectString(output.inputScanType),
|
|
6368
|
-
Position: output.position
|
|
6369
|
-
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
6370
|
-
: undefined,
|
|
5803
|
+
Position: output.position != null ? deserializeAws_restJson1Rectangle(output.position, context) : undefined,
|
|
6371
5804
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
6372
5805
|
PsiControl: __expectString(output.psiControl),
|
|
6373
5806
|
TimecodeSource: __expectString(output.timecodeSource),
|
|
6374
5807
|
TimecodeStart: __expectString(output.timecodeStart),
|
|
6375
|
-
VideoSelector: output.videoSelector
|
|
6376
|
-
? deserializeAws_restJson1VideoSelector(output.videoSelector, context)
|
|
6377
|
-
: undefined,
|
|
5808
|
+
VideoSelector: output.videoSelector != null ? deserializeAws_restJson1VideoSelector(output.videoSelector, context) : undefined,
|
|
6378
5809
|
};
|
|
6379
5810
|
};
|
|
6380
5811
|
var deserializeAws_restJson1InputVideoGenerator = function (output, context) {
|
|
@@ -6399,122 +5830,98 @@ var deserializeAws_restJson1InsertableImage = function (output, context) {
|
|
|
6399
5830
|
};
|
|
6400
5831
|
var deserializeAws_restJson1Job = function (output, context) {
|
|
6401
5832
|
return {
|
|
6402
|
-
AccelerationSettings: output.accelerationSettings
|
|
5833
|
+
AccelerationSettings: output.accelerationSettings != null
|
|
6403
5834
|
? deserializeAws_restJson1AccelerationSettings(output.accelerationSettings, context)
|
|
6404
5835
|
: undefined,
|
|
6405
5836
|
AccelerationStatus: __expectString(output.accelerationStatus),
|
|
6406
5837
|
Arn: __expectString(output.arn),
|
|
6407
5838
|
BillingTagsSource: __expectString(output.billingTagsSource),
|
|
6408
|
-
CreatedAt: output.createdAt
|
|
6409
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6410
|
-
: undefined,
|
|
5839
|
+
CreatedAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6411
5840
|
CurrentPhase: __expectString(output.currentPhase),
|
|
6412
5841
|
ErrorCode: __expectInt32(output.errorCode),
|
|
6413
5842
|
ErrorMessage: __expectString(output.errorMessage),
|
|
6414
|
-
HopDestinations: output.hopDestinations
|
|
5843
|
+
HopDestinations: output.hopDestinations != null
|
|
6415
5844
|
? deserializeAws_restJson1__listOfHopDestination(output.hopDestinations, context)
|
|
6416
5845
|
: undefined,
|
|
6417
5846
|
Id: __expectString(output.id),
|
|
6418
5847
|
JobPercentComplete: __expectInt32(output.jobPercentComplete),
|
|
6419
5848
|
JobTemplate: __expectString(output.jobTemplate),
|
|
6420
|
-
Messages: output.messages
|
|
6421
|
-
|
|
6422
|
-
: undefined,
|
|
6423
|
-
OutputGroupDetails: output.outputGroupDetails !== undefined && output.outputGroupDetails !== null
|
|
5849
|
+
Messages: output.messages != null ? deserializeAws_restJson1JobMessages(output.messages, context) : undefined,
|
|
5850
|
+
OutputGroupDetails: output.outputGroupDetails != null
|
|
6424
5851
|
? deserializeAws_restJson1__listOfOutputGroupDetail(output.outputGroupDetails, context)
|
|
6425
5852
|
: undefined,
|
|
6426
5853
|
Priority: __expectInt32(output.priority),
|
|
6427
5854
|
Queue: __expectString(output.queue),
|
|
6428
|
-
QueueTransitions: output.queueTransitions
|
|
5855
|
+
QueueTransitions: output.queueTransitions != null
|
|
6429
5856
|
? deserializeAws_restJson1__listOfQueueTransition(output.queueTransitions, context)
|
|
6430
5857
|
: undefined,
|
|
6431
5858
|
RetryCount: __expectInt32(output.retryCount),
|
|
6432
5859
|
Role: __expectString(output.role),
|
|
6433
|
-
Settings: output.settings
|
|
6434
|
-
? deserializeAws_restJson1JobSettings(output.settings, context)
|
|
6435
|
-
: undefined,
|
|
5860
|
+
Settings: output.settings != null ? deserializeAws_restJson1JobSettings(output.settings, context) : undefined,
|
|
6436
5861
|
SimulateReservedQueue: __expectString(output.simulateReservedQueue),
|
|
6437
5862
|
Status: __expectString(output.status),
|
|
6438
5863
|
StatusUpdateInterval: __expectString(output.statusUpdateInterval),
|
|
6439
|
-
Timing: output.timing
|
|
6440
|
-
|
|
6441
|
-
: undefined,
|
|
6442
|
-
UserMetadata: output.userMetadata !== undefined && output.userMetadata !== null
|
|
6443
|
-
? deserializeAws_restJson1__mapOf__string(output.userMetadata, context)
|
|
6444
|
-
: undefined,
|
|
5864
|
+
Timing: output.timing != null ? deserializeAws_restJson1Timing(output.timing, context) : undefined,
|
|
5865
|
+
UserMetadata: output.userMetadata != null ? deserializeAws_restJson1__mapOf__string(output.userMetadata, context) : undefined,
|
|
6445
5866
|
};
|
|
6446
5867
|
};
|
|
6447
5868
|
var deserializeAws_restJson1JobMessages = function (output, context) {
|
|
6448
5869
|
return {
|
|
6449
|
-
Info: output.info
|
|
6450
|
-
|
|
6451
|
-
: undefined,
|
|
6452
|
-
Warning: output.warning !== undefined && output.warning !== null
|
|
6453
|
-
? deserializeAws_restJson1__listOf__string(output.warning, context)
|
|
6454
|
-
: undefined,
|
|
5870
|
+
Info: output.info != null ? deserializeAws_restJson1__listOf__string(output.info, context) : undefined,
|
|
5871
|
+
Warning: output.warning != null ? deserializeAws_restJson1__listOf__string(output.warning, context) : undefined,
|
|
6455
5872
|
};
|
|
6456
5873
|
};
|
|
6457
5874
|
var deserializeAws_restJson1JobSettings = function (output, context) {
|
|
6458
5875
|
return {
|
|
6459
5876
|
AdAvailOffset: __expectInt32(output.adAvailOffset),
|
|
6460
|
-
AvailBlanking: output.availBlanking
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
Esam: output.esam !== undefined && output.esam !== null
|
|
6464
|
-
? deserializeAws_restJson1EsamSettings(output.esam, context)
|
|
6465
|
-
: undefined,
|
|
6466
|
-
ExtendedDataServices: output.extendedDataServices !== undefined && output.extendedDataServices !== null
|
|
5877
|
+
AvailBlanking: output.availBlanking != null ? deserializeAws_restJson1AvailBlanking(output.availBlanking, context) : undefined,
|
|
5878
|
+
Esam: output.esam != null ? deserializeAws_restJson1EsamSettings(output.esam, context) : undefined,
|
|
5879
|
+
ExtendedDataServices: output.extendedDataServices != null
|
|
6467
5880
|
? deserializeAws_restJson1ExtendedDataServices(output.extendedDataServices, context)
|
|
6468
5881
|
: undefined,
|
|
6469
|
-
Inputs: output.inputs
|
|
6470
|
-
|
|
6471
|
-
: undefined,
|
|
6472
|
-
KantarWatermark: output.kantarWatermark !== undefined && output.kantarWatermark !== null
|
|
5882
|
+
Inputs: output.inputs != null ? deserializeAws_restJson1__listOfInput(output.inputs, context) : undefined,
|
|
5883
|
+
KantarWatermark: output.kantarWatermark != null
|
|
6473
5884
|
? deserializeAws_restJson1KantarWatermarkSettings(output.kantarWatermark, context)
|
|
6474
5885
|
: undefined,
|
|
6475
|
-
MotionImageInserter: output.motionImageInserter
|
|
5886
|
+
MotionImageInserter: output.motionImageInserter != null
|
|
6476
5887
|
? deserializeAws_restJson1MotionImageInserter(output.motionImageInserter, context)
|
|
6477
5888
|
: undefined,
|
|
6478
|
-
NielsenConfiguration: output.nielsenConfiguration
|
|
5889
|
+
NielsenConfiguration: output.nielsenConfiguration != null
|
|
6479
5890
|
? deserializeAws_restJson1NielsenConfiguration(output.nielsenConfiguration, context)
|
|
6480
5891
|
: undefined,
|
|
6481
|
-
NielsenNonLinearWatermark: output.nielsenNonLinearWatermark
|
|
5892
|
+
NielsenNonLinearWatermark: output.nielsenNonLinearWatermark != null
|
|
6482
5893
|
? deserializeAws_restJson1NielsenNonLinearWatermarkSettings(output.nielsenNonLinearWatermark, context)
|
|
6483
5894
|
: undefined,
|
|
6484
|
-
OutputGroups: output.outputGroups
|
|
5895
|
+
OutputGroups: output.outputGroups != null
|
|
6485
5896
|
? deserializeAws_restJson1__listOfOutputGroup(output.outputGroups, context)
|
|
6486
5897
|
: undefined,
|
|
6487
|
-
TimecodeConfig: output.timecodeConfig
|
|
5898
|
+
TimecodeConfig: output.timecodeConfig != null
|
|
6488
5899
|
? deserializeAws_restJson1TimecodeConfig(output.timecodeConfig, context)
|
|
6489
5900
|
: undefined,
|
|
6490
|
-
TimedMetadataInsertion: output.timedMetadataInsertion
|
|
5901
|
+
TimedMetadataInsertion: output.timedMetadataInsertion != null
|
|
6491
5902
|
? deserializeAws_restJson1TimedMetadataInsertion(output.timedMetadataInsertion, context)
|
|
6492
5903
|
: undefined,
|
|
6493
5904
|
};
|
|
6494
5905
|
};
|
|
6495
5906
|
var deserializeAws_restJson1JobTemplate = function (output, context) {
|
|
6496
5907
|
return {
|
|
6497
|
-
AccelerationSettings: output.accelerationSettings
|
|
5908
|
+
AccelerationSettings: output.accelerationSettings != null
|
|
6498
5909
|
? deserializeAws_restJson1AccelerationSettings(output.accelerationSettings, context)
|
|
6499
5910
|
: undefined,
|
|
6500
5911
|
Arn: __expectString(output.arn),
|
|
6501
5912
|
Category: __expectString(output.category),
|
|
6502
|
-
CreatedAt: output.createdAt
|
|
6503
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6504
|
-
: undefined,
|
|
5913
|
+
CreatedAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6505
5914
|
Description: __expectString(output.description),
|
|
6506
|
-
HopDestinations: output.hopDestinations
|
|
5915
|
+
HopDestinations: output.hopDestinations != null
|
|
6507
5916
|
? deserializeAws_restJson1__listOfHopDestination(output.hopDestinations, context)
|
|
6508
5917
|
: undefined,
|
|
6509
|
-
LastUpdated: output.lastUpdated
|
|
5918
|
+
LastUpdated: output.lastUpdated != null
|
|
6510
5919
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
6511
5920
|
: undefined,
|
|
6512
5921
|
Name: __expectString(output.name),
|
|
6513
5922
|
Priority: __expectInt32(output.priority),
|
|
6514
5923
|
Queue: __expectString(output.queue),
|
|
6515
|
-
Settings: output.settings
|
|
6516
|
-
? deserializeAws_restJson1JobTemplateSettings(output.settings, context)
|
|
6517
|
-
: undefined,
|
|
5924
|
+
Settings: output.settings != null ? deserializeAws_restJson1JobTemplateSettings(output.settings, context) : undefined,
|
|
6518
5925
|
StatusUpdateInterval: __expectString(output.statusUpdateInterval),
|
|
6519
5926
|
Type: __expectString(output.type),
|
|
6520
5927
|
};
|
|
@@ -6522,37 +5929,31 @@ var deserializeAws_restJson1JobTemplate = function (output, context) {
|
|
|
6522
5929
|
var deserializeAws_restJson1JobTemplateSettings = function (output, context) {
|
|
6523
5930
|
return {
|
|
6524
5931
|
AdAvailOffset: __expectInt32(output.adAvailOffset),
|
|
6525
|
-
AvailBlanking: output.availBlanking
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
Esam: output.esam !== undefined && output.esam !== null
|
|
6529
|
-
? deserializeAws_restJson1EsamSettings(output.esam, context)
|
|
6530
|
-
: undefined,
|
|
6531
|
-
ExtendedDataServices: output.extendedDataServices !== undefined && output.extendedDataServices !== null
|
|
5932
|
+
AvailBlanking: output.availBlanking != null ? deserializeAws_restJson1AvailBlanking(output.availBlanking, context) : undefined,
|
|
5933
|
+
Esam: output.esam != null ? deserializeAws_restJson1EsamSettings(output.esam, context) : undefined,
|
|
5934
|
+
ExtendedDataServices: output.extendedDataServices != null
|
|
6532
5935
|
? deserializeAws_restJson1ExtendedDataServices(output.extendedDataServices, context)
|
|
6533
5936
|
: undefined,
|
|
6534
|
-
Inputs: output.inputs
|
|
6535
|
-
|
|
6536
|
-
: undefined,
|
|
6537
|
-
KantarWatermark: output.kantarWatermark !== undefined && output.kantarWatermark !== null
|
|
5937
|
+
Inputs: output.inputs != null ? deserializeAws_restJson1__listOfInputTemplate(output.inputs, context) : undefined,
|
|
5938
|
+
KantarWatermark: output.kantarWatermark != null
|
|
6538
5939
|
? deserializeAws_restJson1KantarWatermarkSettings(output.kantarWatermark, context)
|
|
6539
5940
|
: undefined,
|
|
6540
|
-
MotionImageInserter: output.motionImageInserter
|
|
5941
|
+
MotionImageInserter: output.motionImageInserter != null
|
|
6541
5942
|
? deserializeAws_restJson1MotionImageInserter(output.motionImageInserter, context)
|
|
6542
5943
|
: undefined,
|
|
6543
|
-
NielsenConfiguration: output.nielsenConfiguration
|
|
5944
|
+
NielsenConfiguration: output.nielsenConfiguration != null
|
|
6544
5945
|
? deserializeAws_restJson1NielsenConfiguration(output.nielsenConfiguration, context)
|
|
6545
5946
|
: undefined,
|
|
6546
|
-
NielsenNonLinearWatermark: output.nielsenNonLinearWatermark
|
|
5947
|
+
NielsenNonLinearWatermark: output.nielsenNonLinearWatermark != null
|
|
6547
5948
|
? deserializeAws_restJson1NielsenNonLinearWatermarkSettings(output.nielsenNonLinearWatermark, context)
|
|
6548
5949
|
: undefined,
|
|
6549
|
-
OutputGroups: output.outputGroups
|
|
5950
|
+
OutputGroups: output.outputGroups != null
|
|
6550
5951
|
? deserializeAws_restJson1__listOfOutputGroup(output.outputGroups, context)
|
|
6551
5952
|
: undefined,
|
|
6552
|
-
TimecodeConfig: output.timecodeConfig
|
|
5953
|
+
TimecodeConfig: output.timecodeConfig != null
|
|
6553
5954
|
? deserializeAws_restJson1TimecodeConfig(output.timecodeConfig, context)
|
|
6554
5955
|
: undefined,
|
|
6555
|
-
TimedMetadataInsertion: output.timedMetadataInsertion
|
|
5956
|
+
TimedMetadataInsertion: output.timedMetadataInsertion != null
|
|
6556
5957
|
? deserializeAws_restJson1TimedMetadataInsertion(output.timedMetadataInsertion, context)
|
|
6557
5958
|
: undefined,
|
|
6558
5959
|
};
|
|
@@ -6584,22 +5985,22 @@ var deserializeAws_restJson1M2tsSettings = function (output, context) {
|
|
|
6584
5985
|
AudioBufferModel: __expectString(output.audioBufferModel),
|
|
6585
5986
|
AudioDuration: __expectString(output.audioDuration),
|
|
6586
5987
|
AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
|
|
6587
|
-
AudioPids: output.audioPids
|
|
5988
|
+
AudioPids: output.audioPids != null
|
|
6588
5989
|
? deserializeAws_restJson1__listOf__integerMin32Max8182(output.audioPids, context)
|
|
6589
5990
|
: undefined,
|
|
6590
5991
|
Bitrate: __expectInt32(output.bitrate),
|
|
6591
5992
|
BufferModel: __expectString(output.bufferModel),
|
|
6592
5993
|
DataPTSControl: __expectString(output.dataPTSControl),
|
|
6593
|
-
DvbNitSettings: output.dvbNitSettings
|
|
5994
|
+
DvbNitSettings: output.dvbNitSettings != null
|
|
6594
5995
|
? deserializeAws_restJson1DvbNitSettings(output.dvbNitSettings, context)
|
|
6595
5996
|
: undefined,
|
|
6596
|
-
DvbSdtSettings: output.dvbSdtSettings
|
|
5997
|
+
DvbSdtSettings: output.dvbSdtSettings != null
|
|
6597
5998
|
? deserializeAws_restJson1DvbSdtSettings(output.dvbSdtSettings, context)
|
|
6598
5999
|
: undefined,
|
|
6599
|
-
DvbSubPids: output.dvbSubPids
|
|
6000
|
+
DvbSubPids: output.dvbSubPids != null
|
|
6600
6001
|
? deserializeAws_restJson1__listOf__integerMin32Max8182(output.dvbSubPids, context)
|
|
6601
6002
|
: undefined,
|
|
6602
|
-
DvbTdtSettings: output.dvbTdtSettings
|
|
6003
|
+
DvbTdtSettings: output.dvbTdtSettings != null
|
|
6603
6004
|
? deserializeAws_restJson1DvbTdtSettings(output.dvbTdtSettings, context)
|
|
6604
6005
|
: undefined,
|
|
6605
6006
|
DvbTeletextPid: __expectInt32(output.dvbTeletextPid),
|
|
@@ -6621,9 +6022,7 @@ var deserializeAws_restJson1M2tsSettings = function (output, context) {
|
|
|
6621
6022
|
PrivateMetadataPid: __expectInt32(output.privateMetadataPid),
|
|
6622
6023
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
6623
6024
|
RateMode: __expectString(output.rateMode),
|
|
6624
|
-
Scte35Esam: output.scte35Esam
|
|
6625
|
-
? deserializeAws_restJson1M2tsScte35Esam(output.scte35Esam, context)
|
|
6626
|
-
: undefined,
|
|
6025
|
+
Scte35Esam: output.scte35Esam != null ? deserializeAws_restJson1M2tsScte35Esam(output.scte35Esam, context) : undefined,
|
|
6627
6026
|
Scte35Pid: __expectInt32(output.scte35Pid),
|
|
6628
6027
|
Scte35Source: __expectString(output.scte35Source),
|
|
6629
6028
|
SegmentationMarkers: __expectString(output.segmentationMarkers),
|
|
@@ -6638,7 +6037,7 @@ var deserializeAws_restJson1M3u8Settings = function (output, context) {
|
|
|
6638
6037
|
return {
|
|
6639
6038
|
AudioDuration: __expectString(output.audioDuration),
|
|
6640
6039
|
AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
|
|
6641
|
-
AudioPids: output.audioPids
|
|
6040
|
+
AudioPids: output.audioPids != null
|
|
6642
6041
|
? deserializeAws_restJson1__listOf__integerMin32Max8182(output.audioPids, context)
|
|
6643
6042
|
: undefined,
|
|
6644
6043
|
DataPTSControl: __expectString(output.dataPTSControl),
|
|
@@ -6673,14 +6072,12 @@ var deserializeAws_restJson1MinTopRenditionSize = function (output, context) {
|
|
|
6673
6072
|
};
|
|
6674
6073
|
var deserializeAws_restJson1MotionImageInserter = function (output, context) {
|
|
6675
6074
|
return {
|
|
6676
|
-
Framerate: output.framerate
|
|
6075
|
+
Framerate: output.framerate != null
|
|
6677
6076
|
? deserializeAws_restJson1MotionImageInsertionFramerate(output.framerate, context)
|
|
6678
6077
|
: undefined,
|
|
6679
6078
|
Input: __expectString(output.input),
|
|
6680
6079
|
InsertionMode: __expectString(output.insertionMode),
|
|
6681
|
-
Offset: output.offset
|
|
6682
|
-
? deserializeAws_restJson1MotionImageInsertionOffset(output.offset, context)
|
|
6683
|
-
: undefined,
|
|
6080
|
+
Offset: output.offset != null ? deserializeAws_restJson1MotionImageInsertionOffset(output.offset, context) : undefined,
|
|
6684
6081
|
Playback: __expectString(output.playback),
|
|
6685
6082
|
StartTime: __expectString(output.startTime),
|
|
6686
6083
|
};
|
|
@@ -6782,29 +6179,29 @@ var deserializeAws_restJson1Mpeg2Settings = function (output, context) {
|
|
|
6782
6179
|
var deserializeAws_restJson1MsSmoothAdditionalManifest = function (output, context) {
|
|
6783
6180
|
return {
|
|
6784
6181
|
ManifestNameModifier: __expectString(output.manifestNameModifier),
|
|
6785
|
-
SelectedOutputs: output.selectedOutputs
|
|
6182
|
+
SelectedOutputs: output.selectedOutputs != null
|
|
6786
6183
|
? deserializeAws_restJson1__listOf__stringMin1(output.selectedOutputs, context)
|
|
6787
6184
|
: undefined,
|
|
6788
6185
|
};
|
|
6789
6186
|
};
|
|
6790
6187
|
var deserializeAws_restJson1MsSmoothEncryptionSettings = function (output, context) {
|
|
6791
6188
|
return {
|
|
6792
|
-
SpekeKeyProvider: output.spekeKeyProvider
|
|
6189
|
+
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
6793
6190
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
6794
6191
|
: undefined,
|
|
6795
6192
|
};
|
|
6796
6193
|
};
|
|
6797
6194
|
var deserializeAws_restJson1MsSmoothGroupSettings = function (output, context) {
|
|
6798
6195
|
return {
|
|
6799
|
-
AdditionalManifests: output.additionalManifests
|
|
6196
|
+
AdditionalManifests: output.additionalManifests != null
|
|
6800
6197
|
? deserializeAws_restJson1__listOfMsSmoothAdditionalManifest(output.additionalManifests, context)
|
|
6801
6198
|
: undefined,
|
|
6802
6199
|
AudioDeduplication: __expectString(output.audioDeduplication),
|
|
6803
6200
|
Destination: __expectString(output.destination),
|
|
6804
|
-
DestinationSettings: output.destinationSettings
|
|
6201
|
+
DestinationSettings: output.destinationSettings != null
|
|
6805
6202
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
6806
6203
|
: undefined,
|
|
6807
|
-
Encryption: output.encryption
|
|
6204
|
+
Encryption: output.encryption != null
|
|
6808
6205
|
? deserializeAws_restJson1MsSmoothEncryptionSettings(output.encryption, context)
|
|
6809
6206
|
: undefined,
|
|
6810
6207
|
FragmentLength: __expectInt32(output.fragmentLength),
|
|
@@ -6816,7 +6213,7 @@ var deserializeAws_restJson1MxfSettings = function (output, context) {
|
|
|
6816
6213
|
return {
|
|
6817
6214
|
AfdSignaling: __expectString(output.afdSignaling),
|
|
6818
6215
|
Profile: __expectString(output.profile),
|
|
6819
|
-
XavcProfileSettings: output.xavcProfileSettings
|
|
6216
|
+
XavcProfileSettings: output.xavcProfileSettings != null
|
|
6820
6217
|
? deserializeAws_restJson1MxfXavcProfileSettings(output.xavcProfileSettings, context)
|
|
6821
6218
|
: undefined,
|
|
6822
6219
|
};
|
|
@@ -6859,13 +6256,13 @@ var deserializeAws_restJson1NielsenNonLinearWatermarkSettings = function (output
|
|
|
6859
6256
|
var deserializeAws_restJson1NoiseReducer = function (output, context) {
|
|
6860
6257
|
return {
|
|
6861
6258
|
Filter: __expectString(output.filter),
|
|
6862
|
-
FilterSettings: output.filterSettings
|
|
6259
|
+
FilterSettings: output.filterSettings != null
|
|
6863
6260
|
? deserializeAws_restJson1NoiseReducerFilterSettings(output.filterSettings, context)
|
|
6864
6261
|
: undefined,
|
|
6865
|
-
SpatialFilterSettings: output.spatialFilterSettings
|
|
6262
|
+
SpatialFilterSettings: output.spatialFilterSettings != null
|
|
6866
6263
|
? deserializeAws_restJson1NoiseReducerSpatialFilterSettings(output.spatialFilterSettings, context)
|
|
6867
6264
|
: undefined,
|
|
6868
|
-
TemporalFilterSettings: output.temporalFilterSettings
|
|
6265
|
+
TemporalFilterSettings: output.temporalFilterSettings != null
|
|
6869
6266
|
? deserializeAws_restJson1NoiseReducerTemporalFilterSettings(output.temporalFilterSettings, context)
|
|
6870
6267
|
: undefined,
|
|
6871
6268
|
};
|
|
@@ -6900,32 +6297,32 @@ var deserializeAws_restJson1OpusSettings = function (output, context) {
|
|
|
6900
6297
|
};
|
|
6901
6298
|
var deserializeAws_restJson1Output = function (output, context) {
|
|
6902
6299
|
return {
|
|
6903
|
-
AudioDescriptions: output.audioDescriptions
|
|
6300
|
+
AudioDescriptions: output.audioDescriptions != null
|
|
6904
6301
|
? deserializeAws_restJson1__listOfAudioDescription(output.audioDescriptions, context)
|
|
6905
6302
|
: undefined,
|
|
6906
|
-
CaptionDescriptions: output.captionDescriptions
|
|
6303
|
+
CaptionDescriptions: output.captionDescriptions != null
|
|
6907
6304
|
? deserializeAws_restJson1__listOfCaptionDescription(output.captionDescriptions, context)
|
|
6908
6305
|
: undefined,
|
|
6909
|
-
ContainerSettings: output.containerSettings
|
|
6306
|
+
ContainerSettings: output.containerSettings != null
|
|
6910
6307
|
? deserializeAws_restJson1ContainerSettings(output.containerSettings, context)
|
|
6911
6308
|
: undefined,
|
|
6912
6309
|
Extension: __expectString(output.extension),
|
|
6913
6310
|
NameModifier: __expectString(output.nameModifier),
|
|
6914
|
-
OutputSettings: output.outputSettings
|
|
6311
|
+
OutputSettings: output.outputSettings != null
|
|
6915
6312
|
? deserializeAws_restJson1OutputSettings(output.outputSettings, context)
|
|
6916
6313
|
: undefined,
|
|
6917
6314
|
Preset: __expectString(output.preset),
|
|
6918
|
-
VideoDescription: output.videoDescription
|
|
6315
|
+
VideoDescription: output.videoDescription != null
|
|
6919
6316
|
? deserializeAws_restJson1VideoDescription(output.videoDescription, context)
|
|
6920
6317
|
: undefined,
|
|
6921
6318
|
};
|
|
6922
6319
|
};
|
|
6923
6320
|
var deserializeAws_restJson1OutputChannelMapping = function (output, context) {
|
|
6924
6321
|
return {
|
|
6925
|
-
InputChannels: output.inputChannels
|
|
6322
|
+
InputChannels: output.inputChannels != null
|
|
6926
6323
|
? deserializeAws_restJson1__listOf__integerMinNegative60Max6(output.inputChannels, context)
|
|
6927
6324
|
: undefined,
|
|
6928
|
-
InputChannelsFineTune: output.inputChannelsFineTune
|
|
6325
|
+
InputChannelsFineTune: output.inputChannelsFineTune != null
|
|
6929
6326
|
? deserializeAws_restJson1__listOf__doubleMinNegative60Max6(output.inputChannelsFineTune, context)
|
|
6930
6327
|
: undefined,
|
|
6931
6328
|
};
|
|
@@ -6933,48 +6330,44 @@ var deserializeAws_restJson1OutputChannelMapping = function (output, context) {
|
|
|
6933
6330
|
var deserializeAws_restJson1OutputDetail = function (output, context) {
|
|
6934
6331
|
return {
|
|
6935
6332
|
DurationInMs: __expectInt32(output.durationInMs),
|
|
6936
|
-
VideoDetails: output.videoDetails
|
|
6937
|
-
? deserializeAws_restJson1VideoDetail(output.videoDetails, context)
|
|
6938
|
-
: undefined,
|
|
6333
|
+
VideoDetails: output.videoDetails != null ? deserializeAws_restJson1VideoDetail(output.videoDetails, context) : undefined,
|
|
6939
6334
|
};
|
|
6940
6335
|
};
|
|
6941
6336
|
var deserializeAws_restJson1OutputGroup = function (output, context) {
|
|
6942
6337
|
return {
|
|
6943
|
-
AutomatedEncodingSettings: output.automatedEncodingSettings
|
|
6338
|
+
AutomatedEncodingSettings: output.automatedEncodingSettings != null
|
|
6944
6339
|
? deserializeAws_restJson1AutomatedEncodingSettings(output.automatedEncodingSettings, context)
|
|
6945
6340
|
: undefined,
|
|
6946
6341
|
CustomName: __expectString(output.customName),
|
|
6947
6342
|
Name: __expectString(output.name),
|
|
6948
|
-
OutputGroupSettings: output.outputGroupSettings
|
|
6343
|
+
OutputGroupSettings: output.outputGroupSettings != null
|
|
6949
6344
|
? deserializeAws_restJson1OutputGroupSettings(output.outputGroupSettings, context)
|
|
6950
6345
|
: undefined,
|
|
6951
|
-
Outputs: output.outputs
|
|
6952
|
-
? deserializeAws_restJson1__listOfOutput(output.outputs, context)
|
|
6953
|
-
: undefined,
|
|
6346
|
+
Outputs: output.outputs != null ? deserializeAws_restJson1__listOfOutput(output.outputs, context) : undefined,
|
|
6954
6347
|
};
|
|
6955
6348
|
};
|
|
6956
6349
|
var deserializeAws_restJson1OutputGroupDetail = function (output, context) {
|
|
6957
6350
|
return {
|
|
6958
|
-
OutputDetails: output.outputDetails
|
|
6351
|
+
OutputDetails: output.outputDetails != null
|
|
6959
6352
|
? deserializeAws_restJson1__listOfOutputDetail(output.outputDetails, context)
|
|
6960
6353
|
: undefined,
|
|
6961
6354
|
};
|
|
6962
6355
|
};
|
|
6963
6356
|
var deserializeAws_restJson1OutputGroupSettings = function (output, context) {
|
|
6964
6357
|
return {
|
|
6965
|
-
CmafGroupSettings: output.cmafGroupSettings
|
|
6358
|
+
CmafGroupSettings: output.cmafGroupSettings != null
|
|
6966
6359
|
? deserializeAws_restJson1CmafGroupSettings(output.cmafGroupSettings, context)
|
|
6967
6360
|
: undefined,
|
|
6968
|
-
DashIsoGroupSettings: output.dashIsoGroupSettings
|
|
6361
|
+
DashIsoGroupSettings: output.dashIsoGroupSettings != null
|
|
6969
6362
|
? deserializeAws_restJson1DashIsoGroupSettings(output.dashIsoGroupSettings, context)
|
|
6970
6363
|
: undefined,
|
|
6971
|
-
FileGroupSettings: output.fileGroupSettings
|
|
6364
|
+
FileGroupSettings: output.fileGroupSettings != null
|
|
6972
6365
|
? deserializeAws_restJson1FileGroupSettings(output.fileGroupSettings, context)
|
|
6973
6366
|
: undefined,
|
|
6974
|
-
HlsGroupSettings: output.hlsGroupSettings
|
|
6367
|
+
HlsGroupSettings: output.hlsGroupSettings != null
|
|
6975
6368
|
? deserializeAws_restJson1HlsGroupSettings(output.hlsGroupSettings, context)
|
|
6976
6369
|
: undefined,
|
|
6977
|
-
MsSmoothGroupSettings: output.msSmoothGroupSettings
|
|
6370
|
+
MsSmoothGroupSettings: output.msSmoothGroupSettings != null
|
|
6978
6371
|
? deserializeAws_restJson1MsSmoothGroupSettings(output.msSmoothGroupSettings, context)
|
|
6979
6372
|
: undefined,
|
|
6980
6373
|
Type: __expectString(output.type),
|
|
@@ -6982,14 +6375,12 @@ var deserializeAws_restJson1OutputGroupSettings = function (output, context) {
|
|
|
6982
6375
|
};
|
|
6983
6376
|
var deserializeAws_restJson1OutputSettings = function (output, context) {
|
|
6984
6377
|
return {
|
|
6985
|
-
HlsSettings: output.hlsSettings
|
|
6986
|
-
? deserializeAws_restJson1HlsSettings(output.hlsSettings, context)
|
|
6987
|
-
: undefined,
|
|
6378
|
+
HlsSettings: output.hlsSettings != null ? deserializeAws_restJson1HlsSettings(output.hlsSettings, context) : undefined,
|
|
6988
6379
|
};
|
|
6989
6380
|
};
|
|
6990
6381
|
var deserializeAws_restJson1PartnerWatermarking = function (output, context) {
|
|
6991
6382
|
return {
|
|
6992
|
-
NexguardFileMarkerSettings: output.nexguardFileMarkerSettings
|
|
6383
|
+
NexguardFileMarkerSettings: output.nexguardFileMarkerSettings != null
|
|
6993
6384
|
? deserializeAws_restJson1NexGuardFileMarkerSettings(output.nexguardFileMarkerSettings, context)
|
|
6994
6385
|
: undefined,
|
|
6995
6386
|
};
|
|
@@ -7005,32 +6396,28 @@ var deserializeAws_restJson1Preset = function (output, context) {
|
|
|
7005
6396
|
return {
|
|
7006
6397
|
Arn: __expectString(output.arn),
|
|
7007
6398
|
Category: __expectString(output.category),
|
|
7008
|
-
CreatedAt: output.createdAt
|
|
7009
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7010
|
-
: undefined,
|
|
6399
|
+
CreatedAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7011
6400
|
Description: __expectString(output.description),
|
|
7012
|
-
LastUpdated: output.lastUpdated
|
|
6401
|
+
LastUpdated: output.lastUpdated != null
|
|
7013
6402
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
7014
6403
|
: undefined,
|
|
7015
6404
|
Name: __expectString(output.name),
|
|
7016
|
-
Settings: output.settings
|
|
7017
|
-
? deserializeAws_restJson1PresetSettings(output.settings, context)
|
|
7018
|
-
: undefined,
|
|
6405
|
+
Settings: output.settings != null ? deserializeAws_restJson1PresetSettings(output.settings, context) : undefined,
|
|
7019
6406
|
Type: __expectString(output.type),
|
|
7020
6407
|
};
|
|
7021
6408
|
};
|
|
7022
6409
|
var deserializeAws_restJson1PresetSettings = function (output, context) {
|
|
7023
6410
|
return {
|
|
7024
|
-
AudioDescriptions: output.audioDescriptions
|
|
6411
|
+
AudioDescriptions: output.audioDescriptions != null
|
|
7025
6412
|
? deserializeAws_restJson1__listOfAudioDescription(output.audioDescriptions, context)
|
|
7026
6413
|
: undefined,
|
|
7027
|
-
CaptionDescriptions: output.captionDescriptions
|
|
6414
|
+
CaptionDescriptions: output.captionDescriptions != null
|
|
7028
6415
|
? deserializeAws_restJson1__listOfCaptionDescriptionPreset(output.captionDescriptions, context)
|
|
7029
6416
|
: undefined,
|
|
7030
|
-
ContainerSettings: output.containerSettings
|
|
6417
|
+
ContainerSettings: output.containerSettings != null
|
|
7031
6418
|
? deserializeAws_restJson1ContainerSettings(output.containerSettings, context)
|
|
7032
6419
|
: undefined,
|
|
7033
|
-
VideoDescription: output.videoDescription
|
|
6420
|
+
VideoDescription: output.videoDescription != null
|
|
7034
6421
|
? deserializeAws_restJson1VideoDescription(output.videoDescription, context)
|
|
7035
6422
|
: undefined,
|
|
7036
6423
|
};
|
|
@@ -7055,17 +6442,15 @@ var deserializeAws_restJson1ProresSettings = function (output, context) {
|
|
|
7055
6442
|
var deserializeAws_restJson1Queue = function (output, context) {
|
|
7056
6443
|
return {
|
|
7057
6444
|
Arn: __expectString(output.arn),
|
|
7058
|
-
CreatedAt: output.createdAt
|
|
7059
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7060
|
-
: undefined,
|
|
6445
|
+
CreatedAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7061
6446
|
Description: __expectString(output.description),
|
|
7062
|
-
LastUpdated: output.lastUpdated
|
|
6447
|
+
LastUpdated: output.lastUpdated != null
|
|
7063
6448
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
7064
6449
|
: undefined,
|
|
7065
6450
|
Name: __expectString(output.name),
|
|
7066
6451
|
PricingPlan: __expectString(output.pricingPlan),
|
|
7067
6452
|
ProgressingJobsCount: __expectInt32(output.progressingJobsCount),
|
|
7068
|
-
ReservationPlan: output.reservationPlan
|
|
6453
|
+
ReservationPlan: output.reservationPlan != null
|
|
7069
6454
|
? deserializeAws_restJson1ReservationPlan(output.reservationPlan, context)
|
|
7070
6455
|
: undefined,
|
|
7071
6456
|
Status: __expectString(output.status),
|
|
@@ -7077,9 +6462,7 @@ var deserializeAws_restJson1QueueTransition = function (output, context) {
|
|
|
7077
6462
|
return {
|
|
7078
6463
|
DestinationQueue: __expectString(output.destinationQueue),
|
|
7079
6464
|
SourceQueue: __expectString(output.sourceQueue),
|
|
7080
|
-
Timestamp: output.timestamp
|
|
7081
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
|
|
7082
|
-
: undefined,
|
|
6465
|
+
Timestamp: output.timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp))) : undefined,
|
|
7083
6466
|
};
|
|
7084
6467
|
};
|
|
7085
6468
|
var deserializeAws_restJson1Rectangle = function (output, context) {
|
|
@@ -7092,7 +6475,7 @@ var deserializeAws_restJson1Rectangle = function (output, context) {
|
|
|
7092
6475
|
};
|
|
7093
6476
|
var deserializeAws_restJson1RemixSettings = function (output, context) {
|
|
7094
6477
|
return {
|
|
7095
|
-
ChannelMapping: output.channelMapping
|
|
6478
|
+
ChannelMapping: output.channelMapping != null
|
|
7096
6479
|
? deserializeAws_restJson1ChannelMapping(output.channelMapping, context)
|
|
7097
6480
|
: undefined,
|
|
7098
6481
|
ChannelsIn: __expectInt32(output.channelsIn),
|
|
@@ -7102,10 +6485,8 @@ var deserializeAws_restJson1RemixSettings = function (output, context) {
|
|
|
7102
6485
|
var deserializeAws_restJson1ReservationPlan = function (output, context) {
|
|
7103
6486
|
return {
|
|
7104
6487
|
Commitment: __expectString(output.commitment),
|
|
7105
|
-
ExpiresAt: output.expiresAt
|
|
7106
|
-
|
|
7107
|
-
: undefined,
|
|
7108
|
-
PurchasedAt: output.purchasedAt !== undefined && output.purchasedAt !== null
|
|
6488
|
+
ExpiresAt: output.expiresAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt))) : undefined,
|
|
6489
|
+
PurchasedAt: output.purchasedAt != null
|
|
7109
6490
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.purchasedAt)))
|
|
7110
6491
|
: undefined,
|
|
7111
6492
|
RenewalType: __expectString(output.renewalType),
|
|
@@ -7116,9 +6497,7 @@ var deserializeAws_restJson1ReservationPlan = function (output, context) {
|
|
|
7116
6497
|
var deserializeAws_restJson1ResourceTags = function (output, context) {
|
|
7117
6498
|
return {
|
|
7118
6499
|
Arn: __expectString(output.arn),
|
|
7119
|
-
Tags: output.tags
|
|
7120
|
-
? deserializeAws_restJson1__mapOf__string(output.tags, context)
|
|
7121
|
-
: undefined,
|
|
6500
|
+
Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
|
|
7122
6501
|
};
|
|
7123
6502
|
};
|
|
7124
6503
|
var deserializeAws_restJson1S3DestinationAccessControl = function (output, context) {
|
|
@@ -7128,12 +6507,10 @@ var deserializeAws_restJson1S3DestinationAccessControl = function (output, conte
|
|
|
7128
6507
|
};
|
|
7129
6508
|
var deserializeAws_restJson1S3DestinationSettings = function (output, context) {
|
|
7130
6509
|
return {
|
|
7131
|
-
AccessControl: output.accessControl
|
|
6510
|
+
AccessControl: output.accessControl != null
|
|
7132
6511
|
? deserializeAws_restJson1S3DestinationAccessControl(output.accessControl, context)
|
|
7133
6512
|
: undefined,
|
|
7134
|
-
Encryption: output.encryption
|
|
7135
|
-
? deserializeAws_restJson1S3EncryptionSettings(output.encryption, context)
|
|
7136
|
-
: undefined,
|
|
6513
|
+
Encryption: output.encryption != null ? deserializeAws_restJson1S3EncryptionSettings(output.encryption, context) : undefined,
|
|
7137
6514
|
};
|
|
7138
6515
|
};
|
|
7139
6516
|
var deserializeAws_restJson1S3EncryptionSettings = function (output, context) {
|
|
@@ -7152,7 +6529,7 @@ var deserializeAws_restJson1SpekeKeyProvider = function (output, context) {
|
|
|
7152
6529
|
return {
|
|
7153
6530
|
CertificateArn: __expectString(output.certificateArn),
|
|
7154
6531
|
ResourceId: __expectString(output.resourceId),
|
|
7155
|
-
SystemIds: output.systemIds
|
|
6532
|
+
SystemIds: output.systemIds != null
|
|
7156
6533
|
? deserializeAws_restJson1__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12(output.systemIds, context)
|
|
7157
6534
|
: undefined,
|
|
7158
6535
|
Url: __expectString(output.url),
|
|
@@ -7161,10 +6538,10 @@ var deserializeAws_restJson1SpekeKeyProvider = function (output, context) {
|
|
|
7161
6538
|
var deserializeAws_restJson1SpekeKeyProviderCmaf = function (output, context) {
|
|
7162
6539
|
return {
|
|
7163
6540
|
CertificateArn: __expectString(output.certificateArn),
|
|
7164
|
-
DashSignaledSystemIds: output.dashSignaledSystemIds
|
|
6541
|
+
DashSignaledSystemIds: output.dashSignaledSystemIds != null
|
|
7165
6542
|
? deserializeAws_restJson1__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(output.dashSignaledSystemIds, context)
|
|
7166
6543
|
: undefined,
|
|
7167
|
-
HlsSignaledSystemIds: output.hlsSignaledSystemIds
|
|
6544
|
+
HlsSignaledSystemIds: output.hlsSignaledSystemIds != null
|
|
7168
6545
|
? deserializeAws_restJson1__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(output.hlsSignaledSystemIds, context)
|
|
7169
6546
|
: undefined,
|
|
7170
6547
|
ResourceId: __expectString(output.resourceId),
|
|
@@ -7187,7 +6564,7 @@ var deserializeAws_restJson1StaticKeyProvider = function (output, context) {
|
|
|
7187
6564
|
var deserializeAws_restJson1TeletextDestinationSettings = function (output, context) {
|
|
7188
6565
|
return {
|
|
7189
6566
|
PageNumber: __expectString(output.pageNumber),
|
|
7190
|
-
PageTypes: output.pageTypes
|
|
6567
|
+
PageTypes: output.pageTypes != null
|
|
7191
6568
|
? deserializeAws_restJson1__listOfTeletextPageType(output.pageTypes, context)
|
|
7192
6569
|
: undefined,
|
|
7193
6570
|
};
|
|
@@ -7214,22 +6591,16 @@ var deserializeAws_restJson1TimecodeConfig = function (output, context) {
|
|
|
7214
6591
|
};
|
|
7215
6592
|
var deserializeAws_restJson1TimedMetadataInsertion = function (output, context) {
|
|
7216
6593
|
return {
|
|
7217
|
-
Id3Insertions: output.id3Insertions
|
|
6594
|
+
Id3Insertions: output.id3Insertions != null
|
|
7218
6595
|
? deserializeAws_restJson1__listOfId3Insertion(output.id3Insertions, context)
|
|
7219
6596
|
: undefined,
|
|
7220
6597
|
};
|
|
7221
6598
|
};
|
|
7222
6599
|
var deserializeAws_restJson1Timing = function (output, context) {
|
|
7223
6600
|
return {
|
|
7224
|
-
FinishTime: output.finishTime
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
StartTime: output.startTime !== undefined && output.startTime !== null
|
|
7228
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
7229
|
-
: undefined,
|
|
7230
|
-
SubmitTime: output.submitTime !== undefined && output.submitTime !== null
|
|
7231
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.submitTime)))
|
|
7232
|
-
: undefined,
|
|
6601
|
+
FinishTime: output.finishTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.finishTime))) : undefined,
|
|
6602
|
+
StartTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
6603
|
+
SubmitTime: output.submitTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.submitTime))) : undefined,
|
|
7233
6604
|
};
|
|
7234
6605
|
};
|
|
7235
6606
|
var deserializeAws_restJson1TrackSourceSettings = function (output, context) {
|
|
@@ -7257,64 +6628,44 @@ var deserializeAws_restJson1Vc3Settings = function (output, context) {
|
|
|
7257
6628
|
};
|
|
7258
6629
|
var deserializeAws_restJson1VideoCodecSettings = function (output, context) {
|
|
7259
6630
|
return {
|
|
7260
|
-
Av1Settings: output.av1Settings
|
|
7261
|
-
|
|
7262
|
-
: undefined,
|
|
7263
|
-
AvcIntraSettings: output.avcIntraSettings !== undefined && output.avcIntraSettings !== null
|
|
6631
|
+
Av1Settings: output.av1Settings != null ? deserializeAws_restJson1Av1Settings(output.av1Settings, context) : undefined,
|
|
6632
|
+
AvcIntraSettings: output.avcIntraSettings != null
|
|
7264
6633
|
? deserializeAws_restJson1AvcIntraSettings(output.avcIntraSettings, context)
|
|
7265
6634
|
: undefined,
|
|
7266
6635
|
Codec: __expectString(output.codec),
|
|
7267
|
-
FrameCaptureSettings: output.frameCaptureSettings
|
|
6636
|
+
FrameCaptureSettings: output.frameCaptureSettings != null
|
|
7268
6637
|
? deserializeAws_restJson1FrameCaptureSettings(output.frameCaptureSettings, context)
|
|
7269
6638
|
: undefined,
|
|
7270
|
-
H264Settings: output.h264Settings
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
? deserializeAws_restJson1H265Settings(output.h265Settings, context)
|
|
7275
|
-
: undefined,
|
|
7276
|
-
Mpeg2Settings: output.mpeg2Settings !== undefined && output.mpeg2Settings !== null
|
|
7277
|
-
? deserializeAws_restJson1Mpeg2Settings(output.mpeg2Settings, context)
|
|
7278
|
-
: undefined,
|
|
7279
|
-
ProresSettings: output.proresSettings !== undefined && output.proresSettings !== null
|
|
6639
|
+
H264Settings: output.h264Settings != null ? deserializeAws_restJson1H264Settings(output.h264Settings, context) : undefined,
|
|
6640
|
+
H265Settings: output.h265Settings != null ? deserializeAws_restJson1H265Settings(output.h265Settings, context) : undefined,
|
|
6641
|
+
Mpeg2Settings: output.mpeg2Settings != null ? deserializeAws_restJson1Mpeg2Settings(output.mpeg2Settings, context) : undefined,
|
|
6642
|
+
ProresSettings: output.proresSettings != null
|
|
7280
6643
|
? deserializeAws_restJson1ProresSettings(output.proresSettings, context)
|
|
7281
6644
|
: undefined,
|
|
7282
|
-
Vc3Settings: output.vc3Settings
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
? deserializeAws_restJson1Vp8Settings(output.vp8Settings, context)
|
|
7287
|
-
: undefined,
|
|
7288
|
-
Vp9Settings: output.vp9Settings !== undefined && output.vp9Settings !== null
|
|
7289
|
-
? deserializeAws_restJson1Vp9Settings(output.vp9Settings, context)
|
|
7290
|
-
: undefined,
|
|
7291
|
-
XavcSettings: output.xavcSettings !== undefined && output.xavcSettings !== null
|
|
7292
|
-
? deserializeAws_restJson1XavcSettings(output.xavcSettings, context)
|
|
7293
|
-
: undefined,
|
|
6645
|
+
Vc3Settings: output.vc3Settings != null ? deserializeAws_restJson1Vc3Settings(output.vc3Settings, context) : undefined,
|
|
6646
|
+
Vp8Settings: output.vp8Settings != null ? deserializeAws_restJson1Vp8Settings(output.vp8Settings, context) : undefined,
|
|
6647
|
+
Vp9Settings: output.vp9Settings != null ? deserializeAws_restJson1Vp9Settings(output.vp9Settings, context) : undefined,
|
|
6648
|
+
XavcSettings: output.xavcSettings != null ? deserializeAws_restJson1XavcSettings(output.xavcSettings, context) : undefined,
|
|
7294
6649
|
};
|
|
7295
6650
|
};
|
|
7296
6651
|
var deserializeAws_restJson1VideoDescription = function (output, context) {
|
|
7297
6652
|
return {
|
|
7298
6653
|
AfdSignaling: __expectString(output.afdSignaling),
|
|
7299
6654
|
AntiAlias: __expectString(output.antiAlias),
|
|
7300
|
-
CodecSettings: output.codecSettings
|
|
6655
|
+
CodecSettings: output.codecSettings != null
|
|
7301
6656
|
? deserializeAws_restJson1VideoCodecSettings(output.codecSettings, context)
|
|
7302
6657
|
: undefined,
|
|
7303
6658
|
ColorMetadata: __expectString(output.colorMetadata),
|
|
7304
|
-
Crop: output.crop
|
|
7305
|
-
? deserializeAws_restJson1Rectangle(output.crop, context)
|
|
7306
|
-
: undefined,
|
|
6659
|
+
Crop: output.crop != null ? deserializeAws_restJson1Rectangle(output.crop, context) : undefined,
|
|
7307
6660
|
DropFrameTimecode: __expectString(output.dropFrameTimecode),
|
|
7308
6661
|
FixedAfd: __expectInt32(output.fixedAfd),
|
|
7309
6662
|
Height: __expectInt32(output.height),
|
|
7310
|
-
Position: output.position
|
|
7311
|
-
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
7312
|
-
: undefined,
|
|
6663
|
+
Position: output.position != null ? deserializeAws_restJson1Rectangle(output.position, context) : undefined,
|
|
7313
6664
|
RespondToAfd: __expectString(output.respondToAfd),
|
|
7314
6665
|
ScalingBehavior: __expectString(output.scalingBehavior),
|
|
7315
6666
|
Sharpness: __expectInt32(output.sharpness),
|
|
7316
6667
|
TimecodeInsertion: __expectString(output.timecodeInsertion),
|
|
7317
|
-
VideoPreprocessors: output.videoPreprocessors
|
|
6668
|
+
VideoPreprocessors: output.videoPreprocessors != null
|
|
7318
6669
|
? deserializeAws_restJson1VideoPreprocessor(output.videoPreprocessors, context)
|
|
7319
6670
|
: undefined,
|
|
7320
6671
|
Width: __expectInt32(output.width),
|
|
@@ -7328,28 +6679,18 @@ var deserializeAws_restJson1VideoDetail = function (output, context) {
|
|
|
7328
6679
|
};
|
|
7329
6680
|
var deserializeAws_restJson1VideoPreprocessor = function (output, context) {
|
|
7330
6681
|
return {
|
|
7331
|
-
ColorCorrector: output.colorCorrector
|
|
6682
|
+
ColorCorrector: output.colorCorrector != null
|
|
7332
6683
|
? deserializeAws_restJson1ColorCorrector(output.colorCorrector, context)
|
|
7333
6684
|
: undefined,
|
|
7334
|
-
Deinterlacer: output.deinterlacer
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
Hdr10Plus: output.hdr10Plus !== undefined && output.hdr10Plus !== null
|
|
7341
|
-
? deserializeAws_restJson1Hdr10Plus(output.hdr10Plus, context)
|
|
7342
|
-
: undefined,
|
|
7343
|
-
ImageInserter: output.imageInserter !== undefined && output.imageInserter !== null
|
|
7344
|
-
? deserializeAws_restJson1ImageInserter(output.imageInserter, context)
|
|
7345
|
-
: undefined,
|
|
7346
|
-
NoiseReducer: output.noiseReducer !== undefined && output.noiseReducer !== null
|
|
7347
|
-
? deserializeAws_restJson1NoiseReducer(output.noiseReducer, context)
|
|
7348
|
-
: undefined,
|
|
7349
|
-
PartnerWatermarking: output.partnerWatermarking !== undefined && output.partnerWatermarking !== null
|
|
6685
|
+
Deinterlacer: output.deinterlacer != null ? deserializeAws_restJson1Deinterlacer(output.deinterlacer, context) : undefined,
|
|
6686
|
+
DolbyVision: output.dolbyVision != null ? deserializeAws_restJson1DolbyVision(output.dolbyVision, context) : undefined,
|
|
6687
|
+
Hdr10Plus: output.hdr10Plus != null ? deserializeAws_restJson1Hdr10Plus(output.hdr10Plus, context) : undefined,
|
|
6688
|
+
ImageInserter: output.imageInserter != null ? deserializeAws_restJson1ImageInserter(output.imageInserter, context) : undefined,
|
|
6689
|
+
NoiseReducer: output.noiseReducer != null ? deserializeAws_restJson1NoiseReducer(output.noiseReducer, context) : undefined,
|
|
6690
|
+
PartnerWatermarking: output.partnerWatermarking != null
|
|
7350
6691
|
? deserializeAws_restJson1PartnerWatermarking(output.partnerWatermarking, context)
|
|
7351
6692
|
: undefined,
|
|
7352
|
-
TimecodeBurnin: output.timecodeBurnin
|
|
6693
|
+
TimecodeBurnin: output.timecodeBurnin != null
|
|
7353
6694
|
? deserializeAws_restJson1TimecodeBurnin(output.timecodeBurnin, context)
|
|
7354
6695
|
: undefined,
|
|
7355
6696
|
};
|
|
@@ -7360,9 +6701,7 @@ var deserializeAws_restJson1VideoSelector = function (output, context) {
|
|
|
7360
6701
|
ColorSpace: __expectString(output.colorSpace),
|
|
7361
6702
|
ColorSpaceUsage: __expectString(output.colorSpaceUsage),
|
|
7362
6703
|
EmbeddedTimecodeOverride: __expectString(output.embeddedTimecodeOverride),
|
|
7363
|
-
Hdr10Metadata: output.hdr10Metadata
|
|
7364
|
-
? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context)
|
|
7365
|
-
: undefined,
|
|
6704
|
+
Hdr10Metadata: output.hdr10Metadata != null ? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context) : undefined,
|
|
7366
6705
|
PadVideo: __expectString(output.padVideo),
|
|
7367
6706
|
Pid: __expectInt32(output.pid),
|
|
7368
6707
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
@@ -7485,19 +6824,19 @@ var deserializeAws_restJson1XavcSettings = function (output, context) {
|
|
|
7485
6824
|
Softness: __expectInt32(output.softness),
|
|
7486
6825
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
7487
6826
|
TemporalAdaptiveQuantization: __expectString(output.temporalAdaptiveQuantization),
|
|
7488
|
-
Xavc4kIntraCbgProfileSettings: output.xavc4kIntraCbgProfileSettings
|
|
6827
|
+
Xavc4kIntraCbgProfileSettings: output.xavc4kIntraCbgProfileSettings != null
|
|
7489
6828
|
? deserializeAws_restJson1Xavc4kIntraCbgProfileSettings(output.xavc4kIntraCbgProfileSettings, context)
|
|
7490
6829
|
: undefined,
|
|
7491
|
-
Xavc4kIntraVbrProfileSettings: output.xavc4kIntraVbrProfileSettings
|
|
6830
|
+
Xavc4kIntraVbrProfileSettings: output.xavc4kIntraVbrProfileSettings != null
|
|
7492
6831
|
? deserializeAws_restJson1Xavc4kIntraVbrProfileSettings(output.xavc4kIntraVbrProfileSettings, context)
|
|
7493
6832
|
: undefined,
|
|
7494
|
-
Xavc4kProfileSettings: output.xavc4kProfileSettings
|
|
6833
|
+
Xavc4kProfileSettings: output.xavc4kProfileSettings != null
|
|
7495
6834
|
? deserializeAws_restJson1Xavc4kProfileSettings(output.xavc4kProfileSettings, context)
|
|
7496
6835
|
: undefined,
|
|
7497
|
-
XavcHdIntraCbgProfileSettings: output.xavcHdIntraCbgProfileSettings
|
|
6836
|
+
XavcHdIntraCbgProfileSettings: output.xavcHdIntraCbgProfileSettings != null
|
|
7498
6837
|
? deserializeAws_restJson1XavcHdIntraCbgProfileSettings(output.xavcHdIntraCbgProfileSettings, context)
|
|
7499
6838
|
: undefined,
|
|
7500
|
-
XavcHdProfileSettings: output.xavcHdProfileSettings
|
|
6839
|
+
XavcHdProfileSettings: output.xavcHdProfileSettings != null
|
|
7501
6840
|
? deserializeAws_restJson1XavcHdProfileSettings(output.xavcHdProfileSettings, context)
|
|
7502
6841
|
: undefined,
|
|
7503
6842
|
};
|
|
@@ -7558,5 +6897,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
7558
6897
|
if (data["__type"] !== undefined) {
|
|
7559
6898
|
return sanitizeErrorCode(data["__type"]);
|
|
7560
6899
|
}
|
|
7561
|
-
return "";
|
|
7562
6900
|
};
|