@aws-sdk/client-medialive 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 +1127 -1729
- package/dist-es/protocols/Aws_restJson1.js +648 -1250
- package/package.json +27 -27
|
@@ -46,13 +46,9 @@ export var serializeAws_restJson1BatchDeleteCommand = function (input, context)
|
|
|
46
46
|
"content-type": "application/json",
|
|
47
47
|
};
|
|
48
48
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/delete";
|
|
49
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ChannelIds
|
|
50
|
-
input.ChannelIds !== null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.InputIds !== undefined &&
|
|
51
|
-
input.InputIds !== null && { inputIds: serializeAws_restJson1__listOf__string(input.InputIds, context) })), (input.InputSecurityGroupIds !== undefined &&
|
|
52
|
-
input.InputSecurityGroupIds !== null && {
|
|
49
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ChannelIds != null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.InputIds != null && { inputIds: serializeAws_restJson1__listOf__string(input.InputIds, context) })), (input.InputSecurityGroupIds != null && {
|
|
53
50
|
inputSecurityGroupIds: serializeAws_restJson1__listOf__string(input.InputSecurityGroupIds, context),
|
|
54
|
-
})), (input.MultiplexIds
|
|
55
|
-
input.MultiplexIds !== null && {
|
|
51
|
+
})), (input.MultiplexIds != null && {
|
|
56
52
|
multiplexIds: serializeAws_restJson1__listOf__string(input.MultiplexIds, context),
|
|
57
53
|
})));
|
|
58
54
|
return [2, new __HttpRequest({
|
|
@@ -78,9 +74,7 @@ export var serializeAws_restJson1BatchStartCommand = function (input, context) {
|
|
|
78
74
|
"content-type": "application/json",
|
|
79
75
|
};
|
|
80
76
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/start";
|
|
81
|
-
body = JSON.stringify(__assign(__assign({}, (input.ChannelIds
|
|
82
|
-
input.ChannelIds !== null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.MultiplexIds !== undefined &&
|
|
83
|
-
input.MultiplexIds !== null && {
|
|
77
|
+
body = JSON.stringify(__assign(__assign({}, (input.ChannelIds != null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.MultiplexIds != null && {
|
|
84
78
|
multiplexIds: serializeAws_restJson1__listOf__string(input.MultiplexIds, context),
|
|
85
79
|
})));
|
|
86
80
|
return [2, new __HttpRequest({
|
|
@@ -106,9 +100,7 @@ export var serializeAws_restJson1BatchStopCommand = function (input, context) {
|
|
|
106
100
|
"content-type": "application/json",
|
|
107
101
|
};
|
|
108
102
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/batch/stop";
|
|
109
|
-
body = JSON.stringify(__assign(__assign({}, (input.ChannelIds
|
|
110
|
-
input.ChannelIds !== null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.MultiplexIds !== undefined &&
|
|
111
|
-
input.MultiplexIds !== null && {
|
|
103
|
+
body = JSON.stringify(__assign(__assign({}, (input.ChannelIds != null && { channelIds: serializeAws_restJson1__listOf__string(input.ChannelIds, context) })), (input.MultiplexIds != null && {
|
|
112
104
|
multiplexIds: serializeAws_restJson1__listOf__string(input.MultiplexIds, context),
|
|
113
105
|
})));
|
|
114
106
|
return [2, new __HttpRequest({
|
|
@@ -144,11 +136,9 @@ export var serializeAws_restJson1BatchUpdateScheduleCommand = function (input, c
|
|
|
144
136
|
else {
|
|
145
137
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
146
138
|
}
|
|
147
|
-
body = JSON.stringify(__assign(__assign({}, (input.Creates
|
|
148
|
-
input.Creates !== null && {
|
|
139
|
+
body = JSON.stringify(__assign(__assign({}, (input.Creates != null && {
|
|
149
140
|
creates: serializeAws_restJson1BatchScheduleActionCreateRequest(input.Creates, context),
|
|
150
|
-
})), (input.Deletes
|
|
151
|
-
input.Deletes !== null && {
|
|
141
|
+
})), (input.Deletes != null && {
|
|
152
142
|
deletes: serializeAws_restJson1BatchScheduleActionDeleteRequest(input.Deletes, context),
|
|
153
143
|
})));
|
|
154
144
|
return [2, new __HttpRequest({
|
|
@@ -205,7 +195,7 @@ export var serializeAws_restJson1ClaimDeviceCommand = function (input, context)
|
|
|
205
195
|
"content-type": "application/json",
|
|
206
196
|
};
|
|
207
197
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/claimDevice";
|
|
208
|
-
body = JSON.stringify(__assign({}, (input.Id
|
|
198
|
+
body = JSON.stringify(__assign({}, (input.Id != null && { id: input.Id })));
|
|
209
199
|
return [2, new __HttpRequest({
|
|
210
200
|
protocol: protocol,
|
|
211
201
|
hostname: hostname,
|
|
@@ -230,26 +220,19 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
|
|
|
230
220
|
"content-type": "application/json",
|
|
231
221
|
};
|
|
232
222
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/channels";
|
|
233
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification
|
|
234
|
-
input.CdiInputSpecification !== null && {
|
|
223
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification != null && {
|
|
235
224
|
cdiInputSpecification: serializeAws_restJson1CdiInputSpecification(input.CdiInputSpecification, context),
|
|
236
|
-
})), (input.ChannelClass
|
|
237
|
-
input.Destinations !== null && {
|
|
225
|
+
})), (input.ChannelClass != null && { channelClass: input.ChannelClass })), (input.Destinations != null && {
|
|
238
226
|
destinations: serializeAws_restJson1__listOfOutputDestination(input.Destinations, context),
|
|
239
|
-
})), (input.EncoderSettings
|
|
240
|
-
input.EncoderSettings !== null && {
|
|
227
|
+
})), (input.EncoderSettings != null && {
|
|
241
228
|
encoderSettings: serializeAws_restJson1EncoderSettings(input.EncoderSettings, context),
|
|
242
|
-
})), (input.InputAttachments
|
|
243
|
-
input.InputAttachments !== null && {
|
|
229
|
+
})), (input.InputAttachments != null && {
|
|
244
230
|
inputAttachments: serializeAws_restJson1__listOfInputAttachment(input.InputAttachments, context),
|
|
245
|
-
})), (input.InputSpecification
|
|
246
|
-
input.InputSpecification !== null && {
|
|
231
|
+
})), (input.InputSpecification != null && {
|
|
247
232
|
inputSpecification: serializeAws_restJson1InputSpecification(input.InputSpecification, context),
|
|
248
|
-
})), (input.LogLevel
|
|
249
|
-
input.Maintenance !== null && {
|
|
233
|
+
})), (input.LogLevel != null && { logLevel: input.LogLevel })), (input.Maintenance != null && {
|
|
250
234
|
maintenance: serializeAws_restJson1MaintenanceCreateSettings(input.Maintenance, context),
|
|
251
|
-
})), (input.Name
|
|
252
|
-
input.Vpc !== null && { vpc: serializeAws_restJson1VpcOutputSettings(input.Vpc, context) })));
|
|
235
|
+
})), (input.Name != null && { name: input.Name })), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Reserved != null && { reserved: input.Reserved })), (input.RoleArn != null && { roleArn: input.RoleArn })), (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.Vpc != null && { vpc: serializeAws_restJson1VpcOutputSettings(input.Vpc, context) })));
|
|
253
236
|
return [2, new __HttpRequest({
|
|
254
237
|
protocol: protocol,
|
|
255
238
|
hostname: hostname,
|
|
@@ -274,21 +257,15 @@ export var serializeAws_restJson1CreateInputCommand = function (input, context)
|
|
|
274
257
|
"content-type": "application/json",
|
|
275
258
|
};
|
|
276
259
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputs";
|
|
277
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destinations
|
|
278
|
-
input.Destinations !== null && {
|
|
260
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destinations != null && {
|
|
279
261
|
destinations: serializeAws_restJson1__listOfInputDestinationRequest(input.Destinations, context),
|
|
280
|
-
})), (input.InputDevices
|
|
281
|
-
input.InputDevices !== null && {
|
|
262
|
+
})), (input.InputDevices != null && {
|
|
282
263
|
inputDevices: serializeAws_restJson1__listOfInputDeviceSettings(input.InputDevices, context),
|
|
283
|
-
})), (input.InputSecurityGroups
|
|
284
|
-
input.InputSecurityGroups !== null && {
|
|
264
|
+
})), (input.InputSecurityGroups != null && {
|
|
285
265
|
inputSecurityGroups: serializeAws_restJson1__listOf__string(input.InputSecurityGroups, context),
|
|
286
|
-
})), (input.MediaConnectFlows
|
|
287
|
-
input.MediaConnectFlows !== null && {
|
|
266
|
+
})), (input.MediaConnectFlows != null && {
|
|
288
267
|
mediaConnectFlows: serializeAws_restJson1__listOfMediaConnectFlowRequest(input.MediaConnectFlows, context),
|
|
289
|
-
})), (input.Name
|
|
290
|
-
input.Sources !== null && { sources: serializeAws_restJson1__listOfInputSourceRequest(input.Sources, context) })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { type: input.Type })), (input.Vpc !== undefined &&
|
|
291
|
-
input.Vpc !== null && { vpc: serializeAws_restJson1InputVpcRequest(input.Vpc, context) })));
|
|
268
|
+
})), (input.Name != null && { name: input.Name })), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.RoleArn != null && { roleArn: input.RoleArn })), (input.Sources != null && { sources: serializeAws_restJson1__listOfInputSourceRequest(input.Sources, context) })), (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.Type != null && { type: input.Type })), (input.Vpc != null && { vpc: serializeAws_restJson1InputVpcRequest(input.Vpc, context) })));
|
|
292
269
|
return [2, new __HttpRequest({
|
|
293
270
|
protocol: protocol,
|
|
294
271
|
hostname: hostname,
|
|
@@ -312,8 +289,7 @@ export var serializeAws_restJson1CreateInputSecurityGroupCommand = function (inp
|
|
|
312
289
|
"content-type": "application/json",
|
|
313
290
|
};
|
|
314
291
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/inputSecurityGroups";
|
|
315
|
-
body = JSON.stringify(__assign(__assign({}, (input.Tags
|
|
316
|
-
input.WhitelistRules !== null && {
|
|
292
|
+
body = JSON.stringify(__assign(__assign({}, (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.WhitelistRules != null && {
|
|
317
293
|
whitelistRules: serializeAws_restJson1__listOfInputWhitelistRuleCidr(input.WhitelistRules, context),
|
|
318
294
|
})));
|
|
319
295
|
return [2, new __HttpRequest({
|
|
@@ -340,13 +316,11 @@ export var serializeAws_restJson1CreateMultiplexCommand = function (input, conte
|
|
|
340
316
|
"content-type": "application/json",
|
|
341
317
|
};
|
|
342
318
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/multiplexes";
|
|
343
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZones
|
|
344
|
-
input.AvailabilityZones !== null && {
|
|
319
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZones != null && {
|
|
345
320
|
availabilityZones: serializeAws_restJson1__listOf__string(input.AvailabilityZones, context),
|
|
346
|
-
})), (input.MultiplexSettings
|
|
347
|
-
input.MultiplexSettings !== null && {
|
|
321
|
+
})), (input.MultiplexSettings != null && {
|
|
348
322
|
multiplexSettings: serializeAws_restJson1MultiplexSettings(input.MultiplexSettings, context),
|
|
349
|
-
})), (input.Name
|
|
323
|
+
})), (input.Name != null && { name: input.Name })), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
350
324
|
return [2, new __HttpRequest({
|
|
351
325
|
protocol: protocol,
|
|
352
326
|
hostname: hostname,
|
|
@@ -381,10 +355,9 @@ export var serializeAws_restJson1CreateMultiplexProgramCommand = function (input
|
|
|
381
355
|
else {
|
|
382
356
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
383
357
|
}
|
|
384
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.MultiplexProgramSettings
|
|
385
|
-
input.MultiplexProgramSettings !== null && {
|
|
358
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.MultiplexProgramSettings != null && {
|
|
386
359
|
multiplexProgramSettings: serializeAws_restJson1MultiplexProgramSettings(input.MultiplexProgramSettings, context),
|
|
387
|
-
})), (input.ProgramName
|
|
360
|
+
})), (input.ProgramName != null && { programName: input.ProgramName })), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }));
|
|
388
361
|
return [2, new __HttpRequest({
|
|
389
362
|
protocol: protocol,
|
|
390
363
|
hostname: hostname,
|
|
@@ -419,7 +392,7 @@ export var serializeAws_restJson1CreatePartnerInputCommand = function (input, co
|
|
|
419
392
|
else {
|
|
420
393
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
421
394
|
}
|
|
422
|
-
body = JSON.stringify(__assign({ requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Tags
|
|
395
|
+
body = JSON.stringify(__assign({ requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
423
396
|
return [2, new __HttpRequest({
|
|
424
397
|
protocol: protocol,
|
|
425
398
|
hostname: hostname,
|
|
@@ -453,7 +426,7 @@ export var serializeAws_restJson1CreateTagsCommand = function (input, context) {
|
|
|
453
426
|
else {
|
|
454
427
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
455
428
|
}
|
|
456
|
-
body = JSON.stringify(__assign({}, (input.Tags
|
|
429
|
+
body = JSON.stringify(__assign({}, (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
457
430
|
return [2, new __HttpRequest({
|
|
458
431
|
protocol: protocol,
|
|
459
432
|
hostname: hostname,
|
|
@@ -1323,10 +1296,9 @@ export var serializeAws_restJson1PurchaseOfferingCommand = function (input, cont
|
|
|
1323
1296
|
else {
|
|
1324
1297
|
throw new Error("No value provided for input HTTP label: OfferingId.");
|
|
1325
1298
|
}
|
|
1326
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Count
|
|
1327
|
-
input.RenewalSettings !== null && {
|
|
1299
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Count != null && { count: input.Count })), (input.Name != null && { name: input.Name })), (input.RenewalSettings != null && {
|
|
1328
1300
|
renewalSettings: serializeAws_restJson1RenewalSettings(input.RenewalSettings, context),
|
|
1329
|
-
})), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Start
|
|
1301
|
+
})), { requestId: (_c = input.RequestId) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Start != null && { start: input.Start })), (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
1330
1302
|
return [2, new __HttpRequest({
|
|
1331
1303
|
protocol: protocol,
|
|
1332
1304
|
hostname: hostname,
|
|
@@ -1516,9 +1488,7 @@ export var serializeAws_restJson1TransferInputDeviceCommand = function (input, c
|
|
|
1516
1488
|
else {
|
|
1517
1489
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
1518
1490
|
}
|
|
1519
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.TargetCustomerId
|
|
1520
|
-
input.TargetCustomerId !== null && { targetCustomerId: input.TargetCustomerId })), (input.TargetRegion !== undefined && input.TargetRegion !== null && { targetRegion: input.TargetRegion })), (input.TransferMessage !== undefined &&
|
|
1521
|
-
input.TransferMessage !== null && { transferMessage: input.TransferMessage })));
|
|
1491
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.TargetCustomerId != null && { targetCustomerId: input.TargetCustomerId })), (input.TargetRegion != null && { targetRegion: input.TargetRegion })), (input.TransferMessage != null && { transferMessage: input.TransferMessage })));
|
|
1522
1492
|
return [2, new __HttpRequest({
|
|
1523
1493
|
protocol: protocol,
|
|
1524
1494
|
hostname: hostname,
|
|
@@ -1552,25 +1522,19 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
|
|
|
1552
1522
|
else {
|
|
1553
1523
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
1554
1524
|
}
|
|
1555
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification
|
|
1556
|
-
input.CdiInputSpecification !== null && {
|
|
1525
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CdiInputSpecification != null && {
|
|
1557
1526
|
cdiInputSpecification: serializeAws_restJson1CdiInputSpecification(input.CdiInputSpecification, context),
|
|
1558
|
-
})), (input.Destinations
|
|
1559
|
-
input.Destinations !== null && {
|
|
1527
|
+
})), (input.Destinations != null && {
|
|
1560
1528
|
destinations: serializeAws_restJson1__listOfOutputDestination(input.Destinations, context),
|
|
1561
|
-
})), (input.EncoderSettings
|
|
1562
|
-
input.EncoderSettings !== null && {
|
|
1529
|
+
})), (input.EncoderSettings != null && {
|
|
1563
1530
|
encoderSettings: serializeAws_restJson1EncoderSettings(input.EncoderSettings, context),
|
|
1564
|
-
})), (input.InputAttachments
|
|
1565
|
-
input.InputAttachments !== null && {
|
|
1531
|
+
})), (input.InputAttachments != null && {
|
|
1566
1532
|
inputAttachments: serializeAws_restJson1__listOfInputAttachment(input.InputAttachments, context),
|
|
1567
|
-
})), (input.InputSpecification
|
|
1568
|
-
input.InputSpecification !== null && {
|
|
1533
|
+
})), (input.InputSpecification != null && {
|
|
1569
1534
|
inputSpecification: serializeAws_restJson1InputSpecification(input.InputSpecification, context),
|
|
1570
|
-
})), (input.LogLevel
|
|
1571
|
-
input.Maintenance !== null && {
|
|
1535
|
+
})), (input.LogLevel != null && { logLevel: input.LogLevel })), (input.Maintenance != null && {
|
|
1572
1536
|
maintenance: serializeAws_restJson1MaintenanceUpdateSettings(input.Maintenance, context),
|
|
1573
|
-
})), (input.Name
|
|
1537
|
+
})), (input.Name != null && { name: input.Name })), (input.RoleArn != null && { roleArn: input.RoleArn })));
|
|
1574
1538
|
return [2, new __HttpRequest({
|
|
1575
1539
|
protocol: protocol,
|
|
1576
1540
|
hostname: hostname,
|
|
@@ -1604,8 +1568,7 @@ export var serializeAws_restJson1UpdateChannelClassCommand = function (input, co
|
|
|
1604
1568
|
else {
|
|
1605
1569
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
1606
1570
|
}
|
|
1607
|
-
body = JSON.stringify(__assign(__assign({}, (input.ChannelClass
|
|
1608
|
-
input.Destinations !== null && {
|
|
1571
|
+
body = JSON.stringify(__assign(__assign({}, (input.ChannelClass != null && { channelClass: input.ChannelClass })), (input.Destinations != null && {
|
|
1609
1572
|
destinations: serializeAws_restJson1__listOfOutputDestination(input.Destinations, context),
|
|
1610
1573
|
})));
|
|
1611
1574
|
return [2, new __HttpRequest({
|
|
@@ -1641,20 +1604,15 @@ export var serializeAws_restJson1UpdateInputCommand = function (input, context)
|
|
|
1641
1604
|
else {
|
|
1642
1605
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
1643
1606
|
}
|
|
1644
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destinations
|
|
1645
|
-
input.Destinations !== null && {
|
|
1607
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Destinations != null && {
|
|
1646
1608
|
destinations: serializeAws_restJson1__listOfInputDestinationRequest(input.Destinations, context),
|
|
1647
|
-
})), (input.InputDevices
|
|
1648
|
-
input.InputDevices !== null && {
|
|
1609
|
+
})), (input.InputDevices != null && {
|
|
1649
1610
|
inputDevices: serializeAws_restJson1__listOfInputDeviceRequest(input.InputDevices, context),
|
|
1650
|
-
})), (input.InputSecurityGroups
|
|
1651
|
-
input.InputSecurityGroups !== null && {
|
|
1611
|
+
})), (input.InputSecurityGroups != null && {
|
|
1652
1612
|
inputSecurityGroups: serializeAws_restJson1__listOf__string(input.InputSecurityGroups, context),
|
|
1653
|
-
})), (input.MediaConnectFlows
|
|
1654
|
-
input.MediaConnectFlows !== null && {
|
|
1613
|
+
})), (input.MediaConnectFlows != null && {
|
|
1655
1614
|
mediaConnectFlows: serializeAws_restJson1__listOfMediaConnectFlowRequest(input.MediaConnectFlows, context),
|
|
1656
|
-
})), (input.Name
|
|
1657
|
-
input.Sources !== null && { sources: serializeAws_restJson1__listOfInputSourceRequest(input.Sources, context) })));
|
|
1615
|
+
})), (input.Name != null && { name: input.Name })), (input.RoleArn != null && { roleArn: input.RoleArn })), (input.Sources != null && { sources: serializeAws_restJson1__listOfInputSourceRequest(input.Sources, context) })));
|
|
1658
1616
|
return [2, new __HttpRequest({
|
|
1659
1617
|
protocol: protocol,
|
|
1660
1618
|
hostname: hostname,
|
|
@@ -1688,11 +1646,9 @@ export var serializeAws_restJson1UpdateInputDeviceCommand = function (input, con
|
|
|
1688
1646
|
else {
|
|
1689
1647
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
1690
1648
|
}
|
|
1691
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.HdDeviceSettings
|
|
1692
|
-
input.HdDeviceSettings !== null && {
|
|
1649
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.HdDeviceSettings != null && {
|
|
1693
1650
|
hdDeviceSettings: serializeAws_restJson1InputDeviceConfigurableSettings(input.HdDeviceSettings, context),
|
|
1694
|
-
})), (input.Name
|
|
1695
|
-
input.UhdDeviceSettings !== null && {
|
|
1651
|
+
})), (input.Name != null && { name: input.Name })), (input.UhdDeviceSettings != null && {
|
|
1696
1652
|
uhdDeviceSettings: serializeAws_restJson1InputDeviceConfigurableSettings(input.UhdDeviceSettings, context),
|
|
1697
1653
|
})));
|
|
1698
1654
|
return [2, new __HttpRequest({
|
|
@@ -1729,8 +1685,7 @@ export var serializeAws_restJson1UpdateInputSecurityGroupCommand = function (inp
|
|
|
1729
1685
|
else {
|
|
1730
1686
|
throw new Error("No value provided for input HTTP label: InputSecurityGroupId.");
|
|
1731
1687
|
}
|
|
1732
|
-
body = JSON.stringify(__assign(__assign({}, (input.Tags
|
|
1733
|
-
input.WhitelistRules !== null && {
|
|
1688
|
+
body = JSON.stringify(__assign(__assign({}, (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })), (input.WhitelistRules != null && {
|
|
1734
1689
|
whitelistRules: serializeAws_restJson1__listOfInputWhitelistRuleCidr(input.WhitelistRules, context),
|
|
1735
1690
|
})));
|
|
1736
1691
|
return [2, new __HttpRequest({
|
|
@@ -1766,10 +1721,9 @@ export var serializeAws_restJson1UpdateMultiplexCommand = function (input, conte
|
|
|
1766
1721
|
else {
|
|
1767
1722
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
1768
1723
|
}
|
|
1769
|
-
body = JSON.stringify(__assign(__assign({}, (input.MultiplexSettings
|
|
1770
|
-
input.MultiplexSettings !== null && {
|
|
1724
|
+
body = JSON.stringify(__assign(__assign({}, (input.MultiplexSettings != null && {
|
|
1771
1725
|
multiplexSettings: serializeAws_restJson1MultiplexSettings(input.MultiplexSettings, context),
|
|
1772
|
-
})), (input.Name
|
|
1726
|
+
})), (input.Name != null && { name: input.Name })));
|
|
1773
1727
|
return [2, new __HttpRequest({
|
|
1774
1728
|
protocol: protocol,
|
|
1775
1729
|
hostname: hostname,
|
|
@@ -1814,8 +1768,7 @@ export var serializeAws_restJson1UpdateMultiplexProgramCommand = function (input
|
|
|
1814
1768
|
else {
|
|
1815
1769
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
1816
1770
|
}
|
|
1817
|
-
body = JSON.stringify(__assign({}, (input.MultiplexProgramSettings
|
|
1818
|
-
input.MultiplexProgramSettings !== null && {
|
|
1771
|
+
body = JSON.stringify(__assign({}, (input.MultiplexProgramSettings != null && {
|
|
1819
1772
|
multiplexProgramSettings: serializeAws_restJson1MultiplexProgramSettings(input.MultiplexProgramSettings, context),
|
|
1820
1773
|
})));
|
|
1821
1774
|
return [2, new __HttpRequest({
|
|
@@ -1851,8 +1804,7 @@ export var serializeAws_restJson1UpdateReservationCommand = function (input, con
|
|
|
1851
1804
|
else {
|
|
1852
1805
|
throw new Error("No value provided for input HTTP label: ReservationId.");
|
|
1853
1806
|
}
|
|
1854
|
-
body = JSON.stringify(__assign(__assign({}, (input.Name
|
|
1855
|
-
input.RenewalSettings !== null && {
|
|
1807
|
+
body = JSON.stringify(__assign(__assign({}, (input.Name != null && { name: input.Name })), (input.RenewalSettings != null && {
|
|
1856
1808
|
renewalSettings: serializeAws_restJson1RenewalSettings(input.RenewalSettings, context),
|
|
1857
1809
|
})));
|
|
1858
1810
|
return [2, new __HttpRequest({
|
|
@@ -7731,49 +7683,40 @@ var serializeAws_restJson1__listOfVideoDescription = function (input, context) {
|
|
|
7731
7683
|
});
|
|
7732
7684
|
};
|
|
7733
7685
|
var serializeAws_restJson1AacSettings = function (input, context) {
|
|
7734
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
7735
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.RawFormat !== undefined && input.RawFormat !== null && { rawFormat: input.RawFormat })), (input.SampleRate !== undefined &&
|
|
7736
|
-
input.SampleRate !== null && { sampleRate: __serializeFloat(input.SampleRate) })), (input.Spec !== undefined && input.Spec !== null && { spec: input.Spec })), (input.VbrQuality !== undefined && input.VbrQuality !== null && { vbrQuality: input.VbrQuality }));
|
|
7686
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: __serializeFloat(input.Bitrate) })), (input.CodingMode != null && { codingMode: input.CodingMode })), (input.InputType != null && { inputType: input.InputType })), (input.Profile != null && { profile: input.Profile })), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.RawFormat != null && { rawFormat: input.RawFormat })), (input.SampleRate != null && { sampleRate: __serializeFloat(input.SampleRate) })), (input.Spec != null && { spec: input.Spec })), (input.VbrQuality != null && { vbrQuality: input.VbrQuality }));
|
|
7737
7687
|
};
|
|
7738
7688
|
var serializeAws_restJson1Ac3Settings = function (input, context) {
|
|
7739
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate
|
|
7740
|
-
input.MetadataControl !== null && { metadataControl: input.MetadataControl }));
|
|
7689
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: __serializeFloat(input.Bitrate) })), (input.BitstreamMode != null && { bitstreamMode: input.BitstreamMode })), (input.CodingMode != null && { codingMode: input.CodingMode })), (input.Dialnorm != null && { dialnorm: input.Dialnorm })), (input.DrcProfile != null && { drcProfile: input.DrcProfile })), (input.LfeFilter != null && { lfeFilter: input.LfeFilter })), (input.MetadataControl != null && { metadataControl: input.MetadataControl }));
|
|
7741
7690
|
};
|
|
7742
7691
|
var serializeAws_restJson1AncillarySourceSettings = function (input, context) {
|
|
7743
|
-
return __assign({}, (input.SourceAncillaryChannelNumber
|
|
7744
|
-
input.SourceAncillaryChannelNumber !== null && {
|
|
7692
|
+
return __assign({}, (input.SourceAncillaryChannelNumber != null && {
|
|
7745
7693
|
sourceAncillaryChannelNumber: input.SourceAncillaryChannelNumber,
|
|
7746
7694
|
}));
|
|
7747
7695
|
};
|
|
7748
7696
|
var serializeAws_restJson1ArchiveCdnSettings = function (input, context) {
|
|
7749
|
-
return __assign({}, (input.ArchiveS3Settings
|
|
7750
|
-
input.ArchiveS3Settings !== null && {
|
|
7697
|
+
return __assign({}, (input.ArchiveS3Settings != null && {
|
|
7751
7698
|
archiveS3Settings: serializeAws_restJson1ArchiveS3Settings(input.ArchiveS3Settings, context),
|
|
7752
7699
|
}));
|
|
7753
7700
|
};
|
|
7754
7701
|
var serializeAws_restJson1ArchiveContainerSettings = function (input, context) {
|
|
7755
|
-
return __assign(__assign({}, (input.M2tsSettings
|
|
7756
|
-
|
|
7757
|
-
|
|
7702
|
+
return __assign(__assign({}, (input.M2tsSettings != null && {
|
|
7703
|
+
m2tsSettings: serializeAws_restJson1M2tsSettings(input.M2tsSettings, context),
|
|
7704
|
+
})), (input.RawSettings != null && { rawSettings: serializeAws_restJson1RawSettings(input.RawSettings, context) }));
|
|
7758
7705
|
};
|
|
7759
7706
|
var serializeAws_restJson1ArchiveGroupSettings = function (input, context) {
|
|
7760
|
-
return __assign(__assign(__assign({}, (input.ArchiveCdnSettings
|
|
7761
|
-
input.ArchiveCdnSettings !== null && {
|
|
7707
|
+
return __assign(__assign(__assign({}, (input.ArchiveCdnSettings != null && {
|
|
7762
7708
|
archiveCdnSettings: serializeAws_restJson1ArchiveCdnSettings(input.ArchiveCdnSettings, context),
|
|
7763
|
-
})), (input.Destination
|
|
7764
|
-
input.Destination !== null && {
|
|
7709
|
+
})), (input.Destination != null && {
|
|
7765
7710
|
destination: serializeAws_restJson1OutputLocationRef(input.Destination, context),
|
|
7766
|
-
})), (input.RolloverInterval
|
|
7767
|
-
input.RolloverInterval !== null && { rolloverInterval: input.RolloverInterval }));
|
|
7711
|
+
})), (input.RolloverInterval != null && { rolloverInterval: input.RolloverInterval }));
|
|
7768
7712
|
};
|
|
7769
7713
|
var serializeAws_restJson1ArchiveOutputSettings = function (input, context) {
|
|
7770
|
-
return __assign(__assign(__assign({}, (input.ContainerSettings
|
|
7771
|
-
input.ContainerSettings !== null && {
|
|
7714
|
+
return __assign(__assign(__assign({}, (input.ContainerSettings != null && {
|
|
7772
7715
|
containerSettings: serializeAws_restJson1ArchiveContainerSettings(input.ContainerSettings, context),
|
|
7773
|
-
})), (input.Extension
|
|
7716
|
+
})), (input.Extension != null && { extension: input.Extension })), (input.NameModifier != null && { nameModifier: input.NameModifier }));
|
|
7774
7717
|
};
|
|
7775
7718
|
var serializeAws_restJson1ArchiveS3Settings = function (input, context) {
|
|
7776
|
-
return __assign({}, (input.CannedAcl
|
|
7719
|
+
return __assign({}, (input.CannedAcl != null && { cannedAcl: input.CannedAcl }));
|
|
7777
7720
|
};
|
|
7778
7721
|
var serializeAws_restJson1AribDestinationSettings = function (input, context) {
|
|
7779
7722
|
return {};
|
|
@@ -7782,291 +7725,205 @@ var serializeAws_restJson1AribSourceSettings = function (input, context) {
|
|
|
7782
7725
|
return {};
|
|
7783
7726
|
};
|
|
7784
7727
|
var serializeAws_restJson1AudioChannelMapping = function (input, context) {
|
|
7785
|
-
return __assign(__assign({}, (input.InputChannelLevels
|
|
7786
|
-
input.InputChannelLevels !== null && {
|
|
7728
|
+
return __assign(__assign({}, (input.InputChannelLevels != null && {
|
|
7787
7729
|
inputChannelLevels: serializeAws_restJson1__listOfInputChannelLevel(input.InputChannelLevels, context),
|
|
7788
|
-
})), (input.OutputChannel
|
|
7730
|
+
})), (input.OutputChannel != null && { outputChannel: input.OutputChannel }));
|
|
7789
7731
|
};
|
|
7790
7732
|
var serializeAws_restJson1AudioCodecSettings = function (input, context) {
|
|
7791
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AacSettings
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
input.Eac3Settings !== null && { eac3Settings: serializeAws_restJson1Eac3Settings(input.Eac3Settings, context) })), (input.Mp2Settings !== undefined &&
|
|
7795
|
-
input.Mp2Settings !== null && { mp2Settings: serializeAws_restJson1Mp2Settings(input.Mp2Settings, context) })), (input.PassThroughSettings !== undefined &&
|
|
7796
|
-
input.PassThroughSettings !== null && {
|
|
7733
|
+
return __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.Eac3Settings != null && {
|
|
7734
|
+
eac3Settings: serializeAws_restJson1Eac3Settings(input.Eac3Settings, context),
|
|
7735
|
+
})), (input.Mp2Settings != null && { mp2Settings: serializeAws_restJson1Mp2Settings(input.Mp2Settings, context) })), (input.PassThroughSettings != null && {
|
|
7797
7736
|
passThroughSettings: serializeAws_restJson1PassThroughSettings(input.PassThroughSettings, context),
|
|
7798
|
-
})), (input.WavSettings
|
|
7799
|
-
input.WavSettings !== null && { wavSettings: serializeAws_restJson1WavSettings(input.WavSettings, context) }));
|
|
7737
|
+
})), (input.WavSettings != null && { wavSettings: serializeAws_restJson1WavSettings(input.WavSettings, context) }));
|
|
7800
7738
|
};
|
|
7801
7739
|
var serializeAws_restJson1AudioDescription = function (input, context) {
|
|
7802
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioNormalizationSettings
|
|
7803
|
-
input.AudioNormalizationSettings !== null && {
|
|
7740
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioNormalizationSettings != null && {
|
|
7804
7741
|
audioNormalizationSettings: serializeAws_restJson1AudioNormalizationSettings(input.AudioNormalizationSettings, context),
|
|
7805
|
-
})), (input.AudioSelectorName
|
|
7806
|
-
input.AudioSelectorName !== null && { audioSelectorName: input.AudioSelectorName })), (input.AudioType !== undefined && input.AudioType !== null && { audioType: input.AudioType })), (input.AudioTypeControl !== undefined &&
|
|
7807
|
-
input.AudioTypeControl !== null && { audioTypeControl: input.AudioTypeControl })), (input.AudioWatermarkingSettings !== undefined &&
|
|
7808
|
-
input.AudioWatermarkingSettings !== null && {
|
|
7742
|
+
})), (input.AudioSelectorName != null && { audioSelectorName: input.AudioSelectorName })), (input.AudioType != null && { audioType: input.AudioType })), (input.AudioTypeControl != null && { audioTypeControl: input.AudioTypeControl })), (input.AudioWatermarkingSettings != null && {
|
|
7809
7743
|
audioWatermarkingSettings: serializeAws_restJson1AudioWatermarkSettings(input.AudioWatermarkingSettings, context),
|
|
7810
|
-
})), (input.CodecSettings
|
|
7811
|
-
input.CodecSettings !== null && {
|
|
7744
|
+
})), (input.CodecSettings != null && {
|
|
7812
7745
|
codecSettings: serializeAws_restJson1AudioCodecSettings(input.CodecSettings, context),
|
|
7813
|
-
})), (input.LanguageCode
|
|
7814
|
-
input.LanguageCodeControl !== null && { languageCodeControl: input.LanguageCodeControl })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.RemixSettings !== undefined &&
|
|
7815
|
-
input.RemixSettings !== null && {
|
|
7746
|
+
})), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageCodeControl != null && { languageCodeControl: input.LanguageCodeControl })), (input.Name != null && { name: input.Name })), (input.RemixSettings != null && {
|
|
7816
7747
|
remixSettings: serializeAws_restJson1RemixSettings(input.RemixSettings, context),
|
|
7817
|
-
})), (input.StreamName
|
|
7748
|
+
})), (input.StreamName != null && { streamName: input.StreamName }));
|
|
7818
7749
|
};
|
|
7819
7750
|
var serializeAws_restJson1AudioHlsRenditionSelection = function (input, context) {
|
|
7820
|
-
return __assign(__assign({}, (input.GroupId
|
|
7751
|
+
return __assign(__assign({}, (input.GroupId != null && { groupId: input.GroupId })), (input.Name != null && { name: input.Name }));
|
|
7821
7752
|
};
|
|
7822
7753
|
var serializeAws_restJson1AudioLanguageSelection = function (input, context) {
|
|
7823
|
-
return __assign(__assign({}, (input.LanguageCode
|
|
7824
|
-
input.LanguageSelectionPolicy !== null && { languageSelectionPolicy: input.LanguageSelectionPolicy }));
|
|
7754
|
+
return __assign(__assign({}, (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageSelectionPolicy != null && { languageSelectionPolicy: input.LanguageSelectionPolicy }));
|
|
7825
7755
|
};
|
|
7826
7756
|
var serializeAws_restJson1AudioNormalizationSettings = function (input, context) {
|
|
7827
|
-
return __assign(__assign(__assign({}, (input.Algorithm
|
|
7828
|
-
input.AlgorithmControl !== null && { algorithmControl: input.AlgorithmControl })), (input.TargetLkfs !== undefined &&
|
|
7829
|
-
input.TargetLkfs !== null && { targetLkfs: __serializeFloat(input.TargetLkfs) }));
|
|
7757
|
+
return __assign(__assign(__assign({}, (input.Algorithm != null && { algorithm: input.Algorithm })), (input.AlgorithmControl != null && { algorithmControl: input.AlgorithmControl })), (input.TargetLkfs != null && { targetLkfs: __serializeFloat(input.TargetLkfs) }));
|
|
7830
7758
|
};
|
|
7831
7759
|
var serializeAws_restJson1AudioOnlyHlsSettings = function (input, context) {
|
|
7832
|
-
return __assign(__assign(__assign(__assign({}, (input.AudioGroupId
|
|
7833
|
-
input.AudioOnlyImage !== null && {
|
|
7760
|
+
return __assign(__assign(__assign(__assign({}, (input.AudioGroupId != null && { audioGroupId: input.AudioGroupId })), (input.AudioOnlyImage != null && {
|
|
7834
7761
|
audioOnlyImage: serializeAws_restJson1InputLocation(input.AudioOnlyImage, context),
|
|
7835
|
-
})), (input.AudioTrackType
|
|
7836
|
-
input.AudioTrackType !== null && { audioTrackType: input.AudioTrackType })), (input.SegmentType !== undefined && input.SegmentType !== null && { segmentType: input.SegmentType }));
|
|
7762
|
+
})), (input.AudioTrackType != null && { audioTrackType: input.AudioTrackType })), (input.SegmentType != null && { segmentType: input.SegmentType }));
|
|
7837
7763
|
};
|
|
7838
7764
|
var serializeAws_restJson1AudioPidSelection = function (input, context) {
|
|
7839
|
-
return __assign({}, (input.Pid
|
|
7765
|
+
return __assign({}, (input.Pid != null && { pid: input.Pid }));
|
|
7840
7766
|
};
|
|
7841
7767
|
var serializeAws_restJson1AudioSelector = function (input, context) {
|
|
7842
|
-
return __assign(__assign({}, (input.Name
|
|
7843
|
-
input.SelectorSettings !== null && {
|
|
7768
|
+
return __assign(__assign({}, (input.Name != null && { name: input.Name })), (input.SelectorSettings != null && {
|
|
7844
7769
|
selectorSettings: serializeAws_restJson1AudioSelectorSettings(input.SelectorSettings, context),
|
|
7845
7770
|
}));
|
|
7846
7771
|
};
|
|
7847
7772
|
var serializeAws_restJson1AudioSelectorSettings = function (input, context) {
|
|
7848
|
-
return __assign(__assign(__assign(__assign({}, (input.AudioHlsRenditionSelection
|
|
7849
|
-
input.AudioHlsRenditionSelection !== null && {
|
|
7773
|
+
return __assign(__assign(__assign(__assign({}, (input.AudioHlsRenditionSelection != null && {
|
|
7850
7774
|
audioHlsRenditionSelection: serializeAws_restJson1AudioHlsRenditionSelection(input.AudioHlsRenditionSelection, context),
|
|
7851
|
-
})), (input.AudioLanguageSelection
|
|
7852
|
-
input.AudioLanguageSelection !== null && {
|
|
7775
|
+
})), (input.AudioLanguageSelection != null && {
|
|
7853
7776
|
audioLanguageSelection: serializeAws_restJson1AudioLanguageSelection(input.AudioLanguageSelection, context),
|
|
7854
|
-
})), (input.AudioPidSelection
|
|
7855
|
-
input.AudioPidSelection !== null && {
|
|
7777
|
+
})), (input.AudioPidSelection != null && {
|
|
7856
7778
|
audioPidSelection: serializeAws_restJson1AudioPidSelection(input.AudioPidSelection, context),
|
|
7857
|
-
})), (input.AudioTrackSelection
|
|
7858
|
-
input.AudioTrackSelection !== null && {
|
|
7779
|
+
})), (input.AudioTrackSelection != null && {
|
|
7859
7780
|
audioTrackSelection: serializeAws_restJson1AudioTrackSelection(input.AudioTrackSelection, context),
|
|
7860
7781
|
}));
|
|
7861
7782
|
};
|
|
7862
7783
|
var serializeAws_restJson1AudioSilenceFailoverSettings = function (input, context) {
|
|
7863
|
-
return __assign(__assign({}, (input.AudioSelectorName
|
|
7864
|
-
input.AudioSelectorName !== null && { audioSelectorName: input.AudioSelectorName })), (input.AudioSilenceThresholdMsec !== undefined &&
|
|
7865
|
-
input.AudioSilenceThresholdMsec !== null && { audioSilenceThresholdMsec: input.AudioSilenceThresholdMsec }));
|
|
7784
|
+
return __assign(__assign({}, (input.AudioSelectorName != null && { audioSelectorName: input.AudioSelectorName })), (input.AudioSilenceThresholdMsec != null && { audioSilenceThresholdMsec: input.AudioSilenceThresholdMsec }));
|
|
7866
7785
|
};
|
|
7867
7786
|
var serializeAws_restJson1AudioTrack = function (input, context) {
|
|
7868
|
-
return __assign({}, (input.Track
|
|
7787
|
+
return __assign({}, (input.Track != null && { track: input.Track }));
|
|
7869
7788
|
};
|
|
7870
7789
|
var serializeAws_restJson1AudioTrackSelection = function (input, context) {
|
|
7871
|
-
return __assign({}, (input.Tracks
|
|
7872
|
-
input.Tracks !== null && { tracks: serializeAws_restJson1__listOfAudioTrack(input.Tracks, context) }));
|
|
7790
|
+
return __assign({}, (input.Tracks != null && { tracks: serializeAws_restJson1__listOfAudioTrack(input.Tracks, context) }));
|
|
7873
7791
|
};
|
|
7874
7792
|
var serializeAws_restJson1AudioWatermarkSettings = function (input, context) {
|
|
7875
|
-
return __assign({}, (input.NielsenWatermarksSettings
|
|
7876
|
-
input.NielsenWatermarksSettings !== null && {
|
|
7793
|
+
return __assign({}, (input.NielsenWatermarksSettings != null && {
|
|
7877
7794
|
nielsenWatermarksSettings: serializeAws_restJson1NielsenWatermarksSettings(input.NielsenWatermarksSettings, context),
|
|
7878
7795
|
}));
|
|
7879
7796
|
};
|
|
7880
7797
|
var serializeAws_restJson1AutomaticInputFailoverSettings = function (input, context) {
|
|
7881
|
-
return __assign(__assign(__assign(__assign({}, (input.ErrorClearTimeMsec
|
|
7882
|
-
input.ErrorClearTimeMsec !== null && { errorClearTimeMsec: input.ErrorClearTimeMsec })), (input.FailoverConditions !== undefined &&
|
|
7883
|
-
input.FailoverConditions !== null && {
|
|
7798
|
+
return __assign(__assign(__assign(__assign({}, (input.ErrorClearTimeMsec != null && { errorClearTimeMsec: input.ErrorClearTimeMsec })), (input.FailoverConditions != null && {
|
|
7884
7799
|
failoverConditions: serializeAws_restJson1__listOfFailoverCondition(input.FailoverConditions, context),
|
|
7885
|
-
})), (input.InputPreference
|
|
7886
|
-
input.InputPreference !== null && { inputPreference: input.InputPreference })), (input.SecondaryInputId !== undefined &&
|
|
7887
|
-
input.SecondaryInputId !== null && { secondaryInputId: input.SecondaryInputId }));
|
|
7800
|
+
})), (input.InputPreference != null && { inputPreference: input.InputPreference })), (input.SecondaryInputId != null && { secondaryInputId: input.SecondaryInputId }));
|
|
7888
7801
|
};
|
|
7889
7802
|
var serializeAws_restJson1AvailBlanking = function (input, context) {
|
|
7890
|
-
return __assign(__assign({}, (input.AvailBlankingImage
|
|
7891
|
-
input.AvailBlankingImage !== null && {
|
|
7803
|
+
return __assign(__assign({}, (input.AvailBlankingImage != null && {
|
|
7892
7804
|
availBlankingImage: serializeAws_restJson1InputLocation(input.AvailBlankingImage, context),
|
|
7893
|
-
})), (input.State
|
|
7805
|
+
})), (input.State != null && { state: input.State }));
|
|
7894
7806
|
};
|
|
7895
7807
|
var serializeAws_restJson1AvailConfiguration = function (input, context) {
|
|
7896
|
-
return __assign({}, (input.AvailSettings
|
|
7897
|
-
input.AvailSettings !== null && {
|
|
7808
|
+
return __assign({}, (input.AvailSettings != null && {
|
|
7898
7809
|
availSettings: serializeAws_restJson1AvailSettings(input.AvailSettings, context),
|
|
7899
7810
|
}));
|
|
7900
7811
|
};
|
|
7901
7812
|
var serializeAws_restJson1AvailSettings = function (input, context) {
|
|
7902
|
-
return __assign(__assign({}, (input.Scte35SpliceInsert
|
|
7903
|
-
input.Scte35SpliceInsert !== null && {
|
|
7813
|
+
return __assign(__assign({}, (input.Scte35SpliceInsert != null && {
|
|
7904
7814
|
scte35SpliceInsert: serializeAws_restJson1Scte35SpliceInsert(input.Scte35SpliceInsert, context),
|
|
7905
|
-
})), (input.Scte35TimeSignalApos
|
|
7906
|
-
input.Scte35TimeSignalApos !== null && {
|
|
7815
|
+
})), (input.Scte35TimeSignalApos != null && {
|
|
7907
7816
|
scte35TimeSignalApos: serializeAws_restJson1Scte35TimeSignalApos(input.Scte35TimeSignalApos, context),
|
|
7908
7817
|
}));
|
|
7909
7818
|
};
|
|
7910
7819
|
var serializeAws_restJson1BatchScheduleActionCreateRequest = function (input, context) {
|
|
7911
|
-
return __assign({}, (input.ScheduleActions
|
|
7912
|
-
input.ScheduleActions !== null && {
|
|
7820
|
+
return __assign({}, (input.ScheduleActions != null && {
|
|
7913
7821
|
scheduleActions: serializeAws_restJson1__listOfScheduleAction(input.ScheduleActions, context),
|
|
7914
7822
|
}));
|
|
7915
7823
|
};
|
|
7916
7824
|
var serializeAws_restJson1BatchScheduleActionDeleteRequest = function (input, context) {
|
|
7917
|
-
return __assign({}, (input.ActionNames
|
|
7918
|
-
input.ActionNames !== null && {
|
|
7825
|
+
return __assign({}, (input.ActionNames != null && {
|
|
7919
7826
|
actionNames: serializeAws_restJson1__listOf__string(input.ActionNames, context),
|
|
7920
7827
|
}));
|
|
7921
7828
|
};
|
|
7922
7829
|
var serializeAws_restJson1BlackoutSlate = function (input, context) {
|
|
7923
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BlackoutSlateImage
|
|
7924
|
-
input.BlackoutSlateImage !== null && {
|
|
7830
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BlackoutSlateImage != null && {
|
|
7925
7831
|
blackoutSlateImage: serializeAws_restJson1InputLocation(input.BlackoutSlateImage, context),
|
|
7926
|
-
})), (input.NetworkEndBlackout
|
|
7927
|
-
input.NetworkEndBlackout !== null && { networkEndBlackout: input.NetworkEndBlackout })), (input.NetworkEndBlackoutImage !== undefined &&
|
|
7928
|
-
input.NetworkEndBlackoutImage !== null && {
|
|
7832
|
+
})), (input.NetworkEndBlackout != null && { networkEndBlackout: input.NetworkEndBlackout })), (input.NetworkEndBlackoutImage != null && {
|
|
7929
7833
|
networkEndBlackoutImage: serializeAws_restJson1InputLocation(input.NetworkEndBlackoutImage, context),
|
|
7930
|
-
})), (input.NetworkId
|
|
7834
|
+
})), (input.NetworkId != null && { networkId: input.NetworkId })), (input.State != null && { state: input.State }));
|
|
7931
7835
|
};
|
|
7932
7836
|
var serializeAws_restJson1BurnInDestinationSettings = function (input, context) {
|
|
7933
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment
|
|
7934
|
-
input.BackgroundColor !== null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity !== undefined &&
|
|
7935
|
-
input.BackgroundOpacity !== null && { backgroundOpacity: input.BackgroundOpacity })), (input.Font !== undefined &&
|
|
7936
|
-
input.Font !== null && { font: serializeAws_restJson1InputLocation(input.Font, context) })), (input.FontColor !== undefined && input.FontColor !== null && { fontColor: input.FontColor })), (input.FontOpacity !== undefined && input.FontOpacity !== null && { fontOpacity: input.FontOpacity })), (input.FontResolution !== undefined &&
|
|
7937
|
-
input.FontResolution !== null && { fontResolution: input.FontResolution })), (input.FontSize !== undefined && input.FontSize !== null && { fontSize: input.FontSize })), (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.TeletextGridControl !== undefined &&
|
|
7938
|
-
input.TeletextGridControl !== null && { teletextGridControl: input.TeletextGridControl })), (input.XPosition !== undefined && input.XPosition !== null && { xPosition: input.XPosition })), (input.YPosition !== undefined && input.YPosition !== null && { yPosition: input.YPosition }));
|
|
7837
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment != null && { alignment: input.Alignment })), (input.BackgroundColor != null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity != null && { backgroundOpacity: input.BackgroundOpacity })), (input.Font != null && { font: serializeAws_restJson1InputLocation(input.Font, context) })), (input.FontColor != null && { fontColor: input.FontColor })), (input.FontOpacity != null && { fontOpacity: input.FontOpacity })), (input.FontResolution != null && { fontResolution: input.FontResolution })), (input.FontSize != null && { fontSize: input.FontSize })), (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.TeletextGridControl != null && { teletextGridControl: input.TeletextGridControl })), (input.XPosition != null && { xPosition: input.XPosition })), (input.YPosition != null && { yPosition: input.YPosition }));
|
|
7939
7838
|
};
|
|
7940
7839
|
var serializeAws_restJson1CaptionDescription = function (input, context) {
|
|
7941
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Accessibility
|
|
7942
|
-
input.CaptionSelectorName !== null && { captionSelectorName: input.CaptionSelectorName })), (input.DestinationSettings !== undefined &&
|
|
7943
|
-
input.DestinationSettings !== null && {
|
|
7840
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Accessibility != null && { accessibility: input.Accessibility })), (input.CaptionSelectorName != null && { captionSelectorName: input.CaptionSelectorName })), (input.DestinationSettings != null && {
|
|
7944
7841
|
destinationSettings: serializeAws_restJson1CaptionDestinationSettings(input.DestinationSettings, context),
|
|
7945
|
-
})), (input.LanguageCode
|
|
7946
|
-
input.LanguageDescription !== null && { languageDescription: input.LanguageDescription })), (input.Name !== undefined && input.Name !== null && { name: input.Name }));
|
|
7842
|
+
})), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageDescription != null && { languageDescription: input.LanguageDescription })), (input.Name != null && { name: input.Name }));
|
|
7947
7843
|
};
|
|
7948
7844
|
var serializeAws_restJson1CaptionDestinationSettings = function (input, context) {
|
|
7949
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AribDestinationSettings
|
|
7950
|
-
input.AribDestinationSettings !== null && {
|
|
7845
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AribDestinationSettings != null && {
|
|
7951
7846
|
aribDestinationSettings: serializeAws_restJson1AribDestinationSettings(input.AribDestinationSettings, context),
|
|
7952
|
-
})), (input.BurnInDestinationSettings
|
|
7953
|
-
input.BurnInDestinationSettings !== null && {
|
|
7847
|
+
})), (input.BurnInDestinationSettings != null && {
|
|
7954
7848
|
burnInDestinationSettings: serializeAws_restJson1BurnInDestinationSettings(input.BurnInDestinationSettings, context),
|
|
7955
|
-
})), (input.DvbSubDestinationSettings
|
|
7956
|
-
input.DvbSubDestinationSettings !== null && {
|
|
7849
|
+
})), (input.DvbSubDestinationSettings != null && {
|
|
7957
7850
|
dvbSubDestinationSettings: serializeAws_restJson1DvbSubDestinationSettings(input.DvbSubDestinationSettings, context),
|
|
7958
|
-
})), (input.EbuTtDDestinationSettings
|
|
7959
|
-
input.EbuTtDDestinationSettings !== null && {
|
|
7851
|
+
})), (input.EbuTtDDestinationSettings != null && {
|
|
7960
7852
|
ebuTtDDestinationSettings: serializeAws_restJson1EbuTtDDestinationSettings(input.EbuTtDDestinationSettings, context),
|
|
7961
|
-
})), (input.EmbeddedDestinationSettings
|
|
7962
|
-
input.EmbeddedDestinationSettings !== null && {
|
|
7853
|
+
})), (input.EmbeddedDestinationSettings != null && {
|
|
7963
7854
|
embeddedDestinationSettings: serializeAws_restJson1EmbeddedDestinationSettings(input.EmbeddedDestinationSettings, context),
|
|
7964
|
-
})), (input.EmbeddedPlusScte20DestinationSettings
|
|
7965
|
-
input.EmbeddedPlusScte20DestinationSettings !== null && {
|
|
7855
|
+
})), (input.EmbeddedPlusScte20DestinationSettings != null && {
|
|
7966
7856
|
embeddedPlusScte20DestinationSettings: serializeAws_restJson1EmbeddedPlusScte20DestinationSettings(input.EmbeddedPlusScte20DestinationSettings, context),
|
|
7967
|
-
})), (input.RtmpCaptionInfoDestinationSettings
|
|
7968
|
-
input.RtmpCaptionInfoDestinationSettings !== null && {
|
|
7857
|
+
})), (input.RtmpCaptionInfoDestinationSettings != null && {
|
|
7969
7858
|
rtmpCaptionInfoDestinationSettings: serializeAws_restJson1RtmpCaptionInfoDestinationSettings(input.RtmpCaptionInfoDestinationSettings, context),
|
|
7970
|
-
})), (input.Scte20PlusEmbeddedDestinationSettings
|
|
7971
|
-
input.Scte20PlusEmbeddedDestinationSettings !== null && {
|
|
7859
|
+
})), (input.Scte20PlusEmbeddedDestinationSettings != null && {
|
|
7972
7860
|
scte20PlusEmbeddedDestinationSettings: serializeAws_restJson1Scte20PlusEmbeddedDestinationSettings(input.Scte20PlusEmbeddedDestinationSettings, context),
|
|
7973
|
-
})), (input.Scte27DestinationSettings
|
|
7974
|
-
input.Scte27DestinationSettings !== null && {
|
|
7861
|
+
})), (input.Scte27DestinationSettings != null && {
|
|
7975
7862
|
scte27DestinationSettings: serializeAws_restJson1Scte27DestinationSettings(input.Scte27DestinationSettings, context),
|
|
7976
|
-
})), (input.SmpteTtDestinationSettings
|
|
7977
|
-
input.SmpteTtDestinationSettings !== null && {
|
|
7863
|
+
})), (input.SmpteTtDestinationSettings != null && {
|
|
7978
7864
|
smpteTtDestinationSettings: serializeAws_restJson1SmpteTtDestinationSettings(input.SmpteTtDestinationSettings, context),
|
|
7979
|
-
})), (input.TeletextDestinationSettings
|
|
7980
|
-
input.TeletextDestinationSettings !== null && {
|
|
7865
|
+
})), (input.TeletextDestinationSettings != null && {
|
|
7981
7866
|
teletextDestinationSettings: serializeAws_restJson1TeletextDestinationSettings(input.TeletextDestinationSettings, context),
|
|
7982
|
-
})), (input.TtmlDestinationSettings
|
|
7983
|
-
input.TtmlDestinationSettings !== null && {
|
|
7867
|
+
})), (input.TtmlDestinationSettings != null && {
|
|
7984
7868
|
ttmlDestinationSettings: serializeAws_restJson1TtmlDestinationSettings(input.TtmlDestinationSettings, context),
|
|
7985
|
-
})), (input.WebvttDestinationSettings
|
|
7986
|
-
input.WebvttDestinationSettings !== null && {
|
|
7869
|
+
})), (input.WebvttDestinationSettings != null && {
|
|
7987
7870
|
webvttDestinationSettings: serializeAws_restJson1WebvttDestinationSettings(input.WebvttDestinationSettings, context),
|
|
7988
7871
|
}));
|
|
7989
7872
|
};
|
|
7990
7873
|
var serializeAws_restJson1CaptionLanguageMapping = function (input, context) {
|
|
7991
|
-
return __assign(__assign(__assign({}, (input.CaptionChannel
|
|
7992
|
-
input.CaptionChannel !== null && { captionChannel: input.CaptionChannel })), (input.LanguageCode !== undefined && input.LanguageCode !== null && { languageCode: input.LanguageCode })), (input.LanguageDescription !== undefined &&
|
|
7993
|
-
input.LanguageDescription !== null && { languageDescription: input.LanguageDescription }));
|
|
7874
|
+
return __assign(__assign(__assign({}, (input.CaptionChannel != null && { captionChannel: input.CaptionChannel })), (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.LanguageDescription != null && { languageDescription: input.LanguageDescription }));
|
|
7994
7875
|
};
|
|
7995
7876
|
var serializeAws_restJson1CaptionRectangle = function (input, context) {
|
|
7996
|
-
return __assign(__assign(__assign(__assign({}, (input.Height
|
|
7997
|
-
input.LeftOffset !== null && { leftOffset: __serializeFloat(input.LeftOffset) })), (input.TopOffset !== undefined && input.TopOffset !== null && { topOffset: __serializeFloat(input.TopOffset) })), (input.Width !== undefined && input.Width !== null && { width: __serializeFloat(input.Width) }));
|
|
7877
|
+
return __assign(__assign(__assign(__assign({}, (input.Height != null && { height: __serializeFloat(input.Height) })), (input.LeftOffset != null && { leftOffset: __serializeFloat(input.LeftOffset) })), (input.TopOffset != null && { topOffset: __serializeFloat(input.TopOffset) })), (input.Width != null && { width: __serializeFloat(input.Width) }));
|
|
7998
7878
|
};
|
|
7999
7879
|
var serializeAws_restJson1CaptionSelector = function (input, context) {
|
|
8000
|
-
return __assign(__assign(__assign({}, (input.LanguageCode
|
|
8001
|
-
input.SelectorSettings !== null && {
|
|
7880
|
+
return __assign(__assign(__assign({}, (input.LanguageCode != null && { languageCode: input.LanguageCode })), (input.Name != null && { name: input.Name })), (input.SelectorSettings != null && {
|
|
8002
7881
|
selectorSettings: serializeAws_restJson1CaptionSelectorSettings(input.SelectorSettings, context),
|
|
8003
7882
|
}));
|
|
8004
7883
|
};
|
|
8005
7884
|
var serializeAws_restJson1CaptionSelectorSettings = function (input, context) {
|
|
8006
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AncillarySourceSettings
|
|
8007
|
-
input.AncillarySourceSettings !== null && {
|
|
7885
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AncillarySourceSettings != null && {
|
|
8008
7886
|
ancillarySourceSettings: serializeAws_restJson1AncillarySourceSettings(input.AncillarySourceSettings, context),
|
|
8009
|
-
})), (input.AribSourceSettings
|
|
8010
|
-
input.AribSourceSettings !== null && {
|
|
7887
|
+
})), (input.AribSourceSettings != null && {
|
|
8011
7888
|
aribSourceSettings: serializeAws_restJson1AribSourceSettings(input.AribSourceSettings, context),
|
|
8012
|
-
})), (input.DvbSubSourceSettings
|
|
8013
|
-
input.DvbSubSourceSettings !== null && {
|
|
7889
|
+
})), (input.DvbSubSourceSettings != null && {
|
|
8014
7890
|
dvbSubSourceSettings: serializeAws_restJson1DvbSubSourceSettings(input.DvbSubSourceSettings, context),
|
|
8015
|
-
})), (input.EmbeddedSourceSettings
|
|
8016
|
-
input.EmbeddedSourceSettings !== null && {
|
|
7891
|
+
})), (input.EmbeddedSourceSettings != null && {
|
|
8017
7892
|
embeddedSourceSettings: serializeAws_restJson1EmbeddedSourceSettings(input.EmbeddedSourceSettings, context),
|
|
8018
|
-
})), (input.Scte20SourceSettings
|
|
8019
|
-
input.Scte20SourceSettings !== null && {
|
|
7893
|
+
})), (input.Scte20SourceSettings != null && {
|
|
8020
7894
|
scte20SourceSettings: serializeAws_restJson1Scte20SourceSettings(input.Scte20SourceSettings, context),
|
|
8021
|
-
})), (input.Scte27SourceSettings
|
|
8022
|
-
input.Scte27SourceSettings !== null && {
|
|
7895
|
+
})), (input.Scte27SourceSettings != null && {
|
|
8023
7896
|
scte27SourceSettings: serializeAws_restJson1Scte27SourceSettings(input.Scte27SourceSettings, context),
|
|
8024
|
-
})), (input.TeletextSourceSettings
|
|
8025
|
-
input.TeletextSourceSettings !== null && {
|
|
7897
|
+
})), (input.TeletextSourceSettings != null && {
|
|
8026
7898
|
teletextSourceSettings: serializeAws_restJson1TeletextSourceSettings(input.TeletextSourceSettings, context),
|
|
8027
7899
|
}));
|
|
8028
7900
|
};
|
|
8029
7901
|
var serializeAws_restJson1CdiInputSpecification = function (input, context) {
|
|
8030
|
-
return __assign({}, (input.Resolution
|
|
7902
|
+
return __assign({}, (input.Resolution != null && { resolution: input.Resolution }));
|
|
8031
7903
|
};
|
|
8032
7904
|
var serializeAws_restJson1ColorSpacePassthroughSettings = function (input, context) {
|
|
8033
7905
|
return {};
|
|
8034
7906
|
};
|
|
8035
7907
|
var serializeAws_restJson1DvbNitSettings = function (input, context) {
|
|
8036
|
-
return __assign(__assign(__assign({}, (input.NetworkId
|
|
7908
|
+
return __assign(__assign(__assign({}, (input.NetworkId != null && { networkId: input.NetworkId })), (input.NetworkName != null && { networkName: input.NetworkName })), (input.RepInterval != null && { repInterval: input.RepInterval }));
|
|
8037
7909
|
};
|
|
8038
7910
|
var serializeAws_restJson1DvbSdtSettings = function (input, context) {
|
|
8039
|
-
return __assign(__assign(__assign(__assign({}, (input.OutputSdt
|
|
8040
|
-
input.ServiceProviderName !== null && { serviceProviderName: input.ServiceProviderName }));
|
|
7911
|
+
return __assign(__assign(__assign(__assign({}, (input.OutputSdt != null && { outputSdt: input.OutputSdt })), (input.RepInterval != null && { repInterval: input.RepInterval })), (input.ServiceName != null && { serviceName: input.ServiceName })), (input.ServiceProviderName != null && { serviceProviderName: input.ServiceProviderName }));
|
|
8041
7912
|
};
|
|
8042
7913
|
var serializeAws_restJson1DvbSubDestinationSettings = function (input, context) {
|
|
8043
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment
|
|
8044
|
-
input.BackgroundColor !== null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity !== undefined &&
|
|
8045
|
-
input.BackgroundOpacity !== null && { backgroundOpacity: input.BackgroundOpacity })), (input.Font !== undefined &&
|
|
8046
|
-
input.Font !== null && { font: serializeAws_restJson1InputLocation(input.Font, context) })), (input.FontColor !== undefined && input.FontColor !== null && { fontColor: input.FontColor })), (input.FontOpacity !== undefined && input.FontOpacity !== null && { fontOpacity: input.FontOpacity })), (input.FontResolution !== undefined &&
|
|
8047
|
-
input.FontResolution !== null && { fontResolution: input.FontResolution })), (input.FontSize !== undefined && input.FontSize !== null && { fontSize: input.FontSize })), (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.TeletextGridControl !== undefined &&
|
|
8048
|
-
input.TeletextGridControl !== null && { teletextGridControl: input.TeletextGridControl })), (input.XPosition !== undefined && input.XPosition !== null && { xPosition: input.XPosition })), (input.YPosition !== undefined && input.YPosition !== null && { yPosition: input.YPosition }));
|
|
7914
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alignment != null && { alignment: input.Alignment })), (input.BackgroundColor != null && { backgroundColor: input.BackgroundColor })), (input.BackgroundOpacity != null && { backgroundOpacity: input.BackgroundOpacity })), (input.Font != null && { font: serializeAws_restJson1InputLocation(input.Font, context) })), (input.FontColor != null && { fontColor: input.FontColor })), (input.FontOpacity != null && { fontOpacity: input.FontOpacity })), (input.FontResolution != null && { fontResolution: input.FontResolution })), (input.FontSize != null && { fontSize: input.FontSize })), (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.TeletextGridControl != null && { teletextGridControl: input.TeletextGridControl })), (input.XPosition != null && { xPosition: input.XPosition })), (input.YPosition != null && { yPosition: input.YPosition }));
|
|
8049
7915
|
};
|
|
8050
7916
|
var serializeAws_restJson1DvbSubSourceSettings = function (input, context) {
|
|
8051
|
-
return __assign(__assign({}, (input.OcrLanguage
|
|
7917
|
+
return __assign(__assign({}, (input.OcrLanguage != null && { ocrLanguage: input.OcrLanguage })), (input.Pid != null && { pid: input.Pid }));
|
|
8052
7918
|
};
|
|
8053
7919
|
var serializeAws_restJson1DvbTdtSettings = function (input, context) {
|
|
8054
|
-
return __assign({}, (input.RepInterval
|
|
7920
|
+
return __assign({}, (input.RepInterval != null && { repInterval: input.RepInterval }));
|
|
8055
7921
|
};
|
|
8056
7922
|
var serializeAws_restJson1Eac3Settings = function (input, context) {
|
|
8057
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttenuationControl
|
|
8058
|
-
input.AttenuationControl !== null && { attenuationControl: input.AttenuationControl })), (input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: __serializeFloat(input.Bitrate) })), (input.BitstreamMode !== undefined && input.BitstreamMode !== null && { bitstreamMode: input.BitstreamMode })), (input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode })), (input.DcFilter !== undefined && input.DcFilter !== null && { dcFilter: input.DcFilter })), (input.Dialnorm !== undefined && input.Dialnorm !== null && { dialnorm: input.Dialnorm })), (input.DrcLine !== undefined && input.DrcLine !== null && { drcLine: input.DrcLine })), (input.DrcRf !== undefined && input.DrcRf !== null && { drcRf: input.DrcRf })), (input.LfeControl !== undefined && input.LfeControl !== null && { lfeControl: input.LfeControl })), (input.LfeFilter !== undefined && input.LfeFilter !== null && { lfeFilter: input.LfeFilter })), (input.LoRoCenterMixLevel !== undefined &&
|
|
8059
|
-
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel: __serializeFloat(input.LoRoCenterMixLevel) })), (input.LoRoSurroundMixLevel !== undefined &&
|
|
8060
|
-
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel: __serializeFloat(input.LoRoSurroundMixLevel) })), (input.LtRtCenterMixLevel !== undefined &&
|
|
8061
|
-
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel: __serializeFloat(input.LtRtCenterMixLevel) })), (input.LtRtSurroundMixLevel !== undefined &&
|
|
8062
|
-
input.LtRtSurroundMixLevel !== null && { ltRtSurroundMixLevel: __serializeFloat(input.LtRtSurroundMixLevel) })), (input.MetadataControl !== undefined &&
|
|
8063
|
-
input.MetadataControl !== null && { metadataControl: input.MetadataControl })), (input.PassthroughControl !== undefined &&
|
|
8064
|
-
input.PassthroughControl !== null && { passthroughControl: input.PassthroughControl })), (input.PhaseControl !== undefined && input.PhaseControl !== null && { phaseControl: input.PhaseControl })), (input.StereoDownmix !== undefined && input.StereoDownmix !== null && { stereoDownmix: input.StereoDownmix })), (input.SurroundExMode !== undefined &&
|
|
8065
|
-
input.SurroundExMode !== null && { surroundExMode: input.SurroundExMode })), (input.SurroundMode !== undefined && input.SurroundMode !== null && { surroundMode: input.SurroundMode }));
|
|
7923
|
+
return __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: __serializeFloat(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.DrcLine != null && { drcLine: input.DrcLine })), (input.DrcRf != null && { drcRf: input.DrcRf })), (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.StereoDownmix != null && { stereoDownmix: input.StereoDownmix })), (input.SurroundExMode != null && { surroundExMode: input.SurroundExMode })), (input.SurroundMode != null && { surroundMode: input.SurroundMode }));
|
|
8066
7924
|
};
|
|
8067
7925
|
var serializeAws_restJson1EbuTtDDestinationSettings = function (input, context) {
|
|
8068
|
-
return __assign(__assign(__assign(__assign({}, (input.CopyrightHolder
|
|
8069
|
-
input.CopyrightHolder !== null && { copyrightHolder: input.CopyrightHolder })), (input.FillLineGap !== undefined && input.FillLineGap !== null && { fillLineGap: input.FillLineGap })), (input.FontFamily !== undefined && input.FontFamily !== null && { fontFamily: input.FontFamily })), (input.StyleControl !== undefined && input.StyleControl !== null && { styleControl: input.StyleControl }));
|
|
7926
|
+
return __assign(__assign(__assign(__assign({}, (input.CopyrightHolder != null && { copyrightHolder: input.CopyrightHolder })), (input.FillLineGap != null && { fillLineGap: input.FillLineGap })), (input.FontFamily != null && { fontFamily: input.FontFamily })), (input.StyleControl != null && { styleControl: input.StyleControl }));
|
|
8070
7927
|
};
|
|
8071
7928
|
var serializeAws_restJson1EmbeddedDestinationSettings = function (input, context) {
|
|
8072
7929
|
return {};
|
|
@@ -8075,101 +7932,75 @@ var serializeAws_restJson1EmbeddedPlusScte20DestinationSettings = function (inpu
|
|
|
8075
7932
|
return {};
|
|
8076
7933
|
};
|
|
8077
7934
|
var serializeAws_restJson1EmbeddedSourceSettings = function (input, context) {
|
|
8078
|
-
return __assign(__assign(__assign(__assign({}, (input.Convert608To708
|
|
8079
|
-
input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.Scte20Detection !== undefined &&
|
|
8080
|
-
input.Scte20Detection !== null && { scte20Detection: input.Scte20Detection })), (input.Source608ChannelNumber !== undefined &&
|
|
8081
|
-
input.Source608ChannelNumber !== null && { source608ChannelNumber: input.Source608ChannelNumber })), (input.Source608TrackNumber !== undefined &&
|
|
8082
|
-
input.Source608TrackNumber !== null && { source608TrackNumber: input.Source608TrackNumber }));
|
|
7935
|
+
return __assign(__assign(__assign(__assign({}, (input.Convert608To708 != null && { convert608To708: input.Convert608To708 })), (input.Scte20Detection != null && { scte20Detection: input.Scte20Detection })), (input.Source608ChannelNumber != null && { source608ChannelNumber: input.Source608ChannelNumber })), (input.Source608TrackNumber != null && { source608TrackNumber: input.Source608TrackNumber }));
|
|
8083
7936
|
};
|
|
8084
7937
|
var serializeAws_restJson1EncoderSettings = function (input, context) {
|
|
8085
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptions
|
|
8086
|
-
input.AudioDescriptions !== null && {
|
|
7938
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptions != null && {
|
|
8087
7939
|
audioDescriptions: serializeAws_restJson1__listOfAudioDescription(input.AudioDescriptions, context),
|
|
8088
|
-
})), (input.AvailBlanking
|
|
8089
|
-
input.AvailBlanking !== null && {
|
|
7940
|
+
})), (input.AvailBlanking != null && {
|
|
8090
7941
|
availBlanking: serializeAws_restJson1AvailBlanking(input.AvailBlanking, context),
|
|
8091
|
-
})), (input.AvailConfiguration
|
|
8092
|
-
input.AvailConfiguration !== null && {
|
|
7942
|
+
})), (input.AvailConfiguration != null && {
|
|
8093
7943
|
availConfiguration: serializeAws_restJson1AvailConfiguration(input.AvailConfiguration, context),
|
|
8094
|
-
})), (input.BlackoutSlate
|
|
8095
|
-
input.BlackoutSlate !== null && {
|
|
7944
|
+
})), (input.BlackoutSlate != null && {
|
|
8096
7945
|
blackoutSlate: serializeAws_restJson1BlackoutSlate(input.BlackoutSlate, context),
|
|
8097
|
-
})), (input.CaptionDescriptions
|
|
8098
|
-
input.CaptionDescriptions !== null && {
|
|
7946
|
+
})), (input.CaptionDescriptions != null && {
|
|
8099
7947
|
captionDescriptions: serializeAws_restJson1__listOfCaptionDescription(input.CaptionDescriptions, context),
|
|
8100
|
-
})), (input.FeatureActivations
|
|
8101
|
-
input.FeatureActivations !== null && {
|
|
7948
|
+
})), (input.FeatureActivations != null && {
|
|
8102
7949
|
featureActivations: serializeAws_restJson1FeatureActivations(input.FeatureActivations, context),
|
|
8103
|
-
})), (input.GlobalConfiguration
|
|
8104
|
-
input.GlobalConfiguration !== null && {
|
|
7950
|
+
})), (input.GlobalConfiguration != null && {
|
|
8105
7951
|
globalConfiguration: serializeAws_restJson1GlobalConfiguration(input.GlobalConfiguration, context),
|
|
8106
|
-
})), (input.MotionGraphicsConfiguration
|
|
8107
|
-
input.MotionGraphicsConfiguration !== null && {
|
|
7952
|
+
})), (input.MotionGraphicsConfiguration != null && {
|
|
8108
7953
|
motionGraphicsConfiguration: serializeAws_restJson1MotionGraphicsConfiguration(input.MotionGraphicsConfiguration, context),
|
|
8109
|
-
})), (input.NielsenConfiguration
|
|
8110
|
-
input.NielsenConfiguration !== null && {
|
|
7954
|
+
})), (input.NielsenConfiguration != null && {
|
|
8111
7955
|
nielsenConfiguration: serializeAws_restJson1NielsenConfiguration(input.NielsenConfiguration, context),
|
|
8112
|
-
})), (input.OutputGroups
|
|
8113
|
-
input.OutputGroups !== null && {
|
|
7956
|
+
})), (input.OutputGroups != null && {
|
|
8114
7957
|
outputGroups: serializeAws_restJson1__listOfOutputGroup(input.OutputGroups, context),
|
|
8115
|
-
})), (input.TimecodeConfig
|
|
8116
|
-
input.TimecodeConfig !== null && {
|
|
7958
|
+
})), (input.TimecodeConfig != null && {
|
|
8117
7959
|
timecodeConfig: serializeAws_restJson1TimecodeConfig(input.TimecodeConfig, context),
|
|
8118
|
-
})), (input.VideoDescriptions
|
|
8119
|
-
input.VideoDescriptions !== null && {
|
|
7960
|
+
})), (input.VideoDescriptions != null && {
|
|
8120
7961
|
videoDescriptions: serializeAws_restJson1__listOfVideoDescription(input.VideoDescriptions, context),
|
|
8121
7962
|
}));
|
|
8122
7963
|
};
|
|
8123
7964
|
var serializeAws_restJson1FailoverCondition = function (input, context) {
|
|
8124
|
-
return __assign({}, (input.FailoverConditionSettings
|
|
8125
|
-
input.FailoverConditionSettings !== null && {
|
|
7965
|
+
return __assign({}, (input.FailoverConditionSettings != null && {
|
|
8126
7966
|
failoverConditionSettings: serializeAws_restJson1FailoverConditionSettings(input.FailoverConditionSettings, context),
|
|
8127
7967
|
}));
|
|
8128
7968
|
};
|
|
8129
7969
|
var serializeAws_restJson1FailoverConditionSettings = function (input, context) {
|
|
8130
|
-
return __assign(__assign(__assign({}, (input.AudioSilenceSettings
|
|
8131
|
-
input.AudioSilenceSettings !== null && {
|
|
7970
|
+
return __assign(__assign(__assign({}, (input.AudioSilenceSettings != null && {
|
|
8132
7971
|
audioSilenceSettings: serializeAws_restJson1AudioSilenceFailoverSettings(input.AudioSilenceSettings, context),
|
|
8133
|
-
})), (input.InputLossSettings
|
|
8134
|
-
input.InputLossSettings !== null && {
|
|
7972
|
+
})), (input.InputLossSettings != null && {
|
|
8135
7973
|
inputLossSettings: serializeAws_restJson1InputLossFailoverSettings(input.InputLossSettings, context),
|
|
8136
|
-
})), (input.VideoBlackSettings
|
|
8137
|
-
input.VideoBlackSettings !== null && {
|
|
7974
|
+
})), (input.VideoBlackSettings != null && {
|
|
8138
7975
|
videoBlackSettings: serializeAws_restJson1VideoBlackFailoverSettings(input.VideoBlackSettings, context),
|
|
8139
7976
|
}));
|
|
8140
7977
|
};
|
|
8141
7978
|
var serializeAws_restJson1FeatureActivations = function (input, context) {
|
|
8142
|
-
return __assign({}, (input.InputPrepareScheduleActions
|
|
8143
|
-
|
|
7979
|
+
return __assign({}, (input.InputPrepareScheduleActions != null && {
|
|
7980
|
+
inputPrepareScheduleActions: input.InputPrepareScheduleActions,
|
|
7981
|
+
}));
|
|
8144
7982
|
};
|
|
8145
7983
|
var serializeAws_restJson1FecOutputSettings = function (input, context) {
|
|
8146
|
-
return __assign(__assign(__assign({}, (input.ColumnDepth
|
|
7984
|
+
return __assign(__assign(__assign({}, (input.ColumnDepth != null && { columnDepth: input.ColumnDepth })), (input.IncludeFec != null && { includeFec: input.IncludeFec })), (input.RowLength != null && { rowLength: input.RowLength }));
|
|
8147
7985
|
};
|
|
8148
7986
|
var serializeAws_restJson1FixedModeScheduleActionStartSettings = function (input, context) {
|
|
8149
|
-
return __assign({}, (input.Time
|
|
7987
|
+
return __assign({}, (input.Time != null && { time: input.Time }));
|
|
8150
7988
|
};
|
|
8151
7989
|
var serializeAws_restJson1Fmp4HlsSettings = function (input, context) {
|
|
8152
|
-
return __assign(__assign(__assign({}, (input.AudioRenditionSets
|
|
8153
|
-
input.AudioRenditionSets !== null && { audioRenditionSets: input.AudioRenditionSets })), (input.NielsenId3Behavior !== undefined &&
|
|
8154
|
-
input.NielsenId3Behavior !== null && { nielsenId3Behavior: input.NielsenId3Behavior })), (input.TimedMetadataBehavior !== undefined &&
|
|
8155
|
-
input.TimedMetadataBehavior !== null && { timedMetadataBehavior: input.TimedMetadataBehavior }));
|
|
7990
|
+
return __assign(__assign(__assign({}, (input.AudioRenditionSets != null && { audioRenditionSets: input.AudioRenditionSets })), (input.NielsenId3Behavior != null && { nielsenId3Behavior: input.NielsenId3Behavior })), (input.TimedMetadataBehavior != null && { timedMetadataBehavior: input.TimedMetadataBehavior }));
|
|
8156
7991
|
};
|
|
8157
7992
|
var serializeAws_restJson1FollowModeScheduleActionStartSettings = function (input, context) {
|
|
8158
|
-
return __assign(__assign({}, (input.FollowPoint
|
|
8159
|
-
input.ReferenceActionName !== null && { referenceActionName: input.ReferenceActionName }));
|
|
7993
|
+
return __assign(__assign({}, (input.FollowPoint != null && { followPoint: input.FollowPoint })), (input.ReferenceActionName != null && { referenceActionName: input.ReferenceActionName }));
|
|
8160
7994
|
};
|
|
8161
7995
|
var serializeAws_restJson1FrameCaptureCdnSettings = function (input, context) {
|
|
8162
|
-
return __assign({}, (input.FrameCaptureS3Settings
|
|
8163
|
-
input.FrameCaptureS3Settings !== null && {
|
|
7996
|
+
return __assign({}, (input.FrameCaptureS3Settings != null && {
|
|
8164
7997
|
frameCaptureS3Settings: serializeAws_restJson1FrameCaptureS3Settings(input.FrameCaptureS3Settings, context),
|
|
8165
7998
|
}));
|
|
8166
7999
|
};
|
|
8167
8000
|
var serializeAws_restJson1FrameCaptureGroupSettings = function (input, context) {
|
|
8168
|
-
return __assign(__assign({}, (input.Destination
|
|
8169
|
-
input.Destination !== null && {
|
|
8001
|
+
return __assign(__assign({}, (input.Destination != null && {
|
|
8170
8002
|
destination: serializeAws_restJson1OutputLocationRef(input.Destination, context),
|
|
8171
|
-
})), (input.FrameCaptureCdnSettings
|
|
8172
|
-
input.FrameCaptureCdnSettings !== null && {
|
|
8003
|
+
})), (input.FrameCaptureCdnSettings != null && {
|
|
8173
8004
|
frameCaptureCdnSettings: serializeAws_restJson1FrameCaptureCdnSettings(input.FrameCaptureCdnSettings, context),
|
|
8174
8005
|
}));
|
|
8175
8006
|
};
|
|
@@ -8177,230 +8008,129 @@ var serializeAws_restJson1FrameCaptureHlsSettings = function (input, context) {
|
|
|
8177
8008
|
return {};
|
|
8178
8009
|
};
|
|
8179
8010
|
var serializeAws_restJson1FrameCaptureOutputSettings = function (input, context) {
|
|
8180
|
-
return __assign({}, (input.NameModifier
|
|
8011
|
+
return __assign({}, (input.NameModifier != null && { nameModifier: input.NameModifier }));
|
|
8181
8012
|
};
|
|
8182
8013
|
var serializeAws_restJson1FrameCaptureS3Settings = function (input, context) {
|
|
8183
|
-
return __assign({}, (input.CannedAcl
|
|
8014
|
+
return __assign({}, (input.CannedAcl != null && { cannedAcl: input.CannedAcl }));
|
|
8184
8015
|
};
|
|
8185
8016
|
var serializeAws_restJson1FrameCaptureSettings = function (input, context) {
|
|
8186
|
-
return __assign(__assign({}, (input.CaptureInterval
|
|
8187
|
-
input.CaptureInterval !== null && { captureInterval: input.CaptureInterval })), (input.CaptureIntervalUnits !== undefined &&
|
|
8188
|
-
input.CaptureIntervalUnits !== null && { captureIntervalUnits: input.CaptureIntervalUnits }));
|
|
8017
|
+
return __assign(__assign({}, (input.CaptureInterval != null && { captureInterval: input.CaptureInterval })), (input.CaptureIntervalUnits != null && { captureIntervalUnits: input.CaptureIntervalUnits }));
|
|
8189
8018
|
};
|
|
8190
8019
|
var serializeAws_restJson1GlobalConfiguration = function (input, context) {
|
|
8191
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.InitialAudioGain
|
|
8192
|
-
input.InitialAudioGain !== null && { initialAudioGain: input.InitialAudioGain })), (input.InputEndAction !== undefined &&
|
|
8193
|
-
input.InputEndAction !== null && { inputEndAction: input.InputEndAction })), (input.InputLossBehavior !== undefined &&
|
|
8194
|
-
input.InputLossBehavior !== null && {
|
|
8020
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.InitialAudioGain != null && { initialAudioGain: input.InitialAudioGain })), (input.InputEndAction != null && { inputEndAction: input.InputEndAction })), (input.InputLossBehavior != null && {
|
|
8195
8021
|
inputLossBehavior: serializeAws_restJson1InputLossBehavior(input.InputLossBehavior, context),
|
|
8196
|
-
})), (input.OutputLockingMode
|
|
8197
|
-
input.OutputLockingMode !== null && { outputLockingMode: input.OutputLockingMode })), (input.OutputTimingSource !== undefined &&
|
|
8198
|
-
input.OutputTimingSource !== null && { outputTimingSource: input.OutputTimingSource })), (input.SupportLowFramerateInputs !== undefined &&
|
|
8199
|
-
input.SupportLowFramerateInputs !== null && { supportLowFramerateInputs: input.SupportLowFramerateInputs }));
|
|
8022
|
+
})), (input.OutputLockingMode != null && { outputLockingMode: input.OutputLockingMode })), (input.OutputTimingSource != null && { outputTimingSource: input.OutputTimingSource })), (input.SupportLowFramerateInputs != null && { supportLowFramerateInputs: input.SupportLowFramerateInputs }));
|
|
8200
8023
|
};
|
|
8201
8024
|
var serializeAws_restJson1H264ColorSpaceSettings = function (input, context) {
|
|
8202
|
-
return __assign(__assign(__assign({}, (input.ColorSpacePassthroughSettings
|
|
8203
|
-
input.ColorSpacePassthroughSettings !== null && {
|
|
8025
|
+
return __assign(__assign(__assign({}, (input.ColorSpacePassthroughSettings != null && {
|
|
8204
8026
|
colorSpacePassthroughSettings: serializeAws_restJson1ColorSpacePassthroughSettings(input.ColorSpacePassthroughSettings, context),
|
|
8205
|
-
})), (input.Rec601Settings
|
|
8206
|
-
input.Rec601Settings !== null && {
|
|
8027
|
+
})), (input.Rec601Settings != null && {
|
|
8207
8028
|
rec601Settings: serializeAws_restJson1Rec601Settings(input.Rec601Settings, context),
|
|
8208
|
-
})), (input.Rec709Settings
|
|
8209
|
-
input.Rec709Settings !== null && {
|
|
8029
|
+
})), (input.Rec709Settings != null && {
|
|
8210
8030
|
rec709Settings: serializeAws_restJson1Rec709Settings(input.Rec709Settings, context),
|
|
8211
8031
|
}));
|
|
8212
8032
|
};
|
|
8213
8033
|
var serializeAws_restJson1H264FilterSettings = function (input, context) {
|
|
8214
|
-
return __assign({}, (input.TemporalFilterSettings
|
|
8215
|
-
input.TemporalFilterSettings !== null && {
|
|
8034
|
+
return __assign({}, (input.TemporalFilterSettings != null && {
|
|
8216
8035
|
temporalFilterSettings: serializeAws_restJson1TemporalFilterSettings(input.TemporalFilterSettings, context),
|
|
8217
8036
|
}));
|
|
8218
8037
|
};
|
|
8219
8038
|
var serializeAws_restJson1H264Settings = function (input, context) {
|
|
8220
|
-
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(__assign({}, (input.AdaptiveQuantization
|
|
8221
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.AfdSignaling !== undefined && input.AfdSignaling !== null && { afdSignaling: input.AfdSignaling })), (input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: input.Bitrate })), (input.BufFillPct !== undefined && input.BufFillPct !== null && { bufFillPct: input.BufFillPct })), (input.BufSize !== undefined && input.BufSize !== null && { bufSize: input.BufSize })), (input.ColorMetadata !== undefined && input.ColorMetadata !== null && { colorMetadata: input.ColorMetadata })), (input.ColorSpaceSettings !== undefined &&
|
|
8222
|
-
input.ColorSpaceSettings !== null && {
|
|
8039
|
+
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(__assign({}, (input.AdaptiveQuantization != null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.AfdSignaling != null && { afdSignaling: input.AfdSignaling })), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.BufFillPct != null && { bufFillPct: input.BufFillPct })), (input.BufSize != null && { bufSize: input.BufSize })), (input.ColorMetadata != null && { colorMetadata: input.ColorMetadata })), (input.ColorSpaceSettings != null && {
|
|
8223
8040
|
colorSpaceSettings: serializeAws_restJson1H264ColorSpaceSettings(input.ColorSpaceSettings, context),
|
|
8224
|
-
})), (input.EntropyEncoding
|
|
8225
|
-
input.EntropyEncoding !== null && { entropyEncoding: input.EntropyEncoding })), (input.FilterSettings !== undefined &&
|
|
8226
|
-
input.FilterSettings !== null && {
|
|
8041
|
+
})), (input.EntropyEncoding != null && { entropyEncoding: input.EntropyEncoding })), (input.FilterSettings != null && {
|
|
8227
8042
|
filterSettings: serializeAws_restJson1H264FilterSettings(input.FilterSettings, context),
|
|
8228
|
-
})), (input.FixedAfd
|
|
8229
|
-
input.ForceFieldPictures !== null && { forceFieldPictures: input.ForceFieldPictures })), (input.FramerateControl !== undefined &&
|
|
8230
|
-
input.FramerateControl !== null && { framerateControl: input.FramerateControl })), (input.FramerateDenominator !== undefined &&
|
|
8231
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
8232
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopBReference !== undefined && input.GopBReference !== null && { gopBReference: input.GopBReference })), (input.GopClosedCadence !== undefined &&
|
|
8233
|
-
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence })), (input.GopNumBFrames !== undefined && input.GopNumBFrames !== null && { gopNumBFrames: input.GopNumBFrames })), (input.GopSize !== undefined && input.GopSize !== null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits })), (input.Level !== undefined && input.Level !== null && { level: input.Level })), (input.LookAheadRateControl !== undefined &&
|
|
8234
|
-
input.LookAheadRateControl !== null && { lookAheadRateControl: input.LookAheadRateControl })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate })), (input.MinIInterval !== undefined && input.MinIInterval !== null && { minIInterval: input.MinIInterval })), (input.NumRefFrames !== undefined && input.NumRefFrames !== null && { numRefFrames: input.NumRefFrames })), (input.ParControl !== undefined && input.ParControl !== null && { parControl: input.ParControl })), (input.ParDenominator !== undefined &&
|
|
8235
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.Profile !== undefined && input.Profile !== null && { profile: input.Profile })), (input.QualityLevel !== undefined && input.QualityLevel !== null && { qualityLevel: input.QualityLevel })), (input.QvbrQualityLevel !== undefined &&
|
|
8236
|
-
input.QvbrQualityLevel !== null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.RateControlMode !== undefined &&
|
|
8237
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.ScanType !== undefined && input.ScanType !== null && { scanType: input.ScanType })), (input.SceneChangeDetect !== undefined &&
|
|
8238
|
-
input.SceneChangeDetect !== null && { sceneChangeDetect: input.SceneChangeDetect })), (input.Slices !== undefined && input.Slices !== null && { slices: input.Slices })), (input.Softness !== undefined && input.Softness !== null && { softness: input.Softness })), (input.SpatialAq !== undefined && input.SpatialAq !== null && { spatialAq: input.SpatialAq })), (input.SubgopLength !== undefined && input.SubgopLength !== null && { subgopLength: input.SubgopLength })), (input.Syntax !== undefined && input.Syntax !== null && { syntax: input.Syntax })), (input.TemporalAq !== undefined && input.TemporalAq !== null && { temporalAq: input.TemporalAq })), (input.TimecodeInsertion !== undefined &&
|
|
8239
|
-
input.TimecodeInsertion !== null && { timecodeInsertion: input.TimecodeInsertion }));
|
|
8043
|
+
})), (input.FixedAfd != null && { fixedAfd: input.FixedAfd })), (input.FlickerAq != null && { flickerAq: input.FlickerAq })), (input.ForceFieldPictures != null && { forceFieldPictures: input.ForceFieldPictures })), (input.FramerateControl != null && { framerateControl: input.FramerateControl })), (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.GopNumBFrames != null && { gopNumBFrames: input.GopNumBFrames })), (input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits })), (input.Level != null && { level: input.Level })), (input.LookAheadRateControl != null && { lookAheadRateControl: input.LookAheadRateControl })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MinIInterval != null && { minIInterval: input.MinIInterval })), (input.NumRefFrames != null && { numRefFrames: input.NumRefFrames })), (input.ParControl != null && { parControl: input.ParControl })), (input.ParDenominator != null && { parDenominator: input.ParDenominator })), (input.ParNumerator != null && { parNumerator: input.ParNumerator })), (input.Profile != null && { profile: input.Profile })), (input.QualityLevel != null && { qualityLevel: input.QualityLevel })), (input.QvbrQualityLevel != null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.ScanType != null && { scanType: input.ScanType })), (input.SceneChangeDetect != null && { sceneChangeDetect: input.SceneChangeDetect })), (input.Slices != null && { slices: input.Slices })), (input.Softness != null && { softness: input.Softness })), (input.SpatialAq != null && { spatialAq: input.SpatialAq })), (input.SubgopLength != null && { subgopLength: input.SubgopLength })), (input.Syntax != null && { syntax: input.Syntax })), (input.TemporalAq != null && { temporalAq: input.TemporalAq })), (input.TimecodeInsertion != null && { timecodeInsertion: input.TimecodeInsertion }));
|
|
8240
8044
|
};
|
|
8241
8045
|
var serializeAws_restJson1H265ColorSpaceSettings = function (input, context) {
|
|
8242
|
-
return __assign(__assign(__assign(__assign({}, (input.ColorSpacePassthroughSettings
|
|
8243
|
-
input.ColorSpacePassthroughSettings !== null && {
|
|
8046
|
+
return __assign(__assign(__assign(__assign({}, (input.ColorSpacePassthroughSettings != null && {
|
|
8244
8047
|
colorSpacePassthroughSettings: serializeAws_restJson1ColorSpacePassthroughSettings(input.ColorSpacePassthroughSettings, context),
|
|
8245
|
-
})), (input.Hdr10Settings
|
|
8246
|
-
input.Hdr10Settings !== null && {
|
|
8048
|
+
})), (input.Hdr10Settings != null && {
|
|
8247
8049
|
hdr10Settings: serializeAws_restJson1Hdr10Settings(input.Hdr10Settings, context),
|
|
8248
|
-
})), (input.Rec601Settings
|
|
8249
|
-
input.Rec601Settings !== null && {
|
|
8050
|
+
})), (input.Rec601Settings != null && {
|
|
8250
8051
|
rec601Settings: serializeAws_restJson1Rec601Settings(input.Rec601Settings, context),
|
|
8251
|
-
})), (input.Rec709Settings
|
|
8252
|
-
input.Rec709Settings !== null && {
|
|
8052
|
+
})), (input.Rec709Settings != null && {
|
|
8253
8053
|
rec709Settings: serializeAws_restJson1Rec709Settings(input.Rec709Settings, context),
|
|
8254
8054
|
}));
|
|
8255
8055
|
};
|
|
8256
8056
|
var serializeAws_restJson1H265FilterSettings = function (input, context) {
|
|
8257
|
-
return __assign({}, (input.TemporalFilterSettings
|
|
8258
|
-
input.TemporalFilterSettings !== null && {
|
|
8057
|
+
return __assign({}, (input.TemporalFilterSettings != null && {
|
|
8259
8058
|
temporalFilterSettings: serializeAws_restJson1TemporalFilterSettings(input.TemporalFilterSettings, context),
|
|
8260
8059
|
}));
|
|
8261
8060
|
};
|
|
8262
8061
|
var serializeAws_restJson1H265Settings = function (input, context) {
|
|
8263
|
-
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({}, (input.AdaptiveQuantization
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
input.ColorSpaceSettings !== null && {
|
|
8062
|
+
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({}, (input.AdaptiveQuantization != null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.AfdSignaling != null && { afdSignaling: input.AfdSignaling })), (input.AlternativeTransferFunction != null && {
|
|
8063
|
+
alternativeTransferFunction: input.AlternativeTransferFunction,
|
|
8064
|
+
})), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.BufSize != null && { bufSize: input.BufSize })), (input.ColorMetadata != null && { colorMetadata: input.ColorMetadata })), (input.ColorSpaceSettings != null && {
|
|
8267
8065
|
colorSpaceSettings: serializeAws_restJson1H265ColorSpaceSettings(input.ColorSpaceSettings, context),
|
|
8268
|
-
})), (input.FilterSettings
|
|
8269
|
-
input.FilterSettings !== null && {
|
|
8066
|
+
})), (input.FilterSettings != null && {
|
|
8270
8067
|
filterSettings: serializeAws_restJson1H265FilterSettings(input.FilterSettings, context),
|
|
8271
|
-
})), (input.FixedAfd
|
|
8272
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
8273
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopClosedCadence !== undefined &&
|
|
8274
|
-
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.Level !== undefined && input.Level !== null && { level: input.Level })), (input.LookAheadRateControl !== undefined &&
|
|
8275
|
-
input.LookAheadRateControl !== null && { lookAheadRateControl: input.LookAheadRateControl })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate })), (input.MinIInterval !== undefined && input.MinIInterval !== null && { minIInterval: input.MinIInterval })), (input.ParDenominator !== undefined &&
|
|
8276
|
-
input.ParDenominator !== null && { parDenominator: input.ParDenominator })), (input.ParNumerator !== undefined && input.ParNumerator !== null && { parNumerator: input.ParNumerator })), (input.Profile !== undefined && input.Profile !== null && { profile: input.Profile })), (input.QvbrQualityLevel !== undefined &&
|
|
8277
|
-
input.QvbrQualityLevel !== null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.RateControlMode !== undefined &&
|
|
8278
|
-
input.RateControlMode !== null && { rateControlMode: input.RateControlMode })), (input.ScanType !== undefined && input.ScanType !== null && { scanType: input.ScanType })), (input.SceneChangeDetect !== undefined &&
|
|
8279
|
-
input.SceneChangeDetect !== null && { sceneChangeDetect: input.SceneChangeDetect })), (input.Slices !== undefined && input.Slices !== null && { slices: input.Slices })), (input.Tier !== undefined && input.Tier !== null && { tier: input.Tier })), (input.TimecodeInsertion !== undefined &&
|
|
8280
|
-
input.TimecodeInsertion !== null && { timecodeInsertion: input.TimecodeInsertion }));
|
|
8068
|
+
})), (input.FixedAfd != null && { fixedAfd: input.FixedAfd })), (input.FlickerAq != null && { flickerAq: input.FlickerAq })), (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.Level != null && { level: input.Level })), (input.LookAheadRateControl != null && { lookAheadRateControl: input.LookAheadRateControl })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate })), (input.MinIInterval != null && { minIInterval: input.MinIInterval })), (input.ParDenominator != null && { parDenominator: input.ParDenominator })), (input.ParNumerator != null && { parNumerator: input.ParNumerator })), (input.Profile != null && { profile: input.Profile })), (input.QvbrQualityLevel != null && { qvbrQualityLevel: input.QvbrQualityLevel })), (input.RateControlMode != null && { rateControlMode: input.RateControlMode })), (input.ScanType != null && { scanType: input.ScanType })), (input.SceneChangeDetect != null && { sceneChangeDetect: input.SceneChangeDetect })), (input.Slices != null && { slices: input.Slices })), (input.Tier != null && { tier: input.Tier })), (input.TimecodeInsertion != null && { timecodeInsertion: input.TimecodeInsertion }));
|
|
8281
8069
|
};
|
|
8282
8070
|
var serializeAws_restJson1Hdr10Settings = function (input, context) {
|
|
8283
|
-
return __assign(__assign({}, (input.MaxCll
|
|
8071
|
+
return __assign(__assign({}, (input.MaxCll != null && { maxCll: input.MaxCll })), (input.MaxFall != null && { maxFall: input.MaxFall }));
|
|
8284
8072
|
};
|
|
8285
8073
|
var serializeAws_restJson1HlsAkamaiSettings = function (input, context) {
|
|
8286
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConnectionRetryInterval
|
|
8287
|
-
input.ConnectionRetryInterval !== null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.FilecacheDuration !== undefined &&
|
|
8288
|
-
input.FilecacheDuration !== null && { filecacheDuration: input.FilecacheDuration })), (input.HttpTransferMode !== undefined &&
|
|
8289
|
-
input.HttpTransferMode !== null && { httpTransferMode: input.HttpTransferMode })), (input.NumRetries !== undefined && input.NumRetries !== null && { numRetries: input.NumRetries })), (input.RestartDelay !== undefined && input.RestartDelay !== null && { restartDelay: input.RestartDelay })), (input.Salt !== undefined && input.Salt !== null && { salt: input.Salt })), (input.Token !== undefined && input.Token !== null && { token: input.Token }));
|
|
8074
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConnectionRetryInterval != null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.FilecacheDuration != null && { filecacheDuration: input.FilecacheDuration })), (input.HttpTransferMode != null && { httpTransferMode: input.HttpTransferMode })), (input.NumRetries != null && { numRetries: input.NumRetries })), (input.RestartDelay != null && { restartDelay: input.RestartDelay })), (input.Salt != null && { salt: input.Salt })), (input.Token != null && { token: input.Token }));
|
|
8290
8075
|
};
|
|
8291
8076
|
var serializeAws_restJson1HlsBasicPutSettings = function (input, context) {
|
|
8292
|
-
return __assign(__assign(__assign(__assign({}, (input.ConnectionRetryInterval
|
|
8293
|
-
input.ConnectionRetryInterval !== null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.FilecacheDuration !== undefined &&
|
|
8294
|
-
input.FilecacheDuration !== null && { filecacheDuration: input.FilecacheDuration })), (input.NumRetries !== undefined && input.NumRetries !== null && { numRetries: input.NumRetries })), (input.RestartDelay !== undefined && input.RestartDelay !== null && { restartDelay: input.RestartDelay }));
|
|
8077
|
+
return __assign(__assign(__assign(__assign({}, (input.ConnectionRetryInterval != null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.FilecacheDuration != null && { filecacheDuration: input.FilecacheDuration })), (input.NumRetries != null && { numRetries: input.NumRetries })), (input.RestartDelay != null && { restartDelay: input.RestartDelay }));
|
|
8295
8078
|
};
|
|
8296
8079
|
var serializeAws_restJson1HlsCdnSettings = function (input, context) {
|
|
8297
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.HlsAkamaiSettings
|
|
8298
|
-
input.HlsAkamaiSettings !== null && {
|
|
8080
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.HlsAkamaiSettings != null && {
|
|
8299
8081
|
hlsAkamaiSettings: serializeAws_restJson1HlsAkamaiSettings(input.HlsAkamaiSettings, context),
|
|
8300
|
-
})), (input.HlsBasicPutSettings
|
|
8301
|
-
input.HlsBasicPutSettings !== null && {
|
|
8082
|
+
})), (input.HlsBasicPutSettings != null && {
|
|
8302
8083
|
hlsBasicPutSettings: serializeAws_restJson1HlsBasicPutSettings(input.HlsBasicPutSettings, context),
|
|
8303
|
-
})), (input.HlsMediaStoreSettings
|
|
8304
|
-
input.HlsMediaStoreSettings !== null && {
|
|
8084
|
+
})), (input.HlsMediaStoreSettings != null && {
|
|
8305
8085
|
hlsMediaStoreSettings: serializeAws_restJson1HlsMediaStoreSettings(input.HlsMediaStoreSettings, context),
|
|
8306
|
-
})), (input.HlsS3Settings
|
|
8307
|
-
input.HlsS3Settings !== null && {
|
|
8086
|
+
})), (input.HlsS3Settings != null && {
|
|
8308
8087
|
hlsS3Settings: serializeAws_restJson1HlsS3Settings(input.HlsS3Settings, context),
|
|
8309
|
-
})), (input.HlsWebdavSettings
|
|
8310
|
-
input.HlsWebdavSettings !== null && {
|
|
8088
|
+
})), (input.HlsWebdavSettings != null && {
|
|
8311
8089
|
hlsWebdavSettings: serializeAws_restJson1HlsWebdavSettings(input.HlsWebdavSettings, context),
|
|
8312
8090
|
}));
|
|
8313
8091
|
};
|
|
8314
8092
|
var serializeAws_restJson1HlsGroupSettings = function (input, context) {
|
|
8315
|
-
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(__assign(__assign(__assign({}, (input.AdMarkers
|
|
8316
|
-
input.AdMarkers !== null && { adMarkers: serializeAws_restJson1__listOfHlsAdMarkers(input.AdMarkers, context) })), (input.BaseUrlContent !== undefined &&
|
|
8317
|
-
input.BaseUrlContent !== null && { baseUrlContent: input.BaseUrlContent })), (input.BaseUrlContent1 !== undefined &&
|
|
8318
|
-
input.BaseUrlContent1 !== null && { baseUrlContent1: input.BaseUrlContent1 })), (input.BaseUrlManifest !== undefined &&
|
|
8319
|
-
input.BaseUrlManifest !== null && { baseUrlManifest: input.BaseUrlManifest })), (input.BaseUrlManifest1 !== undefined &&
|
|
8320
|
-
input.BaseUrlManifest1 !== null && { baseUrlManifest1: input.BaseUrlManifest1 })), (input.CaptionLanguageMappings !== undefined &&
|
|
8321
|
-
input.CaptionLanguageMappings !== null && {
|
|
8093
|
+
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(__assign(__assign(__assign({}, (input.AdMarkers != null && { adMarkers: serializeAws_restJson1__listOfHlsAdMarkers(input.AdMarkers, context) })), (input.BaseUrlContent != null && { baseUrlContent: input.BaseUrlContent })), (input.BaseUrlContent1 != null && { baseUrlContent1: input.BaseUrlContent1 })), (input.BaseUrlManifest != null && { baseUrlManifest: input.BaseUrlManifest })), (input.BaseUrlManifest1 != null && { baseUrlManifest1: input.BaseUrlManifest1 })), (input.CaptionLanguageMappings != null && {
|
|
8322
8094
|
captionLanguageMappings: serializeAws_restJson1__listOfCaptionLanguageMapping(input.CaptionLanguageMappings, context),
|
|
8323
|
-
})), (input.CaptionLanguageSetting
|
|
8324
|
-
input.CaptionLanguageSetting !== null && { captionLanguageSetting: input.CaptionLanguageSetting })), (input.ClientCache !== undefined && input.ClientCache !== null && { clientCache: input.ClientCache })), (input.CodecSpecification !== undefined &&
|
|
8325
|
-
input.CodecSpecification !== null && { codecSpecification: input.CodecSpecification })), (input.ConstantIv !== undefined && input.ConstantIv !== null && { constantIv: input.ConstantIv })), (input.Destination !== undefined &&
|
|
8326
|
-
input.Destination !== null && {
|
|
8095
|
+
})), (input.CaptionLanguageSetting != null && { captionLanguageSetting: input.CaptionLanguageSetting })), (input.ClientCache != null && { clientCache: input.ClientCache })), (input.CodecSpecification != null && { codecSpecification: input.CodecSpecification })), (input.ConstantIv != null && { constantIv: input.ConstantIv })), (input.Destination != null && {
|
|
8327
8096
|
destination: serializeAws_restJson1OutputLocationRef(input.Destination, context),
|
|
8328
|
-
})), (input.DirectoryStructure
|
|
8329
|
-
input.DirectoryStructure !== null && { directoryStructure: input.DirectoryStructure })), (input.DiscontinuityTags !== undefined &&
|
|
8330
|
-
input.DiscontinuityTags !== null && { discontinuityTags: input.DiscontinuityTags })), (input.EncryptionType !== undefined &&
|
|
8331
|
-
input.EncryptionType !== null && { encryptionType: input.EncryptionType })), (input.HlsCdnSettings !== undefined &&
|
|
8332
|
-
input.HlsCdnSettings !== null && {
|
|
8097
|
+
})), (input.DirectoryStructure != null && { directoryStructure: input.DirectoryStructure })), (input.DiscontinuityTags != null && { discontinuityTags: input.DiscontinuityTags })), (input.EncryptionType != null && { encryptionType: input.EncryptionType })), (input.HlsCdnSettings != null && {
|
|
8333
8098
|
hlsCdnSettings: serializeAws_restJson1HlsCdnSettings(input.HlsCdnSettings, context),
|
|
8334
|
-
})), (input.HlsId3SegmentTagging
|
|
8335
|
-
input.HlsId3SegmentTagging !== null && { hlsId3SegmentTagging: input.HlsId3SegmentTagging })), (input.IFrameOnlyPlaylists !== undefined &&
|
|
8336
|
-
input.IFrameOnlyPlaylists !== null && { iFrameOnlyPlaylists: input.IFrameOnlyPlaylists })), (input.IncompleteSegmentBehavior !== undefined &&
|
|
8337
|
-
input.IncompleteSegmentBehavior !== null && { incompleteSegmentBehavior: input.IncompleteSegmentBehavior })), (input.IndexNSegments !== undefined &&
|
|
8338
|
-
input.IndexNSegments !== null && { indexNSegments: input.IndexNSegments })), (input.InputLossAction !== undefined &&
|
|
8339
|
-
input.InputLossAction !== null && { inputLossAction: input.InputLossAction })), (input.IvInManifest !== undefined && input.IvInManifest !== null && { ivInManifest: input.IvInManifest })), (input.IvSource !== undefined && input.IvSource !== null && { ivSource: input.IvSource })), (input.KeepSegments !== undefined && input.KeepSegments !== null && { keepSegments: input.KeepSegments })), (input.KeyFormat !== undefined && input.KeyFormat !== null && { keyFormat: input.KeyFormat })), (input.KeyFormatVersions !== undefined &&
|
|
8340
|
-
input.KeyFormatVersions !== null && { keyFormatVersions: input.KeyFormatVersions })), (input.KeyProviderSettings !== undefined &&
|
|
8341
|
-
input.KeyProviderSettings !== null && {
|
|
8099
|
+
})), (input.HlsId3SegmentTagging != null && { hlsId3SegmentTagging: input.HlsId3SegmentTagging })), (input.IFrameOnlyPlaylists != null && { iFrameOnlyPlaylists: input.IFrameOnlyPlaylists })), (input.IncompleteSegmentBehavior != null && { incompleteSegmentBehavior: input.IncompleteSegmentBehavior })), (input.IndexNSegments != null && { indexNSegments: input.IndexNSegments })), (input.InputLossAction != null && { inputLossAction: input.InputLossAction })), (input.IvInManifest != null && { ivInManifest: input.IvInManifest })), (input.IvSource != null && { ivSource: input.IvSource })), (input.KeepSegments != null && { keepSegments: input.KeepSegments })), (input.KeyFormat != null && { keyFormat: input.KeyFormat })), (input.KeyFormatVersions != null && { keyFormatVersions: input.KeyFormatVersions })), (input.KeyProviderSettings != null && {
|
|
8342
8100
|
keyProviderSettings: serializeAws_restJson1KeyProviderSettings(input.KeyProviderSettings, context),
|
|
8343
|
-
})), (input.ManifestCompression
|
|
8344
|
-
input.ManifestCompression !== null && { manifestCompression: input.ManifestCompression })), (input.ManifestDurationFormat !== undefined &&
|
|
8345
|
-
input.ManifestDurationFormat !== null && { manifestDurationFormat: input.ManifestDurationFormat })), (input.MinSegmentLength !== undefined &&
|
|
8346
|
-
input.MinSegmentLength !== null && { minSegmentLength: input.MinSegmentLength })), (input.Mode !== undefined && input.Mode !== null && { mode: input.Mode })), (input.OutputSelection !== undefined &&
|
|
8347
|
-
input.OutputSelection !== null && { outputSelection: input.OutputSelection })), (input.ProgramDateTime !== undefined &&
|
|
8348
|
-
input.ProgramDateTime !== null && { programDateTime: input.ProgramDateTime })), (input.ProgramDateTimeClock !== undefined &&
|
|
8349
|
-
input.ProgramDateTimeClock !== null && { programDateTimeClock: input.ProgramDateTimeClock })), (input.ProgramDateTimePeriod !== undefined &&
|
|
8350
|
-
input.ProgramDateTimePeriod !== null && { programDateTimePeriod: input.ProgramDateTimePeriod })), (input.RedundantManifest !== undefined &&
|
|
8351
|
-
input.RedundantManifest !== null && { redundantManifest: input.RedundantManifest })), (input.SegmentLength !== undefined && input.SegmentLength !== null && { segmentLength: input.SegmentLength })), (input.SegmentationMode !== undefined &&
|
|
8352
|
-
input.SegmentationMode !== null && { segmentationMode: input.SegmentationMode })), (input.SegmentsPerSubdirectory !== undefined &&
|
|
8353
|
-
input.SegmentsPerSubdirectory !== null && { segmentsPerSubdirectory: input.SegmentsPerSubdirectory })), (input.StreamInfResolution !== undefined &&
|
|
8354
|
-
input.StreamInfResolution !== null && { streamInfResolution: input.StreamInfResolution })), (input.TimedMetadataId3Frame !== undefined &&
|
|
8355
|
-
input.TimedMetadataId3Frame !== null && { timedMetadataId3Frame: input.TimedMetadataId3Frame })), (input.TimedMetadataId3Period !== undefined &&
|
|
8356
|
-
input.TimedMetadataId3Period !== null && { timedMetadataId3Period: input.TimedMetadataId3Period })), (input.TimestampDeltaMilliseconds !== undefined &&
|
|
8357
|
-
input.TimestampDeltaMilliseconds !== null && { timestampDeltaMilliseconds: input.TimestampDeltaMilliseconds })), (input.TsFileMode !== undefined && input.TsFileMode !== null && { tsFileMode: input.TsFileMode }));
|
|
8101
|
+
})), (input.ManifestCompression != null && { manifestCompression: input.ManifestCompression })), (input.ManifestDurationFormat != null && { manifestDurationFormat: input.ManifestDurationFormat })), (input.MinSegmentLength != null && { minSegmentLength: input.MinSegmentLength })), (input.Mode != null && { mode: input.Mode })), (input.OutputSelection != null && { outputSelection: input.OutputSelection })), (input.ProgramDateTime != null && { programDateTime: input.ProgramDateTime })), (input.ProgramDateTimeClock != null && { programDateTimeClock: input.ProgramDateTimeClock })), (input.ProgramDateTimePeriod != null && { programDateTimePeriod: input.ProgramDateTimePeriod })), (input.RedundantManifest != null && { redundantManifest: input.RedundantManifest })), (input.SegmentLength != null && { segmentLength: input.SegmentLength })), (input.SegmentationMode != null && { segmentationMode: input.SegmentationMode })), (input.SegmentsPerSubdirectory != null && { segmentsPerSubdirectory: input.SegmentsPerSubdirectory })), (input.StreamInfResolution != null && { streamInfResolution: input.StreamInfResolution })), (input.TimedMetadataId3Frame != null && { timedMetadataId3Frame: input.TimedMetadataId3Frame })), (input.TimedMetadataId3Period != null && { timedMetadataId3Period: input.TimedMetadataId3Period })), (input.TimestampDeltaMilliseconds != null && { timestampDeltaMilliseconds: input.TimestampDeltaMilliseconds })), (input.TsFileMode != null && { tsFileMode: input.TsFileMode }));
|
|
8358
8102
|
};
|
|
8359
8103
|
var serializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = function (input, context) {
|
|
8360
|
-
return __assign({}, (input.Tag
|
|
8104
|
+
return __assign({}, (input.Tag != null && { tag: input.Tag }));
|
|
8361
8105
|
};
|
|
8362
8106
|
var serializeAws_restJson1HlsInputSettings = function (input, context) {
|
|
8363
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Bandwidth
|
|
8364
|
-
input.BufferSegments !== null && { bufferSegments: input.BufferSegments })), (input.Retries !== undefined && input.Retries !== null && { retries: input.Retries })), (input.RetryInterval !== undefined && input.RetryInterval !== null && { retryInterval: input.RetryInterval })), (input.Scte35Source !== undefined && input.Scte35Source !== null && { scte35Source: input.Scte35Source }));
|
|
8107
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Bandwidth != null && { bandwidth: input.Bandwidth })), (input.BufferSegments != null && { bufferSegments: input.BufferSegments })), (input.Retries != null && { retries: input.Retries })), (input.RetryInterval != null && { retryInterval: input.RetryInterval })), (input.Scte35Source != null && { scte35Source: input.Scte35Source }));
|
|
8365
8108
|
};
|
|
8366
8109
|
var serializeAws_restJson1HlsMediaStoreSettings = function (input, context) {
|
|
8367
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ConnectionRetryInterval
|
|
8368
|
-
input.ConnectionRetryInterval !== null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.FilecacheDuration !== undefined &&
|
|
8369
|
-
input.FilecacheDuration !== null && { filecacheDuration: input.FilecacheDuration })), (input.MediaStoreStorageClass !== undefined &&
|
|
8370
|
-
input.MediaStoreStorageClass !== null && { mediaStoreStorageClass: input.MediaStoreStorageClass })), (input.NumRetries !== undefined && input.NumRetries !== null && { numRetries: input.NumRetries })), (input.RestartDelay !== undefined && input.RestartDelay !== null && { restartDelay: input.RestartDelay }));
|
|
8110
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConnectionRetryInterval != null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.FilecacheDuration != null && { filecacheDuration: input.FilecacheDuration })), (input.MediaStoreStorageClass != null && { mediaStoreStorageClass: input.MediaStoreStorageClass })), (input.NumRetries != null && { numRetries: input.NumRetries })), (input.RestartDelay != null && { restartDelay: input.RestartDelay }));
|
|
8371
8111
|
};
|
|
8372
8112
|
var serializeAws_restJson1HlsOutputSettings = function (input, context) {
|
|
8373
|
-
return __assign(__assign(__assign(__assign({}, (input.H265PackagingType
|
|
8374
|
-
input.H265PackagingType !== null && { h265PackagingType: input.H265PackagingType })), (input.HlsSettings !== undefined &&
|
|
8375
|
-
input.HlsSettings !== null && { hlsSettings: serializeAws_restJson1HlsSettings(input.HlsSettings, context) })), (input.NameModifier !== undefined && input.NameModifier !== null && { nameModifier: input.NameModifier })), (input.SegmentModifier !== undefined &&
|
|
8376
|
-
input.SegmentModifier !== null && { segmentModifier: input.SegmentModifier }));
|
|
8113
|
+
return __assign(__assign(__assign(__assign({}, (input.H265PackagingType != null && { h265PackagingType: input.H265PackagingType })), (input.HlsSettings != null && { hlsSettings: serializeAws_restJson1HlsSettings(input.HlsSettings, context) })), (input.NameModifier != null && { nameModifier: input.NameModifier })), (input.SegmentModifier != null && { segmentModifier: input.SegmentModifier }));
|
|
8377
8114
|
};
|
|
8378
8115
|
var serializeAws_restJson1HlsS3Settings = function (input, context) {
|
|
8379
|
-
return __assign({}, (input.CannedAcl
|
|
8116
|
+
return __assign({}, (input.CannedAcl != null && { cannedAcl: input.CannedAcl }));
|
|
8380
8117
|
};
|
|
8381
8118
|
var serializeAws_restJson1HlsSettings = function (input, context) {
|
|
8382
|
-
return __assign(__assign(__assign(__assign({}, (input.AudioOnlyHlsSettings
|
|
8383
|
-
input.AudioOnlyHlsSettings !== null && {
|
|
8119
|
+
return __assign(__assign(__assign(__assign({}, (input.AudioOnlyHlsSettings != null && {
|
|
8384
8120
|
audioOnlyHlsSettings: serializeAws_restJson1AudioOnlyHlsSettings(input.AudioOnlyHlsSettings, context),
|
|
8385
|
-
})), (input.Fmp4HlsSettings
|
|
8386
|
-
input.Fmp4HlsSettings !== null && {
|
|
8121
|
+
})), (input.Fmp4HlsSettings != null && {
|
|
8387
8122
|
fmp4HlsSettings: serializeAws_restJson1Fmp4HlsSettings(input.Fmp4HlsSettings, context),
|
|
8388
|
-
})), (input.FrameCaptureHlsSettings
|
|
8389
|
-
input.FrameCaptureHlsSettings !== null && {
|
|
8123
|
+
})), (input.FrameCaptureHlsSettings != null && {
|
|
8390
8124
|
frameCaptureHlsSettings: serializeAws_restJson1FrameCaptureHlsSettings(input.FrameCaptureHlsSettings, context),
|
|
8391
|
-
})), (input.StandardHlsSettings
|
|
8392
|
-
input.StandardHlsSettings !== null && {
|
|
8125
|
+
})), (input.StandardHlsSettings != null && {
|
|
8393
8126
|
standardHlsSettings: serializeAws_restJson1StandardHlsSettings(input.StandardHlsSettings, context),
|
|
8394
8127
|
}));
|
|
8395
8128
|
};
|
|
8396
8129
|
var serializeAws_restJson1HlsTimedMetadataScheduleActionSettings = function (input, context) {
|
|
8397
|
-
return __assign({}, (input.Id3
|
|
8130
|
+
return __assign({}, (input.Id3 != null && { id3: input.Id3 }));
|
|
8398
8131
|
};
|
|
8399
8132
|
var serializeAws_restJson1HlsWebdavSettings = function (input, context) {
|
|
8400
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ConnectionRetryInterval
|
|
8401
|
-
input.ConnectionRetryInterval !== null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.FilecacheDuration !== undefined &&
|
|
8402
|
-
input.FilecacheDuration !== null && { filecacheDuration: input.FilecacheDuration })), (input.HttpTransferMode !== undefined &&
|
|
8403
|
-
input.HttpTransferMode !== null && { httpTransferMode: input.HttpTransferMode })), (input.NumRetries !== undefined && input.NumRetries !== null && { numRetries: input.NumRetries })), (input.RestartDelay !== undefined && input.RestartDelay !== null && { restartDelay: input.RestartDelay }));
|
|
8133
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConnectionRetryInterval != null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.FilecacheDuration != null && { filecacheDuration: input.FilecacheDuration })), (input.HttpTransferMode != null && { httpTransferMode: input.HttpTransferMode })), (input.NumRetries != null && { numRetries: input.NumRetries })), (input.RestartDelay != null && { restartDelay: input.RestartDelay }));
|
|
8404
8134
|
};
|
|
8405
8135
|
var serializeAws_restJson1HtmlMotionGraphicsSettings = function (input, context) {
|
|
8406
8136
|
return {};
|
|
@@ -8409,190 +8139,126 @@ var serializeAws_restJson1ImmediateModeScheduleActionStartSettings = function (i
|
|
|
8409
8139
|
return {};
|
|
8410
8140
|
};
|
|
8411
8141
|
var serializeAws_restJson1InputAttachment = function (input, context) {
|
|
8412
|
-
return __assign(__assign(__assign(__assign({}, (input.AutomaticInputFailoverSettings
|
|
8413
|
-
input.AutomaticInputFailoverSettings !== null && {
|
|
8142
|
+
return __assign(__assign(__assign(__assign({}, (input.AutomaticInputFailoverSettings != null && {
|
|
8414
8143
|
automaticInputFailoverSettings: serializeAws_restJson1AutomaticInputFailoverSettings(input.AutomaticInputFailoverSettings, context),
|
|
8415
|
-
})), (input.InputAttachmentName
|
|
8416
|
-
input.InputAttachmentName !== null && { inputAttachmentName: input.InputAttachmentName })), (input.InputId !== undefined && input.InputId !== null && { inputId: input.InputId })), (input.InputSettings !== undefined &&
|
|
8417
|
-
input.InputSettings !== null && {
|
|
8144
|
+
})), (input.InputAttachmentName != null && { inputAttachmentName: input.InputAttachmentName })), (input.InputId != null && { inputId: input.InputId })), (input.InputSettings != null && {
|
|
8418
8145
|
inputSettings: serializeAws_restJson1InputSettings(input.InputSettings, context),
|
|
8419
8146
|
}));
|
|
8420
8147
|
};
|
|
8421
8148
|
var serializeAws_restJson1InputChannelLevel = function (input, context) {
|
|
8422
|
-
return __assign(__assign({}, (input.Gain
|
|
8149
|
+
return __assign(__assign({}, (input.Gain != null && { gain: input.Gain })), (input.InputChannel != null && { inputChannel: input.InputChannel }));
|
|
8423
8150
|
};
|
|
8424
8151
|
var serializeAws_restJson1InputClippingSettings = function (input, context) {
|
|
8425
|
-
return __assign(__assign(__assign({}, (input.InputTimecodeSource
|
|
8426
|
-
input.InputTimecodeSource !== null && { inputTimecodeSource: input.InputTimecodeSource })), (input.StartTimecode !== undefined &&
|
|
8427
|
-
input.StartTimecode !== null && {
|
|
8152
|
+
return __assign(__assign(__assign({}, (input.InputTimecodeSource != null && { inputTimecodeSource: input.InputTimecodeSource })), (input.StartTimecode != null && {
|
|
8428
8153
|
startTimecode: serializeAws_restJson1StartTimecode(input.StartTimecode, context),
|
|
8429
|
-
})), (input.StopTimecode
|
|
8430
|
-
|
|
8154
|
+
})), (input.StopTimecode != null && {
|
|
8155
|
+
stopTimecode: serializeAws_restJson1StopTimecode(input.StopTimecode, context),
|
|
8156
|
+
}));
|
|
8431
8157
|
};
|
|
8432
8158
|
var serializeAws_restJson1InputDestinationRequest = function (input, context) {
|
|
8433
|
-
return __assign({}, (input.StreamName
|
|
8159
|
+
return __assign({}, (input.StreamName != null && { streamName: input.StreamName }));
|
|
8434
8160
|
};
|
|
8435
8161
|
var serializeAws_restJson1InputDeviceConfigurableSettings = function (input, context) {
|
|
8436
|
-
return __assign(__assign({}, (input.ConfiguredInput
|
|
8437
|
-
input.ConfiguredInput !== null && { configuredInput: input.ConfiguredInput })), (input.MaxBitrate !== undefined && input.MaxBitrate !== null && { maxBitrate: input.MaxBitrate }));
|
|
8162
|
+
return __assign(__assign({}, (input.ConfiguredInput != null && { configuredInput: input.ConfiguredInput })), (input.MaxBitrate != null && { maxBitrate: input.MaxBitrate }));
|
|
8438
8163
|
};
|
|
8439
8164
|
var serializeAws_restJson1InputDeviceRequest = function (input, context) {
|
|
8440
|
-
return __assign({}, (input.Id
|
|
8165
|
+
return __assign({}, (input.Id != null && { id: input.Id }));
|
|
8441
8166
|
};
|
|
8442
8167
|
var serializeAws_restJson1InputDeviceSettings = function (input, context) {
|
|
8443
|
-
return __assign({}, (input.Id
|
|
8168
|
+
return __assign({}, (input.Id != null && { id: input.Id }));
|
|
8444
8169
|
};
|
|
8445
8170
|
var serializeAws_restJson1InputLocation = function (input, context) {
|
|
8446
|
-
return __assign(__assign(__assign({}, (input.PasswordParam
|
|
8171
|
+
return __assign(__assign(__assign({}, (input.PasswordParam != null && { passwordParam: input.PasswordParam })), (input.Uri != null && { uri: input.Uri })), (input.Username != null && { username: input.Username }));
|
|
8447
8172
|
};
|
|
8448
8173
|
var serializeAws_restJson1InputLossBehavior = function (input, context) {
|
|
8449
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BlackFrameMsec
|
|
8450
|
-
input.BlackFrameMsec !== null && { blackFrameMsec: input.BlackFrameMsec })), (input.InputLossImageColor !== undefined &&
|
|
8451
|
-
input.InputLossImageColor !== null && { inputLossImageColor: input.InputLossImageColor })), (input.InputLossImageSlate !== undefined &&
|
|
8452
|
-
input.InputLossImageSlate !== null && {
|
|
8174
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BlackFrameMsec != null && { blackFrameMsec: input.BlackFrameMsec })), (input.InputLossImageColor != null && { inputLossImageColor: input.InputLossImageColor })), (input.InputLossImageSlate != null && {
|
|
8453
8175
|
inputLossImageSlate: serializeAws_restJson1InputLocation(input.InputLossImageSlate, context),
|
|
8454
|
-
})), (input.InputLossImageType
|
|
8455
|
-
input.InputLossImageType !== null && { inputLossImageType: input.InputLossImageType })), (input.RepeatFrameMsec !== undefined &&
|
|
8456
|
-
input.RepeatFrameMsec !== null && { repeatFrameMsec: input.RepeatFrameMsec }));
|
|
8176
|
+
})), (input.InputLossImageType != null && { inputLossImageType: input.InputLossImageType })), (input.RepeatFrameMsec != null && { repeatFrameMsec: input.RepeatFrameMsec }));
|
|
8457
8177
|
};
|
|
8458
8178
|
var serializeAws_restJson1InputLossFailoverSettings = function (input, context) {
|
|
8459
|
-
return __assign({}, (input.InputLossThresholdMsec
|
|
8460
|
-
input.InputLossThresholdMsec !== null && { inputLossThresholdMsec: input.InputLossThresholdMsec }));
|
|
8179
|
+
return __assign({}, (input.InputLossThresholdMsec != null && { inputLossThresholdMsec: input.InputLossThresholdMsec }));
|
|
8461
8180
|
};
|
|
8462
8181
|
var serializeAws_restJson1InputPrepareScheduleActionSettings = function (input, context) {
|
|
8463
|
-
return __assign(__assign(__assign({}, (input.InputAttachmentNameReference
|
|
8464
|
-
input.InputAttachmentNameReference !== null && {
|
|
8182
|
+
return __assign(__assign(__assign({}, (input.InputAttachmentNameReference != null && {
|
|
8465
8183
|
inputAttachmentNameReference: input.InputAttachmentNameReference,
|
|
8466
|
-
})), (input.InputClippingSettings
|
|
8467
|
-
input.InputClippingSettings !== null && {
|
|
8184
|
+
})), (input.InputClippingSettings != null && {
|
|
8468
8185
|
inputClippingSettings: serializeAws_restJson1InputClippingSettings(input.InputClippingSettings, context),
|
|
8469
|
-
})), (input.UrlPath
|
|
8470
|
-
input.UrlPath !== null && { urlPath: serializeAws_restJson1__listOf__string(input.UrlPath, context) }));
|
|
8186
|
+
})), (input.UrlPath != null && { urlPath: serializeAws_restJson1__listOf__string(input.UrlPath, context) }));
|
|
8471
8187
|
};
|
|
8472
8188
|
var serializeAws_restJson1InputSettings = function (input, context) {
|
|
8473
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioSelectors
|
|
8474
|
-
input.AudioSelectors !== null && {
|
|
8189
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioSelectors != null && {
|
|
8475
8190
|
audioSelectors: serializeAws_restJson1__listOfAudioSelector(input.AudioSelectors, context),
|
|
8476
|
-
})), (input.CaptionSelectors
|
|
8477
|
-
input.CaptionSelectors !== null && {
|
|
8191
|
+
})), (input.CaptionSelectors != null && {
|
|
8478
8192
|
captionSelectors: serializeAws_restJson1__listOfCaptionSelector(input.CaptionSelectors, context),
|
|
8479
|
-
})), (input.DeblockFilter
|
|
8480
|
-
input.FilterStrength !== null && { filterStrength: input.FilterStrength })), (input.InputFilter !== undefined && input.InputFilter !== null && { inputFilter: input.InputFilter })), (input.NetworkInputSettings !== undefined &&
|
|
8481
|
-
input.NetworkInputSettings !== null && {
|
|
8193
|
+
})), (input.DeblockFilter != null && { deblockFilter: input.DeblockFilter })), (input.DenoiseFilter != null && { denoiseFilter: input.DenoiseFilter })), (input.FilterStrength != null && { filterStrength: input.FilterStrength })), (input.InputFilter != null && { inputFilter: input.InputFilter })), (input.NetworkInputSettings != null && {
|
|
8482
8194
|
networkInputSettings: serializeAws_restJson1NetworkInputSettings(input.NetworkInputSettings, context),
|
|
8483
|
-
})), (input.Scte35Pid
|
|
8484
|
-
input.Smpte2038DataPreference !== null && { smpte2038DataPreference: input.Smpte2038DataPreference })), (input.SourceEndBehavior !== undefined &&
|
|
8485
|
-
input.SourceEndBehavior !== null && { sourceEndBehavior: input.SourceEndBehavior })), (input.VideoSelector !== undefined &&
|
|
8486
|
-
input.VideoSelector !== null && {
|
|
8195
|
+
})), (input.Scte35Pid != null && { scte35Pid: input.Scte35Pid })), (input.Smpte2038DataPreference != null && { smpte2038DataPreference: input.Smpte2038DataPreference })), (input.SourceEndBehavior != null && { sourceEndBehavior: input.SourceEndBehavior })), (input.VideoSelector != null && {
|
|
8487
8196
|
videoSelector: serializeAws_restJson1VideoSelector(input.VideoSelector, context),
|
|
8488
8197
|
}));
|
|
8489
8198
|
};
|
|
8490
8199
|
var serializeAws_restJson1InputSourceRequest = function (input, context) {
|
|
8491
|
-
return __assign(__assign(__assign({}, (input.PasswordParam
|
|
8200
|
+
return __assign(__assign(__assign({}, (input.PasswordParam != null && { passwordParam: input.PasswordParam })), (input.Url != null && { url: input.Url })), (input.Username != null && { username: input.Username }));
|
|
8492
8201
|
};
|
|
8493
8202
|
var serializeAws_restJson1InputSpecification = function (input, context) {
|
|
8494
|
-
return __assign(__assign(__assign({}, (input.Codec
|
|
8495
|
-
input.MaximumBitrate !== null && { maximumBitrate: input.MaximumBitrate })), (input.Resolution !== undefined && input.Resolution !== null && { resolution: input.Resolution }));
|
|
8203
|
+
return __assign(__assign(__assign({}, (input.Codec != null && { codec: input.Codec })), (input.MaximumBitrate != null && { maximumBitrate: input.MaximumBitrate })), (input.Resolution != null && { resolution: input.Resolution }));
|
|
8496
8204
|
};
|
|
8497
8205
|
var serializeAws_restJson1InputSwitchScheduleActionSettings = function (input, context) {
|
|
8498
|
-
return __assign(__assign(__assign({}, (input.InputAttachmentNameReference
|
|
8499
|
-
input.InputAttachmentNameReference !== null && {
|
|
8206
|
+
return __assign(__assign(__assign({}, (input.InputAttachmentNameReference != null && {
|
|
8500
8207
|
inputAttachmentNameReference: input.InputAttachmentNameReference,
|
|
8501
|
-
})), (input.InputClippingSettings
|
|
8502
|
-
input.InputClippingSettings !== null && {
|
|
8208
|
+
})), (input.InputClippingSettings != null && {
|
|
8503
8209
|
inputClippingSettings: serializeAws_restJson1InputClippingSettings(input.InputClippingSettings, context),
|
|
8504
|
-
})), (input.UrlPath
|
|
8505
|
-
input.UrlPath !== null && { urlPath: serializeAws_restJson1__listOf__string(input.UrlPath, context) }));
|
|
8210
|
+
})), (input.UrlPath != null && { urlPath: serializeAws_restJson1__listOf__string(input.UrlPath, context) }));
|
|
8506
8211
|
};
|
|
8507
8212
|
var serializeAws_restJson1InputVpcRequest = function (input, context) {
|
|
8508
|
-
return __assign(__assign({}, (input.SecurityGroupIds
|
|
8509
|
-
input.SecurityGroupIds !== null && {
|
|
8213
|
+
return __assign(__assign({}, (input.SecurityGroupIds != null && {
|
|
8510
8214
|
securityGroupIds: serializeAws_restJson1__listOf__string(input.SecurityGroupIds, context),
|
|
8511
|
-
})), (input.SubnetIds
|
|
8512
|
-
input.SubnetIds !== null && { subnetIds: serializeAws_restJson1__listOf__string(input.SubnetIds, context) }));
|
|
8215
|
+
})), (input.SubnetIds != null && { subnetIds: serializeAws_restJson1__listOf__string(input.SubnetIds, context) }));
|
|
8513
8216
|
};
|
|
8514
8217
|
var serializeAws_restJson1InputWhitelistRuleCidr = function (input, context) {
|
|
8515
|
-
return __assign({}, (input.Cidr
|
|
8218
|
+
return __assign({}, (input.Cidr != null && { cidr: input.Cidr }));
|
|
8516
8219
|
};
|
|
8517
8220
|
var serializeAws_restJson1KeyProviderSettings = function (input, context) {
|
|
8518
|
-
return __assign({}, (input.StaticKeySettings
|
|
8519
|
-
input.StaticKeySettings !== null && {
|
|
8221
|
+
return __assign({}, (input.StaticKeySettings != null && {
|
|
8520
8222
|
staticKeySettings: serializeAws_restJson1StaticKeySettings(input.StaticKeySettings, context),
|
|
8521
8223
|
}));
|
|
8522
8224
|
};
|
|
8523
8225
|
var serializeAws_restJson1M2tsSettings = function (input, context) {
|
|
8524
|
-
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(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AbsentInputAudioBehavior
|
|
8525
|
-
input.AbsentInputAudioBehavior !== null && { absentInputAudioBehavior: input.AbsentInputAudioBehavior })), (input.Arib !== undefined && input.Arib !== null && { arib: input.Arib })), (input.AribCaptionsPid !== undefined &&
|
|
8526
|
-
input.AribCaptionsPid !== null && { aribCaptionsPid: input.AribCaptionsPid })), (input.AribCaptionsPidControl !== undefined &&
|
|
8527
|
-
input.AribCaptionsPidControl !== null && { aribCaptionsPidControl: input.AribCaptionsPidControl })), (input.AudioBufferModel !== undefined &&
|
|
8528
|
-
input.AudioBufferModel !== null && { audioBufferModel: input.AudioBufferModel })), (input.AudioFramesPerPes !== undefined &&
|
|
8529
|
-
input.AudioFramesPerPes !== null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids !== undefined && input.AudioPids !== null && { audioPids: input.AudioPids })), (input.AudioStreamType !== undefined &&
|
|
8530
|
-
input.AudioStreamType !== null && { audioStreamType: input.AudioStreamType })), (input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: input.Bitrate })), (input.BufferModel !== undefined && input.BufferModel !== null && { bufferModel: input.BufferModel })), (input.CcDescriptor !== undefined && input.CcDescriptor !== null && { ccDescriptor: input.CcDescriptor })), (input.DvbNitSettings !== undefined &&
|
|
8531
|
-
input.DvbNitSettings !== null && {
|
|
8226
|
+
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(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AbsentInputAudioBehavior != null && { absentInputAudioBehavior: input.AbsentInputAudioBehavior })), (input.Arib != null && { arib: input.Arib })), (input.AribCaptionsPid != null && { aribCaptionsPid: input.AribCaptionsPid })), (input.AribCaptionsPidControl != null && { aribCaptionsPidControl: input.AribCaptionsPidControl })), (input.AudioBufferModel != null && { audioBufferModel: input.AudioBufferModel })), (input.AudioFramesPerPes != null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids != null && { audioPids: input.AudioPids })), (input.AudioStreamType != null && { audioStreamType: input.AudioStreamType })), (input.Bitrate != null && { bitrate: input.Bitrate })), (input.BufferModel != null && { bufferModel: input.BufferModel })), (input.CcDescriptor != null && { ccDescriptor: input.CcDescriptor })), (input.DvbNitSettings != null && {
|
|
8532
8227
|
dvbNitSettings: serializeAws_restJson1DvbNitSettings(input.DvbNitSettings, context),
|
|
8533
|
-
})), (input.DvbSdtSettings
|
|
8534
|
-
input.DvbSdtSettings !== null && {
|
|
8228
|
+
})), (input.DvbSdtSettings != null && {
|
|
8535
8229
|
dvbSdtSettings: serializeAws_restJson1DvbSdtSettings(input.DvbSdtSettings, context),
|
|
8536
|
-
})), (input.DvbSubPids
|
|
8537
|
-
input.DvbTdtSettings !== null && {
|
|
8230
|
+
})), (input.DvbSubPids != null && { dvbSubPids: input.DvbSubPids })), (input.DvbTdtSettings != null && {
|
|
8538
8231
|
dvbTdtSettings: serializeAws_restJson1DvbTdtSettings(input.DvbTdtSettings, context),
|
|
8539
|
-
})), (input.DvbTeletextPid
|
|
8540
|
-
input.DvbTeletextPid !== null && { dvbTeletextPid: input.DvbTeletextPid })), (input.Ebif !== undefined && input.Ebif !== null && { ebif: input.Ebif })), (input.EbpAudioInterval !== undefined &&
|
|
8541
|
-
input.EbpAudioInterval !== null && { ebpAudioInterval: input.EbpAudioInterval })), (input.EbpLookaheadMs !== undefined &&
|
|
8542
|
-
input.EbpLookaheadMs !== null && { ebpLookaheadMs: input.EbpLookaheadMs })), (input.EbpPlacement !== undefined && input.EbpPlacement !== null && { ebpPlacement: input.EbpPlacement })), (input.EcmPid !== undefined && input.EcmPid !== null && { ecmPid: input.EcmPid })), (input.EsRateInPes !== undefined && input.EsRateInPes !== null && { esRateInPes: input.EsRateInPes })), (input.EtvPlatformPid !== undefined &&
|
|
8543
|
-
input.EtvPlatformPid !== null && { etvPlatformPid: input.EtvPlatformPid })), (input.EtvSignalPid !== undefined && input.EtvSignalPid !== null && { etvSignalPid: input.EtvSignalPid })), (input.FragmentTime !== undefined &&
|
|
8544
|
-
input.FragmentTime !== null && { fragmentTime: __serializeFloat(input.FragmentTime) })), (input.Klv !== undefined && input.Klv !== null && { klv: input.Klv })), (input.KlvDataPids !== undefined && input.KlvDataPids !== null && { klvDataPids: input.KlvDataPids })), (input.NielsenId3Behavior !== undefined &&
|
|
8545
|
-
input.NielsenId3Behavior !== null && { nielsenId3Behavior: input.NielsenId3Behavior })), (input.NullPacketBitrate !== undefined &&
|
|
8546
|
-
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.PcrPeriod !== undefined && input.PcrPeriod !== null && { pcrPeriod: input.PcrPeriod })), (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.ProgramNum !== undefined && input.ProgramNum !== null && { programNum: input.ProgramNum })), (input.RateMode !== undefined && input.RateMode !== null && { rateMode: input.RateMode })), (input.Scte27Pids !== undefined && input.Scte27Pids !== null && { scte27Pids: input.Scte27Pids })), (input.Scte35Control !== undefined && input.Scte35Control !== null && { scte35Control: input.Scte35Control })), (input.Scte35Pid !== undefined && input.Scte35Pid !== null && { scte35Pid: input.Scte35Pid })), (input.SegmentationMarkers !== undefined &&
|
|
8547
|
-
input.SegmentationMarkers !== null && { segmentationMarkers: input.SegmentationMarkers })), (input.SegmentationStyle !== undefined &&
|
|
8548
|
-
input.SegmentationStyle !== null && { segmentationStyle: input.SegmentationStyle })), (input.SegmentationTime !== undefined &&
|
|
8549
|
-
input.SegmentationTime !== null && { segmentationTime: __serializeFloat(input.SegmentationTime) })), (input.TimedMetadataBehavior !== undefined &&
|
|
8550
|
-
input.TimedMetadataBehavior !== null && { timedMetadataBehavior: input.TimedMetadataBehavior })), (input.TimedMetadataPid !== undefined &&
|
|
8551
|
-
input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
|
|
8552
|
-
input.TransportStreamId !== null && { transportStreamId: input.TransportStreamId })), (input.VideoPid !== undefined && input.VideoPid !== null && { videoPid: input.VideoPid }));
|
|
8232
|
+
})), (input.DvbTeletextPid != null && { dvbTeletextPid: input.DvbTeletextPid })), (input.Ebif != null && { ebif: input.Ebif })), (input.EbpAudioInterval != null && { ebpAudioInterval: input.EbpAudioInterval })), (input.EbpLookaheadMs != null && { ebpLookaheadMs: input.EbpLookaheadMs })), (input.EbpPlacement != null && { ebpPlacement: input.EbpPlacement })), (input.EcmPid != null && { ecmPid: input.EcmPid })), (input.EsRateInPes != null && { esRateInPes: input.EsRateInPes })), (input.EtvPlatformPid != null && { etvPlatformPid: input.EtvPlatformPid })), (input.EtvSignalPid != null && { etvSignalPid: input.EtvSignalPid })), (input.FragmentTime != null && { fragmentTime: __serializeFloat(input.FragmentTime) })), (input.Klv != null && { klv: input.Klv })), (input.KlvDataPids != null && { klvDataPids: input.KlvDataPids })), (input.NielsenId3Behavior != null && { nielsenId3Behavior: input.NielsenId3Behavior })), (input.NullPacketBitrate != null && { nullPacketBitrate: __serializeFloat(input.NullPacketBitrate) })), (input.PatInterval != null && { patInterval: input.PatInterval })), (input.PcrControl != null && { pcrControl: input.PcrControl })), (input.PcrPeriod != null && { pcrPeriod: input.PcrPeriod })), (input.PcrPid != null && { pcrPid: input.PcrPid })), (input.PmtInterval != null && { pmtInterval: input.PmtInterval })), (input.PmtPid != null && { pmtPid: input.PmtPid })), (input.ProgramNum != null && { programNum: input.ProgramNum })), (input.RateMode != null && { rateMode: input.RateMode })), (input.Scte27Pids != null && { scte27Pids: input.Scte27Pids })), (input.Scte35Control != null && { scte35Control: input.Scte35Control })), (input.Scte35Pid != null && { scte35Pid: input.Scte35Pid })), (input.SegmentationMarkers != null && { segmentationMarkers: input.SegmentationMarkers })), (input.SegmentationStyle != null && { segmentationStyle: input.SegmentationStyle })), (input.SegmentationTime != null && { segmentationTime: __serializeFloat(input.SegmentationTime) })), (input.TimedMetadataBehavior != null && { timedMetadataBehavior: input.TimedMetadataBehavior })), (input.TimedMetadataPid != null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId != null && { transportStreamId: input.TransportStreamId })), (input.VideoPid != null && { videoPid: input.VideoPid }));
|
|
8553
8233
|
};
|
|
8554
8234
|
var serializeAws_restJson1M3u8Settings = function (input, context) {
|
|
8555
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioFramesPerPes
|
|
8556
|
-
input.AudioFramesPerPes !== null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids !== undefined && input.AudioPids !== null && { audioPids: input.AudioPids })), (input.EcmPid !== undefined && input.EcmPid !== null && { ecmPid: input.EcmPid })), (input.NielsenId3Behavior !== undefined &&
|
|
8557
|
-
input.NielsenId3Behavior !== null && { nielsenId3Behavior: input.NielsenId3Behavior })), (input.PatInterval !== undefined && input.PatInterval !== null && { patInterval: input.PatInterval })), (input.PcrControl !== undefined && input.PcrControl !== null && { pcrControl: input.PcrControl })), (input.PcrPeriod !== undefined && input.PcrPeriod !== null && { pcrPeriod: input.PcrPeriod })), (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.ProgramNum !== undefined && input.ProgramNum !== null && { programNum: input.ProgramNum })), (input.Scte35Behavior !== undefined &&
|
|
8558
|
-
input.Scte35Behavior !== null && { scte35Behavior: input.Scte35Behavior })), (input.Scte35Pid !== undefined && input.Scte35Pid !== null && { scte35Pid: input.Scte35Pid })), (input.TimedMetadataBehavior !== undefined &&
|
|
8559
|
-
input.TimedMetadataBehavior !== null && { timedMetadataBehavior: input.TimedMetadataBehavior })), (input.TimedMetadataPid !== undefined &&
|
|
8560
|
-
input.TimedMetadataPid !== null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId !== undefined &&
|
|
8561
|
-
input.TransportStreamId !== null && { transportStreamId: input.TransportStreamId })), (input.VideoPid !== undefined && input.VideoPid !== null && { videoPid: input.VideoPid }));
|
|
8235
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioFramesPerPes != null && { audioFramesPerPes: input.AudioFramesPerPes })), (input.AudioPids != null && { audioPids: input.AudioPids })), (input.EcmPid != null && { ecmPid: input.EcmPid })), (input.NielsenId3Behavior != null && { nielsenId3Behavior: input.NielsenId3Behavior })), (input.PatInterval != null && { patInterval: input.PatInterval })), (input.PcrControl != null && { pcrControl: input.PcrControl })), (input.PcrPeriod != null && { pcrPeriod: input.PcrPeriod })), (input.PcrPid != null && { pcrPid: input.PcrPid })), (input.PmtInterval != null && { pmtInterval: input.PmtInterval })), (input.PmtPid != null && { pmtPid: input.PmtPid })), (input.ProgramNum != null && { programNum: input.ProgramNum })), (input.Scte35Behavior != null && { scte35Behavior: input.Scte35Behavior })), (input.Scte35Pid != null && { scte35Pid: input.Scte35Pid })), (input.TimedMetadataBehavior != null && { timedMetadataBehavior: input.TimedMetadataBehavior })), (input.TimedMetadataPid != null && { timedMetadataPid: input.TimedMetadataPid })), (input.TransportStreamId != null && { transportStreamId: input.TransportStreamId })), (input.VideoPid != null && { videoPid: input.VideoPid }));
|
|
8562
8236
|
};
|
|
8563
8237
|
var serializeAws_restJson1MaintenanceCreateSettings = function (input, context) {
|
|
8564
|
-
return __assign(__assign({}, (input.MaintenanceDay
|
|
8565
|
-
input.MaintenanceDay !== null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceStartTime !== undefined &&
|
|
8566
|
-
input.MaintenanceStartTime !== null && { maintenanceStartTime: input.MaintenanceStartTime }));
|
|
8238
|
+
return __assign(__assign({}, (input.MaintenanceDay != null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceStartTime != null && { maintenanceStartTime: input.MaintenanceStartTime }));
|
|
8567
8239
|
};
|
|
8568
8240
|
var serializeAws_restJson1MaintenanceUpdateSettings = function (input, context) {
|
|
8569
|
-
return __assign(__assign(__assign({}, (input.MaintenanceDay
|
|
8570
|
-
input.MaintenanceDay !== null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceScheduledDate !== undefined &&
|
|
8571
|
-
input.MaintenanceScheduledDate !== null && { maintenanceScheduledDate: input.MaintenanceScheduledDate })), (input.MaintenanceStartTime !== undefined &&
|
|
8572
|
-
input.MaintenanceStartTime !== null && { maintenanceStartTime: input.MaintenanceStartTime }));
|
|
8241
|
+
return __assign(__assign(__assign({}, (input.MaintenanceDay != null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceScheduledDate != null && { maintenanceScheduledDate: input.MaintenanceScheduledDate })), (input.MaintenanceStartTime != null && { maintenanceStartTime: input.MaintenanceStartTime }));
|
|
8573
8242
|
};
|
|
8574
8243
|
var serializeAws_restJson1MediaConnectFlowRequest = function (input, context) {
|
|
8575
|
-
return __assign({}, (input.FlowArn
|
|
8244
|
+
return __assign({}, (input.FlowArn != null && { flowArn: input.FlowArn }));
|
|
8576
8245
|
};
|
|
8577
8246
|
var serializeAws_restJson1MediaPackageGroupSettings = function (input, context) {
|
|
8578
|
-
return __assign({}, (input.Destination
|
|
8579
|
-
input.Destination !== null && {
|
|
8247
|
+
return __assign({}, (input.Destination != null && {
|
|
8580
8248
|
destination: serializeAws_restJson1OutputLocationRef(input.Destination, context),
|
|
8581
8249
|
}));
|
|
8582
8250
|
};
|
|
8583
8251
|
var serializeAws_restJson1MediaPackageOutputDestinationSettings = function (input, context) {
|
|
8584
|
-
return __assign({}, (input.ChannelId
|
|
8252
|
+
return __assign({}, (input.ChannelId != null && { channelId: input.ChannelId }));
|
|
8585
8253
|
};
|
|
8586
8254
|
var serializeAws_restJson1MediaPackageOutputSettings = function (input, context) {
|
|
8587
8255
|
return {};
|
|
8588
8256
|
};
|
|
8589
8257
|
var serializeAws_restJson1MotionGraphicsActivateScheduleActionSettings = function (input, context) {
|
|
8590
|
-
return __assign(__assign(__assign(__assign({}, (input.Duration
|
|
8258
|
+
return __assign(__assign(__assign(__assign({}, (input.Duration != null && { duration: input.Duration })), (input.PasswordParam != null && { passwordParam: input.PasswordParam })), (input.Url != null && { url: input.Url })), (input.Username != null && { username: input.Username }));
|
|
8591
8259
|
};
|
|
8592
8260
|
var serializeAws_restJson1MotionGraphicsConfiguration = function (input, context) {
|
|
8593
|
-
return __assign(__assign({}, (input.MotionGraphicsInsertion
|
|
8594
|
-
input.MotionGraphicsInsertion !== null && { motionGraphicsInsertion: input.MotionGraphicsInsertion })), (input.MotionGraphicsSettings !== undefined &&
|
|
8595
|
-
input.MotionGraphicsSettings !== null && {
|
|
8261
|
+
return __assign(__assign({}, (input.MotionGraphicsInsertion != null && { motionGraphicsInsertion: input.MotionGraphicsInsertion })), (input.MotionGraphicsSettings != null && {
|
|
8596
8262
|
motionGraphicsSettings: serializeAws_restJson1MotionGraphicsSettings(input.MotionGraphicsSettings, context),
|
|
8597
8263
|
}));
|
|
8598
8264
|
};
|
|
@@ -8600,223 +8266,152 @@ var serializeAws_restJson1MotionGraphicsDeactivateScheduleActionSettings = funct
|
|
|
8600
8266
|
return {};
|
|
8601
8267
|
};
|
|
8602
8268
|
var serializeAws_restJson1MotionGraphicsSettings = function (input, context) {
|
|
8603
|
-
return __assign({}, (input.HtmlMotionGraphicsSettings
|
|
8604
|
-
input.HtmlMotionGraphicsSettings !== null && {
|
|
8269
|
+
return __assign({}, (input.HtmlMotionGraphicsSettings != null && {
|
|
8605
8270
|
htmlMotionGraphicsSettings: serializeAws_restJson1HtmlMotionGraphicsSettings(input.HtmlMotionGraphicsSettings, context),
|
|
8606
8271
|
}));
|
|
8607
8272
|
};
|
|
8608
8273
|
var serializeAws_restJson1Mp2Settings = function (input, context) {
|
|
8609
|
-
return __assign(__assign(__assign({}, (input.Bitrate
|
|
8610
|
-
input.SampleRate !== null && { sampleRate: __serializeFloat(input.SampleRate) }));
|
|
8274
|
+
return __assign(__assign(__assign({}, (input.Bitrate != null && { bitrate: __serializeFloat(input.Bitrate) })), (input.CodingMode != null && { codingMode: input.CodingMode })), (input.SampleRate != null && { sampleRate: __serializeFloat(input.SampleRate) }));
|
|
8611
8275
|
};
|
|
8612
8276
|
var serializeAws_restJson1Mpeg2FilterSettings = function (input, context) {
|
|
8613
|
-
return __assign({}, (input.TemporalFilterSettings
|
|
8614
|
-
input.TemporalFilterSettings !== null && {
|
|
8277
|
+
return __assign({}, (input.TemporalFilterSettings != null && {
|
|
8615
8278
|
temporalFilterSettings: serializeAws_restJson1TemporalFilterSettings(input.TemporalFilterSettings, context),
|
|
8616
8279
|
}));
|
|
8617
8280
|
};
|
|
8618
8281
|
var serializeAws_restJson1Mpeg2Settings = function (input, context) {
|
|
8619
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization
|
|
8620
|
-
input.AdaptiveQuantization !== null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.AfdSignaling !== undefined && input.AfdSignaling !== null && { afdSignaling: input.AfdSignaling })), (input.ColorMetadata !== undefined && input.ColorMetadata !== null && { colorMetadata: input.ColorMetadata })), (input.ColorSpace !== undefined && input.ColorSpace !== null && { colorSpace: input.ColorSpace })), (input.DisplayAspectRatio !== undefined &&
|
|
8621
|
-
input.DisplayAspectRatio !== null && { displayAspectRatio: input.DisplayAspectRatio })), (input.FilterSettings !== undefined &&
|
|
8622
|
-
input.FilterSettings !== null && {
|
|
8282
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdaptiveQuantization != null && { adaptiveQuantization: input.AdaptiveQuantization })), (input.AfdSignaling != null && { afdSignaling: input.AfdSignaling })), (input.ColorMetadata != null && { colorMetadata: input.ColorMetadata })), (input.ColorSpace != null && { colorSpace: input.ColorSpace })), (input.DisplayAspectRatio != null && { displayAspectRatio: input.DisplayAspectRatio })), (input.FilterSettings != null && {
|
|
8623
8283
|
filterSettings: serializeAws_restJson1Mpeg2FilterSettings(input.FilterSettings, context),
|
|
8624
|
-
})), (input.FixedAfd
|
|
8625
|
-
input.FramerateDenominator !== null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator !== undefined &&
|
|
8626
|
-
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator })), (input.GopClosedCadence !== undefined &&
|
|
8627
|
-
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence })), (input.GopNumBFrames !== undefined && input.GopNumBFrames !== null && { gopNumBFrames: input.GopNumBFrames })), (input.GopSize !== undefined && input.GopSize !== null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits })), (input.ScanType !== undefined && input.ScanType !== null && { scanType: input.ScanType })), (input.SubgopLength !== undefined && input.SubgopLength !== null && { subgopLength: input.SubgopLength })), (input.TimecodeInsertion !== undefined &&
|
|
8628
|
-
input.TimecodeInsertion !== null && { timecodeInsertion: input.TimecodeInsertion }));
|
|
8284
|
+
})), (input.FixedAfd != null && { fixedAfd: input.FixedAfd })), (input.FramerateDenominator != null && { framerateDenominator: input.FramerateDenominator })), (input.FramerateNumerator != null && { framerateNumerator: input.FramerateNumerator })), (input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence })), (input.GopNumBFrames != null && { gopNumBFrames: input.GopNumBFrames })), (input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) })), (input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits })), (input.ScanType != null && { scanType: input.ScanType })), (input.SubgopLength != null && { subgopLength: input.SubgopLength })), (input.TimecodeInsertion != null && { timecodeInsertion: input.TimecodeInsertion }));
|
|
8629
8285
|
};
|
|
8630
8286
|
var serializeAws_restJson1MsSmoothGroupSettings = function (input, context) {
|
|
8631
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcquisitionPointId
|
|
8632
|
-
input.AcquisitionPointId !== null && { acquisitionPointId: input.AcquisitionPointId })), (input.AudioOnlyTimecodeControl !== undefined &&
|
|
8633
|
-
input.AudioOnlyTimecodeControl !== null && { audioOnlyTimecodeControl: input.AudioOnlyTimecodeControl })), (input.CertificateMode !== undefined &&
|
|
8634
|
-
input.CertificateMode !== null && { certificateMode: input.CertificateMode })), (input.ConnectionRetryInterval !== undefined &&
|
|
8635
|
-
input.ConnectionRetryInterval !== null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.Destination !== undefined &&
|
|
8636
|
-
input.Destination !== null && {
|
|
8287
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcquisitionPointId != null && { acquisitionPointId: input.AcquisitionPointId })), (input.AudioOnlyTimecodeControl != null && { audioOnlyTimecodeControl: input.AudioOnlyTimecodeControl })), (input.CertificateMode != null && { certificateMode: input.CertificateMode })), (input.ConnectionRetryInterval != null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.Destination != null && {
|
|
8637
8288
|
destination: serializeAws_restJson1OutputLocationRef(input.Destination, context),
|
|
8638
|
-
})), (input.EventId
|
|
8639
|
-
input.EventStopBehavior !== null && { eventStopBehavior: input.EventStopBehavior })), (input.FilecacheDuration !== undefined &&
|
|
8640
|
-
input.FilecacheDuration !== null && { filecacheDuration: input.FilecacheDuration })), (input.FragmentLength !== undefined &&
|
|
8641
|
-
input.FragmentLength !== null && { fragmentLength: input.FragmentLength })), (input.InputLossAction !== undefined &&
|
|
8642
|
-
input.InputLossAction !== null && { inputLossAction: input.InputLossAction })), (input.NumRetries !== undefined && input.NumRetries !== null && { numRetries: input.NumRetries })), (input.RestartDelay !== undefined && input.RestartDelay !== null && { restartDelay: input.RestartDelay })), (input.SegmentationMode !== undefined &&
|
|
8643
|
-
input.SegmentationMode !== null && { segmentationMode: input.SegmentationMode })), (input.SendDelayMs !== undefined && input.SendDelayMs !== null && { sendDelayMs: input.SendDelayMs })), (input.SparseTrackType !== undefined &&
|
|
8644
|
-
input.SparseTrackType !== null && { sparseTrackType: input.SparseTrackType })), (input.StreamManifestBehavior !== undefined &&
|
|
8645
|
-
input.StreamManifestBehavior !== null && { streamManifestBehavior: input.StreamManifestBehavior })), (input.TimestampOffset !== undefined &&
|
|
8646
|
-
input.TimestampOffset !== null && { timestampOffset: input.TimestampOffset })), (input.TimestampOffsetMode !== undefined &&
|
|
8647
|
-
input.TimestampOffsetMode !== null && { timestampOffsetMode: input.TimestampOffsetMode }));
|
|
8289
|
+
})), (input.EventId != null && { eventId: input.EventId })), (input.EventIdMode != null && { eventIdMode: input.EventIdMode })), (input.EventStopBehavior != null && { eventStopBehavior: input.EventStopBehavior })), (input.FilecacheDuration != null && { filecacheDuration: input.FilecacheDuration })), (input.FragmentLength != null && { fragmentLength: input.FragmentLength })), (input.InputLossAction != null && { inputLossAction: input.InputLossAction })), (input.NumRetries != null && { numRetries: input.NumRetries })), (input.RestartDelay != null && { restartDelay: input.RestartDelay })), (input.SegmentationMode != null && { segmentationMode: input.SegmentationMode })), (input.SendDelayMs != null && { sendDelayMs: input.SendDelayMs })), (input.SparseTrackType != null && { sparseTrackType: input.SparseTrackType })), (input.StreamManifestBehavior != null && { streamManifestBehavior: input.StreamManifestBehavior })), (input.TimestampOffset != null && { timestampOffset: input.TimestampOffset })), (input.TimestampOffsetMode != null && { timestampOffsetMode: input.TimestampOffsetMode }));
|
|
8648
8290
|
};
|
|
8649
8291
|
var serializeAws_restJson1MsSmoothOutputSettings = function (input, context) {
|
|
8650
|
-
return __assign(__assign({}, (input.H265PackagingType
|
|
8651
|
-
input.H265PackagingType !== null && { h265PackagingType: input.H265PackagingType })), (input.NameModifier !== undefined && input.NameModifier !== null && { nameModifier: input.NameModifier }));
|
|
8292
|
+
return __assign(__assign({}, (input.H265PackagingType != null && { h265PackagingType: input.H265PackagingType })), (input.NameModifier != null && { nameModifier: input.NameModifier }));
|
|
8652
8293
|
};
|
|
8653
8294
|
var serializeAws_restJson1MultiplexGroupSettings = function (input, context) {
|
|
8654
8295
|
return {};
|
|
8655
8296
|
};
|
|
8656
8297
|
var serializeAws_restJson1MultiplexOutputSettings = function (input, context) {
|
|
8657
|
-
return __assign({}, (input.Destination
|
|
8658
|
-
input.Destination !== null && {
|
|
8298
|
+
return __assign({}, (input.Destination != null && {
|
|
8659
8299
|
destination: serializeAws_restJson1OutputLocationRef(input.Destination, context),
|
|
8660
8300
|
}));
|
|
8661
8301
|
};
|
|
8662
8302
|
var serializeAws_restJson1MultiplexProgramChannelDestinationSettings = function (input, context) {
|
|
8663
|
-
return __assign(__assign({}, (input.MultiplexId
|
|
8303
|
+
return __assign(__assign({}, (input.MultiplexId != null && { multiplexId: input.MultiplexId })), (input.ProgramName != null && { programName: input.ProgramName }));
|
|
8664
8304
|
};
|
|
8665
8305
|
var serializeAws_restJson1MultiplexProgramServiceDescriptor = function (input, context) {
|
|
8666
|
-
return __assign(__assign({}, (input.ProviderName
|
|
8306
|
+
return __assign(__assign({}, (input.ProviderName != null && { providerName: input.ProviderName })), (input.ServiceName != null && { serviceName: input.ServiceName }));
|
|
8667
8307
|
};
|
|
8668
8308
|
var serializeAws_restJson1MultiplexProgramSettings = function (input, context) {
|
|
8669
|
-
return __assign(__assign(__assign(__assign({}, (input.PreferredChannelPipeline
|
|
8670
|
-
input.PreferredChannelPipeline !== null && { preferredChannelPipeline: input.PreferredChannelPipeline })), (input.ProgramNumber !== undefined && input.ProgramNumber !== null && { programNumber: input.ProgramNumber })), (input.ServiceDescriptor !== undefined &&
|
|
8671
|
-
input.ServiceDescriptor !== null && {
|
|
8309
|
+
return __assign(__assign(__assign(__assign({}, (input.PreferredChannelPipeline != null && { preferredChannelPipeline: input.PreferredChannelPipeline })), (input.ProgramNumber != null && { programNumber: input.ProgramNumber })), (input.ServiceDescriptor != null && {
|
|
8672
8310
|
serviceDescriptor: serializeAws_restJson1MultiplexProgramServiceDescriptor(input.ServiceDescriptor, context),
|
|
8673
|
-
})), (input.VideoSettings
|
|
8674
|
-
input.VideoSettings !== null && {
|
|
8311
|
+
})), (input.VideoSettings != null && {
|
|
8675
8312
|
videoSettings: serializeAws_restJson1MultiplexVideoSettings(input.VideoSettings, context),
|
|
8676
8313
|
}));
|
|
8677
8314
|
};
|
|
8678
8315
|
var serializeAws_restJson1MultiplexSettings = function (input, context) {
|
|
8679
|
-
return __assign(__assign(__assign(__assign({}, (input.MaximumVideoBufferDelayMilliseconds
|
|
8680
|
-
input.MaximumVideoBufferDelayMilliseconds !== null && {
|
|
8316
|
+
return __assign(__assign(__assign(__assign({}, (input.MaximumVideoBufferDelayMilliseconds != null && {
|
|
8681
8317
|
maximumVideoBufferDelayMilliseconds: input.MaximumVideoBufferDelayMilliseconds,
|
|
8682
|
-
})), (input.TransportStreamBitrate
|
|
8683
|
-
input.TransportStreamBitrate !== null && { transportStreamBitrate: input.TransportStreamBitrate })), (input.TransportStreamId !== undefined &&
|
|
8684
|
-
input.TransportStreamId !== null && { transportStreamId: input.TransportStreamId })), (input.TransportStreamReservedBitrate !== undefined &&
|
|
8685
|
-
input.TransportStreamReservedBitrate !== null && {
|
|
8318
|
+
})), (input.TransportStreamBitrate != null && { transportStreamBitrate: input.TransportStreamBitrate })), (input.TransportStreamId != null && { transportStreamId: input.TransportStreamId })), (input.TransportStreamReservedBitrate != null && {
|
|
8686
8319
|
transportStreamReservedBitrate: input.TransportStreamReservedBitrate,
|
|
8687
8320
|
}));
|
|
8688
8321
|
};
|
|
8689
8322
|
var serializeAws_restJson1MultiplexStatmuxVideoSettings = function (input, context) {
|
|
8690
|
-
return __assign(__assign(__assign({}, (input.MaximumBitrate
|
|
8691
|
-
input.MaximumBitrate !== null && { maximumBitrate: input.MaximumBitrate })), (input.MinimumBitrate !== undefined &&
|
|
8692
|
-
input.MinimumBitrate !== null && { minimumBitrate: input.MinimumBitrate })), (input.Priority !== undefined && input.Priority !== null && { priority: input.Priority }));
|
|
8323
|
+
return __assign(__assign(__assign({}, (input.MaximumBitrate != null && { maximumBitrate: input.MaximumBitrate })), (input.MinimumBitrate != null && { minimumBitrate: input.MinimumBitrate })), (input.Priority != null && { priority: input.Priority }));
|
|
8693
8324
|
};
|
|
8694
8325
|
var serializeAws_restJson1MultiplexVideoSettings = function (input, context) {
|
|
8695
|
-
return __assign(__assign({}, (input.ConstantBitrate
|
|
8696
|
-
input.ConstantBitrate !== null && { constantBitrate: input.ConstantBitrate })), (input.StatmuxSettings !== undefined &&
|
|
8697
|
-
input.StatmuxSettings !== null && {
|
|
8326
|
+
return __assign(__assign({}, (input.ConstantBitrate != null && { constantBitrate: input.ConstantBitrate })), (input.StatmuxSettings != null && {
|
|
8698
8327
|
statmuxSettings: serializeAws_restJson1MultiplexStatmuxVideoSettings(input.StatmuxSettings, context),
|
|
8699
8328
|
}));
|
|
8700
8329
|
};
|
|
8701
8330
|
var serializeAws_restJson1NetworkInputSettings = function (input, context) {
|
|
8702
|
-
return __assign(__assign({}, (input.HlsInputSettings
|
|
8703
|
-
input.HlsInputSettings !== null && {
|
|
8331
|
+
return __assign(__assign({}, (input.HlsInputSettings != null && {
|
|
8704
8332
|
hlsInputSettings: serializeAws_restJson1HlsInputSettings(input.HlsInputSettings, context),
|
|
8705
|
-
})), (input.ServerValidation
|
|
8706
|
-
input.ServerValidation !== null && { serverValidation: input.ServerValidation }));
|
|
8333
|
+
})), (input.ServerValidation != null && { serverValidation: input.ServerValidation }));
|
|
8707
8334
|
};
|
|
8708
8335
|
var serializeAws_restJson1NielsenCBET = function (input, context) {
|
|
8709
|
-
return __assign(__assign(__assign({}, (input.CbetCheckDigitString
|
|
8710
|
-
input.CbetCheckDigitString !== null && { cbetCheckDigitString: input.CbetCheckDigitString })), (input.CbetStepaside !== undefined && input.CbetStepaside !== null && { cbetStepaside: input.CbetStepaside })), (input.Csid !== undefined && input.Csid !== null && { csid: input.Csid }));
|
|
8336
|
+
return __assign(__assign(__assign({}, (input.CbetCheckDigitString != null && { cbetCheckDigitString: input.CbetCheckDigitString })), (input.CbetStepaside != null && { cbetStepaside: input.CbetStepaside })), (input.Csid != null && { csid: input.Csid }));
|
|
8711
8337
|
};
|
|
8712
8338
|
var serializeAws_restJson1NielsenConfiguration = function (input, context) {
|
|
8713
|
-
return __assign(__assign({}, (input.DistributorId
|
|
8714
|
-
input.NielsenPcmToId3Tagging !== null && { nielsenPcmToId3Tagging: input.NielsenPcmToId3Tagging }));
|
|
8339
|
+
return __assign(__assign({}, (input.DistributorId != null && { distributorId: input.DistributorId })), (input.NielsenPcmToId3Tagging != null && { nielsenPcmToId3Tagging: input.NielsenPcmToId3Tagging }));
|
|
8715
8340
|
};
|
|
8716
8341
|
var serializeAws_restJson1NielsenNaesIiNw = function (input, context) {
|
|
8717
|
-
return __assign(__assign({}, (input.CheckDigitString
|
|
8718
|
-
input.CheckDigitString !== null && { checkDigitString: input.CheckDigitString })), (input.Sid !== undefined && input.Sid !== null && { sid: __serializeFloat(input.Sid) }));
|
|
8342
|
+
return __assign(__assign({}, (input.CheckDigitString != null && { checkDigitString: input.CheckDigitString })), (input.Sid != null && { sid: __serializeFloat(input.Sid) }));
|
|
8719
8343
|
};
|
|
8720
8344
|
var serializeAws_restJson1NielsenWatermarksSettings = function (input, context) {
|
|
8721
|
-
return __assign(__assign(__assign({}, (input.NielsenCbetSettings
|
|
8722
|
-
input.NielsenCbetSettings !== null && {
|
|
8345
|
+
return __assign(__assign(__assign({}, (input.NielsenCbetSettings != null && {
|
|
8723
8346
|
nielsenCbetSettings: serializeAws_restJson1NielsenCBET(input.NielsenCbetSettings, context),
|
|
8724
|
-
})), (input.NielsenDistributionType
|
|
8725
|
-
input.NielsenDistributionType !== null && { nielsenDistributionType: input.NielsenDistributionType })), (input.NielsenNaesIiNwSettings !== undefined &&
|
|
8726
|
-
input.NielsenNaesIiNwSettings !== null && {
|
|
8347
|
+
})), (input.NielsenDistributionType != null && { nielsenDistributionType: input.NielsenDistributionType })), (input.NielsenNaesIiNwSettings != null && {
|
|
8727
8348
|
nielsenNaesIiNwSettings: serializeAws_restJson1NielsenNaesIiNw(input.NielsenNaesIiNwSettings, context),
|
|
8728
8349
|
}));
|
|
8729
8350
|
};
|
|
8730
8351
|
var serializeAws_restJson1Output = function (input, context) {
|
|
8731
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptionNames
|
|
8732
|
-
input.AudioDescriptionNames !== null && {
|
|
8352
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptionNames != null && {
|
|
8733
8353
|
audioDescriptionNames: serializeAws_restJson1__listOf__string(input.AudioDescriptionNames, context),
|
|
8734
|
-
})), (input.CaptionDescriptionNames
|
|
8735
|
-
input.CaptionDescriptionNames !== null && {
|
|
8354
|
+
})), (input.CaptionDescriptionNames != null && {
|
|
8736
8355
|
captionDescriptionNames: serializeAws_restJson1__listOf__string(input.CaptionDescriptionNames, context),
|
|
8737
|
-
})), (input.OutputName
|
|
8738
|
-
input.OutputSettings !== null && {
|
|
8356
|
+
})), (input.OutputName != null && { outputName: input.OutputName })), (input.OutputSettings != null && {
|
|
8739
8357
|
outputSettings: serializeAws_restJson1OutputSettings(input.OutputSettings, context),
|
|
8740
|
-
})), (input.VideoDescriptionName
|
|
8741
|
-
input.VideoDescriptionName !== null && { videoDescriptionName: input.VideoDescriptionName }));
|
|
8358
|
+
})), (input.VideoDescriptionName != null && { videoDescriptionName: input.VideoDescriptionName }));
|
|
8742
8359
|
};
|
|
8743
8360
|
var serializeAws_restJson1OutputDestination = function (input, context) {
|
|
8744
|
-
return __assign(__assign(__assign(__assign({}, (input.Id
|
|
8745
|
-
input.MediaPackageSettings !== null && {
|
|
8361
|
+
return __assign(__assign(__assign(__assign({}, (input.Id != null && { id: input.Id })), (input.MediaPackageSettings != null && {
|
|
8746
8362
|
mediaPackageSettings: serializeAws_restJson1__listOfMediaPackageOutputDestinationSettings(input.MediaPackageSettings, context),
|
|
8747
|
-
})), (input.MultiplexSettings
|
|
8748
|
-
input.MultiplexSettings !== null && {
|
|
8363
|
+
})), (input.MultiplexSettings != null && {
|
|
8749
8364
|
multiplexSettings: serializeAws_restJson1MultiplexProgramChannelDestinationSettings(input.MultiplexSettings, context),
|
|
8750
|
-
})), (input.Settings
|
|
8751
|
-
input.Settings !== null && {
|
|
8365
|
+
})), (input.Settings != null && {
|
|
8752
8366
|
settings: serializeAws_restJson1__listOfOutputDestinationSettings(input.Settings, context),
|
|
8753
8367
|
}));
|
|
8754
8368
|
};
|
|
8755
8369
|
var serializeAws_restJson1OutputDestinationSettings = function (input, context) {
|
|
8756
|
-
return __assign(__assign(__assign(__assign({}, (input.PasswordParam
|
|
8370
|
+
return __assign(__assign(__assign(__assign({}, (input.PasswordParam != null && { passwordParam: input.PasswordParam })), (input.StreamName != null && { streamName: input.StreamName })), (input.Url != null && { url: input.Url })), (input.Username != null && { username: input.Username }));
|
|
8757
8371
|
};
|
|
8758
8372
|
var serializeAws_restJson1OutputGroup = function (input, context) {
|
|
8759
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
8760
|
-
input.OutputGroupSettings !== null && {
|
|
8373
|
+
return __assign(__assign(__assign({}, (input.Name != null && { name: input.Name })), (input.OutputGroupSettings != null && {
|
|
8761
8374
|
outputGroupSettings: serializeAws_restJson1OutputGroupSettings(input.OutputGroupSettings, context),
|
|
8762
|
-
})), (input.Outputs
|
|
8763
|
-
input.Outputs !== null && { outputs: serializeAws_restJson1__listOfOutput(input.Outputs, context) }));
|
|
8375
|
+
})), (input.Outputs != null && { outputs: serializeAws_restJson1__listOfOutput(input.Outputs, context) }));
|
|
8764
8376
|
};
|
|
8765
8377
|
var serializeAws_restJson1OutputGroupSettings = function (input, context) {
|
|
8766
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ArchiveGroupSettings
|
|
8767
|
-
input.ArchiveGroupSettings !== null && {
|
|
8378
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ArchiveGroupSettings != null && {
|
|
8768
8379
|
archiveGroupSettings: serializeAws_restJson1ArchiveGroupSettings(input.ArchiveGroupSettings, context),
|
|
8769
|
-
})), (input.FrameCaptureGroupSettings
|
|
8770
|
-
input.FrameCaptureGroupSettings !== null && {
|
|
8380
|
+
})), (input.FrameCaptureGroupSettings != null && {
|
|
8771
8381
|
frameCaptureGroupSettings: serializeAws_restJson1FrameCaptureGroupSettings(input.FrameCaptureGroupSettings, context),
|
|
8772
|
-
})), (input.HlsGroupSettings
|
|
8773
|
-
input.HlsGroupSettings !== null && {
|
|
8382
|
+
})), (input.HlsGroupSettings != null && {
|
|
8774
8383
|
hlsGroupSettings: serializeAws_restJson1HlsGroupSettings(input.HlsGroupSettings, context),
|
|
8775
|
-
})), (input.MediaPackageGroupSettings
|
|
8776
|
-
input.MediaPackageGroupSettings !== null && {
|
|
8384
|
+
})), (input.MediaPackageGroupSettings != null && {
|
|
8777
8385
|
mediaPackageGroupSettings: serializeAws_restJson1MediaPackageGroupSettings(input.MediaPackageGroupSettings, context),
|
|
8778
|
-
})), (input.MsSmoothGroupSettings
|
|
8779
|
-
input.MsSmoothGroupSettings !== null && {
|
|
8386
|
+
})), (input.MsSmoothGroupSettings != null && {
|
|
8780
8387
|
msSmoothGroupSettings: serializeAws_restJson1MsSmoothGroupSettings(input.MsSmoothGroupSettings, context),
|
|
8781
|
-
})), (input.MultiplexGroupSettings
|
|
8782
|
-
input.MultiplexGroupSettings !== null && {
|
|
8388
|
+
})), (input.MultiplexGroupSettings != null && {
|
|
8783
8389
|
multiplexGroupSettings: serializeAws_restJson1MultiplexGroupSettings(input.MultiplexGroupSettings, context),
|
|
8784
|
-
})), (input.RtmpGroupSettings
|
|
8785
|
-
input.RtmpGroupSettings !== null && {
|
|
8390
|
+
})), (input.RtmpGroupSettings != null && {
|
|
8786
8391
|
rtmpGroupSettings: serializeAws_restJson1RtmpGroupSettings(input.RtmpGroupSettings, context),
|
|
8787
|
-
})), (input.UdpGroupSettings
|
|
8788
|
-
input.UdpGroupSettings !== null && {
|
|
8392
|
+
})), (input.UdpGroupSettings != null && {
|
|
8789
8393
|
udpGroupSettings: serializeAws_restJson1UdpGroupSettings(input.UdpGroupSettings, context),
|
|
8790
8394
|
}));
|
|
8791
8395
|
};
|
|
8792
8396
|
var serializeAws_restJson1OutputLocationRef = function (input, context) {
|
|
8793
|
-
return __assign({}, (input.DestinationRefId
|
|
8794
|
-
input.DestinationRefId !== null && { destinationRefId: input.DestinationRefId }));
|
|
8397
|
+
return __assign({}, (input.DestinationRefId != null && { destinationRefId: input.DestinationRefId }));
|
|
8795
8398
|
};
|
|
8796
8399
|
var serializeAws_restJson1OutputSettings = function (input, context) {
|
|
8797
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ArchiveOutputSettings
|
|
8798
|
-
input.ArchiveOutputSettings !== null && {
|
|
8400
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ArchiveOutputSettings != null && {
|
|
8799
8401
|
archiveOutputSettings: serializeAws_restJson1ArchiveOutputSettings(input.ArchiveOutputSettings, context),
|
|
8800
|
-
})), (input.FrameCaptureOutputSettings
|
|
8801
|
-
input.FrameCaptureOutputSettings !== null && {
|
|
8402
|
+
})), (input.FrameCaptureOutputSettings != null && {
|
|
8802
8403
|
frameCaptureOutputSettings: serializeAws_restJson1FrameCaptureOutputSettings(input.FrameCaptureOutputSettings, context),
|
|
8803
|
-
})), (input.HlsOutputSettings
|
|
8804
|
-
input.HlsOutputSettings !== null && {
|
|
8404
|
+
})), (input.HlsOutputSettings != null && {
|
|
8805
8405
|
hlsOutputSettings: serializeAws_restJson1HlsOutputSettings(input.HlsOutputSettings, context),
|
|
8806
|
-
})), (input.MediaPackageOutputSettings
|
|
8807
|
-
input.MediaPackageOutputSettings !== null && {
|
|
8406
|
+
})), (input.MediaPackageOutputSettings != null && {
|
|
8808
8407
|
mediaPackageOutputSettings: serializeAws_restJson1MediaPackageOutputSettings(input.MediaPackageOutputSettings, context),
|
|
8809
|
-
})), (input.MsSmoothOutputSettings
|
|
8810
|
-
input.MsSmoothOutputSettings !== null && {
|
|
8408
|
+
})), (input.MsSmoothOutputSettings != null && {
|
|
8811
8409
|
msSmoothOutputSettings: serializeAws_restJson1MsSmoothOutputSettings(input.MsSmoothOutputSettings, context),
|
|
8812
|
-
})), (input.MultiplexOutputSettings
|
|
8813
|
-
input.MultiplexOutputSettings !== null && {
|
|
8410
|
+
})), (input.MultiplexOutputSettings != null && {
|
|
8814
8411
|
multiplexOutputSettings: serializeAws_restJson1MultiplexOutputSettings(input.MultiplexOutputSettings, context),
|
|
8815
|
-
})), (input.RtmpOutputSettings
|
|
8816
|
-
input.RtmpOutputSettings !== null && {
|
|
8412
|
+
})), (input.RtmpOutputSettings != null && {
|
|
8817
8413
|
rtmpOutputSettings: serializeAws_restJson1RtmpOutputSettings(input.RtmpOutputSettings, context),
|
|
8818
|
-
})), (input.UdpOutputSettings
|
|
8819
|
-
input.UdpOutputSettings !== null && {
|
|
8414
|
+
})), (input.UdpOutputSettings != null && {
|
|
8820
8415
|
udpOutputSettings: serializeAws_restJson1UdpOutputSettings(input.UdpOutputSettings, context),
|
|
8821
8416
|
}));
|
|
8822
8417
|
};
|
|
@@ -8824,13 +8419,12 @@ var serializeAws_restJson1PassThroughSettings = function (input, context) {
|
|
|
8824
8419
|
return {};
|
|
8825
8420
|
};
|
|
8826
8421
|
var serializeAws_restJson1PauseStateScheduleActionSettings = function (input, context) {
|
|
8827
|
-
return __assign({}, (input.Pipelines
|
|
8828
|
-
input.Pipelines !== null && {
|
|
8422
|
+
return __assign({}, (input.Pipelines != null && {
|
|
8829
8423
|
pipelines: serializeAws_restJson1__listOfPipelinePauseStateSettings(input.Pipelines, context),
|
|
8830
8424
|
}));
|
|
8831
8425
|
};
|
|
8832
8426
|
var serializeAws_restJson1PipelinePauseStateSettings = function (input, context) {
|
|
8833
|
-
return __assign({}, (input.PipelineId
|
|
8427
|
+
return __assign({}, (input.PipelineId != null && { pipelineId: input.PipelineId }));
|
|
8834
8428
|
};
|
|
8835
8429
|
var serializeAws_restJson1RawSettings = function (input, context) {
|
|
8836
8430
|
return {};
|
|
@@ -8842,90 +8436,66 @@ var serializeAws_restJson1Rec709Settings = function (input, context) {
|
|
|
8842
8436
|
return {};
|
|
8843
8437
|
};
|
|
8844
8438
|
var serializeAws_restJson1RemixSettings = function (input, context) {
|
|
8845
|
-
return __assign(__assign(__assign({}, (input.ChannelMappings
|
|
8846
|
-
input.ChannelMappings !== null && {
|
|
8439
|
+
return __assign(__assign(__assign({}, (input.ChannelMappings != null && {
|
|
8847
8440
|
channelMappings: serializeAws_restJson1__listOfAudioChannelMapping(input.ChannelMappings, context),
|
|
8848
|
-
})), (input.ChannelsIn
|
|
8441
|
+
})), (input.ChannelsIn != null && { channelsIn: input.ChannelsIn })), (input.ChannelsOut != null && { channelsOut: input.ChannelsOut }));
|
|
8849
8442
|
};
|
|
8850
8443
|
var serializeAws_restJson1RenewalSettings = function (input, context) {
|
|
8851
|
-
return __assign(__assign({}, (input.AutomaticRenewal
|
|
8852
|
-
input.AutomaticRenewal !== null && { automaticRenewal: input.AutomaticRenewal })), (input.RenewalCount !== undefined && input.RenewalCount !== null && { renewalCount: input.RenewalCount }));
|
|
8444
|
+
return __assign(__assign({}, (input.AutomaticRenewal != null && { automaticRenewal: input.AutomaticRenewal })), (input.RenewalCount != null && { renewalCount: input.RenewalCount }));
|
|
8853
8445
|
};
|
|
8854
8446
|
var serializeAws_restJson1RtmpCaptionInfoDestinationSettings = function (input, context) {
|
|
8855
8447
|
return {};
|
|
8856
8448
|
};
|
|
8857
8449
|
var serializeAws_restJson1RtmpGroupSettings = function (input, context) {
|
|
8858
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdMarkers
|
|
8859
|
-
|
|
8860
|
-
|
|
8861
|
-
input.CacheFullBehavior !== null && { cacheFullBehavior: input.CacheFullBehavior })), (input.CacheLength !== undefined && input.CacheLength !== null && { cacheLength: input.CacheLength })), (input.CaptionData !== undefined && input.CaptionData !== null && { captionData: input.CaptionData })), (input.InputLossAction !== undefined &&
|
|
8862
|
-
input.InputLossAction !== null && { inputLossAction: input.InputLossAction })), (input.RestartDelay !== undefined && input.RestartDelay !== null && { restartDelay: input.RestartDelay }));
|
|
8450
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdMarkers != null && {
|
|
8451
|
+
adMarkers: serializeAws_restJson1__listOfRtmpAdMarkers(input.AdMarkers, context),
|
|
8452
|
+
})), (input.AuthenticationScheme != null && { authenticationScheme: input.AuthenticationScheme })), (input.CacheFullBehavior != null && { cacheFullBehavior: input.CacheFullBehavior })), (input.CacheLength != null && { cacheLength: input.CacheLength })), (input.CaptionData != null && { captionData: input.CaptionData })), (input.InputLossAction != null && { inputLossAction: input.InputLossAction })), (input.RestartDelay != null && { restartDelay: input.RestartDelay }));
|
|
8863
8453
|
};
|
|
8864
8454
|
var serializeAws_restJson1RtmpOutputSettings = function (input, context) {
|
|
8865
|
-
return __assign(__assign(__assign(__assign({}, (input.CertificateMode
|
|
8866
|
-
input.CertificateMode !== null && { certificateMode: input.CertificateMode })), (input.ConnectionRetryInterval !== undefined &&
|
|
8867
|
-
input.ConnectionRetryInterval !== null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.Destination !== undefined &&
|
|
8868
|
-
input.Destination !== null && {
|
|
8455
|
+
return __assign(__assign(__assign(__assign({}, (input.CertificateMode != null && { certificateMode: input.CertificateMode })), (input.ConnectionRetryInterval != null && { connectionRetryInterval: input.ConnectionRetryInterval })), (input.Destination != null && {
|
|
8869
8456
|
destination: serializeAws_restJson1OutputLocationRef(input.Destination, context),
|
|
8870
|
-
})), (input.NumRetries
|
|
8457
|
+
})), (input.NumRetries != null && { numRetries: input.NumRetries }));
|
|
8871
8458
|
};
|
|
8872
8459
|
var serializeAws_restJson1ScheduleAction = function (input, context) {
|
|
8873
|
-
return __assign(__assign(__assign({}, (input.ActionName
|
|
8874
|
-
input.ScheduleActionSettings !== null && {
|
|
8460
|
+
return __assign(__assign(__assign({}, (input.ActionName != null && { actionName: input.ActionName })), (input.ScheduleActionSettings != null && {
|
|
8875
8461
|
scheduleActionSettings: serializeAws_restJson1ScheduleActionSettings(input.ScheduleActionSettings, context),
|
|
8876
|
-
})), (input.ScheduleActionStartSettings
|
|
8877
|
-
input.ScheduleActionStartSettings !== null && {
|
|
8462
|
+
})), (input.ScheduleActionStartSettings != null && {
|
|
8878
8463
|
scheduleActionStartSettings: serializeAws_restJson1ScheduleActionStartSettings(input.ScheduleActionStartSettings, context),
|
|
8879
8464
|
}));
|
|
8880
8465
|
};
|
|
8881
8466
|
var serializeAws_restJson1ScheduleActionSettings = function (input, context) {
|
|
8882
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.HlsId3SegmentTaggingSettings
|
|
8883
|
-
input.HlsId3SegmentTaggingSettings !== null && {
|
|
8467
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.HlsId3SegmentTaggingSettings != null && {
|
|
8884
8468
|
hlsId3SegmentTaggingSettings: serializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings(input.HlsId3SegmentTaggingSettings, context),
|
|
8885
|
-
})), (input.HlsTimedMetadataSettings
|
|
8886
|
-
input.HlsTimedMetadataSettings !== null && {
|
|
8469
|
+
})), (input.HlsTimedMetadataSettings != null && {
|
|
8887
8470
|
hlsTimedMetadataSettings: serializeAws_restJson1HlsTimedMetadataScheduleActionSettings(input.HlsTimedMetadataSettings, context),
|
|
8888
|
-
})), (input.InputPrepareSettings
|
|
8889
|
-
input.InputPrepareSettings !== null && {
|
|
8471
|
+
})), (input.InputPrepareSettings != null && {
|
|
8890
8472
|
inputPrepareSettings: serializeAws_restJson1InputPrepareScheduleActionSettings(input.InputPrepareSettings, context),
|
|
8891
|
-
})), (input.InputSwitchSettings
|
|
8892
|
-
input.InputSwitchSettings !== null && {
|
|
8473
|
+
})), (input.InputSwitchSettings != null && {
|
|
8893
8474
|
inputSwitchSettings: serializeAws_restJson1InputSwitchScheduleActionSettings(input.InputSwitchSettings, context),
|
|
8894
|
-
})), (input.MotionGraphicsImageActivateSettings
|
|
8895
|
-
input.MotionGraphicsImageActivateSettings !== null && {
|
|
8475
|
+
})), (input.MotionGraphicsImageActivateSettings != null && {
|
|
8896
8476
|
motionGraphicsImageActivateSettings: serializeAws_restJson1MotionGraphicsActivateScheduleActionSettings(input.MotionGraphicsImageActivateSettings, context),
|
|
8897
|
-
})), (input.MotionGraphicsImageDeactivateSettings
|
|
8898
|
-
input.MotionGraphicsImageDeactivateSettings !== null && {
|
|
8477
|
+
})), (input.MotionGraphicsImageDeactivateSettings != null && {
|
|
8899
8478
|
motionGraphicsImageDeactivateSettings: serializeAws_restJson1MotionGraphicsDeactivateScheduleActionSettings(input.MotionGraphicsImageDeactivateSettings, context),
|
|
8900
|
-
})), (input.PauseStateSettings
|
|
8901
|
-
input.PauseStateSettings !== null && {
|
|
8479
|
+
})), (input.PauseStateSettings != null && {
|
|
8902
8480
|
pauseStateSettings: serializeAws_restJson1PauseStateScheduleActionSettings(input.PauseStateSettings, context),
|
|
8903
|
-
})), (input.Scte35ReturnToNetworkSettings
|
|
8904
|
-
input.Scte35ReturnToNetworkSettings !== null && {
|
|
8481
|
+
})), (input.Scte35ReturnToNetworkSettings != null && {
|
|
8905
8482
|
scte35ReturnToNetworkSettings: serializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings(input.Scte35ReturnToNetworkSettings, context),
|
|
8906
|
-
})), (input.Scte35SpliceInsertSettings
|
|
8907
|
-
input.Scte35SpliceInsertSettings !== null && {
|
|
8483
|
+
})), (input.Scte35SpliceInsertSettings != null && {
|
|
8908
8484
|
scte35SpliceInsertSettings: serializeAws_restJson1Scte35SpliceInsertScheduleActionSettings(input.Scte35SpliceInsertSettings, context),
|
|
8909
|
-
})), (input.Scte35TimeSignalSettings
|
|
8910
|
-
input.Scte35TimeSignalSettings !== null && {
|
|
8485
|
+
})), (input.Scte35TimeSignalSettings != null && {
|
|
8911
8486
|
scte35TimeSignalSettings: serializeAws_restJson1Scte35TimeSignalScheduleActionSettings(input.Scte35TimeSignalSettings, context),
|
|
8912
|
-
})), (input.StaticImageActivateSettings
|
|
8913
|
-
input.StaticImageActivateSettings !== null && {
|
|
8487
|
+
})), (input.StaticImageActivateSettings != null && {
|
|
8914
8488
|
staticImageActivateSettings: serializeAws_restJson1StaticImageActivateScheduleActionSettings(input.StaticImageActivateSettings, context),
|
|
8915
|
-
})), (input.StaticImageDeactivateSettings
|
|
8916
|
-
input.StaticImageDeactivateSettings !== null && {
|
|
8489
|
+
})), (input.StaticImageDeactivateSettings != null && {
|
|
8917
8490
|
staticImageDeactivateSettings: serializeAws_restJson1StaticImageDeactivateScheduleActionSettings(input.StaticImageDeactivateSettings, context),
|
|
8918
8491
|
}));
|
|
8919
8492
|
};
|
|
8920
8493
|
var serializeAws_restJson1ScheduleActionStartSettings = function (input, context) {
|
|
8921
|
-
return __assign(__assign(__assign({}, (input.FixedModeScheduleActionStartSettings
|
|
8922
|
-
input.FixedModeScheduleActionStartSettings !== null && {
|
|
8494
|
+
return __assign(__assign(__assign({}, (input.FixedModeScheduleActionStartSettings != null && {
|
|
8923
8495
|
fixedModeScheduleActionStartSettings: serializeAws_restJson1FixedModeScheduleActionStartSettings(input.FixedModeScheduleActionStartSettings, context),
|
|
8924
|
-
})), (input.FollowModeScheduleActionStartSettings
|
|
8925
|
-
input.FollowModeScheduleActionStartSettings !== null && {
|
|
8496
|
+
})), (input.FollowModeScheduleActionStartSettings != null && {
|
|
8926
8497
|
followModeScheduleActionStartSettings: serializeAws_restJson1FollowModeScheduleActionStartSettings(input.FollowModeScheduleActionStartSettings, context),
|
|
8927
|
-
})), (input.ImmediateModeScheduleActionStartSettings
|
|
8928
|
-
input.ImmediateModeScheduleActionStartSettings !== null && {
|
|
8498
|
+
})), (input.ImmediateModeScheduleActionStartSettings != null && {
|
|
8929
8499
|
immediateModeScheduleActionStartSettings: serializeAws_restJson1ImmediateModeScheduleActionStartSettings(input.ImmediateModeScheduleActionStartSettings, context),
|
|
8930
8500
|
}));
|
|
8931
8501
|
};
|
|
@@ -8933,68 +8503,48 @@ var serializeAws_restJson1Scte20PlusEmbeddedDestinationSettings = function (inpu
|
|
|
8933
8503
|
return {};
|
|
8934
8504
|
};
|
|
8935
8505
|
var serializeAws_restJson1Scte20SourceSettings = function (input, context) {
|
|
8936
|
-
return __assign(__assign({}, (input.Convert608To708
|
|
8937
|
-
input.Convert608To708 !== null && { convert608To708: input.Convert608To708 })), (input.Source608ChannelNumber !== undefined &&
|
|
8938
|
-
input.Source608ChannelNumber !== null && { source608ChannelNumber: input.Source608ChannelNumber }));
|
|
8506
|
+
return __assign(__assign({}, (input.Convert608To708 != null && { convert608To708: input.Convert608To708 })), (input.Source608ChannelNumber != null && { source608ChannelNumber: input.Source608ChannelNumber }));
|
|
8939
8507
|
};
|
|
8940
8508
|
var serializeAws_restJson1Scte27DestinationSettings = function (input, context) {
|
|
8941
8509
|
return {};
|
|
8942
8510
|
};
|
|
8943
8511
|
var serializeAws_restJson1Scte27SourceSettings = function (input, context) {
|
|
8944
|
-
return __assign(__assign({}, (input.OcrLanguage
|
|
8512
|
+
return __assign(__assign({}, (input.OcrLanguage != null && { ocrLanguage: input.OcrLanguage })), (input.Pid != null && { pid: input.Pid }));
|
|
8945
8513
|
};
|
|
8946
8514
|
var serializeAws_restJson1Scte35DeliveryRestrictions = function (input, context) {
|
|
8947
|
-
return __assign(__assign(__assign(__assign({}, (input.ArchiveAllowedFlag
|
|
8948
|
-
input.ArchiveAllowedFlag !== null && { archiveAllowedFlag: input.ArchiveAllowedFlag })), (input.DeviceRestrictions !== undefined &&
|
|
8949
|
-
input.DeviceRestrictions !== null && { deviceRestrictions: input.DeviceRestrictions })), (input.NoRegionalBlackoutFlag !== undefined &&
|
|
8950
|
-
input.NoRegionalBlackoutFlag !== null && { noRegionalBlackoutFlag: input.NoRegionalBlackoutFlag })), (input.WebDeliveryAllowedFlag !== undefined &&
|
|
8951
|
-
input.WebDeliveryAllowedFlag !== null && { webDeliveryAllowedFlag: input.WebDeliveryAllowedFlag }));
|
|
8515
|
+
return __assign(__assign(__assign(__assign({}, (input.ArchiveAllowedFlag != null && { archiveAllowedFlag: input.ArchiveAllowedFlag })), (input.DeviceRestrictions != null && { deviceRestrictions: input.DeviceRestrictions })), (input.NoRegionalBlackoutFlag != null && { noRegionalBlackoutFlag: input.NoRegionalBlackoutFlag })), (input.WebDeliveryAllowedFlag != null && { webDeliveryAllowedFlag: input.WebDeliveryAllowedFlag }));
|
|
8952
8516
|
};
|
|
8953
8517
|
var serializeAws_restJson1Scte35Descriptor = function (input, context) {
|
|
8954
|
-
return __assign({}, (input.Scte35DescriptorSettings
|
|
8955
|
-
input.Scte35DescriptorSettings !== null && {
|
|
8518
|
+
return __assign({}, (input.Scte35DescriptorSettings != null && {
|
|
8956
8519
|
scte35DescriptorSettings: serializeAws_restJson1Scte35DescriptorSettings(input.Scte35DescriptorSettings, context),
|
|
8957
8520
|
}));
|
|
8958
8521
|
};
|
|
8959
8522
|
var serializeAws_restJson1Scte35DescriptorSettings = function (input, context) {
|
|
8960
|
-
return __assign({}, (input.SegmentationDescriptorScte35DescriptorSettings
|
|
8961
|
-
input.SegmentationDescriptorScte35DescriptorSettings !== null && {
|
|
8523
|
+
return __assign({}, (input.SegmentationDescriptorScte35DescriptorSettings != null && {
|
|
8962
8524
|
segmentationDescriptorScte35DescriptorSettings: serializeAws_restJson1Scte35SegmentationDescriptor(input.SegmentationDescriptorScte35DescriptorSettings, context),
|
|
8963
8525
|
}));
|
|
8964
8526
|
};
|
|
8965
8527
|
var serializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings = function (input, context) {
|
|
8966
|
-
return __assign({}, (input.SpliceEventId
|
|
8528
|
+
return __assign({}, (input.SpliceEventId != null && { spliceEventId: input.SpliceEventId }));
|
|
8967
8529
|
};
|
|
8968
8530
|
var serializeAws_restJson1Scte35SegmentationDescriptor = function (input, context) {
|
|
8969
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeliveryRestrictions
|
|
8970
|
-
input.DeliveryRestrictions !== null && {
|
|
8531
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeliveryRestrictions != null && {
|
|
8971
8532
|
deliveryRestrictions: serializeAws_restJson1Scte35DeliveryRestrictions(input.DeliveryRestrictions, context),
|
|
8972
|
-
})), (input.SegmentNum
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
input.SegmentationEventId !== null && { segmentationEventId: input.SegmentationEventId })), (input.SegmentationTypeId !== undefined &&
|
|
8976
|
-
input.SegmentationTypeId !== null && { segmentationTypeId: input.SegmentationTypeId })), (input.SegmentationUpid !== undefined &&
|
|
8977
|
-
input.SegmentationUpid !== null && { segmentationUpid: input.SegmentationUpid })), (input.SegmentationUpidType !== undefined &&
|
|
8978
|
-
input.SegmentationUpidType !== null && { segmentationUpidType: input.SegmentationUpidType })), (input.SegmentsExpected !== undefined &&
|
|
8979
|
-
input.SegmentsExpected !== null && { segmentsExpected: input.SegmentsExpected })), (input.SubSegmentNum !== undefined && input.SubSegmentNum !== null && { subSegmentNum: input.SubSegmentNum })), (input.SubSegmentsExpected !== undefined &&
|
|
8980
|
-
input.SubSegmentsExpected !== null && { subSegmentsExpected: input.SubSegmentsExpected }));
|
|
8533
|
+
})), (input.SegmentNum != null && { segmentNum: input.SegmentNum })), (input.SegmentationCancelIndicator != null && {
|
|
8534
|
+
segmentationCancelIndicator: input.SegmentationCancelIndicator,
|
|
8535
|
+
})), (input.SegmentationDuration != null && { segmentationDuration: input.SegmentationDuration })), (input.SegmentationEventId != null && { segmentationEventId: input.SegmentationEventId })), (input.SegmentationTypeId != null && { segmentationTypeId: input.SegmentationTypeId })), (input.SegmentationUpid != null && { segmentationUpid: input.SegmentationUpid })), (input.SegmentationUpidType != null && { segmentationUpidType: input.SegmentationUpidType })), (input.SegmentsExpected != null && { segmentsExpected: input.SegmentsExpected })), (input.SubSegmentNum != null && { subSegmentNum: input.SubSegmentNum })), (input.SubSegmentsExpected != null && { subSegmentsExpected: input.SubSegmentsExpected }));
|
|
8981
8536
|
};
|
|
8982
8537
|
var serializeAws_restJson1Scte35SpliceInsert = function (input, context) {
|
|
8983
|
-
return __assign(__assign(__assign({}, (input.AdAvailOffset
|
|
8984
|
-
input.NoRegionalBlackoutFlag !== null && { noRegionalBlackoutFlag: input.NoRegionalBlackoutFlag })), (input.WebDeliveryAllowedFlag !== undefined &&
|
|
8985
|
-
input.WebDeliveryAllowedFlag !== null && { webDeliveryAllowedFlag: input.WebDeliveryAllowedFlag }));
|
|
8538
|
+
return __assign(__assign(__assign({}, (input.AdAvailOffset != null && { adAvailOffset: input.AdAvailOffset })), (input.NoRegionalBlackoutFlag != null && { noRegionalBlackoutFlag: input.NoRegionalBlackoutFlag })), (input.WebDeliveryAllowedFlag != null && { webDeliveryAllowedFlag: input.WebDeliveryAllowedFlag }));
|
|
8986
8539
|
};
|
|
8987
8540
|
var serializeAws_restJson1Scte35SpliceInsertScheduleActionSettings = function (input, context) {
|
|
8988
|
-
return __assign(__assign({}, (input.Duration
|
|
8541
|
+
return __assign(__assign({}, (input.Duration != null && { duration: input.Duration })), (input.SpliceEventId != null && { spliceEventId: input.SpliceEventId }));
|
|
8989
8542
|
};
|
|
8990
8543
|
var serializeAws_restJson1Scte35TimeSignalApos = function (input, context) {
|
|
8991
|
-
return __assign(__assign(__assign({}, (input.AdAvailOffset
|
|
8992
|
-
input.NoRegionalBlackoutFlag !== null && { noRegionalBlackoutFlag: input.NoRegionalBlackoutFlag })), (input.WebDeliveryAllowedFlag !== undefined &&
|
|
8993
|
-
input.WebDeliveryAllowedFlag !== null && { webDeliveryAllowedFlag: input.WebDeliveryAllowedFlag }));
|
|
8544
|
+
return __assign(__assign(__assign({}, (input.AdAvailOffset != null && { adAvailOffset: input.AdAvailOffset })), (input.NoRegionalBlackoutFlag != null && { noRegionalBlackoutFlag: input.NoRegionalBlackoutFlag })), (input.WebDeliveryAllowedFlag != null && { webDeliveryAllowedFlag: input.WebDeliveryAllowedFlag }));
|
|
8994
8545
|
};
|
|
8995
8546
|
var serializeAws_restJson1Scte35TimeSignalScheduleActionSettings = function (input, context) {
|
|
8996
|
-
return __assign({}, (input.Scte35Descriptors
|
|
8997
|
-
input.Scte35Descriptors !== null && {
|
|
8547
|
+
return __assign({}, (input.Scte35Descriptors != null && {
|
|
8998
8548
|
scte35Descriptors: serializeAws_restJson1__listOfScte35Descriptor(input.Scte35Descriptors, context),
|
|
8999
8549
|
}));
|
|
9000
8550
|
};
|
|
@@ -9002,30 +8552,26 @@ var serializeAws_restJson1SmpteTtDestinationSettings = function (input, context)
|
|
|
9002
8552
|
return {};
|
|
9003
8553
|
};
|
|
9004
8554
|
var serializeAws_restJson1StandardHlsSettings = function (input, context) {
|
|
9005
|
-
return __assign(__assign({}, (input.AudioRenditionSets
|
|
9006
|
-
|
|
9007
|
-
|
|
8555
|
+
return __assign(__assign({}, (input.AudioRenditionSets != null && { audioRenditionSets: input.AudioRenditionSets })), (input.M3u8Settings != null && {
|
|
8556
|
+
m3u8Settings: serializeAws_restJson1M3u8Settings(input.M3u8Settings, context),
|
|
8557
|
+
}));
|
|
9008
8558
|
};
|
|
9009
8559
|
var serializeAws_restJson1StartTimecode = function (input, context) {
|
|
9010
|
-
return __assign({}, (input.Timecode
|
|
8560
|
+
return __assign({}, (input.Timecode != null && { timecode: input.Timecode }));
|
|
9011
8561
|
};
|
|
9012
8562
|
var serializeAws_restJson1StaticImageActivateScheduleActionSettings = function (input, context) {
|
|
9013
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Duration
|
|
9014
|
-
input.Image !== null && { image: serializeAws_restJson1InputLocation(input.Image, context) })), (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.Width !== undefined && input.Width !== null && { width: input.Width }));
|
|
8563
|
+
return __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.Image != null && { image: serializeAws_restJson1InputLocation(input.Image, context) })), (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.Width != null && { width: input.Width }));
|
|
9015
8564
|
};
|
|
9016
8565
|
var serializeAws_restJson1StaticImageDeactivateScheduleActionSettings = function (input, context) {
|
|
9017
|
-
return __assign(__assign({}, (input.FadeOut
|
|
8566
|
+
return __assign(__assign({}, (input.FadeOut != null && { fadeOut: input.FadeOut })), (input.Layer != null && { layer: input.Layer }));
|
|
9018
8567
|
};
|
|
9019
8568
|
var serializeAws_restJson1StaticKeySettings = function (input, context) {
|
|
9020
|
-
return __assign(__assign({}, (input.KeyProviderServer
|
|
9021
|
-
input.KeyProviderServer !== null && {
|
|
8569
|
+
return __assign(__assign({}, (input.KeyProviderServer != null && {
|
|
9022
8570
|
keyProviderServer: serializeAws_restJson1InputLocation(input.KeyProviderServer, context),
|
|
9023
|
-
})), (input.StaticKeyValue
|
|
9024
|
-
input.StaticKeyValue !== null && { staticKeyValue: input.StaticKeyValue }));
|
|
8571
|
+
})), (input.StaticKeyValue != null && { staticKeyValue: input.StaticKeyValue }));
|
|
9025
8572
|
};
|
|
9026
8573
|
var serializeAws_restJson1StopTimecode = function (input, context) {
|
|
9027
|
-
return __assign(__assign({}, (input.LastFrameClippingBehavior
|
|
9028
|
-
input.LastFrameClippingBehavior !== null && { lastFrameClippingBehavior: input.LastFrameClippingBehavior })), (input.Timecode !== undefined && input.Timecode !== null && { timecode: input.Timecode }));
|
|
8574
|
+
return __assign(__assign({}, (input.LastFrameClippingBehavior != null && { lastFrameClippingBehavior: input.LastFrameClippingBehavior })), (input.Timecode != null && { timecode: input.Timecode }));
|
|
9029
8575
|
};
|
|
9030
8576
|
var serializeAws_restJson1Tags = function (input, context) {
|
|
9031
8577
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -9041,113 +8587,92 @@ var serializeAws_restJson1TeletextDestinationSettings = function (input, context
|
|
|
9041
8587
|
return {};
|
|
9042
8588
|
};
|
|
9043
8589
|
var serializeAws_restJson1TeletextSourceSettings = function (input, context) {
|
|
9044
|
-
return __assign(__assign({}, (input.OutputRectangle
|
|
9045
|
-
input.OutputRectangle !== null && {
|
|
8590
|
+
return __assign(__assign({}, (input.OutputRectangle != null && {
|
|
9046
8591
|
outputRectangle: serializeAws_restJson1CaptionRectangle(input.OutputRectangle, context),
|
|
9047
|
-
})), (input.PageNumber
|
|
8592
|
+
})), (input.PageNumber != null && { pageNumber: input.PageNumber }));
|
|
9048
8593
|
};
|
|
9049
8594
|
var serializeAws_restJson1TemporalFilterSettings = function (input, context) {
|
|
9050
|
-
return __assign(__assign({}, (input.PostFilterSharpening
|
|
9051
|
-
input.PostFilterSharpening !== null && { postFilterSharpening: input.PostFilterSharpening })), (input.Strength !== undefined && input.Strength !== null && { strength: input.Strength }));
|
|
8595
|
+
return __assign(__assign({}, (input.PostFilterSharpening != null && { postFilterSharpening: input.PostFilterSharpening })), (input.Strength != null && { strength: input.Strength }));
|
|
9052
8596
|
};
|
|
9053
8597
|
var serializeAws_restJson1TimecodeConfig = function (input, context) {
|
|
9054
|
-
return __assign(__assign({}, (input.Source
|
|
8598
|
+
return __assign(__assign({}, (input.Source != null && { source: input.Source })), (input.SyncThreshold != null && { syncThreshold: input.SyncThreshold }));
|
|
9055
8599
|
};
|
|
9056
8600
|
var serializeAws_restJson1TtmlDestinationSettings = function (input, context) {
|
|
9057
|
-
return __assign({}, (input.StyleControl
|
|
8601
|
+
return __assign({}, (input.StyleControl != null && { styleControl: input.StyleControl }));
|
|
9058
8602
|
};
|
|
9059
8603
|
var serializeAws_restJson1UdpContainerSettings = function (input, context) {
|
|
9060
|
-
return __assign({}, (input.M2tsSettings
|
|
9061
|
-
|
|
8604
|
+
return __assign({}, (input.M2tsSettings != null && {
|
|
8605
|
+
m2tsSettings: serializeAws_restJson1M2tsSettings(input.M2tsSettings, context),
|
|
8606
|
+
}));
|
|
9062
8607
|
};
|
|
9063
8608
|
var serializeAws_restJson1UdpGroupSettings = function (input, context) {
|
|
9064
|
-
return __assign(__assign(__assign({}, (input.InputLossAction
|
|
9065
|
-
input.InputLossAction !== null && { inputLossAction: input.InputLossAction })), (input.TimedMetadataId3Frame !== undefined &&
|
|
9066
|
-
input.TimedMetadataId3Frame !== null && { timedMetadataId3Frame: input.TimedMetadataId3Frame })), (input.TimedMetadataId3Period !== undefined &&
|
|
9067
|
-
input.TimedMetadataId3Period !== null && { timedMetadataId3Period: input.TimedMetadataId3Period }));
|
|
8609
|
+
return __assign(__assign(__assign({}, (input.InputLossAction != null && { inputLossAction: input.InputLossAction })), (input.TimedMetadataId3Frame != null && { timedMetadataId3Frame: input.TimedMetadataId3Frame })), (input.TimedMetadataId3Period != null && { timedMetadataId3Period: input.TimedMetadataId3Period }));
|
|
9068
8610
|
};
|
|
9069
8611
|
var serializeAws_restJson1UdpOutputSettings = function (input, context) {
|
|
9070
|
-
return __assign(__assign(__assign(__assign({}, (input.BufferMsec
|
|
9071
|
-
input.ContainerSettings !== null && {
|
|
8612
|
+
return __assign(__assign(__assign(__assign({}, (input.BufferMsec != null && { bufferMsec: input.BufferMsec })), (input.ContainerSettings != null && {
|
|
9072
8613
|
containerSettings: serializeAws_restJson1UdpContainerSettings(input.ContainerSettings, context),
|
|
9073
|
-
})), (input.Destination
|
|
9074
|
-
input.Destination !== null && {
|
|
8614
|
+
})), (input.Destination != null && {
|
|
9075
8615
|
destination: serializeAws_restJson1OutputLocationRef(input.Destination, context),
|
|
9076
|
-
})), (input.FecOutputSettings
|
|
9077
|
-
input.FecOutputSettings !== null && {
|
|
8616
|
+
})), (input.FecOutputSettings != null && {
|
|
9078
8617
|
fecOutputSettings: serializeAws_restJson1FecOutputSettings(input.FecOutputSettings, context),
|
|
9079
8618
|
}));
|
|
9080
8619
|
};
|
|
9081
8620
|
var serializeAws_restJson1VideoBlackFailoverSettings = function (input, context) {
|
|
9082
|
-
return __assign(__assign({}, (input.BlackDetectThreshold
|
|
9083
|
-
input.BlackDetectThreshold !== null && { blackDetectThreshold: __serializeFloat(input.BlackDetectThreshold) })), (input.VideoBlackThresholdMsec !== undefined &&
|
|
9084
|
-
input.VideoBlackThresholdMsec !== null && { videoBlackThresholdMsec: input.VideoBlackThresholdMsec }));
|
|
8621
|
+
return __assign(__assign({}, (input.BlackDetectThreshold != null && { blackDetectThreshold: __serializeFloat(input.BlackDetectThreshold) })), (input.VideoBlackThresholdMsec != null && { videoBlackThresholdMsec: input.VideoBlackThresholdMsec }));
|
|
9085
8622
|
};
|
|
9086
8623
|
var serializeAws_restJson1VideoCodecSettings = function (input, context) {
|
|
9087
|
-
return __assign(__assign(__assign(__assign({}, (input.FrameCaptureSettings
|
|
9088
|
-
input.FrameCaptureSettings !== null && {
|
|
8624
|
+
return __assign(__assign(__assign(__assign({}, (input.FrameCaptureSettings != null && {
|
|
9089
8625
|
frameCaptureSettings: serializeAws_restJson1FrameCaptureSettings(input.FrameCaptureSettings, context),
|
|
9090
|
-
})), (input.H264Settings
|
|
9091
|
-
|
|
9092
|
-
|
|
9093
|
-
input.
|
|
8626
|
+
})), (input.H264Settings != null && {
|
|
8627
|
+
h264Settings: serializeAws_restJson1H264Settings(input.H264Settings, context),
|
|
8628
|
+
})), (input.H265Settings != null && {
|
|
8629
|
+
h265Settings: serializeAws_restJson1H265Settings(input.H265Settings, context),
|
|
8630
|
+
})), (input.Mpeg2Settings != null && {
|
|
9094
8631
|
mpeg2Settings: serializeAws_restJson1Mpeg2Settings(input.Mpeg2Settings, context),
|
|
9095
8632
|
}));
|
|
9096
8633
|
};
|
|
9097
8634
|
var serializeAws_restJson1VideoDescription = function (input, context) {
|
|
9098
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CodecSettings
|
|
9099
|
-
input.CodecSettings !== null && {
|
|
8635
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CodecSettings != null && {
|
|
9100
8636
|
codecSettings: serializeAws_restJson1VideoCodecSettings(input.CodecSettings, context),
|
|
9101
|
-
})), (input.Height
|
|
9102
|
-
input.ScalingBehavior !== null && { scalingBehavior: input.ScalingBehavior })), (input.Sharpness !== undefined && input.Sharpness !== null && { sharpness: input.Sharpness })), (input.Width !== undefined && input.Width !== null && { width: input.Width }));
|
|
8637
|
+
})), (input.Height != null && { height: input.Height })), (input.Name != null && { name: input.Name })), (input.RespondToAfd != null && { respondToAfd: input.RespondToAfd })), (input.ScalingBehavior != null && { scalingBehavior: input.ScalingBehavior })), (input.Sharpness != null && { sharpness: input.Sharpness })), (input.Width != null && { width: input.Width }));
|
|
9103
8638
|
};
|
|
9104
8639
|
var serializeAws_restJson1VideoSelector = function (input, context) {
|
|
9105
|
-
return __assign(__assign(__assign(__assign({}, (input.ColorSpace
|
|
9106
|
-
input.ColorSpaceSettings !== null && {
|
|
8640
|
+
return __assign(__assign(__assign(__assign({}, (input.ColorSpace != null && { colorSpace: input.ColorSpace })), (input.ColorSpaceSettings != null && {
|
|
9107
8641
|
colorSpaceSettings: serializeAws_restJson1VideoSelectorColorSpaceSettings(input.ColorSpaceSettings, context),
|
|
9108
|
-
})), (input.ColorSpaceUsage
|
|
9109
|
-
input.ColorSpaceUsage !== null && { colorSpaceUsage: input.ColorSpaceUsage })), (input.SelectorSettings !== undefined &&
|
|
9110
|
-
input.SelectorSettings !== null && {
|
|
8642
|
+
})), (input.ColorSpaceUsage != null && { colorSpaceUsage: input.ColorSpaceUsage })), (input.SelectorSettings != null && {
|
|
9111
8643
|
selectorSettings: serializeAws_restJson1VideoSelectorSettings(input.SelectorSettings, context),
|
|
9112
8644
|
}));
|
|
9113
8645
|
};
|
|
9114
8646
|
var serializeAws_restJson1VideoSelectorColorSpaceSettings = function (input, context) {
|
|
9115
|
-
return __assign({}, (input.Hdr10Settings
|
|
9116
|
-
input.Hdr10Settings !== null && {
|
|
8647
|
+
return __assign({}, (input.Hdr10Settings != null && {
|
|
9117
8648
|
hdr10Settings: serializeAws_restJson1Hdr10Settings(input.Hdr10Settings, context),
|
|
9118
8649
|
}));
|
|
9119
8650
|
};
|
|
9120
8651
|
var serializeAws_restJson1VideoSelectorPid = function (input, context) {
|
|
9121
|
-
return __assign({}, (input.Pid
|
|
8652
|
+
return __assign({}, (input.Pid != null && { pid: input.Pid }));
|
|
9122
8653
|
};
|
|
9123
8654
|
var serializeAws_restJson1VideoSelectorProgramId = function (input, context) {
|
|
9124
|
-
return __assign({}, (input.ProgramId
|
|
8655
|
+
return __assign({}, (input.ProgramId != null && { programId: input.ProgramId }));
|
|
9125
8656
|
};
|
|
9126
8657
|
var serializeAws_restJson1VideoSelectorSettings = function (input, context) {
|
|
9127
|
-
return __assign(__assign({}, (input.VideoSelectorPid
|
|
9128
|
-
input.VideoSelectorPid !== null && {
|
|
8658
|
+
return __assign(__assign({}, (input.VideoSelectorPid != null && {
|
|
9129
8659
|
videoSelectorPid: serializeAws_restJson1VideoSelectorPid(input.VideoSelectorPid, context),
|
|
9130
|
-
})), (input.VideoSelectorProgramId
|
|
9131
|
-
input.VideoSelectorProgramId !== null && {
|
|
8660
|
+
})), (input.VideoSelectorProgramId != null && {
|
|
9132
8661
|
videoSelectorProgramId: serializeAws_restJson1VideoSelectorProgramId(input.VideoSelectorProgramId, context),
|
|
9133
8662
|
}));
|
|
9134
8663
|
};
|
|
9135
8664
|
var serializeAws_restJson1VpcOutputSettings = function (input, context) {
|
|
9136
|
-
return __assign(__assign(__assign({}, (input.PublicAddressAllocationIds
|
|
9137
|
-
input.PublicAddressAllocationIds !== null && {
|
|
8665
|
+
return __assign(__assign(__assign({}, (input.PublicAddressAllocationIds != null && {
|
|
9138
8666
|
publicAddressAllocationIds: serializeAws_restJson1__listOf__string(input.PublicAddressAllocationIds, context),
|
|
9139
|
-
})), (input.SecurityGroupIds
|
|
9140
|
-
input.SecurityGroupIds !== null && {
|
|
8667
|
+
})), (input.SecurityGroupIds != null && {
|
|
9141
8668
|
securityGroupIds: serializeAws_restJson1__listOf__string(input.SecurityGroupIds, context),
|
|
9142
|
-
})), (input.SubnetIds
|
|
9143
|
-
input.SubnetIds !== null && { subnetIds: serializeAws_restJson1__listOf__string(input.SubnetIds, context) }));
|
|
8669
|
+
})), (input.SubnetIds != null && { subnetIds: serializeAws_restJson1__listOf__string(input.SubnetIds, context) }));
|
|
9144
8670
|
};
|
|
9145
8671
|
var serializeAws_restJson1WavSettings = function (input, context) {
|
|
9146
|
-
return __assign(__assign(__assign({}, (input.BitDepth
|
|
9147
|
-
input.SampleRate !== null && { sampleRate: __serializeFloat(input.SampleRate) }));
|
|
8672
|
+
return __assign(__assign(__assign({}, (input.BitDepth != null && { bitDepth: __serializeFloat(input.BitDepth) })), (input.CodingMode != null && { codingMode: input.CodingMode })), (input.SampleRate != null && { sampleRate: __serializeFloat(input.SampleRate) }));
|
|
9148
8673
|
};
|
|
9149
8674
|
var serializeAws_restJson1WebvttDestinationSettings = function (input, context) {
|
|
9150
|
-
return __assign({}, (input.StyleControl
|
|
8675
|
+
return __assign({}, (input.StyleControl != null && { styleControl: input.StyleControl }));
|
|
9151
8676
|
};
|
|
9152
8677
|
var deserializeAws_restJson1__listOf__integer = function (output, context) {
|
|
9153
8678
|
var retVal = (output || [])
|
|
@@ -9664,35 +9189,29 @@ var deserializeAws_restJson1AncillarySourceSettings = function (output, context)
|
|
|
9664
9189
|
};
|
|
9665
9190
|
var deserializeAws_restJson1ArchiveCdnSettings = function (output, context) {
|
|
9666
9191
|
return {
|
|
9667
|
-
ArchiveS3Settings: output.archiveS3Settings
|
|
9192
|
+
ArchiveS3Settings: output.archiveS3Settings != null
|
|
9668
9193
|
? deserializeAws_restJson1ArchiveS3Settings(output.archiveS3Settings, context)
|
|
9669
9194
|
: undefined,
|
|
9670
9195
|
};
|
|
9671
9196
|
};
|
|
9672
9197
|
var deserializeAws_restJson1ArchiveContainerSettings = function (output, context) {
|
|
9673
9198
|
return {
|
|
9674
|
-
M2tsSettings: output.m2tsSettings
|
|
9675
|
-
|
|
9676
|
-
: undefined,
|
|
9677
|
-
RawSettings: output.rawSettings !== undefined && output.rawSettings !== null
|
|
9678
|
-
? deserializeAws_restJson1RawSettings(output.rawSettings, context)
|
|
9679
|
-
: undefined,
|
|
9199
|
+
M2tsSettings: output.m2tsSettings != null ? deserializeAws_restJson1M2tsSettings(output.m2tsSettings, context) : undefined,
|
|
9200
|
+
RawSettings: output.rawSettings != null ? deserializeAws_restJson1RawSettings(output.rawSettings, context) : undefined,
|
|
9680
9201
|
};
|
|
9681
9202
|
};
|
|
9682
9203
|
var deserializeAws_restJson1ArchiveGroupSettings = function (output, context) {
|
|
9683
9204
|
return {
|
|
9684
|
-
ArchiveCdnSettings: output.archiveCdnSettings
|
|
9205
|
+
ArchiveCdnSettings: output.archiveCdnSettings != null
|
|
9685
9206
|
? deserializeAws_restJson1ArchiveCdnSettings(output.archiveCdnSettings, context)
|
|
9686
9207
|
: undefined,
|
|
9687
|
-
Destination: output.destination
|
|
9688
|
-
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
9689
|
-
: undefined,
|
|
9208
|
+
Destination: output.destination != null ? deserializeAws_restJson1OutputLocationRef(output.destination, context) : undefined,
|
|
9690
9209
|
RolloverInterval: __expectInt32(output.rolloverInterval),
|
|
9691
9210
|
};
|
|
9692
9211
|
};
|
|
9693
9212
|
var deserializeAws_restJson1ArchiveOutputSettings = function (output, context) {
|
|
9694
9213
|
return {
|
|
9695
|
-
ContainerSettings: output.containerSettings
|
|
9214
|
+
ContainerSettings: output.containerSettings != null
|
|
9696
9215
|
? deserializeAws_restJson1ArchiveContainerSettings(output.containerSettings, context)
|
|
9697
9216
|
: undefined,
|
|
9698
9217
|
Extension: __expectString(output.extension),
|
|
@@ -9712,7 +9231,7 @@ var deserializeAws_restJson1AribSourceSettings = function (output, context) {
|
|
|
9712
9231
|
};
|
|
9713
9232
|
var deserializeAws_restJson1AudioChannelMapping = function (output, context) {
|
|
9714
9233
|
return {
|
|
9715
|
-
InputChannelLevels: output.inputChannelLevels
|
|
9234
|
+
InputChannelLevels: output.inputChannelLevels != null
|
|
9716
9235
|
? deserializeAws_restJson1__listOfInputChannelLevel(output.inputChannelLevels, context)
|
|
9717
9236
|
: undefined,
|
|
9718
9237
|
OutputChannel: __expectInt32(output.outputChannel),
|
|
@@ -9720,46 +9239,34 @@ var deserializeAws_restJson1AudioChannelMapping = function (output, context) {
|
|
|
9720
9239
|
};
|
|
9721
9240
|
var deserializeAws_restJson1AudioCodecSettings = function (output, context) {
|
|
9722
9241
|
return {
|
|
9723
|
-
AacSettings: output.aacSettings
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
: undefined,
|
|
9729
|
-
Eac3Settings: output.eac3Settings !== undefined && output.eac3Settings !== null
|
|
9730
|
-
? deserializeAws_restJson1Eac3Settings(output.eac3Settings, context)
|
|
9731
|
-
: undefined,
|
|
9732
|
-
Mp2Settings: output.mp2Settings !== undefined && output.mp2Settings !== null
|
|
9733
|
-
? deserializeAws_restJson1Mp2Settings(output.mp2Settings, context)
|
|
9734
|
-
: undefined,
|
|
9735
|
-
PassThroughSettings: output.passThroughSettings !== undefined && output.passThroughSettings !== null
|
|
9242
|
+
AacSettings: output.aacSettings != null ? deserializeAws_restJson1AacSettings(output.aacSettings, context) : undefined,
|
|
9243
|
+
Ac3Settings: output.ac3Settings != null ? deserializeAws_restJson1Ac3Settings(output.ac3Settings, context) : undefined,
|
|
9244
|
+
Eac3Settings: output.eac3Settings != null ? deserializeAws_restJson1Eac3Settings(output.eac3Settings, context) : undefined,
|
|
9245
|
+
Mp2Settings: output.mp2Settings != null ? deserializeAws_restJson1Mp2Settings(output.mp2Settings, context) : undefined,
|
|
9246
|
+
PassThroughSettings: output.passThroughSettings != null
|
|
9736
9247
|
? deserializeAws_restJson1PassThroughSettings(output.passThroughSettings, context)
|
|
9737
9248
|
: undefined,
|
|
9738
|
-
WavSettings: output.wavSettings
|
|
9739
|
-
? deserializeAws_restJson1WavSettings(output.wavSettings, context)
|
|
9740
|
-
: undefined,
|
|
9249
|
+
WavSettings: output.wavSettings != null ? deserializeAws_restJson1WavSettings(output.wavSettings, context) : undefined,
|
|
9741
9250
|
};
|
|
9742
9251
|
};
|
|
9743
9252
|
var deserializeAws_restJson1AudioDescription = function (output, context) {
|
|
9744
9253
|
return {
|
|
9745
|
-
AudioNormalizationSettings: output.audioNormalizationSettings
|
|
9254
|
+
AudioNormalizationSettings: output.audioNormalizationSettings != null
|
|
9746
9255
|
? deserializeAws_restJson1AudioNormalizationSettings(output.audioNormalizationSettings, context)
|
|
9747
9256
|
: undefined,
|
|
9748
9257
|
AudioSelectorName: __expectString(output.audioSelectorName),
|
|
9749
9258
|
AudioType: __expectString(output.audioType),
|
|
9750
9259
|
AudioTypeControl: __expectString(output.audioTypeControl),
|
|
9751
|
-
AudioWatermarkingSettings: output.audioWatermarkingSettings
|
|
9260
|
+
AudioWatermarkingSettings: output.audioWatermarkingSettings != null
|
|
9752
9261
|
? deserializeAws_restJson1AudioWatermarkSettings(output.audioWatermarkingSettings, context)
|
|
9753
9262
|
: undefined,
|
|
9754
|
-
CodecSettings: output.codecSettings
|
|
9263
|
+
CodecSettings: output.codecSettings != null
|
|
9755
9264
|
? deserializeAws_restJson1AudioCodecSettings(output.codecSettings, context)
|
|
9756
9265
|
: undefined,
|
|
9757
9266
|
LanguageCode: __expectString(output.languageCode),
|
|
9758
9267
|
LanguageCodeControl: __expectString(output.languageCodeControl),
|
|
9759
9268
|
Name: __expectString(output.name),
|
|
9760
|
-
RemixSettings: output.remixSettings
|
|
9761
|
-
? deserializeAws_restJson1RemixSettings(output.remixSettings, context)
|
|
9762
|
-
: undefined,
|
|
9269
|
+
RemixSettings: output.remixSettings != null ? deserializeAws_restJson1RemixSettings(output.remixSettings, context) : undefined,
|
|
9763
9270
|
StreamName: __expectString(output.streamName),
|
|
9764
9271
|
};
|
|
9765
9272
|
};
|
|
@@ -9785,9 +9292,7 @@ var deserializeAws_restJson1AudioNormalizationSettings = function (output, conte
|
|
|
9785
9292
|
var deserializeAws_restJson1AudioOnlyHlsSettings = function (output, context) {
|
|
9786
9293
|
return {
|
|
9787
9294
|
AudioGroupId: __expectString(output.audioGroupId),
|
|
9788
|
-
AudioOnlyImage: output.audioOnlyImage
|
|
9789
|
-
? deserializeAws_restJson1InputLocation(output.audioOnlyImage, context)
|
|
9790
|
-
: undefined,
|
|
9295
|
+
AudioOnlyImage: output.audioOnlyImage != null ? deserializeAws_restJson1InputLocation(output.audioOnlyImage, context) : undefined,
|
|
9791
9296
|
AudioTrackType: __expectString(output.audioTrackType),
|
|
9792
9297
|
SegmentType: __expectString(output.segmentType),
|
|
9793
9298
|
};
|
|
@@ -9800,23 +9305,23 @@ var deserializeAws_restJson1AudioPidSelection = function (output, context) {
|
|
|
9800
9305
|
var deserializeAws_restJson1AudioSelector = function (output, context) {
|
|
9801
9306
|
return {
|
|
9802
9307
|
Name: __expectString(output.name),
|
|
9803
|
-
SelectorSettings: output.selectorSettings
|
|
9308
|
+
SelectorSettings: output.selectorSettings != null
|
|
9804
9309
|
? deserializeAws_restJson1AudioSelectorSettings(output.selectorSettings, context)
|
|
9805
9310
|
: undefined,
|
|
9806
9311
|
};
|
|
9807
9312
|
};
|
|
9808
9313
|
var deserializeAws_restJson1AudioSelectorSettings = function (output, context) {
|
|
9809
9314
|
return {
|
|
9810
|
-
AudioHlsRenditionSelection: output.audioHlsRenditionSelection
|
|
9315
|
+
AudioHlsRenditionSelection: output.audioHlsRenditionSelection != null
|
|
9811
9316
|
? deserializeAws_restJson1AudioHlsRenditionSelection(output.audioHlsRenditionSelection, context)
|
|
9812
9317
|
: undefined,
|
|
9813
|
-
AudioLanguageSelection: output.audioLanguageSelection
|
|
9318
|
+
AudioLanguageSelection: output.audioLanguageSelection != null
|
|
9814
9319
|
? deserializeAws_restJson1AudioLanguageSelection(output.audioLanguageSelection, context)
|
|
9815
9320
|
: undefined,
|
|
9816
|
-
AudioPidSelection: output.audioPidSelection
|
|
9321
|
+
AudioPidSelection: output.audioPidSelection != null
|
|
9817
9322
|
? deserializeAws_restJson1AudioPidSelection(output.audioPidSelection, context)
|
|
9818
9323
|
: undefined,
|
|
9819
|
-
AudioTrackSelection: output.audioTrackSelection
|
|
9324
|
+
AudioTrackSelection: output.audioTrackSelection != null
|
|
9820
9325
|
? deserializeAws_restJson1AudioTrackSelection(output.audioTrackSelection, context)
|
|
9821
9326
|
: undefined,
|
|
9822
9327
|
};
|
|
@@ -9834,14 +9339,12 @@ var deserializeAws_restJson1AudioTrack = function (output, context) {
|
|
|
9834
9339
|
};
|
|
9835
9340
|
var deserializeAws_restJson1AudioTrackSelection = function (output, context) {
|
|
9836
9341
|
return {
|
|
9837
|
-
Tracks: output.tracks
|
|
9838
|
-
? deserializeAws_restJson1__listOfAudioTrack(output.tracks, context)
|
|
9839
|
-
: undefined,
|
|
9342
|
+
Tracks: output.tracks != null ? deserializeAws_restJson1__listOfAudioTrack(output.tracks, context) : undefined,
|
|
9840
9343
|
};
|
|
9841
9344
|
};
|
|
9842
9345
|
var deserializeAws_restJson1AudioWatermarkSettings = function (output, context) {
|
|
9843
9346
|
return {
|
|
9844
|
-
NielsenWatermarksSettings: output.nielsenWatermarksSettings
|
|
9347
|
+
NielsenWatermarksSettings: output.nielsenWatermarksSettings != null
|
|
9845
9348
|
? deserializeAws_restJson1NielsenWatermarksSettings(output.nielsenWatermarksSettings, context)
|
|
9846
9349
|
: undefined,
|
|
9847
9350
|
};
|
|
@@ -9849,7 +9352,7 @@ var deserializeAws_restJson1AudioWatermarkSettings = function (output, context)
|
|
|
9849
9352
|
var deserializeAws_restJson1AutomaticInputFailoverSettings = function (output, context) {
|
|
9850
9353
|
return {
|
|
9851
9354
|
ErrorClearTimeMsec: __expectInt32(output.errorClearTimeMsec),
|
|
9852
|
-
FailoverConditions: output.failoverConditions
|
|
9355
|
+
FailoverConditions: output.failoverConditions != null
|
|
9853
9356
|
? deserializeAws_restJson1__listOfFailoverCondition(output.failoverConditions, context)
|
|
9854
9357
|
: undefined,
|
|
9855
9358
|
InputPreference: __expectString(output.inputPreference),
|
|
@@ -9858,7 +9361,7 @@ var deserializeAws_restJson1AutomaticInputFailoverSettings = function (output, c
|
|
|
9858
9361
|
};
|
|
9859
9362
|
var deserializeAws_restJson1AvailBlanking = function (output, context) {
|
|
9860
9363
|
return {
|
|
9861
|
-
AvailBlankingImage: output.availBlankingImage
|
|
9364
|
+
AvailBlankingImage: output.availBlankingImage != null
|
|
9862
9365
|
? deserializeAws_restJson1InputLocation(output.availBlankingImage, context)
|
|
9863
9366
|
: undefined,
|
|
9864
9367
|
State: __expectString(output.state),
|
|
@@ -9866,17 +9369,15 @@ var deserializeAws_restJson1AvailBlanking = function (output, context) {
|
|
|
9866
9369
|
};
|
|
9867
9370
|
var deserializeAws_restJson1AvailConfiguration = function (output, context) {
|
|
9868
9371
|
return {
|
|
9869
|
-
AvailSettings: output.availSettings
|
|
9870
|
-
? deserializeAws_restJson1AvailSettings(output.availSettings, context)
|
|
9871
|
-
: undefined,
|
|
9372
|
+
AvailSettings: output.availSettings != null ? deserializeAws_restJson1AvailSettings(output.availSettings, context) : undefined,
|
|
9872
9373
|
};
|
|
9873
9374
|
};
|
|
9874
9375
|
var deserializeAws_restJson1AvailSettings = function (output, context) {
|
|
9875
9376
|
return {
|
|
9876
|
-
Scte35SpliceInsert: output.scte35SpliceInsert
|
|
9377
|
+
Scte35SpliceInsert: output.scte35SpliceInsert != null
|
|
9877
9378
|
? deserializeAws_restJson1Scte35SpliceInsert(output.scte35SpliceInsert, context)
|
|
9878
9379
|
: undefined,
|
|
9879
|
-
Scte35TimeSignalApos: output.scte35TimeSignalApos
|
|
9380
|
+
Scte35TimeSignalApos: output.scte35TimeSignalApos != null
|
|
9880
9381
|
? deserializeAws_restJson1Scte35TimeSignalApos(output.scte35TimeSignalApos, context)
|
|
9881
9382
|
: undefined,
|
|
9882
9383
|
};
|
|
@@ -9891,14 +9392,14 @@ var deserializeAws_restJson1BatchFailedResultModel = function (output, context)
|
|
|
9891
9392
|
};
|
|
9892
9393
|
var deserializeAws_restJson1BatchScheduleActionCreateResult = function (output, context) {
|
|
9893
9394
|
return {
|
|
9894
|
-
ScheduleActions: output.scheduleActions
|
|
9395
|
+
ScheduleActions: output.scheduleActions != null
|
|
9895
9396
|
? deserializeAws_restJson1__listOfScheduleAction(output.scheduleActions, context)
|
|
9896
9397
|
: undefined,
|
|
9897
9398
|
};
|
|
9898
9399
|
};
|
|
9899
9400
|
var deserializeAws_restJson1BatchScheduleActionDeleteResult = function (output, context) {
|
|
9900
9401
|
return {
|
|
9901
|
-
ScheduleActions: output.scheduleActions
|
|
9402
|
+
ScheduleActions: output.scheduleActions != null
|
|
9902
9403
|
? deserializeAws_restJson1__listOfScheduleAction(output.scheduleActions, context)
|
|
9903
9404
|
: undefined,
|
|
9904
9405
|
};
|
|
@@ -9912,11 +9413,11 @@ var deserializeAws_restJson1BatchSuccessfulResultModel = function (output, conte
|
|
|
9912
9413
|
};
|
|
9913
9414
|
var deserializeAws_restJson1BlackoutSlate = function (output, context) {
|
|
9914
9415
|
return {
|
|
9915
|
-
BlackoutSlateImage: output.blackoutSlateImage
|
|
9416
|
+
BlackoutSlateImage: output.blackoutSlateImage != null
|
|
9916
9417
|
? deserializeAws_restJson1InputLocation(output.blackoutSlateImage, context)
|
|
9917
9418
|
: undefined,
|
|
9918
9419
|
NetworkEndBlackout: __expectString(output.networkEndBlackout),
|
|
9919
|
-
NetworkEndBlackoutImage: output.networkEndBlackoutImage
|
|
9420
|
+
NetworkEndBlackoutImage: output.networkEndBlackoutImage != null
|
|
9920
9421
|
? deserializeAws_restJson1InputLocation(output.networkEndBlackoutImage, context)
|
|
9921
9422
|
: undefined,
|
|
9922
9423
|
NetworkId: __expectString(output.networkId),
|
|
@@ -9928,9 +9429,7 @@ var deserializeAws_restJson1BurnInDestinationSettings = function (output, contex
|
|
|
9928
9429
|
Alignment: __expectString(output.alignment),
|
|
9929
9430
|
BackgroundColor: __expectString(output.backgroundColor),
|
|
9930
9431
|
BackgroundOpacity: __expectInt32(output.backgroundOpacity),
|
|
9931
|
-
Font: output.font
|
|
9932
|
-
? deserializeAws_restJson1InputLocation(output.font, context)
|
|
9933
|
-
: undefined,
|
|
9432
|
+
Font: output.font != null ? deserializeAws_restJson1InputLocation(output.font, context) : undefined,
|
|
9934
9433
|
FontColor: __expectString(output.fontColor),
|
|
9935
9434
|
FontOpacity: __expectInt32(output.fontOpacity),
|
|
9936
9435
|
FontResolution: __expectInt32(output.fontResolution),
|
|
@@ -9950,7 +9449,7 @@ var deserializeAws_restJson1CaptionDescription = function (output, context) {
|
|
|
9950
9449
|
return {
|
|
9951
9450
|
Accessibility: __expectString(output.accessibility),
|
|
9952
9451
|
CaptionSelectorName: __expectString(output.captionSelectorName),
|
|
9953
|
-
DestinationSettings: output.destinationSettings
|
|
9452
|
+
DestinationSettings: output.destinationSettings != null
|
|
9954
9453
|
? deserializeAws_restJson1CaptionDestinationSettings(output.destinationSettings, context)
|
|
9955
9454
|
: undefined,
|
|
9956
9455
|
LanguageCode: __expectString(output.languageCode),
|
|
@@ -9960,45 +9459,43 @@ var deserializeAws_restJson1CaptionDescription = function (output, context) {
|
|
|
9960
9459
|
};
|
|
9961
9460
|
var deserializeAws_restJson1CaptionDestinationSettings = function (output, context) {
|
|
9962
9461
|
return {
|
|
9963
|
-
AribDestinationSettings: output.aribDestinationSettings
|
|
9462
|
+
AribDestinationSettings: output.aribDestinationSettings != null
|
|
9964
9463
|
? deserializeAws_restJson1AribDestinationSettings(output.aribDestinationSettings, context)
|
|
9965
9464
|
: undefined,
|
|
9966
|
-
BurnInDestinationSettings: output.burnInDestinationSettings
|
|
9465
|
+
BurnInDestinationSettings: output.burnInDestinationSettings != null
|
|
9967
9466
|
? deserializeAws_restJson1BurnInDestinationSettings(output.burnInDestinationSettings, context)
|
|
9968
9467
|
: undefined,
|
|
9969
|
-
DvbSubDestinationSettings: output.dvbSubDestinationSettings
|
|
9468
|
+
DvbSubDestinationSettings: output.dvbSubDestinationSettings != null
|
|
9970
9469
|
? deserializeAws_restJson1DvbSubDestinationSettings(output.dvbSubDestinationSettings, context)
|
|
9971
9470
|
: undefined,
|
|
9972
|
-
EbuTtDDestinationSettings: output.ebuTtDDestinationSettings
|
|
9471
|
+
EbuTtDDestinationSettings: output.ebuTtDDestinationSettings != null
|
|
9973
9472
|
? deserializeAws_restJson1EbuTtDDestinationSettings(output.ebuTtDDestinationSettings, context)
|
|
9974
9473
|
: undefined,
|
|
9975
|
-
EmbeddedDestinationSettings: output.embeddedDestinationSettings
|
|
9474
|
+
EmbeddedDestinationSettings: output.embeddedDestinationSettings != null
|
|
9976
9475
|
? deserializeAws_restJson1EmbeddedDestinationSettings(output.embeddedDestinationSettings, context)
|
|
9977
9476
|
: undefined,
|
|
9978
|
-
EmbeddedPlusScte20DestinationSettings: output.embeddedPlusScte20DestinationSettings
|
|
9979
|
-
output.embeddedPlusScte20DestinationSettings !== null
|
|
9477
|
+
EmbeddedPlusScte20DestinationSettings: output.embeddedPlusScte20DestinationSettings != null
|
|
9980
9478
|
? deserializeAws_restJson1EmbeddedPlusScte20DestinationSettings(output.embeddedPlusScte20DestinationSettings, context)
|
|
9981
9479
|
: undefined,
|
|
9982
|
-
RtmpCaptionInfoDestinationSettings: output.rtmpCaptionInfoDestinationSettings
|
|
9480
|
+
RtmpCaptionInfoDestinationSettings: output.rtmpCaptionInfoDestinationSettings != null
|
|
9983
9481
|
? deserializeAws_restJson1RtmpCaptionInfoDestinationSettings(output.rtmpCaptionInfoDestinationSettings, context)
|
|
9984
9482
|
: undefined,
|
|
9985
|
-
Scte20PlusEmbeddedDestinationSettings: output.scte20PlusEmbeddedDestinationSettings
|
|
9986
|
-
output.scte20PlusEmbeddedDestinationSettings !== null
|
|
9483
|
+
Scte20PlusEmbeddedDestinationSettings: output.scte20PlusEmbeddedDestinationSettings != null
|
|
9987
9484
|
? deserializeAws_restJson1Scte20PlusEmbeddedDestinationSettings(output.scte20PlusEmbeddedDestinationSettings, context)
|
|
9988
9485
|
: undefined,
|
|
9989
|
-
Scte27DestinationSettings: output.scte27DestinationSettings
|
|
9486
|
+
Scte27DestinationSettings: output.scte27DestinationSettings != null
|
|
9990
9487
|
? deserializeAws_restJson1Scte27DestinationSettings(output.scte27DestinationSettings, context)
|
|
9991
9488
|
: undefined,
|
|
9992
|
-
SmpteTtDestinationSettings: output.smpteTtDestinationSettings
|
|
9489
|
+
SmpteTtDestinationSettings: output.smpteTtDestinationSettings != null
|
|
9993
9490
|
? deserializeAws_restJson1SmpteTtDestinationSettings(output.smpteTtDestinationSettings, context)
|
|
9994
9491
|
: undefined,
|
|
9995
|
-
TeletextDestinationSettings: output.teletextDestinationSettings
|
|
9492
|
+
TeletextDestinationSettings: output.teletextDestinationSettings != null
|
|
9996
9493
|
? deserializeAws_restJson1TeletextDestinationSettings(output.teletextDestinationSettings, context)
|
|
9997
9494
|
: undefined,
|
|
9998
|
-
TtmlDestinationSettings: output.ttmlDestinationSettings
|
|
9495
|
+
TtmlDestinationSettings: output.ttmlDestinationSettings != null
|
|
9999
9496
|
? deserializeAws_restJson1TtmlDestinationSettings(output.ttmlDestinationSettings, context)
|
|
10000
9497
|
: undefined,
|
|
10001
|
-
WebvttDestinationSettings: output.webvttDestinationSettings
|
|
9498
|
+
WebvttDestinationSettings: output.webvttDestinationSettings != null
|
|
10002
9499
|
? deserializeAws_restJson1WebvttDestinationSettings(output.webvttDestinationSettings, context)
|
|
10003
9500
|
: undefined,
|
|
10004
9501
|
};
|
|
@@ -10022,32 +9519,32 @@ var deserializeAws_restJson1CaptionSelector = function (output, context) {
|
|
|
10022
9519
|
return {
|
|
10023
9520
|
LanguageCode: __expectString(output.languageCode),
|
|
10024
9521
|
Name: __expectString(output.name),
|
|
10025
|
-
SelectorSettings: output.selectorSettings
|
|
9522
|
+
SelectorSettings: output.selectorSettings != null
|
|
10026
9523
|
? deserializeAws_restJson1CaptionSelectorSettings(output.selectorSettings, context)
|
|
10027
9524
|
: undefined,
|
|
10028
9525
|
};
|
|
10029
9526
|
};
|
|
10030
9527
|
var deserializeAws_restJson1CaptionSelectorSettings = function (output, context) {
|
|
10031
9528
|
return {
|
|
10032
|
-
AncillarySourceSettings: output.ancillarySourceSettings
|
|
9529
|
+
AncillarySourceSettings: output.ancillarySourceSettings != null
|
|
10033
9530
|
? deserializeAws_restJson1AncillarySourceSettings(output.ancillarySourceSettings, context)
|
|
10034
9531
|
: undefined,
|
|
10035
|
-
AribSourceSettings: output.aribSourceSettings
|
|
9532
|
+
AribSourceSettings: output.aribSourceSettings != null
|
|
10036
9533
|
? deserializeAws_restJson1AribSourceSettings(output.aribSourceSettings, context)
|
|
10037
9534
|
: undefined,
|
|
10038
|
-
DvbSubSourceSettings: output.dvbSubSourceSettings
|
|
9535
|
+
DvbSubSourceSettings: output.dvbSubSourceSettings != null
|
|
10039
9536
|
? deserializeAws_restJson1DvbSubSourceSettings(output.dvbSubSourceSettings, context)
|
|
10040
9537
|
: undefined,
|
|
10041
|
-
EmbeddedSourceSettings: output.embeddedSourceSettings
|
|
9538
|
+
EmbeddedSourceSettings: output.embeddedSourceSettings != null
|
|
10042
9539
|
? deserializeAws_restJson1EmbeddedSourceSettings(output.embeddedSourceSettings, context)
|
|
10043
9540
|
: undefined,
|
|
10044
|
-
Scte20SourceSettings: output.scte20SourceSettings
|
|
9541
|
+
Scte20SourceSettings: output.scte20SourceSettings != null
|
|
10045
9542
|
? deserializeAws_restJson1Scte20SourceSettings(output.scte20SourceSettings, context)
|
|
10046
9543
|
: undefined,
|
|
10047
|
-
Scte27SourceSettings: output.scte27SourceSettings
|
|
9544
|
+
Scte27SourceSettings: output.scte27SourceSettings != null
|
|
10048
9545
|
? deserializeAws_restJson1Scte27SourceSettings(output.scte27SourceSettings, context)
|
|
10049
9546
|
: undefined,
|
|
10050
|
-
TeletextSourceSettings: output.teletextSourceSettings
|
|
9547
|
+
TeletextSourceSettings: output.teletextSourceSettings != null
|
|
10051
9548
|
? deserializeAws_restJson1TeletextSourceSettings(output.teletextSourceSettings, context)
|
|
10052
9549
|
: undefined,
|
|
10053
9550
|
};
|
|
@@ -10060,43 +9557,37 @@ var deserializeAws_restJson1CdiInputSpecification = function (output, context) {
|
|
|
10060
9557
|
var deserializeAws_restJson1Channel = function (output, context) {
|
|
10061
9558
|
return {
|
|
10062
9559
|
Arn: __expectString(output.arn),
|
|
10063
|
-
CdiInputSpecification: output.cdiInputSpecification
|
|
9560
|
+
CdiInputSpecification: output.cdiInputSpecification != null
|
|
10064
9561
|
? deserializeAws_restJson1CdiInputSpecification(output.cdiInputSpecification, context)
|
|
10065
9562
|
: undefined,
|
|
10066
9563
|
ChannelClass: __expectString(output.channelClass),
|
|
10067
|
-
Destinations: output.destinations
|
|
9564
|
+
Destinations: output.destinations != null
|
|
10068
9565
|
? deserializeAws_restJson1__listOfOutputDestination(output.destinations, context)
|
|
10069
9566
|
: undefined,
|
|
10070
|
-
EgressEndpoints: output.egressEndpoints
|
|
9567
|
+
EgressEndpoints: output.egressEndpoints != null
|
|
10071
9568
|
? deserializeAws_restJson1__listOfChannelEgressEndpoint(output.egressEndpoints, context)
|
|
10072
9569
|
: undefined,
|
|
10073
|
-
EncoderSettings: output.encoderSettings
|
|
9570
|
+
EncoderSettings: output.encoderSettings != null
|
|
10074
9571
|
? deserializeAws_restJson1EncoderSettings(output.encoderSettings, context)
|
|
10075
9572
|
: undefined,
|
|
10076
9573
|
Id: __expectString(output.id),
|
|
10077
|
-
InputAttachments: output.inputAttachments
|
|
9574
|
+
InputAttachments: output.inputAttachments != null
|
|
10078
9575
|
? deserializeAws_restJson1__listOfInputAttachment(output.inputAttachments, context)
|
|
10079
9576
|
: undefined,
|
|
10080
|
-
InputSpecification: output.inputSpecification
|
|
9577
|
+
InputSpecification: output.inputSpecification != null
|
|
10081
9578
|
? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
|
|
10082
9579
|
: undefined,
|
|
10083
9580
|
LogLevel: __expectString(output.logLevel),
|
|
10084
|
-
Maintenance: output.maintenance
|
|
10085
|
-
? deserializeAws_restJson1MaintenanceStatus(output.maintenance, context)
|
|
10086
|
-
: undefined,
|
|
9581
|
+
Maintenance: output.maintenance != null ? deserializeAws_restJson1MaintenanceStatus(output.maintenance, context) : undefined,
|
|
10087
9582
|
Name: __expectString(output.name),
|
|
10088
|
-
PipelineDetails: output.pipelineDetails
|
|
9583
|
+
PipelineDetails: output.pipelineDetails != null
|
|
10089
9584
|
? deserializeAws_restJson1__listOfPipelineDetail(output.pipelineDetails, context)
|
|
10090
9585
|
: undefined,
|
|
10091
9586
|
PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
|
|
10092
9587
|
RoleArn: __expectString(output.roleArn),
|
|
10093
9588
|
State: __expectString(output.state),
|
|
10094
|
-
Tags: output.tags
|
|
10095
|
-
|
|
10096
|
-
: undefined,
|
|
10097
|
-
Vpc: output.vpc !== undefined && output.vpc !== null
|
|
10098
|
-
? deserializeAws_restJson1VpcOutputSettingsDescription(output.vpc, context)
|
|
10099
|
-
: undefined,
|
|
9589
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
9590
|
+
Vpc: output.vpc != null ? deserializeAws_restJson1VpcOutputSettingsDescription(output.vpc, context) : undefined,
|
|
10100
9591
|
};
|
|
10101
9592
|
};
|
|
10102
9593
|
var deserializeAws_restJson1ChannelEgressEndpoint = function (output, context) {
|
|
@@ -10107,37 +9598,31 @@ var deserializeAws_restJson1ChannelEgressEndpoint = function (output, context) {
|
|
|
10107
9598
|
var deserializeAws_restJson1ChannelSummary = function (output, context) {
|
|
10108
9599
|
return {
|
|
10109
9600
|
Arn: __expectString(output.arn),
|
|
10110
|
-
CdiInputSpecification: output.cdiInputSpecification
|
|
9601
|
+
CdiInputSpecification: output.cdiInputSpecification != null
|
|
10111
9602
|
? deserializeAws_restJson1CdiInputSpecification(output.cdiInputSpecification, context)
|
|
10112
9603
|
: undefined,
|
|
10113
9604
|
ChannelClass: __expectString(output.channelClass),
|
|
10114
|
-
Destinations: output.destinations
|
|
9605
|
+
Destinations: output.destinations != null
|
|
10115
9606
|
? deserializeAws_restJson1__listOfOutputDestination(output.destinations, context)
|
|
10116
9607
|
: undefined,
|
|
10117
|
-
EgressEndpoints: output.egressEndpoints
|
|
9608
|
+
EgressEndpoints: output.egressEndpoints != null
|
|
10118
9609
|
? deserializeAws_restJson1__listOfChannelEgressEndpoint(output.egressEndpoints, context)
|
|
10119
9610
|
: undefined,
|
|
10120
9611
|
Id: __expectString(output.id),
|
|
10121
|
-
InputAttachments: output.inputAttachments
|
|
9612
|
+
InputAttachments: output.inputAttachments != null
|
|
10122
9613
|
? deserializeAws_restJson1__listOfInputAttachment(output.inputAttachments, context)
|
|
10123
9614
|
: undefined,
|
|
10124
|
-
InputSpecification: output.inputSpecification
|
|
9615
|
+
InputSpecification: output.inputSpecification != null
|
|
10125
9616
|
? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
|
|
10126
9617
|
: undefined,
|
|
10127
9618
|
LogLevel: __expectString(output.logLevel),
|
|
10128
|
-
Maintenance: output.maintenance
|
|
10129
|
-
? deserializeAws_restJson1MaintenanceStatus(output.maintenance, context)
|
|
10130
|
-
: undefined,
|
|
9619
|
+
Maintenance: output.maintenance != null ? deserializeAws_restJson1MaintenanceStatus(output.maintenance, context) : undefined,
|
|
10131
9620
|
Name: __expectString(output.name),
|
|
10132
9621
|
PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
|
|
10133
9622
|
RoleArn: __expectString(output.roleArn),
|
|
10134
9623
|
State: __expectString(output.state),
|
|
10135
|
-
Tags: output.tags
|
|
10136
|
-
|
|
10137
|
-
: undefined,
|
|
10138
|
-
Vpc: output.vpc !== undefined && output.vpc !== null
|
|
10139
|
-
? deserializeAws_restJson1VpcOutputSettingsDescription(output.vpc, context)
|
|
10140
|
-
: undefined,
|
|
9624
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
9625
|
+
Vpc: output.vpc != null ? deserializeAws_restJson1VpcOutputSettingsDescription(output.vpc, context) : undefined,
|
|
10141
9626
|
};
|
|
10142
9627
|
};
|
|
10143
9628
|
var deserializeAws_restJson1ColorSpacePassthroughSettings = function (output, context) {
|
|
@@ -10163,9 +9648,7 @@ var deserializeAws_restJson1DvbSubDestinationSettings = function (output, contex
|
|
|
10163
9648
|
Alignment: __expectString(output.alignment),
|
|
10164
9649
|
BackgroundColor: __expectString(output.backgroundColor),
|
|
10165
9650
|
BackgroundOpacity: __expectInt32(output.backgroundOpacity),
|
|
10166
|
-
Font: output.font
|
|
10167
|
-
? deserializeAws_restJson1InputLocation(output.font, context)
|
|
10168
|
-
: undefined,
|
|
9651
|
+
Font: output.font != null ? deserializeAws_restJson1InputLocation(output.font, context) : undefined,
|
|
10169
9652
|
FontColor: __expectString(output.fontColor),
|
|
10170
9653
|
FontOpacity: __expectInt32(output.fontOpacity),
|
|
10171
9654
|
FontResolution: __expectInt32(output.fontResolution),
|
|
@@ -10240,60 +9723,56 @@ var deserializeAws_restJson1EmbeddedSourceSettings = function (output, context)
|
|
|
10240
9723
|
};
|
|
10241
9724
|
var deserializeAws_restJson1EncoderSettings = function (output, context) {
|
|
10242
9725
|
return {
|
|
10243
|
-
AudioDescriptions: output.audioDescriptions
|
|
9726
|
+
AudioDescriptions: output.audioDescriptions != null
|
|
10244
9727
|
? deserializeAws_restJson1__listOfAudioDescription(output.audioDescriptions, context)
|
|
10245
9728
|
: undefined,
|
|
10246
|
-
AvailBlanking: output.availBlanking
|
|
10247
|
-
|
|
10248
|
-
: undefined,
|
|
10249
|
-
AvailConfiguration: output.availConfiguration !== undefined && output.availConfiguration !== null
|
|
9729
|
+
AvailBlanking: output.availBlanking != null ? deserializeAws_restJson1AvailBlanking(output.availBlanking, context) : undefined,
|
|
9730
|
+
AvailConfiguration: output.availConfiguration != null
|
|
10250
9731
|
? deserializeAws_restJson1AvailConfiguration(output.availConfiguration, context)
|
|
10251
9732
|
: undefined,
|
|
10252
|
-
BlackoutSlate: output.blackoutSlate
|
|
10253
|
-
|
|
10254
|
-
: undefined,
|
|
10255
|
-
CaptionDescriptions: output.captionDescriptions !== undefined && output.captionDescriptions !== null
|
|
9733
|
+
BlackoutSlate: output.blackoutSlate != null ? deserializeAws_restJson1BlackoutSlate(output.blackoutSlate, context) : undefined,
|
|
9734
|
+
CaptionDescriptions: output.captionDescriptions != null
|
|
10256
9735
|
? deserializeAws_restJson1__listOfCaptionDescription(output.captionDescriptions, context)
|
|
10257
9736
|
: undefined,
|
|
10258
|
-
FeatureActivations: output.featureActivations
|
|
9737
|
+
FeatureActivations: output.featureActivations != null
|
|
10259
9738
|
? deserializeAws_restJson1FeatureActivations(output.featureActivations, context)
|
|
10260
9739
|
: undefined,
|
|
10261
|
-
GlobalConfiguration: output.globalConfiguration
|
|
9740
|
+
GlobalConfiguration: output.globalConfiguration != null
|
|
10262
9741
|
? deserializeAws_restJson1GlobalConfiguration(output.globalConfiguration, context)
|
|
10263
9742
|
: undefined,
|
|
10264
|
-
MotionGraphicsConfiguration: output.motionGraphicsConfiguration
|
|
9743
|
+
MotionGraphicsConfiguration: output.motionGraphicsConfiguration != null
|
|
10265
9744
|
? deserializeAws_restJson1MotionGraphicsConfiguration(output.motionGraphicsConfiguration, context)
|
|
10266
9745
|
: undefined,
|
|
10267
|
-
NielsenConfiguration: output.nielsenConfiguration
|
|
9746
|
+
NielsenConfiguration: output.nielsenConfiguration != null
|
|
10268
9747
|
? deserializeAws_restJson1NielsenConfiguration(output.nielsenConfiguration, context)
|
|
10269
9748
|
: undefined,
|
|
10270
|
-
OutputGroups: output.outputGroups
|
|
9749
|
+
OutputGroups: output.outputGroups != null
|
|
10271
9750
|
? deserializeAws_restJson1__listOfOutputGroup(output.outputGroups, context)
|
|
10272
9751
|
: undefined,
|
|
10273
|
-
TimecodeConfig: output.timecodeConfig
|
|
9752
|
+
TimecodeConfig: output.timecodeConfig != null
|
|
10274
9753
|
? deserializeAws_restJson1TimecodeConfig(output.timecodeConfig, context)
|
|
10275
9754
|
: undefined,
|
|
10276
|
-
VideoDescriptions: output.videoDescriptions
|
|
9755
|
+
VideoDescriptions: output.videoDescriptions != null
|
|
10277
9756
|
? deserializeAws_restJson1__listOfVideoDescription(output.videoDescriptions, context)
|
|
10278
9757
|
: undefined,
|
|
10279
9758
|
};
|
|
10280
9759
|
};
|
|
10281
9760
|
var deserializeAws_restJson1FailoverCondition = function (output, context) {
|
|
10282
9761
|
return {
|
|
10283
|
-
FailoverConditionSettings: output.failoverConditionSettings
|
|
9762
|
+
FailoverConditionSettings: output.failoverConditionSettings != null
|
|
10284
9763
|
? deserializeAws_restJson1FailoverConditionSettings(output.failoverConditionSettings, context)
|
|
10285
9764
|
: undefined,
|
|
10286
9765
|
};
|
|
10287
9766
|
};
|
|
10288
9767
|
var deserializeAws_restJson1FailoverConditionSettings = function (output, context) {
|
|
10289
9768
|
return {
|
|
10290
|
-
AudioSilenceSettings: output.audioSilenceSettings
|
|
9769
|
+
AudioSilenceSettings: output.audioSilenceSettings != null
|
|
10291
9770
|
? deserializeAws_restJson1AudioSilenceFailoverSettings(output.audioSilenceSettings, context)
|
|
10292
9771
|
: undefined,
|
|
10293
|
-
InputLossSettings: output.inputLossSettings
|
|
9772
|
+
InputLossSettings: output.inputLossSettings != null
|
|
10294
9773
|
? deserializeAws_restJson1InputLossFailoverSettings(output.inputLossSettings, context)
|
|
10295
9774
|
: undefined,
|
|
10296
|
-
VideoBlackSettings: output.videoBlackSettings
|
|
9775
|
+
VideoBlackSettings: output.videoBlackSettings != null
|
|
10297
9776
|
? deserializeAws_restJson1VideoBlackFailoverSettings(output.videoBlackSettings, context)
|
|
10298
9777
|
: undefined,
|
|
10299
9778
|
};
|
|
@@ -10330,17 +9809,15 @@ var deserializeAws_restJson1FollowModeScheduleActionStartSettings = function (ou
|
|
|
10330
9809
|
};
|
|
10331
9810
|
var deserializeAws_restJson1FrameCaptureCdnSettings = function (output, context) {
|
|
10332
9811
|
return {
|
|
10333
|
-
FrameCaptureS3Settings: output.frameCaptureS3Settings
|
|
9812
|
+
FrameCaptureS3Settings: output.frameCaptureS3Settings != null
|
|
10334
9813
|
? deserializeAws_restJson1FrameCaptureS3Settings(output.frameCaptureS3Settings, context)
|
|
10335
9814
|
: undefined,
|
|
10336
9815
|
};
|
|
10337
9816
|
};
|
|
10338
9817
|
var deserializeAws_restJson1FrameCaptureGroupSettings = function (output, context) {
|
|
10339
9818
|
return {
|
|
10340
|
-
Destination: output.destination
|
|
10341
|
-
|
|
10342
|
-
: undefined,
|
|
10343
|
-
FrameCaptureCdnSettings: output.frameCaptureCdnSettings !== undefined && output.frameCaptureCdnSettings !== null
|
|
9819
|
+
Destination: output.destination != null ? deserializeAws_restJson1OutputLocationRef(output.destination, context) : undefined,
|
|
9820
|
+
FrameCaptureCdnSettings: output.frameCaptureCdnSettings != null
|
|
10344
9821
|
? deserializeAws_restJson1FrameCaptureCdnSettings(output.frameCaptureCdnSettings, context)
|
|
10345
9822
|
: undefined,
|
|
10346
9823
|
};
|
|
@@ -10368,7 +9845,7 @@ var deserializeAws_restJson1GlobalConfiguration = function (output, context) {
|
|
|
10368
9845
|
return {
|
|
10369
9846
|
InitialAudioGain: __expectInt32(output.initialAudioGain),
|
|
10370
9847
|
InputEndAction: __expectString(output.inputEndAction),
|
|
10371
|
-
InputLossBehavior: output.inputLossBehavior
|
|
9848
|
+
InputLossBehavior: output.inputLossBehavior != null
|
|
10372
9849
|
? deserializeAws_restJson1InputLossBehavior(output.inputLossBehavior, context)
|
|
10373
9850
|
: undefined,
|
|
10374
9851
|
OutputLockingMode: __expectString(output.outputLockingMode),
|
|
@@ -10378,20 +9855,20 @@ var deserializeAws_restJson1GlobalConfiguration = function (output, context) {
|
|
|
10378
9855
|
};
|
|
10379
9856
|
var deserializeAws_restJson1H264ColorSpaceSettings = function (output, context) {
|
|
10380
9857
|
return {
|
|
10381
|
-
ColorSpacePassthroughSettings: output.colorSpacePassthroughSettings
|
|
9858
|
+
ColorSpacePassthroughSettings: output.colorSpacePassthroughSettings != null
|
|
10382
9859
|
? deserializeAws_restJson1ColorSpacePassthroughSettings(output.colorSpacePassthroughSettings, context)
|
|
10383
9860
|
: undefined,
|
|
10384
|
-
Rec601Settings: output.rec601Settings
|
|
9861
|
+
Rec601Settings: output.rec601Settings != null
|
|
10385
9862
|
? deserializeAws_restJson1Rec601Settings(output.rec601Settings, context)
|
|
10386
9863
|
: undefined,
|
|
10387
|
-
Rec709Settings: output.rec709Settings
|
|
9864
|
+
Rec709Settings: output.rec709Settings != null
|
|
10388
9865
|
? deserializeAws_restJson1Rec709Settings(output.rec709Settings, context)
|
|
10389
9866
|
: undefined,
|
|
10390
9867
|
};
|
|
10391
9868
|
};
|
|
10392
9869
|
var deserializeAws_restJson1H264FilterSettings = function (output, context) {
|
|
10393
9870
|
return {
|
|
10394
|
-
TemporalFilterSettings: output.temporalFilterSettings
|
|
9871
|
+
TemporalFilterSettings: output.temporalFilterSettings != null
|
|
10395
9872
|
? deserializeAws_restJson1TemporalFilterSettings(output.temporalFilterSettings, context)
|
|
10396
9873
|
: undefined,
|
|
10397
9874
|
};
|
|
@@ -10404,11 +9881,11 @@ var deserializeAws_restJson1H264Settings = function (output, context) {
|
|
|
10404
9881
|
BufFillPct: __expectInt32(output.bufFillPct),
|
|
10405
9882
|
BufSize: __expectInt32(output.bufSize),
|
|
10406
9883
|
ColorMetadata: __expectString(output.colorMetadata),
|
|
10407
|
-
ColorSpaceSettings: output.colorSpaceSettings
|
|
9884
|
+
ColorSpaceSettings: output.colorSpaceSettings != null
|
|
10408
9885
|
? deserializeAws_restJson1H264ColorSpaceSettings(output.colorSpaceSettings, context)
|
|
10409
9886
|
: undefined,
|
|
10410
9887
|
EntropyEncoding: __expectString(output.entropyEncoding),
|
|
10411
|
-
FilterSettings: output.filterSettings
|
|
9888
|
+
FilterSettings: output.filterSettings != null
|
|
10412
9889
|
? deserializeAws_restJson1H264FilterSettings(output.filterSettings, context)
|
|
10413
9890
|
: undefined,
|
|
10414
9891
|
FixedAfd: __expectString(output.fixedAfd),
|
|
@@ -10447,23 +9924,21 @@ var deserializeAws_restJson1H264Settings = function (output, context) {
|
|
|
10447
9924
|
};
|
|
10448
9925
|
var deserializeAws_restJson1H265ColorSpaceSettings = function (output, context) {
|
|
10449
9926
|
return {
|
|
10450
|
-
ColorSpacePassthroughSettings: output.colorSpacePassthroughSettings
|
|
9927
|
+
ColorSpacePassthroughSettings: output.colorSpacePassthroughSettings != null
|
|
10451
9928
|
? deserializeAws_restJson1ColorSpacePassthroughSettings(output.colorSpacePassthroughSettings, context)
|
|
10452
9929
|
: undefined,
|
|
10453
|
-
Hdr10Settings: output.hdr10Settings
|
|
10454
|
-
|
|
10455
|
-
: undefined,
|
|
10456
|
-
Rec601Settings: output.rec601Settings !== undefined && output.rec601Settings !== null
|
|
9930
|
+
Hdr10Settings: output.hdr10Settings != null ? deserializeAws_restJson1Hdr10Settings(output.hdr10Settings, context) : undefined,
|
|
9931
|
+
Rec601Settings: output.rec601Settings != null
|
|
10457
9932
|
? deserializeAws_restJson1Rec601Settings(output.rec601Settings, context)
|
|
10458
9933
|
: undefined,
|
|
10459
|
-
Rec709Settings: output.rec709Settings
|
|
9934
|
+
Rec709Settings: output.rec709Settings != null
|
|
10460
9935
|
? deserializeAws_restJson1Rec709Settings(output.rec709Settings, context)
|
|
10461
9936
|
: undefined,
|
|
10462
9937
|
};
|
|
10463
9938
|
};
|
|
10464
9939
|
var deserializeAws_restJson1H265FilterSettings = function (output, context) {
|
|
10465
9940
|
return {
|
|
10466
|
-
TemporalFilterSettings: output.temporalFilterSettings
|
|
9941
|
+
TemporalFilterSettings: output.temporalFilterSettings != null
|
|
10467
9942
|
? deserializeAws_restJson1TemporalFilterSettings(output.temporalFilterSettings, context)
|
|
10468
9943
|
: undefined,
|
|
10469
9944
|
};
|
|
@@ -10476,10 +9951,10 @@ var deserializeAws_restJson1H265Settings = function (output, context) {
|
|
|
10476
9951
|
Bitrate: __expectInt32(output.bitrate),
|
|
10477
9952
|
BufSize: __expectInt32(output.bufSize),
|
|
10478
9953
|
ColorMetadata: __expectString(output.colorMetadata),
|
|
10479
|
-
ColorSpaceSettings: output.colorSpaceSettings
|
|
9954
|
+
ColorSpaceSettings: output.colorSpaceSettings != null
|
|
10480
9955
|
? deserializeAws_restJson1H265ColorSpaceSettings(output.colorSpaceSettings, context)
|
|
10481
9956
|
: undefined,
|
|
10482
|
-
FilterSettings: output.filterSettings
|
|
9957
|
+
FilterSettings: output.filterSettings != null
|
|
10483
9958
|
? deserializeAws_restJson1H265FilterSettings(output.filterSettings, context)
|
|
10484
9959
|
: undefined,
|
|
10485
9960
|
FixedAfd: __expectString(output.fixedAfd),
|
|
@@ -10532,46 +10007,40 @@ var deserializeAws_restJson1HlsBasicPutSettings = function (output, context) {
|
|
|
10532
10007
|
};
|
|
10533
10008
|
var deserializeAws_restJson1HlsCdnSettings = function (output, context) {
|
|
10534
10009
|
return {
|
|
10535
|
-
HlsAkamaiSettings: output.hlsAkamaiSettings
|
|
10010
|
+
HlsAkamaiSettings: output.hlsAkamaiSettings != null
|
|
10536
10011
|
? deserializeAws_restJson1HlsAkamaiSettings(output.hlsAkamaiSettings, context)
|
|
10537
10012
|
: undefined,
|
|
10538
|
-
HlsBasicPutSettings: output.hlsBasicPutSettings
|
|
10013
|
+
HlsBasicPutSettings: output.hlsBasicPutSettings != null
|
|
10539
10014
|
? deserializeAws_restJson1HlsBasicPutSettings(output.hlsBasicPutSettings, context)
|
|
10540
10015
|
: undefined,
|
|
10541
|
-
HlsMediaStoreSettings: output.hlsMediaStoreSettings
|
|
10016
|
+
HlsMediaStoreSettings: output.hlsMediaStoreSettings != null
|
|
10542
10017
|
? deserializeAws_restJson1HlsMediaStoreSettings(output.hlsMediaStoreSettings, context)
|
|
10543
10018
|
: undefined,
|
|
10544
|
-
HlsS3Settings: output.hlsS3Settings
|
|
10545
|
-
|
|
10546
|
-
: undefined,
|
|
10547
|
-
HlsWebdavSettings: output.hlsWebdavSettings !== undefined && output.hlsWebdavSettings !== null
|
|
10019
|
+
HlsS3Settings: output.hlsS3Settings != null ? deserializeAws_restJson1HlsS3Settings(output.hlsS3Settings, context) : undefined,
|
|
10020
|
+
HlsWebdavSettings: output.hlsWebdavSettings != null
|
|
10548
10021
|
? deserializeAws_restJson1HlsWebdavSettings(output.hlsWebdavSettings, context)
|
|
10549
10022
|
: undefined,
|
|
10550
10023
|
};
|
|
10551
10024
|
};
|
|
10552
10025
|
var deserializeAws_restJson1HlsGroupSettings = function (output, context) {
|
|
10553
10026
|
return {
|
|
10554
|
-
AdMarkers: output.adMarkers
|
|
10555
|
-
? deserializeAws_restJson1__listOfHlsAdMarkers(output.adMarkers, context)
|
|
10556
|
-
: undefined,
|
|
10027
|
+
AdMarkers: output.adMarkers != null ? deserializeAws_restJson1__listOfHlsAdMarkers(output.adMarkers, context) : undefined,
|
|
10557
10028
|
BaseUrlContent: __expectString(output.baseUrlContent),
|
|
10558
10029
|
BaseUrlContent1: __expectString(output.baseUrlContent1),
|
|
10559
10030
|
BaseUrlManifest: __expectString(output.baseUrlManifest),
|
|
10560
10031
|
BaseUrlManifest1: __expectString(output.baseUrlManifest1),
|
|
10561
|
-
CaptionLanguageMappings: output.captionLanguageMappings
|
|
10032
|
+
CaptionLanguageMappings: output.captionLanguageMappings != null
|
|
10562
10033
|
? deserializeAws_restJson1__listOfCaptionLanguageMapping(output.captionLanguageMappings, context)
|
|
10563
10034
|
: undefined,
|
|
10564
10035
|
CaptionLanguageSetting: __expectString(output.captionLanguageSetting),
|
|
10565
10036
|
ClientCache: __expectString(output.clientCache),
|
|
10566
10037
|
CodecSpecification: __expectString(output.codecSpecification),
|
|
10567
10038
|
ConstantIv: __expectString(output.constantIv),
|
|
10568
|
-
Destination: output.destination
|
|
10569
|
-
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
10570
|
-
: undefined,
|
|
10039
|
+
Destination: output.destination != null ? deserializeAws_restJson1OutputLocationRef(output.destination, context) : undefined,
|
|
10571
10040
|
DirectoryStructure: __expectString(output.directoryStructure),
|
|
10572
10041
|
DiscontinuityTags: __expectString(output.discontinuityTags),
|
|
10573
10042
|
EncryptionType: __expectString(output.encryptionType),
|
|
10574
|
-
HlsCdnSettings: output.hlsCdnSettings
|
|
10043
|
+
HlsCdnSettings: output.hlsCdnSettings != null
|
|
10575
10044
|
? deserializeAws_restJson1HlsCdnSettings(output.hlsCdnSettings, context)
|
|
10576
10045
|
: undefined,
|
|
10577
10046
|
HlsId3SegmentTagging: __expectString(output.hlsId3SegmentTagging),
|
|
@@ -10584,7 +10053,7 @@ var deserializeAws_restJson1HlsGroupSettings = function (output, context) {
|
|
|
10584
10053
|
KeepSegments: __expectInt32(output.keepSegments),
|
|
10585
10054
|
KeyFormat: __expectString(output.keyFormat),
|
|
10586
10055
|
KeyFormatVersions: __expectString(output.keyFormatVersions),
|
|
10587
|
-
KeyProviderSettings: output.keyProviderSettings
|
|
10056
|
+
KeyProviderSettings: output.keyProviderSettings != null
|
|
10588
10057
|
? deserializeAws_restJson1KeyProviderSettings(output.keyProviderSettings, context)
|
|
10589
10058
|
: undefined,
|
|
10590
10059
|
ManifestCompression: __expectString(output.manifestCompression),
|
|
@@ -10632,9 +10101,7 @@ var deserializeAws_restJson1HlsMediaStoreSettings = function (output, context) {
|
|
|
10632
10101
|
var deserializeAws_restJson1HlsOutputSettings = function (output, context) {
|
|
10633
10102
|
return {
|
|
10634
10103
|
H265PackagingType: __expectString(output.h265PackagingType),
|
|
10635
|
-
HlsSettings: output.hlsSettings
|
|
10636
|
-
? deserializeAws_restJson1HlsSettings(output.hlsSettings, context)
|
|
10637
|
-
: undefined,
|
|
10104
|
+
HlsSettings: output.hlsSettings != null ? deserializeAws_restJson1HlsSettings(output.hlsSettings, context) : undefined,
|
|
10638
10105
|
NameModifier: __expectString(output.nameModifier),
|
|
10639
10106
|
SegmentModifier: __expectString(output.segmentModifier),
|
|
10640
10107
|
};
|
|
@@ -10646,16 +10113,16 @@ var deserializeAws_restJson1HlsS3Settings = function (output, context) {
|
|
|
10646
10113
|
};
|
|
10647
10114
|
var deserializeAws_restJson1HlsSettings = function (output, context) {
|
|
10648
10115
|
return {
|
|
10649
|
-
AudioOnlyHlsSettings: output.audioOnlyHlsSettings
|
|
10116
|
+
AudioOnlyHlsSettings: output.audioOnlyHlsSettings != null
|
|
10650
10117
|
? deserializeAws_restJson1AudioOnlyHlsSettings(output.audioOnlyHlsSettings, context)
|
|
10651
10118
|
: undefined,
|
|
10652
|
-
Fmp4HlsSettings: output.fmp4HlsSettings
|
|
10119
|
+
Fmp4HlsSettings: output.fmp4HlsSettings != null
|
|
10653
10120
|
? deserializeAws_restJson1Fmp4HlsSettings(output.fmp4HlsSettings, context)
|
|
10654
10121
|
: undefined,
|
|
10655
|
-
FrameCaptureHlsSettings: output.frameCaptureHlsSettings
|
|
10122
|
+
FrameCaptureHlsSettings: output.frameCaptureHlsSettings != null
|
|
10656
10123
|
? deserializeAws_restJson1FrameCaptureHlsSettings(output.frameCaptureHlsSettings, context)
|
|
10657
10124
|
: undefined,
|
|
10658
|
-
StandardHlsSettings: output.standardHlsSettings
|
|
10125
|
+
StandardHlsSettings: output.standardHlsSettings != null
|
|
10659
10126
|
? deserializeAws_restJson1StandardHlsSettings(output.standardHlsSettings, context)
|
|
10660
10127
|
: undefined,
|
|
10661
10128
|
};
|
|
@@ -10683,49 +10150,43 @@ var deserializeAws_restJson1ImmediateModeScheduleActionStartSettings = function
|
|
|
10683
10150
|
var deserializeAws_restJson1Input = function (output, context) {
|
|
10684
10151
|
return {
|
|
10685
10152
|
Arn: __expectString(output.arn),
|
|
10686
|
-
AttachedChannels: output.attachedChannels
|
|
10153
|
+
AttachedChannels: output.attachedChannels != null
|
|
10687
10154
|
? deserializeAws_restJson1__listOf__string(output.attachedChannels, context)
|
|
10688
10155
|
: undefined,
|
|
10689
|
-
Destinations: output.destinations
|
|
10156
|
+
Destinations: output.destinations != null
|
|
10690
10157
|
? deserializeAws_restJson1__listOfInputDestination(output.destinations, context)
|
|
10691
10158
|
: undefined,
|
|
10692
10159
|
Id: __expectString(output.id),
|
|
10693
10160
|
InputClass: __expectString(output.inputClass),
|
|
10694
|
-
InputDevices: output.inputDevices
|
|
10161
|
+
InputDevices: output.inputDevices != null
|
|
10695
10162
|
? deserializeAws_restJson1__listOfInputDeviceSettings(output.inputDevices, context)
|
|
10696
10163
|
: undefined,
|
|
10697
|
-
InputPartnerIds: output.inputPartnerIds
|
|
10164
|
+
InputPartnerIds: output.inputPartnerIds != null
|
|
10698
10165
|
? deserializeAws_restJson1__listOf__string(output.inputPartnerIds, context)
|
|
10699
10166
|
: undefined,
|
|
10700
10167
|
InputSourceType: __expectString(output.inputSourceType),
|
|
10701
|
-
MediaConnectFlows: output.mediaConnectFlows
|
|
10168
|
+
MediaConnectFlows: output.mediaConnectFlows != null
|
|
10702
10169
|
? deserializeAws_restJson1__listOfMediaConnectFlow(output.mediaConnectFlows, context)
|
|
10703
10170
|
: undefined,
|
|
10704
10171
|
Name: __expectString(output.name),
|
|
10705
10172
|
RoleArn: __expectString(output.roleArn),
|
|
10706
|
-
SecurityGroups: output.securityGroups
|
|
10173
|
+
SecurityGroups: output.securityGroups != null
|
|
10707
10174
|
? deserializeAws_restJson1__listOf__string(output.securityGroups, context)
|
|
10708
10175
|
: undefined,
|
|
10709
|
-
Sources: output.sources
|
|
10710
|
-
? deserializeAws_restJson1__listOfInputSource(output.sources, context)
|
|
10711
|
-
: undefined,
|
|
10176
|
+
Sources: output.sources != null ? deserializeAws_restJson1__listOfInputSource(output.sources, context) : undefined,
|
|
10712
10177
|
State: __expectString(output.state),
|
|
10713
|
-
Tags: output.tags
|
|
10714
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
10715
|
-
: undefined,
|
|
10178
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
10716
10179
|
Type: __expectString(output.type),
|
|
10717
10180
|
};
|
|
10718
10181
|
};
|
|
10719
10182
|
var deserializeAws_restJson1InputAttachment = function (output, context) {
|
|
10720
10183
|
return {
|
|
10721
|
-
AutomaticInputFailoverSettings: output.automaticInputFailoverSettings
|
|
10184
|
+
AutomaticInputFailoverSettings: output.automaticInputFailoverSettings != null
|
|
10722
10185
|
? deserializeAws_restJson1AutomaticInputFailoverSettings(output.automaticInputFailoverSettings, context)
|
|
10723
10186
|
: undefined,
|
|
10724
10187
|
InputAttachmentName: __expectString(output.inputAttachmentName),
|
|
10725
10188
|
InputId: __expectString(output.inputId),
|
|
10726
|
-
InputSettings: output.inputSettings
|
|
10727
|
-
? deserializeAws_restJson1InputSettings(output.inputSettings, context)
|
|
10728
|
-
: undefined,
|
|
10189
|
+
InputSettings: output.inputSettings != null ? deserializeAws_restJson1InputSettings(output.inputSettings, context) : undefined,
|
|
10729
10190
|
};
|
|
10730
10191
|
};
|
|
10731
10192
|
var deserializeAws_restJson1InputChannelLevel = function (output, context) {
|
|
@@ -10737,12 +10198,8 @@ var deserializeAws_restJson1InputChannelLevel = function (output, context) {
|
|
|
10737
10198
|
var deserializeAws_restJson1InputClippingSettings = function (output, context) {
|
|
10738
10199
|
return {
|
|
10739
10200
|
InputTimecodeSource: __expectString(output.inputTimecodeSource),
|
|
10740
|
-
StartTimecode: output.startTimecode
|
|
10741
|
-
|
|
10742
|
-
: undefined,
|
|
10743
|
-
StopTimecode: output.stopTimecode !== undefined && output.stopTimecode !== null
|
|
10744
|
-
? deserializeAws_restJson1StopTimecode(output.stopTimecode, context)
|
|
10745
|
-
: undefined,
|
|
10201
|
+
StartTimecode: output.startTimecode != null ? deserializeAws_restJson1StartTimecode(output.startTimecode, context) : undefined,
|
|
10202
|
+
StopTimecode: output.stopTimecode != null ? deserializeAws_restJson1StopTimecode(output.stopTimecode, context) : undefined,
|
|
10746
10203
|
};
|
|
10747
10204
|
};
|
|
10748
10205
|
var deserializeAws_restJson1InputDestination = function (output, context) {
|
|
@@ -10750,9 +10207,7 @@ var deserializeAws_restJson1InputDestination = function (output, context) {
|
|
|
10750
10207
|
Ip: __expectString(output.ip),
|
|
10751
10208
|
Port: __expectString(output.port),
|
|
10752
10209
|
Url: __expectString(output.url),
|
|
10753
|
-
Vpc: output.vpc
|
|
10754
|
-
? deserializeAws_restJson1InputDestinationVpc(output.vpc, context)
|
|
10755
|
-
: undefined,
|
|
10210
|
+
Vpc: output.vpc != null ? deserializeAws_restJson1InputDestinationVpc(output.vpc, context) : undefined,
|
|
10756
10211
|
};
|
|
10757
10212
|
};
|
|
10758
10213
|
var deserializeAws_restJson1InputDestinationVpc = function (output, context) {
|
|
@@ -10775,9 +10230,7 @@ var deserializeAws_restJson1InputDeviceHdSettings = function (output, context) {
|
|
|
10775
10230
|
};
|
|
10776
10231
|
var deserializeAws_restJson1InputDeviceNetworkSettings = function (output, context) {
|
|
10777
10232
|
return {
|
|
10778
|
-
DnsAddresses: output.dnsAddresses
|
|
10779
|
-
? deserializeAws_restJson1__listOf__string(output.dnsAddresses, context)
|
|
10780
|
-
: undefined,
|
|
10233
|
+
DnsAddresses: output.dnsAddresses != null ? deserializeAws_restJson1__listOf__string(output.dnsAddresses, context) : undefined,
|
|
10781
10234
|
Gateway: __expectString(output.gateway),
|
|
10782
10235
|
IpAddress: __expectString(output.ipAddress),
|
|
10783
10236
|
IpScheme: __expectString(output.ipScheme),
|
|
@@ -10795,18 +10248,18 @@ var deserializeAws_restJson1InputDeviceSummary = function (output, context) {
|
|
|
10795
10248
|
ConnectionState: __expectString(output.connectionState),
|
|
10796
10249
|
DeviceSettingsSyncState: __expectString(output.deviceSettingsSyncState),
|
|
10797
10250
|
DeviceUpdateStatus: __expectString(output.deviceUpdateStatus),
|
|
10798
|
-
HdDeviceSettings: output.hdDeviceSettings
|
|
10251
|
+
HdDeviceSettings: output.hdDeviceSettings != null
|
|
10799
10252
|
? deserializeAws_restJson1InputDeviceHdSettings(output.hdDeviceSettings, context)
|
|
10800
10253
|
: undefined,
|
|
10801
10254
|
Id: __expectString(output.id),
|
|
10802
10255
|
MacAddress: __expectString(output.macAddress),
|
|
10803
10256
|
Name: __expectString(output.name),
|
|
10804
|
-
NetworkSettings: output.networkSettings
|
|
10257
|
+
NetworkSettings: output.networkSettings != null
|
|
10805
10258
|
? deserializeAws_restJson1InputDeviceNetworkSettings(output.networkSettings, context)
|
|
10806
10259
|
: undefined,
|
|
10807
10260
|
SerialNumber: __expectString(output.serialNumber),
|
|
10808
10261
|
Type: __expectString(output.type),
|
|
10809
|
-
UhdDeviceSettings: output.uhdDeviceSettings
|
|
10262
|
+
UhdDeviceSettings: output.uhdDeviceSettings != null
|
|
10810
10263
|
? deserializeAws_restJson1InputDeviceUhdSettings(output.uhdDeviceSettings, context)
|
|
10811
10264
|
: undefined,
|
|
10812
10265
|
};
|
|
@@ -10834,7 +10287,7 @@ var deserializeAws_restJson1InputLossBehavior = function (output, context) {
|
|
|
10834
10287
|
return {
|
|
10835
10288
|
BlackFrameMsec: __expectInt32(output.blackFrameMsec),
|
|
10836
10289
|
InputLossImageColor: __expectString(output.inputLossImageColor),
|
|
10837
|
-
InputLossImageSlate: output.inputLossImageSlate
|
|
10290
|
+
InputLossImageSlate: output.inputLossImageSlate != null
|
|
10838
10291
|
? deserializeAws_restJson1InputLocation(output.inputLossImageSlate, context)
|
|
10839
10292
|
: undefined,
|
|
10840
10293
|
InputLossImageType: __expectString(output.inputLossImageType),
|
|
@@ -10849,51 +10302,43 @@ var deserializeAws_restJson1InputLossFailoverSettings = function (output, contex
|
|
|
10849
10302
|
var deserializeAws_restJson1InputPrepareScheduleActionSettings = function (output, context) {
|
|
10850
10303
|
return {
|
|
10851
10304
|
InputAttachmentNameReference: __expectString(output.inputAttachmentNameReference),
|
|
10852
|
-
InputClippingSettings: output.inputClippingSettings
|
|
10305
|
+
InputClippingSettings: output.inputClippingSettings != null
|
|
10853
10306
|
? deserializeAws_restJson1InputClippingSettings(output.inputClippingSettings, context)
|
|
10854
10307
|
: undefined,
|
|
10855
|
-
UrlPath: output.urlPath
|
|
10856
|
-
? deserializeAws_restJson1__listOf__string(output.urlPath, context)
|
|
10857
|
-
: undefined,
|
|
10308
|
+
UrlPath: output.urlPath != null ? deserializeAws_restJson1__listOf__string(output.urlPath, context) : undefined,
|
|
10858
10309
|
};
|
|
10859
10310
|
};
|
|
10860
10311
|
var deserializeAws_restJson1InputSecurityGroup = function (output, context) {
|
|
10861
10312
|
return {
|
|
10862
10313
|
Arn: __expectString(output.arn),
|
|
10863
10314
|
Id: __expectString(output.id),
|
|
10864
|
-
Inputs: output.inputs
|
|
10865
|
-
? deserializeAws_restJson1__listOf__string(output.inputs, context)
|
|
10866
|
-
: undefined,
|
|
10315
|
+
Inputs: output.inputs != null ? deserializeAws_restJson1__listOf__string(output.inputs, context) : undefined,
|
|
10867
10316
|
State: __expectString(output.state),
|
|
10868
|
-
Tags: output.tags
|
|
10869
|
-
|
|
10870
|
-
: undefined,
|
|
10871
|
-
WhitelistRules: output.whitelistRules !== undefined && output.whitelistRules !== null
|
|
10317
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
10318
|
+
WhitelistRules: output.whitelistRules != null
|
|
10872
10319
|
? deserializeAws_restJson1__listOfInputWhitelistRule(output.whitelistRules, context)
|
|
10873
10320
|
: undefined,
|
|
10874
10321
|
};
|
|
10875
10322
|
};
|
|
10876
10323
|
var deserializeAws_restJson1InputSettings = function (output, context) {
|
|
10877
10324
|
return {
|
|
10878
|
-
AudioSelectors: output.audioSelectors
|
|
10325
|
+
AudioSelectors: output.audioSelectors != null
|
|
10879
10326
|
? deserializeAws_restJson1__listOfAudioSelector(output.audioSelectors, context)
|
|
10880
10327
|
: undefined,
|
|
10881
|
-
CaptionSelectors: output.captionSelectors
|
|
10328
|
+
CaptionSelectors: output.captionSelectors != null
|
|
10882
10329
|
? deserializeAws_restJson1__listOfCaptionSelector(output.captionSelectors, context)
|
|
10883
10330
|
: undefined,
|
|
10884
10331
|
DeblockFilter: __expectString(output.deblockFilter),
|
|
10885
10332
|
DenoiseFilter: __expectString(output.denoiseFilter),
|
|
10886
10333
|
FilterStrength: __expectInt32(output.filterStrength),
|
|
10887
10334
|
InputFilter: __expectString(output.inputFilter),
|
|
10888
|
-
NetworkInputSettings: output.networkInputSettings
|
|
10335
|
+
NetworkInputSettings: output.networkInputSettings != null
|
|
10889
10336
|
? deserializeAws_restJson1NetworkInputSettings(output.networkInputSettings, context)
|
|
10890
10337
|
: undefined,
|
|
10891
10338
|
Scte35Pid: __expectInt32(output.scte35Pid),
|
|
10892
10339
|
Smpte2038DataPreference: __expectString(output.smpte2038DataPreference),
|
|
10893
10340
|
SourceEndBehavior: __expectString(output.sourceEndBehavior),
|
|
10894
|
-
VideoSelector: output.videoSelector
|
|
10895
|
-
? deserializeAws_restJson1VideoSelector(output.videoSelector, context)
|
|
10896
|
-
: undefined,
|
|
10341
|
+
VideoSelector: output.videoSelector != null ? deserializeAws_restJson1VideoSelector(output.videoSelector, context) : undefined,
|
|
10897
10342
|
};
|
|
10898
10343
|
};
|
|
10899
10344
|
var deserializeAws_restJson1InputSource = function (output, context) {
|
|
@@ -10913,12 +10358,10 @@ var deserializeAws_restJson1InputSpecification = function (output, context) {
|
|
|
10913
10358
|
var deserializeAws_restJson1InputSwitchScheduleActionSettings = function (output, context) {
|
|
10914
10359
|
return {
|
|
10915
10360
|
InputAttachmentNameReference: __expectString(output.inputAttachmentNameReference),
|
|
10916
|
-
InputClippingSettings: output.inputClippingSettings
|
|
10361
|
+
InputClippingSettings: output.inputClippingSettings != null
|
|
10917
10362
|
? deserializeAws_restJson1InputClippingSettings(output.inputClippingSettings, context)
|
|
10918
10363
|
: undefined,
|
|
10919
|
-
UrlPath: output.urlPath
|
|
10920
|
-
? deserializeAws_restJson1__listOf__string(output.urlPath, context)
|
|
10921
|
-
: undefined,
|
|
10364
|
+
UrlPath: output.urlPath != null ? deserializeAws_restJson1__listOf__string(output.urlPath, context) : undefined,
|
|
10922
10365
|
};
|
|
10923
10366
|
};
|
|
10924
10367
|
var deserializeAws_restJson1InputWhitelistRule = function (output, context) {
|
|
@@ -10928,7 +10371,7 @@ var deserializeAws_restJson1InputWhitelistRule = function (output, context) {
|
|
|
10928
10371
|
};
|
|
10929
10372
|
var deserializeAws_restJson1KeyProviderSettings = function (output, context) {
|
|
10930
10373
|
return {
|
|
10931
|
-
StaticKeySettings: output.staticKeySettings
|
|
10374
|
+
StaticKeySettings: output.staticKeySettings != null
|
|
10932
10375
|
? deserializeAws_restJson1StaticKeySettings(output.staticKeySettings, context)
|
|
10933
10376
|
: undefined,
|
|
10934
10377
|
};
|
|
@@ -10946,14 +10389,14 @@ var deserializeAws_restJson1M2tsSettings = function (output, context) {
|
|
|
10946
10389
|
Bitrate: __expectInt32(output.bitrate),
|
|
10947
10390
|
BufferModel: __expectString(output.bufferModel),
|
|
10948
10391
|
CcDescriptor: __expectString(output.ccDescriptor),
|
|
10949
|
-
DvbNitSettings: output.dvbNitSettings
|
|
10392
|
+
DvbNitSettings: output.dvbNitSettings != null
|
|
10950
10393
|
? deserializeAws_restJson1DvbNitSettings(output.dvbNitSettings, context)
|
|
10951
10394
|
: undefined,
|
|
10952
|
-
DvbSdtSettings: output.dvbSdtSettings
|
|
10395
|
+
DvbSdtSettings: output.dvbSdtSettings != null
|
|
10953
10396
|
? deserializeAws_restJson1DvbSdtSettings(output.dvbSdtSettings, context)
|
|
10954
10397
|
: undefined,
|
|
10955
10398
|
DvbSubPids: __expectString(output.dvbSubPids),
|
|
10956
|
-
DvbTdtSettings: output.dvbTdtSettings
|
|
10399
|
+
DvbTdtSettings: output.dvbTdtSettings != null
|
|
10957
10400
|
? deserializeAws_restJson1DvbTdtSettings(output.dvbTdtSettings, context)
|
|
10958
10401
|
: undefined,
|
|
10959
10402
|
DvbTeletextPid: __expectString(output.dvbTeletextPid),
|
|
@@ -11026,9 +10469,7 @@ var deserializeAws_restJson1MediaConnectFlow = function (output, context) {
|
|
|
11026
10469
|
};
|
|
11027
10470
|
var deserializeAws_restJson1MediaPackageGroupSettings = function (output, context) {
|
|
11028
10471
|
return {
|
|
11029
|
-
Destination: output.destination
|
|
11030
|
-
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
11031
|
-
: undefined,
|
|
10472
|
+
Destination: output.destination != null ? deserializeAws_restJson1OutputLocationRef(output.destination, context) : undefined,
|
|
11032
10473
|
};
|
|
11033
10474
|
};
|
|
11034
10475
|
var deserializeAws_restJson1MediaPackageOutputDestinationSettings = function (output, context) {
|
|
@@ -11050,7 +10491,7 @@ var deserializeAws_restJson1MotionGraphicsActivateScheduleActionSettings = funct
|
|
|
11050
10491
|
var deserializeAws_restJson1MotionGraphicsConfiguration = function (output, context) {
|
|
11051
10492
|
return {
|
|
11052
10493
|
MotionGraphicsInsertion: __expectString(output.motionGraphicsInsertion),
|
|
11053
|
-
MotionGraphicsSettings: output.motionGraphicsSettings
|
|
10494
|
+
MotionGraphicsSettings: output.motionGraphicsSettings != null
|
|
11054
10495
|
? deserializeAws_restJson1MotionGraphicsSettings(output.motionGraphicsSettings, context)
|
|
11055
10496
|
: undefined,
|
|
11056
10497
|
};
|
|
@@ -11060,7 +10501,7 @@ var deserializeAws_restJson1MotionGraphicsDeactivateScheduleActionSettings = fun
|
|
|
11060
10501
|
};
|
|
11061
10502
|
var deserializeAws_restJson1MotionGraphicsSettings = function (output, context) {
|
|
11062
10503
|
return {
|
|
11063
|
-
HtmlMotionGraphicsSettings: output.htmlMotionGraphicsSettings
|
|
10504
|
+
HtmlMotionGraphicsSettings: output.htmlMotionGraphicsSettings != null
|
|
11064
10505
|
? deserializeAws_restJson1HtmlMotionGraphicsSettings(output.htmlMotionGraphicsSettings, context)
|
|
11065
10506
|
: undefined,
|
|
11066
10507
|
};
|
|
@@ -11074,7 +10515,7 @@ var deserializeAws_restJson1Mp2Settings = function (output, context) {
|
|
|
11074
10515
|
};
|
|
11075
10516
|
var deserializeAws_restJson1Mpeg2FilterSettings = function (output, context) {
|
|
11076
10517
|
return {
|
|
11077
|
-
TemporalFilterSettings: output.temporalFilterSettings
|
|
10518
|
+
TemporalFilterSettings: output.temporalFilterSettings != null
|
|
11078
10519
|
? deserializeAws_restJson1TemporalFilterSettings(output.temporalFilterSettings, context)
|
|
11079
10520
|
: undefined,
|
|
11080
10521
|
};
|
|
@@ -11086,7 +10527,7 @@ var deserializeAws_restJson1Mpeg2Settings = function (output, context) {
|
|
|
11086
10527
|
ColorMetadata: __expectString(output.colorMetadata),
|
|
11087
10528
|
ColorSpace: __expectString(output.colorSpace),
|
|
11088
10529
|
DisplayAspectRatio: __expectString(output.displayAspectRatio),
|
|
11089
|
-
FilterSettings: output.filterSettings
|
|
10530
|
+
FilterSettings: output.filterSettings != null
|
|
11090
10531
|
? deserializeAws_restJson1Mpeg2FilterSettings(output.filterSettings, context)
|
|
11091
10532
|
: undefined,
|
|
11092
10533
|
FixedAfd: __expectString(output.fixedAfd),
|
|
@@ -11107,9 +10548,7 @@ var deserializeAws_restJson1MsSmoothGroupSettings = function (output, context) {
|
|
|
11107
10548
|
AudioOnlyTimecodeControl: __expectString(output.audioOnlyTimecodeControl),
|
|
11108
10549
|
CertificateMode: __expectString(output.certificateMode),
|
|
11109
10550
|
ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
|
|
11110
|
-
Destination: output.destination
|
|
11111
|
-
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
11112
|
-
: undefined,
|
|
10551
|
+
Destination: output.destination != null ? deserializeAws_restJson1OutputLocationRef(output.destination, context) : undefined,
|
|
11113
10552
|
EventId: __expectString(output.eventId),
|
|
11114
10553
|
EventIdMode: __expectString(output.eventIdMode),
|
|
11115
10554
|
EventStopBehavior: __expectString(output.eventStopBehavior),
|
|
@@ -11135,23 +10574,21 @@ var deserializeAws_restJson1MsSmoothOutputSettings = function (output, context)
|
|
|
11135
10574
|
var deserializeAws_restJson1Multiplex = function (output, context) {
|
|
11136
10575
|
return {
|
|
11137
10576
|
Arn: __expectString(output.arn),
|
|
11138
|
-
AvailabilityZones: output.availabilityZones
|
|
10577
|
+
AvailabilityZones: output.availabilityZones != null
|
|
11139
10578
|
? deserializeAws_restJson1__listOf__string(output.availabilityZones, context)
|
|
11140
10579
|
: undefined,
|
|
11141
|
-
Destinations: output.destinations
|
|
10580
|
+
Destinations: output.destinations != null
|
|
11142
10581
|
? deserializeAws_restJson1__listOfMultiplexOutputDestination(output.destinations, context)
|
|
11143
10582
|
: undefined,
|
|
11144
10583
|
Id: __expectString(output.id),
|
|
11145
|
-
MultiplexSettings: output.multiplexSettings
|
|
10584
|
+
MultiplexSettings: output.multiplexSettings != null
|
|
11146
10585
|
? deserializeAws_restJson1MultiplexSettings(output.multiplexSettings, context)
|
|
11147
10586
|
: undefined,
|
|
11148
10587
|
Name: __expectString(output.name),
|
|
11149
10588
|
PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
|
|
11150
10589
|
ProgramCount: __expectInt32(output.programCount),
|
|
11151
10590
|
State: __expectString(output.state),
|
|
11152
|
-
Tags: output.tags
|
|
11153
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
11154
|
-
: undefined,
|
|
10591
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
11155
10592
|
};
|
|
11156
10593
|
};
|
|
11157
10594
|
var deserializeAws_restJson1MultiplexGroupSettings = function (output, context) {
|
|
@@ -11164,28 +10601,26 @@ var deserializeAws_restJson1MultiplexMediaConnectOutputDestinationSettings = fun
|
|
|
11164
10601
|
};
|
|
11165
10602
|
var deserializeAws_restJson1MultiplexOutputDestination = function (output, context) {
|
|
11166
10603
|
return {
|
|
11167
|
-
MediaConnectSettings: output.mediaConnectSettings
|
|
10604
|
+
MediaConnectSettings: output.mediaConnectSettings != null
|
|
11168
10605
|
? deserializeAws_restJson1MultiplexMediaConnectOutputDestinationSettings(output.mediaConnectSettings, context)
|
|
11169
10606
|
: undefined,
|
|
11170
10607
|
};
|
|
11171
10608
|
};
|
|
11172
10609
|
var deserializeAws_restJson1MultiplexOutputSettings = function (output, context) {
|
|
11173
10610
|
return {
|
|
11174
|
-
Destination: output.destination
|
|
11175
|
-
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
11176
|
-
: undefined,
|
|
10611
|
+
Destination: output.destination != null ? deserializeAws_restJson1OutputLocationRef(output.destination, context) : undefined,
|
|
11177
10612
|
};
|
|
11178
10613
|
};
|
|
11179
10614
|
var deserializeAws_restJson1MultiplexProgram = function (output, context) {
|
|
11180
10615
|
return {
|
|
11181
10616
|
ChannelId: __expectString(output.channelId),
|
|
11182
|
-
MultiplexProgramSettings: output.multiplexProgramSettings
|
|
10617
|
+
MultiplexProgramSettings: output.multiplexProgramSettings != null
|
|
11183
10618
|
? deserializeAws_restJson1MultiplexProgramSettings(output.multiplexProgramSettings, context)
|
|
11184
10619
|
: undefined,
|
|
11185
|
-
PacketIdentifiersMap: output.packetIdentifiersMap
|
|
10620
|
+
PacketIdentifiersMap: output.packetIdentifiersMap != null
|
|
11186
10621
|
? deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap(output.packetIdentifiersMap, context)
|
|
11187
10622
|
: undefined,
|
|
11188
|
-
PipelineDetails: output.pipelineDetails
|
|
10623
|
+
PipelineDetails: output.pipelineDetails != null
|
|
11189
10624
|
? deserializeAws_restJson1__listOfMultiplexProgramPipelineDetail(output.pipelineDetails, context)
|
|
11190
10625
|
: undefined,
|
|
11191
10626
|
ProgramName: __expectString(output.programName),
|
|
@@ -11199,24 +10634,16 @@ var deserializeAws_restJson1MultiplexProgramChannelDestinationSettings = functio
|
|
|
11199
10634
|
};
|
|
11200
10635
|
var deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap = function (output, context) {
|
|
11201
10636
|
return {
|
|
11202
|
-
AudioPids: output.audioPids
|
|
11203
|
-
|
|
11204
|
-
: undefined,
|
|
11205
|
-
DvbSubPids: output.dvbSubPids !== undefined && output.dvbSubPids !== null
|
|
11206
|
-
? deserializeAws_restJson1__listOf__integer(output.dvbSubPids, context)
|
|
11207
|
-
: undefined,
|
|
10637
|
+
AudioPids: output.audioPids != null ? deserializeAws_restJson1__listOf__integer(output.audioPids, context) : undefined,
|
|
10638
|
+
DvbSubPids: output.dvbSubPids != null ? deserializeAws_restJson1__listOf__integer(output.dvbSubPids, context) : undefined,
|
|
11208
10639
|
DvbTeletextPid: __expectInt32(output.dvbTeletextPid),
|
|
11209
10640
|
EtvPlatformPid: __expectInt32(output.etvPlatformPid),
|
|
11210
10641
|
EtvSignalPid: __expectInt32(output.etvSignalPid),
|
|
11211
|
-
KlvDataPids: output.klvDataPids
|
|
11212
|
-
? deserializeAws_restJson1__listOf__integer(output.klvDataPids, context)
|
|
11213
|
-
: undefined,
|
|
10642
|
+
KlvDataPids: output.klvDataPids != null ? deserializeAws_restJson1__listOf__integer(output.klvDataPids, context) : undefined,
|
|
11214
10643
|
PcrPid: __expectInt32(output.pcrPid),
|
|
11215
10644
|
PmtPid: __expectInt32(output.pmtPid),
|
|
11216
10645
|
PrivateMetadataPid: __expectInt32(output.privateMetadataPid),
|
|
11217
|
-
Scte27Pids: output.scte27Pids
|
|
11218
|
-
? deserializeAws_restJson1__listOf__integer(output.scte27Pids, context)
|
|
11219
|
-
: undefined,
|
|
10646
|
+
Scte27Pids: output.scte27Pids != null ? deserializeAws_restJson1__listOf__integer(output.scte27Pids, context) : undefined,
|
|
11220
10647
|
Scte35Pid: __expectInt32(output.scte35Pid),
|
|
11221
10648
|
TimedMetadataPid: __expectInt32(output.timedMetadataPid),
|
|
11222
10649
|
VideoPid: __expectInt32(output.videoPid),
|
|
@@ -11238,10 +10665,10 @@ var deserializeAws_restJson1MultiplexProgramSettings = function (output, context
|
|
|
11238
10665
|
return {
|
|
11239
10666
|
PreferredChannelPipeline: __expectString(output.preferredChannelPipeline),
|
|
11240
10667
|
ProgramNumber: __expectInt32(output.programNumber),
|
|
11241
|
-
ServiceDescriptor: output.serviceDescriptor
|
|
10668
|
+
ServiceDescriptor: output.serviceDescriptor != null
|
|
11242
10669
|
? deserializeAws_restJson1MultiplexProgramServiceDescriptor(output.serviceDescriptor, context)
|
|
11243
10670
|
: undefined,
|
|
11244
|
-
VideoSettings: output.videoSettings
|
|
10671
|
+
VideoSettings: output.videoSettings != null
|
|
11245
10672
|
? deserializeAws_restJson1MultiplexVideoSettings(output.videoSettings, context)
|
|
11246
10673
|
: undefined,
|
|
11247
10674
|
};
|
|
@@ -11275,33 +10702,31 @@ var deserializeAws_restJson1MultiplexStatmuxVideoSettings = function (output, co
|
|
|
11275
10702
|
var deserializeAws_restJson1MultiplexSummary = function (output, context) {
|
|
11276
10703
|
return {
|
|
11277
10704
|
Arn: __expectString(output.arn),
|
|
11278
|
-
AvailabilityZones: output.availabilityZones
|
|
10705
|
+
AvailabilityZones: output.availabilityZones != null
|
|
11279
10706
|
? deserializeAws_restJson1__listOf__string(output.availabilityZones, context)
|
|
11280
10707
|
: undefined,
|
|
11281
10708
|
Id: __expectString(output.id),
|
|
11282
|
-
MultiplexSettings: output.multiplexSettings
|
|
10709
|
+
MultiplexSettings: output.multiplexSettings != null
|
|
11283
10710
|
? deserializeAws_restJson1MultiplexSettingsSummary(output.multiplexSettings, context)
|
|
11284
10711
|
: undefined,
|
|
11285
10712
|
Name: __expectString(output.name),
|
|
11286
10713
|
PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
|
|
11287
10714
|
ProgramCount: __expectInt32(output.programCount),
|
|
11288
10715
|
State: __expectString(output.state),
|
|
11289
|
-
Tags: output.tags
|
|
11290
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
11291
|
-
: undefined,
|
|
10716
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
11292
10717
|
};
|
|
11293
10718
|
};
|
|
11294
10719
|
var deserializeAws_restJson1MultiplexVideoSettings = function (output, context) {
|
|
11295
10720
|
return {
|
|
11296
10721
|
ConstantBitrate: __expectInt32(output.constantBitrate),
|
|
11297
|
-
StatmuxSettings: output.statmuxSettings
|
|
10722
|
+
StatmuxSettings: output.statmuxSettings != null
|
|
11298
10723
|
? deserializeAws_restJson1MultiplexStatmuxVideoSettings(output.statmuxSettings, context)
|
|
11299
10724
|
: undefined,
|
|
11300
10725
|
};
|
|
11301
10726
|
};
|
|
11302
10727
|
var deserializeAws_restJson1NetworkInputSettings = function (output, context) {
|
|
11303
10728
|
return {
|
|
11304
|
-
HlsInputSettings: output.hlsInputSettings
|
|
10729
|
+
HlsInputSettings: output.hlsInputSettings != null
|
|
11305
10730
|
? deserializeAws_restJson1HlsInputSettings(output.hlsInputSettings, context)
|
|
11306
10731
|
: undefined,
|
|
11307
10732
|
ServerValidation: __expectString(output.serverValidation),
|
|
@@ -11328,11 +10753,11 @@ var deserializeAws_restJson1NielsenNaesIiNw = function (output, context) {
|
|
|
11328
10753
|
};
|
|
11329
10754
|
var deserializeAws_restJson1NielsenWatermarksSettings = function (output, context) {
|
|
11330
10755
|
return {
|
|
11331
|
-
NielsenCbetSettings: output.nielsenCbetSettings
|
|
10756
|
+
NielsenCbetSettings: output.nielsenCbetSettings != null
|
|
11332
10757
|
? deserializeAws_restJson1NielsenCBET(output.nielsenCbetSettings, context)
|
|
11333
10758
|
: undefined,
|
|
11334
10759
|
NielsenDistributionType: __expectString(output.nielsenDistributionType),
|
|
11335
|
-
NielsenNaesIiNwSettings: output.nielsenNaesIiNwSettings
|
|
10760
|
+
NielsenNaesIiNwSettings: output.nielsenNaesIiNwSettings != null
|
|
11336
10761
|
? deserializeAws_restJson1NielsenNaesIiNw(output.nielsenNaesIiNwSettings, context)
|
|
11337
10762
|
: undefined,
|
|
11338
10763
|
};
|
|
@@ -11348,7 +10773,7 @@ var deserializeAws_restJson1Offering = function (output, context) {
|
|
|
11348
10773
|
OfferingId: __expectString(output.offeringId),
|
|
11349
10774
|
OfferingType: __expectString(output.offeringType),
|
|
11350
10775
|
Region: __expectString(output.region),
|
|
11351
|
-
ResourceSpecification: output.resourceSpecification
|
|
10776
|
+
ResourceSpecification: output.resourceSpecification != null
|
|
11352
10777
|
? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
|
|
11353
10778
|
: undefined,
|
|
11354
10779
|
UsagePrice: __limitedParseDouble(output.usagePrice),
|
|
@@ -11356,14 +10781,14 @@ var deserializeAws_restJson1Offering = function (output, context) {
|
|
|
11356
10781
|
};
|
|
11357
10782
|
var deserializeAws_restJson1Output = function (output, context) {
|
|
11358
10783
|
return {
|
|
11359
|
-
AudioDescriptionNames: output.audioDescriptionNames
|
|
10784
|
+
AudioDescriptionNames: output.audioDescriptionNames != null
|
|
11360
10785
|
? deserializeAws_restJson1__listOf__string(output.audioDescriptionNames, context)
|
|
11361
10786
|
: undefined,
|
|
11362
|
-
CaptionDescriptionNames: output.captionDescriptionNames
|
|
10787
|
+
CaptionDescriptionNames: output.captionDescriptionNames != null
|
|
11363
10788
|
? deserializeAws_restJson1__listOf__string(output.captionDescriptionNames, context)
|
|
11364
10789
|
: undefined,
|
|
11365
10790
|
OutputName: __expectString(output.outputName),
|
|
11366
|
-
OutputSettings: output.outputSettings
|
|
10791
|
+
OutputSettings: output.outputSettings != null
|
|
11367
10792
|
? deserializeAws_restJson1OutputSettings(output.outputSettings, context)
|
|
11368
10793
|
: undefined,
|
|
11369
10794
|
VideoDescriptionName: __expectString(output.videoDescriptionName),
|
|
@@ -11372,13 +10797,13 @@ var deserializeAws_restJson1Output = function (output, context) {
|
|
|
11372
10797
|
var deserializeAws_restJson1OutputDestination = function (output, context) {
|
|
11373
10798
|
return {
|
|
11374
10799
|
Id: __expectString(output.id),
|
|
11375
|
-
MediaPackageSettings: output.mediaPackageSettings
|
|
10800
|
+
MediaPackageSettings: output.mediaPackageSettings != null
|
|
11376
10801
|
? deserializeAws_restJson1__listOfMediaPackageOutputDestinationSettings(output.mediaPackageSettings, context)
|
|
11377
10802
|
: undefined,
|
|
11378
|
-
MultiplexSettings: output.multiplexSettings
|
|
10803
|
+
MultiplexSettings: output.multiplexSettings != null
|
|
11379
10804
|
? deserializeAws_restJson1MultiplexProgramChannelDestinationSettings(output.multiplexSettings, context)
|
|
11380
10805
|
: undefined,
|
|
11381
|
-
Settings: output.settings
|
|
10806
|
+
Settings: output.settings != null
|
|
11382
10807
|
? deserializeAws_restJson1__listOfOutputDestinationSettings(output.settings, context)
|
|
11383
10808
|
: undefined,
|
|
11384
10809
|
};
|
|
@@ -11394,38 +10819,36 @@ var deserializeAws_restJson1OutputDestinationSettings = function (output, contex
|
|
|
11394
10819
|
var deserializeAws_restJson1OutputGroup = function (output, context) {
|
|
11395
10820
|
return {
|
|
11396
10821
|
Name: __expectString(output.name),
|
|
11397
|
-
OutputGroupSettings: output.outputGroupSettings
|
|
10822
|
+
OutputGroupSettings: output.outputGroupSettings != null
|
|
11398
10823
|
? deserializeAws_restJson1OutputGroupSettings(output.outputGroupSettings, context)
|
|
11399
10824
|
: undefined,
|
|
11400
|
-
Outputs: output.outputs
|
|
11401
|
-
? deserializeAws_restJson1__listOfOutput(output.outputs, context)
|
|
11402
|
-
: undefined,
|
|
10825
|
+
Outputs: output.outputs != null ? deserializeAws_restJson1__listOfOutput(output.outputs, context) : undefined,
|
|
11403
10826
|
};
|
|
11404
10827
|
};
|
|
11405
10828
|
var deserializeAws_restJson1OutputGroupSettings = function (output, context) {
|
|
11406
10829
|
return {
|
|
11407
|
-
ArchiveGroupSettings: output.archiveGroupSettings
|
|
10830
|
+
ArchiveGroupSettings: output.archiveGroupSettings != null
|
|
11408
10831
|
? deserializeAws_restJson1ArchiveGroupSettings(output.archiveGroupSettings, context)
|
|
11409
10832
|
: undefined,
|
|
11410
|
-
FrameCaptureGroupSettings: output.frameCaptureGroupSettings
|
|
10833
|
+
FrameCaptureGroupSettings: output.frameCaptureGroupSettings != null
|
|
11411
10834
|
? deserializeAws_restJson1FrameCaptureGroupSettings(output.frameCaptureGroupSettings, context)
|
|
11412
10835
|
: undefined,
|
|
11413
|
-
HlsGroupSettings: output.hlsGroupSettings
|
|
10836
|
+
HlsGroupSettings: output.hlsGroupSettings != null
|
|
11414
10837
|
? deserializeAws_restJson1HlsGroupSettings(output.hlsGroupSettings, context)
|
|
11415
10838
|
: undefined,
|
|
11416
|
-
MediaPackageGroupSettings: output.mediaPackageGroupSettings
|
|
10839
|
+
MediaPackageGroupSettings: output.mediaPackageGroupSettings != null
|
|
11417
10840
|
? deserializeAws_restJson1MediaPackageGroupSettings(output.mediaPackageGroupSettings, context)
|
|
11418
10841
|
: undefined,
|
|
11419
|
-
MsSmoothGroupSettings: output.msSmoothGroupSettings
|
|
10842
|
+
MsSmoothGroupSettings: output.msSmoothGroupSettings != null
|
|
11420
10843
|
? deserializeAws_restJson1MsSmoothGroupSettings(output.msSmoothGroupSettings, context)
|
|
11421
10844
|
: undefined,
|
|
11422
|
-
MultiplexGroupSettings: output.multiplexGroupSettings
|
|
10845
|
+
MultiplexGroupSettings: output.multiplexGroupSettings != null
|
|
11423
10846
|
? deserializeAws_restJson1MultiplexGroupSettings(output.multiplexGroupSettings, context)
|
|
11424
10847
|
: undefined,
|
|
11425
|
-
RtmpGroupSettings: output.rtmpGroupSettings
|
|
10848
|
+
RtmpGroupSettings: output.rtmpGroupSettings != null
|
|
11426
10849
|
? deserializeAws_restJson1RtmpGroupSettings(output.rtmpGroupSettings, context)
|
|
11427
10850
|
: undefined,
|
|
11428
|
-
UdpGroupSettings: output.udpGroupSettings
|
|
10851
|
+
UdpGroupSettings: output.udpGroupSettings != null
|
|
11429
10852
|
? deserializeAws_restJson1UdpGroupSettings(output.udpGroupSettings, context)
|
|
11430
10853
|
: undefined,
|
|
11431
10854
|
};
|
|
@@ -11437,28 +10860,28 @@ var deserializeAws_restJson1OutputLocationRef = function (output, context) {
|
|
|
11437
10860
|
};
|
|
11438
10861
|
var deserializeAws_restJson1OutputSettings = function (output, context) {
|
|
11439
10862
|
return {
|
|
11440
|
-
ArchiveOutputSettings: output.archiveOutputSettings
|
|
10863
|
+
ArchiveOutputSettings: output.archiveOutputSettings != null
|
|
11441
10864
|
? deserializeAws_restJson1ArchiveOutputSettings(output.archiveOutputSettings, context)
|
|
11442
10865
|
: undefined,
|
|
11443
|
-
FrameCaptureOutputSettings: output.frameCaptureOutputSettings
|
|
10866
|
+
FrameCaptureOutputSettings: output.frameCaptureOutputSettings != null
|
|
11444
10867
|
? deserializeAws_restJson1FrameCaptureOutputSettings(output.frameCaptureOutputSettings, context)
|
|
11445
10868
|
: undefined,
|
|
11446
|
-
HlsOutputSettings: output.hlsOutputSettings
|
|
10869
|
+
HlsOutputSettings: output.hlsOutputSettings != null
|
|
11447
10870
|
? deserializeAws_restJson1HlsOutputSettings(output.hlsOutputSettings, context)
|
|
11448
10871
|
: undefined,
|
|
11449
|
-
MediaPackageOutputSettings: output.mediaPackageOutputSettings
|
|
10872
|
+
MediaPackageOutputSettings: output.mediaPackageOutputSettings != null
|
|
11450
10873
|
? deserializeAws_restJson1MediaPackageOutputSettings(output.mediaPackageOutputSettings, context)
|
|
11451
10874
|
: undefined,
|
|
11452
|
-
MsSmoothOutputSettings: output.msSmoothOutputSettings
|
|
10875
|
+
MsSmoothOutputSettings: output.msSmoothOutputSettings != null
|
|
11453
10876
|
? deserializeAws_restJson1MsSmoothOutputSettings(output.msSmoothOutputSettings, context)
|
|
11454
10877
|
: undefined,
|
|
11455
|
-
MultiplexOutputSettings: output.multiplexOutputSettings
|
|
10878
|
+
MultiplexOutputSettings: output.multiplexOutputSettings != null
|
|
11456
10879
|
? deserializeAws_restJson1MultiplexOutputSettings(output.multiplexOutputSettings, context)
|
|
11457
10880
|
: undefined,
|
|
11458
|
-
RtmpOutputSettings: output.rtmpOutputSettings
|
|
10881
|
+
RtmpOutputSettings: output.rtmpOutputSettings != null
|
|
11459
10882
|
? deserializeAws_restJson1RtmpOutputSettings(output.rtmpOutputSettings, context)
|
|
11460
10883
|
: undefined,
|
|
11461
|
-
UdpOutputSettings: output.udpOutputSettings
|
|
10884
|
+
UdpOutputSettings: output.udpOutputSettings != null
|
|
11462
10885
|
? deserializeAws_restJson1UdpOutputSettings(output.udpOutputSettings, context)
|
|
11463
10886
|
: undefined,
|
|
11464
10887
|
};
|
|
@@ -11468,7 +10891,7 @@ var deserializeAws_restJson1PassThroughSettings = function (output, context) {
|
|
|
11468
10891
|
};
|
|
11469
10892
|
var deserializeAws_restJson1PauseStateScheduleActionSettings = function (output, context) {
|
|
11470
10893
|
return {
|
|
11471
|
-
Pipelines: output.pipelines
|
|
10894
|
+
Pipelines: output.pipelines != null
|
|
11472
10895
|
? deserializeAws_restJson1__listOfPipelinePauseStateSettings(output.pipelines, context)
|
|
11473
10896
|
: undefined,
|
|
11474
10897
|
};
|
|
@@ -11498,7 +10921,7 @@ var deserializeAws_restJson1Rec709Settings = function (output, context) {
|
|
|
11498
10921
|
};
|
|
11499
10922
|
var deserializeAws_restJson1RemixSettings = function (output, context) {
|
|
11500
10923
|
return {
|
|
11501
|
-
ChannelMappings: output.channelMappings
|
|
10924
|
+
ChannelMappings: output.channelMappings != null
|
|
11502
10925
|
? deserializeAws_restJson1__listOfAudioChannelMapping(output.channelMappings, context)
|
|
11503
10926
|
: undefined,
|
|
11504
10927
|
ChannelsIn: __expectInt32(output.channelsIn),
|
|
@@ -11525,18 +10948,16 @@ var deserializeAws_restJson1Reservation = function (output, context) {
|
|
|
11525
10948
|
OfferingId: __expectString(output.offeringId),
|
|
11526
10949
|
OfferingType: __expectString(output.offeringType),
|
|
11527
10950
|
Region: __expectString(output.region),
|
|
11528
|
-
RenewalSettings: output.renewalSettings
|
|
10951
|
+
RenewalSettings: output.renewalSettings != null
|
|
11529
10952
|
? deserializeAws_restJson1RenewalSettings(output.renewalSettings, context)
|
|
11530
10953
|
: undefined,
|
|
11531
10954
|
ReservationId: __expectString(output.reservationId),
|
|
11532
|
-
ResourceSpecification: output.resourceSpecification
|
|
10955
|
+
ResourceSpecification: output.resourceSpecification != null
|
|
11533
10956
|
? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
|
|
11534
10957
|
: undefined,
|
|
11535
10958
|
Start: __expectString(output.start),
|
|
11536
10959
|
State: __expectString(output.state),
|
|
11537
|
-
Tags: output.tags
|
|
11538
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
11539
|
-
: undefined,
|
|
10960
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
11540
10961
|
UsagePrice: __limitedParseDouble(output.usagePrice),
|
|
11541
10962
|
};
|
|
11542
10963
|
};
|
|
@@ -11557,9 +10978,7 @@ var deserializeAws_restJson1RtmpCaptionInfoDestinationSettings = function (outpu
|
|
|
11557
10978
|
};
|
|
11558
10979
|
var deserializeAws_restJson1RtmpGroupSettings = function (output, context) {
|
|
11559
10980
|
return {
|
|
11560
|
-
AdMarkers: output.adMarkers
|
|
11561
|
-
? deserializeAws_restJson1__listOfRtmpAdMarkers(output.adMarkers, context)
|
|
11562
|
-
: undefined,
|
|
10981
|
+
AdMarkers: output.adMarkers != null ? deserializeAws_restJson1__listOfRtmpAdMarkers(output.adMarkers, context) : undefined,
|
|
11563
10982
|
AuthenticationScheme: __expectString(output.authenticationScheme),
|
|
11564
10983
|
CacheFullBehavior: __expectString(output.cacheFullBehavior),
|
|
11565
10984
|
CacheLength: __expectInt32(output.cacheLength),
|
|
@@ -11572,75 +10991,70 @@ var deserializeAws_restJson1RtmpOutputSettings = function (output, context) {
|
|
|
11572
10991
|
return {
|
|
11573
10992
|
CertificateMode: __expectString(output.certificateMode),
|
|
11574
10993
|
ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
|
|
11575
|
-
Destination: output.destination
|
|
11576
|
-
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
11577
|
-
: undefined,
|
|
10994
|
+
Destination: output.destination != null ? deserializeAws_restJson1OutputLocationRef(output.destination, context) : undefined,
|
|
11578
10995
|
NumRetries: __expectInt32(output.numRetries),
|
|
11579
10996
|
};
|
|
11580
10997
|
};
|
|
11581
10998
|
var deserializeAws_restJson1ScheduleAction = function (output, context) {
|
|
11582
10999
|
return {
|
|
11583
11000
|
ActionName: __expectString(output.actionName),
|
|
11584
|
-
ScheduleActionSettings: output.scheduleActionSettings
|
|
11001
|
+
ScheduleActionSettings: output.scheduleActionSettings != null
|
|
11585
11002
|
? deserializeAws_restJson1ScheduleActionSettings(output.scheduleActionSettings, context)
|
|
11586
11003
|
: undefined,
|
|
11587
|
-
ScheduleActionStartSettings: output.scheduleActionStartSettings
|
|
11004
|
+
ScheduleActionStartSettings: output.scheduleActionStartSettings != null
|
|
11588
11005
|
? deserializeAws_restJson1ScheduleActionStartSettings(output.scheduleActionStartSettings, context)
|
|
11589
11006
|
: undefined,
|
|
11590
11007
|
};
|
|
11591
11008
|
};
|
|
11592
11009
|
var deserializeAws_restJson1ScheduleActionSettings = function (output, context) {
|
|
11593
11010
|
return {
|
|
11594
|
-
HlsId3SegmentTaggingSettings: output.hlsId3SegmentTaggingSettings
|
|
11011
|
+
HlsId3SegmentTaggingSettings: output.hlsId3SegmentTaggingSettings != null
|
|
11595
11012
|
? deserializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings(output.hlsId3SegmentTaggingSettings, context)
|
|
11596
11013
|
: undefined,
|
|
11597
|
-
HlsTimedMetadataSettings: output.hlsTimedMetadataSettings
|
|
11014
|
+
HlsTimedMetadataSettings: output.hlsTimedMetadataSettings != null
|
|
11598
11015
|
? deserializeAws_restJson1HlsTimedMetadataScheduleActionSettings(output.hlsTimedMetadataSettings, context)
|
|
11599
11016
|
: undefined,
|
|
11600
|
-
InputPrepareSettings: output.inputPrepareSettings
|
|
11017
|
+
InputPrepareSettings: output.inputPrepareSettings != null
|
|
11601
11018
|
? deserializeAws_restJson1InputPrepareScheduleActionSettings(output.inputPrepareSettings, context)
|
|
11602
11019
|
: undefined,
|
|
11603
|
-
InputSwitchSettings: output.inputSwitchSettings
|
|
11020
|
+
InputSwitchSettings: output.inputSwitchSettings != null
|
|
11604
11021
|
? deserializeAws_restJson1InputSwitchScheduleActionSettings(output.inputSwitchSettings, context)
|
|
11605
11022
|
: undefined,
|
|
11606
|
-
MotionGraphicsImageActivateSettings: output.motionGraphicsImageActivateSettings
|
|
11023
|
+
MotionGraphicsImageActivateSettings: output.motionGraphicsImageActivateSettings != null
|
|
11607
11024
|
? deserializeAws_restJson1MotionGraphicsActivateScheduleActionSettings(output.motionGraphicsImageActivateSettings, context)
|
|
11608
11025
|
: undefined,
|
|
11609
|
-
MotionGraphicsImageDeactivateSettings: output.motionGraphicsImageDeactivateSettings
|
|
11610
|
-
output.motionGraphicsImageDeactivateSettings !== null
|
|
11026
|
+
MotionGraphicsImageDeactivateSettings: output.motionGraphicsImageDeactivateSettings != null
|
|
11611
11027
|
? deserializeAws_restJson1MotionGraphicsDeactivateScheduleActionSettings(output.motionGraphicsImageDeactivateSettings, context)
|
|
11612
11028
|
: undefined,
|
|
11613
|
-
PauseStateSettings: output.pauseStateSettings
|
|
11029
|
+
PauseStateSettings: output.pauseStateSettings != null
|
|
11614
11030
|
? deserializeAws_restJson1PauseStateScheduleActionSettings(output.pauseStateSettings, context)
|
|
11615
11031
|
: undefined,
|
|
11616
|
-
Scte35ReturnToNetworkSettings: output.scte35ReturnToNetworkSettings
|
|
11032
|
+
Scte35ReturnToNetworkSettings: output.scte35ReturnToNetworkSettings != null
|
|
11617
11033
|
? deserializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings(output.scte35ReturnToNetworkSettings, context)
|
|
11618
11034
|
: undefined,
|
|
11619
|
-
Scte35SpliceInsertSettings: output.scte35SpliceInsertSettings
|
|
11035
|
+
Scte35SpliceInsertSettings: output.scte35SpliceInsertSettings != null
|
|
11620
11036
|
? deserializeAws_restJson1Scte35SpliceInsertScheduleActionSettings(output.scte35SpliceInsertSettings, context)
|
|
11621
11037
|
: undefined,
|
|
11622
|
-
Scte35TimeSignalSettings: output.scte35TimeSignalSettings
|
|
11038
|
+
Scte35TimeSignalSettings: output.scte35TimeSignalSettings != null
|
|
11623
11039
|
? deserializeAws_restJson1Scte35TimeSignalScheduleActionSettings(output.scte35TimeSignalSettings, context)
|
|
11624
11040
|
: undefined,
|
|
11625
|
-
StaticImageActivateSettings: output.staticImageActivateSettings
|
|
11041
|
+
StaticImageActivateSettings: output.staticImageActivateSettings != null
|
|
11626
11042
|
? deserializeAws_restJson1StaticImageActivateScheduleActionSettings(output.staticImageActivateSettings, context)
|
|
11627
11043
|
: undefined,
|
|
11628
|
-
StaticImageDeactivateSettings: output.staticImageDeactivateSettings
|
|
11044
|
+
StaticImageDeactivateSettings: output.staticImageDeactivateSettings != null
|
|
11629
11045
|
? deserializeAws_restJson1StaticImageDeactivateScheduleActionSettings(output.staticImageDeactivateSettings, context)
|
|
11630
11046
|
: undefined,
|
|
11631
11047
|
};
|
|
11632
11048
|
};
|
|
11633
11049
|
var deserializeAws_restJson1ScheduleActionStartSettings = function (output, context) {
|
|
11634
11050
|
return {
|
|
11635
|
-
FixedModeScheduleActionStartSettings: output.fixedModeScheduleActionStartSettings
|
|
11051
|
+
FixedModeScheduleActionStartSettings: output.fixedModeScheduleActionStartSettings != null
|
|
11636
11052
|
? deserializeAws_restJson1FixedModeScheduleActionStartSettings(output.fixedModeScheduleActionStartSettings, context)
|
|
11637
11053
|
: undefined,
|
|
11638
|
-
FollowModeScheduleActionStartSettings: output.followModeScheduleActionStartSettings
|
|
11639
|
-
output.followModeScheduleActionStartSettings !== null
|
|
11054
|
+
FollowModeScheduleActionStartSettings: output.followModeScheduleActionStartSettings != null
|
|
11640
11055
|
? deserializeAws_restJson1FollowModeScheduleActionStartSettings(output.followModeScheduleActionStartSettings, context)
|
|
11641
11056
|
: undefined,
|
|
11642
|
-
ImmediateModeScheduleActionStartSettings: output.immediateModeScheduleActionStartSettings
|
|
11643
|
-
output.immediateModeScheduleActionStartSettings !== null
|
|
11057
|
+
ImmediateModeScheduleActionStartSettings: output.immediateModeScheduleActionStartSettings != null
|
|
11644
11058
|
? deserializeAws_restJson1ImmediateModeScheduleActionStartSettings(output.immediateModeScheduleActionStartSettings, context)
|
|
11645
11059
|
: undefined,
|
|
11646
11060
|
};
|
|
@@ -11673,15 +11087,14 @@ var deserializeAws_restJson1Scte35DeliveryRestrictions = function (output, conte
|
|
|
11673
11087
|
};
|
|
11674
11088
|
var deserializeAws_restJson1Scte35Descriptor = function (output, context) {
|
|
11675
11089
|
return {
|
|
11676
|
-
Scte35DescriptorSettings: output.scte35DescriptorSettings
|
|
11090
|
+
Scte35DescriptorSettings: output.scte35DescriptorSettings != null
|
|
11677
11091
|
? deserializeAws_restJson1Scte35DescriptorSettings(output.scte35DescriptorSettings, context)
|
|
11678
11092
|
: undefined,
|
|
11679
11093
|
};
|
|
11680
11094
|
};
|
|
11681
11095
|
var deserializeAws_restJson1Scte35DescriptorSettings = function (output, context) {
|
|
11682
11096
|
return {
|
|
11683
|
-
SegmentationDescriptorScte35DescriptorSettings: output.segmentationDescriptorScte35DescriptorSettings
|
|
11684
|
-
output.segmentationDescriptorScte35DescriptorSettings !== null
|
|
11097
|
+
SegmentationDescriptorScte35DescriptorSettings: output.segmentationDescriptorScte35DescriptorSettings != null
|
|
11685
11098
|
? deserializeAws_restJson1Scte35SegmentationDescriptor(output.segmentationDescriptorScte35DescriptorSettings, context)
|
|
11686
11099
|
: undefined,
|
|
11687
11100
|
};
|
|
@@ -11693,7 +11106,7 @@ var deserializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings = functi
|
|
|
11693
11106
|
};
|
|
11694
11107
|
var deserializeAws_restJson1Scte35SegmentationDescriptor = function (output, context) {
|
|
11695
11108
|
return {
|
|
11696
|
-
DeliveryRestrictions: output.deliveryRestrictions
|
|
11109
|
+
DeliveryRestrictions: output.deliveryRestrictions != null
|
|
11697
11110
|
? deserializeAws_restJson1Scte35DeliveryRestrictions(output.deliveryRestrictions, context)
|
|
11698
11111
|
: undefined,
|
|
11699
11112
|
SegmentNum: __expectInt32(output.segmentNum),
|
|
@@ -11730,7 +11143,7 @@ var deserializeAws_restJson1Scte35TimeSignalApos = function (output, context) {
|
|
|
11730
11143
|
};
|
|
11731
11144
|
var deserializeAws_restJson1Scte35TimeSignalScheduleActionSettings = function (output, context) {
|
|
11732
11145
|
return {
|
|
11733
|
-
Scte35Descriptors: output.scte35Descriptors
|
|
11146
|
+
Scte35Descriptors: output.scte35Descriptors != null
|
|
11734
11147
|
? deserializeAws_restJson1__listOfScte35Descriptor(output.scte35Descriptors, context)
|
|
11735
11148
|
: undefined,
|
|
11736
11149
|
};
|
|
@@ -11741,9 +11154,7 @@ var deserializeAws_restJson1SmpteTtDestinationSettings = function (output, conte
|
|
|
11741
11154
|
var deserializeAws_restJson1StandardHlsSettings = function (output, context) {
|
|
11742
11155
|
return {
|
|
11743
11156
|
AudioRenditionSets: __expectString(output.audioRenditionSets),
|
|
11744
|
-
M3u8Settings: output.m3u8Settings
|
|
11745
|
-
? deserializeAws_restJson1M3u8Settings(output.m3u8Settings, context)
|
|
11746
|
-
: undefined,
|
|
11157
|
+
M3u8Settings: output.m3u8Settings != null ? deserializeAws_restJson1M3u8Settings(output.m3u8Settings, context) : undefined,
|
|
11747
11158
|
};
|
|
11748
11159
|
};
|
|
11749
11160
|
var deserializeAws_restJson1StartTimecode = function (output, context) {
|
|
@@ -11757,9 +11168,7 @@ var deserializeAws_restJson1StaticImageActivateScheduleActionSettings = function
|
|
|
11757
11168
|
FadeIn: __expectInt32(output.fadeIn),
|
|
11758
11169
|
FadeOut: __expectInt32(output.fadeOut),
|
|
11759
11170
|
Height: __expectInt32(output.height),
|
|
11760
|
-
Image: output.image
|
|
11761
|
-
? deserializeAws_restJson1InputLocation(output.image, context)
|
|
11762
|
-
: undefined,
|
|
11171
|
+
Image: output.image != null ? deserializeAws_restJson1InputLocation(output.image, context) : undefined,
|
|
11763
11172
|
ImageX: __expectInt32(output.imageX),
|
|
11764
11173
|
ImageY: __expectInt32(output.imageY),
|
|
11765
11174
|
Layer: __expectInt32(output.layer),
|
|
@@ -11775,7 +11184,7 @@ var deserializeAws_restJson1StaticImageDeactivateScheduleActionSettings = functi
|
|
|
11775
11184
|
};
|
|
11776
11185
|
var deserializeAws_restJson1StaticKeySettings = function (output, context) {
|
|
11777
11186
|
return {
|
|
11778
|
-
KeyProviderServer: output.keyProviderServer
|
|
11187
|
+
KeyProviderServer: output.keyProviderServer != null
|
|
11779
11188
|
? deserializeAws_restJson1InputLocation(output.keyProviderServer, context)
|
|
11780
11189
|
: undefined,
|
|
11781
11190
|
StaticKeyValue: __expectString(output.staticKeyValue),
|
|
@@ -11802,7 +11211,7 @@ var deserializeAws_restJson1TeletextDestinationSettings = function (output, cont
|
|
|
11802
11211
|
};
|
|
11803
11212
|
var deserializeAws_restJson1TeletextSourceSettings = function (output, context) {
|
|
11804
11213
|
return {
|
|
11805
|
-
OutputRectangle: output.outputRectangle
|
|
11214
|
+
OutputRectangle: output.outputRectangle != null
|
|
11806
11215
|
? deserializeAws_restJson1CaptionRectangle(output.outputRectangle, context)
|
|
11807
11216
|
: undefined,
|
|
11808
11217
|
PageNumber: __expectString(output.pageNumber),
|
|
@@ -11835,9 +11244,7 @@ var deserializeAws_restJson1TtmlDestinationSettings = function (output, context)
|
|
|
11835
11244
|
};
|
|
11836
11245
|
var deserializeAws_restJson1UdpContainerSettings = function (output, context) {
|
|
11837
11246
|
return {
|
|
11838
|
-
M2tsSettings: output.m2tsSettings
|
|
11839
|
-
? deserializeAws_restJson1M2tsSettings(output.m2tsSettings, context)
|
|
11840
|
-
: undefined,
|
|
11247
|
+
M2tsSettings: output.m2tsSettings != null ? deserializeAws_restJson1M2tsSettings(output.m2tsSettings, context) : undefined,
|
|
11841
11248
|
};
|
|
11842
11249
|
};
|
|
11843
11250
|
var deserializeAws_restJson1UdpGroupSettings = function (output, context) {
|
|
@@ -11850,13 +11257,11 @@ var deserializeAws_restJson1UdpGroupSettings = function (output, context) {
|
|
|
11850
11257
|
var deserializeAws_restJson1UdpOutputSettings = function (output, context) {
|
|
11851
11258
|
return {
|
|
11852
11259
|
BufferMsec: __expectInt32(output.bufferMsec),
|
|
11853
|
-
ContainerSettings: output.containerSettings
|
|
11260
|
+
ContainerSettings: output.containerSettings != null
|
|
11854
11261
|
? deserializeAws_restJson1UdpContainerSettings(output.containerSettings, context)
|
|
11855
11262
|
: undefined,
|
|
11856
|
-
Destination: output.destination
|
|
11857
|
-
|
|
11858
|
-
: undefined,
|
|
11859
|
-
FecOutputSettings: output.fecOutputSettings !== undefined && output.fecOutputSettings !== null
|
|
11263
|
+
Destination: output.destination != null ? deserializeAws_restJson1OutputLocationRef(output.destination, context) : undefined,
|
|
11264
|
+
FecOutputSettings: output.fecOutputSettings != null
|
|
11860
11265
|
? deserializeAws_restJson1FecOutputSettings(output.fecOutputSettings, context)
|
|
11861
11266
|
: undefined,
|
|
11862
11267
|
};
|
|
@@ -11875,23 +11280,17 @@ var deserializeAws_restJson1VideoBlackFailoverSettings = function (output, conte
|
|
|
11875
11280
|
};
|
|
11876
11281
|
var deserializeAws_restJson1VideoCodecSettings = function (output, context) {
|
|
11877
11282
|
return {
|
|
11878
|
-
FrameCaptureSettings: output.frameCaptureSettings
|
|
11283
|
+
FrameCaptureSettings: output.frameCaptureSettings != null
|
|
11879
11284
|
? deserializeAws_restJson1FrameCaptureSettings(output.frameCaptureSettings, context)
|
|
11880
11285
|
: undefined,
|
|
11881
|
-
H264Settings: output.h264Settings
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
H265Settings: output.h265Settings !== undefined && output.h265Settings !== null
|
|
11885
|
-
? deserializeAws_restJson1H265Settings(output.h265Settings, context)
|
|
11886
|
-
: undefined,
|
|
11887
|
-
Mpeg2Settings: output.mpeg2Settings !== undefined && output.mpeg2Settings !== null
|
|
11888
|
-
? deserializeAws_restJson1Mpeg2Settings(output.mpeg2Settings, context)
|
|
11889
|
-
: undefined,
|
|
11286
|
+
H264Settings: output.h264Settings != null ? deserializeAws_restJson1H264Settings(output.h264Settings, context) : undefined,
|
|
11287
|
+
H265Settings: output.h265Settings != null ? deserializeAws_restJson1H265Settings(output.h265Settings, context) : undefined,
|
|
11288
|
+
Mpeg2Settings: output.mpeg2Settings != null ? deserializeAws_restJson1Mpeg2Settings(output.mpeg2Settings, context) : undefined,
|
|
11890
11289
|
};
|
|
11891
11290
|
};
|
|
11892
11291
|
var deserializeAws_restJson1VideoDescription = function (output, context) {
|
|
11893
11292
|
return {
|
|
11894
|
-
CodecSettings: output.codecSettings
|
|
11293
|
+
CodecSettings: output.codecSettings != null
|
|
11895
11294
|
? deserializeAws_restJson1VideoCodecSettings(output.codecSettings, context)
|
|
11896
11295
|
: undefined,
|
|
11897
11296
|
Height: __expectInt32(output.height),
|
|
@@ -11905,20 +11304,18 @@ var deserializeAws_restJson1VideoDescription = function (output, context) {
|
|
|
11905
11304
|
var deserializeAws_restJson1VideoSelector = function (output, context) {
|
|
11906
11305
|
return {
|
|
11907
11306
|
ColorSpace: __expectString(output.colorSpace),
|
|
11908
|
-
ColorSpaceSettings: output.colorSpaceSettings
|
|
11307
|
+
ColorSpaceSettings: output.colorSpaceSettings != null
|
|
11909
11308
|
? deserializeAws_restJson1VideoSelectorColorSpaceSettings(output.colorSpaceSettings, context)
|
|
11910
11309
|
: undefined,
|
|
11911
11310
|
ColorSpaceUsage: __expectString(output.colorSpaceUsage),
|
|
11912
|
-
SelectorSettings: output.selectorSettings
|
|
11311
|
+
SelectorSettings: output.selectorSettings != null
|
|
11913
11312
|
? deserializeAws_restJson1VideoSelectorSettings(output.selectorSettings, context)
|
|
11914
11313
|
: undefined,
|
|
11915
11314
|
};
|
|
11916
11315
|
};
|
|
11917
11316
|
var deserializeAws_restJson1VideoSelectorColorSpaceSettings = function (output, context) {
|
|
11918
11317
|
return {
|
|
11919
|
-
Hdr10Settings: output.hdr10Settings
|
|
11920
|
-
? deserializeAws_restJson1Hdr10Settings(output.hdr10Settings, context)
|
|
11921
|
-
: undefined,
|
|
11318
|
+
Hdr10Settings: output.hdr10Settings != null ? deserializeAws_restJson1Hdr10Settings(output.hdr10Settings, context) : undefined,
|
|
11922
11319
|
};
|
|
11923
11320
|
};
|
|
11924
11321
|
var deserializeAws_restJson1VideoSelectorPid = function (output, context) {
|
|
@@ -11933,28 +11330,26 @@ var deserializeAws_restJson1VideoSelectorProgramId = function (output, context)
|
|
|
11933
11330
|
};
|
|
11934
11331
|
var deserializeAws_restJson1VideoSelectorSettings = function (output, context) {
|
|
11935
11332
|
return {
|
|
11936
|
-
VideoSelectorPid: output.videoSelectorPid
|
|
11333
|
+
VideoSelectorPid: output.videoSelectorPid != null
|
|
11937
11334
|
? deserializeAws_restJson1VideoSelectorPid(output.videoSelectorPid, context)
|
|
11938
11335
|
: undefined,
|
|
11939
|
-
VideoSelectorProgramId: output.videoSelectorProgramId
|
|
11336
|
+
VideoSelectorProgramId: output.videoSelectorProgramId != null
|
|
11940
11337
|
? deserializeAws_restJson1VideoSelectorProgramId(output.videoSelectorProgramId, context)
|
|
11941
11338
|
: undefined,
|
|
11942
11339
|
};
|
|
11943
11340
|
};
|
|
11944
11341
|
var deserializeAws_restJson1VpcOutputSettingsDescription = function (output, context) {
|
|
11945
11342
|
return {
|
|
11946
|
-
AvailabilityZones: output.availabilityZones
|
|
11343
|
+
AvailabilityZones: output.availabilityZones != null
|
|
11947
11344
|
? deserializeAws_restJson1__listOf__string(output.availabilityZones, context)
|
|
11948
11345
|
: undefined,
|
|
11949
|
-
NetworkInterfaceIds: output.networkInterfaceIds
|
|
11346
|
+
NetworkInterfaceIds: output.networkInterfaceIds != null
|
|
11950
11347
|
? deserializeAws_restJson1__listOf__string(output.networkInterfaceIds, context)
|
|
11951
11348
|
: undefined,
|
|
11952
|
-
SecurityGroupIds: output.securityGroupIds
|
|
11349
|
+
SecurityGroupIds: output.securityGroupIds != null
|
|
11953
11350
|
? deserializeAws_restJson1__listOf__string(output.securityGroupIds, context)
|
|
11954
11351
|
: undefined,
|
|
11955
|
-
SubnetIds: output.subnetIds
|
|
11956
|
-
? deserializeAws_restJson1__listOf__string(output.subnetIds, context)
|
|
11957
|
-
: undefined,
|
|
11352
|
+
SubnetIds: output.subnetIds != null ? deserializeAws_restJson1__listOf__string(output.subnetIds, context) : undefined,
|
|
11958
11353
|
};
|
|
11959
11354
|
};
|
|
11960
11355
|
var deserializeAws_restJson1WavSettings = function (output, context) {
|
|
@@ -12007,6 +11402,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
12007
11402
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
12008
11403
|
var sanitizeErrorCode = function (rawValue) {
|
|
12009
11404
|
var cleanValue = rawValue;
|
|
11405
|
+
if (typeof cleanValue === "number") {
|
|
11406
|
+
cleanValue = cleanValue.toString();
|
|
11407
|
+
}
|
|
12010
11408
|
if (cleanValue.indexOf(":") >= 0) {
|
|
12011
11409
|
cleanValue = cleanValue.split(":")[0];
|
|
12012
11410
|
}
|