@aws-sdk/client-mediaconvert 3.28.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +339 -339
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +425 -391
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +345 -341
|
@@ -207,10 +207,14 @@ import {
|
|
|
207
207
|
} from "../models/models_1";
|
|
208
208
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
209
209
|
import {
|
|
210
|
-
|
|
210
|
+
expectInt32 as __expectInt32,
|
|
211
|
+
expectNonNull as __expectNonNull,
|
|
212
|
+
expectNumber as __expectNumber,
|
|
213
|
+
expectObject as __expectObject,
|
|
211
214
|
expectString as __expectString,
|
|
212
215
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
213
|
-
|
|
216
|
+
limitedParseDouble as __limitedParseDouble,
|
|
217
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
214
218
|
serializeFloat as __serializeFloat,
|
|
215
219
|
} from "@aws-sdk/smithy-client";
|
|
216
220
|
import {
|
|
@@ -1199,7 +1203,7 @@ export const deserializeAws_restJson1CreateJobCommand = async (
|
|
|
1199
1203
|
$metadata: deserializeMetadata(output),
|
|
1200
1204
|
Job: undefined,
|
|
1201
1205
|
};
|
|
1202
|
-
const data: any = await parseBody(output.body, context);
|
|
1206
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1203
1207
|
if (data.job !== undefined && data.job !== null) {
|
|
1204
1208
|
contents.Job = deserializeAws_restJson1Job(data.job, context);
|
|
1205
1209
|
}
|
|
@@ -1294,7 +1298,7 @@ export const deserializeAws_restJson1CreateJobTemplateCommand = async (
|
|
|
1294
1298
|
$metadata: deserializeMetadata(output),
|
|
1295
1299
|
JobTemplate: undefined,
|
|
1296
1300
|
};
|
|
1297
|
-
const data: any = await parseBody(output.body, context);
|
|
1301
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1298
1302
|
if (data.jobTemplate !== undefined && data.jobTemplate !== null) {
|
|
1299
1303
|
contents.JobTemplate = deserializeAws_restJson1JobTemplate(data.jobTemplate, context);
|
|
1300
1304
|
}
|
|
@@ -1389,7 +1393,7 @@ export const deserializeAws_restJson1CreatePresetCommand = async (
|
|
|
1389
1393
|
$metadata: deserializeMetadata(output),
|
|
1390
1394
|
Preset: undefined,
|
|
1391
1395
|
};
|
|
1392
|
-
const data: any = await parseBody(output.body, context);
|
|
1396
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1393
1397
|
if (data.preset !== undefined && data.preset !== null) {
|
|
1394
1398
|
contents.Preset = deserializeAws_restJson1Preset(data.preset, context);
|
|
1395
1399
|
}
|
|
@@ -1484,7 +1488,7 @@ export const deserializeAws_restJson1CreateQueueCommand = async (
|
|
|
1484
1488
|
$metadata: deserializeMetadata(output),
|
|
1485
1489
|
Queue: undefined,
|
|
1486
1490
|
};
|
|
1487
|
-
const data: any = await parseBody(output.body, context);
|
|
1491
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1488
1492
|
if (data.queue !== undefined && data.queue !== null) {
|
|
1489
1493
|
contents.Queue = deserializeAws_restJson1Queue(data.queue, context);
|
|
1490
1494
|
}
|
|
@@ -1853,7 +1857,7 @@ export const deserializeAws_restJson1DescribeEndpointsCommand = async (
|
|
|
1853
1857
|
Endpoints: undefined,
|
|
1854
1858
|
NextToken: undefined,
|
|
1855
1859
|
};
|
|
1856
|
-
const data: any = await parseBody(output.body, context);
|
|
1860
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1857
1861
|
if (data.endpoints !== undefined && data.endpoints !== null) {
|
|
1858
1862
|
contents.Endpoints = deserializeAws_restJson1__listOfEndpoint(data.endpoints, context);
|
|
1859
1863
|
}
|
|
@@ -2042,7 +2046,7 @@ export const deserializeAws_restJson1GetJobCommand = async (
|
|
|
2042
2046
|
$metadata: deserializeMetadata(output),
|
|
2043
2047
|
Job: undefined,
|
|
2044
2048
|
};
|
|
2045
|
-
const data: any = await parseBody(output.body, context);
|
|
2049
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2046
2050
|
if (data.job !== undefined && data.job !== null) {
|
|
2047
2051
|
contents.Job = deserializeAws_restJson1Job(data.job, context);
|
|
2048
2052
|
}
|
|
@@ -2137,7 +2141,7 @@ export const deserializeAws_restJson1GetJobTemplateCommand = async (
|
|
|
2137
2141
|
$metadata: deserializeMetadata(output),
|
|
2138
2142
|
JobTemplate: undefined,
|
|
2139
2143
|
};
|
|
2140
|
-
const data: any = await parseBody(output.body, context);
|
|
2144
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2141
2145
|
if (data.jobTemplate !== undefined && data.jobTemplate !== null) {
|
|
2142
2146
|
contents.JobTemplate = deserializeAws_restJson1JobTemplate(data.jobTemplate, context);
|
|
2143
2147
|
}
|
|
@@ -2232,7 +2236,7 @@ export const deserializeAws_restJson1GetPresetCommand = async (
|
|
|
2232
2236
|
$metadata: deserializeMetadata(output),
|
|
2233
2237
|
Preset: undefined,
|
|
2234
2238
|
};
|
|
2235
|
-
const data: any = await parseBody(output.body, context);
|
|
2239
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2236
2240
|
if (data.preset !== undefined && data.preset !== null) {
|
|
2237
2241
|
contents.Preset = deserializeAws_restJson1Preset(data.preset, context);
|
|
2238
2242
|
}
|
|
@@ -2327,7 +2331,7 @@ export const deserializeAws_restJson1GetQueueCommand = async (
|
|
|
2327
2331
|
$metadata: deserializeMetadata(output),
|
|
2328
2332
|
Queue: undefined,
|
|
2329
2333
|
};
|
|
2330
|
-
const data: any = await parseBody(output.body, context);
|
|
2334
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2331
2335
|
if (data.queue !== undefined && data.queue !== null) {
|
|
2332
2336
|
contents.Queue = deserializeAws_restJson1Queue(data.queue, context);
|
|
2333
2337
|
}
|
|
@@ -2423,7 +2427,7 @@ export const deserializeAws_restJson1ListJobsCommand = async (
|
|
|
2423
2427
|
Jobs: undefined,
|
|
2424
2428
|
NextToken: undefined,
|
|
2425
2429
|
};
|
|
2426
|
-
const data: any = await parseBody(output.body, context);
|
|
2430
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2427
2431
|
if (data.jobs !== undefined && data.jobs !== null) {
|
|
2428
2432
|
contents.Jobs = deserializeAws_restJson1__listOfJob(data.jobs, context);
|
|
2429
2433
|
}
|
|
@@ -2522,7 +2526,7 @@ export const deserializeAws_restJson1ListJobTemplatesCommand = async (
|
|
|
2522
2526
|
JobTemplates: undefined,
|
|
2523
2527
|
NextToken: undefined,
|
|
2524
2528
|
};
|
|
2525
|
-
const data: any = await parseBody(output.body, context);
|
|
2529
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2526
2530
|
if (data.jobTemplates !== undefined && data.jobTemplates !== null) {
|
|
2527
2531
|
contents.JobTemplates = deserializeAws_restJson1__listOfJobTemplate(data.jobTemplates, context);
|
|
2528
2532
|
}
|
|
@@ -2621,7 +2625,7 @@ export const deserializeAws_restJson1ListPresetsCommand = async (
|
|
|
2621
2625
|
NextToken: undefined,
|
|
2622
2626
|
Presets: undefined,
|
|
2623
2627
|
};
|
|
2624
|
-
const data: any = await parseBody(output.body, context);
|
|
2628
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2625
2629
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2626
2630
|
contents.NextToken = __expectString(data.nextToken);
|
|
2627
2631
|
}
|
|
@@ -2720,7 +2724,7 @@ export const deserializeAws_restJson1ListQueuesCommand = async (
|
|
|
2720
2724
|
NextToken: undefined,
|
|
2721
2725
|
Queues: undefined,
|
|
2722
2726
|
};
|
|
2723
|
-
const data: any = await parseBody(output.body, context);
|
|
2727
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2724
2728
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2725
2729
|
contents.NextToken = __expectString(data.nextToken);
|
|
2726
2730
|
}
|
|
@@ -2818,7 +2822,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
|
|
|
2818
2822
|
$metadata: deserializeMetadata(output),
|
|
2819
2823
|
ResourceTags: undefined,
|
|
2820
2824
|
};
|
|
2821
|
-
const data: any = await parseBody(output.body, context);
|
|
2825
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2822
2826
|
if (data.resourceTags !== undefined && data.resourceTags !== null) {
|
|
2823
2827
|
contents.ResourceTags = deserializeAws_restJson1ResourceTags(data.resourceTags, context);
|
|
2824
2828
|
}
|
|
@@ -3095,7 +3099,7 @@ export const deserializeAws_restJson1UpdateJobTemplateCommand = async (
|
|
|
3095
3099
|
$metadata: deserializeMetadata(output),
|
|
3096
3100
|
JobTemplate: undefined,
|
|
3097
3101
|
};
|
|
3098
|
-
const data: any = await parseBody(output.body, context);
|
|
3102
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3099
3103
|
if (data.jobTemplate !== undefined && data.jobTemplate !== null) {
|
|
3100
3104
|
contents.JobTemplate = deserializeAws_restJson1JobTemplate(data.jobTemplate, context);
|
|
3101
3105
|
}
|
|
@@ -3190,7 +3194,7 @@ export const deserializeAws_restJson1UpdatePresetCommand = async (
|
|
|
3190
3194
|
$metadata: deserializeMetadata(output),
|
|
3191
3195
|
Preset: undefined,
|
|
3192
3196
|
};
|
|
3193
|
-
const data: any = await parseBody(output.body, context);
|
|
3197
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3194
3198
|
if (data.preset !== undefined && data.preset !== null) {
|
|
3195
3199
|
contents.Preset = deserializeAws_restJson1Preset(data.preset, context);
|
|
3196
3200
|
}
|
|
@@ -3285,7 +3289,7 @@ export const deserializeAws_restJson1UpdateQueueCommand = async (
|
|
|
3285
3289
|
$metadata: deserializeMetadata(output),
|
|
3286
3290
|
Queue: undefined,
|
|
3287
3291
|
};
|
|
3288
|
-
const data: any = await parseBody(output.body, context);
|
|
3292
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3289
3293
|
if (data.queue !== undefined && data.queue !== null) {
|
|
3290
3294
|
contents.Queue = deserializeAws_restJson1Queue(data.queue, context);
|
|
3291
3295
|
}
|
|
@@ -6675,7 +6679,7 @@ const deserializeAws_restJson1__listOf__doubleMinNegative60Max6 = (output: any,
|
|
|
6675
6679
|
if (entry === null) {
|
|
6676
6680
|
return null as any;
|
|
6677
6681
|
}
|
|
6678
|
-
return
|
|
6682
|
+
return __limitedParseDouble(entry) as any;
|
|
6679
6683
|
});
|
|
6680
6684
|
};
|
|
6681
6685
|
|
|
@@ -6686,7 +6690,7 @@ const deserializeAws_restJson1__listOf__integerMin1Max2147483647 = (output: any,
|
|
|
6686
6690
|
if (entry === null) {
|
|
6687
6691
|
return null as any;
|
|
6688
6692
|
}
|
|
6689
|
-
return
|
|
6693
|
+
return __expectInt32(entry) as any;
|
|
6690
6694
|
});
|
|
6691
6695
|
};
|
|
6692
6696
|
|
|
@@ -6697,7 +6701,7 @@ const deserializeAws_restJson1__listOf__integerMin32Max8182 = (output: any, cont
|
|
|
6697
6701
|
if (entry === null) {
|
|
6698
6702
|
return null as any;
|
|
6699
6703
|
}
|
|
6700
|
-
return
|
|
6704
|
+
return __expectInt32(entry) as any;
|
|
6701
6705
|
});
|
|
6702
6706
|
};
|
|
6703
6707
|
|
|
@@ -6708,7 +6712,7 @@ const deserializeAws_restJson1__listOf__integerMinNegative60Max6 = (output: any,
|
|
|
6708
6712
|
if (entry === null) {
|
|
6709
6713
|
return null as any;
|
|
6710
6714
|
}
|
|
6711
|
-
return
|
|
6715
|
+
return __expectInt32(entry) as any;
|
|
6712
6716
|
});
|
|
6713
6717
|
};
|
|
6714
6718
|
|
|
@@ -7166,12 +7170,12 @@ const deserializeAws_restJson1__mapOfCaptionSelector = (
|
|
|
7166
7170
|
const deserializeAws_restJson1AacSettings = (output: any, context: __SerdeContext): AacSettings => {
|
|
7167
7171
|
return {
|
|
7168
7172
|
AudioDescriptionBroadcasterMix: __expectString(output.audioDescriptionBroadcasterMix),
|
|
7169
|
-
Bitrate:
|
|
7173
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
7170
7174
|
CodecProfile: __expectString(output.codecProfile),
|
|
7171
7175
|
CodingMode: __expectString(output.codingMode),
|
|
7172
7176
|
RateControlMode: __expectString(output.rateControlMode),
|
|
7173
7177
|
RawFormat: __expectString(output.rawFormat),
|
|
7174
|
-
SampleRate:
|
|
7178
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
7175
7179
|
Specification: __expectString(output.specification),
|
|
7176
7180
|
VbrQuality: __expectString(output.vbrQuality),
|
|
7177
7181
|
} as any;
|
|
@@ -7179,16 +7183,16 @@ const deserializeAws_restJson1AacSettings = (output: any, context: __SerdeContex
|
|
|
7179
7183
|
|
|
7180
7184
|
const deserializeAws_restJson1Ac3Settings = (output: any, context: __SerdeContext): Ac3Settings => {
|
|
7181
7185
|
return {
|
|
7182
|
-
Bitrate:
|
|
7186
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
7183
7187
|
BitstreamMode: __expectString(output.bitstreamMode),
|
|
7184
7188
|
CodingMode: __expectString(output.codingMode),
|
|
7185
|
-
Dialnorm:
|
|
7189
|
+
Dialnorm: __expectInt32(output.dialnorm),
|
|
7186
7190
|
DynamicRangeCompressionLine: __expectString(output.dynamicRangeCompressionLine),
|
|
7187
7191
|
DynamicRangeCompressionProfile: __expectString(output.dynamicRangeCompressionProfile),
|
|
7188
7192
|
DynamicRangeCompressionRf: __expectString(output.dynamicRangeCompressionRf),
|
|
7189
7193
|
LfeFilter: __expectString(output.lfeFilter),
|
|
7190
7194
|
MetadataControl: __expectString(output.metadataControl),
|
|
7191
|
-
SampleRate:
|
|
7195
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
7192
7196
|
} as any;
|
|
7193
7197
|
};
|
|
7194
7198
|
|
|
@@ -7200,9 +7204,9 @@ const deserializeAws_restJson1AccelerationSettings = (output: any, context: __Se
|
|
|
7200
7204
|
|
|
7201
7205
|
const deserializeAws_restJson1AiffSettings = (output: any, context: __SerdeContext): AiffSettings => {
|
|
7202
7206
|
return {
|
|
7203
|
-
BitDepth:
|
|
7204
|
-
Channels:
|
|
7205
|
-
SampleRate:
|
|
7207
|
+
BitDepth: __expectInt32(output.bitDepth),
|
|
7208
|
+
Channels: __expectInt32(output.channels),
|
|
7209
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
7206
7210
|
} as any;
|
|
7207
7211
|
};
|
|
7208
7212
|
|
|
@@ -7212,7 +7216,7 @@ const deserializeAws_restJson1AncillarySourceSettings = (
|
|
|
7212
7216
|
): AncillarySourceSettings => {
|
|
7213
7217
|
return {
|
|
7214
7218
|
Convert608To708: __expectString(output.convert608To708),
|
|
7215
|
-
SourceAncillaryChannelNumber:
|
|
7219
|
+
SourceAncillaryChannelNumber: __expectInt32(output.sourceAncillaryChannelNumber),
|
|
7216
7220
|
TerminateCaptions: __expectString(output.terminateCaptions),
|
|
7217
7221
|
} as any;
|
|
7218
7222
|
};
|
|
@@ -7283,7 +7287,7 @@ const deserializeAws_restJson1AudioDescription = (output: any, context: __SerdeC
|
|
|
7283
7287
|
? deserializeAws_restJson1AudioNormalizationSettings(output.audioNormalizationSettings, context)
|
|
7284
7288
|
: undefined,
|
|
7285
7289
|
AudioSourceName: __expectString(output.audioSourceName),
|
|
7286
|
-
AudioType:
|
|
7290
|
+
AudioType: __expectInt32(output.audioType),
|
|
7287
7291
|
AudioTypeControl: __expectString(output.audioTypeControl),
|
|
7288
7292
|
CodecSettings:
|
|
7289
7293
|
output.codecSettings !== undefined && output.codecSettings !== null
|
|
@@ -7307,10 +7311,10 @@ const deserializeAws_restJson1AudioNormalizationSettings = (
|
|
|
7307
7311
|
return {
|
|
7308
7312
|
Algorithm: __expectString(output.algorithm),
|
|
7309
7313
|
AlgorithmControl: __expectString(output.algorithmControl),
|
|
7310
|
-
CorrectionGateLevel:
|
|
7314
|
+
CorrectionGateLevel: __expectInt32(output.correctionGateLevel),
|
|
7311
7315
|
LoudnessLogging: __expectString(output.loudnessLogging),
|
|
7312
7316
|
PeakCalculation: __expectString(output.peakCalculation),
|
|
7313
|
-
TargetLkfs:
|
|
7317
|
+
TargetLkfs: __limitedParseDouble(output.targetLkfs),
|
|
7314
7318
|
} as any;
|
|
7315
7319
|
};
|
|
7316
7320
|
|
|
@@ -7324,12 +7328,12 @@ const deserializeAws_restJson1AudioSelector = (output: any, context: __SerdeCont
|
|
|
7324
7328
|
? deserializeAws_restJson1HlsRenditionGroupSettings(output.hlsRenditionGroupSettings, context)
|
|
7325
7329
|
: undefined,
|
|
7326
7330
|
LanguageCode: __expectString(output.languageCode),
|
|
7327
|
-
Offset:
|
|
7331
|
+
Offset: __expectInt32(output.offset),
|
|
7328
7332
|
Pids:
|
|
7329
7333
|
output.pids !== undefined && output.pids !== null
|
|
7330
7334
|
? deserializeAws_restJson1__listOf__integerMin1Max2147483647(output.pids, context)
|
|
7331
7335
|
: undefined,
|
|
7332
|
-
ProgramSelection:
|
|
7336
|
+
ProgramSelection: __expectInt32(output.programSelection),
|
|
7333
7337
|
RemixSettings:
|
|
7334
7338
|
output.remixSettings !== undefined && output.remixSettings !== null
|
|
7335
7339
|
? deserializeAws_restJson1RemixSettings(output.remixSettings, context)
|
|
@@ -7353,9 +7357,9 @@ const deserializeAws_restJson1AudioSelectorGroup = (output: any, context: __Serd
|
|
|
7353
7357
|
|
|
7354
7358
|
const deserializeAws_restJson1AutomatedAbrSettings = (output: any, context: __SerdeContext): AutomatedAbrSettings => {
|
|
7355
7359
|
return {
|
|
7356
|
-
MaxAbrBitrate:
|
|
7357
|
-
MaxRenditions:
|
|
7358
|
-
MinAbrBitrate:
|
|
7360
|
+
MaxAbrBitrate: __expectInt32(output.maxAbrBitrate),
|
|
7361
|
+
MaxRenditions: __expectInt32(output.maxRenditions),
|
|
7362
|
+
MinAbrBitrate: __expectInt32(output.minAbrBitrate),
|
|
7359
7363
|
} as any;
|
|
7360
7364
|
};
|
|
7361
7365
|
|
|
@@ -7373,8 +7377,8 @@ const deserializeAws_restJson1AutomatedEncodingSettings = (
|
|
|
7373
7377
|
|
|
7374
7378
|
const deserializeAws_restJson1Av1QvbrSettings = (output: any, context: __SerdeContext): Av1QvbrSettings => {
|
|
7375
7379
|
return {
|
|
7376
|
-
QvbrQualityLevel:
|
|
7377
|
-
QvbrQualityLevelFineTune:
|
|
7380
|
+
QvbrQualityLevel: __expectInt32(output.qvbrQualityLevel),
|
|
7381
|
+
QvbrQualityLevelFineTune: __limitedParseDouble(output.qvbrQualityLevelFineTune),
|
|
7378
7382
|
} as any;
|
|
7379
7383
|
};
|
|
7380
7384
|
|
|
@@ -7383,17 +7387,17 @@ const deserializeAws_restJson1Av1Settings = (output: any, context: __SerdeContex
|
|
|
7383
7387
|
AdaptiveQuantization: __expectString(output.adaptiveQuantization),
|
|
7384
7388
|
FramerateControl: __expectString(output.framerateControl),
|
|
7385
7389
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
7386
|
-
FramerateDenominator:
|
|
7387
|
-
FramerateNumerator:
|
|
7388
|
-
GopSize:
|
|
7389
|
-
MaxBitrate:
|
|
7390
|
-
NumberBFramesBetweenReferenceFrames:
|
|
7390
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
7391
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
7392
|
+
GopSize: __limitedParseDouble(output.gopSize),
|
|
7393
|
+
MaxBitrate: __expectInt32(output.maxBitrate),
|
|
7394
|
+
NumberBFramesBetweenReferenceFrames: __expectInt32(output.numberBFramesBetweenReferenceFrames),
|
|
7391
7395
|
QvbrSettings:
|
|
7392
7396
|
output.qvbrSettings !== undefined && output.qvbrSettings !== null
|
|
7393
7397
|
? deserializeAws_restJson1Av1QvbrSettings(output.qvbrSettings, context)
|
|
7394
7398
|
: undefined,
|
|
7395
7399
|
RateControlMode: __expectString(output.rateControlMode),
|
|
7396
|
-
Slices:
|
|
7400
|
+
Slices: __expectInt32(output.slices),
|
|
7397
7401
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
7398
7402
|
} as any;
|
|
7399
7403
|
};
|
|
@@ -7413,8 +7417,8 @@ const deserializeAws_restJson1AvcIntraSettings = (output: any, context: __SerdeC
|
|
|
7413
7417
|
: undefined,
|
|
7414
7418
|
FramerateControl: __expectString(output.framerateControl),
|
|
7415
7419
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
7416
|
-
FramerateDenominator:
|
|
7417
|
-
FramerateNumerator:
|
|
7420
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
7421
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
7418
7422
|
InterlaceMode: __expectString(output.interlaceMode),
|
|
7419
7423
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
7420
7424
|
SlowPal: __expectString(output.slowPal),
|
|
@@ -7435,21 +7439,21 @@ const deserializeAws_restJson1BurninDestinationSettings = (
|
|
|
7435
7439
|
return {
|
|
7436
7440
|
Alignment: __expectString(output.alignment),
|
|
7437
7441
|
BackgroundColor: __expectString(output.backgroundColor),
|
|
7438
|
-
BackgroundOpacity:
|
|
7442
|
+
BackgroundOpacity: __expectInt32(output.backgroundOpacity),
|
|
7439
7443
|
FontColor: __expectString(output.fontColor),
|
|
7440
|
-
FontOpacity:
|
|
7441
|
-
FontResolution:
|
|
7444
|
+
FontOpacity: __expectInt32(output.fontOpacity),
|
|
7445
|
+
FontResolution: __expectInt32(output.fontResolution),
|
|
7442
7446
|
FontScript: __expectString(output.fontScript),
|
|
7443
|
-
FontSize:
|
|
7447
|
+
FontSize: __expectInt32(output.fontSize),
|
|
7444
7448
|
OutlineColor: __expectString(output.outlineColor),
|
|
7445
|
-
OutlineSize:
|
|
7449
|
+
OutlineSize: __expectInt32(output.outlineSize),
|
|
7446
7450
|
ShadowColor: __expectString(output.shadowColor),
|
|
7447
|
-
ShadowOpacity:
|
|
7448
|
-
ShadowXOffset:
|
|
7449
|
-
ShadowYOffset:
|
|
7451
|
+
ShadowOpacity: __expectInt32(output.shadowOpacity),
|
|
7452
|
+
ShadowXOffset: __expectInt32(output.shadowXOffset),
|
|
7453
|
+
ShadowYOffset: __expectInt32(output.shadowYOffset),
|
|
7450
7454
|
TeletextSpacing: __expectString(output.teletextSpacing),
|
|
7451
|
-
XPosition:
|
|
7452
|
-
YPosition:
|
|
7455
|
+
XPosition: __expectInt32(output.xPosition),
|
|
7456
|
+
YPosition: __expectInt32(output.yPosition),
|
|
7453
7457
|
} as any;
|
|
7454
7458
|
};
|
|
7455
7459
|
|
|
@@ -7542,8 +7546,8 @@ const deserializeAws_restJson1CaptionSourceFramerate = (
|
|
|
7542
7546
|
context: __SerdeContext
|
|
7543
7547
|
): CaptionSourceFramerate => {
|
|
7544
7548
|
return {
|
|
7545
|
-
FramerateDenominator:
|
|
7546
|
-
FramerateNumerator:
|
|
7549
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
7550
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
7547
7551
|
} as any;
|
|
7548
7552
|
};
|
|
7549
7553
|
|
|
@@ -7641,16 +7645,16 @@ const deserializeAws_restJson1CmafGroupSettings = (output: any, context: __Serde
|
|
|
7641
7645
|
output.encryption !== undefined && output.encryption !== null
|
|
7642
7646
|
? deserializeAws_restJson1CmafEncryptionSettings(output.encryption, context)
|
|
7643
7647
|
: undefined,
|
|
7644
|
-
FragmentLength:
|
|
7648
|
+
FragmentLength: __expectInt32(output.fragmentLength),
|
|
7645
7649
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
7646
7650
|
ManifestCompression: __expectString(output.manifestCompression),
|
|
7647
7651
|
ManifestDurationFormat: __expectString(output.manifestDurationFormat),
|
|
7648
|
-
MinBufferTime:
|
|
7649
|
-
MinFinalSegmentLength:
|
|
7652
|
+
MinBufferTime: __expectInt32(output.minBufferTime),
|
|
7653
|
+
MinFinalSegmentLength: __limitedParseDouble(output.minFinalSegmentLength),
|
|
7650
7654
|
MpdProfile: __expectString(output.mpdProfile),
|
|
7651
7655
|
PtsOffsetHandlingForBFrames: __expectString(output.ptsOffsetHandlingForBFrames),
|
|
7652
7656
|
SegmentControl: __expectString(output.segmentControl),
|
|
7653
|
-
SegmentLength:
|
|
7657
|
+
SegmentLength: __expectInt32(output.segmentLength),
|
|
7654
7658
|
SegmentLengthControl: __expectString(output.segmentLengthControl),
|
|
7655
7659
|
StreamInfResolution: __expectString(output.streamInfResolution),
|
|
7656
7660
|
TargetDurationCompatibilityMode: __expectString(output.targetDurationCompatibilityMode),
|
|
@@ -7675,16 +7679,16 @@ const deserializeAws_restJson1CmfcSettings = (output: any, context: __SerdeConte
|
|
|
7675
7679
|
|
|
7676
7680
|
const deserializeAws_restJson1ColorCorrector = (output: any, context: __SerdeContext): ColorCorrector => {
|
|
7677
7681
|
return {
|
|
7678
|
-
Brightness:
|
|
7682
|
+
Brightness: __expectInt32(output.brightness),
|
|
7679
7683
|
ColorSpaceConversion: __expectString(output.colorSpaceConversion),
|
|
7680
|
-
Contrast:
|
|
7684
|
+
Contrast: __expectInt32(output.contrast),
|
|
7681
7685
|
Hdr10Metadata:
|
|
7682
7686
|
output.hdr10Metadata !== undefined && output.hdr10Metadata !== null
|
|
7683
7687
|
? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context)
|
|
7684
7688
|
: undefined,
|
|
7685
|
-
Hue:
|
|
7689
|
+
Hue: __expectInt32(output.hue),
|
|
7686
7690
|
SampleRangeConversion: __expectString(output.sampleRangeConversion),
|
|
7687
|
-
Saturation:
|
|
7691
|
+
Saturation: __expectInt32(output.saturation),
|
|
7688
7692
|
} as any;
|
|
7689
7693
|
};
|
|
7690
7694
|
|
|
@@ -7769,15 +7773,15 @@ const deserializeAws_restJson1DashIsoGroupSettings = (output: any, context: __Se
|
|
|
7769
7773
|
output.encryption !== undefined && output.encryption !== null
|
|
7770
7774
|
? deserializeAws_restJson1DashIsoEncryptionSettings(output.encryption, context)
|
|
7771
7775
|
: undefined,
|
|
7772
|
-
FragmentLength:
|
|
7776
|
+
FragmentLength: __expectInt32(output.fragmentLength),
|
|
7773
7777
|
HbbtvCompliance: __expectString(output.hbbtvCompliance),
|
|
7774
7778
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
7775
|
-
MinBufferTime:
|
|
7776
|
-
MinFinalSegmentLength:
|
|
7779
|
+
MinBufferTime: __expectInt32(output.minBufferTime),
|
|
7780
|
+
MinFinalSegmentLength: __limitedParseDouble(output.minFinalSegmentLength),
|
|
7777
7781
|
MpdProfile: __expectString(output.mpdProfile),
|
|
7778
7782
|
PtsOffsetHandlingForBFrames: __expectString(output.ptsOffsetHandlingForBFrames),
|
|
7779
7783
|
SegmentControl: __expectString(output.segmentControl),
|
|
7780
|
-
SegmentLength:
|
|
7784
|
+
SegmentLength: __expectInt32(output.segmentLength),
|
|
7781
7785
|
SegmentLengthControl: __expectString(output.segmentLengthControl),
|
|
7782
7786
|
WriteSegmentTimelineInRepresentation: __expectString(output.writeSegmentTimelineInRepresentation),
|
|
7783
7787
|
} as any;
|
|
@@ -7816,23 +7820,23 @@ const deserializeAws_restJson1DolbyVisionLevel6Metadata = (
|
|
|
7816
7820
|
context: __SerdeContext
|
|
7817
7821
|
): DolbyVisionLevel6Metadata => {
|
|
7818
7822
|
return {
|
|
7819
|
-
MaxCll:
|
|
7820
|
-
MaxFall:
|
|
7823
|
+
MaxCll: __expectInt32(output.maxCll),
|
|
7824
|
+
MaxFall: __expectInt32(output.maxFall),
|
|
7821
7825
|
} as any;
|
|
7822
7826
|
};
|
|
7823
7827
|
|
|
7824
7828
|
const deserializeAws_restJson1DvbNitSettings = (output: any, context: __SerdeContext): DvbNitSettings => {
|
|
7825
7829
|
return {
|
|
7826
|
-
NetworkId:
|
|
7830
|
+
NetworkId: __expectInt32(output.networkId),
|
|
7827
7831
|
NetworkName: __expectString(output.networkName),
|
|
7828
|
-
NitInterval:
|
|
7832
|
+
NitInterval: __expectInt32(output.nitInterval),
|
|
7829
7833
|
} as any;
|
|
7830
7834
|
};
|
|
7831
7835
|
|
|
7832
7836
|
const deserializeAws_restJson1DvbSdtSettings = (output: any, context: __SerdeContext): DvbSdtSettings => {
|
|
7833
7837
|
return {
|
|
7834
7838
|
OutputSdt: __expectString(output.outputSdt),
|
|
7835
|
-
SdtInterval:
|
|
7839
|
+
SdtInterval: __expectInt32(output.sdtInterval),
|
|
7836
7840
|
ServiceName: __expectString(output.serviceName),
|
|
7837
7841
|
ServiceProviderName: __expectString(output.serviceProviderName),
|
|
7838
7842
|
} as any;
|
|
@@ -7845,45 +7849,45 @@ const deserializeAws_restJson1DvbSubDestinationSettings = (
|
|
|
7845
7849
|
return {
|
|
7846
7850
|
Alignment: __expectString(output.alignment),
|
|
7847
7851
|
BackgroundColor: __expectString(output.backgroundColor),
|
|
7848
|
-
BackgroundOpacity:
|
|
7852
|
+
BackgroundOpacity: __expectInt32(output.backgroundOpacity),
|
|
7849
7853
|
DdsHandling: __expectString(output.ddsHandling),
|
|
7850
|
-
DdsXCoordinate:
|
|
7851
|
-
DdsYCoordinate:
|
|
7854
|
+
DdsXCoordinate: __expectInt32(output.ddsXCoordinate),
|
|
7855
|
+
DdsYCoordinate: __expectInt32(output.ddsYCoordinate),
|
|
7852
7856
|
FontColor: __expectString(output.fontColor),
|
|
7853
|
-
FontOpacity:
|
|
7854
|
-
FontResolution:
|
|
7857
|
+
FontOpacity: __expectInt32(output.fontOpacity),
|
|
7858
|
+
FontResolution: __expectInt32(output.fontResolution),
|
|
7855
7859
|
FontScript: __expectString(output.fontScript),
|
|
7856
|
-
FontSize:
|
|
7857
|
-
Height:
|
|
7860
|
+
FontSize: __expectInt32(output.fontSize),
|
|
7861
|
+
Height: __expectInt32(output.height),
|
|
7858
7862
|
OutlineColor: __expectString(output.outlineColor),
|
|
7859
|
-
OutlineSize:
|
|
7863
|
+
OutlineSize: __expectInt32(output.outlineSize),
|
|
7860
7864
|
ShadowColor: __expectString(output.shadowColor),
|
|
7861
|
-
ShadowOpacity:
|
|
7862
|
-
ShadowXOffset:
|
|
7863
|
-
ShadowYOffset:
|
|
7865
|
+
ShadowOpacity: __expectInt32(output.shadowOpacity),
|
|
7866
|
+
ShadowXOffset: __expectInt32(output.shadowXOffset),
|
|
7867
|
+
ShadowYOffset: __expectInt32(output.shadowYOffset),
|
|
7864
7868
|
SubtitlingType: __expectString(output.subtitlingType),
|
|
7865
7869
|
TeletextSpacing: __expectString(output.teletextSpacing),
|
|
7866
|
-
Width:
|
|
7867
|
-
XPosition:
|
|
7868
|
-
YPosition:
|
|
7870
|
+
Width: __expectInt32(output.width),
|
|
7871
|
+
XPosition: __expectInt32(output.xPosition),
|
|
7872
|
+
YPosition: __expectInt32(output.yPosition),
|
|
7869
7873
|
} as any;
|
|
7870
7874
|
};
|
|
7871
7875
|
|
|
7872
7876
|
const deserializeAws_restJson1DvbSubSourceSettings = (output: any, context: __SerdeContext): DvbSubSourceSettings => {
|
|
7873
7877
|
return {
|
|
7874
|
-
Pid:
|
|
7878
|
+
Pid: __expectInt32(output.pid),
|
|
7875
7879
|
} as any;
|
|
7876
7880
|
};
|
|
7877
7881
|
|
|
7878
7882
|
const deserializeAws_restJson1DvbTdtSettings = (output: any, context: __SerdeContext): DvbTdtSettings => {
|
|
7879
7883
|
return {
|
|
7880
|
-
TdtInterval:
|
|
7884
|
+
TdtInterval: __expectInt32(output.tdtInterval),
|
|
7881
7885
|
} as any;
|
|
7882
7886
|
};
|
|
7883
7887
|
|
|
7884
7888
|
const deserializeAws_restJson1Eac3AtmosSettings = (output: any, context: __SerdeContext): Eac3AtmosSettings => {
|
|
7885
7889
|
return {
|
|
7886
|
-
Bitrate:
|
|
7890
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
7887
7891
|
BitstreamMode: __expectString(output.bitstreamMode),
|
|
7888
7892
|
CodingMode: __expectString(output.codingMode),
|
|
7889
7893
|
DialogueIntelligence: __expectString(output.dialogueIntelligence),
|
|
@@ -7891,13 +7895,13 @@ const deserializeAws_restJson1Eac3AtmosSettings = (output: any, context: __Serde
|
|
|
7891
7895
|
DynamicRangeCompressionLine: __expectString(output.dynamicRangeCompressionLine),
|
|
7892
7896
|
DynamicRangeCompressionRf: __expectString(output.dynamicRangeCompressionRf),
|
|
7893
7897
|
DynamicRangeControl: __expectString(output.dynamicRangeControl),
|
|
7894
|
-
LoRoCenterMixLevel:
|
|
7895
|
-
LoRoSurroundMixLevel:
|
|
7896
|
-
LtRtCenterMixLevel:
|
|
7897
|
-
LtRtSurroundMixLevel:
|
|
7898
|
+
LoRoCenterMixLevel: __limitedParseDouble(output.loRoCenterMixLevel),
|
|
7899
|
+
LoRoSurroundMixLevel: __limitedParseDouble(output.loRoSurroundMixLevel),
|
|
7900
|
+
LtRtCenterMixLevel: __limitedParseDouble(output.ltRtCenterMixLevel),
|
|
7901
|
+
LtRtSurroundMixLevel: __limitedParseDouble(output.ltRtSurroundMixLevel),
|
|
7898
7902
|
MeteringMode: __expectString(output.meteringMode),
|
|
7899
|
-
SampleRate:
|
|
7900
|
-
SpeechThreshold:
|
|
7903
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
7904
|
+
SpeechThreshold: __expectInt32(output.speechThreshold),
|
|
7901
7905
|
StereoDownmix: __expectString(output.stereoDownmix),
|
|
7902
7906
|
SurroundExMode: __expectString(output.surroundExMode),
|
|
7903
7907
|
} as any;
|
|
@@ -7906,23 +7910,23 @@ const deserializeAws_restJson1Eac3AtmosSettings = (output: any, context: __Serde
|
|
|
7906
7910
|
const deserializeAws_restJson1Eac3Settings = (output: any, context: __SerdeContext): Eac3Settings => {
|
|
7907
7911
|
return {
|
|
7908
7912
|
AttenuationControl: __expectString(output.attenuationControl),
|
|
7909
|
-
Bitrate:
|
|
7913
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
7910
7914
|
BitstreamMode: __expectString(output.bitstreamMode),
|
|
7911
7915
|
CodingMode: __expectString(output.codingMode),
|
|
7912
7916
|
DcFilter: __expectString(output.dcFilter),
|
|
7913
|
-
Dialnorm:
|
|
7917
|
+
Dialnorm: __expectInt32(output.dialnorm),
|
|
7914
7918
|
DynamicRangeCompressionLine: __expectString(output.dynamicRangeCompressionLine),
|
|
7915
7919
|
DynamicRangeCompressionRf: __expectString(output.dynamicRangeCompressionRf),
|
|
7916
7920
|
LfeControl: __expectString(output.lfeControl),
|
|
7917
7921
|
LfeFilter: __expectString(output.lfeFilter),
|
|
7918
|
-
LoRoCenterMixLevel:
|
|
7919
|
-
LoRoSurroundMixLevel:
|
|
7920
|
-
LtRtCenterMixLevel:
|
|
7921
|
-
LtRtSurroundMixLevel:
|
|
7922
|
+
LoRoCenterMixLevel: __limitedParseDouble(output.loRoCenterMixLevel),
|
|
7923
|
+
LoRoSurroundMixLevel: __limitedParseDouble(output.loRoSurroundMixLevel),
|
|
7924
|
+
LtRtCenterMixLevel: __limitedParseDouble(output.ltRtCenterMixLevel),
|
|
7925
|
+
LtRtSurroundMixLevel: __limitedParseDouble(output.ltRtSurroundMixLevel),
|
|
7922
7926
|
MetadataControl: __expectString(output.metadataControl),
|
|
7923
7927
|
PassthroughControl: __expectString(output.passthroughControl),
|
|
7924
7928
|
PhaseControl: __expectString(output.phaseControl),
|
|
7925
|
-
SampleRate:
|
|
7929
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
7926
7930
|
StereoDownmix: __expectString(output.stereoDownmix),
|
|
7927
7931
|
SurroundExMode: __expectString(output.surroundExMode),
|
|
7928
7932
|
SurroundMode: __expectString(output.surroundMode),
|
|
@@ -7934,8 +7938,8 @@ const deserializeAws_restJson1EmbeddedDestinationSettings = (
|
|
|
7934
7938
|
context: __SerdeContext
|
|
7935
7939
|
): EmbeddedDestinationSettings => {
|
|
7936
7940
|
return {
|
|
7937
|
-
Destination608ChannelNumber:
|
|
7938
|
-
Destination708ServiceNumber:
|
|
7941
|
+
Destination608ChannelNumber: __expectInt32(output.destination608ChannelNumber),
|
|
7942
|
+
Destination708ServiceNumber: __expectInt32(output.destination708ServiceNumber),
|
|
7939
7943
|
} as any;
|
|
7940
7944
|
};
|
|
7941
7945
|
|
|
@@ -7945,8 +7949,8 @@ const deserializeAws_restJson1EmbeddedSourceSettings = (
|
|
|
7945
7949
|
): EmbeddedSourceSettings => {
|
|
7946
7950
|
return {
|
|
7947
7951
|
Convert608To708: __expectString(output.convert608To708),
|
|
7948
|
-
Source608ChannelNumber:
|
|
7949
|
-
Source608TrackNumber:
|
|
7952
|
+
Source608ChannelNumber: __expectInt32(output.source608ChannelNumber),
|
|
7953
|
+
Source608TrackNumber: __expectInt32(output.source608TrackNumber),
|
|
7950
7954
|
TerminateCaptions: __expectString(output.terminateCaptions),
|
|
7951
7955
|
} as any;
|
|
7952
7956
|
};
|
|
@@ -7975,7 +7979,7 @@ const deserializeAws_restJson1EsamSettings = (output: any, context: __SerdeConte
|
|
|
7975
7979
|
context
|
|
7976
7980
|
)
|
|
7977
7981
|
: undefined,
|
|
7978
|
-
ResponseSignalPreroll:
|
|
7982
|
+
ResponseSignalPreroll: __expectInt32(output.responseSignalPreroll),
|
|
7979
7983
|
SignalProcessingNotification:
|
|
7980
7984
|
output.signalProcessingNotification !== undefined && output.signalProcessingNotification !== null
|
|
7981
7985
|
? deserializeAws_restJson1EsamSignalProcessingNotification(output.signalProcessingNotification, context)
|
|
@@ -8023,31 +8027,31 @@ const deserializeAws_restJson1FileSourceSettings = (output: any, context: __Serd
|
|
|
8023
8027
|
? deserializeAws_restJson1CaptionSourceFramerate(output.framerate, context)
|
|
8024
8028
|
: undefined,
|
|
8025
8029
|
SourceFile: __expectString(output.sourceFile),
|
|
8026
|
-
TimeDelta:
|
|
8030
|
+
TimeDelta: __expectInt32(output.timeDelta),
|
|
8027
8031
|
} as any;
|
|
8028
8032
|
};
|
|
8029
8033
|
|
|
8030
8034
|
const deserializeAws_restJson1FrameCaptureSettings = (output: any, context: __SerdeContext): FrameCaptureSettings => {
|
|
8031
8035
|
return {
|
|
8032
|
-
FramerateDenominator:
|
|
8033
|
-
FramerateNumerator:
|
|
8034
|
-
MaxCaptures:
|
|
8035
|
-
Quality:
|
|
8036
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
8037
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
8038
|
+
MaxCaptures: __expectInt32(output.maxCaptures),
|
|
8039
|
+
Quality: __expectInt32(output.quality),
|
|
8036
8040
|
} as any;
|
|
8037
8041
|
};
|
|
8038
8042
|
|
|
8039
8043
|
const deserializeAws_restJson1H264QvbrSettings = (output: any, context: __SerdeContext): H264QvbrSettings => {
|
|
8040
8044
|
return {
|
|
8041
|
-
MaxAverageBitrate:
|
|
8042
|
-
QvbrQualityLevel:
|
|
8043
|
-
QvbrQualityLevelFineTune:
|
|
8045
|
+
MaxAverageBitrate: __expectInt32(output.maxAverageBitrate),
|
|
8046
|
+
QvbrQualityLevel: __expectInt32(output.qvbrQualityLevel),
|
|
8047
|
+
QvbrQualityLevelFineTune: __limitedParseDouble(output.qvbrQualityLevelFineTune),
|
|
8044
8048
|
} as any;
|
|
8045
8049
|
};
|
|
8046
8050
|
|
|
8047
8051
|
const deserializeAws_restJson1H264Settings = (output: any, context: __SerdeContext): H264Settings => {
|
|
8048
8052
|
return {
|
|
8049
8053
|
AdaptiveQuantization: __expectString(output.adaptiveQuantization),
|
|
8050
|
-
Bitrate:
|
|
8054
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
8051
8055
|
CodecLevel: __expectString(output.codecLevel),
|
|
8052
8056
|
CodecProfile: __expectString(output.codecProfile),
|
|
8053
8057
|
DynamicSubGop: __expectString(output.dynamicSubGop),
|
|
@@ -8056,22 +8060,22 @@ const deserializeAws_restJson1H264Settings = (output: any, context: __SerdeConte
|
|
|
8056
8060
|
FlickerAdaptiveQuantization: __expectString(output.flickerAdaptiveQuantization),
|
|
8057
8061
|
FramerateControl: __expectString(output.framerateControl),
|
|
8058
8062
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
8059
|
-
FramerateDenominator:
|
|
8060
|
-
FramerateNumerator:
|
|
8063
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
8064
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
8061
8065
|
GopBReference: __expectString(output.gopBReference),
|
|
8062
|
-
GopClosedCadence:
|
|
8063
|
-
GopSize:
|
|
8066
|
+
GopClosedCadence: __expectInt32(output.gopClosedCadence),
|
|
8067
|
+
GopSize: __limitedParseDouble(output.gopSize),
|
|
8064
8068
|
GopSizeUnits: __expectString(output.gopSizeUnits),
|
|
8065
|
-
HrdBufferInitialFillPercentage:
|
|
8066
|
-
HrdBufferSize:
|
|
8069
|
+
HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
|
|
8070
|
+
HrdBufferSize: __expectInt32(output.hrdBufferSize),
|
|
8067
8071
|
InterlaceMode: __expectString(output.interlaceMode),
|
|
8068
|
-
MaxBitrate:
|
|
8069
|
-
MinIInterval:
|
|
8070
|
-
NumberBFramesBetweenReferenceFrames:
|
|
8071
|
-
NumberReferenceFrames:
|
|
8072
|
+
MaxBitrate: __expectInt32(output.maxBitrate),
|
|
8073
|
+
MinIInterval: __expectInt32(output.minIInterval),
|
|
8074
|
+
NumberBFramesBetweenReferenceFrames: __expectInt32(output.numberBFramesBetweenReferenceFrames),
|
|
8075
|
+
NumberReferenceFrames: __expectInt32(output.numberReferenceFrames),
|
|
8072
8076
|
ParControl: __expectString(output.parControl),
|
|
8073
|
-
ParDenominator:
|
|
8074
|
-
ParNumerator:
|
|
8077
|
+
ParDenominator: __expectInt32(output.parDenominator),
|
|
8078
|
+
ParNumerator: __expectInt32(output.parNumerator),
|
|
8075
8079
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
8076
8080
|
QvbrSettings:
|
|
8077
8081
|
output.qvbrSettings !== undefined && output.qvbrSettings !== null
|
|
@@ -8081,9 +8085,9 @@ const deserializeAws_restJson1H264Settings = (output: any, context: __SerdeConte
|
|
|
8081
8085
|
RepeatPps: __expectString(output.repeatPps),
|
|
8082
8086
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
8083
8087
|
SceneChangeDetect: __expectString(output.sceneChangeDetect),
|
|
8084
|
-
Slices:
|
|
8088
|
+
Slices: __expectInt32(output.slices),
|
|
8085
8089
|
SlowPal: __expectString(output.slowPal),
|
|
8086
|
-
Softness:
|
|
8090
|
+
Softness: __expectInt32(output.softness),
|
|
8087
8091
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
8088
8092
|
Syntax: __expectString(output.syntax),
|
|
8089
8093
|
Telecine: __expectString(output.telecine),
|
|
@@ -8094,9 +8098,9 @@ const deserializeAws_restJson1H264Settings = (output: any, context: __SerdeConte
|
|
|
8094
8098
|
|
|
8095
8099
|
const deserializeAws_restJson1H265QvbrSettings = (output: any, context: __SerdeContext): H265QvbrSettings => {
|
|
8096
8100
|
return {
|
|
8097
|
-
MaxAverageBitrate:
|
|
8098
|
-
QvbrQualityLevel:
|
|
8099
|
-
QvbrQualityLevelFineTune:
|
|
8101
|
+
MaxAverageBitrate: __expectInt32(output.maxAverageBitrate),
|
|
8102
|
+
QvbrQualityLevel: __expectInt32(output.qvbrQualityLevel),
|
|
8103
|
+
QvbrQualityLevelFineTune: __limitedParseDouble(output.qvbrQualityLevelFineTune),
|
|
8100
8104
|
} as any;
|
|
8101
8105
|
};
|
|
8102
8106
|
|
|
@@ -8104,29 +8108,29 @@ const deserializeAws_restJson1H265Settings = (output: any, context: __SerdeConte
|
|
|
8104
8108
|
return {
|
|
8105
8109
|
AdaptiveQuantization: __expectString(output.adaptiveQuantization),
|
|
8106
8110
|
AlternateTransferFunctionSei: __expectString(output.alternateTransferFunctionSei),
|
|
8107
|
-
Bitrate:
|
|
8111
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
8108
8112
|
CodecLevel: __expectString(output.codecLevel),
|
|
8109
8113
|
CodecProfile: __expectString(output.codecProfile),
|
|
8110
8114
|
DynamicSubGop: __expectString(output.dynamicSubGop),
|
|
8111
8115
|
FlickerAdaptiveQuantization: __expectString(output.flickerAdaptiveQuantization),
|
|
8112
8116
|
FramerateControl: __expectString(output.framerateControl),
|
|
8113
8117
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
8114
|
-
FramerateDenominator:
|
|
8115
|
-
FramerateNumerator:
|
|
8118
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
8119
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
8116
8120
|
GopBReference: __expectString(output.gopBReference),
|
|
8117
|
-
GopClosedCadence:
|
|
8118
|
-
GopSize:
|
|
8121
|
+
GopClosedCadence: __expectInt32(output.gopClosedCadence),
|
|
8122
|
+
GopSize: __limitedParseDouble(output.gopSize),
|
|
8119
8123
|
GopSizeUnits: __expectString(output.gopSizeUnits),
|
|
8120
|
-
HrdBufferInitialFillPercentage:
|
|
8121
|
-
HrdBufferSize:
|
|
8124
|
+
HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
|
|
8125
|
+
HrdBufferSize: __expectInt32(output.hrdBufferSize),
|
|
8122
8126
|
InterlaceMode: __expectString(output.interlaceMode),
|
|
8123
|
-
MaxBitrate:
|
|
8124
|
-
MinIInterval:
|
|
8125
|
-
NumberBFramesBetweenReferenceFrames:
|
|
8126
|
-
NumberReferenceFrames:
|
|
8127
|
+
MaxBitrate: __expectInt32(output.maxBitrate),
|
|
8128
|
+
MinIInterval: __expectInt32(output.minIInterval),
|
|
8129
|
+
NumberBFramesBetweenReferenceFrames: __expectInt32(output.numberBFramesBetweenReferenceFrames),
|
|
8130
|
+
NumberReferenceFrames: __expectInt32(output.numberReferenceFrames),
|
|
8127
8131
|
ParControl: __expectString(output.parControl),
|
|
8128
|
-
ParDenominator:
|
|
8129
|
-
ParNumerator:
|
|
8132
|
+
ParDenominator: __expectInt32(output.parDenominator),
|
|
8133
|
+
ParNumerator: __expectInt32(output.parNumerator),
|
|
8130
8134
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
8131
8135
|
QvbrSettings:
|
|
8132
8136
|
output.qvbrSettings !== undefined && output.qvbrSettings !== null
|
|
@@ -8136,7 +8140,7 @@ const deserializeAws_restJson1H265Settings = (output: any, context: __SerdeConte
|
|
|
8136
8140
|
SampleAdaptiveOffsetFilterMode: __expectString(output.sampleAdaptiveOffsetFilterMode),
|
|
8137
8141
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
8138
8142
|
SceneChangeDetect: __expectString(output.sceneChangeDetect),
|
|
8139
|
-
Slices:
|
|
8143
|
+
Slices: __expectInt32(output.slices),
|
|
8140
8144
|
SlowPal: __expectString(output.slowPal),
|
|
8141
8145
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
8142
8146
|
Telecine: __expectString(output.telecine),
|
|
@@ -8150,25 +8154,25 @@ const deserializeAws_restJson1H265Settings = (output: any, context: __SerdeConte
|
|
|
8150
8154
|
|
|
8151
8155
|
const deserializeAws_restJson1Hdr10Metadata = (output: any, context: __SerdeContext): Hdr10Metadata => {
|
|
8152
8156
|
return {
|
|
8153
|
-
BluePrimaryX:
|
|
8154
|
-
BluePrimaryY:
|
|
8155
|
-
GreenPrimaryX:
|
|
8156
|
-
GreenPrimaryY:
|
|
8157
|
-
MaxContentLightLevel:
|
|
8158
|
-
MaxFrameAverageLightLevel:
|
|
8159
|
-
MaxLuminance:
|
|
8160
|
-
MinLuminance:
|
|
8161
|
-
RedPrimaryX:
|
|
8162
|
-
RedPrimaryY:
|
|
8163
|
-
WhitePointX:
|
|
8164
|
-
WhitePointY:
|
|
8157
|
+
BluePrimaryX: __expectInt32(output.bluePrimaryX),
|
|
8158
|
+
BluePrimaryY: __expectInt32(output.bluePrimaryY),
|
|
8159
|
+
GreenPrimaryX: __expectInt32(output.greenPrimaryX),
|
|
8160
|
+
GreenPrimaryY: __expectInt32(output.greenPrimaryY),
|
|
8161
|
+
MaxContentLightLevel: __expectInt32(output.maxContentLightLevel),
|
|
8162
|
+
MaxFrameAverageLightLevel: __expectInt32(output.maxFrameAverageLightLevel),
|
|
8163
|
+
MaxLuminance: __expectInt32(output.maxLuminance),
|
|
8164
|
+
MinLuminance: __expectInt32(output.minLuminance),
|
|
8165
|
+
RedPrimaryX: __expectInt32(output.redPrimaryX),
|
|
8166
|
+
RedPrimaryY: __expectInt32(output.redPrimaryY),
|
|
8167
|
+
WhitePointX: __expectInt32(output.whitePointX),
|
|
8168
|
+
WhitePointY: __expectInt32(output.whitePointY),
|
|
8165
8169
|
} as any;
|
|
8166
8170
|
};
|
|
8167
8171
|
|
|
8168
8172
|
const deserializeAws_restJson1Hdr10Plus = (output: any, context: __SerdeContext): Hdr10Plus => {
|
|
8169
8173
|
return {
|
|
8170
|
-
MasteringMonitorNits:
|
|
8171
|
-
TargetMonitorNits:
|
|
8174
|
+
MasteringMonitorNits: __expectInt32(output.masteringMonitorNits),
|
|
8175
|
+
TargetMonitorNits: __expectInt32(output.targetMonitorNits),
|
|
8172
8176
|
} as any;
|
|
8173
8177
|
};
|
|
8174
8178
|
|
|
@@ -8187,7 +8191,7 @@ const deserializeAws_restJson1HlsCaptionLanguageMapping = (
|
|
|
8187
8191
|
context: __SerdeContext
|
|
8188
8192
|
): HlsCaptionLanguageMapping => {
|
|
8189
8193
|
return {
|
|
8190
|
-
CaptionChannel:
|
|
8194
|
+
CaptionChannel: __expectInt32(output.captionChannel),
|
|
8191
8195
|
CustomLanguageCode: __expectString(output.customLanguageCode),
|
|
8192
8196
|
LanguageCode: __expectString(output.languageCode),
|
|
8193
8197
|
LanguageDescription: __expectString(output.languageDescription),
|
|
@@ -8244,20 +8248,20 @@ const deserializeAws_restJson1HlsGroupSettings = (output: any, context: __SerdeC
|
|
|
8244
8248
|
ImageBasedTrickPlay: __expectString(output.imageBasedTrickPlay),
|
|
8245
8249
|
ManifestCompression: __expectString(output.manifestCompression),
|
|
8246
8250
|
ManifestDurationFormat: __expectString(output.manifestDurationFormat),
|
|
8247
|
-
MinFinalSegmentLength:
|
|
8248
|
-
MinSegmentLength:
|
|
8251
|
+
MinFinalSegmentLength: __limitedParseDouble(output.minFinalSegmentLength),
|
|
8252
|
+
MinSegmentLength: __expectInt32(output.minSegmentLength),
|
|
8249
8253
|
OutputSelection: __expectString(output.outputSelection),
|
|
8250
8254
|
ProgramDateTime: __expectString(output.programDateTime),
|
|
8251
|
-
ProgramDateTimePeriod:
|
|
8255
|
+
ProgramDateTimePeriod: __expectInt32(output.programDateTimePeriod),
|
|
8252
8256
|
SegmentControl: __expectString(output.segmentControl),
|
|
8253
|
-
SegmentLength:
|
|
8257
|
+
SegmentLength: __expectInt32(output.segmentLength),
|
|
8254
8258
|
SegmentLengthControl: __expectString(output.segmentLengthControl),
|
|
8255
|
-
SegmentsPerSubdirectory:
|
|
8259
|
+
SegmentsPerSubdirectory: __expectInt32(output.segmentsPerSubdirectory),
|
|
8256
8260
|
StreamInfResolution: __expectString(output.streamInfResolution),
|
|
8257
8261
|
TargetDurationCompatibilityMode: __expectString(output.targetDurationCompatibilityMode),
|
|
8258
8262
|
TimedMetadataId3Frame: __expectString(output.timedMetadataId3Frame),
|
|
8259
|
-
TimedMetadataId3Period:
|
|
8260
|
-
TimestampDeltaMilliseconds:
|
|
8263
|
+
TimedMetadataId3Period: __expectInt32(output.timedMetadataId3Period),
|
|
8264
|
+
TimestampDeltaMilliseconds: __expectInt32(output.timestampDeltaMilliseconds),
|
|
8261
8265
|
} as any;
|
|
8262
8266
|
};
|
|
8263
8267
|
|
|
@@ -8286,9 +8290,9 @@ const deserializeAws_restJson1HlsSettings = (output: any, context: __SerdeContex
|
|
|
8286
8290
|
|
|
8287
8291
|
const deserializeAws_restJson1HopDestination = (output: any, context: __SerdeContext): HopDestination => {
|
|
8288
8292
|
return {
|
|
8289
|
-
Priority:
|
|
8293
|
+
Priority: __expectInt32(output.priority),
|
|
8290
8294
|
Queue: __expectString(output.queue),
|
|
8291
|
-
WaitMinutes:
|
|
8295
|
+
WaitMinutes: __expectInt32(output.waitMinutes),
|
|
8292
8296
|
} as any;
|
|
8293
8297
|
};
|
|
8294
8298
|
|
|
@@ -8343,7 +8347,7 @@ const deserializeAws_restJson1Input = (output: any, context: __SerdeContext): In
|
|
|
8343
8347
|
DenoiseFilter: __expectString(output.denoiseFilter),
|
|
8344
8348
|
FileInput: __expectString(output.fileInput),
|
|
8345
8349
|
FilterEnable: __expectString(output.filterEnable),
|
|
8346
|
-
FilterStrength:
|
|
8350
|
+
FilterStrength: __expectInt32(output.filterStrength),
|
|
8347
8351
|
ImageInserter:
|
|
8348
8352
|
output.imageInserter !== undefined && output.imageInserter !== null
|
|
8349
8353
|
? deserializeAws_restJson1ImageInserter(output.imageInserter, context)
|
|
@@ -8357,7 +8361,7 @@ const deserializeAws_restJson1Input = (output: any, context: __SerdeContext): In
|
|
|
8357
8361
|
output.position !== undefined && output.position !== null
|
|
8358
8362
|
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
8359
8363
|
: undefined,
|
|
8360
|
-
ProgramNumber:
|
|
8364
|
+
ProgramNumber: __expectInt32(output.programNumber),
|
|
8361
8365
|
PsiControl: __expectString(output.psiControl),
|
|
8362
8366
|
SupplementalImps:
|
|
8363
8367
|
output.supplementalImps !== undefined && output.supplementalImps !== null
|
|
@@ -8412,7 +8416,7 @@ const deserializeAws_restJson1InputTemplate = (output: any, context: __SerdeCont
|
|
|
8412
8416
|
DeblockFilter: __expectString(output.deblockFilter),
|
|
8413
8417
|
DenoiseFilter: __expectString(output.denoiseFilter),
|
|
8414
8418
|
FilterEnable: __expectString(output.filterEnable),
|
|
8415
|
-
FilterStrength:
|
|
8419
|
+
FilterStrength: __expectInt32(output.filterStrength),
|
|
8416
8420
|
ImageInserter:
|
|
8417
8421
|
output.imageInserter !== undefined && output.imageInserter !== null
|
|
8418
8422
|
? deserializeAws_restJson1ImageInserter(output.imageInserter, context)
|
|
@@ -8426,7 +8430,7 @@ const deserializeAws_restJson1InputTemplate = (output: any, context: __SerdeCont
|
|
|
8426
8430
|
output.position !== undefined && output.position !== null
|
|
8427
8431
|
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
8428
8432
|
: undefined,
|
|
8429
|
-
ProgramNumber:
|
|
8433
|
+
ProgramNumber: __expectInt32(output.programNumber),
|
|
8430
8434
|
PsiControl: __expectString(output.psiControl),
|
|
8431
8435
|
TimecodeSource: __expectString(output.timecodeSource),
|
|
8432
8436
|
TimecodeStart: __expectString(output.timecodeStart),
|
|
@@ -8439,17 +8443,17 @@ const deserializeAws_restJson1InputTemplate = (output: any, context: __SerdeCont
|
|
|
8439
8443
|
|
|
8440
8444
|
const deserializeAws_restJson1InsertableImage = (output: any, context: __SerdeContext): InsertableImage => {
|
|
8441
8445
|
return {
|
|
8442
|
-
Duration:
|
|
8443
|
-
FadeIn:
|
|
8444
|
-
FadeOut:
|
|
8445
|
-
Height:
|
|
8446
|
+
Duration: __expectInt32(output.duration),
|
|
8447
|
+
FadeIn: __expectInt32(output.fadeIn),
|
|
8448
|
+
FadeOut: __expectInt32(output.fadeOut),
|
|
8449
|
+
Height: __expectInt32(output.height),
|
|
8446
8450
|
ImageInserterInput: __expectString(output.imageInserterInput),
|
|
8447
|
-
ImageX:
|
|
8448
|
-
ImageY:
|
|
8449
|
-
Layer:
|
|
8450
|
-
Opacity:
|
|
8451
|
+
ImageX: __expectInt32(output.imageX),
|
|
8452
|
+
ImageY: __expectInt32(output.imageY),
|
|
8453
|
+
Layer: __expectInt32(output.layer),
|
|
8454
|
+
Opacity: __expectInt32(output.opacity),
|
|
8451
8455
|
StartTime: __expectString(output.startTime),
|
|
8452
|
-
Width:
|
|
8456
|
+
Width: __expectInt32(output.width),
|
|
8453
8457
|
} as any;
|
|
8454
8458
|
};
|
|
8455
8459
|
|
|
@@ -8464,17 +8468,17 @@ const deserializeAws_restJson1Job = (output: any, context: __SerdeContext): Job
|
|
|
8464
8468
|
BillingTagsSource: __expectString(output.billingTagsSource),
|
|
8465
8469
|
CreatedAt:
|
|
8466
8470
|
output.createdAt !== undefined && output.createdAt !== null
|
|
8467
|
-
?
|
|
8471
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
8468
8472
|
: undefined,
|
|
8469
8473
|
CurrentPhase: __expectString(output.currentPhase),
|
|
8470
|
-
ErrorCode:
|
|
8474
|
+
ErrorCode: __expectInt32(output.errorCode),
|
|
8471
8475
|
ErrorMessage: __expectString(output.errorMessage),
|
|
8472
8476
|
HopDestinations:
|
|
8473
8477
|
output.hopDestinations !== undefined && output.hopDestinations !== null
|
|
8474
8478
|
? deserializeAws_restJson1__listOfHopDestination(output.hopDestinations, context)
|
|
8475
8479
|
: undefined,
|
|
8476
8480
|
Id: __expectString(output.id),
|
|
8477
|
-
JobPercentComplete:
|
|
8481
|
+
JobPercentComplete: __expectInt32(output.jobPercentComplete),
|
|
8478
8482
|
JobTemplate: __expectString(output.jobTemplate),
|
|
8479
8483
|
Messages:
|
|
8480
8484
|
output.messages !== undefined && output.messages !== null
|
|
@@ -8484,13 +8488,13 @@ const deserializeAws_restJson1Job = (output: any, context: __SerdeContext): Job
|
|
|
8484
8488
|
output.outputGroupDetails !== undefined && output.outputGroupDetails !== null
|
|
8485
8489
|
? deserializeAws_restJson1__listOfOutputGroupDetail(output.outputGroupDetails, context)
|
|
8486
8490
|
: undefined,
|
|
8487
|
-
Priority:
|
|
8491
|
+
Priority: __expectInt32(output.priority),
|
|
8488
8492
|
Queue: __expectString(output.queue),
|
|
8489
8493
|
QueueTransitions:
|
|
8490
8494
|
output.queueTransitions !== undefined && output.queueTransitions !== null
|
|
8491
8495
|
? deserializeAws_restJson1__listOfQueueTransition(output.queueTransitions, context)
|
|
8492
8496
|
: undefined,
|
|
8493
|
-
RetryCount:
|
|
8497
|
+
RetryCount: __expectInt32(output.retryCount),
|
|
8494
8498
|
Role: __expectString(output.role),
|
|
8495
8499
|
Settings:
|
|
8496
8500
|
output.settings !== undefined && output.settings !== null
|
|
@@ -8525,7 +8529,7 @@ const deserializeAws_restJson1JobMessages = (output: any, context: __SerdeContex
|
|
|
8525
8529
|
|
|
8526
8530
|
const deserializeAws_restJson1JobSettings = (output: any, context: __SerdeContext): JobSettings => {
|
|
8527
8531
|
return {
|
|
8528
|
-
AdAvailOffset:
|
|
8532
|
+
AdAvailOffset: __expectInt32(output.adAvailOffset),
|
|
8529
8533
|
AvailBlanking:
|
|
8530
8534
|
output.availBlanking !== undefined && output.availBlanking !== null
|
|
8531
8535
|
? deserializeAws_restJson1AvailBlanking(output.availBlanking, context)
|
|
@@ -8583,7 +8587,7 @@ const deserializeAws_restJson1JobTemplate = (output: any, context: __SerdeContex
|
|
|
8583
8587
|
Category: __expectString(output.category),
|
|
8584
8588
|
CreatedAt:
|
|
8585
8589
|
output.createdAt !== undefined && output.createdAt !== null
|
|
8586
|
-
?
|
|
8590
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
8587
8591
|
: undefined,
|
|
8588
8592
|
Description: __expectString(output.description),
|
|
8589
8593
|
HopDestinations:
|
|
@@ -8592,10 +8596,10 @@ const deserializeAws_restJson1JobTemplate = (output: any, context: __SerdeContex
|
|
|
8592
8596
|
: undefined,
|
|
8593
8597
|
LastUpdated:
|
|
8594
8598
|
output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
8595
|
-
?
|
|
8599
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
8596
8600
|
: undefined,
|
|
8597
8601
|
Name: __expectString(output.name),
|
|
8598
|
-
Priority:
|
|
8602
|
+
Priority: __expectInt32(output.priority),
|
|
8599
8603
|
Queue: __expectString(output.queue),
|
|
8600
8604
|
Settings:
|
|
8601
8605
|
output.settings !== undefined && output.settings !== null
|
|
@@ -8608,7 +8612,7 @@ const deserializeAws_restJson1JobTemplate = (output: any, context: __SerdeContex
|
|
|
8608
8612
|
|
|
8609
8613
|
const deserializeAws_restJson1JobTemplateSettings = (output: any, context: __SerdeContext): JobTemplateSettings => {
|
|
8610
8614
|
return {
|
|
8611
|
-
AdAvailOffset:
|
|
8615
|
+
AdAvailOffset: __expectInt32(output.adAvailOffset),
|
|
8612
8616
|
AvailBlanking:
|
|
8613
8617
|
output.availBlanking !== undefined && output.availBlanking !== null
|
|
8614
8618
|
? deserializeAws_restJson1AvailBlanking(output.availBlanking, context)
|
|
@@ -8664,8 +8668,8 @@ const deserializeAws_restJson1KantarWatermarkSettings = (
|
|
|
8664
8668
|
ChannelName: __expectString(output.channelName),
|
|
8665
8669
|
ContentReference: __expectString(output.contentReference),
|
|
8666
8670
|
CredentialsSecretName: __expectString(output.credentialsSecretName),
|
|
8667
|
-
FileOffset:
|
|
8668
|
-
KantarLicenseId:
|
|
8671
|
+
FileOffset: __limitedParseDouble(output.fileOffset),
|
|
8672
|
+
KantarLicenseId: __expectInt32(output.kantarLicenseId),
|
|
8669
8673
|
KantarServerUrl: __expectString(output.kantarServerUrl),
|
|
8670
8674
|
LogDestination: __expectString(output.logDestination),
|
|
8671
8675
|
Metadata3: __expectString(output.metadata3),
|
|
@@ -8679,7 +8683,7 @@ const deserializeAws_restJson1KantarWatermarkSettings = (
|
|
|
8679
8683
|
|
|
8680
8684
|
const deserializeAws_restJson1M2tsScte35Esam = (output: any, context: __SerdeContext): M2tsScte35Esam => {
|
|
8681
8685
|
return {
|
|
8682
|
-
Scte35EsamPid:
|
|
8686
|
+
Scte35EsamPid: __expectInt32(output.scte35EsamPid),
|
|
8683
8687
|
} as any;
|
|
8684
8688
|
};
|
|
8685
8689
|
|
|
@@ -8687,12 +8691,12 @@ const deserializeAws_restJson1M2tsSettings = (output: any, context: __SerdeConte
|
|
|
8687
8691
|
return {
|
|
8688
8692
|
AudioBufferModel: __expectString(output.audioBufferModel),
|
|
8689
8693
|
AudioDuration: __expectString(output.audioDuration),
|
|
8690
|
-
AudioFramesPerPes:
|
|
8694
|
+
AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
|
|
8691
8695
|
AudioPids:
|
|
8692
8696
|
output.audioPids !== undefined && output.audioPids !== null
|
|
8693
8697
|
? deserializeAws_restJson1__listOf__integerMin32Max8182(output.audioPids, context)
|
|
8694
8698
|
: undefined,
|
|
8695
|
-
Bitrate:
|
|
8699
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
8696
8700
|
BufferModel: __expectString(output.bufferModel),
|
|
8697
8701
|
DataPTSControl: __expectString(output.dataPTSControl),
|
|
8698
8702
|
DvbNitSettings:
|
|
@@ -8711,63 +8715,63 @@ const deserializeAws_restJson1M2tsSettings = (output: any, context: __SerdeConte
|
|
|
8711
8715
|
output.dvbTdtSettings !== undefined && output.dvbTdtSettings !== null
|
|
8712
8716
|
? deserializeAws_restJson1DvbTdtSettings(output.dvbTdtSettings, context)
|
|
8713
8717
|
: undefined,
|
|
8714
|
-
DvbTeletextPid:
|
|
8718
|
+
DvbTeletextPid: __expectInt32(output.dvbTeletextPid),
|
|
8715
8719
|
EbpAudioInterval: __expectString(output.ebpAudioInterval),
|
|
8716
8720
|
EbpPlacement: __expectString(output.ebpPlacement),
|
|
8717
8721
|
EsRateInPes: __expectString(output.esRateInPes),
|
|
8718
8722
|
ForceTsVideoEbpOrder: __expectString(output.forceTsVideoEbpOrder),
|
|
8719
|
-
FragmentTime:
|
|
8720
|
-
MaxPcrInterval:
|
|
8721
|
-
MinEbpInterval:
|
|
8723
|
+
FragmentTime: __limitedParseDouble(output.fragmentTime),
|
|
8724
|
+
MaxPcrInterval: __expectInt32(output.maxPcrInterval),
|
|
8725
|
+
MinEbpInterval: __expectInt32(output.minEbpInterval),
|
|
8722
8726
|
NielsenId3: __expectString(output.nielsenId3),
|
|
8723
|
-
NullPacketBitrate:
|
|
8724
|
-
PatInterval:
|
|
8727
|
+
NullPacketBitrate: __limitedParseDouble(output.nullPacketBitrate),
|
|
8728
|
+
PatInterval: __expectInt32(output.patInterval),
|
|
8725
8729
|
PcrControl: __expectString(output.pcrControl),
|
|
8726
|
-
PcrPid:
|
|
8727
|
-
PmtInterval:
|
|
8728
|
-
PmtPid:
|
|
8729
|
-
PrivateMetadataPid:
|
|
8730
|
-
ProgramNumber:
|
|
8730
|
+
PcrPid: __expectInt32(output.pcrPid),
|
|
8731
|
+
PmtInterval: __expectInt32(output.pmtInterval),
|
|
8732
|
+
PmtPid: __expectInt32(output.pmtPid),
|
|
8733
|
+
PrivateMetadataPid: __expectInt32(output.privateMetadataPid),
|
|
8734
|
+
ProgramNumber: __expectInt32(output.programNumber),
|
|
8731
8735
|
RateMode: __expectString(output.rateMode),
|
|
8732
8736
|
Scte35Esam:
|
|
8733
8737
|
output.scte35Esam !== undefined && output.scte35Esam !== null
|
|
8734
8738
|
? deserializeAws_restJson1M2tsScte35Esam(output.scte35Esam, context)
|
|
8735
8739
|
: undefined,
|
|
8736
|
-
Scte35Pid:
|
|
8740
|
+
Scte35Pid: __expectInt32(output.scte35Pid),
|
|
8737
8741
|
Scte35Source: __expectString(output.scte35Source),
|
|
8738
8742
|
SegmentationMarkers: __expectString(output.segmentationMarkers),
|
|
8739
8743
|
SegmentationStyle: __expectString(output.segmentationStyle),
|
|
8740
|
-
SegmentationTime:
|
|
8741
|
-
TimedMetadataPid:
|
|
8742
|
-
TransportStreamId:
|
|
8743
|
-
VideoPid:
|
|
8744
|
+
SegmentationTime: __limitedParseDouble(output.segmentationTime),
|
|
8745
|
+
TimedMetadataPid: __expectInt32(output.timedMetadataPid),
|
|
8746
|
+
TransportStreamId: __expectInt32(output.transportStreamId),
|
|
8747
|
+
VideoPid: __expectInt32(output.videoPid),
|
|
8744
8748
|
} as any;
|
|
8745
8749
|
};
|
|
8746
8750
|
|
|
8747
8751
|
const deserializeAws_restJson1M3u8Settings = (output: any, context: __SerdeContext): M3u8Settings => {
|
|
8748
8752
|
return {
|
|
8749
8753
|
AudioDuration: __expectString(output.audioDuration),
|
|
8750
|
-
AudioFramesPerPes:
|
|
8754
|
+
AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
|
|
8751
8755
|
AudioPids:
|
|
8752
8756
|
output.audioPids !== undefined && output.audioPids !== null
|
|
8753
8757
|
? deserializeAws_restJson1__listOf__integerMin32Max8182(output.audioPids, context)
|
|
8754
8758
|
: undefined,
|
|
8755
8759
|
DataPTSControl: __expectString(output.dataPTSControl),
|
|
8756
|
-
MaxPcrInterval:
|
|
8760
|
+
MaxPcrInterval: __expectInt32(output.maxPcrInterval),
|
|
8757
8761
|
NielsenId3: __expectString(output.nielsenId3),
|
|
8758
|
-
PatInterval:
|
|
8762
|
+
PatInterval: __expectInt32(output.patInterval),
|
|
8759
8763
|
PcrControl: __expectString(output.pcrControl),
|
|
8760
|
-
PcrPid:
|
|
8761
|
-
PmtInterval:
|
|
8762
|
-
PmtPid:
|
|
8763
|
-
PrivateMetadataPid:
|
|
8764
|
-
ProgramNumber:
|
|
8765
|
-
Scte35Pid:
|
|
8764
|
+
PcrPid: __expectInt32(output.pcrPid),
|
|
8765
|
+
PmtInterval: __expectInt32(output.pmtInterval),
|
|
8766
|
+
PmtPid: __expectInt32(output.pmtPid),
|
|
8767
|
+
PrivateMetadataPid: __expectInt32(output.privateMetadataPid),
|
|
8768
|
+
ProgramNumber: __expectInt32(output.programNumber),
|
|
8769
|
+
Scte35Pid: __expectInt32(output.scte35Pid),
|
|
8766
8770
|
Scte35Source: __expectString(output.scte35Source),
|
|
8767
8771
|
TimedMetadata: __expectString(output.timedMetadata),
|
|
8768
|
-
TimedMetadataPid:
|
|
8769
|
-
TransportStreamId:
|
|
8770
|
-
VideoPid:
|
|
8772
|
+
TimedMetadataPid: __expectInt32(output.timedMetadataPid),
|
|
8773
|
+
TransportStreamId: __expectInt32(output.transportStreamId),
|
|
8774
|
+
VideoPid: __expectInt32(output.videoPid),
|
|
8771
8775
|
} as any;
|
|
8772
8776
|
};
|
|
8773
8777
|
|
|
@@ -8793,8 +8797,8 @@ const deserializeAws_restJson1MotionImageInsertionFramerate = (
|
|
|
8793
8797
|
context: __SerdeContext
|
|
8794
8798
|
): MotionImageInsertionFramerate => {
|
|
8795
8799
|
return {
|
|
8796
|
-
FramerateDenominator:
|
|
8797
|
-
FramerateNumerator:
|
|
8800
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
8801
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
8798
8802
|
} as any;
|
|
8799
8803
|
};
|
|
8800
8804
|
|
|
@@ -8803,8 +8807,8 @@ const deserializeAws_restJson1MotionImageInsertionOffset = (
|
|
|
8803
8807
|
context: __SerdeContext
|
|
8804
8808
|
): MotionImageInsertionOffset => {
|
|
8805
8809
|
return {
|
|
8806
|
-
ImageX:
|
|
8807
|
-
ImageY:
|
|
8810
|
+
ImageX: __expectInt32(output.imageX),
|
|
8811
|
+
ImageY: __expectInt32(output.imageY),
|
|
8808
8812
|
} as any;
|
|
8809
8813
|
};
|
|
8810
8814
|
|
|
@@ -8820,19 +8824,19 @@ const deserializeAws_restJson1MovSettings = (output: any, context: __SerdeContex
|
|
|
8820
8824
|
|
|
8821
8825
|
const deserializeAws_restJson1Mp2Settings = (output: any, context: __SerdeContext): Mp2Settings => {
|
|
8822
8826
|
return {
|
|
8823
|
-
Bitrate:
|
|
8824
|
-
Channels:
|
|
8825
|
-
SampleRate:
|
|
8827
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
8828
|
+
Channels: __expectInt32(output.channels),
|
|
8829
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
8826
8830
|
} as any;
|
|
8827
8831
|
};
|
|
8828
8832
|
|
|
8829
8833
|
const deserializeAws_restJson1Mp3Settings = (output: any, context: __SerdeContext): Mp3Settings => {
|
|
8830
8834
|
return {
|
|
8831
|
-
Bitrate:
|
|
8832
|
-
Channels:
|
|
8835
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
8836
|
+
Channels: __expectInt32(output.channels),
|
|
8833
8837
|
RateControlMode: __expectString(output.rateControlMode),
|
|
8834
|
-
SampleRate:
|
|
8835
|
-
VbrQuality:
|
|
8838
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
8839
|
+
VbrQuality: __expectInt32(output.vbrQuality),
|
|
8836
8840
|
} as any;
|
|
8837
8841
|
};
|
|
8838
8842
|
|
|
@@ -8840,7 +8844,7 @@ const deserializeAws_restJson1Mp4Settings = (output: any, context: __SerdeContex
|
|
|
8840
8844
|
return {
|
|
8841
8845
|
AudioDuration: __expectString(output.audioDuration),
|
|
8842
8846
|
CslgAtom: __expectString(output.cslgAtom),
|
|
8843
|
-
CttsVersion:
|
|
8847
|
+
CttsVersion: __expectInt32(output.cttsVersion),
|
|
8844
8848
|
FreeSpaceBox: __expectString(output.freeSpaceBox),
|
|
8845
8849
|
MoovPlacement: __expectString(output.moovPlacement),
|
|
8846
8850
|
Mp4MajorBrand: __expectString(output.mp4MajorBrand),
|
|
@@ -8860,33 +8864,33 @@ const deserializeAws_restJson1MpdSettings = (output: any, context: __SerdeContex
|
|
|
8860
8864
|
const deserializeAws_restJson1Mpeg2Settings = (output: any, context: __SerdeContext): Mpeg2Settings => {
|
|
8861
8865
|
return {
|
|
8862
8866
|
AdaptiveQuantization: __expectString(output.adaptiveQuantization),
|
|
8863
|
-
Bitrate:
|
|
8867
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
8864
8868
|
CodecLevel: __expectString(output.codecLevel),
|
|
8865
8869
|
CodecProfile: __expectString(output.codecProfile),
|
|
8866
8870
|
DynamicSubGop: __expectString(output.dynamicSubGop),
|
|
8867
8871
|
FramerateControl: __expectString(output.framerateControl),
|
|
8868
8872
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
8869
|
-
FramerateDenominator:
|
|
8870
|
-
FramerateNumerator:
|
|
8871
|
-
GopClosedCadence:
|
|
8872
|
-
GopSize:
|
|
8873
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
8874
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
8875
|
+
GopClosedCadence: __expectInt32(output.gopClosedCadence),
|
|
8876
|
+
GopSize: __limitedParseDouble(output.gopSize),
|
|
8873
8877
|
GopSizeUnits: __expectString(output.gopSizeUnits),
|
|
8874
|
-
HrdBufferInitialFillPercentage:
|
|
8875
|
-
HrdBufferSize:
|
|
8878
|
+
HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
|
|
8879
|
+
HrdBufferSize: __expectInt32(output.hrdBufferSize),
|
|
8876
8880
|
InterlaceMode: __expectString(output.interlaceMode),
|
|
8877
8881
|
IntraDcPrecision: __expectString(output.intraDcPrecision),
|
|
8878
|
-
MaxBitrate:
|
|
8879
|
-
MinIInterval:
|
|
8880
|
-
NumberBFramesBetweenReferenceFrames:
|
|
8882
|
+
MaxBitrate: __expectInt32(output.maxBitrate),
|
|
8883
|
+
MinIInterval: __expectInt32(output.minIInterval),
|
|
8884
|
+
NumberBFramesBetweenReferenceFrames: __expectInt32(output.numberBFramesBetweenReferenceFrames),
|
|
8881
8885
|
ParControl: __expectString(output.parControl),
|
|
8882
|
-
ParDenominator:
|
|
8883
|
-
ParNumerator:
|
|
8886
|
+
ParDenominator: __expectInt32(output.parDenominator),
|
|
8887
|
+
ParNumerator: __expectInt32(output.parNumerator),
|
|
8884
8888
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
8885
8889
|
RateControlMode: __expectString(output.rateControlMode),
|
|
8886
8890
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
8887
8891
|
SceneChangeDetect: __expectString(output.sceneChangeDetect),
|
|
8888
8892
|
SlowPal: __expectString(output.slowPal),
|
|
8889
|
-
Softness:
|
|
8893
|
+
Softness: __expectInt32(output.softness),
|
|
8890
8894
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
8891
8895
|
Syntax: __expectString(output.syntax),
|
|
8892
8896
|
Telecine: __expectString(output.telecine),
|
|
@@ -8935,7 +8939,7 @@ const deserializeAws_restJson1MsSmoothGroupSettings = (output: any, context: __S
|
|
|
8935
8939
|
output.encryption !== undefined && output.encryption !== null
|
|
8936
8940
|
? deserializeAws_restJson1MsSmoothEncryptionSettings(output.encryption, context)
|
|
8937
8941
|
: undefined,
|
|
8938
|
-
FragmentLength:
|
|
8942
|
+
FragmentLength: __expectInt32(output.fragmentLength),
|
|
8939
8943
|
FragmentLengthControl: __expectString(output.fragmentLengthControl),
|
|
8940
8944
|
ManifestEncoding: __expectString(output.manifestEncoding),
|
|
8941
8945
|
} as any;
|
|
@@ -8958,7 +8962,7 @@ const deserializeAws_restJson1MxfXavcProfileSettings = (
|
|
|
8958
8962
|
): MxfXavcProfileSettings => {
|
|
8959
8963
|
return {
|
|
8960
8964
|
DurationMode: __expectString(output.durationMode),
|
|
8961
|
-
MaxAncDataSize:
|
|
8965
|
+
MaxAncDataSize: __expectInt32(output.maxAncDataSize),
|
|
8962
8966
|
} as any;
|
|
8963
8967
|
};
|
|
8964
8968
|
|
|
@@ -8968,7 +8972,7 @@ const deserializeAws_restJson1NexGuardFileMarkerSettings = (
|
|
|
8968
8972
|
): NexGuardFileMarkerSettings => {
|
|
8969
8973
|
return {
|
|
8970
8974
|
License: __expectString(output.license),
|
|
8971
|
-
Payload:
|
|
8975
|
+
Payload: __expectInt32(output.payload),
|
|
8972
8976
|
Preset: __expectString(output.preset),
|
|
8973
8977
|
Strength: __expectString(output.strength),
|
|
8974
8978
|
} as any;
|
|
@@ -8976,7 +8980,7 @@ const deserializeAws_restJson1NexGuardFileMarkerSettings = (
|
|
|
8976
8980
|
|
|
8977
8981
|
const deserializeAws_restJson1NielsenConfiguration = (output: any, context: __SerdeContext): NielsenConfiguration => {
|
|
8978
8982
|
return {
|
|
8979
|
-
BreakoutCode:
|
|
8983
|
+
BreakoutCode: __expectInt32(output.breakoutCode),
|
|
8980
8984
|
DistributorId: __expectString(output.distributorId),
|
|
8981
8985
|
} as any;
|
|
8982
8986
|
};
|
|
@@ -8993,7 +8997,7 @@ const deserializeAws_restJson1NielsenNonLinearWatermarkSettings = (
|
|
|
8993
8997
|
CbetSourceId: __expectString(output.cbetSourceId),
|
|
8994
8998
|
EpisodeId: __expectString(output.episodeId),
|
|
8995
8999
|
MetadataDestination: __expectString(output.metadataDestination),
|
|
8996
|
-
SourceId:
|
|
9000
|
+
SourceId: __expectInt32(output.sourceId),
|
|
8997
9001
|
SourceWatermarkStatus: __expectString(output.sourceWatermarkStatus),
|
|
8998
9002
|
TicServerUrl: __expectString(output.ticServerUrl),
|
|
8999
9003
|
UniqueTicPerAudioTrack: __expectString(output.uniqueTicPerAudioTrack),
|
|
@@ -9023,7 +9027,7 @@ const deserializeAws_restJson1NoiseReducerFilterSettings = (
|
|
|
9023
9027
|
context: __SerdeContext
|
|
9024
9028
|
): NoiseReducerFilterSettings => {
|
|
9025
9029
|
return {
|
|
9026
|
-
Strength:
|
|
9030
|
+
Strength: __expectInt32(output.strength),
|
|
9027
9031
|
} as any;
|
|
9028
9032
|
};
|
|
9029
9033
|
|
|
@@ -9032,9 +9036,9 @@ const deserializeAws_restJson1NoiseReducerSpatialFilterSettings = (
|
|
|
9032
9036
|
context: __SerdeContext
|
|
9033
9037
|
): NoiseReducerSpatialFilterSettings => {
|
|
9034
9038
|
return {
|
|
9035
|
-
PostFilterSharpenStrength:
|
|
9036
|
-
Speed:
|
|
9037
|
-
Strength:
|
|
9039
|
+
PostFilterSharpenStrength: __expectInt32(output.postFilterSharpenStrength),
|
|
9040
|
+
Speed: __expectInt32(output.speed),
|
|
9041
|
+
Strength: __expectInt32(output.strength),
|
|
9038
9042
|
} as any;
|
|
9039
9043
|
};
|
|
9040
9044
|
|
|
@@ -9043,18 +9047,18 @@ const deserializeAws_restJson1NoiseReducerTemporalFilterSettings = (
|
|
|
9043
9047
|
context: __SerdeContext
|
|
9044
9048
|
): NoiseReducerTemporalFilterSettings => {
|
|
9045
9049
|
return {
|
|
9046
|
-
AggressiveMode:
|
|
9050
|
+
AggressiveMode: __expectInt32(output.aggressiveMode),
|
|
9047
9051
|
PostTemporalSharpening: __expectString(output.postTemporalSharpening),
|
|
9048
|
-
Speed:
|
|
9049
|
-
Strength:
|
|
9052
|
+
Speed: __expectInt32(output.speed),
|
|
9053
|
+
Strength: __expectInt32(output.strength),
|
|
9050
9054
|
} as any;
|
|
9051
9055
|
};
|
|
9052
9056
|
|
|
9053
9057
|
const deserializeAws_restJson1OpusSettings = (output: any, context: __SerdeContext): OpusSettings => {
|
|
9054
9058
|
return {
|
|
9055
|
-
Bitrate:
|
|
9056
|
-
Channels:
|
|
9057
|
-
SampleRate:
|
|
9059
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
9060
|
+
Channels: __expectInt32(output.channels),
|
|
9061
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
9058
9062
|
} as any;
|
|
9059
9063
|
};
|
|
9060
9064
|
|
|
@@ -9101,7 +9105,7 @@ const deserializeAws_restJson1OutputChannelMapping = (output: any, context: __Se
|
|
|
9101
9105
|
|
|
9102
9106
|
const deserializeAws_restJson1OutputDetail = (output: any, context: __SerdeContext): OutputDetail => {
|
|
9103
9107
|
return {
|
|
9104
|
-
DurationInMs:
|
|
9108
|
+
DurationInMs: __expectInt32(output.durationInMs),
|
|
9105
9109
|
VideoDetails:
|
|
9106
9110
|
output.videoDetails !== undefined && output.videoDetails !== null
|
|
9107
9111
|
? deserializeAws_restJson1VideoDetail(output.videoDetails, context)
|
|
@@ -9187,12 +9191,12 @@ const deserializeAws_restJson1Preset = (output: any, context: __SerdeContext): P
|
|
|
9187
9191
|
Category: __expectString(output.category),
|
|
9188
9192
|
CreatedAt:
|
|
9189
9193
|
output.createdAt !== undefined && output.createdAt !== null
|
|
9190
|
-
?
|
|
9194
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
9191
9195
|
: undefined,
|
|
9192
9196
|
Description: __expectString(output.description),
|
|
9193
9197
|
LastUpdated:
|
|
9194
9198
|
output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
9195
|
-
?
|
|
9199
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
9196
9200
|
: undefined,
|
|
9197
9201
|
Name: __expectString(output.name),
|
|
9198
9202
|
Settings:
|
|
@@ -9230,12 +9234,12 @@ const deserializeAws_restJson1ProresSettings = (output: any, context: __SerdeCon
|
|
|
9230
9234
|
CodecProfile: __expectString(output.codecProfile),
|
|
9231
9235
|
FramerateControl: __expectString(output.framerateControl),
|
|
9232
9236
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
9233
|
-
FramerateDenominator:
|
|
9234
|
-
FramerateNumerator:
|
|
9237
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
9238
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
9235
9239
|
InterlaceMode: __expectString(output.interlaceMode),
|
|
9236
9240
|
ParControl: __expectString(output.parControl),
|
|
9237
|
-
ParDenominator:
|
|
9238
|
-
ParNumerator:
|
|
9241
|
+
ParDenominator: __expectInt32(output.parDenominator),
|
|
9242
|
+
ParNumerator: __expectInt32(output.parNumerator),
|
|
9239
9243
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
9240
9244
|
SlowPal: __expectString(output.slowPal),
|
|
9241
9245
|
Telecine: __expectString(output.telecine),
|
|
@@ -9247,22 +9251,22 @@ const deserializeAws_restJson1Queue = (output: any, context: __SerdeContext): Qu
|
|
|
9247
9251
|
Arn: __expectString(output.arn),
|
|
9248
9252
|
CreatedAt:
|
|
9249
9253
|
output.createdAt !== undefined && output.createdAt !== null
|
|
9250
|
-
?
|
|
9254
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
9251
9255
|
: undefined,
|
|
9252
9256
|
Description: __expectString(output.description),
|
|
9253
9257
|
LastUpdated:
|
|
9254
9258
|
output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
9255
|
-
?
|
|
9259
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
9256
9260
|
: undefined,
|
|
9257
9261
|
Name: __expectString(output.name),
|
|
9258
9262
|
PricingPlan: __expectString(output.pricingPlan),
|
|
9259
|
-
ProgressingJobsCount:
|
|
9263
|
+
ProgressingJobsCount: __expectInt32(output.progressingJobsCount),
|
|
9260
9264
|
ReservationPlan:
|
|
9261
9265
|
output.reservationPlan !== undefined && output.reservationPlan !== null
|
|
9262
9266
|
? deserializeAws_restJson1ReservationPlan(output.reservationPlan, context)
|
|
9263
9267
|
: undefined,
|
|
9264
9268
|
Status: __expectString(output.status),
|
|
9265
|
-
SubmittedJobsCount:
|
|
9269
|
+
SubmittedJobsCount: __expectInt32(output.submittedJobsCount),
|
|
9266
9270
|
Type: __expectString(output.type),
|
|
9267
9271
|
} as any;
|
|
9268
9272
|
};
|
|
@@ -9273,17 +9277,17 @@ const deserializeAws_restJson1QueueTransition = (output: any, context: __SerdeCo
|
|
|
9273
9277
|
SourceQueue: __expectString(output.sourceQueue),
|
|
9274
9278
|
Timestamp:
|
|
9275
9279
|
output.timestamp !== undefined && output.timestamp !== null
|
|
9276
|
-
?
|
|
9280
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
|
|
9277
9281
|
: undefined,
|
|
9278
9282
|
} as any;
|
|
9279
9283
|
};
|
|
9280
9284
|
|
|
9281
9285
|
const deserializeAws_restJson1Rectangle = (output: any, context: __SerdeContext): Rectangle => {
|
|
9282
9286
|
return {
|
|
9283
|
-
Height:
|
|
9284
|
-
Width:
|
|
9285
|
-
X:
|
|
9286
|
-
Y:
|
|
9287
|
+
Height: __expectInt32(output.height),
|
|
9288
|
+
Width: __expectInt32(output.width),
|
|
9289
|
+
X: __expectInt32(output.x),
|
|
9290
|
+
Y: __expectInt32(output.y),
|
|
9287
9291
|
} as any;
|
|
9288
9292
|
};
|
|
9289
9293
|
|
|
@@ -9293,8 +9297,8 @@ const deserializeAws_restJson1RemixSettings = (output: any, context: __SerdeCont
|
|
|
9293
9297
|
output.channelMapping !== undefined && output.channelMapping !== null
|
|
9294
9298
|
? deserializeAws_restJson1ChannelMapping(output.channelMapping, context)
|
|
9295
9299
|
: undefined,
|
|
9296
|
-
ChannelsIn:
|
|
9297
|
-
ChannelsOut:
|
|
9300
|
+
ChannelsIn: __expectInt32(output.channelsIn),
|
|
9301
|
+
ChannelsOut: __expectInt32(output.channelsOut),
|
|
9298
9302
|
} as any;
|
|
9299
9303
|
};
|
|
9300
9304
|
|
|
@@ -9303,14 +9307,14 @@ const deserializeAws_restJson1ReservationPlan = (output: any, context: __SerdeCo
|
|
|
9303
9307
|
Commitment: __expectString(output.commitment),
|
|
9304
9308
|
ExpiresAt:
|
|
9305
9309
|
output.expiresAt !== undefined && output.expiresAt !== null
|
|
9306
|
-
?
|
|
9310
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt)))
|
|
9307
9311
|
: undefined,
|
|
9308
9312
|
PurchasedAt:
|
|
9309
9313
|
output.purchasedAt !== undefined && output.purchasedAt !== null
|
|
9310
|
-
?
|
|
9314
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.purchasedAt)))
|
|
9311
9315
|
: undefined,
|
|
9312
9316
|
RenewalType: __expectString(output.renewalType),
|
|
9313
|
-
ReservedSlots:
|
|
9317
|
+
ReservedSlots: __expectInt32(output.reservedSlots),
|
|
9314
9318
|
Status: __expectString(output.status),
|
|
9315
9319
|
} as any;
|
|
9316
9320
|
};
|
|
@@ -9440,7 +9444,7 @@ const deserializeAws_restJson1TeletextSourceSettings = (
|
|
|
9440
9444
|
|
|
9441
9445
|
const deserializeAws_restJson1TimecodeBurnin = (output: any, context: __SerdeContext): TimecodeBurnin => {
|
|
9442
9446
|
return {
|
|
9443
|
-
FontSize:
|
|
9447
|
+
FontSize: __expectInt32(output.fontSize),
|
|
9444
9448
|
Position: __expectString(output.position),
|
|
9445
9449
|
Prefix: __expectString(output.prefix),
|
|
9446
9450
|
} as any;
|
|
@@ -9471,22 +9475,22 @@ const deserializeAws_restJson1Timing = (output: any, context: __SerdeContext): T
|
|
|
9471
9475
|
return {
|
|
9472
9476
|
FinishTime:
|
|
9473
9477
|
output.finishTime !== undefined && output.finishTime !== null
|
|
9474
|
-
?
|
|
9478
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.finishTime)))
|
|
9475
9479
|
: undefined,
|
|
9476
9480
|
StartTime:
|
|
9477
9481
|
output.startTime !== undefined && output.startTime !== null
|
|
9478
|
-
?
|
|
9482
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
9479
9483
|
: undefined,
|
|
9480
9484
|
SubmitTime:
|
|
9481
9485
|
output.submitTime !== undefined && output.submitTime !== null
|
|
9482
|
-
?
|
|
9486
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.submitTime)))
|
|
9483
9487
|
: undefined,
|
|
9484
9488
|
} as any;
|
|
9485
9489
|
};
|
|
9486
9490
|
|
|
9487
9491
|
const deserializeAws_restJson1TrackSourceSettings = (output: any, context: __SerdeContext): TrackSourceSettings => {
|
|
9488
9492
|
return {
|
|
9489
|
-
TrackNumber:
|
|
9493
|
+
TrackNumber: __expectInt32(output.trackNumber),
|
|
9490
9494
|
} as any;
|
|
9491
9495
|
};
|
|
9492
9496
|
|
|
@@ -9503,8 +9507,8 @@ const deserializeAws_restJson1Vc3Settings = (output: any, context: __SerdeContex
|
|
|
9503
9507
|
return {
|
|
9504
9508
|
FramerateControl: __expectString(output.framerateControl),
|
|
9505
9509
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
9506
|
-
FramerateDenominator:
|
|
9507
|
-
FramerateNumerator:
|
|
9510
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
9511
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
9508
9512
|
InterlaceMode: __expectString(output.interlaceMode),
|
|
9509
9513
|
ScanTypeConversionMode: __expectString(output.scanTypeConversionMode),
|
|
9510
9514
|
SlowPal: __expectString(output.slowPal),
|
|
@@ -9577,28 +9581,28 @@ const deserializeAws_restJson1VideoDescription = (output: any, context: __SerdeC
|
|
|
9577
9581
|
? deserializeAws_restJson1Rectangle(output.crop, context)
|
|
9578
9582
|
: undefined,
|
|
9579
9583
|
DropFrameTimecode: __expectString(output.dropFrameTimecode),
|
|
9580
|
-
FixedAfd:
|
|
9581
|
-
Height:
|
|
9584
|
+
FixedAfd: __expectInt32(output.fixedAfd),
|
|
9585
|
+
Height: __expectInt32(output.height),
|
|
9582
9586
|
Position:
|
|
9583
9587
|
output.position !== undefined && output.position !== null
|
|
9584
9588
|
? deserializeAws_restJson1Rectangle(output.position, context)
|
|
9585
9589
|
: undefined,
|
|
9586
9590
|
RespondToAfd: __expectString(output.respondToAfd),
|
|
9587
9591
|
ScalingBehavior: __expectString(output.scalingBehavior),
|
|
9588
|
-
Sharpness:
|
|
9592
|
+
Sharpness: __expectInt32(output.sharpness),
|
|
9589
9593
|
TimecodeInsertion: __expectString(output.timecodeInsertion),
|
|
9590
9594
|
VideoPreprocessors:
|
|
9591
9595
|
output.videoPreprocessors !== undefined && output.videoPreprocessors !== null
|
|
9592
9596
|
? deserializeAws_restJson1VideoPreprocessor(output.videoPreprocessors, context)
|
|
9593
9597
|
: undefined,
|
|
9594
|
-
Width:
|
|
9598
|
+
Width: __expectInt32(output.width),
|
|
9595
9599
|
} as any;
|
|
9596
9600
|
};
|
|
9597
9601
|
|
|
9598
9602
|
const deserializeAws_restJson1VideoDetail = (output: any, context: __SerdeContext): VideoDetail => {
|
|
9599
9603
|
return {
|
|
9600
|
-
HeightInPx:
|
|
9601
|
-
WidthInPx:
|
|
9604
|
+
HeightInPx: __expectInt32(output.heightInPx),
|
|
9605
|
+
WidthInPx: __expectInt32(output.widthInPx),
|
|
9602
9606
|
} as any;
|
|
9603
9607
|
};
|
|
9604
9608
|
|
|
@@ -9648,8 +9652,8 @@ const deserializeAws_restJson1VideoSelector = (output: any, context: __SerdeCont
|
|
|
9648
9652
|
output.hdr10Metadata !== undefined && output.hdr10Metadata !== null
|
|
9649
9653
|
? deserializeAws_restJson1Hdr10Metadata(output.hdr10Metadata, context)
|
|
9650
9654
|
: undefined,
|
|
9651
|
-
Pid:
|
|
9652
|
-
ProgramNumber:
|
|
9655
|
+
Pid: __expectInt32(output.pid),
|
|
9656
|
+
ProgramNumber: __expectInt32(output.programNumber),
|
|
9653
9657
|
Rotate: __expectString(output.rotate),
|
|
9654
9658
|
SampleRange: __expectString(output.sampleRange),
|
|
9655
9659
|
} as any;
|
|
@@ -9657,25 +9661,25 @@ const deserializeAws_restJson1VideoSelector = (output: any, context: __SerdeCont
|
|
|
9657
9661
|
|
|
9658
9662
|
const deserializeAws_restJson1VorbisSettings = (output: any, context: __SerdeContext): VorbisSettings => {
|
|
9659
9663
|
return {
|
|
9660
|
-
Channels:
|
|
9661
|
-
SampleRate:
|
|
9662
|
-
VbrQuality:
|
|
9664
|
+
Channels: __expectInt32(output.channels),
|
|
9665
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
9666
|
+
VbrQuality: __expectInt32(output.vbrQuality),
|
|
9663
9667
|
} as any;
|
|
9664
9668
|
};
|
|
9665
9669
|
|
|
9666
9670
|
const deserializeAws_restJson1Vp8Settings = (output: any, context: __SerdeContext): Vp8Settings => {
|
|
9667
9671
|
return {
|
|
9668
|
-
Bitrate:
|
|
9672
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
9669
9673
|
FramerateControl: __expectString(output.framerateControl),
|
|
9670
9674
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
9671
|
-
FramerateDenominator:
|
|
9672
|
-
FramerateNumerator:
|
|
9673
|
-
GopSize:
|
|
9674
|
-
HrdBufferSize:
|
|
9675
|
-
MaxBitrate:
|
|
9675
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
9676
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
9677
|
+
GopSize: __limitedParseDouble(output.gopSize),
|
|
9678
|
+
HrdBufferSize: __expectInt32(output.hrdBufferSize),
|
|
9679
|
+
MaxBitrate: __expectInt32(output.maxBitrate),
|
|
9676
9680
|
ParControl: __expectString(output.parControl),
|
|
9677
|
-
ParDenominator:
|
|
9678
|
-
ParNumerator:
|
|
9681
|
+
ParDenominator: __expectInt32(output.parDenominator),
|
|
9682
|
+
ParNumerator: __expectInt32(output.parNumerator),
|
|
9679
9683
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
9680
9684
|
RateControlMode: __expectString(output.rateControlMode),
|
|
9681
9685
|
} as any;
|
|
@@ -9683,17 +9687,17 @@ const deserializeAws_restJson1Vp8Settings = (output: any, context: __SerdeContex
|
|
|
9683
9687
|
|
|
9684
9688
|
const deserializeAws_restJson1Vp9Settings = (output: any, context: __SerdeContext): Vp9Settings => {
|
|
9685
9689
|
return {
|
|
9686
|
-
Bitrate:
|
|
9690
|
+
Bitrate: __expectInt32(output.bitrate),
|
|
9687
9691
|
FramerateControl: __expectString(output.framerateControl),
|
|
9688
9692
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
9689
|
-
FramerateDenominator:
|
|
9690
|
-
FramerateNumerator:
|
|
9691
|
-
GopSize:
|
|
9692
|
-
HrdBufferSize:
|
|
9693
|
-
MaxBitrate:
|
|
9693
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
9694
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
9695
|
+
GopSize: __limitedParseDouble(output.gopSize),
|
|
9696
|
+
HrdBufferSize: __expectInt32(output.hrdBufferSize),
|
|
9697
|
+
MaxBitrate: __expectInt32(output.maxBitrate),
|
|
9694
9698
|
ParControl: __expectString(output.parControl),
|
|
9695
|
-
ParDenominator:
|
|
9696
|
-
ParNumerator:
|
|
9699
|
+
ParDenominator: __expectInt32(output.parDenominator),
|
|
9700
|
+
ParNumerator: __expectInt32(output.parNumerator),
|
|
9697
9701
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
9698
9702
|
RateControlMode: __expectString(output.rateControlMode),
|
|
9699
9703
|
} as any;
|
|
@@ -9701,10 +9705,10 @@ const deserializeAws_restJson1Vp9Settings = (output: any, context: __SerdeContex
|
|
|
9701
9705
|
|
|
9702
9706
|
const deserializeAws_restJson1WavSettings = (output: any, context: __SerdeContext): WavSettings => {
|
|
9703
9707
|
return {
|
|
9704
|
-
BitDepth:
|
|
9705
|
-
Channels:
|
|
9708
|
+
BitDepth: __expectInt32(output.bitDepth),
|
|
9709
|
+
Channels: __expectInt32(output.channels),
|
|
9706
9710
|
Format: __expectString(output.format),
|
|
9707
|
-
SampleRate:
|
|
9711
|
+
SampleRate: __expectInt32(output.sampleRate),
|
|
9708
9712
|
} as any;
|
|
9709
9713
|
};
|
|
9710
9714
|
|
|
@@ -9752,10 +9756,10 @@ const deserializeAws_restJson1Xavc4kProfileSettings = (output: any, context: __S
|
|
|
9752
9756
|
CodecProfile: __expectString(output.codecProfile),
|
|
9753
9757
|
FlickerAdaptiveQuantization: __expectString(output.flickerAdaptiveQuantization),
|
|
9754
9758
|
GopBReference: __expectString(output.gopBReference),
|
|
9755
|
-
GopClosedCadence:
|
|
9756
|
-
HrdBufferSize:
|
|
9759
|
+
GopClosedCadence: __expectInt32(output.gopClosedCadence),
|
|
9760
|
+
HrdBufferSize: __expectInt32(output.hrdBufferSize),
|
|
9757
9761
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
9758
|
-
Slices:
|
|
9762
|
+
Slices: __expectInt32(output.slices),
|
|
9759
9763
|
} as any;
|
|
9760
9764
|
};
|
|
9761
9765
|
|
|
@@ -9773,11 +9777,11 @@ const deserializeAws_restJson1XavcHdProfileSettings = (output: any, context: __S
|
|
|
9773
9777
|
BitrateClass: __expectString(output.bitrateClass),
|
|
9774
9778
|
FlickerAdaptiveQuantization: __expectString(output.flickerAdaptiveQuantization),
|
|
9775
9779
|
GopBReference: __expectString(output.gopBReference),
|
|
9776
|
-
GopClosedCadence:
|
|
9777
|
-
HrdBufferSize:
|
|
9780
|
+
GopClosedCadence: __expectInt32(output.gopClosedCadence),
|
|
9781
|
+
HrdBufferSize: __expectInt32(output.hrdBufferSize),
|
|
9778
9782
|
InterlaceMode: __expectString(output.interlaceMode),
|
|
9779
9783
|
QualityTuningLevel: __expectString(output.qualityTuningLevel),
|
|
9780
|
-
Slices:
|
|
9784
|
+
Slices: __expectInt32(output.slices),
|
|
9781
9785
|
Telecine: __expectString(output.telecine),
|
|
9782
9786
|
} as any;
|
|
9783
9787
|
};
|
|
@@ -9788,11 +9792,11 @@ const deserializeAws_restJson1XavcSettings = (output: any, context: __SerdeConte
|
|
|
9788
9792
|
EntropyEncoding: __expectString(output.entropyEncoding),
|
|
9789
9793
|
FramerateControl: __expectString(output.framerateControl),
|
|
9790
9794
|
FramerateConversionAlgorithm: __expectString(output.framerateConversionAlgorithm),
|
|
9791
|
-
FramerateDenominator:
|
|
9792
|
-
FramerateNumerator:
|
|
9795
|
+
FramerateDenominator: __expectInt32(output.framerateDenominator),
|
|
9796
|
+
FramerateNumerator: __expectInt32(output.framerateNumerator),
|
|
9793
9797
|
Profile: __expectString(output.profile),
|
|
9794
9798
|
SlowPal: __expectString(output.slowPal),
|
|
9795
|
-
Softness:
|
|
9799
|
+
Softness: __expectInt32(output.softness),
|
|
9796
9800
|
SpatialAdaptiveQuantization: __expectString(output.spatialAdaptiveQuantization),
|
|
9797
9801
|
TemporalAdaptiveQuantization: __expectString(output.temporalAdaptiveQuantization),
|
|
9798
9802
|
Xavc4kIntraCbgProfileSettings:
|