@aws-sdk/client-mediaconvert 3.121.0 → 3.130.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 +1384 -2070
- package/dist-es/protocols/Aws_restJson1.js +645 -1331
- 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,
|
|
@@ -3372,1443 +3346,942 @@ var serializeAws_restJson1__mapOfCaptionSelector = function (input, context) {
|
|
|
3372
3346
|
}, {});
|
|
3373
3347
|
};
|
|
3374
3348
|
var serializeAws_restJson1AacSettings = function (input, context) {
|
|
3375
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptionBroadcasterMix
|
|
3376
|
-
input.AudioDescriptionBroadcasterMix !== null && {
|
|
3349
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptionBroadcasterMix != null && {
|
|
3377
3350
|
audioDescriptionBroadcasterMix: input.AudioDescriptionBroadcasterMix,
|
|
3378
|
-
})), (input.Bitrate
|
|
3379
|
-
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 }));
|
|
3380
3352
|
};
|
|
3381
3353
|
var serializeAws_restJson1Ac3Settings = function (input, context) {
|
|
3382
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
3383
|
-
|
|
3384
|
-
|
|
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 && {
|
|
3385
3357
|
dynamicRangeCompressionProfile: input.DynamicRangeCompressionProfile,
|
|
3386
|
-
})), (input.DynamicRangeCompressionRf
|
|
3387
|
-
input.DynamicRangeCompressionRf !== null && { dynamicRangeCompressionRf: input.DynamicRangeCompressionRf })), (input.LfeFilter !== undefined && input.LfeFilter !== null && { lfeFilter: input.LfeFilter })), (input.MetadataControl !== undefined &&
|
|
3388
|
-
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 }));
|
|
3389
3359
|
};
|
|
3390
3360
|
var serializeAws_restJson1AccelerationSettings = function (input, context) {
|
|
3391
|
-
return __assign({}, (input.Mode
|
|
3361
|
+
return __assign({}, (input.Mode != null && { mode: input.Mode }));
|
|
3392
3362
|
};
|
|
3393
3363
|
var serializeAws_restJson1AiffSettings = function (input, context) {
|
|
3394
|
-
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 }));
|
|
3395
3365
|
};
|
|
3396
3366
|
var serializeAws_restJson1AllowedRenditionSize = function (input, context) {
|
|
3397
|
-
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 }));
|
|
3398
3368
|
};
|
|
3399
3369
|
var serializeAws_restJson1AncillarySourceSettings = function (input, context) {
|
|
3400
|
-
return __assign(__assign(__assign({}, (input.Convert608To708
|
|
3401
|
-
input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.SourceAncillaryChannelNumber !== undefined &&
|
|
3402
|
-
input.SourceAncillaryChannelNumber !== null && {
|
|
3370
|
+
return __assign(__assign(__assign({}, (input.Convert608To708 != null && { convert608To708: input.Convert608To708 })), (input.SourceAncillaryChannelNumber != null && {
|
|
3403
3371
|
sourceAncillaryChannelNumber: input.SourceAncillaryChannelNumber,
|
|
3404
|
-
})), (input.TerminateCaptions
|
|
3405
|
-
input.TerminateCaptions !== null && { terminateCaptions: input.TerminateCaptions }));
|
|
3372
|
+
})), (input.TerminateCaptions != null && { terminateCaptions: input.TerminateCaptions }));
|
|
3406
3373
|
};
|
|
3407
3374
|
var serializeAws_restJson1AudioChannelTaggingSettings = function (input, context) {
|
|
3408
|
-
return __assign({}, (input.ChannelTag
|
|
3375
|
+
return __assign({}, (input.ChannelTag != null && { channelTag: input.ChannelTag }));
|
|
3409
3376
|
};
|
|
3410
3377
|
var serializeAws_restJson1AudioCodecSettings = function (input, context) {
|
|
3411
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AacSettings
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
input.AiffSettings !== null && { aiffSettings: serializeAws_restJson1AiffSettings(input.AiffSettings, context) })), (input.Codec !== undefined && input.Codec !== null && { codec: input.Codec })), (input.Eac3AtmosSettings !== undefined &&
|
|
3415
|
-
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 && {
|
|
3416
3381
|
eac3AtmosSettings: serializeAws_restJson1Eac3AtmosSettings(input.Eac3AtmosSettings, context),
|
|
3417
|
-
})), (input.Eac3Settings
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
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 && {
|
|
3423
3387
|
vorbisSettings: serializeAws_restJson1VorbisSettings(input.VorbisSettings, context),
|
|
3424
|
-
})), (input.WavSettings
|
|
3425
|
-
input.WavSettings !== null && { wavSettings: serializeAws_restJson1WavSettings(input.WavSettings, context) }));
|
|
3388
|
+
})), (input.WavSettings != null && { wavSettings: serializeAws_restJson1WavSettings(input.WavSettings, context) }));
|
|
3426
3389
|
};
|
|
3427
3390
|
var serializeAws_restJson1AudioDescription = function (input, context) {
|
|
3428
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioChannelTaggingSettings
|
|
3429
|
-
input.AudioChannelTaggingSettings !== null && {
|
|
3391
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioChannelTaggingSettings != null && {
|
|
3430
3392
|
audioChannelTaggingSettings: serializeAws_restJson1AudioChannelTaggingSettings(input.AudioChannelTaggingSettings, context),
|
|
3431
|
-
})), (input.AudioNormalizationSettings
|
|
3432
|
-
input.AudioNormalizationSettings !== null && {
|
|
3393
|
+
})), (input.AudioNormalizationSettings != null && {
|
|
3433
3394
|
audioNormalizationSettings: serializeAws_restJson1AudioNormalizationSettings(input.AudioNormalizationSettings, context),
|
|
3434
|
-
})), (input.AudioSourceName
|
|
3435
|
-
input.AudioSourceName !== null && { audioSourceName: input.AudioSourceName })), (input.AudioType !== undefined && input.AudioType !== null && { audioType: input.AudioType })), (input.AudioTypeControl !== undefined &&
|
|
3436
|
-
input.AudioTypeControl !== null && { audioTypeControl: input.AudioTypeControl })), (input.CodecSettings !== undefined &&
|
|
3437
|
-
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 && {
|
|
3438
3396
|
codecSettings: serializeAws_restJson1AudioCodecSettings(input.CodecSettings, context),
|
|
3439
|
-
})), (input.CustomLanguageCode
|
|
3440
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { languageCode: input.LanguageCode })), (input.LanguageCodeControl !== undefined &&
|
|
3441
|
-
input.LanguageCodeControl !== null && { languageCodeControl: input.LanguageCodeControl })), (input.RemixSettings !== undefined &&
|
|
3442
|
-
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 && {
|
|
3443
3398
|
remixSettings: serializeAws_restJson1RemixSettings(input.RemixSettings, context),
|
|
3444
|
-
})), (input.StreamName
|
|
3399
|
+
})), (input.StreamName != null && { streamName: input.StreamName }));
|
|
3445
3400
|
};
|
|
3446
3401
|
var serializeAws_restJson1AudioNormalizationSettings = function (input, context) {
|
|
3447
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Algorithm
|
|
3448
|
-
input.AlgorithmControl !== null && { algorithmControl: input.AlgorithmControl })), (input.CorrectionGateLevel !== undefined &&
|
|
3449
|
-
input.CorrectionGateLevel !== null && { correctionGateLevel: input.CorrectionGateLevel })), (input.LoudnessLogging !== undefined &&
|
|
3450
|
-
input.LoudnessLogging !== null && { loudnessLogging: input.LoudnessLogging })), (input.PeakCalculation !== undefined &&
|
|
3451
|
-
input.PeakCalculation !== null && { peakCalculation: input.PeakCalculation })), (input.TargetLkfs !== undefined &&
|
|
3452
|
-
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) }));
|
|
3453
3403
|
};
|
|
3454
3404
|
var serializeAws_restJson1AudioSelector = function (input, context) {
|
|
3455
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDurationCorrection
|
|
3456
|
-
input.AudioDurationCorrection !== null && { audioDurationCorrection: input.AudioDurationCorrection })), (input.CustomLanguageCode !== undefined &&
|
|
3457
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.DefaultSelection !== undefined &&
|
|
3458
|
-
input.DefaultSelection !== null && { defaultSelection: input.DefaultSelection })), (input.ExternalAudioFileInput !== undefined &&
|
|
3459
|
-
input.ExternalAudioFileInput !== null && { externalAudioFileInput: input.ExternalAudioFileInput })), (input.HlsRenditionGroupSettings !== undefined &&
|
|
3460
|
-
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 && {
|
|
3461
3406
|
hlsRenditionGroupSettings: serializeAws_restJson1HlsRenditionGroupSettings(input.HlsRenditionGroupSettings, context),
|
|
3462
|
-
})), (input.LanguageCode
|
|
3463
|
-
input.Pids !== null && { pids: serializeAws_restJson1__listOf__integerMin1Max2147483647(input.Pids, context) })), (input.ProgramSelection !== undefined &&
|
|
3464
|
-
input.ProgramSelection !== null && { programSelection: input.ProgramSelection })), (input.RemixSettings !== undefined &&
|
|
3465
|
-
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 && {
|
|
3466
3408
|
remixSettings: serializeAws_restJson1RemixSettings(input.RemixSettings, context),
|
|
3467
|
-
})), (input.SelectorType
|
|
3468
|
-
input.Tracks !== null && {
|
|
3409
|
+
})), (input.SelectorType != null && { selectorType: input.SelectorType })), (input.Tracks != null && {
|
|
3469
3410
|
tracks: serializeAws_restJson1__listOf__integerMin1Max2147483647(input.Tracks, context),
|
|
3470
3411
|
}));
|
|
3471
3412
|
};
|
|
3472
3413
|
var serializeAws_restJson1AudioSelectorGroup = function (input, context) {
|
|
3473
|
-
return __assign({}, (input.AudioSelectorNames
|
|
3474
|
-
input.AudioSelectorNames !== null && {
|
|
3414
|
+
return __assign({}, (input.AudioSelectorNames != null && {
|
|
3475
3415
|
audioSelectorNames: serializeAws_restJson1__listOf__stringMin1(input.AudioSelectorNames, context),
|
|
3476
3416
|
}));
|
|
3477
3417
|
};
|
|
3478
3418
|
var serializeAws_restJson1AutomatedAbrRule = function (input, context) {
|
|
3479
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AllowedRenditions
|
|
3480
|
-
input.AllowedRenditions !== null && {
|
|
3419
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AllowedRenditions != null && {
|
|
3481
3420
|
allowedRenditions: serializeAws_restJson1__listOfAllowedRenditionSize(input.AllowedRenditions, context),
|
|
3482
|
-
})), (input.ForceIncludeRenditions
|
|
3483
|
-
input.ForceIncludeRenditions !== null && {
|
|
3421
|
+
})), (input.ForceIncludeRenditions != null && {
|
|
3484
3422
|
forceIncludeRenditions: serializeAws_restJson1__listOfForceIncludeRenditionSize(input.ForceIncludeRenditions, context),
|
|
3485
|
-
})), (input.MinBottomRenditionSize
|
|
3486
|
-
input.MinBottomRenditionSize !== null && {
|
|
3423
|
+
})), (input.MinBottomRenditionSize != null && {
|
|
3487
3424
|
minBottomRenditionSize: serializeAws_restJson1MinBottomRenditionSize(input.MinBottomRenditionSize, context),
|
|
3488
|
-
})), (input.MinTopRenditionSize
|
|
3489
|
-
input.MinTopRenditionSize !== null && {
|
|
3425
|
+
})), (input.MinTopRenditionSize != null && {
|
|
3490
3426
|
minTopRenditionSize: serializeAws_restJson1MinTopRenditionSize(input.MinTopRenditionSize, context),
|
|
3491
|
-
})), (input.Type
|
|
3427
|
+
})), (input.Type != null && { type: input.Type }));
|
|
3492
3428
|
};
|
|
3493
3429
|
var serializeAws_restJson1AutomatedAbrSettings = function (input, context) {
|
|
3494
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxAbrBitrate
|
|
3495
|
-
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) }));
|
|
3496
3431
|
};
|
|
3497
3432
|
var serializeAws_restJson1AutomatedEncodingSettings = function (input, context) {
|
|
3498
|
-
return __assign({}, (input.AbrSettings
|
|
3499
|
-
input.AbrSettings !== null && {
|
|
3433
|
+
return __assign({}, (input.AbrSettings != null && {
|
|
3500
3434
|
abrSettings: serializeAws_restJson1AutomatedAbrSettings(input.AbrSettings, context),
|
|
3501
3435
|
}));
|
|
3502
3436
|
};
|
|
3503
3437
|
var serializeAws_restJson1Av1QvbrSettings = function (input, context) {
|
|
3504
|
-
return __assign(__assign({}, (input.QvbrQualityLevel
|
|
3505
|
-
input.QvbrQualityLevel !== null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune !== undefined &&
|
|
3506
|
-
input.QvbrQualityLevelFineTune !== null && {
|
|
3438
|
+
return __assign(__assign({}, (input.QvbrQualityLevel != null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune != null && {
|
|
3507
3439
|
qvbrQualityLevelFineTune: __serializeFloat(input.QvbrQualityLevelFineTune),
|
|
3508
3440
|
}));
|
|
3509
3441
|
};
|
|
3510
3442
|
var serializeAws_restJson1Av1Settings = function (input, context) {
|
|
3511
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization
|
|
3512
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.BitDepth !== undefined && input.BitDepth !== null && { bitDepth: input.BitDepth })), (input.FramerateControl !== undefined &&
|
|
3513
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
3514
|
-
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 && {
|
|
3515
3444
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
3516
|
-
})), (input.FramerateDenominator
|
|
3517
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3518
|
-
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 &&
|
|
3519
|
-
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 && {
|
|
3520
3446
|
numberBFramesBetweenReferenceFrames: input.NumberBFramesBetweenReferenceFrames,
|
|
3521
|
-
})), (input.QvbrSettings
|
|
3522
|
-
input.QvbrSettings !== null && {
|
|
3447
|
+
})), (input.QvbrSettings != null && {
|
|
3523
3448
|
qvbrSettings: serializeAws_restJson1Av1QvbrSettings(input.QvbrSettings, context),
|
|
3524
|
-
})), (input.RateControlMode
|
|
3525
|
-
|
|
3526
|
-
|
|
3449
|
+
})), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.Slices != null && { slices: input.Slices })), (input.SpatialAdaptiveQuantization != null && {
|
|
3450
|
+
spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization,
|
|
3451
|
+
}));
|
|
3527
3452
|
};
|
|
3528
3453
|
var serializeAws_restJson1AvailBlanking = function (input, context) {
|
|
3529
|
-
return __assign({}, (input.AvailBlankingImage
|
|
3530
|
-
input.AvailBlankingImage !== null && { availBlankingImage: input.AvailBlankingImage }));
|
|
3454
|
+
return __assign({}, (input.AvailBlankingImage != null && { availBlankingImage: input.AvailBlankingImage }));
|
|
3531
3455
|
};
|
|
3532
3456
|
var serializeAws_restJson1AvcIntraSettings = function (input, context) {
|
|
3533
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvcIntraClass
|
|
3534
|
-
input.AvcIntraUhdSettings !== null && {
|
|
3457
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvcIntraClass != null && { avcIntraClass: input.AvcIntraClass })), (input.AvcIntraUhdSettings != null && {
|
|
3535
3458
|
avcIntraUhdSettings: serializeAws_restJson1AvcIntraUhdSettings(input.AvcIntraUhdSettings, context),
|
|
3536
|
-
})), (input.FramerateControl
|
|
3537
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
3538
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
3459
|
+
})), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
3539
3460
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
3540
|
-
})), (input.FramerateDenominator
|
|
3541
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3542
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.InterlaceMode !== undefined && input.InterlaceMode !== null && { interlaceMode: input.InterlaceMode })), (input.ScanTypeConversionMode !== undefined &&
|
|
3543
|
-
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 }));
|
|
3544
3462
|
};
|
|
3545
3463
|
var serializeAws_restJson1AvcIntraUhdSettings = function (input, context) {
|
|
3546
|
-
return __assign({}, (input.QualityTuningLevel
|
|
3547
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel }));
|
|
3464
|
+
return __assign({}, (input.QualityTuningLevel != null && { qualityTuningLevel: input.QualityTuningLevel }));
|
|
3548
3465
|
};
|
|
3549
3466
|
var serializeAws_restJson1BurninDestinationSettings = function (input, context) {
|
|
3550
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment
|
|
3551
|
-
input.ApplyFontColor !== null && { applyFontColor: input.ApplyFontColor })), (input.BackgroundColor !== undefined &&
|
|
3552
|
-
input.BackgroundColor !== null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity !== undefined &&
|
|
3553
|
-
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 &&
|
|
3554
|
-
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 &&
|
|
3555
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough })), (input.TeletextSpacing !== undefined &&
|
|
3556
|
-
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 }));
|
|
3557
3468
|
};
|
|
3558
3469
|
var serializeAws_restJson1CaptionDescription = function (input, context) {
|
|
3559
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CaptionSelectorName
|
|
3560
|
-
input.CaptionSelectorName !== null && { captionSelectorName: input.CaptionSelectorName })), (input.CustomLanguageCode !== undefined &&
|
|
3561
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.DestinationSettings !== undefined &&
|
|
3562
|
-
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 && {
|
|
3563
3471
|
destinationSettings: serializeAws_restJson1CaptionDestinationSettings(input.DestinationSettings, context),
|
|
3564
|
-
})), (input.LanguageCode
|
|
3565
|
-
input.LanguageDescription !== null && { languageDescription: input.LanguageDescription }));
|
|
3472
|
+
})), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageDescription != null && { languageDescription: input.LanguageDescription }));
|
|
3566
3473
|
};
|
|
3567
3474
|
var serializeAws_restJson1CaptionDescriptionPreset = function (input, context) {
|
|
3568
|
-
return __assign(__assign(__assign(__assign({}, (input.CustomLanguageCode
|
|
3569
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.DestinationSettings !== undefined &&
|
|
3570
|
-
input.DestinationSettings !== null && {
|
|
3475
|
+
return __assign(__assign(__assign(__assign({}, (input.CustomLanguageCode != null && { customLanguageCode: input.CustomLanguageCode })), (input.DestinationSettings != null && {
|
|
3571
3476
|
destinationSettings: serializeAws_restJson1CaptionDestinationSettings(input.DestinationSettings, context),
|
|
3572
|
-
})), (input.LanguageCode
|
|
3573
|
-
input.LanguageDescription !== null && { languageDescription: input.LanguageDescription }));
|
|
3477
|
+
})), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageDescription != null && { languageDescription: input.LanguageDescription }));
|
|
3574
3478
|
};
|
|
3575
3479
|
var serializeAws_restJson1CaptionDestinationSettings = function (input, context) {
|
|
3576
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BurninDestinationSettings
|
|
3577
|
-
input.BurninDestinationSettings !== null && {
|
|
3480
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BurninDestinationSettings != null && {
|
|
3578
3481
|
burninDestinationSettings: serializeAws_restJson1BurninDestinationSettings(input.BurninDestinationSettings, context),
|
|
3579
|
-
})), (input.DestinationType
|
|
3580
|
-
input.DestinationType !== null && { destinationType: input.DestinationType })), (input.DvbSubDestinationSettings !== undefined &&
|
|
3581
|
-
input.DvbSubDestinationSettings !== null && {
|
|
3482
|
+
})), (input.DestinationType != null && { destinationType: input.DestinationType })), (input.DvbSubDestinationSettings != null && {
|
|
3582
3483
|
dvbSubDestinationSettings: serializeAws_restJson1DvbSubDestinationSettings(input.DvbSubDestinationSettings, context),
|
|
3583
|
-
})), (input.EmbeddedDestinationSettings
|
|
3584
|
-
input.EmbeddedDestinationSettings !== null && {
|
|
3484
|
+
})), (input.EmbeddedDestinationSettings != null && {
|
|
3585
3485
|
embeddedDestinationSettings: serializeAws_restJson1EmbeddedDestinationSettings(input.EmbeddedDestinationSettings, context),
|
|
3586
|
-
})), (input.ImscDestinationSettings
|
|
3587
|
-
input.ImscDestinationSettings !== null && {
|
|
3486
|
+
})), (input.ImscDestinationSettings != null && {
|
|
3588
3487
|
imscDestinationSettings: serializeAws_restJson1ImscDestinationSettings(input.ImscDestinationSettings, context),
|
|
3589
|
-
})), (input.SccDestinationSettings
|
|
3590
|
-
input.SccDestinationSettings !== null && {
|
|
3488
|
+
})), (input.SccDestinationSettings != null && {
|
|
3591
3489
|
sccDestinationSettings: serializeAws_restJson1SccDestinationSettings(input.SccDestinationSettings, context),
|
|
3592
|
-
})), (input.SrtDestinationSettings
|
|
3593
|
-
input.SrtDestinationSettings !== null && {
|
|
3490
|
+
})), (input.SrtDestinationSettings != null && {
|
|
3594
3491
|
srtDestinationSettings: serializeAws_restJson1SrtDestinationSettings(input.SrtDestinationSettings, context),
|
|
3595
|
-
})), (input.TeletextDestinationSettings
|
|
3596
|
-
input.TeletextDestinationSettings !== null && {
|
|
3492
|
+
})), (input.TeletextDestinationSettings != null && {
|
|
3597
3493
|
teletextDestinationSettings: serializeAws_restJson1TeletextDestinationSettings(input.TeletextDestinationSettings, context),
|
|
3598
|
-
})), (input.TtmlDestinationSettings
|
|
3599
|
-
input.TtmlDestinationSettings !== null && {
|
|
3494
|
+
})), (input.TtmlDestinationSettings != null && {
|
|
3600
3495
|
ttmlDestinationSettings: serializeAws_restJson1TtmlDestinationSettings(input.TtmlDestinationSettings, context),
|
|
3601
|
-
})), (input.WebvttDestinationSettings
|
|
3602
|
-
input.WebvttDestinationSettings !== null && {
|
|
3496
|
+
})), (input.WebvttDestinationSettings != null && {
|
|
3603
3497
|
webvttDestinationSettings: serializeAws_restJson1WebvttDestinationSettings(input.WebvttDestinationSettings, context),
|
|
3604
3498
|
}));
|
|
3605
3499
|
};
|
|
3606
3500
|
var serializeAws_restJson1CaptionSelector = function (input, context) {
|
|
3607
|
-
return __assign(__assign(__assign({}, (input.CustomLanguageCode
|
|
3608
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { languageCode: input.LanguageCode })), (input.SourceSettings !== undefined &&
|
|
3609
|
-
input.SourceSettings !== null && {
|
|
3501
|
+
return __assign(__assign(__assign({}, (input.CustomLanguageCode != null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.SourceSettings != null && {
|
|
3610
3502
|
sourceSettings: serializeAws_restJson1CaptionSourceSettings(input.SourceSettings, context),
|
|
3611
3503
|
}));
|
|
3612
3504
|
};
|
|
3613
3505
|
var serializeAws_restJson1CaptionSourceFramerate = function (input, context) {
|
|
3614
|
-
return __assign(__assign({}, (input.FramerateDenominator
|
|
3615
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3616
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator }));
|
|
3506
|
+
return __assign(__assign({}, (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator }));
|
|
3617
3507
|
};
|
|
3618
3508
|
var serializeAws_restJson1CaptionSourceSettings = function (input, context) {
|
|
3619
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AncillarySourceSettings
|
|
3620
|
-
input.AncillarySourceSettings !== null && {
|
|
3509
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AncillarySourceSettings != null && {
|
|
3621
3510
|
ancillarySourceSettings: serializeAws_restJson1AncillarySourceSettings(input.AncillarySourceSettings, context),
|
|
3622
|
-
})), (input.DvbSubSourceSettings
|
|
3623
|
-
input.DvbSubSourceSettings !== null && {
|
|
3511
|
+
})), (input.DvbSubSourceSettings != null && {
|
|
3624
3512
|
dvbSubSourceSettings: serializeAws_restJson1DvbSubSourceSettings(input.DvbSubSourceSettings, context),
|
|
3625
|
-
})), (input.EmbeddedSourceSettings
|
|
3626
|
-
input.EmbeddedSourceSettings !== null && {
|
|
3513
|
+
})), (input.EmbeddedSourceSettings != null && {
|
|
3627
3514
|
embeddedSourceSettings: serializeAws_restJson1EmbeddedSourceSettings(input.EmbeddedSourceSettings, context),
|
|
3628
|
-
})), (input.FileSourceSettings
|
|
3629
|
-
input.FileSourceSettings !== null && {
|
|
3515
|
+
})), (input.FileSourceSettings != null && {
|
|
3630
3516
|
fileSourceSettings: serializeAws_restJson1FileSourceSettings(input.FileSourceSettings, context),
|
|
3631
|
-
})), (input.SourceType
|
|
3632
|
-
input.TeletextSourceSettings !== null && {
|
|
3517
|
+
})), (input.SourceType != null && { sourceType: input.SourceType })), (input.TeletextSourceSettings != null && {
|
|
3633
3518
|
teletextSourceSettings: serializeAws_restJson1TeletextSourceSettings(input.TeletextSourceSettings, context),
|
|
3634
|
-
})), (input.TrackSourceSettings
|
|
3635
|
-
input.TrackSourceSettings !== null && {
|
|
3519
|
+
})), (input.TrackSourceSettings != null && {
|
|
3636
3520
|
trackSourceSettings: serializeAws_restJson1TrackSourceSettings(input.TrackSourceSettings, context),
|
|
3637
|
-
})), (input.WebvttHlsSourceSettings
|
|
3638
|
-
input.WebvttHlsSourceSettings !== null && {
|
|
3521
|
+
})), (input.WebvttHlsSourceSettings != null && {
|
|
3639
3522
|
webvttHlsSourceSettings: serializeAws_restJson1WebvttHlsSourceSettings(input.WebvttHlsSourceSettings, context),
|
|
3640
3523
|
}));
|
|
3641
3524
|
};
|
|
3642
3525
|
var serializeAws_restJson1ChannelMapping = function (input, context) {
|
|
3643
|
-
return __assign({}, (input.OutputChannels
|
|
3644
|
-
input.OutputChannels !== null && {
|
|
3526
|
+
return __assign({}, (input.OutputChannels != null && {
|
|
3645
3527
|
outputChannels: serializeAws_restJson1__listOfOutputChannelMapping(input.OutputChannels, context),
|
|
3646
3528
|
}));
|
|
3647
3529
|
};
|
|
3648
3530
|
var serializeAws_restJson1CmafAdditionalManifest = function (input, context) {
|
|
3649
|
-
return __assign(__assign({}, (input.ManifestNameModifier
|
|
3650
|
-
input.ManifestNameModifier !== null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs !== undefined &&
|
|
3651
|
-
input.SelectedOutputs !== null && {
|
|
3531
|
+
return __assign(__assign({}, (input.ManifestNameModifier != null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs != null && {
|
|
3652
3532
|
selectedOutputs: serializeAws_restJson1__listOf__stringMin1(input.SelectedOutputs, context),
|
|
3653
3533
|
}));
|
|
3654
3534
|
};
|
|
3655
3535
|
var serializeAws_restJson1CmafEncryptionSettings = function (input, context) {
|
|
3656
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector
|
|
3657
|
-
input.ConstantInitializationVector !== null && {
|
|
3536
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector != null && {
|
|
3658
3537
|
constantInitializationVector: input.ConstantInitializationVector,
|
|
3659
|
-
})), (input.EncryptionMethod
|
|
3660
|
-
input.EncryptionMethod !== null && { encryptionMethod: input.EncryptionMethod })), (input.InitializationVectorInManifest !== undefined &&
|
|
3661
|
-
input.InitializationVectorInManifest !== null && {
|
|
3538
|
+
})), (input.EncryptionMethod != null && { encryptionMethod: input.EncryptionMethod })), (input.InitializationVectorInManifest != null && {
|
|
3662
3539
|
initializationVectorInManifest: input.InitializationVectorInManifest,
|
|
3663
|
-
})), (input.SpekeKeyProvider
|
|
3664
|
-
input.SpekeKeyProvider !== null && {
|
|
3540
|
+
})), (input.SpekeKeyProvider != null && {
|
|
3665
3541
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProviderCmaf(input.SpekeKeyProvider, context),
|
|
3666
|
-
})), (input.StaticKeyProvider
|
|
3667
|
-
input.StaticKeyProvider !== null && {
|
|
3542
|
+
})), (input.StaticKeyProvider != null && {
|
|
3668
3543
|
staticKeyProvider: serializeAws_restJson1StaticKeyProvider(input.StaticKeyProvider, context),
|
|
3669
|
-
})), (input.Type
|
|
3544
|
+
})), (input.Type != null && { type: input.Type }));
|
|
3670
3545
|
};
|
|
3671
3546
|
var serializeAws_restJson1CmafGroupSettings = function (input, context) {
|
|
3672
|
-
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
|
|
3673
|
-
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 && {
|
|
3674
3548
|
additionalManifests: serializeAws_restJson1__listOfCmafAdditionalManifest(input.AdditionalManifests, context),
|
|
3675
|
-
})), (input.BaseUrl
|
|
3676
|
-
input.CodecSpecification !== null && { codecSpecification: input.CodecSpecification })), (input.Destination !== undefined && input.Destination !== null && { destination: input.Destination })), (input.DestinationSettings !== undefined &&
|
|
3677
|
-
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 && {
|
|
3678
3550
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
3679
|
-
})), (input.Encryption
|
|
3680
|
-
input.Encryption !== null && {
|
|
3551
|
+
})), (input.Encryption != null && {
|
|
3681
3552
|
encryption: serializeAws_restJson1CmafEncryptionSettings(input.Encryption, context),
|
|
3682
|
-
})), (input.FragmentLength
|
|
3683
|
-
input.FragmentLength !== null && { fragmentLength: input.FragmentLength })), (input.ImageBasedTrickPlay !== undefined &&
|
|
3684
|
-
input.ImageBasedTrickPlay !== null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings !== undefined &&
|
|
3685
|
-
input.ImageBasedTrickPlaySettings !== null && {
|
|
3553
|
+
})), (input.FragmentLength != null && { fragmentLength: input.FragmentLength })), (input.ImageBasedTrickPlay != null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings != null && {
|
|
3686
3554
|
imageBasedTrickPlaySettings: serializeAws_restJson1CmafImageBasedTrickPlaySettings(input.ImageBasedTrickPlaySettings, context),
|
|
3687
|
-
})), (input.ManifestCompression
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
input.SegmentControl !== null && { segmentControl: input.SegmentControl })), (input.SegmentLength !== undefined && input.SegmentLength !== null && { segmentLength: input.SegmentLength })), (input.SegmentLengthControl !== undefined &&
|
|
3693
|
-
input.SegmentLengthControl !== null && { segmentLengthControl: input.SegmentLengthControl })), (input.StreamInfResolution !== undefined &&
|
|
3694
|
-
input.StreamInfResolution !== null && { streamInfResolution: input.StreamInfResolution })), (input.TargetDurationCompatibilityMode !== undefined &&
|
|
3695
|
-
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 && {
|
|
3696
3560
|
targetDurationCompatibilityMode: input.TargetDurationCompatibilityMode,
|
|
3697
|
-
})), (input.WriteDashManifest
|
|
3698
|
-
input.WriteDashManifest !== null && { writeDashManifest: input.WriteDashManifest })), (input.WriteHlsManifest !== undefined &&
|
|
3699
|
-
input.WriteHlsManifest !== null && { writeHlsManifest: input.WriteHlsManifest })), (input.WriteSegmentTimelineInRepresentation !== undefined &&
|
|
3700
|
-
input.WriteSegmentTimelineInRepresentation !== null && {
|
|
3561
|
+
})), (input.WriteDashManifest != null && { writeDashManifest: input.WriteDashManifest })), (input.WriteHlsManifest != null && { writeHlsManifest: input.WriteHlsManifest })), (input.WriteSegmentTimelineInRepresentation != null && {
|
|
3701
3562
|
writeSegmentTimelineInRepresentation: input.WriteSegmentTimelineInRepresentation,
|
|
3702
3563
|
}));
|
|
3703
3564
|
};
|
|
3704
3565
|
var serializeAws_restJson1CmafImageBasedTrickPlaySettings = function (input, context) {
|
|
3705
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence
|
|
3706
|
-
input.IntervalCadence !== null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight !== undefined &&
|
|
3707
|
-
input.ThumbnailHeight !== null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval !== undefined &&
|
|
3708
|
-
input.ThumbnailInterval !== null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth !== undefined &&
|
|
3709
|
-
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 }));
|
|
3710
3567
|
};
|
|
3711
3568
|
var serializeAws_restJson1CmfcSettings = function (input, context) {
|
|
3712
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDuration
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
input.DescriptiveVideoServiceFlag !== null && { descriptiveVideoServiceFlag: input.DescriptiveVideoServiceFlag })), (input.IFrameOnlyManifest !== undefined &&
|
|
3716
|
-
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 }));
|
|
3717
3572
|
};
|
|
3718
3573
|
var serializeAws_restJson1ColorCorrector = function (input, context) {
|
|
3719
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Brightness
|
|
3720
|
-
input.ColorSpaceConversion !== null && { colorSpaceConversion: input.ColorSpaceConversion })), (input.Contrast !== undefined && input.Contrast !== null && { contrast: input.Contrast })), (input.Hdr10Metadata !== undefined &&
|
|
3721
|
-
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 && {
|
|
3722
3575
|
hdr10Metadata: serializeAws_restJson1Hdr10Metadata(input.Hdr10Metadata, context),
|
|
3723
|
-
})), (input.Hue
|
|
3724
|
-
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 }));
|
|
3725
3577
|
};
|
|
3726
3578
|
var serializeAws_restJson1ContainerSettings = function (input, context) {
|
|
3727
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CmfcSettings
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
input.MpdSettings !== null && { mpdSettings: serializeAws_restJson1MpdSettings(input.MpdSettings, context) })), (input.MxfSettings !== undefined &&
|
|
3735
|
-
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) }));
|
|
3736
3586
|
};
|
|
3737
3587
|
var serializeAws_restJson1DashAdditionalManifest = function (input, context) {
|
|
3738
|
-
return __assign(__assign({}, (input.ManifestNameModifier
|
|
3739
|
-
input.ManifestNameModifier !== null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs !== undefined &&
|
|
3740
|
-
input.SelectedOutputs !== null && {
|
|
3588
|
+
return __assign(__assign({}, (input.ManifestNameModifier != null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs != null && {
|
|
3741
3589
|
selectedOutputs: serializeAws_restJson1__listOf__stringMin1(input.SelectedOutputs, context),
|
|
3742
3590
|
}));
|
|
3743
3591
|
};
|
|
3744
3592
|
var serializeAws_restJson1DashIsoEncryptionSettings = function (input, context) {
|
|
3745
|
-
return __assign(__assign({}, (input.PlaybackDeviceCompatibility
|
|
3746
|
-
|
|
3747
|
-
|
|
3593
|
+
return __assign(__assign({}, (input.PlaybackDeviceCompatibility != null && {
|
|
3594
|
+
playbackDeviceCompatibility: input.PlaybackDeviceCompatibility,
|
|
3595
|
+
})), (input.SpekeKeyProvider != null && {
|
|
3748
3596
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProvider(input.SpekeKeyProvider, context),
|
|
3749
3597
|
}));
|
|
3750
3598
|
};
|
|
3751
3599
|
var serializeAws_restJson1DashIsoGroupSettings = function (input, context) {
|
|
3752
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests
|
|
3753
|
-
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 && {
|
|
3754
3601
|
additionalManifests: serializeAws_restJson1__listOfDashAdditionalManifest(input.AdditionalManifests, context),
|
|
3755
|
-
})), (input.AudioChannelConfigSchemeIdUri
|
|
3756
|
-
input.AudioChannelConfigSchemeIdUri !== null && {
|
|
3602
|
+
})), (input.AudioChannelConfigSchemeIdUri != null && {
|
|
3757
3603
|
audioChannelConfigSchemeIdUri: input.AudioChannelConfigSchemeIdUri,
|
|
3758
|
-
})), (input.BaseUrl
|
|
3759
|
-
input.DestinationSettings !== null && {
|
|
3604
|
+
})), (input.BaseUrl != null && { baseUrl: input.BaseUrl })), (input.Destination != null && { destination: input.Destination })), (input.DestinationSettings != null && {
|
|
3760
3605
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
3761
|
-
})), (input.Encryption
|
|
3762
|
-
input.Encryption !== null && {
|
|
3606
|
+
})), (input.Encryption != null && {
|
|
3763
3607
|
encryption: serializeAws_restJson1DashIsoEncryptionSettings(input.Encryption, context),
|
|
3764
|
-
})), (input.FragmentLength
|
|
3765
|
-
input.FragmentLength !== null && { fragmentLength: input.FragmentLength })), (input.HbbtvCompliance !== undefined &&
|
|
3766
|
-
input.HbbtvCompliance !== null && { hbbtvCompliance: input.HbbtvCompliance })), (input.ImageBasedTrickPlay !== undefined &&
|
|
3767
|
-
input.ImageBasedTrickPlay !== null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings !== undefined &&
|
|
3768
|
-
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 && {
|
|
3769
3609
|
imageBasedTrickPlaySettings: serializeAws_restJson1DashIsoImageBasedTrickPlaySettings(input.ImageBasedTrickPlaySettings, context),
|
|
3770
|
-
})), (input.MinBufferTime
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
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 && {
|
|
3776
3615
|
writeSegmentTimelineInRepresentation: input.WriteSegmentTimelineInRepresentation,
|
|
3777
3616
|
}));
|
|
3778
3617
|
};
|
|
3779
3618
|
var serializeAws_restJson1DashIsoImageBasedTrickPlaySettings = function (input, context) {
|
|
3780
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence
|
|
3781
|
-
input.IntervalCadence !== null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight !== undefined &&
|
|
3782
|
-
input.ThumbnailHeight !== null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval !== undefined &&
|
|
3783
|
-
input.ThumbnailInterval !== null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth !== undefined &&
|
|
3784
|
-
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 }));
|
|
3785
3620
|
};
|
|
3786
3621
|
var serializeAws_restJson1Deinterlacer = function (input, context) {
|
|
3787
|
-
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 }));
|
|
3788
3623
|
};
|
|
3789
3624
|
var serializeAws_restJson1DestinationSettings = function (input, context) {
|
|
3790
|
-
return __assign({}, (input.S3Settings
|
|
3791
|
-
input.S3Settings !== null && {
|
|
3625
|
+
return __assign({}, (input.S3Settings != null && {
|
|
3792
3626
|
s3Settings: serializeAws_restJson1S3DestinationSettings(input.S3Settings, context),
|
|
3793
3627
|
}));
|
|
3794
3628
|
};
|
|
3795
3629
|
var serializeAws_restJson1DolbyVision = function (input, context) {
|
|
3796
|
-
return __assign(__assign(__assign(__assign({}, (input.L6Metadata
|
|
3797
|
-
input.L6Metadata !== null && {
|
|
3630
|
+
return __assign(__assign(__assign(__assign({}, (input.L6Metadata != null && {
|
|
3798
3631
|
l6Metadata: serializeAws_restJson1DolbyVisionLevel6Metadata(input.L6Metadata, context),
|
|
3799
|
-
})), (input.L6Mode
|
|
3632
|
+
})), (input.L6Mode != null && { l6Mode: input.L6Mode })), (input.Mapping != null && { mapping: input.Mapping })), (input.Profile != null && { profile: input.Profile }));
|
|
3800
3633
|
};
|
|
3801
3634
|
var serializeAws_restJson1DolbyVisionLevel6Metadata = function (input, context) {
|
|
3802
|
-
return __assign(__assign({}, (input.MaxCll
|
|
3635
|
+
return __assign(__assign({}, (input.MaxCll != null && { maxCll: input.MaxCll })), (input.MaxFall != null && { maxFall: input.MaxFall }));
|
|
3803
3636
|
};
|
|
3804
3637
|
var serializeAws_restJson1DvbNitSettings = function (input, context) {
|
|
3805
|
-
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 }));
|
|
3806
3639
|
};
|
|
3807
3640
|
var serializeAws_restJson1DvbSdtSettings = function (input, context) {
|
|
3808
|
-
return __assign(__assign(__assign(__assign({}, (input.OutputSdt
|
|
3809
|
-
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 }));
|
|
3810
3642
|
};
|
|
3811
3643
|
var serializeAws_restJson1DvbSubDestinationSettings = function (input, context) {
|
|
3812
|
-
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
|
|
3813
|
-
input.ApplyFontColor !== null && { applyFontColor: input.ApplyFontColor })), (input.BackgroundColor !== undefined &&
|
|
3814
|
-
input.BackgroundColor !== null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity !== undefined &&
|
|
3815
|
-
input.BackgroundOpacity !== null && { backgroundOpacity: input.BackgroundOpacity })), (input.DdsHandling !== undefined && input.DdsHandling !== null && { ddsHandling: input.DdsHandling })), (input.DdsXCoordinate !== undefined &&
|
|
3816
|
-
input.DdsXCoordinate !== null && { ddsXCoordinate: input.DdsXCoordinate })), (input.DdsYCoordinate !== undefined &&
|
|
3817
|
-
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 &&
|
|
3818
|
-
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 &&
|
|
3819
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough })), (input.SubtitlingType !== undefined &&
|
|
3820
|
-
input.SubtitlingType !== null && { subtitlingType: input.SubtitlingType })), (input.TeletextSpacing !== undefined &&
|
|
3821
|
-
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 }));
|
|
3822
3645
|
};
|
|
3823
3646
|
var serializeAws_restJson1DvbSubSourceSettings = function (input, context) {
|
|
3824
|
-
return __assign({}, (input.Pid
|
|
3647
|
+
return __assign({}, (input.Pid != null && { pid: input.Pid }));
|
|
3825
3648
|
};
|
|
3826
3649
|
var serializeAws_restJson1DvbTdtSettings = function (input, context) {
|
|
3827
|
-
return __assign({}, (input.TdtInterval
|
|
3650
|
+
return __assign({}, (input.TdtInterval != null && { tdtInterval: input.TdtInterval }));
|
|
3828
3651
|
};
|
|
3829
3652
|
var serializeAws_restJson1Eac3AtmosSettings = function (input, context) {
|
|
3830
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
input.DynamicRangeCompressionLine !== null && { dynamicRangeCompressionLine: input.DynamicRangeCompressionLine })), (input.DynamicRangeCompressionRf !== undefined &&
|
|
3834
|
-
input.DynamicRangeCompressionRf !== null && { dynamicRangeCompressionRf: input.DynamicRangeCompressionRf })), (input.DynamicRangeControl !== undefined &&
|
|
3835
|
-
input.DynamicRangeControl !== null && { dynamicRangeControl: input.DynamicRangeControl })), (input.LoRoCenterMixLevel !== undefined &&
|
|
3836
|
-
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel: __serializeFloat(input.LoRoCenterMixLevel) })), (input.LoRoSurroundMixLevel !== undefined &&
|
|
3837
|
-
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel: __serializeFloat(input.LoRoSurroundMixLevel) })), (input.LtRtCenterMixLevel !== undefined &&
|
|
3838
|
-
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel: __serializeFloat(input.LtRtCenterMixLevel) })), (input.LtRtSurroundMixLevel !== undefined &&
|
|
3839
|
-
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 &&
|
|
3840
|
-
input.SpeechThreshold !== null && { speechThreshold: input.SpeechThreshold })), (input.StereoDownmix !== undefined && input.StereoDownmix !== null && { stereoDownmix: input.StereoDownmix })), (input.SurroundExMode !== undefined &&
|
|
3841
|
-
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 }));
|
|
3842
3656
|
};
|
|
3843
3657
|
var serializeAws_restJson1Eac3Settings = function (input, context) {
|
|
3844
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttenuationControl
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
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 &&
|
|
3848
|
-
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel: __serializeFloat(input.LoRoCenterMixLevel) })), (input.LoRoSurroundMixLevel !== undefined &&
|
|
3849
|
-
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel: __serializeFloat(input.LoRoSurroundMixLevel) })), (input.LtRtCenterMixLevel !== undefined &&
|
|
3850
|
-
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel: __serializeFloat(input.LtRtCenterMixLevel) })), (input.LtRtSurroundMixLevel !== undefined &&
|
|
3851
|
-
input.LtRtSurroundMixLevel !== null && { ltRtSurroundMixLevel: __serializeFloat(input.LtRtSurroundMixLevel) })), (input.MetadataControl !== undefined &&
|
|
3852
|
-
input.MetadataControl !== null && { metadataControl: input.MetadataControl })), (input.PassthroughControl !== undefined &&
|
|
3853
|
-
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 &&
|
|
3854
|
-
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 }));
|
|
3855
3661
|
};
|
|
3856
3662
|
var serializeAws_restJson1EmbeddedDestinationSettings = function (input, context) {
|
|
3857
|
-
return __assign(__assign({}, (input.Destination608ChannelNumber
|
|
3858
|
-
|
|
3859
|
-
|
|
3663
|
+
return __assign(__assign({}, (input.Destination608ChannelNumber != null && {
|
|
3664
|
+
destination608ChannelNumber: input.Destination608ChannelNumber,
|
|
3665
|
+
})), (input.Destination708ServiceNumber != null && {
|
|
3666
|
+
destination708ServiceNumber: input.Destination708ServiceNumber,
|
|
3667
|
+
}));
|
|
3860
3668
|
};
|
|
3861
3669
|
var serializeAws_restJson1EmbeddedSourceSettings = function (input, context) {
|
|
3862
|
-
return __assign(__assign(__assign(__assign({}, (input.Convert608To708
|
|
3863
|
-
input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.Source608ChannelNumber !== undefined &&
|
|
3864
|
-
input.Source608ChannelNumber !== null && { source608ChannelNumber: input.Source608ChannelNumber })), (input.Source608TrackNumber !== undefined &&
|
|
3865
|
-
input.Source608TrackNumber !== null && { source608TrackNumber: input.Source608TrackNumber })), (input.TerminateCaptions !== undefined &&
|
|
3866
|
-
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 }));
|
|
3867
3671
|
};
|
|
3868
3672
|
var serializeAws_restJson1EsamManifestConfirmConditionNotification = function (input, context) {
|
|
3869
|
-
return __assign({}, (input.MccXml
|
|
3673
|
+
return __assign({}, (input.MccXml != null && { mccXml: input.MccXml }));
|
|
3870
3674
|
};
|
|
3871
3675
|
var serializeAws_restJson1EsamSettings = function (input, context) {
|
|
3872
|
-
return __assign(__assign(__assign({}, (input.ManifestConfirmConditionNotification
|
|
3873
|
-
input.ManifestConfirmConditionNotification !== null && {
|
|
3676
|
+
return __assign(__assign(__assign({}, (input.ManifestConfirmConditionNotification != null && {
|
|
3874
3677
|
manifestConfirmConditionNotification: serializeAws_restJson1EsamManifestConfirmConditionNotification(input.ManifestConfirmConditionNotification, context),
|
|
3875
|
-
})), (input.ResponseSignalPreroll
|
|
3876
|
-
input.ResponseSignalPreroll !== null && { responseSignalPreroll: input.ResponseSignalPreroll })), (input.SignalProcessingNotification !== undefined &&
|
|
3877
|
-
input.SignalProcessingNotification !== null && {
|
|
3678
|
+
})), (input.ResponseSignalPreroll != null && { responseSignalPreroll: input.ResponseSignalPreroll })), (input.SignalProcessingNotification != null && {
|
|
3878
3679
|
signalProcessingNotification: serializeAws_restJson1EsamSignalProcessingNotification(input.SignalProcessingNotification, context),
|
|
3879
3680
|
}));
|
|
3880
3681
|
};
|
|
3881
3682
|
var serializeAws_restJson1EsamSignalProcessingNotification = function (input, context) {
|
|
3882
|
-
return __assign({}, (input.SccXml
|
|
3683
|
+
return __assign({}, (input.SccXml != null && { sccXml: input.SccXml }));
|
|
3883
3684
|
};
|
|
3884
3685
|
var serializeAws_restJson1ExtendedDataServices = function (input, context) {
|
|
3885
|
-
return __assign(__assign({}, (input.CopyProtectionAction
|
|
3886
|
-
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 }));
|
|
3887
3687
|
};
|
|
3888
3688
|
var serializeAws_restJson1F4vSettings = function (input, context) {
|
|
3889
|
-
return __assign({}, (input.MoovPlacement
|
|
3689
|
+
return __assign({}, (input.MoovPlacement != null && { moovPlacement: input.MoovPlacement }));
|
|
3890
3690
|
};
|
|
3891
3691
|
var serializeAws_restJson1FileGroupSettings = function (input, context) {
|
|
3892
|
-
return __assign(__assign({}, (input.Destination
|
|
3893
|
-
input.DestinationSettings !== null && {
|
|
3692
|
+
return __assign(__assign({}, (input.Destination != null && { destination: input.Destination })), (input.DestinationSettings != null && {
|
|
3894
3693
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
3895
3694
|
}));
|
|
3896
3695
|
};
|
|
3897
3696
|
var serializeAws_restJson1FileSourceSettings = function (input, context) {
|
|
3898
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Convert608To708
|
|
3899
|
-
input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.Framerate !== undefined &&
|
|
3900
|
-
input.Framerate !== null && {
|
|
3697
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Convert608To708 != null && { convert608To708: input.Convert608To708 })), (input.Framerate != null && {
|
|
3901
3698
|
framerate: serializeAws_restJson1CaptionSourceFramerate(input.Framerate, context),
|
|
3902
|
-
})), (input.SourceFile
|
|
3903
|
-
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 }));
|
|
3904
3700
|
};
|
|
3905
3701
|
var serializeAws_restJson1ForceIncludeRenditionSize = function (input, context) {
|
|
3906
|
-
return __assign(__assign({}, (input.Height
|
|
3702
|
+
return __assign(__assign({}, (input.Height != null && { height: input.Height })), (input.Width != null && { width: input.Width }));
|
|
3907
3703
|
};
|
|
3908
3704
|
var serializeAws_restJson1FrameCaptureSettings = function (input, context) {
|
|
3909
|
-
return __assign(__assign(__assign(__assign({}, (input.FramerateDenominator
|
|
3910
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3911
|
-
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 }));
|
|
3912
3706
|
};
|
|
3913
3707
|
var serializeAws_restJson1H264QvbrSettings = function (input, context) {
|
|
3914
|
-
return __assign(__assign(__assign({}, (input.MaxAverageBitrate
|
|
3915
|
-
input.MaxAverageBitrate !== null && { maxAverageBitrate: input.MaxAverageBitrate })), (input.QvbrQualityLevel !== undefined &&
|
|
3916
|
-
input.QvbrQualityLevel !== null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune !== undefined &&
|
|
3917
|
-
input.QvbrQualityLevelFineTune !== null && {
|
|
3708
|
+
return __assign(__assign(__assign({}, (input.MaxAverageBitrate != null && { maxAverageBitrate: input.MaxAverageBitrate })), (input.QvbrQualityLevel != null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune != null && {
|
|
3918
3709
|
qvbrQualityLevelFineTune: __serializeFloat(input.QvbrQualityLevelFineTune),
|
|
3919
3710
|
}));
|
|
3920
3711
|
};
|
|
3921
3712
|
var serializeAws_restJson1H264Settings = function (input, context) {
|
|
3922
|
-
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
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
input.FlickerAdaptiveQuantization !== null && { flickerAdaptiveQuantization: input.FlickerAdaptiveQuantization })), (input.FramerateControl !== undefined &&
|
|
3926
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
3927
|
-
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 && {
|
|
3928
3716
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
3929
|
-
})), (input.FramerateDenominator
|
|
3930
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3931
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopBReference !== undefined && input.GopBReference !== null && { gopBReference: input.GopBReference })), (input.GopClosedCadence !== undefined &&
|
|
3932
|
-
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 &&
|
|
3933
|
-
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 && {
|
|
3934
3718
|
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
|
|
3935
|
-
})), (input.HrdBufferSize
|
|
3936
|
-
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 && {
|
|
3937
3720
|
numberBFramesBetweenReferenceFrames: input.NumberBFramesBetweenReferenceFrames,
|
|
3938
|
-
})), (input.NumberReferenceFrames
|
|
3939
|
-
input.NumberReferenceFrames !== null && { numberReferenceFrames: input.NumberReferenceFrames })), (input.ParControl !== undefined && input.ParControl !== null && { parControl: input.ParControl })), (input.ParDenominator !== undefined &&
|
|
3940
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel !== undefined &&
|
|
3941
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.QvbrSettings !== undefined &&
|
|
3942
|
-
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 && {
|
|
3943
3722
|
qvbrSettings: serializeAws_restJson1H264QvbrSettings(input.QvbrSettings, context),
|
|
3944
|
-
})), (input.RateControlMode
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
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 &&
|
|
3948
|
-
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 &&
|
|
3949
|
-
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 && {
|
|
3950
3726
|
temporalAdaptiveQuantization: input.TemporalAdaptiveQuantization,
|
|
3951
|
-
})), (input.UnregisteredSeiTimecode
|
|
3952
|
-
input.UnregisteredSeiTimecode !== null && { unregisteredSeiTimecode: input.UnregisteredSeiTimecode }));
|
|
3727
|
+
})), (input.UnregisteredSeiTimecode != null && { unregisteredSeiTimecode: input.UnregisteredSeiTimecode }));
|
|
3953
3728
|
};
|
|
3954
3729
|
var serializeAws_restJson1H265QvbrSettings = function (input, context) {
|
|
3955
|
-
return __assign(__assign(__assign({}, (input.MaxAverageBitrate
|
|
3956
|
-
input.MaxAverageBitrate !== null && { maxAverageBitrate: input.MaxAverageBitrate })), (input.QvbrQualityLevel !== undefined &&
|
|
3957
|
-
input.QvbrQualityLevel !== null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune !== undefined &&
|
|
3958
|
-
input.QvbrQualityLevelFineTune !== null && {
|
|
3730
|
+
return __assign(__assign(__assign({}, (input.MaxAverageBitrate != null && { maxAverageBitrate: input.MaxAverageBitrate })), (input.QvbrQualityLevel != null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.QvbrQualityLevelFineTune != null && {
|
|
3959
3731
|
qvbrQualityLevelFineTune: __serializeFloat(input.QvbrQualityLevelFineTune),
|
|
3960
3732
|
}));
|
|
3961
3733
|
};
|
|
3962
3734
|
var serializeAws_restJson1H265Settings = function (input, context) {
|
|
3963
|
-
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
|
|
3964
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.AlternateTransferFunctionSei !== undefined &&
|
|
3965
|
-
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 && {
|
|
3966
3736
|
alternateTransferFunctionSei: input.AlternateTransferFunctionSei,
|
|
3967
|
-
})), (input.Bitrate
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
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 && {
|
|
3971
3740
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
3972
|
-
})), (input.FramerateDenominator
|
|
3973
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
3974
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopBReference !== undefined && input.GopBReference !== null && { gopBReference: input.GopBReference })), (input.GopClosedCadence !== undefined &&
|
|
3975
|
-
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 &&
|
|
3976
|
-
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 && {
|
|
3977
3742
|
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
|
|
3978
|
-
})), (input.HrdBufferSize
|
|
3979
|
-
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 && {
|
|
3980
3744
|
numberBFramesBetweenReferenceFrames: input.NumberBFramesBetweenReferenceFrames,
|
|
3981
|
-
})), (input.NumberReferenceFrames
|
|
3982
|
-
input.NumberReferenceFrames !== null && { numberReferenceFrames: input.NumberReferenceFrames })), (input.ParControl !== undefined && input.ParControl !== null && { parControl: input.ParControl })), (input.ParDenominator !== undefined &&
|
|
3983
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel !== undefined &&
|
|
3984
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.QvbrSettings !== undefined &&
|
|
3985
|
-
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 && {
|
|
3986
3746
|
qvbrSettings: serializeAws_restJson1H265QvbrSettings(input.QvbrSettings, context),
|
|
3987
|
-
})), (input.RateControlMode
|
|
3988
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.SampleAdaptiveOffsetFilterMode !== undefined &&
|
|
3989
|
-
input.SampleAdaptiveOffsetFilterMode !== null && {
|
|
3747
|
+
})), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.SampleAdaptiveOffsetFilterMode != null && {
|
|
3990
3748
|
sampleAdaptiveOffsetFilterMode: input.SampleAdaptiveOffsetFilterMode,
|
|
3991
|
-
})), (input.ScanTypeConversionMode
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
input.SpatialAdaptiveQuantization !== null && { spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization })), (input.Telecine !== undefined && input.Telecine !== null && { telecine: input.Telecine })), (input.TemporalAdaptiveQuantization !== undefined &&
|
|
3995
|
-
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 && {
|
|
3996
3752
|
temporalAdaptiveQuantization: input.TemporalAdaptiveQuantization,
|
|
3997
|
-
})), (input.TemporalIds
|
|
3998
|
-
input.UnregisteredSeiTimecode !== null && { unregisteredSeiTimecode: input.UnregisteredSeiTimecode })), (input.WriteMp4PackagingType !== undefined &&
|
|
3999
|
-
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 }));
|
|
4000
3754
|
};
|
|
4001
3755
|
var serializeAws_restJson1Hdr10Metadata = function (input, context) {
|
|
4002
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BluePrimaryX
|
|
4003
|
-
input.MaxContentLightLevel !== null && { maxContentLightLevel: input.MaxContentLightLevel })), (input.MaxFrameAverageLightLevel !== undefined &&
|
|
4004
|
-
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 }));
|
|
4005
3757
|
};
|
|
4006
3758
|
var serializeAws_restJson1Hdr10Plus = function (input, context) {
|
|
4007
|
-
return __assign(__assign({}, (input.MasteringMonitorNits
|
|
4008
|
-
input.MasteringMonitorNits !== null && { masteringMonitorNits: input.MasteringMonitorNits })), (input.TargetMonitorNits !== undefined &&
|
|
4009
|
-
input.TargetMonitorNits !== null && { targetMonitorNits: input.TargetMonitorNits }));
|
|
3759
|
+
return __assign(__assign({}, (input.MasteringMonitorNits != null && { masteringMonitorNits: input.MasteringMonitorNits })), (input.TargetMonitorNits != null && { targetMonitorNits: input.TargetMonitorNits }));
|
|
4010
3760
|
};
|
|
4011
3761
|
var serializeAws_restJson1HlsAdditionalManifest = function (input, context) {
|
|
4012
|
-
return __assign(__assign({}, (input.ManifestNameModifier
|
|
4013
|
-
input.ManifestNameModifier !== null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs !== undefined &&
|
|
4014
|
-
input.SelectedOutputs !== null && {
|
|
3762
|
+
return __assign(__assign({}, (input.ManifestNameModifier != null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs != null && {
|
|
4015
3763
|
selectedOutputs: serializeAws_restJson1__listOf__stringMin1(input.SelectedOutputs, context),
|
|
4016
3764
|
}));
|
|
4017
3765
|
};
|
|
4018
3766
|
var serializeAws_restJson1HlsCaptionLanguageMapping = function (input, context) {
|
|
4019
|
-
return __assign(__assign(__assign(__assign({}, (input.CaptionChannel
|
|
4020
|
-
input.CaptionChannel !== null && { captionChannel: input.CaptionChannel })), (input.CustomLanguageCode !== undefined &&
|
|
4021
|
-
input.CustomLanguageCode !== null && { customLanguageCode: input.CustomLanguageCode })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { languageCode: input.LanguageCode })), (input.LanguageDescription !== undefined &&
|
|
4022
|
-
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 }));
|
|
4023
3768
|
};
|
|
4024
3769
|
var serializeAws_restJson1HlsEncryptionSettings = function (input, context) {
|
|
4025
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector
|
|
4026
|
-
input.ConstantInitializationVector !== null && {
|
|
3770
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector != null && {
|
|
4027
3771
|
constantInitializationVector: input.ConstantInitializationVector,
|
|
4028
|
-
})), (input.EncryptionMethod
|
|
4029
|
-
input.EncryptionMethod !== null && { encryptionMethod: input.EncryptionMethod })), (input.InitializationVectorInManifest !== undefined &&
|
|
4030
|
-
input.InitializationVectorInManifest !== null && {
|
|
3772
|
+
})), (input.EncryptionMethod != null && { encryptionMethod: input.EncryptionMethod })), (input.InitializationVectorInManifest != null && {
|
|
4031
3773
|
initializationVectorInManifest: input.InitializationVectorInManifest,
|
|
4032
|
-
})), (input.OfflineEncrypted
|
|
4033
|
-
input.OfflineEncrypted !== null && { offlineEncrypted: input.OfflineEncrypted })), (input.SpekeKeyProvider !== undefined &&
|
|
4034
|
-
input.SpekeKeyProvider !== null && {
|
|
3774
|
+
})), (input.OfflineEncrypted != null && { offlineEncrypted: input.OfflineEncrypted })), (input.SpekeKeyProvider != null && {
|
|
4035
3775
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProvider(input.SpekeKeyProvider, context),
|
|
4036
|
-
})), (input.StaticKeyProvider
|
|
4037
|
-
input.StaticKeyProvider !== null && {
|
|
3776
|
+
})), (input.StaticKeyProvider != null && {
|
|
4038
3777
|
staticKeyProvider: serializeAws_restJson1StaticKeyProvider(input.StaticKeyProvider, context),
|
|
4039
|
-
})), (input.Type
|
|
3778
|
+
})), (input.Type != null && { type: input.Type }));
|
|
4040
3779
|
};
|
|
4041
3780
|
var serializeAws_restJson1HlsGroupSettings = function (input, context) {
|
|
4042
|
-
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
|
|
4043
|
-
input.AdMarkers !== null && { adMarkers: serializeAws_restJson1__listOfHlsAdMarkers(input.AdMarkers, context) })), (input.AdditionalManifests !== undefined &&
|
|
4044
|
-
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 && {
|
|
4045
3782
|
additionalManifests: serializeAws_restJson1__listOfHlsAdditionalManifest(input.AdditionalManifests, context),
|
|
4046
|
-
})), (input.AudioOnlyHeader
|
|
4047
|
-
input.AudioOnlyHeader !== null && { audioOnlyHeader: input.AudioOnlyHeader })), (input.BaseUrl !== undefined && input.BaseUrl !== null && { baseUrl: input.BaseUrl })), (input.CaptionLanguageMappings !== undefined &&
|
|
4048
|
-
input.CaptionLanguageMappings !== null && {
|
|
3783
|
+
})), (input.AudioOnlyHeader != null && { audioOnlyHeader: input.AudioOnlyHeader })), (input.BaseUrl != null && { baseUrl: input.BaseUrl })), (input.CaptionLanguageMappings != null && {
|
|
4049
3784
|
captionLanguageMappings: serializeAws_restJson1__listOfHlsCaptionLanguageMapping(input.CaptionLanguageMappings, context),
|
|
4050
|
-
})), (input.CaptionLanguageSetting
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
input.CodecSpecification !== null && { codecSpecification: input.CodecSpecification })), (input.Destination !== undefined && input.Destination !== null && { destination: input.Destination })), (input.DestinationSettings !== undefined &&
|
|
4054
|
-
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 && {
|
|
4055
3788
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
4056
|
-
})), (input.DirectoryStructure
|
|
4057
|
-
input.DirectoryStructure !== null && { directoryStructure: input.DirectoryStructure })), (input.Encryption !== undefined &&
|
|
4058
|
-
input.Encryption !== null && {
|
|
3789
|
+
})), (input.DirectoryStructure != null && { directoryStructure: input.DirectoryStructure })), (input.Encryption != null && {
|
|
4059
3790
|
encryption: serializeAws_restJson1HlsEncryptionSettings(input.Encryption, context),
|
|
4060
|
-
})), (input.ImageBasedTrickPlay
|
|
4061
|
-
input.ImageBasedTrickPlay !== null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings !== undefined &&
|
|
4062
|
-
input.ImageBasedTrickPlaySettings !== null && {
|
|
3791
|
+
})), (input.ImageBasedTrickPlay != null && { imageBasedTrickPlay: input.ImageBasedTrickPlay })), (input.ImageBasedTrickPlaySettings != null && {
|
|
4063
3792
|
imageBasedTrickPlaySettings: serializeAws_restJson1HlsImageBasedTrickPlaySettings(input.ImageBasedTrickPlaySettings, context),
|
|
4064
|
-
})), (input.ManifestCompression
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
input.MinFinalSegmentLength !== null && { minFinalSegmentLength: __serializeFloat(input.MinFinalSegmentLength) })), (input.MinSegmentLength !== undefined &&
|
|
4068
|
-
input.MinSegmentLength !== null && { minSegmentLength: input.MinSegmentLength })), (input.OutputSelection !== undefined &&
|
|
4069
|
-
input.OutputSelection !== null && { outputSelection: input.OutputSelection })), (input.ProgramDateTime !== undefined &&
|
|
4070
|
-
input.ProgramDateTime !== null && { programDateTime: input.ProgramDateTime })), (input.ProgramDateTimePeriod !== undefined &&
|
|
4071
|
-
input.ProgramDateTimePeriod !== null && { programDateTimePeriod: input.ProgramDateTimePeriod })), (input.SegmentControl !== undefined &&
|
|
4072
|
-
input.SegmentControl !== null && { segmentControl: input.SegmentControl })), (input.SegmentLength !== undefined && input.SegmentLength !== null && { segmentLength: input.SegmentLength })), (input.SegmentLengthControl !== undefined &&
|
|
4073
|
-
input.SegmentLengthControl !== null && { segmentLengthControl: input.SegmentLengthControl })), (input.SegmentsPerSubdirectory !== undefined &&
|
|
4074
|
-
input.SegmentsPerSubdirectory !== null && { segmentsPerSubdirectory: input.SegmentsPerSubdirectory })), (input.StreamInfResolution !== undefined &&
|
|
4075
|
-
input.StreamInfResolution !== null && { streamInfResolution: input.StreamInfResolution })), (input.TargetDurationCompatibilityMode !== undefined &&
|
|
4076
|
-
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 && {
|
|
4077
3796
|
targetDurationCompatibilityMode: input.TargetDurationCompatibilityMode,
|
|
4078
|
-
})), (input.TimedMetadataId3Frame
|
|
4079
|
-
input.TimedMetadataId3Frame !== null && { timedMetadataId3Frame: input.TimedMetadataId3Frame })), (input.TimedMetadataId3Period !== undefined &&
|
|
4080
|
-
input.TimedMetadataId3Period !== null && { timedMetadataId3Period: input.TimedMetadataId3Period })), (input.TimestampDeltaMilliseconds !== undefined &&
|
|
4081
|
-
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 }));
|
|
4082
3798
|
};
|
|
4083
3799
|
var serializeAws_restJson1HlsImageBasedTrickPlaySettings = function (input, context) {
|
|
4084
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IntervalCadence
|
|
4085
|
-
input.IntervalCadence !== null && { intervalCadence: input.IntervalCadence })), (input.ThumbnailHeight !== undefined &&
|
|
4086
|
-
input.ThumbnailHeight !== null && { thumbnailHeight: input.ThumbnailHeight })), (input.ThumbnailInterval !== undefined &&
|
|
4087
|
-
input.ThumbnailInterval !== null && { thumbnailInterval: __serializeFloat(input.ThumbnailInterval) })), (input.ThumbnailWidth !== undefined &&
|
|
4088
|
-
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 }));
|
|
4089
3801
|
};
|
|
4090
3802
|
var serializeAws_restJson1HlsRenditionGroupSettings = function (input, context) {
|
|
4091
|
-
return __assign(__assign(__assign({}, (input.RenditionGroupId
|
|
4092
|
-
input.RenditionGroupId !== null && { renditionGroupId: input.RenditionGroupId })), (input.RenditionLanguageCode !== undefined &&
|
|
4093
|
-
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 }));
|
|
4094
3804
|
};
|
|
4095
3805
|
var serializeAws_restJson1HlsSettings = function (input, context) {
|
|
4096
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioGroupId
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
input.AudioTrackType !== null && { audioTrackType: input.AudioTrackType })), (input.DescriptiveVideoServiceFlag !== undefined &&
|
|
4100
|
-
input.DescriptiveVideoServiceFlag !== null && { descriptiveVideoServiceFlag: input.DescriptiveVideoServiceFlag })), (input.IFrameOnlyManifest !== undefined &&
|
|
4101
|
-
input.IFrameOnlyManifest !== null && { iFrameOnlyManifest: input.IFrameOnlyManifest })), (input.SegmentModifier !== undefined &&
|
|
4102
|
-
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 }));
|
|
4103
3809
|
};
|
|
4104
3810
|
var serializeAws_restJson1HopDestination = function (input, context) {
|
|
4105
|
-
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 }));
|
|
4106
3812
|
};
|
|
4107
3813
|
var serializeAws_restJson1Id3Insertion = function (input, context) {
|
|
4108
|
-
return __assign(__assign({}, (input.Id3
|
|
3814
|
+
return __assign(__assign({}, (input.Id3 != null && { id3: input.Id3 })), (input.Timecode != null && { timecode: input.Timecode }));
|
|
4109
3815
|
};
|
|
4110
3816
|
var serializeAws_restJson1ImageInserter = function (input, context) {
|
|
4111
|
-
return __assign({}, (input.InsertableImages
|
|
4112
|
-
input.InsertableImages !== null && {
|
|
3817
|
+
return __assign({}, (input.InsertableImages != null && {
|
|
4113
3818
|
insertableImages: serializeAws_restJson1__listOfInsertableImage(input.InsertableImages, context),
|
|
4114
3819
|
}));
|
|
4115
3820
|
};
|
|
4116
3821
|
var serializeAws_restJson1ImscDestinationSettings = function (input, context) {
|
|
4117
|
-
return __assign(__assign({}, (input.Accessibility
|
|
4118
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }));
|
|
3822
|
+
return __assign(__assign({}, (input.Accessibility != null && { accessibility: input.Accessibility })), (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough }));
|
|
4119
3823
|
};
|
|
4120
3824
|
var serializeAws_restJson1Input = function (input, context) {
|
|
4121
|
-
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
|
|
4122
|
-
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 && {
|
|
4123
3826
|
audioSelectorGroups: serializeAws_restJson1__mapOfAudioSelectorGroup(input.AudioSelectorGroups, context),
|
|
4124
|
-
})), (input.AudioSelectors
|
|
4125
|
-
input.AudioSelectors !== null && {
|
|
3827
|
+
})), (input.AudioSelectors != null && {
|
|
4126
3828
|
audioSelectors: serializeAws_restJson1__mapOfAudioSelector(input.AudioSelectors, context),
|
|
4127
|
-
})), (input.CaptionSelectors
|
|
4128
|
-
input.CaptionSelectors !== null && {
|
|
3829
|
+
})), (input.CaptionSelectors != null && {
|
|
4129
3830
|
captionSelectors: serializeAws_restJson1__mapOfCaptionSelector(input.CaptionSelectors, context),
|
|
4130
|
-
})), (input.Crop
|
|
4131
|
-
input.Crop !== null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DeblockFilter !== undefined && input.DeblockFilter !== null && { deblockFilter: input.DeblockFilter })), (input.DecryptionSettings !== undefined &&
|
|
4132
|
-
input.DecryptionSettings !== null && {
|
|
3831
|
+
})), (input.Crop != null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DeblockFilter != null && { deblockFilter: input.DeblockFilter })), (input.DecryptionSettings != null && {
|
|
4133
3832
|
decryptionSettings: serializeAws_restJson1InputDecryptionSettings(input.DecryptionSettings, context),
|
|
4134
|
-
})), (input.DenoiseFilter
|
|
4135
|
-
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 &&
|
|
4136
|
-
input.FilterStrength !== null && { filterStrength: input.FilterStrength })), (input.ImageInserter !== undefined &&
|
|
4137
|
-
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 && {
|
|
4138
3834
|
imageInserter: serializeAws_restJson1ImageInserter(input.ImageInserter, context),
|
|
4139
|
-
})), (input.InputClippings
|
|
4140
|
-
input.InputClippings !== null && {
|
|
3835
|
+
})), (input.InputClippings != null && {
|
|
4141
3836
|
inputClippings: serializeAws_restJson1__listOfInputClipping(input.InputClippings, context),
|
|
4142
|
-
})), (input.InputScanType
|
|
4143
|
-
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 &&
|
|
4144
|
-
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 && {
|
|
4145
3838
|
supplementalImps: serializeAws_restJson1__listOf__stringPatternS3ASSETMAPXml(input.SupplementalImps, context),
|
|
4146
|
-
})), (input.TimecodeSource
|
|
4147
|
-
input.TimecodeSource !== null && { timecodeSource: input.TimecodeSource })), (input.TimecodeStart !== undefined && input.TimecodeStart !== null && { timecodeStart: input.TimecodeStart })), (input.VideoGenerator !== undefined &&
|
|
4148
|
-
input.VideoGenerator !== null && {
|
|
3839
|
+
})), (input.TimecodeSource != null && { timecodeSource: input.TimecodeSource })), (input.TimecodeStart != null && { timecodeStart: input.TimecodeStart })), (input.VideoGenerator != null && {
|
|
4149
3840
|
videoGenerator: serializeAws_restJson1InputVideoGenerator(input.VideoGenerator, context),
|
|
4150
|
-
})), (input.VideoSelector
|
|
4151
|
-
input.VideoSelector !== null && {
|
|
3841
|
+
})), (input.VideoSelector != null && {
|
|
4152
3842
|
videoSelector: serializeAws_restJson1VideoSelector(input.VideoSelector, context),
|
|
4153
3843
|
}));
|
|
4154
3844
|
};
|
|
4155
3845
|
var serializeAws_restJson1InputClipping = function (input, context) {
|
|
4156
|
-
return __assign(__assign({}, (input.EndTimecode
|
|
3846
|
+
return __assign(__assign({}, (input.EndTimecode != null && { endTimecode: input.EndTimecode })), (input.StartTimecode != null && { startTimecode: input.StartTimecode }));
|
|
4157
3847
|
};
|
|
4158
3848
|
var serializeAws_restJson1InputDecryptionSettings = function (input, context) {
|
|
4159
|
-
return __assign(__assign(__assign(__assign({}, (input.DecryptionMode
|
|
4160
|
-
input.DecryptionMode !== null && { decryptionMode: input.DecryptionMode })), (input.EncryptedDecryptionKey !== undefined &&
|
|
4161
|
-
input.EncryptedDecryptionKey !== null && { encryptedDecryptionKey: input.EncryptedDecryptionKey })), (input.InitializationVector !== undefined &&
|
|
4162
|
-
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 }));
|
|
4163
3850
|
};
|
|
4164
3851
|
var serializeAws_restJson1InputTemplate = function (input, context) {
|
|
4165
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioSelectorGroups
|
|
4166
|
-
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 && {
|
|
4167
3853
|
audioSelectorGroups: serializeAws_restJson1__mapOfAudioSelectorGroup(input.AudioSelectorGroups, context),
|
|
4168
|
-
})), (input.AudioSelectors
|
|
4169
|
-
input.AudioSelectors !== null && {
|
|
3854
|
+
})), (input.AudioSelectors != null && {
|
|
4170
3855
|
audioSelectors: serializeAws_restJson1__mapOfAudioSelector(input.AudioSelectors, context),
|
|
4171
|
-
})), (input.CaptionSelectors
|
|
4172
|
-
input.CaptionSelectors !== null && {
|
|
3856
|
+
})), (input.CaptionSelectors != null && {
|
|
4173
3857
|
captionSelectors: serializeAws_restJson1__mapOfCaptionSelector(input.CaptionSelectors, context),
|
|
4174
|
-
})), (input.Crop
|
|
4175
|
-
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 &&
|
|
4176
|
-
input.DolbyVisionMetadataXml !== null && { dolbyVisionMetadataXml: input.DolbyVisionMetadataXml })), (input.FilterEnable !== undefined && input.FilterEnable !== null && { filterEnable: input.FilterEnable })), (input.FilterStrength !== undefined &&
|
|
4177
|
-
input.FilterStrength !== null && { filterStrength: input.FilterStrength })), (input.ImageInserter !== undefined &&
|
|
4178
|
-
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 && {
|
|
4179
3859
|
imageInserter: serializeAws_restJson1ImageInserter(input.ImageInserter, context),
|
|
4180
|
-
})), (input.InputClippings
|
|
4181
|
-
input.InputClippings !== null && {
|
|
3860
|
+
})), (input.InputClippings != null && {
|
|
4182
3861
|
inputClippings: serializeAws_restJson1__listOfInputClipping(input.InputClippings, context),
|
|
4183
|
-
})), (input.InputScanType
|
|
4184
|
-
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 &&
|
|
4185
|
-
input.TimecodeSource !== null && { timecodeSource: input.TimecodeSource })), (input.TimecodeStart !== undefined && input.TimecodeStart !== null && { timecodeStart: input.TimecodeStart })), (input.VideoSelector !== undefined &&
|
|
4186
|
-
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 && {
|
|
4187
3863
|
videoSelector: serializeAws_restJson1VideoSelector(input.VideoSelector, context),
|
|
4188
3864
|
}));
|
|
4189
3865
|
};
|
|
4190
3866
|
var serializeAws_restJson1InputVideoGenerator = function (input, context) {
|
|
4191
|
-
return __assign({}, (input.Duration
|
|
3867
|
+
return __assign({}, (input.Duration != null && { duration: input.Duration }));
|
|
4192
3868
|
};
|
|
4193
3869
|
var serializeAws_restJson1InsertableImage = function (input, context) {
|
|
4194
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Duration
|
|
4195
|
-
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 }));
|
|
4196
3871
|
};
|
|
4197
3872
|
var serializeAws_restJson1JobSettings = function (input, context) {
|
|
4198
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdAvailOffset
|
|
4199
|
-
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 && {
|
|
4200
3874
|
availBlanking: serializeAws_restJson1AvailBlanking(input.AvailBlanking, context),
|
|
4201
|
-
})), (input.Esam
|
|
4202
|
-
input.Esam !== null && { esam: serializeAws_restJson1EsamSettings(input.Esam, context) })), (input.ExtendedDataServices !== undefined &&
|
|
4203
|
-
input.ExtendedDataServices !== null && {
|
|
3875
|
+
})), (input.Esam != null && { esam: serializeAws_restJson1EsamSettings(input.Esam, context) })), (input.ExtendedDataServices != null && {
|
|
4204
3876
|
extendedDataServices: serializeAws_restJson1ExtendedDataServices(input.ExtendedDataServices, context),
|
|
4205
|
-
})), (input.Inputs
|
|
4206
|
-
input.Inputs !== null && { inputs: serializeAws_restJson1__listOfInput(input.Inputs, context) })), (input.KantarWatermark !== undefined &&
|
|
4207
|
-
input.KantarWatermark !== null && {
|
|
3877
|
+
})), (input.Inputs != null && { inputs: serializeAws_restJson1__listOfInput(input.Inputs, context) })), (input.KantarWatermark != null && {
|
|
4208
3878
|
kantarWatermark: serializeAws_restJson1KantarWatermarkSettings(input.KantarWatermark, context),
|
|
4209
|
-
})), (input.MotionImageInserter
|
|
4210
|
-
input.MotionImageInserter !== null && {
|
|
3879
|
+
})), (input.MotionImageInserter != null && {
|
|
4211
3880
|
motionImageInserter: serializeAws_restJson1MotionImageInserter(input.MotionImageInserter, context),
|
|
4212
|
-
})), (input.NielsenConfiguration
|
|
4213
|
-
input.NielsenConfiguration !== null && {
|
|
3881
|
+
})), (input.NielsenConfiguration != null && {
|
|
4214
3882
|
nielsenConfiguration: serializeAws_restJson1NielsenConfiguration(input.NielsenConfiguration, context),
|
|
4215
|
-
})), (input.NielsenNonLinearWatermark
|
|
4216
|
-
input.NielsenNonLinearWatermark !== null && {
|
|
3883
|
+
})), (input.NielsenNonLinearWatermark != null && {
|
|
4217
3884
|
nielsenNonLinearWatermark: serializeAws_restJson1NielsenNonLinearWatermarkSettings(input.NielsenNonLinearWatermark, context),
|
|
4218
|
-
})), (input.OutputGroups
|
|
4219
|
-
input.OutputGroups !== null && {
|
|
3885
|
+
})), (input.OutputGroups != null && {
|
|
4220
3886
|
outputGroups: serializeAws_restJson1__listOfOutputGroup(input.OutputGroups, context),
|
|
4221
|
-
})), (input.TimecodeConfig
|
|
4222
|
-
input.TimecodeConfig !== null && {
|
|
3887
|
+
})), (input.TimecodeConfig != null && {
|
|
4223
3888
|
timecodeConfig: serializeAws_restJson1TimecodeConfig(input.TimecodeConfig, context),
|
|
4224
|
-
})), (input.TimedMetadataInsertion
|
|
4225
|
-
input.TimedMetadataInsertion !== null && {
|
|
3889
|
+
})), (input.TimedMetadataInsertion != null && {
|
|
4226
3890
|
timedMetadataInsertion: serializeAws_restJson1TimedMetadataInsertion(input.TimedMetadataInsertion, context),
|
|
4227
3891
|
}));
|
|
4228
3892
|
};
|
|
4229
3893
|
var serializeAws_restJson1JobTemplateSettings = function (input, context) {
|
|
4230
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdAvailOffset
|
|
4231
|
-
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 && {
|
|
4232
3895
|
availBlanking: serializeAws_restJson1AvailBlanking(input.AvailBlanking, context),
|
|
4233
|
-
})), (input.Esam
|
|
4234
|
-
input.Esam !== null && { esam: serializeAws_restJson1EsamSettings(input.Esam, context) })), (input.ExtendedDataServices !== undefined &&
|
|
4235
|
-
input.ExtendedDataServices !== null && {
|
|
3896
|
+
})), (input.Esam != null && { esam: serializeAws_restJson1EsamSettings(input.Esam, context) })), (input.ExtendedDataServices != null && {
|
|
4236
3897
|
extendedDataServices: serializeAws_restJson1ExtendedDataServices(input.ExtendedDataServices, context),
|
|
4237
|
-
})), (input.Inputs
|
|
4238
|
-
input.Inputs !== null && { inputs: serializeAws_restJson1__listOfInputTemplate(input.Inputs, context) })), (input.KantarWatermark !== undefined &&
|
|
4239
|
-
input.KantarWatermark !== null && {
|
|
3898
|
+
})), (input.Inputs != null && { inputs: serializeAws_restJson1__listOfInputTemplate(input.Inputs, context) })), (input.KantarWatermark != null && {
|
|
4240
3899
|
kantarWatermark: serializeAws_restJson1KantarWatermarkSettings(input.KantarWatermark, context),
|
|
4241
|
-
})), (input.MotionImageInserter
|
|
4242
|
-
input.MotionImageInserter !== null && {
|
|
3900
|
+
})), (input.MotionImageInserter != null && {
|
|
4243
3901
|
motionImageInserter: serializeAws_restJson1MotionImageInserter(input.MotionImageInserter, context),
|
|
4244
|
-
})), (input.NielsenConfiguration
|
|
4245
|
-
input.NielsenConfiguration !== null && {
|
|
3902
|
+
})), (input.NielsenConfiguration != null && {
|
|
4246
3903
|
nielsenConfiguration: serializeAws_restJson1NielsenConfiguration(input.NielsenConfiguration, context),
|
|
4247
|
-
})), (input.NielsenNonLinearWatermark
|
|
4248
|
-
input.NielsenNonLinearWatermark !== null && {
|
|
3904
|
+
})), (input.NielsenNonLinearWatermark != null && {
|
|
4249
3905
|
nielsenNonLinearWatermark: serializeAws_restJson1NielsenNonLinearWatermarkSettings(input.NielsenNonLinearWatermark, context),
|
|
4250
|
-
})), (input.OutputGroups
|
|
4251
|
-
input.OutputGroups !== null && {
|
|
3906
|
+
})), (input.OutputGroups != null && {
|
|
4252
3907
|
outputGroups: serializeAws_restJson1__listOfOutputGroup(input.OutputGroups, context),
|
|
4253
|
-
})), (input.TimecodeConfig
|
|
4254
|
-
input.TimecodeConfig !== null && {
|
|
3908
|
+
})), (input.TimecodeConfig != null && {
|
|
4255
3909
|
timecodeConfig: serializeAws_restJson1TimecodeConfig(input.TimecodeConfig, context),
|
|
4256
|
-
})), (input.TimedMetadataInsertion
|
|
4257
|
-
input.TimedMetadataInsertion !== null && {
|
|
3910
|
+
})), (input.TimedMetadataInsertion != null && {
|
|
4258
3911
|
timedMetadataInsertion: serializeAws_restJson1TimedMetadataInsertion(input.TimedMetadataInsertion, context),
|
|
4259
3912
|
}));
|
|
4260
3913
|
};
|
|
4261
3914
|
var serializeAws_restJson1KantarWatermarkSettings = function (input, context) {
|
|
4262
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelName
|
|
4263
|
-
input.ContentReference !== null && { contentReference: input.ContentReference })), (input.CredentialsSecretName !== undefined &&
|
|
4264
|
-
input.CredentialsSecretName !== null && { credentialsSecretName: input.CredentialsSecretName })), (input.FileOffset !== undefined &&
|
|
4265
|
-
input.FileOffset !== null && { fileOffset: __serializeFloat(input.FileOffset) })), (input.KantarLicenseId !== undefined &&
|
|
4266
|
-
input.KantarLicenseId !== null && { kantarLicenseId: input.KantarLicenseId })), (input.KantarServerUrl !== undefined &&
|
|
4267
|
-
input.KantarServerUrl !== null && { kantarServerUrl: input.KantarServerUrl })), (input.LogDestination !== undefined &&
|
|
4268
|
-
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 }));
|
|
4269
3916
|
};
|
|
4270
3917
|
var serializeAws_restJson1M2tsScte35Esam = function (input, context) {
|
|
4271
|
-
return __assign({}, (input.Scte35EsamPid
|
|
3918
|
+
return __assign({}, (input.Scte35EsamPid != null && { scte35EsamPid: input.Scte35EsamPid }));
|
|
4272
3919
|
};
|
|
4273
3920
|
var serializeAws_restJson1M2tsSettings = function (input, context) {
|
|
4274
|
-
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
|
|
4275
|
-
input.AudioBufferModel !== null && { audioBufferModel: input.AudioBufferModel })), (input.AudioDuration !== undefined && input.AudioDuration !== null && { audioDuration: input.AudioDuration })), (input.AudioFramesPerPes !== undefined &&
|
|
4276
|
-
input.AudioFramesPerPes !== null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids !== undefined &&
|
|
4277
|
-
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 && {
|
|
4278
3922
|
audioPids: serializeAws_restJson1__listOf__integerMin32Max8182(input.AudioPids, context),
|
|
4279
|
-
})), (input.Bitrate
|
|
4280
|
-
input.DataPTSControl !== null && { dataPTSControl: input.DataPTSControl })), (input.DvbNitSettings !== undefined &&
|
|
4281
|
-
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 && {
|
|
4282
3924
|
dvbNitSettings: serializeAws_restJson1DvbNitSettings(input.DvbNitSettings, context),
|
|
4283
|
-
})), (input.DvbSdtSettings
|
|
4284
|
-
input.DvbSdtSettings !== null && {
|
|
3925
|
+
})), (input.DvbSdtSettings != null && {
|
|
4285
3926
|
dvbSdtSettings: serializeAws_restJson1DvbSdtSettings(input.DvbSdtSettings, context),
|
|
4286
|
-
})), (input.DvbSubPids
|
|
4287
|
-
input.DvbSubPids !== null && {
|
|
3927
|
+
})), (input.DvbSubPids != null && {
|
|
4288
3928
|
dvbSubPids: serializeAws_restJson1__listOf__integerMin32Max8182(input.DvbSubPids, context),
|
|
4289
|
-
})), (input.DvbTdtSettings
|
|
4290
|
-
input.DvbTdtSettings !== null && {
|
|
3929
|
+
})), (input.DvbTdtSettings != null && {
|
|
4291
3930
|
dvbTdtSettings: serializeAws_restJson1DvbTdtSettings(input.DvbTdtSettings, context),
|
|
4292
|
-
})), (input.DvbTeletextPid
|
|
4293
|
-
input.DvbTeletextPid !== null && { dvbTeletextPid: input.DvbTeletextPid })), (input.EbpAudioInterval !== undefined &&
|
|
4294
|
-
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 &&
|
|
4295
|
-
input.ForceTsVideoEbpOrder !== null && { forceTsVideoEbpOrder: input.ForceTsVideoEbpOrder })), (input.FragmentTime !== undefined &&
|
|
4296
|
-
input.FragmentTime !== null && { fragmentTime: __serializeFloat(input.FragmentTime) })), (input.KlvMetadata !== undefined && input.KlvMetadata !== null && { klvMetadata: input.KlvMetadata })), (input.MaxPcrInterval !== undefined &&
|
|
4297
|
-
input.MaxPcrInterval !== null && { maxPcrInterval: input.MaxPcrInterval })), (input.MinEbpInterval !== undefined &&
|
|
4298
|
-
input.MinEbpInterval !== null && { minEbpInterval: input.MinEbpInterval })), (input.NielsenId3 !== undefined && input.NielsenId3 !== null && { nielsenId3: input.NielsenId3 })), (input.NullPacketBitrate !== undefined &&
|
|
4299
|
-
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 &&
|
|
4300
|
-
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 &&
|
|
4301
|
-
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 &&
|
|
4302
|
-
input.SegmentationMarkers !== null && { segmentationMarkers: input.SegmentationMarkers })), (input.SegmentationStyle !== undefined &&
|
|
4303
|
-
input.SegmentationStyle !== null && { segmentationStyle: input.SegmentationStyle })), (input.SegmentationTime !== undefined &&
|
|
4304
|
-
input.SegmentationTime !== null && { segmentationTime: __serializeFloat(input.SegmentationTime) })), (input.TimedMetadataPid !== undefined &&
|
|
4305
|
-
input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
|
|
4306
|
-
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 }));
|
|
4307
3932
|
};
|
|
4308
3933
|
var serializeAws_restJson1M3u8Settings = function (input, context) {
|
|
4309
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDuration
|
|
4310
|
-
input.AudioFramesPerPes !== null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids !== undefined &&
|
|
4311
|
-
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 && {
|
|
4312
3935
|
audioPids: serializeAws_restJson1__listOf__integerMin32Max8182(input.AudioPids, context),
|
|
4313
|
-
})), (input.DataPTSControl
|
|
4314
|
-
input.DataPTSControl !== null && { dataPTSControl: input.DataPTSControl })), (input.MaxPcrInterval !== undefined &&
|
|
4315
|
-
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 &&
|
|
4316
|
-
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 &&
|
|
4317
|
-
input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
|
|
4318
|
-
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 }));
|
|
4319
3937
|
};
|
|
4320
3938
|
var serializeAws_restJson1MinBottomRenditionSize = function (input, context) {
|
|
4321
|
-
return __assign(__assign({}, (input.Height
|
|
3939
|
+
return __assign(__assign({}, (input.Height != null && { height: input.Height })), (input.Width != null && { width: input.Width }));
|
|
4322
3940
|
};
|
|
4323
3941
|
var serializeAws_restJson1MinTopRenditionSize = function (input, context) {
|
|
4324
|
-
return __assign(__assign({}, (input.Height
|
|
3942
|
+
return __assign(__assign({}, (input.Height != null && { height: input.Height })), (input.Width != null && { width: input.Width }));
|
|
4325
3943
|
};
|
|
4326
3944
|
var serializeAws_restJson1MotionImageInserter = function (input, context) {
|
|
4327
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Framerate
|
|
4328
|
-
input.Framerate !== null && {
|
|
3945
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Framerate != null && {
|
|
4329
3946
|
framerate: serializeAws_restJson1MotionImageInsertionFramerate(input.Framerate, context),
|
|
4330
|
-
})), (input.Input
|
|
4331
|
-
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 }));
|
|
4332
3948
|
};
|
|
4333
3949
|
var serializeAws_restJson1MotionImageInsertionFramerate = function (input, context) {
|
|
4334
|
-
return __assign(__assign({}, (input.FramerateDenominator
|
|
4335
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4336
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator }));
|
|
3950
|
+
return __assign(__assign({}, (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator }));
|
|
4337
3951
|
};
|
|
4338
3952
|
var serializeAws_restJson1MotionImageInsertionOffset = function (input, context) {
|
|
4339
|
-
return __assign(__assign({}, (input.ImageX
|
|
3953
|
+
return __assign(__assign({}, (input.ImageX != null && { imageX: input.ImageX })), (input.ImageY != null && { imageY: input.ImageY }));
|
|
4340
3954
|
};
|
|
4341
3955
|
var serializeAws_restJson1MovSettings = function (input, context) {
|
|
4342
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ClapAtom
|
|
4343
|
-
input.Mpeg2FourCCControl !== null && { mpeg2FourCCControl: input.Mpeg2FourCCControl })), (input.PaddingControl !== undefined &&
|
|
4344
|
-
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 }));
|
|
4345
3957
|
};
|
|
4346
3958
|
var serializeAws_restJson1Mp2Settings = function (input, context) {
|
|
4347
|
-
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 }));
|
|
4348
3960
|
};
|
|
4349
3961
|
var serializeAws_restJson1Mp3Settings = function (input, context) {
|
|
4350
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
4351
|
-
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 }));
|
|
4352
3963
|
};
|
|
4353
3964
|
var serializeAws_restJson1Mp4Settings = function (input, context) {
|
|
4354
|
-
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 }));
|
|
4355
3966
|
};
|
|
4356
3967
|
var serializeAws_restJson1MpdSettings = function (input, context) {
|
|
4357
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessibilityCaptionHints
|
|
4358
|
-
input.AccessibilityCaptionHints !== null && { accessibilityCaptionHints: input.AccessibilityCaptionHints })), (input.AudioDuration !== undefined && input.AudioDuration !== null && { audioDuration: input.AudioDuration })), (input.CaptionContainerType !== undefined &&
|
|
4359
|
-
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 }));
|
|
4360
3969
|
};
|
|
4361
3970
|
var serializeAws_restJson1Mpeg2Settings = function (input, context) {
|
|
4362
|
-
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
|
|
4363
|
-
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 &&
|
|
4364
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4365
|
-
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 && {
|
|
4366
3972
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4367
|
-
})), (input.FramerateDenominator
|
|
4368
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4369
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopClosedCadence !== undefined &&
|
|
4370
|
-
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 &&
|
|
4371
|
-
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 && {
|
|
4372
3974
|
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
|
|
4373
|
-
})), (input.HrdBufferSize
|
|
4374
|
-
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 &&
|
|
4375
|
-
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 && {
|
|
4376
3976
|
numberBFramesBetweenReferenceFrames: input.NumberBFramesBetweenReferenceFrames,
|
|
4377
|
-
})), (input.ParControl
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.ScanTypeConversionMode !== undefined &&
|
|
4381
|
-
input.ScanTypeConversionMode !== null && { scanTypeConversionMode: input.ScanTypeConversionMode })), (input.SceneChangeDetect !== undefined &&
|
|
4382
|
-
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 &&
|
|
4383
|
-
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 &&
|
|
4384
|
-
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 && {
|
|
4385
3980
|
temporalAdaptiveQuantization: input.TemporalAdaptiveQuantization,
|
|
4386
3981
|
}));
|
|
4387
3982
|
};
|
|
4388
3983
|
var serializeAws_restJson1MsSmoothAdditionalManifest = function (input, context) {
|
|
4389
|
-
return __assign(__assign({}, (input.ManifestNameModifier
|
|
4390
|
-
input.ManifestNameModifier !== null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs !== undefined &&
|
|
4391
|
-
input.SelectedOutputs !== null && {
|
|
3984
|
+
return __assign(__assign({}, (input.ManifestNameModifier != null && { manifestNameModifier: input.ManifestNameModifier })), (input.SelectedOutputs != null && {
|
|
4392
3985
|
selectedOutputs: serializeAws_restJson1__listOf__stringMin1(input.SelectedOutputs, context),
|
|
4393
3986
|
}));
|
|
4394
3987
|
};
|
|
4395
3988
|
var serializeAws_restJson1MsSmoothEncryptionSettings = function (input, context) {
|
|
4396
|
-
return __assign({}, (input.SpekeKeyProvider
|
|
4397
|
-
input.SpekeKeyProvider !== null && {
|
|
3989
|
+
return __assign({}, (input.SpekeKeyProvider != null && {
|
|
4398
3990
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProvider(input.SpekeKeyProvider, context),
|
|
4399
3991
|
}));
|
|
4400
3992
|
};
|
|
4401
3993
|
var serializeAws_restJson1MsSmoothGroupSettings = function (input, context) {
|
|
4402
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests
|
|
4403
|
-
input.AdditionalManifests !== null && {
|
|
3994
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalManifests != null && {
|
|
4404
3995
|
additionalManifests: serializeAws_restJson1__listOfMsSmoothAdditionalManifest(input.AdditionalManifests, context),
|
|
4405
|
-
})), (input.AudioDeduplication
|
|
4406
|
-
input.AudioDeduplication !== null && { audioDeduplication: input.AudioDeduplication })), (input.Destination !== undefined && input.Destination !== null && { destination: input.Destination })), (input.DestinationSettings !== undefined &&
|
|
4407
|
-
input.DestinationSettings !== null && {
|
|
3996
|
+
})), (input.AudioDeduplication != null && { audioDeduplication: input.AudioDeduplication })), (input.Destination != null && { destination: input.Destination })), (input.DestinationSettings != null && {
|
|
4408
3997
|
destinationSettings: serializeAws_restJson1DestinationSettings(input.DestinationSettings, context),
|
|
4409
|
-
})), (input.Encryption
|
|
4410
|
-
input.Encryption !== null && {
|
|
3998
|
+
})), (input.Encryption != null && {
|
|
4411
3999
|
encryption: serializeAws_restJson1MsSmoothEncryptionSettings(input.Encryption, context),
|
|
4412
|
-
})), (input.FragmentLength
|
|
4413
|
-
input.FragmentLength !== null && { fragmentLength: input.FragmentLength })), (input.FragmentLengthControl !== undefined &&
|
|
4414
|
-
input.FragmentLengthControl !== null && { fragmentLengthControl: input.FragmentLengthControl })), (input.ManifestEncoding !== undefined &&
|
|
4415
|
-
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 }));
|
|
4416
4001
|
};
|
|
4417
4002
|
var serializeAws_restJson1MxfSettings = function (input, context) {
|
|
4418
|
-
return __assign(__assign(__assign({}, (input.AfdSignaling
|
|
4419
|
-
input.XavcProfileSettings !== null && {
|
|
4003
|
+
return __assign(__assign(__assign({}, (input.AfdSignaling != null && { afdSignaling: input.AfdSignaling })), (input.Profile != null && { profile: input.Profile })), (input.XavcProfileSettings != null && {
|
|
4420
4004
|
xavcProfileSettings: serializeAws_restJson1MxfXavcProfileSettings(input.XavcProfileSettings, context),
|
|
4421
4005
|
}));
|
|
4422
4006
|
};
|
|
4423
4007
|
var serializeAws_restJson1MxfXavcProfileSettings = function (input, context) {
|
|
4424
|
-
return __assign(__assign({}, (input.DurationMode
|
|
4425
|
-
input.MaxAncDataSize !== null && { maxAncDataSize: input.MaxAncDataSize }));
|
|
4008
|
+
return __assign(__assign({}, (input.DurationMode != null && { durationMode: input.DurationMode })), (input.MaxAncDataSize != null && { maxAncDataSize: input.MaxAncDataSize }));
|
|
4426
4009
|
};
|
|
4427
4010
|
var serializeAws_restJson1NexGuardFileMarkerSettings = function (input, context) {
|
|
4428
|
-
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 }));
|
|
4429
4012
|
};
|
|
4430
4013
|
var serializeAws_restJson1NielsenConfiguration = function (input, context) {
|
|
4431
|
-
return __assign(__assign({}, (input.BreakoutCode
|
|
4014
|
+
return __assign(__assign({}, (input.BreakoutCode != null && { breakoutCode: input.BreakoutCode })), (input.DistributorId != null && { distributorId: input.DistributorId }));
|
|
4432
4015
|
};
|
|
4433
4016
|
var serializeAws_restJson1NielsenNonLinearWatermarkSettings = function (input, context) {
|
|
4434
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveWatermarkProcess
|
|
4435
|
-
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 &&
|
|
4436
|
-
input.MetadataDestination !== null && { metadataDestination: input.MetadataDestination })), (input.SourceId !== undefined && input.SourceId !== null && { sourceId: input.SourceId })), (input.SourceWatermarkStatus !== undefined &&
|
|
4437
|
-
input.SourceWatermarkStatus !== null && { sourceWatermarkStatus: input.SourceWatermarkStatus })), (input.TicServerUrl !== undefined && input.TicServerUrl !== null && { ticServerUrl: input.TicServerUrl })), (input.UniqueTicPerAudioTrack !== undefined &&
|
|
4438
|
-
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 }));
|
|
4439
4018
|
};
|
|
4440
4019
|
var serializeAws_restJson1NoiseReducer = function (input, context) {
|
|
4441
|
-
return __assign(__assign(__assign(__assign({}, (input.Filter
|
|
4442
|
-
input.FilterSettings !== null && {
|
|
4020
|
+
return __assign(__assign(__assign(__assign({}, (input.Filter != null && { filter: input.Filter })), (input.FilterSettings != null && {
|
|
4443
4021
|
filterSettings: serializeAws_restJson1NoiseReducerFilterSettings(input.FilterSettings, context),
|
|
4444
|
-
})), (input.SpatialFilterSettings
|
|
4445
|
-
input.SpatialFilterSettings !== null && {
|
|
4022
|
+
})), (input.SpatialFilterSettings != null && {
|
|
4446
4023
|
spatialFilterSettings: serializeAws_restJson1NoiseReducerSpatialFilterSettings(input.SpatialFilterSettings, context),
|
|
4447
|
-
})), (input.TemporalFilterSettings
|
|
4448
|
-
input.TemporalFilterSettings !== null && {
|
|
4024
|
+
})), (input.TemporalFilterSettings != null && {
|
|
4449
4025
|
temporalFilterSettings: serializeAws_restJson1NoiseReducerTemporalFilterSettings(input.TemporalFilterSettings, context),
|
|
4450
4026
|
}));
|
|
4451
4027
|
};
|
|
4452
4028
|
var serializeAws_restJson1NoiseReducerFilterSettings = function (input, context) {
|
|
4453
|
-
return __assign({}, (input.Strength
|
|
4029
|
+
return __assign({}, (input.Strength != null && { strength: input.Strength }));
|
|
4454
4030
|
};
|
|
4455
4031
|
var serializeAws_restJson1NoiseReducerSpatialFilterSettings = function (input, context) {
|
|
4456
|
-
return __assign(__assign(__assign({}, (input.PostFilterSharpenStrength
|
|
4457
|
-
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 }));
|
|
4458
4033
|
};
|
|
4459
4034
|
var serializeAws_restJson1NoiseReducerTemporalFilterSettings = function (input, context) {
|
|
4460
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AggressiveMode
|
|
4461
|
-
input.AggressiveMode !== null && { aggressiveMode: input.AggressiveMode })), (input.PostTemporalSharpening !== undefined &&
|
|
4462
|
-
input.PostTemporalSharpening !== null && { postTemporalSharpening: input.PostTemporalSharpening })), (input.PostTemporalSharpeningStrength !== undefined &&
|
|
4463
|
-
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 && {
|
|
4464
4036
|
postTemporalSharpeningStrength: input.PostTemporalSharpeningStrength,
|
|
4465
|
-
})), (input.Speed
|
|
4037
|
+
})), (input.Speed != null && { speed: input.Speed })), (input.Strength != null && { strength: input.Strength }));
|
|
4466
4038
|
};
|
|
4467
4039
|
var serializeAws_restJson1OpusSettings = function (input, context) {
|
|
4468
|
-
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 }));
|
|
4469
4041
|
};
|
|
4470
4042
|
var serializeAws_restJson1Output = function (input, context) {
|
|
4471
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptions
|
|
4472
|
-
input.AudioDescriptions !== null && {
|
|
4043
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptions != null && {
|
|
4473
4044
|
audioDescriptions: serializeAws_restJson1__listOfAudioDescription(input.AudioDescriptions, context),
|
|
4474
|
-
})), (input.CaptionDescriptions
|
|
4475
|
-
input.CaptionDescriptions !== null && {
|
|
4045
|
+
})), (input.CaptionDescriptions != null && {
|
|
4476
4046
|
captionDescriptions: serializeAws_restJson1__listOfCaptionDescription(input.CaptionDescriptions, context),
|
|
4477
|
-
})), (input.ContainerSettings
|
|
4478
|
-
input.ContainerSettings !== null && {
|
|
4047
|
+
})), (input.ContainerSettings != null && {
|
|
4479
4048
|
containerSettings: serializeAws_restJson1ContainerSettings(input.ContainerSettings, context),
|
|
4480
|
-
})), (input.Extension
|
|
4481
|
-
input.OutputSettings !== null && {
|
|
4049
|
+
})), (input.Extension != null && { extension: input.Extension })), (input.NameModifier != null && { nameModifier: input.NameModifier })), (input.OutputSettings != null && {
|
|
4482
4050
|
outputSettings: serializeAws_restJson1OutputSettings(input.OutputSettings, context),
|
|
4483
|
-
})), (input.Preset
|
|
4484
|
-
input.VideoDescription !== null && {
|
|
4051
|
+
})), (input.Preset != null && { preset: input.Preset })), (input.VideoDescription != null && {
|
|
4485
4052
|
videoDescription: serializeAws_restJson1VideoDescription(input.VideoDescription, context),
|
|
4486
4053
|
}));
|
|
4487
4054
|
};
|
|
4488
4055
|
var serializeAws_restJson1OutputChannelMapping = function (input, context) {
|
|
4489
|
-
return __assign(__assign({}, (input.InputChannels
|
|
4490
|
-
input.InputChannels !== null && {
|
|
4056
|
+
return __assign(__assign({}, (input.InputChannels != null && {
|
|
4491
4057
|
inputChannels: serializeAws_restJson1__listOf__integerMinNegative60Max6(input.InputChannels, context),
|
|
4492
|
-
})), (input.InputChannelsFineTune
|
|
4493
|
-
input.InputChannelsFineTune !== null && {
|
|
4058
|
+
})), (input.InputChannelsFineTune != null && {
|
|
4494
4059
|
inputChannelsFineTune: serializeAws_restJson1__listOf__doubleMinNegative60Max6(input.InputChannelsFineTune, context),
|
|
4495
4060
|
}));
|
|
4496
4061
|
};
|
|
4497
4062
|
var serializeAws_restJson1OutputGroup = function (input, context) {
|
|
4498
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AutomatedEncodingSettings
|
|
4499
|
-
input.AutomatedEncodingSettings !== null && {
|
|
4063
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AutomatedEncodingSettings != null && {
|
|
4500
4064
|
automatedEncodingSettings: serializeAws_restJson1AutomatedEncodingSettings(input.AutomatedEncodingSettings, context),
|
|
4501
|
-
})), (input.CustomName
|
|
4502
|
-
input.OutputGroupSettings !== null && {
|
|
4065
|
+
})), (input.CustomName != null && { customName: input.CustomName })), (input.Name != null && { name: input.Name })), (input.OutputGroupSettings != null && {
|
|
4503
4066
|
outputGroupSettings: serializeAws_restJson1OutputGroupSettings(input.OutputGroupSettings, context),
|
|
4504
|
-
})), (input.Outputs
|
|
4505
|
-
input.Outputs !== null && { outputs: serializeAws_restJson1__listOfOutput(input.Outputs, context) }));
|
|
4067
|
+
})), (input.Outputs != null && { outputs: serializeAws_restJson1__listOfOutput(input.Outputs, context) }));
|
|
4506
4068
|
};
|
|
4507
4069
|
var serializeAws_restJson1OutputGroupSettings = function (input, context) {
|
|
4508
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CmafGroupSettings
|
|
4509
|
-
input.CmafGroupSettings !== null && {
|
|
4070
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CmafGroupSettings != null && {
|
|
4510
4071
|
cmafGroupSettings: serializeAws_restJson1CmafGroupSettings(input.CmafGroupSettings, context),
|
|
4511
|
-
})), (input.DashIsoGroupSettings
|
|
4512
|
-
input.DashIsoGroupSettings !== null && {
|
|
4072
|
+
})), (input.DashIsoGroupSettings != null && {
|
|
4513
4073
|
dashIsoGroupSettings: serializeAws_restJson1DashIsoGroupSettings(input.DashIsoGroupSettings, context),
|
|
4514
|
-
})), (input.FileGroupSettings
|
|
4515
|
-
input.FileGroupSettings !== null && {
|
|
4074
|
+
})), (input.FileGroupSettings != null && {
|
|
4516
4075
|
fileGroupSettings: serializeAws_restJson1FileGroupSettings(input.FileGroupSettings, context),
|
|
4517
|
-
})), (input.HlsGroupSettings
|
|
4518
|
-
input.HlsGroupSettings !== null && {
|
|
4076
|
+
})), (input.HlsGroupSettings != null && {
|
|
4519
4077
|
hlsGroupSettings: serializeAws_restJson1HlsGroupSettings(input.HlsGroupSettings, context),
|
|
4520
|
-
})), (input.MsSmoothGroupSettings
|
|
4521
|
-
input.MsSmoothGroupSettings !== null && {
|
|
4078
|
+
})), (input.MsSmoothGroupSettings != null && {
|
|
4522
4079
|
msSmoothGroupSettings: serializeAws_restJson1MsSmoothGroupSettings(input.MsSmoothGroupSettings, context),
|
|
4523
|
-
})), (input.Type
|
|
4080
|
+
})), (input.Type != null && { type: input.Type }));
|
|
4524
4081
|
};
|
|
4525
4082
|
var serializeAws_restJson1OutputSettings = function (input, context) {
|
|
4526
|
-
return __assign({}, (input.HlsSettings
|
|
4527
|
-
input.HlsSettings !== null && { hlsSettings: serializeAws_restJson1HlsSettings(input.HlsSettings, context) }));
|
|
4083
|
+
return __assign({}, (input.HlsSettings != null && { hlsSettings: serializeAws_restJson1HlsSettings(input.HlsSettings, context) }));
|
|
4528
4084
|
};
|
|
4529
4085
|
var serializeAws_restJson1PartnerWatermarking = function (input, context) {
|
|
4530
|
-
return __assign({}, (input.NexguardFileMarkerSettings
|
|
4531
|
-
input.NexguardFileMarkerSettings !== null && {
|
|
4086
|
+
return __assign({}, (input.NexguardFileMarkerSettings != null && {
|
|
4532
4087
|
nexguardFileMarkerSettings: serializeAws_restJson1NexGuardFileMarkerSettings(input.NexguardFileMarkerSettings, context),
|
|
4533
4088
|
}));
|
|
4534
4089
|
};
|
|
4535
4090
|
var serializeAws_restJson1Policy = function (input, context) {
|
|
4536
|
-
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 }));
|
|
4537
4092
|
};
|
|
4538
4093
|
var serializeAws_restJson1PresetSettings = function (input, context) {
|
|
4539
|
-
return __assign(__assign(__assign(__assign({}, (input.AudioDescriptions
|
|
4540
|
-
input.AudioDescriptions !== null && {
|
|
4094
|
+
return __assign(__assign(__assign(__assign({}, (input.AudioDescriptions != null && {
|
|
4541
4095
|
audioDescriptions: serializeAws_restJson1__listOfAudioDescription(input.AudioDescriptions, context),
|
|
4542
|
-
})), (input.CaptionDescriptions
|
|
4543
|
-
input.CaptionDescriptions !== null && {
|
|
4096
|
+
})), (input.CaptionDescriptions != null && {
|
|
4544
4097
|
captionDescriptions: serializeAws_restJson1__listOfCaptionDescriptionPreset(input.CaptionDescriptions, context),
|
|
4545
|
-
})), (input.ContainerSettings
|
|
4546
|
-
input.ContainerSettings !== null && {
|
|
4098
|
+
})), (input.ContainerSettings != null && {
|
|
4547
4099
|
containerSettings: serializeAws_restJson1ContainerSettings(input.ContainerSettings, context),
|
|
4548
|
-
})), (input.VideoDescription
|
|
4549
|
-
input.VideoDescription !== null && {
|
|
4100
|
+
})), (input.VideoDescription != null && {
|
|
4550
4101
|
videoDescription: serializeAws_restJson1VideoDescription(input.VideoDescription, context),
|
|
4551
4102
|
}));
|
|
4552
4103
|
};
|
|
4553
4104
|
var serializeAws_restJson1ProresSettings = function (input, context) {
|
|
4554
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChromaSampling
|
|
4555
|
-
input.ChromaSampling !== null && { chromaSampling: input.ChromaSampling })), (input.CodecProfile !== undefined && input.CodecProfile !== null && { codecProfile: input.CodecProfile })), (input.FramerateControl !== undefined &&
|
|
4556
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4557
|
-
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 && {
|
|
4558
4106
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4559
|
-
})), (input.FramerateDenominator
|
|
4560
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4561
|
-
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 &&
|
|
4562
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.ScanTypeConversionMode !== undefined &&
|
|
4563
|
-
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 }));
|
|
4564
4108
|
};
|
|
4565
4109
|
var serializeAws_restJson1Rectangle = function (input, context) {
|
|
4566
|
-
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 }));
|
|
4567
4111
|
};
|
|
4568
4112
|
var serializeAws_restJson1RemixSettings = function (input, context) {
|
|
4569
|
-
return __assign(__assign(__assign({}, (input.ChannelMapping
|
|
4570
|
-
input.ChannelMapping !== null && {
|
|
4113
|
+
return __assign(__assign(__assign({}, (input.ChannelMapping != null && {
|
|
4571
4114
|
channelMapping: serializeAws_restJson1ChannelMapping(input.ChannelMapping, context),
|
|
4572
|
-
})), (input.ChannelsIn
|
|
4115
|
+
})), (input.ChannelsIn != null && { channelsIn: input.ChannelsIn })), (input.ChannelsOut != null && { channelsOut: input.ChannelsOut }));
|
|
4573
4116
|
};
|
|
4574
4117
|
var serializeAws_restJson1ReservationPlanSettings = function (input, context) {
|
|
4575
|
-
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 }));
|
|
4576
4119
|
};
|
|
4577
4120
|
var serializeAws_restJson1S3DestinationAccessControl = function (input, context) {
|
|
4578
|
-
return __assign({}, (input.CannedAcl
|
|
4121
|
+
return __assign({}, (input.CannedAcl != null && { cannedAcl: input.CannedAcl }));
|
|
4579
4122
|
};
|
|
4580
4123
|
var serializeAws_restJson1S3DestinationSettings = function (input, context) {
|
|
4581
|
-
return __assign(__assign({}, (input.AccessControl
|
|
4582
|
-
input.AccessControl !== null && {
|
|
4124
|
+
return __assign(__assign({}, (input.AccessControl != null && {
|
|
4583
4125
|
accessControl: serializeAws_restJson1S3DestinationAccessControl(input.AccessControl, context),
|
|
4584
|
-
})), (input.Encryption
|
|
4585
|
-
input.Encryption !== null && {
|
|
4126
|
+
})), (input.Encryption != null && {
|
|
4586
4127
|
encryption: serializeAws_restJson1S3EncryptionSettings(input.Encryption, context),
|
|
4587
4128
|
}));
|
|
4588
4129
|
};
|
|
4589
4130
|
var serializeAws_restJson1S3EncryptionSettings = function (input, context) {
|
|
4590
|
-
return __assign(__assign(__assign({}, (input.EncryptionType
|
|
4591
|
-
input.EncryptionType !== null && { encryptionType: input.EncryptionType })), (input.KmsEncryptionContext !== undefined &&
|
|
4592
|
-
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 }));
|
|
4593
4132
|
};
|
|
4594
4133
|
var serializeAws_restJson1SccDestinationSettings = function (input, context) {
|
|
4595
|
-
return __assign({}, (input.Framerate
|
|
4134
|
+
return __assign({}, (input.Framerate != null && { framerate: input.Framerate }));
|
|
4596
4135
|
};
|
|
4597
4136
|
var serializeAws_restJson1SpekeKeyProvider = function (input, context) {
|
|
4598
|
-
return __assign(__assign(__assign(__assign({}, (input.CertificateArn
|
|
4599
|
-
input.CertificateArn !== null && { certificateArn: input.CertificateArn })), (input.ResourceId !== undefined && input.ResourceId !== null && { resourceId: input.ResourceId })), (input.SystemIds !== undefined &&
|
|
4600
|
-
input.SystemIds !== null && {
|
|
4137
|
+
return __assign(__assign(__assign(__assign({}, (input.CertificateArn != null && { certificateArn: input.CertificateArn })), (input.ResourceId != null && { resourceId: input.ResourceId })), (input.SystemIds != null && {
|
|
4601
4138
|
systemIds: serializeAws_restJson1__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12(input.SystemIds, context),
|
|
4602
|
-
})), (input.Url
|
|
4139
|
+
})), (input.Url != null && { url: input.Url }));
|
|
4603
4140
|
};
|
|
4604
4141
|
var serializeAws_restJson1SpekeKeyProviderCmaf = function (input, context) {
|
|
4605
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CertificateArn
|
|
4606
|
-
input.CertificateArn !== null && { certificateArn: input.CertificateArn })), (input.DashSignaledSystemIds !== undefined &&
|
|
4607
|
-
input.DashSignaledSystemIds !== null && {
|
|
4142
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CertificateArn != null && { certificateArn: input.CertificateArn })), (input.DashSignaledSystemIds != null && {
|
|
4608
4143
|
dashSignaledSystemIds: serializeAws_restJson1__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(input.DashSignaledSystemIds, context),
|
|
4609
|
-
})), (input.HlsSignaledSystemIds
|
|
4610
|
-
input.HlsSignaledSystemIds !== null && {
|
|
4144
|
+
})), (input.HlsSignaledSystemIds != null && {
|
|
4611
4145
|
hlsSignaledSystemIds: serializeAws_restJson1__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(input.HlsSignaledSystemIds, context),
|
|
4612
|
-
})), (input.ResourceId
|
|
4146
|
+
})), (input.ResourceId != null && { resourceId: input.ResourceId })), (input.Url != null && { url: input.Url }));
|
|
4613
4147
|
};
|
|
4614
4148
|
var serializeAws_restJson1SrtDestinationSettings = function (input, context) {
|
|
4615
|
-
return __assign({}, (input.StylePassthrough
|
|
4616
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }));
|
|
4149
|
+
return __assign({}, (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough }));
|
|
4617
4150
|
};
|
|
4618
4151
|
var serializeAws_restJson1StaticKeyProvider = function (input, context) {
|
|
4619
|
-
return __assign(__assign(__assign(__assign({}, (input.KeyFormat
|
|
4620
|
-
input.KeyFormatVersions !== null && { keyFormatVersions: input.KeyFormatVersions })), (input.StaticKeyValue !== undefined &&
|
|
4621
|
-
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 }));
|
|
4622
4153
|
};
|
|
4623
4154
|
var serializeAws_restJson1TeletextDestinationSettings = function (input, context) {
|
|
4624
|
-
return __assign(__assign({}, (input.PageNumber
|
|
4625
|
-
input.PageTypes !== null && {
|
|
4155
|
+
return __assign(__assign({}, (input.PageNumber != null && { pageNumber: input.PageNumber })), (input.PageTypes != null && {
|
|
4626
4156
|
pageTypes: serializeAws_restJson1__listOfTeletextPageType(input.PageTypes, context),
|
|
4627
4157
|
}));
|
|
4628
4158
|
};
|
|
4629
4159
|
var serializeAws_restJson1TeletextSourceSettings = function (input, context) {
|
|
4630
|
-
return __assign({}, (input.PageNumber
|
|
4160
|
+
return __assign({}, (input.PageNumber != null && { pageNumber: input.PageNumber }));
|
|
4631
4161
|
};
|
|
4632
4162
|
var serializeAws_restJson1TimecodeBurnin = function (input, context) {
|
|
4633
|
-
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 }));
|
|
4634
4164
|
};
|
|
4635
4165
|
var serializeAws_restJson1TimecodeConfig = function (input, context) {
|
|
4636
|
-
return __assign(__assign(__assign(__assign({}, (input.Anchor
|
|
4637
|
-
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 }));
|
|
4638
4167
|
};
|
|
4639
4168
|
var serializeAws_restJson1TimedMetadataInsertion = function (input, context) {
|
|
4640
|
-
return __assign({}, (input.Id3Insertions
|
|
4641
|
-
input.Id3Insertions !== null && {
|
|
4169
|
+
return __assign({}, (input.Id3Insertions != null && {
|
|
4642
4170
|
id3Insertions: serializeAws_restJson1__listOfId3Insertion(input.Id3Insertions, context),
|
|
4643
4171
|
}));
|
|
4644
4172
|
};
|
|
4645
4173
|
var serializeAws_restJson1TrackSourceSettings = function (input, context) {
|
|
4646
|
-
return __assign({}, (input.TrackNumber
|
|
4174
|
+
return __assign({}, (input.TrackNumber != null && { trackNumber: input.TrackNumber }));
|
|
4647
4175
|
};
|
|
4648
4176
|
var serializeAws_restJson1TtmlDestinationSettings = function (input, context) {
|
|
4649
|
-
return __assign({}, (input.StylePassthrough
|
|
4650
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }));
|
|
4177
|
+
return __assign({}, (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough }));
|
|
4651
4178
|
};
|
|
4652
4179
|
var serializeAws_restJson1Vc3Settings = function (input, context) {
|
|
4653
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.FramerateControl
|
|
4654
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4655
|
-
input.FramerateConversionAlgorithm !== null && {
|
|
4180
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm != null && {
|
|
4656
4181
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4657
|
-
})), (input.FramerateDenominator
|
|
4658
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4659
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.InterlaceMode !== undefined && input.InterlaceMode !== null && { interlaceMode: input.InterlaceMode })), (input.ScanTypeConversionMode !== undefined &&
|
|
4660
|
-
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 }));
|
|
4661
4183
|
};
|
|
4662
4184
|
var serializeAws_restJson1VideoCodecSettings = function (input, context) {
|
|
4663
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Av1Settings
|
|
4664
|
-
input.Av1Settings !== null && { av1Settings: serializeAws_restJson1Av1Settings(input.Av1Settings, context) })), (input.AvcIntraSettings !== undefined &&
|
|
4665
|
-
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 && {
|
|
4666
4186
|
avcIntraSettings: serializeAws_restJson1AvcIntraSettings(input.AvcIntraSettings, context),
|
|
4667
|
-
})), (input.Codec
|
|
4668
|
-
input.FrameCaptureSettings !== null && {
|
|
4187
|
+
})), (input.Codec != null && { codec: input.Codec })), (input.FrameCaptureSettings != null && {
|
|
4669
4188
|
frameCaptureSettings: serializeAws_restJson1FrameCaptureSettings(input.FrameCaptureSettings, context),
|
|
4670
|
-
})), (input.H264Settings
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
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 && {
|
|
4674
4194
|
mpeg2Settings: serializeAws_restJson1Mpeg2Settings(input.Mpeg2Settings, context),
|
|
4675
|
-
})), (input.ProresSettings
|
|
4676
|
-
input.ProresSettings !== null && {
|
|
4195
|
+
})), (input.ProresSettings != null && {
|
|
4677
4196
|
proresSettings: serializeAws_restJson1ProresSettings(input.ProresSettings, context),
|
|
4678
|
-
})), (input.Vc3Settings
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
input.Vp9Settings !== null && { vp9Settings: serializeAws_restJson1Vp9Settings(input.Vp9Settings, context) })), (input.XavcSettings !== undefined &&
|
|
4682
|
-
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
|
+
}));
|
|
4683
4200
|
};
|
|
4684
4201
|
var serializeAws_restJson1VideoDescription = function (input, context) {
|
|
4685
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AfdSignaling
|
|
4686
|
-
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 && {
|
|
4687
4203
|
codecSettings: serializeAws_restJson1VideoCodecSettings(input.CodecSettings, context),
|
|
4688
|
-
})), (input.ColorMetadata
|
|
4689
|
-
input.Crop !== null && { crop: serializeAws_restJson1Rectangle(input.Crop, context) })), (input.DropFrameTimecode !== undefined &&
|
|
4690
|
-
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 &&
|
|
4691
|
-
input.Position !== null && { position: serializeAws_restJson1Rectangle(input.Position, context) })), (input.RespondToAfd !== undefined && input.RespondToAfd !== null && { respondToAfd: input.RespondToAfd })), (input.ScalingBehavior !== undefined &&
|
|
4692
|
-
input.ScalingBehavior !== null && { scalingBehavior: input.ScalingBehavior })), (input.Sharpness !== undefined && input.Sharpness !== null && { sharpness: input.Sharpness })), (input.TimecodeInsertion !== undefined &&
|
|
4693
|
-
input.TimecodeInsertion !== null && { timecodeInsertion: input.TimecodeInsertion })), (input.VideoPreprocessors !== undefined &&
|
|
4694
|
-
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 && {
|
|
4695
4205
|
videoPreprocessors: serializeAws_restJson1VideoPreprocessor(input.VideoPreprocessors, context),
|
|
4696
|
-
})), (input.Width
|
|
4206
|
+
})), (input.Width != null && { width: input.Width }));
|
|
4697
4207
|
};
|
|
4698
4208
|
var serializeAws_restJson1VideoPreprocessor = function (input, context) {
|
|
4699
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColorCorrector
|
|
4700
|
-
input.ColorCorrector !== null && {
|
|
4209
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColorCorrector != null && {
|
|
4701
4210
|
colorCorrector: serializeAws_restJson1ColorCorrector(input.ColorCorrector, context),
|
|
4702
|
-
})), (input.Deinterlacer
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
input.Hdr10Plus !== null && { hdr10Plus: serializeAws_restJson1Hdr10Plus(input.Hdr10Plus, context) })), (input.ImageInserter !== undefined &&
|
|
4706
|
-
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 && {
|
|
4707
4214
|
imageInserter: serializeAws_restJson1ImageInserter(input.ImageInserter, context),
|
|
4708
|
-
})), (input.NoiseReducer
|
|
4709
|
-
|
|
4710
|
-
|
|
4215
|
+
})), (input.NoiseReducer != null && {
|
|
4216
|
+
noiseReducer: serializeAws_restJson1NoiseReducer(input.NoiseReducer, context),
|
|
4217
|
+
})), (input.PartnerWatermarking != null && {
|
|
4711
4218
|
partnerWatermarking: serializeAws_restJson1PartnerWatermarking(input.PartnerWatermarking, context),
|
|
4712
|
-
})), (input.TimecodeBurnin
|
|
4713
|
-
input.TimecodeBurnin !== null && {
|
|
4219
|
+
})), (input.TimecodeBurnin != null && {
|
|
4714
4220
|
timecodeBurnin: serializeAws_restJson1TimecodeBurnin(input.TimecodeBurnin, context),
|
|
4715
4221
|
}));
|
|
4716
4222
|
};
|
|
4717
4223
|
var serializeAws_restJson1VideoSelector = function (input, context) {
|
|
4718
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlphaBehavior
|
|
4719
|
-
input.ColorSpaceUsage !== null && { colorSpaceUsage: input.ColorSpaceUsage })), (input.EmbeddedTimecodeOverride !== undefined &&
|
|
4720
|
-
input.EmbeddedTimecodeOverride !== null && { embeddedTimecodeOverride: input.EmbeddedTimecodeOverride })), (input.Hdr10Metadata !== undefined &&
|
|
4721
|
-
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 && {
|
|
4722
4225
|
hdr10Metadata: serializeAws_restJson1Hdr10Metadata(input.Hdr10Metadata, context),
|
|
4723
|
-
})), (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 }));
|
|
4724
4227
|
};
|
|
4725
4228
|
var serializeAws_restJson1VorbisSettings = function (input, context) {
|
|
4726
|
-
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 }));
|
|
4727
4230
|
};
|
|
4728
4231
|
var serializeAws_restJson1Vp8Settings = function (input, context) {
|
|
4729
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
4730
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4731
|
-
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 && {
|
|
4732
4233
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4733
|
-
})), (input.FramerateDenominator
|
|
4734
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4735
|
-
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 &&
|
|
4736
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel !== undefined &&
|
|
4737
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.RateControlMode !== undefined &&
|
|
4738
|
-
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 }));
|
|
4739
4235
|
};
|
|
4740
4236
|
var serializeAws_restJson1Vp9Settings = function (input, context) {
|
|
4741
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
4742
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4743
|
-
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 && {
|
|
4744
4238
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4745
|
-
})), (input.FramerateDenominator
|
|
4746
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
4747
|
-
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 &&
|
|
4748
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.QualityTuningLevel !== undefined &&
|
|
4749
|
-
input.QualityTuningLevel !== null && { qualityTuningLevel: input.QualityTuningLevel })), (input.RateControlMode !== undefined &&
|
|
4750
|
-
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 }));
|
|
4751
4240
|
};
|
|
4752
4241
|
var serializeAws_restJson1WavSettings = function (input, context) {
|
|
4753
|
-
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 }));
|
|
4754
4243
|
};
|
|
4755
4244
|
var serializeAws_restJson1WebvttDestinationSettings = function (input, context) {
|
|
4756
|
-
return __assign(__assign({}, (input.Accessibility
|
|
4757
|
-
input.StylePassthrough !== null && { stylePassthrough: input.StylePassthrough }));
|
|
4245
|
+
return __assign(__assign({}, (input.Accessibility != null && { accessibility: input.Accessibility })), (input.StylePassthrough != null && { stylePassthrough: input.StylePassthrough }));
|
|
4758
4246
|
};
|
|
4759
4247
|
var serializeAws_restJson1WebvttHlsSourceSettings = function (input, context) {
|
|
4760
|
-
return __assign(__assign(__assign({}, (input.RenditionGroupId
|
|
4761
|
-
input.RenditionGroupId !== null && { renditionGroupId: input.RenditionGroupId })), (input.RenditionLanguageCode !== undefined &&
|
|
4762
|
-
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 }));
|
|
4763
4249
|
};
|
|
4764
4250
|
var serializeAws_restJson1Xavc4kIntraCbgProfileSettings = function (input, context) {
|
|
4765
|
-
return __assign({}, (input.XavcClass
|
|
4251
|
+
return __assign({}, (input.XavcClass != null && { xavcClass: input.XavcClass }));
|
|
4766
4252
|
};
|
|
4767
4253
|
var serializeAws_restJson1Xavc4kIntraVbrProfileSettings = function (input, context) {
|
|
4768
|
-
return __assign({}, (input.XavcClass
|
|
4254
|
+
return __assign({}, (input.XavcClass != null && { xavcClass: input.XavcClass }));
|
|
4769
4255
|
};
|
|
4770
4256
|
var serializeAws_restJson1Xavc4kProfileSettings = function (input, context) {
|
|
4771
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BitrateClass
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
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 }));
|
|
4775
4260
|
};
|
|
4776
4261
|
var serializeAws_restJson1XavcHdIntraCbgProfileSettings = function (input, context) {
|
|
4777
|
-
return __assign({}, (input.XavcClass
|
|
4262
|
+
return __assign({}, (input.XavcClass != null && { xavcClass: input.XavcClass }));
|
|
4778
4263
|
};
|
|
4779
4264
|
var serializeAws_restJson1XavcHdProfileSettings = function (input, context) {
|
|
4780
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BitrateClass
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
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 }));
|
|
4784
4268
|
};
|
|
4785
4269
|
var serializeAws_restJson1XavcSettings = function (input, context) {
|
|
4786
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization
|
|
4787
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.EntropyEncoding !== undefined &&
|
|
4788
|
-
input.EntropyEncoding !== null && { entropyEncoding: input.EntropyEncoding })), (input.FramerateControl !== undefined &&
|
|
4789
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateConversionAlgorithm !== undefined &&
|
|
4790
|
-
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 && {
|
|
4791
4271
|
framerateConversionAlgorithm: input.FramerateConversionAlgorithm,
|
|
4792
|
-
})), (input.FramerateDenominator
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
input.SpatialAdaptiveQuantization !== null && { spatialAdaptiveQuantization: input.SpatialAdaptiveQuantization })), (input.TemporalAdaptiveQuantization !== undefined &&
|
|
4796
|
-
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 && {
|
|
4797
4275
|
temporalAdaptiveQuantization: input.TemporalAdaptiveQuantization,
|
|
4798
|
-
})), (input.Xavc4kIntraCbgProfileSettings
|
|
4799
|
-
input.Xavc4kIntraCbgProfileSettings !== null && {
|
|
4276
|
+
})), (input.Xavc4kIntraCbgProfileSettings != null && {
|
|
4800
4277
|
xavc4kIntraCbgProfileSettings: serializeAws_restJson1Xavc4kIntraCbgProfileSettings(input.Xavc4kIntraCbgProfileSettings, context),
|
|
4801
|
-
})), (input.Xavc4kIntraVbrProfileSettings
|
|
4802
|
-
input.Xavc4kIntraVbrProfileSettings !== null && {
|
|
4278
|
+
})), (input.Xavc4kIntraVbrProfileSettings != null && {
|
|
4803
4279
|
xavc4kIntraVbrProfileSettings: serializeAws_restJson1Xavc4kIntraVbrProfileSettings(input.Xavc4kIntraVbrProfileSettings, context),
|
|
4804
|
-
})), (input.Xavc4kProfileSettings
|
|
4805
|
-
input.Xavc4kProfileSettings !== null && {
|
|
4280
|
+
})), (input.Xavc4kProfileSettings != null && {
|
|
4806
4281
|
xavc4kProfileSettings: serializeAws_restJson1Xavc4kProfileSettings(input.Xavc4kProfileSettings, context),
|
|
4807
|
-
})), (input.XavcHdIntraCbgProfileSettings
|
|
4808
|
-
input.XavcHdIntraCbgProfileSettings !== null && {
|
|
4282
|
+
})), (input.XavcHdIntraCbgProfileSettings != null && {
|
|
4809
4283
|
xavcHdIntraCbgProfileSettings: serializeAws_restJson1XavcHdIntraCbgProfileSettings(input.XavcHdIntraCbgProfileSettings, context),
|
|
4810
|
-
})), (input.XavcHdProfileSettings
|
|
4811
|
-
input.XavcHdProfileSettings !== null && {
|
|
4284
|
+
})), (input.XavcHdProfileSettings != null && {
|
|
4812
4285
|
xavcHdProfileSettings: serializeAws_restJson1XavcHdProfileSettings(input.XavcHdProfileSettings, context),
|
|
4813
4286
|
}));
|
|
4814
4287
|
};
|
|
@@ -5341,59 +4814,41 @@ var deserializeAws_restJson1AudioChannelTaggingSettings = function (output, cont
|
|
|
5341
4814
|
};
|
|
5342
4815
|
var deserializeAws_restJson1AudioCodecSettings = function (output, context) {
|
|
5343
4816
|
return {
|
|
5344
|
-
AacSettings: output.aacSettings
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
Ac3Settings: output.ac3Settings !== undefined && output.ac3Settings !== null
|
|
5348
|
-
? deserializeAws_restJson1Ac3Settings(output.ac3Settings, context)
|
|
5349
|
-
: undefined,
|
|
5350
|
-
AiffSettings: output.aiffSettings !== undefined && output.aiffSettings !== null
|
|
5351
|
-
? deserializeAws_restJson1AiffSettings(output.aiffSettings, context)
|
|
5352
|
-
: 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,
|
|
5353
4820
|
Codec: __expectString(output.codec),
|
|
5354
|
-
Eac3AtmosSettings: output.eac3AtmosSettings
|
|
4821
|
+
Eac3AtmosSettings: output.eac3AtmosSettings != null
|
|
5355
4822
|
? deserializeAws_restJson1Eac3AtmosSettings(output.eac3AtmosSettings, context)
|
|
5356
4823
|
: undefined,
|
|
5357
|
-
Eac3Settings: output.eac3Settings
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
: undefined,
|
|
5363
|
-
Mp3Settings: output.mp3Settings !== undefined && output.mp3Settings !== null
|
|
5364
|
-
? deserializeAws_restJson1Mp3Settings(output.mp3Settings, context)
|
|
5365
|
-
: undefined,
|
|
5366
|
-
OpusSettings: output.opusSettings !== undefined && output.opusSettings !== null
|
|
5367
|
-
? deserializeAws_restJson1OpusSettings(output.opusSettings, context)
|
|
5368
|
-
: undefined,
|
|
5369
|
-
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
|
|
5370
4829
|
? deserializeAws_restJson1VorbisSettings(output.vorbisSettings, context)
|
|
5371
4830
|
: undefined,
|
|
5372
|
-
WavSettings: output.wavSettings
|
|
5373
|
-
? deserializeAws_restJson1WavSettings(output.wavSettings, context)
|
|
5374
|
-
: undefined,
|
|
4831
|
+
WavSettings: output.wavSettings != null ? deserializeAws_restJson1WavSettings(output.wavSettings, context) : undefined,
|
|
5375
4832
|
};
|
|
5376
4833
|
};
|
|
5377
4834
|
var deserializeAws_restJson1AudioDescription = function (output, context) {
|
|
5378
4835
|
return {
|
|
5379
|
-
AudioChannelTaggingSettings: output.audioChannelTaggingSettings
|
|
4836
|
+
AudioChannelTaggingSettings: output.audioChannelTaggingSettings != null
|
|
5380
4837
|
? deserializeAws_restJson1AudioChannelTaggingSettings(output.audioChannelTaggingSettings, context)
|
|
5381
4838
|
: undefined,
|
|
5382
|
-
AudioNormalizationSettings: output.audioNormalizationSettings
|
|
4839
|
+
AudioNormalizationSettings: output.audioNormalizationSettings != null
|
|
5383
4840
|
? deserializeAws_restJson1AudioNormalizationSettings(output.audioNormalizationSettings, context)
|
|
5384
4841
|
: undefined,
|
|
5385
4842
|
AudioSourceName: __expectString(output.audioSourceName),
|
|
5386
4843
|
AudioType: __expectInt32(output.audioType),
|
|
5387
4844
|
AudioTypeControl: __expectString(output.audioTypeControl),
|
|
5388
|
-
CodecSettings: output.codecSettings
|
|
4845
|
+
CodecSettings: output.codecSettings != null
|
|
5389
4846
|
? deserializeAws_restJson1AudioCodecSettings(output.codecSettings, context)
|
|
5390
4847
|
: undefined,
|
|
5391
4848
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5392
4849
|
LanguageCode: __expectString(output.languageCode),
|
|
5393
4850
|
LanguageCodeControl: __expectString(output.languageCodeControl),
|
|
5394
|
-
RemixSettings: output.remixSettings
|
|
5395
|
-
? deserializeAws_restJson1RemixSettings(output.remixSettings, context)
|
|
5396
|
-
: undefined,
|
|
4851
|
+
RemixSettings: output.remixSettings != null ? deserializeAws_restJson1RemixSettings(output.remixSettings, context) : undefined,
|
|
5397
4852
|
StreamName: __expectString(output.streamName),
|
|
5398
4853
|
};
|
|
5399
4854
|
};
|
|
@@ -5413,43 +4868,41 @@ var deserializeAws_restJson1AudioSelector = function (output, context) {
|
|
|
5413
4868
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5414
4869
|
DefaultSelection: __expectString(output.defaultSelection),
|
|
5415
4870
|
ExternalAudioFileInput: __expectString(output.externalAudioFileInput),
|
|
5416
|
-
HlsRenditionGroupSettings: output.hlsRenditionGroupSettings
|
|
4871
|
+
HlsRenditionGroupSettings: output.hlsRenditionGroupSettings != null
|
|
5417
4872
|
? deserializeAws_restJson1HlsRenditionGroupSettings(output.hlsRenditionGroupSettings, context)
|
|
5418
4873
|
: undefined,
|
|
5419
4874
|
LanguageCode: __expectString(output.languageCode),
|
|
5420
4875
|
Offset: __expectInt32(output.offset),
|
|
5421
|
-
Pids: output.pids
|
|
4876
|
+
Pids: output.pids != null
|
|
5422
4877
|
? deserializeAws_restJson1__listOf__integerMin1Max2147483647(output.pids, context)
|
|
5423
4878
|
: undefined,
|
|
5424
4879
|
ProgramSelection: __expectInt32(output.programSelection),
|
|
5425
|
-
RemixSettings: output.remixSettings
|
|
5426
|
-
? deserializeAws_restJson1RemixSettings(output.remixSettings, context)
|
|
5427
|
-
: undefined,
|
|
4880
|
+
RemixSettings: output.remixSettings != null ? deserializeAws_restJson1RemixSettings(output.remixSettings, context) : undefined,
|
|
5428
4881
|
SelectorType: __expectString(output.selectorType),
|
|
5429
|
-
Tracks: output.tracks
|
|
4882
|
+
Tracks: output.tracks != null
|
|
5430
4883
|
? deserializeAws_restJson1__listOf__integerMin1Max2147483647(output.tracks, context)
|
|
5431
4884
|
: undefined,
|
|
5432
4885
|
};
|
|
5433
4886
|
};
|
|
5434
4887
|
var deserializeAws_restJson1AudioSelectorGroup = function (output, context) {
|
|
5435
4888
|
return {
|
|
5436
|
-
AudioSelectorNames: output.audioSelectorNames
|
|
4889
|
+
AudioSelectorNames: output.audioSelectorNames != null
|
|
5437
4890
|
? deserializeAws_restJson1__listOf__stringMin1(output.audioSelectorNames, context)
|
|
5438
4891
|
: undefined,
|
|
5439
4892
|
};
|
|
5440
4893
|
};
|
|
5441
4894
|
var deserializeAws_restJson1AutomatedAbrRule = function (output, context) {
|
|
5442
4895
|
return {
|
|
5443
|
-
AllowedRenditions: output.allowedRenditions
|
|
4896
|
+
AllowedRenditions: output.allowedRenditions != null
|
|
5444
4897
|
? deserializeAws_restJson1__listOfAllowedRenditionSize(output.allowedRenditions, context)
|
|
5445
4898
|
: undefined,
|
|
5446
|
-
ForceIncludeRenditions: output.forceIncludeRenditions
|
|
4899
|
+
ForceIncludeRenditions: output.forceIncludeRenditions != null
|
|
5447
4900
|
? deserializeAws_restJson1__listOfForceIncludeRenditionSize(output.forceIncludeRenditions, context)
|
|
5448
4901
|
: undefined,
|
|
5449
|
-
MinBottomRenditionSize: output.minBottomRenditionSize
|
|
4902
|
+
MinBottomRenditionSize: output.minBottomRenditionSize != null
|
|
5450
4903
|
? deserializeAws_restJson1MinBottomRenditionSize(output.minBottomRenditionSize, context)
|
|
5451
4904
|
: undefined,
|
|
5452
|
-
MinTopRenditionSize: output.minTopRenditionSize
|
|
4905
|
+
MinTopRenditionSize: output.minTopRenditionSize != null
|
|
5453
4906
|
? deserializeAws_restJson1MinTopRenditionSize(output.minTopRenditionSize, context)
|
|
5454
4907
|
: undefined,
|
|
5455
4908
|
Type: __expectString(output.type),
|
|
@@ -5460,14 +4913,12 @@ var deserializeAws_restJson1AutomatedAbrSettings = function (output, context) {
|
|
|
5460
4913
|
MaxAbrBitrate: __expectInt32(output.maxAbrBitrate),
|
|
5461
4914
|
MaxRenditions: __expectInt32(output.maxRenditions),
|
|
5462
4915
|
MinAbrBitrate: __expectInt32(output.minAbrBitrate),
|
|
5463
|
-
Rules: output.rules
|
|
5464
|
-
? deserializeAws_restJson1__listOfAutomatedAbrRule(output.rules, context)
|
|
5465
|
-
: undefined,
|
|
4916
|
+
Rules: output.rules != null ? deserializeAws_restJson1__listOfAutomatedAbrRule(output.rules, context) : undefined,
|
|
5466
4917
|
};
|
|
5467
4918
|
};
|
|
5468
4919
|
var deserializeAws_restJson1AutomatedEncodingSettings = function (output, context) {
|
|
5469
4920
|
return {
|
|
5470
|
-
AbrSettings: output.abrSettings
|
|
4921
|
+
AbrSettings: output.abrSettings != null
|
|
5471
4922
|
? deserializeAws_restJson1AutomatedAbrSettings(output.abrSettings, context)
|
|
5472
4923
|
: undefined,
|
|
5473
4924
|
};
|
|
@@ -5489,9 +4940,7 @@ var deserializeAws_restJson1Av1Settings = function (output, context) {
|
|
|
5489
4940
|
GopSize: __limitedParseDouble(output.gopSize),
|
|
5490
4941
|
MaxBitrate: __expectInt32(output.maxBitrate),
|
|
5491
4942
|
NumberBFramesBetweenReferenceFrames: __expectInt32(output.numberBFramesBetweenReferenceFrames),
|
|
5492
|
-
QvbrSettings: output.qvbrSettings
|
|
5493
|
-
? deserializeAws_restJson1Av1QvbrSettings(output.qvbrSettings, context)
|
|
5494
|
-
: undefined,
|
|
4943
|
+
QvbrSettings: output.qvbrSettings != null ? deserializeAws_restJson1Av1QvbrSettings(output.qvbrSettings, context) : undefined,
|
|
5495
4944
|
RateControlMode: __expectString(output.rateControlMode),
|
|
5496
4945
|
Slices: __expectInt32(output.slices),
|
|
5497
4946
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
@@ -5505,7 +4954,7 @@ var deserializeAws_restJson1AvailBlanking = function (output, context) {
|
|
|
5505
4954
|
var deserializeAws_restJson1AvcIntraSettings = function (output, context) {
|
|
5506
4955
|
return {
|
|
5507
4956
|
AvcIntraClass: __expectString(output.avcIntraClass),
|
|
5508
|
-
AvcIntraUhdSettings: output.avcIntraUhdSettings
|
|
4957
|
+
AvcIntraUhdSettings: output.avcIntraUhdSettings != null
|
|
5509
4958
|
? deserializeAws_restJson1AvcIntraUhdSettings(output.avcIntraUhdSettings, context)
|
|
5510
4959
|
: undefined,
|
|
5511
4960
|
FramerateControl: __expectString(output.framerateControl),
|
|
@@ -5552,7 +5001,7 @@ var deserializeAws_restJson1CaptionDescription = function (output, context) {
|
|
|
5552
5001
|
return {
|
|
5553
5002
|
CaptionSelectorName: __expectString(output.captionSelectorName),
|
|
5554
5003
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5555
|
-
DestinationSettings: output.destinationSettings
|
|
5004
|
+
DestinationSettings: output.destinationSettings != null
|
|
5556
5005
|
? deserializeAws_restJson1CaptionDestinationSettings(output.destinationSettings, context)
|
|
5557
5006
|
: undefined,
|
|
5558
5007
|
LanguageCode: __expectString(output.languageCode),
|
|
@@ -5562,7 +5011,7 @@ var deserializeAws_restJson1CaptionDescription = function (output, context) {
|
|
|
5562
5011
|
var deserializeAws_restJson1CaptionDescriptionPreset = function (output, context) {
|
|
5563
5012
|
return {
|
|
5564
5013
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5565
|
-
DestinationSettings: output.destinationSettings
|
|
5014
|
+
DestinationSettings: output.destinationSettings != null
|
|
5566
5015
|
? deserializeAws_restJson1CaptionDestinationSettings(output.destinationSettings, context)
|
|
5567
5016
|
: undefined,
|
|
5568
5017
|
LanguageCode: __expectString(output.languageCode),
|
|
@@ -5571,32 +5020,32 @@ var deserializeAws_restJson1CaptionDescriptionPreset = function (output, context
|
|
|
5571
5020
|
};
|
|
5572
5021
|
var deserializeAws_restJson1CaptionDestinationSettings = function (output, context) {
|
|
5573
5022
|
return {
|
|
5574
|
-
BurninDestinationSettings: output.burninDestinationSettings
|
|
5023
|
+
BurninDestinationSettings: output.burninDestinationSettings != null
|
|
5575
5024
|
? deserializeAws_restJson1BurninDestinationSettings(output.burninDestinationSettings, context)
|
|
5576
5025
|
: undefined,
|
|
5577
5026
|
DestinationType: __expectString(output.destinationType),
|
|
5578
|
-
DvbSubDestinationSettings: output.dvbSubDestinationSettings
|
|
5027
|
+
DvbSubDestinationSettings: output.dvbSubDestinationSettings != null
|
|
5579
5028
|
? deserializeAws_restJson1DvbSubDestinationSettings(output.dvbSubDestinationSettings, context)
|
|
5580
5029
|
: undefined,
|
|
5581
|
-
EmbeddedDestinationSettings: output.embeddedDestinationSettings
|
|
5030
|
+
EmbeddedDestinationSettings: output.embeddedDestinationSettings != null
|
|
5582
5031
|
? deserializeAws_restJson1EmbeddedDestinationSettings(output.embeddedDestinationSettings, context)
|
|
5583
5032
|
: undefined,
|
|
5584
|
-
ImscDestinationSettings: output.imscDestinationSettings
|
|
5033
|
+
ImscDestinationSettings: output.imscDestinationSettings != null
|
|
5585
5034
|
? deserializeAws_restJson1ImscDestinationSettings(output.imscDestinationSettings, context)
|
|
5586
5035
|
: undefined,
|
|
5587
|
-
SccDestinationSettings: output.sccDestinationSettings
|
|
5036
|
+
SccDestinationSettings: output.sccDestinationSettings != null
|
|
5588
5037
|
? deserializeAws_restJson1SccDestinationSettings(output.sccDestinationSettings, context)
|
|
5589
5038
|
: undefined,
|
|
5590
|
-
SrtDestinationSettings: output.srtDestinationSettings
|
|
5039
|
+
SrtDestinationSettings: output.srtDestinationSettings != null
|
|
5591
5040
|
? deserializeAws_restJson1SrtDestinationSettings(output.srtDestinationSettings, context)
|
|
5592
5041
|
: undefined,
|
|
5593
|
-
TeletextDestinationSettings: output.teletextDestinationSettings
|
|
5042
|
+
TeletextDestinationSettings: output.teletextDestinationSettings != null
|
|
5594
5043
|
? deserializeAws_restJson1TeletextDestinationSettings(output.teletextDestinationSettings, context)
|
|
5595
5044
|
: undefined,
|
|
5596
|
-
TtmlDestinationSettings: output.ttmlDestinationSettings
|
|
5045
|
+
TtmlDestinationSettings: output.ttmlDestinationSettings != null
|
|
5597
5046
|
? deserializeAws_restJson1TtmlDestinationSettings(output.ttmlDestinationSettings, context)
|
|
5598
5047
|
: undefined,
|
|
5599
|
-
WebvttDestinationSettings: output.webvttDestinationSettings
|
|
5048
|
+
WebvttDestinationSettings: output.webvttDestinationSettings != null
|
|
5600
5049
|
? deserializeAws_restJson1WebvttDestinationSettings(output.webvttDestinationSettings, context)
|
|
5601
5050
|
: undefined,
|
|
5602
5051
|
};
|
|
@@ -5605,7 +5054,7 @@ var deserializeAws_restJson1CaptionSelector = function (output, context) {
|
|
|
5605
5054
|
return {
|
|
5606
5055
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
5607
5056
|
LanguageCode: __expectString(output.languageCode),
|
|
5608
|
-
SourceSettings: output.sourceSettings
|
|
5057
|
+
SourceSettings: output.sourceSettings != null
|
|
5609
5058
|
? deserializeAws_restJson1CaptionSourceSettings(output.sourceSettings, context)
|
|
5610
5059
|
: undefined,
|
|
5611
5060
|
};
|
|
@@ -5618,33 +5067,33 @@ var deserializeAws_restJson1CaptionSourceFramerate = function (output, context)
|
|
|
5618
5067
|
};
|
|
5619
5068
|
var deserializeAws_restJson1CaptionSourceSettings = function (output, context) {
|
|
5620
5069
|
return {
|
|
5621
|
-
AncillarySourceSettings: output.ancillarySourceSettings
|
|
5070
|
+
AncillarySourceSettings: output.ancillarySourceSettings != null
|
|
5622
5071
|
? deserializeAws_restJson1AncillarySourceSettings(output.ancillarySourceSettings, context)
|
|
5623
5072
|
: undefined,
|
|
5624
|
-
DvbSubSourceSettings: output.dvbSubSourceSettings
|
|
5073
|
+
DvbSubSourceSettings: output.dvbSubSourceSettings != null
|
|
5625
5074
|
? deserializeAws_restJson1DvbSubSourceSettings(output.dvbSubSourceSettings, context)
|
|
5626
5075
|
: undefined,
|
|
5627
|
-
EmbeddedSourceSettings: output.embeddedSourceSettings
|
|
5076
|
+
EmbeddedSourceSettings: output.embeddedSourceSettings != null
|
|
5628
5077
|
? deserializeAws_restJson1EmbeddedSourceSettings(output.embeddedSourceSettings, context)
|
|
5629
5078
|
: undefined,
|
|
5630
|
-
FileSourceSettings: output.fileSourceSettings
|
|
5079
|
+
FileSourceSettings: output.fileSourceSettings != null
|
|
5631
5080
|
? deserializeAws_restJson1FileSourceSettings(output.fileSourceSettings, context)
|
|
5632
5081
|
: undefined,
|
|
5633
5082
|
SourceType: __expectString(output.sourceType),
|
|
5634
|
-
TeletextSourceSettings: output.teletextSourceSettings
|
|
5083
|
+
TeletextSourceSettings: output.teletextSourceSettings != null
|
|
5635
5084
|
? deserializeAws_restJson1TeletextSourceSettings(output.teletextSourceSettings, context)
|
|
5636
5085
|
: undefined,
|
|
5637
|
-
TrackSourceSettings: output.trackSourceSettings
|
|
5086
|
+
TrackSourceSettings: output.trackSourceSettings != null
|
|
5638
5087
|
? deserializeAws_restJson1TrackSourceSettings(output.trackSourceSettings, context)
|
|
5639
5088
|
: undefined,
|
|
5640
|
-
WebvttHlsSourceSettings: output.webvttHlsSourceSettings
|
|
5089
|
+
WebvttHlsSourceSettings: output.webvttHlsSourceSettings != null
|
|
5641
5090
|
? deserializeAws_restJson1WebvttHlsSourceSettings(output.webvttHlsSourceSettings, context)
|
|
5642
5091
|
: undefined,
|
|
5643
5092
|
};
|
|
5644
5093
|
};
|
|
5645
5094
|
var deserializeAws_restJson1ChannelMapping = function (output, context) {
|
|
5646
5095
|
return {
|
|
5647
|
-
OutputChannels: output.outputChannels
|
|
5096
|
+
OutputChannels: output.outputChannels != null
|
|
5648
5097
|
? deserializeAws_restJson1__listOfOutputChannelMapping(output.outputChannels, context)
|
|
5649
5098
|
: undefined,
|
|
5650
5099
|
};
|
|
@@ -5652,7 +5101,7 @@ var deserializeAws_restJson1ChannelMapping = function (output, context) {
|
|
|
5652
5101
|
var deserializeAws_restJson1CmafAdditionalManifest = function (output, context) {
|
|
5653
5102
|
return {
|
|
5654
5103
|
ManifestNameModifier: __expectString(output.manifestNameModifier),
|
|
5655
|
-
SelectedOutputs: output.selectedOutputs
|
|
5104
|
+
SelectedOutputs: output.selectedOutputs != null
|
|
5656
5105
|
? deserializeAws_restJson1__listOf__stringMin1(output.selectedOutputs, context)
|
|
5657
5106
|
: undefined,
|
|
5658
5107
|
};
|
|
@@ -5662,10 +5111,10 @@ var deserializeAws_restJson1CmafEncryptionSettings = function (output, context)
|
|
|
5662
5111
|
ConstantInitializationVector: __expectString(output.constantInitializationVector),
|
|
5663
5112
|
EncryptionMethod: __expectString(output.encryptionMethod),
|
|
5664
5113
|
InitializationVectorInManifest: __expectString(output.initializationVectorInManifest),
|
|
5665
|
-
SpekeKeyProvider: output.spekeKeyProvider
|
|
5114
|
+
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
5666
5115
|
? deserializeAws_restJson1SpekeKeyProviderCmaf(output.spekeKeyProvider, context)
|
|
5667
5116
|
: undefined,
|
|
5668
|
-
StaticKeyProvider: output.staticKeyProvider
|
|
5117
|
+
StaticKeyProvider: output.staticKeyProvider != null
|
|
5669
5118
|
? deserializeAws_restJson1StaticKeyProvider(output.staticKeyProvider, context)
|
|
5670
5119
|
: undefined,
|
|
5671
5120
|
Type: __expectString(output.type),
|
|
@@ -5673,22 +5122,22 @@ var deserializeAws_restJson1CmafEncryptionSettings = function (output, context)
|
|
|
5673
5122
|
};
|
|
5674
5123
|
var deserializeAws_restJson1CmafGroupSettings = function (output, context) {
|
|
5675
5124
|
return {
|
|
5676
|
-
AdditionalManifests: output.additionalManifests
|
|
5125
|
+
AdditionalManifests: output.additionalManifests != null
|
|
5677
5126
|
? deserializeAws_restJson1__listOfCmafAdditionalManifest(output.additionalManifests, context)
|
|
5678
5127
|
: undefined,
|
|
5679
5128
|
BaseUrl: __expectString(output.baseUrl),
|
|
5680
5129
|
ClientCache: __expectString(output.clientCache),
|
|
5681
5130
|
CodecSpecification: __expectString(output.codecSpecification),
|
|
5682
5131
|
Destination: __expectString(output.destination),
|
|
5683
|
-
DestinationSettings: output.destinationSettings
|
|
5132
|
+
DestinationSettings: output.destinationSettings != null
|
|
5684
5133
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
5685
5134
|
: undefined,
|
|
5686
|
-
Encryption: output.encryption
|
|
5135
|
+
Encryption: output.encryption != null
|
|
5687
5136
|
? deserializeAws_restJson1CmafEncryptionSettings(output.encryption, context)
|
|
5688
5137
|
: undefined,
|
|
5689
5138
|
FragmentLength: __expectInt32(output.fragmentLength),
|
|
5690
5139
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
5691
|
-
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings
|
|
5140
|
+
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings != null
|
|
5692
5141
|
? deserializeAws_restJson1CmafImageBasedTrickPlaySettings(output.imageBasedTrickPlaySettings, context)
|
|
5693
5142
|
: undefined,
|
|
5694
5143
|
ManifestCompression: __expectString(output.manifestCompression),
|
|
@@ -5736,9 +5185,7 @@ var deserializeAws_restJson1ColorCorrector = function (output, context) {
|
|
|
5736
5185
|
Brightness: __expectInt32(output.brightness),
|
|
5737
5186
|
ColorSpaceConversion: __expectString(output.colorSpaceConversion),
|
|
5738
5187
|
Contrast: __expectInt32(output.contrast),
|
|
5739
|
-
Hdr10Metadata: output.hdr10Metadata
|
|
5740
|
-
? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context)
|
|
5741
|
-
: undefined,
|
|
5188
|
+
Hdr10Metadata: output.hdr10Metadata != null ? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context) : undefined,
|
|
5742
5189
|
Hue: __expectInt32(output.hue),
|
|
5743
5190
|
SampleRangeConversion: __expectString(output.sampleRangeConversion),
|
|
5744
5191
|
Saturation: __expectInt32(output.saturation),
|
|
@@ -5746,37 +5193,21 @@ var deserializeAws_restJson1ColorCorrector = function (output, context) {
|
|
|
5746
5193
|
};
|
|
5747
5194
|
var deserializeAws_restJson1ContainerSettings = function (output, context) {
|
|
5748
5195
|
return {
|
|
5749
|
-
CmfcSettings: output.cmfcSettings
|
|
5750
|
-
? deserializeAws_restJson1CmfcSettings(output.cmfcSettings, context)
|
|
5751
|
-
: undefined,
|
|
5196
|
+
CmfcSettings: output.cmfcSettings != null ? deserializeAws_restJson1CmfcSettings(output.cmfcSettings, context) : undefined,
|
|
5752
5197
|
Container: __expectString(output.container),
|
|
5753
|
-
F4vSettings: output.f4vSettings
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
? deserializeAws_restJson1M3u8Settings(output.m3u8Settings, context)
|
|
5761
|
-
: undefined,
|
|
5762
|
-
MovSettings: output.movSettings !== undefined && output.movSettings !== null
|
|
5763
|
-
? deserializeAws_restJson1MovSettings(output.movSettings, context)
|
|
5764
|
-
: undefined,
|
|
5765
|
-
Mp4Settings: output.mp4Settings !== undefined && output.mp4Settings !== null
|
|
5766
|
-
? deserializeAws_restJson1Mp4Settings(output.mp4Settings, context)
|
|
5767
|
-
: undefined,
|
|
5768
|
-
MpdSettings: output.mpdSettings !== undefined && output.mpdSettings !== null
|
|
5769
|
-
? deserializeAws_restJson1MpdSettings(output.mpdSettings, context)
|
|
5770
|
-
: undefined,
|
|
5771
|
-
MxfSettings: output.mxfSettings !== undefined && output.mxfSettings !== null
|
|
5772
|
-
? deserializeAws_restJson1MxfSettings(output.mxfSettings, context)
|
|
5773
|
-
: 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,
|
|
5774
5205
|
};
|
|
5775
5206
|
};
|
|
5776
5207
|
var deserializeAws_restJson1DashAdditionalManifest = function (output, context) {
|
|
5777
5208
|
return {
|
|
5778
5209
|
ManifestNameModifier: __expectString(output.manifestNameModifier),
|
|
5779
|
-
SelectedOutputs: output.selectedOutputs
|
|
5210
|
+
SelectedOutputs: output.selectedOutputs != null
|
|
5780
5211
|
? deserializeAws_restJson1__listOf__stringMin1(output.selectedOutputs, context)
|
|
5781
5212
|
: undefined,
|
|
5782
5213
|
};
|
|
@@ -5784,29 +5215,29 @@ var deserializeAws_restJson1DashAdditionalManifest = function (output, context)
|
|
|
5784
5215
|
var deserializeAws_restJson1DashIsoEncryptionSettings = function (output, context) {
|
|
5785
5216
|
return {
|
|
5786
5217
|
PlaybackDeviceCompatibility: __expectString(output.playbackDeviceCompatibility),
|
|
5787
|
-
SpekeKeyProvider: output.spekeKeyProvider
|
|
5218
|
+
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
5788
5219
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
5789
5220
|
: undefined,
|
|
5790
5221
|
};
|
|
5791
5222
|
};
|
|
5792
5223
|
var deserializeAws_restJson1DashIsoGroupSettings = function (output, context) {
|
|
5793
5224
|
return {
|
|
5794
|
-
AdditionalManifests: output.additionalManifests
|
|
5225
|
+
AdditionalManifests: output.additionalManifests != null
|
|
5795
5226
|
? deserializeAws_restJson1__listOfDashAdditionalManifest(output.additionalManifests, context)
|
|
5796
5227
|
: undefined,
|
|
5797
5228
|
AudioChannelConfigSchemeIdUri: __expectString(output.audioChannelConfigSchemeIdUri),
|
|
5798
5229
|
BaseUrl: __expectString(output.baseUrl),
|
|
5799
5230
|
Destination: __expectString(output.destination),
|
|
5800
|
-
DestinationSettings: output.destinationSettings
|
|
5231
|
+
DestinationSettings: output.destinationSettings != null
|
|
5801
5232
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
5802
5233
|
: undefined,
|
|
5803
|
-
Encryption: output.encryption
|
|
5234
|
+
Encryption: output.encryption != null
|
|
5804
5235
|
? deserializeAws_restJson1DashIsoEncryptionSettings(output.encryption, context)
|
|
5805
5236
|
: undefined,
|
|
5806
5237
|
FragmentLength: __expectInt32(output.fragmentLength),
|
|
5807
5238
|
HbbtvCompliance: __expectString(output.hbbtvCompliance),
|
|
5808
5239
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
5809
|
-
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings
|
|
5240
|
+
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings != null
|
|
5810
5241
|
? deserializeAws_restJson1DashIsoImageBasedTrickPlaySettings(output.imageBasedTrickPlaySettings, context)
|
|
5811
5242
|
: undefined,
|
|
5812
5243
|
MinBufferTime: __expectInt32(output.minBufferTime),
|
|
@@ -5838,14 +5269,12 @@ var deserializeAws_restJson1Deinterlacer = function (output, context) {
|
|
|
5838
5269
|
};
|
|
5839
5270
|
var deserializeAws_restJson1DestinationSettings = function (output, context) {
|
|
5840
5271
|
return {
|
|
5841
|
-
S3Settings: output.s3Settings
|
|
5842
|
-
? deserializeAws_restJson1S3DestinationSettings(output.s3Settings, context)
|
|
5843
|
-
: undefined,
|
|
5272
|
+
S3Settings: output.s3Settings != null ? deserializeAws_restJson1S3DestinationSettings(output.s3Settings, context) : undefined,
|
|
5844
5273
|
};
|
|
5845
5274
|
};
|
|
5846
5275
|
var deserializeAws_restJson1DolbyVision = function (output, context) {
|
|
5847
5276
|
return {
|
|
5848
|
-
L6Metadata: output.l6Metadata
|
|
5277
|
+
L6Metadata: output.l6Metadata != null
|
|
5849
5278
|
? deserializeAws_restJson1DolbyVisionLevel6Metadata(output.l6Metadata, context)
|
|
5850
5279
|
: undefined,
|
|
5851
5280
|
L6Mode: __expectString(output.l6Mode),
|
|
@@ -5987,11 +5416,11 @@ var deserializeAws_restJson1EsamManifestConfirmConditionNotification = function
|
|
|
5987
5416
|
};
|
|
5988
5417
|
var deserializeAws_restJson1EsamSettings = function (output, context) {
|
|
5989
5418
|
return {
|
|
5990
|
-
ManifestConfirmConditionNotification: output.manifestConfirmConditionNotification
|
|
5419
|
+
ManifestConfirmConditionNotification: output.manifestConfirmConditionNotification != null
|
|
5991
5420
|
? deserializeAws_restJson1EsamManifestConfirmConditionNotification(output.manifestConfirmConditionNotification, context)
|
|
5992
5421
|
: undefined,
|
|
5993
5422
|
ResponseSignalPreroll: __expectInt32(output.responseSignalPreroll),
|
|
5994
|
-
SignalProcessingNotification: output.signalProcessingNotification
|
|
5423
|
+
SignalProcessingNotification: output.signalProcessingNotification != null
|
|
5995
5424
|
? deserializeAws_restJson1EsamSignalProcessingNotification(output.signalProcessingNotification, context)
|
|
5996
5425
|
: undefined,
|
|
5997
5426
|
};
|
|
@@ -6015,7 +5444,7 @@ var deserializeAws_restJson1F4vSettings = function (output, context) {
|
|
|
6015
5444
|
var deserializeAws_restJson1FileGroupSettings = function (output, context) {
|
|
6016
5445
|
return {
|
|
6017
5446
|
Destination: __expectString(output.destination),
|
|
6018
|
-
DestinationSettings: output.destinationSettings
|
|
5447
|
+
DestinationSettings: output.destinationSettings != null
|
|
6019
5448
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
6020
5449
|
: undefined,
|
|
6021
5450
|
};
|
|
@@ -6023,9 +5452,7 @@ var deserializeAws_restJson1FileGroupSettings = function (output, context) {
|
|
|
6023
5452
|
var deserializeAws_restJson1FileSourceSettings = function (output, context) {
|
|
6024
5453
|
return {
|
|
6025
5454
|
Convert608To708: __expectString(output.convert608To708),
|
|
6026
|
-
Framerate: output.framerate
|
|
6027
|
-
? deserializeAws_restJson1CaptionSourceFramerate(output.framerate, context)
|
|
6028
|
-
: undefined,
|
|
5455
|
+
Framerate: output.framerate != null ? deserializeAws_restJson1CaptionSourceFramerate(output.framerate, context) : undefined,
|
|
6029
5456
|
SourceFile: __expectString(output.sourceFile),
|
|
6030
5457
|
TimeDelta: __expectInt32(output.timeDelta),
|
|
6031
5458
|
TimeDeltaUnits: __expectString(output.timeDeltaUnits),
|
|
@@ -6081,9 +5508,7 @@ var deserializeAws_restJson1H264Settings = function (output, context) {
|
|
|
6081
5508
|
ParDenominator: __expectInt32(output.parDenominator),
|
|
6082
5509
|
ParNumerator: __expectInt32(output.parNumerator),
|
|
6083
5510
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
6084
|
-
QvbrSettings: output.qvbrSettings
|
|
6085
|
-
? deserializeAws_restJson1H264QvbrSettings(output.qvbrSettings, context)
|
|
6086
|
-
: undefined,
|
|
5511
|
+
QvbrSettings: output.qvbrSettings != null ? deserializeAws_restJson1H264QvbrSettings(output.qvbrSettings, context) : undefined,
|
|
6087
5512
|
RateControlMode: __expectString(output.rateControlMode),
|
|
6088
5513
|
RepeatPps: __expectString(output.repeatPps),
|
|
6089
5514
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
@@ -6133,9 +5558,7 @@ var deserializeAws_restJson1H265Settings = function (output, context) {
|
|
|
6133
5558
|
ParDenominator: __expectInt32(output.parDenominator),
|
|
6134
5559
|
ParNumerator: __expectInt32(output.parNumerator),
|
|
6135
5560
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
6136
|
-
QvbrSettings: output.qvbrSettings
|
|
6137
|
-
? deserializeAws_restJson1H265QvbrSettings(output.qvbrSettings, context)
|
|
6138
|
-
: undefined,
|
|
5561
|
+
QvbrSettings: output.qvbrSettings != null ? deserializeAws_restJson1H265QvbrSettings(output.qvbrSettings, context) : undefined,
|
|
6139
5562
|
RateControlMode: __expectString(output.rateControlMode),
|
|
6140
5563
|
SampleAdaptiveOffsetFilterMode: __expectString(output.sampleAdaptiveOffsetFilterMode),
|
|
6141
5564
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
@@ -6176,7 +5599,7 @@ var deserializeAws_restJson1Hdr10Plus = function (output, context) {
|
|
|
6176
5599
|
var deserializeAws_restJson1HlsAdditionalManifest = function (output, context) {
|
|
6177
5600
|
return {
|
|
6178
5601
|
ManifestNameModifier: __expectString(output.manifestNameModifier),
|
|
6179
|
-
SelectedOutputs: output.selectedOutputs
|
|
5602
|
+
SelectedOutputs: output.selectedOutputs != null
|
|
6180
5603
|
? deserializeAws_restJson1__listOf__stringMin1(output.selectedOutputs, context)
|
|
6181
5604
|
: undefined,
|
|
6182
5605
|
};
|
|
@@ -6195,10 +5618,10 @@ var deserializeAws_restJson1HlsEncryptionSettings = function (output, context) {
|
|
|
6195
5618
|
EncryptionMethod: __expectString(output.encryptionMethod),
|
|
6196
5619
|
InitializationVectorInManifest: __expectString(output.initializationVectorInManifest),
|
|
6197
5620
|
OfflineEncrypted: __expectString(output.offlineEncrypted),
|
|
6198
|
-
SpekeKeyProvider: output.spekeKeyProvider
|
|
5621
|
+
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
6199
5622
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
6200
5623
|
: undefined,
|
|
6201
|
-
StaticKeyProvider: output.staticKeyProvider
|
|
5624
|
+
StaticKeyProvider: output.staticKeyProvider != null
|
|
6202
5625
|
? deserializeAws_restJson1StaticKeyProvider(output.staticKeyProvider, context)
|
|
6203
5626
|
: undefined,
|
|
6204
5627
|
Type: __expectString(output.type),
|
|
@@ -6206,15 +5629,13 @@ var deserializeAws_restJson1HlsEncryptionSettings = function (output, context) {
|
|
|
6206
5629
|
};
|
|
6207
5630
|
var deserializeAws_restJson1HlsGroupSettings = function (output, context) {
|
|
6208
5631
|
return {
|
|
6209
|
-
AdMarkers: output.adMarkers
|
|
6210
|
-
|
|
6211
|
-
: undefined,
|
|
6212
|
-
AdditionalManifests: output.additionalManifests !== undefined && output.additionalManifests !== null
|
|
5632
|
+
AdMarkers: output.adMarkers != null ? deserializeAws_restJson1__listOfHlsAdMarkers(output.adMarkers, context) : undefined,
|
|
5633
|
+
AdditionalManifests: output.additionalManifests != null
|
|
6213
5634
|
? deserializeAws_restJson1__listOfHlsAdditionalManifest(output.additionalManifests, context)
|
|
6214
5635
|
: undefined,
|
|
6215
5636
|
AudioOnlyHeader: __expectString(output.audioOnlyHeader),
|
|
6216
5637
|
BaseUrl: __expectString(output.baseUrl),
|
|
6217
|
-
CaptionLanguageMappings: output.captionLanguageMappings
|
|
5638
|
+
CaptionLanguageMappings: output.captionLanguageMappings != null
|
|
6218
5639
|
? deserializeAws_restJson1__listOfHlsCaptionLanguageMapping(output.captionLanguageMappings, context)
|
|
6219
5640
|
: undefined,
|
|
6220
5641
|
CaptionLanguageSetting: __expectString(output.captionLanguageSetting),
|
|
@@ -6222,15 +5643,13 @@ var deserializeAws_restJson1HlsGroupSettings = function (output, context) {
|
|
|
6222
5643
|
ClientCache: __expectString(output.clientCache),
|
|
6223
5644
|
CodecSpecification: __expectString(output.codecSpecification),
|
|
6224
5645
|
Destination: __expectString(output.destination),
|
|
6225
|
-
DestinationSettings: output.destinationSettings
|
|
5646
|
+
DestinationSettings: output.destinationSettings != null
|
|
6226
5647
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
6227
5648
|
: undefined,
|
|
6228
5649
|
DirectoryStructure: __expectString(output.directoryStructure),
|
|
6229
|
-
Encryption: output.encryption
|
|
6230
|
-
? deserializeAws_restJson1HlsEncryptionSettings(output.encryption, context)
|
|
6231
|
-
: undefined,
|
|
5650
|
+
Encryption: output.encryption != null ? deserializeAws_restJson1HlsEncryptionSettings(output.encryption, context) : undefined,
|
|
6232
5651
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
6233
|
-
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings
|
|
5652
|
+
ImageBasedTrickPlaySettings: output.imageBasedTrickPlaySettings != null
|
|
6234
5653
|
? deserializeAws_restJson1HlsImageBasedTrickPlaySettings(output.imageBasedTrickPlaySettings, context)
|
|
6235
5654
|
: undefined,
|
|
6236
5655
|
ManifestCompression: __expectString(output.manifestCompression),
|
|
@@ -6294,7 +5713,7 @@ var deserializeAws_restJson1Id3Insertion = function (output, context) {
|
|
|
6294
5713
|
};
|
|
6295
5714
|
var deserializeAws_restJson1ImageInserter = function (output, context) {
|
|
6296
5715
|
return {
|
|
6297
|
-
InsertableImages: output.insertableImages
|
|
5716
|
+
InsertableImages: output.insertableImages != null
|
|
6298
5717
|
? deserializeAws_restJson1__listOfInsertableImage(output.insertableImages, context)
|
|
6299
5718
|
: undefined,
|
|
6300
5719
|
};
|
|
@@ -6307,20 +5726,18 @@ var deserializeAws_restJson1ImscDestinationSettings = function (output, context)
|
|
|
6307
5726
|
};
|
|
6308
5727
|
var deserializeAws_restJson1Input = function (output, context) {
|
|
6309
5728
|
return {
|
|
6310
|
-
AudioSelectorGroups: output.audioSelectorGroups
|
|
5729
|
+
AudioSelectorGroups: output.audioSelectorGroups != null
|
|
6311
5730
|
? deserializeAws_restJson1__mapOfAudioSelectorGroup(output.audioSelectorGroups, context)
|
|
6312
5731
|
: undefined,
|
|
6313
|
-
AudioSelectors: output.audioSelectors
|
|
5732
|
+
AudioSelectors: output.audioSelectors != null
|
|
6314
5733
|
? deserializeAws_restJson1__mapOfAudioSelector(output.audioSelectors, context)
|
|
6315
5734
|
: undefined,
|
|
6316
|
-
CaptionSelectors: output.captionSelectors
|
|
5735
|
+
CaptionSelectors: output.captionSelectors != null
|
|
6317
5736
|
? deserializeAws_restJson1__mapOfCaptionSelector(output.captionSelectors, context)
|
|
6318
5737
|
: undefined,
|
|
6319
|
-
Crop: output.crop
|
|
6320
|
-
? deserializeAws_restJson1Rectangle(output.crop, context)
|
|
6321
|
-
: undefined,
|
|
5738
|
+
Crop: output.crop != null ? deserializeAws_restJson1Rectangle(output.crop, context) : undefined,
|
|
6322
5739
|
DeblockFilter: __expectString(output.deblockFilter),
|
|
6323
|
-
DecryptionSettings: output.decryptionSettings
|
|
5740
|
+
DecryptionSettings: output.decryptionSettings != null
|
|
6324
5741
|
? deserializeAws_restJson1InputDecryptionSettings(output.decryptionSettings, context)
|
|
6325
5742
|
: undefined,
|
|
6326
5743
|
DenoiseFilter: __expectString(output.denoiseFilter),
|
|
@@ -6328,29 +5745,23 @@ var deserializeAws_restJson1Input = function (output, context) {
|
|
|
6328
5745
|
FileInput: __expectString(output.fileInput),
|
|
6329
5746
|
FilterEnable: __expectString(output.filterEnable),
|
|
6330
5747
|
FilterStrength: __expectInt32(output.filterStrength),
|
|
6331
|
-
ImageInserter: output.imageInserter
|
|
6332
|
-
|
|
6333
|
-
: undefined,
|
|
6334
|
-
InputClippings: output.inputClippings !== undefined && output.inputClippings !== null
|
|
5748
|
+
ImageInserter: output.imageInserter != null ? deserializeAws_restJson1ImageInserter(output.imageInserter, context) : undefined,
|
|
5749
|
+
InputClippings: output.inputClippings != null
|
|
6335
5750
|
? deserializeAws_restJson1__listOfInputClipping(output.inputClippings, context)
|
|
6336
5751
|
: undefined,
|
|
6337
5752
|
InputScanType: __expectString(output.inputScanType),
|
|
6338
|
-
Position: output.position
|
|
6339
|
-
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
6340
|
-
: undefined,
|
|
5753
|
+
Position: output.position != null ? deserializeAws_restJson1Rectangle(output.position, context) : undefined,
|
|
6341
5754
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
6342
5755
|
PsiControl: __expectString(output.psiControl),
|
|
6343
|
-
SupplementalImps: output.supplementalImps
|
|
5756
|
+
SupplementalImps: output.supplementalImps != null
|
|
6344
5757
|
? deserializeAws_restJson1__listOf__stringPatternS3ASSETMAPXml(output.supplementalImps, context)
|
|
6345
5758
|
: undefined,
|
|
6346
5759
|
TimecodeSource: __expectString(output.timecodeSource),
|
|
6347
5760
|
TimecodeStart: __expectString(output.timecodeStart),
|
|
6348
|
-
VideoGenerator: output.videoGenerator
|
|
5761
|
+
VideoGenerator: output.videoGenerator != null
|
|
6349
5762
|
? deserializeAws_restJson1InputVideoGenerator(output.videoGenerator, context)
|
|
6350
5763
|
: undefined,
|
|
6351
|
-
VideoSelector: output.videoSelector
|
|
6352
|
-
? deserializeAws_restJson1VideoSelector(output.videoSelector, context)
|
|
6353
|
-
: undefined,
|
|
5764
|
+
VideoSelector: output.videoSelector != null ? deserializeAws_restJson1VideoSelector(output.videoSelector, context) : undefined,
|
|
6354
5765
|
};
|
|
6355
5766
|
};
|
|
6356
5767
|
var deserializeAws_restJson1InputClipping = function (output, context) {
|
|
@@ -6369,40 +5780,32 @@ var deserializeAws_restJson1InputDecryptionSettings = function (output, context)
|
|
|
6369
5780
|
};
|
|
6370
5781
|
var deserializeAws_restJson1InputTemplate = function (output, context) {
|
|
6371
5782
|
return {
|
|
6372
|
-
AudioSelectorGroups: output.audioSelectorGroups
|
|
5783
|
+
AudioSelectorGroups: output.audioSelectorGroups != null
|
|
6373
5784
|
? deserializeAws_restJson1__mapOfAudioSelectorGroup(output.audioSelectorGroups, context)
|
|
6374
5785
|
: undefined,
|
|
6375
|
-
AudioSelectors: output.audioSelectors
|
|
5786
|
+
AudioSelectors: output.audioSelectors != null
|
|
6376
5787
|
? deserializeAws_restJson1__mapOfAudioSelector(output.audioSelectors, context)
|
|
6377
5788
|
: undefined,
|
|
6378
|
-
CaptionSelectors: output.captionSelectors
|
|
5789
|
+
CaptionSelectors: output.captionSelectors != null
|
|
6379
5790
|
? deserializeAws_restJson1__mapOfCaptionSelector(output.captionSelectors, context)
|
|
6380
5791
|
: undefined,
|
|
6381
|
-
Crop: output.crop
|
|
6382
|
-
? deserializeAws_restJson1Rectangle(output.crop, context)
|
|
6383
|
-
: undefined,
|
|
5792
|
+
Crop: output.crop != null ? deserializeAws_restJson1Rectangle(output.crop, context) : undefined,
|
|
6384
5793
|
DeblockFilter: __expectString(output.deblockFilter),
|
|
6385
5794
|
DenoiseFilter: __expectString(output.denoiseFilter),
|
|
6386
5795
|
DolbyVisionMetadataXml: __expectString(output.dolbyVisionMetadataXml),
|
|
6387
5796
|
FilterEnable: __expectString(output.filterEnable),
|
|
6388
5797
|
FilterStrength: __expectInt32(output.filterStrength),
|
|
6389
|
-
ImageInserter: output.imageInserter
|
|
6390
|
-
|
|
6391
|
-
: undefined,
|
|
6392
|
-
InputClippings: output.inputClippings !== undefined && output.inputClippings !== null
|
|
5798
|
+
ImageInserter: output.imageInserter != null ? deserializeAws_restJson1ImageInserter(output.imageInserter, context) : undefined,
|
|
5799
|
+
InputClippings: output.inputClippings != null
|
|
6393
5800
|
? deserializeAws_restJson1__listOfInputClipping(output.inputClippings, context)
|
|
6394
5801
|
: undefined,
|
|
6395
5802
|
InputScanType: __expectString(output.inputScanType),
|
|
6396
|
-
Position: output.position
|
|
6397
|
-
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
6398
|
-
: undefined,
|
|
5803
|
+
Position: output.position != null ? deserializeAws_restJson1Rectangle(output.position, context) : undefined,
|
|
6399
5804
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
6400
5805
|
PsiControl: __expectString(output.psiControl),
|
|
6401
5806
|
TimecodeSource: __expectString(output.timecodeSource),
|
|
6402
5807
|
TimecodeStart: __expectString(output.timecodeStart),
|
|
6403
|
-
VideoSelector: output.videoSelector
|
|
6404
|
-
? deserializeAws_restJson1VideoSelector(output.videoSelector, context)
|
|
6405
|
-
: undefined,
|
|
5808
|
+
VideoSelector: output.videoSelector != null ? deserializeAws_restJson1VideoSelector(output.videoSelector, context) : undefined,
|
|
6406
5809
|
};
|
|
6407
5810
|
};
|
|
6408
5811
|
var deserializeAws_restJson1InputVideoGenerator = function (output, context) {
|
|
@@ -6427,122 +5830,98 @@ var deserializeAws_restJson1InsertableImage = function (output, context) {
|
|
|
6427
5830
|
};
|
|
6428
5831
|
var deserializeAws_restJson1Job = function (output, context) {
|
|
6429
5832
|
return {
|
|
6430
|
-
AccelerationSettings: output.accelerationSettings
|
|
5833
|
+
AccelerationSettings: output.accelerationSettings != null
|
|
6431
5834
|
? deserializeAws_restJson1AccelerationSettings(output.accelerationSettings, context)
|
|
6432
5835
|
: undefined,
|
|
6433
5836
|
AccelerationStatus: __expectString(output.accelerationStatus),
|
|
6434
5837
|
Arn: __expectString(output.arn),
|
|
6435
5838
|
BillingTagsSource: __expectString(output.billingTagsSource),
|
|
6436
|
-
CreatedAt: output.createdAt
|
|
6437
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6438
|
-
: undefined,
|
|
5839
|
+
CreatedAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6439
5840
|
CurrentPhase: __expectString(output.currentPhase),
|
|
6440
5841
|
ErrorCode: __expectInt32(output.errorCode),
|
|
6441
5842
|
ErrorMessage: __expectString(output.errorMessage),
|
|
6442
|
-
HopDestinations: output.hopDestinations
|
|
5843
|
+
HopDestinations: output.hopDestinations != null
|
|
6443
5844
|
? deserializeAws_restJson1__listOfHopDestination(output.hopDestinations, context)
|
|
6444
5845
|
: undefined,
|
|
6445
5846
|
Id: __expectString(output.id),
|
|
6446
5847
|
JobPercentComplete: __expectInt32(output.jobPercentComplete),
|
|
6447
5848
|
JobTemplate: __expectString(output.jobTemplate),
|
|
6448
|
-
Messages: output.messages
|
|
6449
|
-
|
|
6450
|
-
: undefined,
|
|
6451
|
-
OutputGroupDetails: output.outputGroupDetails !== undefined && output.outputGroupDetails !== null
|
|
5849
|
+
Messages: output.messages != null ? deserializeAws_restJson1JobMessages(output.messages, context) : undefined,
|
|
5850
|
+
OutputGroupDetails: output.outputGroupDetails != null
|
|
6452
5851
|
? deserializeAws_restJson1__listOfOutputGroupDetail(output.outputGroupDetails, context)
|
|
6453
5852
|
: undefined,
|
|
6454
5853
|
Priority: __expectInt32(output.priority),
|
|
6455
5854
|
Queue: __expectString(output.queue),
|
|
6456
|
-
QueueTransitions: output.queueTransitions
|
|
5855
|
+
QueueTransitions: output.queueTransitions != null
|
|
6457
5856
|
? deserializeAws_restJson1__listOfQueueTransition(output.queueTransitions, context)
|
|
6458
5857
|
: undefined,
|
|
6459
5858
|
RetryCount: __expectInt32(output.retryCount),
|
|
6460
5859
|
Role: __expectString(output.role),
|
|
6461
|
-
Settings: output.settings
|
|
6462
|
-
? deserializeAws_restJson1JobSettings(output.settings, context)
|
|
6463
|
-
: undefined,
|
|
5860
|
+
Settings: output.settings != null ? deserializeAws_restJson1JobSettings(output.settings, context) : undefined,
|
|
6464
5861
|
SimulateReservedQueue: __expectString(output.simulateReservedQueue),
|
|
6465
5862
|
Status: __expectString(output.status),
|
|
6466
5863
|
StatusUpdateInterval: __expectString(output.statusUpdateInterval),
|
|
6467
|
-
Timing: output.timing
|
|
6468
|
-
|
|
6469
|
-
: undefined,
|
|
6470
|
-
UserMetadata: output.userMetadata !== undefined && output.userMetadata !== null
|
|
6471
|
-
? deserializeAws_restJson1__mapOf__string(output.userMetadata, context)
|
|
6472
|
-
: 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,
|
|
6473
5866
|
};
|
|
6474
5867
|
};
|
|
6475
5868
|
var deserializeAws_restJson1JobMessages = function (output, context) {
|
|
6476
5869
|
return {
|
|
6477
|
-
Info: output.info
|
|
6478
|
-
|
|
6479
|
-
: undefined,
|
|
6480
|
-
Warning: output.warning !== undefined && output.warning !== null
|
|
6481
|
-
? deserializeAws_restJson1__listOf__string(output.warning, context)
|
|
6482
|
-
: 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,
|
|
6483
5872
|
};
|
|
6484
5873
|
};
|
|
6485
5874
|
var deserializeAws_restJson1JobSettings = function (output, context) {
|
|
6486
5875
|
return {
|
|
6487
5876
|
AdAvailOffset: __expectInt32(output.adAvailOffset),
|
|
6488
|
-
AvailBlanking: output.availBlanking
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
Esam: output.esam !== undefined && output.esam !== null
|
|
6492
|
-
? deserializeAws_restJson1EsamSettings(output.esam, context)
|
|
6493
|
-
: undefined,
|
|
6494
|
-
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
|
|
6495
5880
|
? deserializeAws_restJson1ExtendedDataServices(output.extendedDataServices, context)
|
|
6496
5881
|
: undefined,
|
|
6497
|
-
Inputs: output.inputs
|
|
6498
|
-
|
|
6499
|
-
: undefined,
|
|
6500
|
-
KantarWatermark: output.kantarWatermark !== undefined && output.kantarWatermark !== null
|
|
5882
|
+
Inputs: output.inputs != null ? deserializeAws_restJson1__listOfInput(output.inputs, context) : undefined,
|
|
5883
|
+
KantarWatermark: output.kantarWatermark != null
|
|
6501
5884
|
? deserializeAws_restJson1KantarWatermarkSettings(output.kantarWatermark, context)
|
|
6502
5885
|
: undefined,
|
|
6503
|
-
MotionImageInserter: output.motionImageInserter
|
|
5886
|
+
MotionImageInserter: output.motionImageInserter != null
|
|
6504
5887
|
? deserializeAws_restJson1MotionImageInserter(output.motionImageInserter, context)
|
|
6505
5888
|
: undefined,
|
|
6506
|
-
NielsenConfiguration: output.nielsenConfiguration
|
|
5889
|
+
NielsenConfiguration: output.nielsenConfiguration != null
|
|
6507
5890
|
? deserializeAws_restJson1NielsenConfiguration(output.nielsenConfiguration, context)
|
|
6508
5891
|
: undefined,
|
|
6509
|
-
NielsenNonLinearWatermark: output.nielsenNonLinearWatermark
|
|
5892
|
+
NielsenNonLinearWatermark: output.nielsenNonLinearWatermark != null
|
|
6510
5893
|
? deserializeAws_restJson1NielsenNonLinearWatermarkSettings(output.nielsenNonLinearWatermark, context)
|
|
6511
5894
|
: undefined,
|
|
6512
|
-
OutputGroups: output.outputGroups
|
|
5895
|
+
OutputGroups: output.outputGroups != null
|
|
6513
5896
|
? deserializeAws_restJson1__listOfOutputGroup(output.outputGroups, context)
|
|
6514
5897
|
: undefined,
|
|
6515
|
-
TimecodeConfig: output.timecodeConfig
|
|
5898
|
+
TimecodeConfig: output.timecodeConfig != null
|
|
6516
5899
|
? deserializeAws_restJson1TimecodeConfig(output.timecodeConfig, context)
|
|
6517
5900
|
: undefined,
|
|
6518
|
-
TimedMetadataInsertion: output.timedMetadataInsertion
|
|
5901
|
+
TimedMetadataInsertion: output.timedMetadataInsertion != null
|
|
6519
5902
|
? deserializeAws_restJson1TimedMetadataInsertion(output.timedMetadataInsertion, context)
|
|
6520
5903
|
: undefined,
|
|
6521
5904
|
};
|
|
6522
5905
|
};
|
|
6523
5906
|
var deserializeAws_restJson1JobTemplate = function (output, context) {
|
|
6524
5907
|
return {
|
|
6525
|
-
AccelerationSettings: output.accelerationSettings
|
|
5908
|
+
AccelerationSettings: output.accelerationSettings != null
|
|
6526
5909
|
? deserializeAws_restJson1AccelerationSettings(output.accelerationSettings, context)
|
|
6527
5910
|
: undefined,
|
|
6528
5911
|
Arn: __expectString(output.arn),
|
|
6529
5912
|
Category: __expectString(output.category),
|
|
6530
|
-
CreatedAt: output.createdAt
|
|
6531
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6532
|
-
: undefined,
|
|
5913
|
+
CreatedAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6533
5914
|
Description: __expectString(output.description),
|
|
6534
|
-
HopDestinations: output.hopDestinations
|
|
5915
|
+
HopDestinations: output.hopDestinations != null
|
|
6535
5916
|
? deserializeAws_restJson1__listOfHopDestination(output.hopDestinations, context)
|
|
6536
5917
|
: undefined,
|
|
6537
|
-
LastUpdated: output.lastUpdated
|
|
5918
|
+
LastUpdated: output.lastUpdated != null
|
|
6538
5919
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
6539
5920
|
: undefined,
|
|
6540
5921
|
Name: __expectString(output.name),
|
|
6541
5922
|
Priority: __expectInt32(output.priority),
|
|
6542
5923
|
Queue: __expectString(output.queue),
|
|
6543
|
-
Settings: output.settings
|
|
6544
|
-
? deserializeAws_restJson1JobTemplateSettings(output.settings, context)
|
|
6545
|
-
: undefined,
|
|
5924
|
+
Settings: output.settings != null ? deserializeAws_restJson1JobTemplateSettings(output.settings, context) : undefined,
|
|
6546
5925
|
StatusUpdateInterval: __expectString(output.statusUpdateInterval),
|
|
6547
5926
|
Type: __expectString(output.type),
|
|
6548
5927
|
};
|
|
@@ -6550,37 +5929,31 @@ var deserializeAws_restJson1JobTemplate = function (output, context) {
|
|
|
6550
5929
|
var deserializeAws_restJson1JobTemplateSettings = function (output, context) {
|
|
6551
5930
|
return {
|
|
6552
5931
|
AdAvailOffset: __expectInt32(output.adAvailOffset),
|
|
6553
|
-
AvailBlanking: output.availBlanking
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
Esam: output.esam !== undefined && output.esam !== null
|
|
6557
|
-
? deserializeAws_restJson1EsamSettings(output.esam, context)
|
|
6558
|
-
: undefined,
|
|
6559
|
-
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
|
|
6560
5935
|
? deserializeAws_restJson1ExtendedDataServices(output.extendedDataServices, context)
|
|
6561
5936
|
: undefined,
|
|
6562
|
-
Inputs: output.inputs
|
|
6563
|
-
|
|
6564
|
-
: undefined,
|
|
6565
|
-
KantarWatermark: output.kantarWatermark !== undefined && output.kantarWatermark !== null
|
|
5937
|
+
Inputs: output.inputs != null ? deserializeAws_restJson1__listOfInputTemplate(output.inputs, context) : undefined,
|
|
5938
|
+
KantarWatermark: output.kantarWatermark != null
|
|
6566
5939
|
? deserializeAws_restJson1KantarWatermarkSettings(output.kantarWatermark, context)
|
|
6567
5940
|
: undefined,
|
|
6568
|
-
MotionImageInserter: output.motionImageInserter
|
|
5941
|
+
MotionImageInserter: output.motionImageInserter != null
|
|
6569
5942
|
? deserializeAws_restJson1MotionImageInserter(output.motionImageInserter, context)
|
|
6570
5943
|
: undefined,
|
|
6571
|
-
NielsenConfiguration: output.nielsenConfiguration
|
|
5944
|
+
NielsenConfiguration: output.nielsenConfiguration != null
|
|
6572
5945
|
? deserializeAws_restJson1NielsenConfiguration(output.nielsenConfiguration, context)
|
|
6573
5946
|
: undefined,
|
|
6574
|
-
NielsenNonLinearWatermark: output.nielsenNonLinearWatermark
|
|
5947
|
+
NielsenNonLinearWatermark: output.nielsenNonLinearWatermark != null
|
|
6575
5948
|
? deserializeAws_restJson1NielsenNonLinearWatermarkSettings(output.nielsenNonLinearWatermark, context)
|
|
6576
5949
|
: undefined,
|
|
6577
|
-
OutputGroups: output.outputGroups
|
|
5950
|
+
OutputGroups: output.outputGroups != null
|
|
6578
5951
|
? deserializeAws_restJson1__listOfOutputGroup(output.outputGroups, context)
|
|
6579
5952
|
: undefined,
|
|
6580
|
-
TimecodeConfig: output.timecodeConfig
|
|
5953
|
+
TimecodeConfig: output.timecodeConfig != null
|
|
6581
5954
|
? deserializeAws_restJson1TimecodeConfig(output.timecodeConfig, context)
|
|
6582
5955
|
: undefined,
|
|
6583
|
-
TimedMetadataInsertion: output.timedMetadataInsertion
|
|
5956
|
+
TimedMetadataInsertion: output.timedMetadataInsertion != null
|
|
6584
5957
|
? deserializeAws_restJson1TimedMetadataInsertion(output.timedMetadataInsertion, context)
|
|
6585
5958
|
: undefined,
|
|
6586
5959
|
};
|
|
@@ -6612,22 +5985,22 @@ var deserializeAws_restJson1M2tsSettings = function (output, context) {
|
|
|
6612
5985
|
AudioBufferModel: __expectString(output.audioBufferModel),
|
|
6613
5986
|
AudioDuration: __expectString(output.audioDuration),
|
|
6614
5987
|
AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
|
|
6615
|
-
AudioPids: output.audioPids
|
|
5988
|
+
AudioPids: output.audioPids != null
|
|
6616
5989
|
? deserializeAws_restJson1__listOf__integerMin32Max8182(output.audioPids, context)
|
|
6617
5990
|
: undefined,
|
|
6618
5991
|
Bitrate: __expectInt32(output.bitrate),
|
|
6619
5992
|
BufferModel: __expectString(output.bufferModel),
|
|
6620
5993
|
DataPTSControl: __expectString(output.dataPTSControl),
|
|
6621
|
-
DvbNitSettings: output.dvbNitSettings
|
|
5994
|
+
DvbNitSettings: output.dvbNitSettings != null
|
|
6622
5995
|
? deserializeAws_restJson1DvbNitSettings(output.dvbNitSettings, context)
|
|
6623
5996
|
: undefined,
|
|
6624
|
-
DvbSdtSettings: output.dvbSdtSettings
|
|
5997
|
+
DvbSdtSettings: output.dvbSdtSettings != null
|
|
6625
5998
|
? deserializeAws_restJson1DvbSdtSettings(output.dvbSdtSettings, context)
|
|
6626
5999
|
: undefined,
|
|
6627
|
-
DvbSubPids: output.dvbSubPids
|
|
6000
|
+
DvbSubPids: output.dvbSubPids != null
|
|
6628
6001
|
? deserializeAws_restJson1__listOf__integerMin32Max8182(output.dvbSubPids, context)
|
|
6629
6002
|
: undefined,
|
|
6630
|
-
DvbTdtSettings: output.dvbTdtSettings
|
|
6003
|
+
DvbTdtSettings: output.dvbTdtSettings != null
|
|
6631
6004
|
? deserializeAws_restJson1DvbTdtSettings(output.dvbTdtSettings, context)
|
|
6632
6005
|
: undefined,
|
|
6633
6006
|
DvbTeletextPid: __expectInt32(output.dvbTeletextPid),
|
|
@@ -6649,9 +6022,7 @@ var deserializeAws_restJson1M2tsSettings = function (output, context) {
|
|
|
6649
6022
|
PrivateMetadataPid: __expectInt32(output.privateMetadataPid),
|
|
6650
6023
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
6651
6024
|
RateMode: __expectString(output.rateMode),
|
|
6652
|
-
Scte35Esam: output.scte35Esam
|
|
6653
|
-
? deserializeAws_restJson1M2tsScte35Esam(output.scte35Esam, context)
|
|
6654
|
-
: undefined,
|
|
6025
|
+
Scte35Esam: output.scte35Esam != null ? deserializeAws_restJson1M2tsScte35Esam(output.scte35Esam, context) : undefined,
|
|
6655
6026
|
Scte35Pid: __expectInt32(output.scte35Pid),
|
|
6656
6027
|
Scte35Source: __expectString(output.scte35Source),
|
|
6657
6028
|
SegmentationMarkers: __expectString(output.segmentationMarkers),
|
|
@@ -6666,7 +6037,7 @@ var deserializeAws_restJson1M3u8Settings = function (output, context) {
|
|
|
6666
6037
|
return {
|
|
6667
6038
|
AudioDuration: __expectString(output.audioDuration),
|
|
6668
6039
|
AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
|
|
6669
|
-
AudioPids: output.audioPids
|
|
6040
|
+
AudioPids: output.audioPids != null
|
|
6670
6041
|
? deserializeAws_restJson1__listOf__integerMin32Max8182(output.audioPids, context)
|
|
6671
6042
|
: undefined,
|
|
6672
6043
|
DataPTSControl: __expectString(output.dataPTSControl),
|
|
@@ -6701,14 +6072,12 @@ var deserializeAws_restJson1MinTopRenditionSize = function (output, context) {
|
|
|
6701
6072
|
};
|
|
6702
6073
|
var deserializeAws_restJson1MotionImageInserter = function (output, context) {
|
|
6703
6074
|
return {
|
|
6704
|
-
Framerate: output.framerate
|
|
6075
|
+
Framerate: output.framerate != null
|
|
6705
6076
|
? deserializeAws_restJson1MotionImageInsertionFramerate(output.framerate, context)
|
|
6706
6077
|
: undefined,
|
|
6707
6078
|
Input: __expectString(output.input),
|
|
6708
6079
|
InsertionMode: __expectString(output.insertionMode),
|
|
6709
|
-
Offset: output.offset
|
|
6710
|
-
? deserializeAws_restJson1MotionImageInsertionOffset(output.offset, context)
|
|
6711
|
-
: undefined,
|
|
6080
|
+
Offset: output.offset != null ? deserializeAws_restJson1MotionImageInsertionOffset(output.offset, context) : undefined,
|
|
6712
6081
|
Playback: __expectString(output.playback),
|
|
6713
6082
|
StartTime: __expectString(output.startTime),
|
|
6714
6083
|
};
|
|
@@ -6810,29 +6179,29 @@ var deserializeAws_restJson1Mpeg2Settings = function (output, context) {
|
|
|
6810
6179
|
var deserializeAws_restJson1MsSmoothAdditionalManifest = function (output, context) {
|
|
6811
6180
|
return {
|
|
6812
6181
|
ManifestNameModifier: __expectString(output.manifestNameModifier),
|
|
6813
|
-
SelectedOutputs: output.selectedOutputs
|
|
6182
|
+
SelectedOutputs: output.selectedOutputs != null
|
|
6814
6183
|
? deserializeAws_restJson1__listOf__stringMin1(output.selectedOutputs, context)
|
|
6815
6184
|
: undefined,
|
|
6816
6185
|
};
|
|
6817
6186
|
};
|
|
6818
6187
|
var deserializeAws_restJson1MsSmoothEncryptionSettings = function (output, context) {
|
|
6819
6188
|
return {
|
|
6820
|
-
SpekeKeyProvider: output.spekeKeyProvider
|
|
6189
|
+
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
6821
6190
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
6822
6191
|
: undefined,
|
|
6823
6192
|
};
|
|
6824
6193
|
};
|
|
6825
6194
|
var deserializeAws_restJson1MsSmoothGroupSettings = function (output, context) {
|
|
6826
6195
|
return {
|
|
6827
|
-
AdditionalManifests: output.additionalManifests
|
|
6196
|
+
AdditionalManifests: output.additionalManifests != null
|
|
6828
6197
|
? deserializeAws_restJson1__listOfMsSmoothAdditionalManifest(output.additionalManifests, context)
|
|
6829
6198
|
: undefined,
|
|
6830
6199
|
AudioDeduplication: __expectString(output.audioDeduplication),
|
|
6831
6200
|
Destination: __expectString(output.destination),
|
|
6832
|
-
DestinationSettings: output.destinationSettings
|
|
6201
|
+
DestinationSettings: output.destinationSettings != null
|
|
6833
6202
|
? deserializeAws_restJson1DestinationSettings(output.destinationSettings, context)
|
|
6834
6203
|
: undefined,
|
|
6835
|
-
Encryption: output.encryption
|
|
6204
|
+
Encryption: output.encryption != null
|
|
6836
6205
|
? deserializeAws_restJson1MsSmoothEncryptionSettings(output.encryption, context)
|
|
6837
6206
|
: undefined,
|
|
6838
6207
|
FragmentLength: __expectInt32(output.fragmentLength),
|
|
@@ -6844,7 +6213,7 @@ var deserializeAws_restJson1MxfSettings = function (output, context) {
|
|
|
6844
6213
|
return {
|
|
6845
6214
|
AfdSignaling: __expectString(output.afdSignaling),
|
|
6846
6215
|
Profile: __expectString(output.profile),
|
|
6847
|
-
XavcProfileSettings: output.xavcProfileSettings
|
|
6216
|
+
XavcProfileSettings: output.xavcProfileSettings != null
|
|
6848
6217
|
? deserializeAws_restJson1MxfXavcProfileSettings(output.xavcProfileSettings, context)
|
|
6849
6218
|
: undefined,
|
|
6850
6219
|
};
|
|
@@ -6887,13 +6256,13 @@ var deserializeAws_restJson1NielsenNonLinearWatermarkSettings = function (output
|
|
|
6887
6256
|
var deserializeAws_restJson1NoiseReducer = function (output, context) {
|
|
6888
6257
|
return {
|
|
6889
6258
|
Filter: __expectString(output.filter),
|
|
6890
|
-
FilterSettings: output.filterSettings
|
|
6259
|
+
FilterSettings: output.filterSettings != null
|
|
6891
6260
|
? deserializeAws_restJson1NoiseReducerFilterSettings(output.filterSettings, context)
|
|
6892
6261
|
: undefined,
|
|
6893
|
-
SpatialFilterSettings: output.spatialFilterSettings
|
|
6262
|
+
SpatialFilterSettings: output.spatialFilterSettings != null
|
|
6894
6263
|
? deserializeAws_restJson1NoiseReducerSpatialFilterSettings(output.spatialFilterSettings, context)
|
|
6895
6264
|
: undefined,
|
|
6896
|
-
TemporalFilterSettings: output.temporalFilterSettings
|
|
6265
|
+
TemporalFilterSettings: output.temporalFilterSettings != null
|
|
6897
6266
|
? deserializeAws_restJson1NoiseReducerTemporalFilterSettings(output.temporalFilterSettings, context)
|
|
6898
6267
|
: undefined,
|
|
6899
6268
|
};
|
|
@@ -6928,32 +6297,32 @@ var deserializeAws_restJson1OpusSettings = function (output, context) {
|
|
|
6928
6297
|
};
|
|
6929
6298
|
var deserializeAws_restJson1Output = function (output, context) {
|
|
6930
6299
|
return {
|
|
6931
|
-
AudioDescriptions: output.audioDescriptions
|
|
6300
|
+
AudioDescriptions: output.audioDescriptions != null
|
|
6932
6301
|
? deserializeAws_restJson1__listOfAudioDescription(output.audioDescriptions, context)
|
|
6933
6302
|
: undefined,
|
|
6934
|
-
CaptionDescriptions: output.captionDescriptions
|
|
6303
|
+
CaptionDescriptions: output.captionDescriptions != null
|
|
6935
6304
|
? deserializeAws_restJson1__listOfCaptionDescription(output.captionDescriptions, context)
|
|
6936
6305
|
: undefined,
|
|
6937
|
-
ContainerSettings: output.containerSettings
|
|
6306
|
+
ContainerSettings: output.containerSettings != null
|
|
6938
6307
|
? deserializeAws_restJson1ContainerSettings(output.containerSettings, context)
|
|
6939
6308
|
: undefined,
|
|
6940
6309
|
Extension: __expectString(output.extension),
|
|
6941
6310
|
NameModifier: __expectString(output.nameModifier),
|
|
6942
|
-
OutputSettings: output.outputSettings
|
|
6311
|
+
OutputSettings: output.outputSettings != null
|
|
6943
6312
|
? deserializeAws_restJson1OutputSettings(output.outputSettings, context)
|
|
6944
6313
|
: undefined,
|
|
6945
6314
|
Preset: __expectString(output.preset),
|
|
6946
|
-
VideoDescription: output.videoDescription
|
|
6315
|
+
VideoDescription: output.videoDescription != null
|
|
6947
6316
|
? deserializeAws_restJson1VideoDescription(output.videoDescription, context)
|
|
6948
6317
|
: undefined,
|
|
6949
6318
|
};
|
|
6950
6319
|
};
|
|
6951
6320
|
var deserializeAws_restJson1OutputChannelMapping = function (output, context) {
|
|
6952
6321
|
return {
|
|
6953
|
-
InputChannels: output.inputChannels
|
|
6322
|
+
InputChannels: output.inputChannels != null
|
|
6954
6323
|
? deserializeAws_restJson1__listOf__integerMinNegative60Max6(output.inputChannels, context)
|
|
6955
6324
|
: undefined,
|
|
6956
|
-
InputChannelsFineTune: output.inputChannelsFineTune
|
|
6325
|
+
InputChannelsFineTune: output.inputChannelsFineTune != null
|
|
6957
6326
|
? deserializeAws_restJson1__listOf__doubleMinNegative60Max6(output.inputChannelsFineTune, context)
|
|
6958
6327
|
: undefined,
|
|
6959
6328
|
};
|
|
@@ -6961,48 +6330,44 @@ var deserializeAws_restJson1OutputChannelMapping = function (output, context) {
|
|
|
6961
6330
|
var deserializeAws_restJson1OutputDetail = function (output, context) {
|
|
6962
6331
|
return {
|
|
6963
6332
|
DurationInMs: __expectInt32(output.durationInMs),
|
|
6964
|
-
VideoDetails: output.videoDetails
|
|
6965
|
-
? deserializeAws_restJson1VideoDetail(output.videoDetails, context)
|
|
6966
|
-
: undefined,
|
|
6333
|
+
VideoDetails: output.videoDetails != null ? deserializeAws_restJson1VideoDetail(output.videoDetails, context) : undefined,
|
|
6967
6334
|
};
|
|
6968
6335
|
};
|
|
6969
6336
|
var deserializeAws_restJson1OutputGroup = function (output, context) {
|
|
6970
6337
|
return {
|
|
6971
|
-
AutomatedEncodingSettings: output.automatedEncodingSettings
|
|
6338
|
+
AutomatedEncodingSettings: output.automatedEncodingSettings != null
|
|
6972
6339
|
? deserializeAws_restJson1AutomatedEncodingSettings(output.automatedEncodingSettings, context)
|
|
6973
6340
|
: undefined,
|
|
6974
6341
|
CustomName: __expectString(output.customName),
|
|
6975
6342
|
Name: __expectString(output.name),
|
|
6976
|
-
OutputGroupSettings: output.outputGroupSettings
|
|
6343
|
+
OutputGroupSettings: output.outputGroupSettings != null
|
|
6977
6344
|
? deserializeAws_restJson1OutputGroupSettings(output.outputGroupSettings, context)
|
|
6978
6345
|
: undefined,
|
|
6979
|
-
Outputs: output.outputs
|
|
6980
|
-
? deserializeAws_restJson1__listOfOutput(output.outputs, context)
|
|
6981
|
-
: undefined,
|
|
6346
|
+
Outputs: output.outputs != null ? deserializeAws_restJson1__listOfOutput(output.outputs, context) : undefined,
|
|
6982
6347
|
};
|
|
6983
6348
|
};
|
|
6984
6349
|
var deserializeAws_restJson1OutputGroupDetail = function (output, context) {
|
|
6985
6350
|
return {
|
|
6986
|
-
OutputDetails: output.outputDetails
|
|
6351
|
+
OutputDetails: output.outputDetails != null
|
|
6987
6352
|
? deserializeAws_restJson1__listOfOutputDetail(output.outputDetails, context)
|
|
6988
6353
|
: undefined,
|
|
6989
6354
|
};
|
|
6990
6355
|
};
|
|
6991
6356
|
var deserializeAws_restJson1OutputGroupSettings = function (output, context) {
|
|
6992
6357
|
return {
|
|
6993
|
-
CmafGroupSettings: output.cmafGroupSettings
|
|
6358
|
+
CmafGroupSettings: output.cmafGroupSettings != null
|
|
6994
6359
|
? deserializeAws_restJson1CmafGroupSettings(output.cmafGroupSettings, context)
|
|
6995
6360
|
: undefined,
|
|
6996
|
-
DashIsoGroupSettings: output.dashIsoGroupSettings
|
|
6361
|
+
DashIsoGroupSettings: output.dashIsoGroupSettings != null
|
|
6997
6362
|
? deserializeAws_restJson1DashIsoGroupSettings(output.dashIsoGroupSettings, context)
|
|
6998
6363
|
: undefined,
|
|
6999
|
-
FileGroupSettings: output.fileGroupSettings
|
|
6364
|
+
FileGroupSettings: output.fileGroupSettings != null
|
|
7000
6365
|
? deserializeAws_restJson1FileGroupSettings(output.fileGroupSettings, context)
|
|
7001
6366
|
: undefined,
|
|
7002
|
-
HlsGroupSettings: output.hlsGroupSettings
|
|
6367
|
+
HlsGroupSettings: output.hlsGroupSettings != null
|
|
7003
6368
|
? deserializeAws_restJson1HlsGroupSettings(output.hlsGroupSettings, context)
|
|
7004
6369
|
: undefined,
|
|
7005
|
-
MsSmoothGroupSettings: output.msSmoothGroupSettings
|
|
6370
|
+
MsSmoothGroupSettings: output.msSmoothGroupSettings != null
|
|
7006
6371
|
? deserializeAws_restJson1MsSmoothGroupSettings(output.msSmoothGroupSettings, context)
|
|
7007
6372
|
: undefined,
|
|
7008
6373
|
Type: __expectString(output.type),
|
|
@@ -7010,14 +6375,12 @@ var deserializeAws_restJson1OutputGroupSettings = function (output, context) {
|
|
|
7010
6375
|
};
|
|
7011
6376
|
var deserializeAws_restJson1OutputSettings = function (output, context) {
|
|
7012
6377
|
return {
|
|
7013
|
-
HlsSettings: output.hlsSettings
|
|
7014
|
-
? deserializeAws_restJson1HlsSettings(output.hlsSettings, context)
|
|
7015
|
-
: undefined,
|
|
6378
|
+
HlsSettings: output.hlsSettings != null ? deserializeAws_restJson1HlsSettings(output.hlsSettings, context) : undefined,
|
|
7016
6379
|
};
|
|
7017
6380
|
};
|
|
7018
6381
|
var deserializeAws_restJson1PartnerWatermarking = function (output, context) {
|
|
7019
6382
|
return {
|
|
7020
|
-
NexguardFileMarkerSettings: output.nexguardFileMarkerSettings
|
|
6383
|
+
NexguardFileMarkerSettings: output.nexguardFileMarkerSettings != null
|
|
7021
6384
|
? deserializeAws_restJson1NexGuardFileMarkerSettings(output.nexguardFileMarkerSettings, context)
|
|
7022
6385
|
: undefined,
|
|
7023
6386
|
};
|
|
@@ -7033,32 +6396,28 @@ var deserializeAws_restJson1Preset = function (output, context) {
|
|
|
7033
6396
|
return {
|
|
7034
6397
|
Arn: __expectString(output.arn),
|
|
7035
6398
|
Category: __expectString(output.category),
|
|
7036
|
-
CreatedAt: output.createdAt
|
|
7037
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7038
|
-
: undefined,
|
|
6399
|
+
CreatedAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7039
6400
|
Description: __expectString(output.description),
|
|
7040
|
-
LastUpdated: output.lastUpdated
|
|
6401
|
+
LastUpdated: output.lastUpdated != null
|
|
7041
6402
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
7042
6403
|
: undefined,
|
|
7043
6404
|
Name: __expectString(output.name),
|
|
7044
|
-
Settings: output.settings
|
|
7045
|
-
? deserializeAws_restJson1PresetSettings(output.settings, context)
|
|
7046
|
-
: undefined,
|
|
6405
|
+
Settings: output.settings != null ? deserializeAws_restJson1PresetSettings(output.settings, context) : undefined,
|
|
7047
6406
|
Type: __expectString(output.type),
|
|
7048
6407
|
};
|
|
7049
6408
|
};
|
|
7050
6409
|
var deserializeAws_restJson1PresetSettings = function (output, context) {
|
|
7051
6410
|
return {
|
|
7052
|
-
AudioDescriptions: output.audioDescriptions
|
|
6411
|
+
AudioDescriptions: output.audioDescriptions != null
|
|
7053
6412
|
? deserializeAws_restJson1__listOfAudioDescription(output.audioDescriptions, context)
|
|
7054
6413
|
: undefined,
|
|
7055
|
-
CaptionDescriptions: output.captionDescriptions
|
|
6414
|
+
CaptionDescriptions: output.captionDescriptions != null
|
|
7056
6415
|
? deserializeAws_restJson1__listOfCaptionDescriptionPreset(output.captionDescriptions, context)
|
|
7057
6416
|
: undefined,
|
|
7058
|
-
ContainerSettings: output.containerSettings
|
|
6417
|
+
ContainerSettings: output.containerSettings != null
|
|
7059
6418
|
? deserializeAws_restJson1ContainerSettings(output.containerSettings, context)
|
|
7060
6419
|
: undefined,
|
|
7061
|
-
VideoDescription: output.videoDescription
|
|
6420
|
+
VideoDescription: output.videoDescription != null
|
|
7062
6421
|
? deserializeAws_restJson1VideoDescription(output.videoDescription, context)
|
|
7063
6422
|
: undefined,
|
|
7064
6423
|
};
|
|
@@ -7083,17 +6442,15 @@ var deserializeAws_restJson1ProresSettings = function (output, context) {
|
|
|
7083
6442
|
var deserializeAws_restJson1Queue = function (output, context) {
|
|
7084
6443
|
return {
|
|
7085
6444
|
Arn: __expectString(output.arn),
|
|
7086
|
-
CreatedAt: output.createdAt
|
|
7087
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7088
|
-
: undefined,
|
|
6445
|
+
CreatedAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7089
6446
|
Description: __expectString(output.description),
|
|
7090
|
-
LastUpdated: output.lastUpdated
|
|
6447
|
+
LastUpdated: output.lastUpdated != null
|
|
7091
6448
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
7092
6449
|
: undefined,
|
|
7093
6450
|
Name: __expectString(output.name),
|
|
7094
6451
|
PricingPlan: __expectString(output.pricingPlan),
|
|
7095
6452
|
ProgressingJobsCount: __expectInt32(output.progressingJobsCount),
|
|
7096
|
-
ReservationPlan: output.reservationPlan
|
|
6453
|
+
ReservationPlan: output.reservationPlan != null
|
|
7097
6454
|
? deserializeAws_restJson1ReservationPlan(output.reservationPlan, context)
|
|
7098
6455
|
: undefined,
|
|
7099
6456
|
Status: __expectString(output.status),
|
|
@@ -7105,9 +6462,7 @@ var deserializeAws_restJson1QueueTransition = function (output, context) {
|
|
|
7105
6462
|
return {
|
|
7106
6463
|
DestinationQueue: __expectString(output.destinationQueue),
|
|
7107
6464
|
SourceQueue: __expectString(output.sourceQueue),
|
|
7108
|
-
Timestamp: output.timestamp
|
|
7109
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
|
|
7110
|
-
: undefined,
|
|
6465
|
+
Timestamp: output.timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp))) : undefined,
|
|
7111
6466
|
};
|
|
7112
6467
|
};
|
|
7113
6468
|
var deserializeAws_restJson1Rectangle = function (output, context) {
|
|
@@ -7120,7 +6475,7 @@ var deserializeAws_restJson1Rectangle = function (output, context) {
|
|
|
7120
6475
|
};
|
|
7121
6476
|
var deserializeAws_restJson1RemixSettings = function (output, context) {
|
|
7122
6477
|
return {
|
|
7123
|
-
ChannelMapping: output.channelMapping
|
|
6478
|
+
ChannelMapping: output.channelMapping != null
|
|
7124
6479
|
? deserializeAws_restJson1ChannelMapping(output.channelMapping, context)
|
|
7125
6480
|
: undefined,
|
|
7126
6481
|
ChannelsIn: __expectInt32(output.channelsIn),
|
|
@@ -7130,10 +6485,8 @@ var deserializeAws_restJson1RemixSettings = function (output, context) {
|
|
|
7130
6485
|
var deserializeAws_restJson1ReservationPlan = function (output, context) {
|
|
7131
6486
|
return {
|
|
7132
6487
|
Commitment: __expectString(output.commitment),
|
|
7133
|
-
ExpiresAt: output.expiresAt
|
|
7134
|
-
|
|
7135
|
-
: undefined,
|
|
7136
|
-
PurchasedAt: output.purchasedAt !== undefined && output.purchasedAt !== null
|
|
6488
|
+
ExpiresAt: output.expiresAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt))) : undefined,
|
|
6489
|
+
PurchasedAt: output.purchasedAt != null
|
|
7137
6490
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.purchasedAt)))
|
|
7138
6491
|
: undefined,
|
|
7139
6492
|
RenewalType: __expectString(output.renewalType),
|
|
@@ -7144,9 +6497,7 @@ var deserializeAws_restJson1ReservationPlan = function (output, context) {
|
|
|
7144
6497
|
var deserializeAws_restJson1ResourceTags = function (output, context) {
|
|
7145
6498
|
return {
|
|
7146
6499
|
Arn: __expectString(output.arn),
|
|
7147
|
-
Tags: output.tags
|
|
7148
|
-
? deserializeAws_restJson1__mapOf__string(output.tags, context)
|
|
7149
|
-
: undefined,
|
|
6500
|
+
Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
|
|
7150
6501
|
};
|
|
7151
6502
|
};
|
|
7152
6503
|
var deserializeAws_restJson1S3DestinationAccessControl = function (output, context) {
|
|
@@ -7156,12 +6507,10 @@ var deserializeAws_restJson1S3DestinationAccessControl = function (output, conte
|
|
|
7156
6507
|
};
|
|
7157
6508
|
var deserializeAws_restJson1S3DestinationSettings = function (output, context) {
|
|
7158
6509
|
return {
|
|
7159
|
-
AccessControl: output.accessControl
|
|
6510
|
+
AccessControl: output.accessControl != null
|
|
7160
6511
|
? deserializeAws_restJson1S3DestinationAccessControl(output.accessControl, context)
|
|
7161
6512
|
: undefined,
|
|
7162
|
-
Encryption: output.encryption
|
|
7163
|
-
? deserializeAws_restJson1S3EncryptionSettings(output.encryption, context)
|
|
7164
|
-
: undefined,
|
|
6513
|
+
Encryption: output.encryption != null ? deserializeAws_restJson1S3EncryptionSettings(output.encryption, context) : undefined,
|
|
7165
6514
|
};
|
|
7166
6515
|
};
|
|
7167
6516
|
var deserializeAws_restJson1S3EncryptionSettings = function (output, context) {
|
|
@@ -7180,7 +6529,7 @@ var deserializeAws_restJson1SpekeKeyProvider = function (output, context) {
|
|
|
7180
6529
|
return {
|
|
7181
6530
|
CertificateArn: __expectString(output.certificateArn),
|
|
7182
6531
|
ResourceId: __expectString(output.resourceId),
|
|
7183
|
-
SystemIds: output.systemIds
|
|
6532
|
+
SystemIds: output.systemIds != null
|
|
7184
6533
|
? deserializeAws_restJson1__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12(output.systemIds, context)
|
|
7185
6534
|
: undefined,
|
|
7186
6535
|
Url: __expectString(output.url),
|
|
@@ -7189,10 +6538,10 @@ var deserializeAws_restJson1SpekeKeyProvider = function (output, context) {
|
|
|
7189
6538
|
var deserializeAws_restJson1SpekeKeyProviderCmaf = function (output, context) {
|
|
7190
6539
|
return {
|
|
7191
6540
|
CertificateArn: __expectString(output.certificateArn),
|
|
7192
|
-
DashSignaledSystemIds: output.dashSignaledSystemIds
|
|
6541
|
+
DashSignaledSystemIds: output.dashSignaledSystemIds != null
|
|
7193
6542
|
? deserializeAws_restJson1__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(output.dashSignaledSystemIds, context)
|
|
7194
6543
|
: undefined,
|
|
7195
|
-
HlsSignaledSystemIds: output.hlsSignaledSystemIds
|
|
6544
|
+
HlsSignaledSystemIds: output.hlsSignaledSystemIds != null
|
|
7196
6545
|
? deserializeAws_restJson1__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(output.hlsSignaledSystemIds, context)
|
|
7197
6546
|
: undefined,
|
|
7198
6547
|
ResourceId: __expectString(output.resourceId),
|
|
@@ -7215,7 +6564,7 @@ var deserializeAws_restJson1StaticKeyProvider = function (output, context) {
|
|
|
7215
6564
|
var deserializeAws_restJson1TeletextDestinationSettings = function (output, context) {
|
|
7216
6565
|
return {
|
|
7217
6566
|
PageNumber: __expectString(output.pageNumber),
|
|
7218
|
-
PageTypes: output.pageTypes
|
|
6567
|
+
PageTypes: output.pageTypes != null
|
|
7219
6568
|
? deserializeAws_restJson1__listOfTeletextPageType(output.pageTypes, context)
|
|
7220
6569
|
: undefined,
|
|
7221
6570
|
};
|
|
@@ -7242,22 +6591,16 @@ var deserializeAws_restJson1TimecodeConfig = function (output, context) {
|
|
|
7242
6591
|
};
|
|
7243
6592
|
var deserializeAws_restJson1TimedMetadataInsertion = function (output, context) {
|
|
7244
6593
|
return {
|
|
7245
|
-
Id3Insertions: output.id3Insertions
|
|
6594
|
+
Id3Insertions: output.id3Insertions != null
|
|
7246
6595
|
? deserializeAws_restJson1__listOfId3Insertion(output.id3Insertions, context)
|
|
7247
6596
|
: undefined,
|
|
7248
6597
|
};
|
|
7249
6598
|
};
|
|
7250
6599
|
var deserializeAws_restJson1Timing = function (output, context) {
|
|
7251
6600
|
return {
|
|
7252
|
-
FinishTime: output.finishTime
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
StartTime: output.startTime !== undefined && output.startTime !== null
|
|
7256
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
7257
|
-
: undefined,
|
|
7258
|
-
SubmitTime: output.submitTime !== undefined && output.submitTime !== null
|
|
7259
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.submitTime)))
|
|
7260
|
-
: 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,
|
|
7261
6604
|
};
|
|
7262
6605
|
};
|
|
7263
6606
|
var deserializeAws_restJson1TrackSourceSettings = function (output, context) {
|
|
@@ -7285,64 +6628,44 @@ var deserializeAws_restJson1Vc3Settings = function (output, context) {
|
|
|
7285
6628
|
};
|
|
7286
6629
|
var deserializeAws_restJson1VideoCodecSettings = function (output, context) {
|
|
7287
6630
|
return {
|
|
7288
|
-
Av1Settings: output.av1Settings
|
|
7289
|
-
|
|
7290
|
-
: undefined,
|
|
7291
|
-
AvcIntraSettings: output.avcIntraSettings !== undefined && output.avcIntraSettings !== null
|
|
6631
|
+
Av1Settings: output.av1Settings != null ? deserializeAws_restJson1Av1Settings(output.av1Settings, context) : undefined,
|
|
6632
|
+
AvcIntraSettings: output.avcIntraSettings != null
|
|
7292
6633
|
? deserializeAws_restJson1AvcIntraSettings(output.avcIntraSettings, context)
|
|
7293
6634
|
: undefined,
|
|
7294
6635
|
Codec: __expectString(output.codec),
|
|
7295
|
-
FrameCaptureSettings: output.frameCaptureSettings
|
|
6636
|
+
FrameCaptureSettings: output.frameCaptureSettings != null
|
|
7296
6637
|
? deserializeAws_restJson1FrameCaptureSettings(output.frameCaptureSettings, context)
|
|
7297
6638
|
: undefined,
|
|
7298
|
-
H264Settings: output.h264Settings
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
? deserializeAws_restJson1H265Settings(output.h265Settings, context)
|
|
7303
|
-
: undefined,
|
|
7304
|
-
Mpeg2Settings: output.mpeg2Settings !== undefined && output.mpeg2Settings !== null
|
|
7305
|
-
? deserializeAws_restJson1Mpeg2Settings(output.mpeg2Settings, context)
|
|
7306
|
-
: undefined,
|
|
7307
|
-
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
|
|
7308
6643
|
? deserializeAws_restJson1ProresSettings(output.proresSettings, context)
|
|
7309
6644
|
: undefined,
|
|
7310
|
-
Vc3Settings: output.vc3Settings
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
? deserializeAws_restJson1Vp8Settings(output.vp8Settings, context)
|
|
7315
|
-
: undefined,
|
|
7316
|
-
Vp9Settings: output.vp9Settings !== undefined && output.vp9Settings !== null
|
|
7317
|
-
? deserializeAws_restJson1Vp9Settings(output.vp9Settings, context)
|
|
7318
|
-
: undefined,
|
|
7319
|
-
XavcSettings: output.xavcSettings !== undefined && output.xavcSettings !== null
|
|
7320
|
-
? deserializeAws_restJson1XavcSettings(output.xavcSettings, context)
|
|
7321
|
-
: 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,
|
|
7322
6649
|
};
|
|
7323
6650
|
};
|
|
7324
6651
|
var deserializeAws_restJson1VideoDescription = function (output, context) {
|
|
7325
6652
|
return {
|
|
7326
6653
|
AfdSignaling: __expectString(output.afdSignaling),
|
|
7327
6654
|
AntiAlias: __expectString(output.antiAlias),
|
|
7328
|
-
CodecSettings: output.codecSettings
|
|
6655
|
+
CodecSettings: output.codecSettings != null
|
|
7329
6656
|
? deserializeAws_restJson1VideoCodecSettings(output.codecSettings, context)
|
|
7330
6657
|
: undefined,
|
|
7331
6658
|
ColorMetadata: __expectString(output.colorMetadata),
|
|
7332
|
-
Crop: output.crop
|
|
7333
|
-
? deserializeAws_restJson1Rectangle(output.crop, context)
|
|
7334
|
-
: undefined,
|
|
6659
|
+
Crop: output.crop != null ? deserializeAws_restJson1Rectangle(output.crop, context) : undefined,
|
|
7335
6660
|
DropFrameTimecode: __expectString(output.dropFrameTimecode),
|
|
7336
6661
|
FixedAfd: __expectInt32(output.fixedAfd),
|
|
7337
6662
|
Height: __expectInt32(output.height),
|
|
7338
|
-
Position: output.position
|
|
7339
|
-
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
7340
|
-
: undefined,
|
|
6663
|
+
Position: output.position != null ? deserializeAws_restJson1Rectangle(output.position, context) : undefined,
|
|
7341
6664
|
RespondToAfd: __expectString(output.respondToAfd),
|
|
7342
6665
|
ScalingBehavior: __expectString(output.scalingBehavior),
|
|
7343
6666
|
Sharpness: __expectInt32(output.sharpness),
|
|
7344
6667
|
TimecodeInsertion: __expectString(output.timecodeInsertion),
|
|
7345
|
-
VideoPreprocessors: output.videoPreprocessors
|
|
6668
|
+
VideoPreprocessors: output.videoPreprocessors != null
|
|
7346
6669
|
? deserializeAws_restJson1VideoPreprocessor(output.videoPreprocessors, context)
|
|
7347
6670
|
: undefined,
|
|
7348
6671
|
Width: __expectInt32(output.width),
|
|
@@ -7356,28 +6679,18 @@ var deserializeAws_restJson1VideoDetail = function (output, context) {
|
|
|
7356
6679
|
};
|
|
7357
6680
|
var deserializeAws_restJson1VideoPreprocessor = function (output, context) {
|
|
7358
6681
|
return {
|
|
7359
|
-
ColorCorrector: output.colorCorrector
|
|
6682
|
+
ColorCorrector: output.colorCorrector != null
|
|
7360
6683
|
? deserializeAws_restJson1ColorCorrector(output.colorCorrector, context)
|
|
7361
6684
|
: undefined,
|
|
7362
|
-
Deinterlacer: output.deinterlacer
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
Hdr10Plus: output.hdr10Plus !== undefined && output.hdr10Plus !== null
|
|
7369
|
-
? deserializeAws_restJson1Hdr10Plus(output.hdr10Plus, context)
|
|
7370
|
-
: undefined,
|
|
7371
|
-
ImageInserter: output.imageInserter !== undefined && output.imageInserter !== null
|
|
7372
|
-
? deserializeAws_restJson1ImageInserter(output.imageInserter, context)
|
|
7373
|
-
: undefined,
|
|
7374
|
-
NoiseReducer: output.noiseReducer !== undefined && output.noiseReducer !== null
|
|
7375
|
-
? deserializeAws_restJson1NoiseReducer(output.noiseReducer, context)
|
|
7376
|
-
: undefined,
|
|
7377
|
-
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
|
|
7378
6691
|
? deserializeAws_restJson1PartnerWatermarking(output.partnerWatermarking, context)
|
|
7379
6692
|
: undefined,
|
|
7380
|
-
TimecodeBurnin: output.timecodeBurnin
|
|
6693
|
+
TimecodeBurnin: output.timecodeBurnin != null
|
|
7381
6694
|
? deserializeAws_restJson1TimecodeBurnin(output.timecodeBurnin, context)
|
|
7382
6695
|
: undefined,
|
|
7383
6696
|
};
|
|
@@ -7388,9 +6701,7 @@ var deserializeAws_restJson1VideoSelector = function (output, context) {
|
|
|
7388
6701
|
ColorSpace: __expectString(output.colorSpace),
|
|
7389
6702
|
ColorSpaceUsage: __expectString(output.colorSpaceUsage),
|
|
7390
6703
|
EmbeddedTimecodeOverride: __expectString(output.embeddedTimecodeOverride),
|
|
7391
|
-
Hdr10Metadata: output.hdr10Metadata
|
|
7392
|
-
? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context)
|
|
7393
|
-
: undefined,
|
|
6704
|
+
Hdr10Metadata: output.hdr10Metadata != null ? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context) : undefined,
|
|
7394
6705
|
PadVideo: __expectString(output.padVideo),
|
|
7395
6706
|
Pid: __expectInt32(output.pid),
|
|
7396
6707
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
@@ -7513,19 +6824,19 @@ var deserializeAws_restJson1XavcSettings = function (output, context) {
|
|
|
7513
6824
|
Softness: __expectInt32(output.softness),
|
|
7514
6825
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
7515
6826
|
TemporalAdaptiveQuantization: __expectString(output.temporalAdaptiveQuantization),
|
|
7516
|
-
Xavc4kIntraCbgProfileSettings: output.xavc4kIntraCbgProfileSettings
|
|
6827
|
+
Xavc4kIntraCbgProfileSettings: output.xavc4kIntraCbgProfileSettings != null
|
|
7517
6828
|
? deserializeAws_restJson1Xavc4kIntraCbgProfileSettings(output.xavc4kIntraCbgProfileSettings, context)
|
|
7518
6829
|
: undefined,
|
|
7519
|
-
Xavc4kIntraVbrProfileSettings: output.xavc4kIntraVbrProfileSettings
|
|
6830
|
+
Xavc4kIntraVbrProfileSettings: output.xavc4kIntraVbrProfileSettings != null
|
|
7520
6831
|
? deserializeAws_restJson1Xavc4kIntraVbrProfileSettings(output.xavc4kIntraVbrProfileSettings, context)
|
|
7521
6832
|
: undefined,
|
|
7522
|
-
Xavc4kProfileSettings: output.xavc4kProfileSettings
|
|
6833
|
+
Xavc4kProfileSettings: output.xavc4kProfileSettings != null
|
|
7523
6834
|
? deserializeAws_restJson1Xavc4kProfileSettings(output.xavc4kProfileSettings, context)
|
|
7524
6835
|
: undefined,
|
|
7525
|
-
XavcHdIntraCbgProfileSettings: output.xavcHdIntraCbgProfileSettings
|
|
6836
|
+
XavcHdIntraCbgProfileSettings: output.xavcHdIntraCbgProfileSettings != null
|
|
7526
6837
|
? deserializeAws_restJson1XavcHdIntraCbgProfileSettings(output.xavcHdIntraCbgProfileSettings, context)
|
|
7527
6838
|
: undefined,
|
|
7528
|
-
XavcHdProfileSettings: output.xavcHdProfileSettings
|
|
6839
|
+
XavcHdProfileSettings: output.xavcHdProfileSettings != null
|
|
7529
6840
|
? deserializeAws_restJson1XavcHdProfileSettings(output.xavcHdProfileSettings, context)
|
|
7530
6841
|
: undefined,
|
|
7531
6842
|
};
|
|
@@ -7568,6 +6879,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
7568
6879
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
7569
6880
|
var sanitizeErrorCode = function (rawValue) {
|
|
7570
6881
|
var cleanValue = rawValue;
|
|
6882
|
+
if (typeof cleanValue === "number") {
|
|
6883
|
+
cleanValue = cleanValue.toString();
|
|
6884
|
+
}
|
|
7571
6885
|
if (cleanValue.indexOf(":") >= 0) {
|
|
7572
6886
|
cleanValue = cleanValue.split(":")[0];
|
|
7573
6887
|
}
|