@aws-sdk/client-medialive 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 +32 -32
- package/dist/cjs/protocols/Aws_restJson1.js +303 -303
- 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 +32 -32
- package/dist/es/protocols/Aws_restJson1.js +534 -442
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_restJson1.ts +310 -306
|
@@ -1825,7 +1825,7 @@ const deserializeAws_restJson1BatchDeleteCommand = async (output, context) => {
|
|
|
1825
1825
|
Failed: undefined,
|
|
1826
1826
|
Successful: undefined,
|
|
1827
1827
|
};
|
|
1828
|
-
const data = await parseBody(output.body, context);
|
|
1828
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1829
1829
|
if (data.failed !== undefined && data.failed !== null) {
|
|
1830
1830
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
1831
1831
|
}
|
|
@@ -1933,7 +1933,7 @@ const deserializeAws_restJson1BatchStartCommand = async (output, context) => {
|
|
|
1933
1933
|
Failed: undefined,
|
|
1934
1934
|
Successful: undefined,
|
|
1935
1935
|
};
|
|
1936
|
-
const data = await parseBody(output.body, context);
|
|
1936
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1937
1937
|
if (data.failed !== undefined && data.failed !== null) {
|
|
1938
1938
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
1939
1939
|
}
|
|
@@ -2041,7 +2041,7 @@ const deserializeAws_restJson1BatchStopCommand = async (output, context) => {
|
|
|
2041
2041
|
Failed: undefined,
|
|
2042
2042
|
Successful: undefined,
|
|
2043
2043
|
};
|
|
2044
|
-
const data = await parseBody(output.body, context);
|
|
2044
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2045
2045
|
if (data.failed !== undefined && data.failed !== null) {
|
|
2046
2046
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
2047
2047
|
}
|
|
@@ -2149,7 +2149,7 @@ const deserializeAws_restJson1BatchUpdateScheduleCommand = async (output, contex
|
|
|
2149
2149
|
Creates: undefined,
|
|
2150
2150
|
Deletes: undefined,
|
|
2151
2151
|
};
|
|
2152
|
-
const data = await parseBody(output.body, context);
|
|
2152
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2153
2153
|
if (data.creates !== undefined && data.creates !== null) {
|
|
2154
2154
|
contents.Creates = deserializeAws_restJson1BatchScheduleActionCreateResult(data.creates, context);
|
|
2155
2155
|
}
|
|
@@ -2364,7 +2364,7 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
|
|
|
2364
2364
|
$metadata: deserializeMetadata(output),
|
|
2365
2365
|
Channel: undefined,
|
|
2366
2366
|
};
|
|
2367
|
-
const data = await parseBody(output.body, context);
|
|
2367
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2368
2368
|
if (data.channel !== undefined && data.channel !== null) {
|
|
2369
2369
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
2370
2370
|
}
|
|
@@ -2468,7 +2468,7 @@ const deserializeAws_restJson1CreateInputCommand = async (output, context) => {
|
|
|
2468
2468
|
$metadata: deserializeMetadata(output),
|
|
2469
2469
|
Input: undefined,
|
|
2470
2470
|
};
|
|
2471
|
-
const data = await parseBody(output.body, context);
|
|
2471
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2472
2472
|
if (data.input !== undefined && data.input !== null) {
|
|
2473
2473
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
2474
2474
|
}
|
|
@@ -2556,7 +2556,7 @@ const deserializeAws_restJson1CreateInputSecurityGroupCommand = async (output, c
|
|
|
2556
2556
|
$metadata: deserializeMetadata(output),
|
|
2557
2557
|
SecurityGroup: undefined,
|
|
2558
2558
|
};
|
|
2559
|
-
const data = await parseBody(output.body, context);
|
|
2559
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2560
2560
|
if (data.securityGroup !== undefined && data.securityGroup !== null) {
|
|
2561
2561
|
contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
|
|
2562
2562
|
}
|
|
@@ -2644,7 +2644,7 @@ const deserializeAws_restJson1CreateMultiplexCommand = async (output, context) =
|
|
|
2644
2644
|
$metadata: deserializeMetadata(output),
|
|
2645
2645
|
Multiplex: undefined,
|
|
2646
2646
|
};
|
|
2647
|
-
const data = await parseBody(output.body, context);
|
|
2647
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2648
2648
|
if (data.multiplex !== undefined && data.multiplex !== null) {
|
|
2649
2649
|
contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
|
|
2650
2650
|
}
|
|
@@ -2748,7 +2748,7 @@ const deserializeAws_restJson1CreateMultiplexProgramCommand = async (output, con
|
|
|
2748
2748
|
$metadata: deserializeMetadata(output),
|
|
2749
2749
|
MultiplexProgram: undefined,
|
|
2750
2750
|
};
|
|
2751
|
-
const data = await parseBody(output.body, context);
|
|
2751
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2752
2752
|
if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
|
|
2753
2753
|
contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
|
|
2754
2754
|
}
|
|
@@ -2852,7 +2852,7 @@ const deserializeAws_restJson1CreatePartnerInputCommand = async (output, context
|
|
|
2852
2852
|
$metadata: deserializeMetadata(output),
|
|
2853
2853
|
Input: undefined,
|
|
2854
2854
|
};
|
|
2855
|
-
const data = await parseBody(output.body, context);
|
|
2855
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2856
2856
|
if (data.input !== undefined && data.input !== null) {
|
|
2857
2857
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
2858
2858
|
}
|
|
@@ -3024,7 +3024,7 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
3024
3024
|
Tags: undefined,
|
|
3025
3025
|
Vpc: undefined,
|
|
3026
3026
|
};
|
|
3027
|
-
const data = await parseBody(output.body, context);
|
|
3027
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3028
3028
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3029
3029
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3030
3030
|
}
|
|
@@ -3062,7 +3062,7 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
3062
3062
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
3063
3063
|
}
|
|
3064
3064
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
3065
|
-
contents.PipelinesRunningCount = smithy_client_1.
|
|
3065
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
3066
3066
|
}
|
|
3067
3067
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
3068
3068
|
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
@@ -3377,7 +3377,7 @@ const deserializeAws_restJson1DeleteMultiplexCommand = async (output, context) =
|
|
|
3377
3377
|
State: undefined,
|
|
3378
3378
|
Tags: undefined,
|
|
3379
3379
|
};
|
|
3380
|
-
const data = await parseBody(output.body, context);
|
|
3380
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3381
3381
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3382
3382
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3383
3383
|
}
|
|
@@ -3397,10 +3397,10 @@ const deserializeAws_restJson1DeleteMultiplexCommand = async (output, context) =
|
|
|
3397
3397
|
contents.Name = smithy_client_1.expectString(data.name);
|
|
3398
3398
|
}
|
|
3399
3399
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
3400
|
-
contents.PipelinesRunningCount = smithy_client_1.
|
|
3400
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
3401
3401
|
}
|
|
3402
3402
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
3403
|
-
contents.ProgramCount = smithy_client_1.
|
|
3403
|
+
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
3404
3404
|
}
|
|
3405
3405
|
if (data.state !== undefined && data.state !== null) {
|
|
3406
3406
|
contents.State = smithy_client_1.expectString(data.state);
|
|
@@ -3512,7 +3512,7 @@ const deserializeAws_restJson1DeleteMultiplexProgramCommand = async (output, con
|
|
|
3512
3512
|
PipelineDetails: undefined,
|
|
3513
3513
|
ProgramName: undefined,
|
|
3514
3514
|
};
|
|
3515
|
-
const data = await parseBody(output.body, context);
|
|
3515
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3516
3516
|
if (data.channelId !== undefined && data.channelId !== null) {
|
|
3517
3517
|
contents.ChannelId = smithy_client_1.expectString(data.channelId);
|
|
3518
3518
|
}
|
|
@@ -3645,18 +3645,18 @@ const deserializeAws_restJson1DeleteReservationCommand = async (output, context)
|
|
|
3645
3645
|
Tags: undefined,
|
|
3646
3646
|
UsagePrice: undefined,
|
|
3647
3647
|
};
|
|
3648
|
-
const data = await parseBody(output.body, context);
|
|
3648
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3649
3649
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3650
3650
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3651
3651
|
}
|
|
3652
3652
|
if (data.count !== undefined && data.count !== null) {
|
|
3653
|
-
contents.Count = smithy_client_1.
|
|
3653
|
+
contents.Count = smithy_client_1.expectInt32(data.count);
|
|
3654
3654
|
}
|
|
3655
3655
|
if (data.currencyCode !== undefined && data.currencyCode !== null) {
|
|
3656
3656
|
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
3657
3657
|
}
|
|
3658
3658
|
if (data.duration !== undefined && data.duration !== null) {
|
|
3659
|
-
contents.Duration = smithy_client_1.
|
|
3659
|
+
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
3660
3660
|
}
|
|
3661
3661
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
3662
3662
|
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
@@ -3665,7 +3665,7 @@ const deserializeAws_restJson1DeleteReservationCommand = async (output, context)
|
|
|
3665
3665
|
contents.End = smithy_client_1.expectString(data.end);
|
|
3666
3666
|
}
|
|
3667
3667
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
3668
|
-
contents.FixedPrice = smithy_client_1.
|
|
3668
|
+
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
3669
3669
|
}
|
|
3670
3670
|
if (data.name !== undefined && data.name !== null) {
|
|
3671
3671
|
contents.Name = smithy_client_1.expectString(data.name);
|
|
@@ -3698,7 +3698,7 @@ const deserializeAws_restJson1DeleteReservationCommand = async (output, context)
|
|
|
3698
3698
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
3699
3699
|
}
|
|
3700
3700
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
3701
|
-
contents.UsagePrice = smithy_client_1.
|
|
3701
|
+
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
3702
3702
|
}
|
|
3703
3703
|
return Promise.resolve(contents);
|
|
3704
3704
|
};
|
|
@@ -3976,7 +3976,7 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
3976
3976
|
Tags: undefined,
|
|
3977
3977
|
Vpc: undefined,
|
|
3978
3978
|
};
|
|
3979
|
-
const data = await parseBody(output.body, context);
|
|
3979
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3980
3980
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3981
3981
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3982
3982
|
}
|
|
@@ -4014,7 +4014,7 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
4014
4014
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
4015
4015
|
}
|
|
4016
4016
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
4017
|
-
contents.PipelinesRunningCount = smithy_client_1.
|
|
4017
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
4018
4018
|
}
|
|
4019
4019
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
4020
4020
|
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
@@ -4135,7 +4135,7 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
4135
4135
|
Tags: undefined,
|
|
4136
4136
|
Type: undefined,
|
|
4137
4137
|
};
|
|
4138
|
-
const data = await parseBody(output.body, context);
|
|
4138
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4139
4139
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4140
4140
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4141
4141
|
}
|
|
@@ -4287,7 +4287,7 @@ const deserializeAws_restJson1DescribeInputDeviceCommand = async (output, contex
|
|
|
4287
4287
|
Type: undefined,
|
|
4288
4288
|
UhdDeviceSettings: undefined,
|
|
4289
4289
|
};
|
|
4290
|
-
const data = await parseBody(output.body, context);
|
|
4290
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4291
4291
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4292
4292
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4293
4293
|
}
|
|
@@ -4424,13 +4424,13 @@ const deserializeAws_restJson1DescribeInputDeviceThumbnailCommand = async (outpu
|
|
|
4424
4424
|
contents.ContentType = output.headers["content-type"];
|
|
4425
4425
|
}
|
|
4426
4426
|
if (output.headers["content-length"] !== undefined) {
|
|
4427
|
-
contents.ContentLength = smithy_client_1.
|
|
4427
|
+
contents.ContentLength = smithy_client_1.strictParseLong(output.headers["content-length"]);
|
|
4428
4428
|
}
|
|
4429
4429
|
if (output.headers["etag"] !== undefined) {
|
|
4430
4430
|
contents.ETag = output.headers["etag"];
|
|
4431
4431
|
}
|
|
4432
4432
|
if (output.headers["last-modified"] !== undefined) {
|
|
4433
|
-
contents.LastModified =
|
|
4433
|
+
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc7231DateTime(output.headers["last-modified"]));
|
|
4434
4434
|
}
|
|
4435
4435
|
const data = output.body;
|
|
4436
4436
|
contents.Body = data;
|
|
@@ -4531,7 +4531,7 @@ const deserializeAws_restJson1DescribeInputSecurityGroupCommand = async (output,
|
|
|
4531
4531
|
Tags: undefined,
|
|
4532
4532
|
WhitelistRules: undefined,
|
|
4533
4533
|
};
|
|
4534
|
-
const data = await parseBody(output.body, context);
|
|
4534
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4535
4535
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4536
4536
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4537
4537
|
}
|
|
@@ -4651,7 +4651,7 @@ const deserializeAws_restJson1DescribeMultiplexCommand = async (output, context)
|
|
|
4651
4651
|
State: undefined,
|
|
4652
4652
|
Tags: undefined,
|
|
4653
4653
|
};
|
|
4654
|
-
const data = await parseBody(output.body, context);
|
|
4654
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4655
4655
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4656
4656
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4657
4657
|
}
|
|
@@ -4671,10 +4671,10 @@ const deserializeAws_restJson1DescribeMultiplexCommand = async (output, context)
|
|
|
4671
4671
|
contents.Name = smithy_client_1.expectString(data.name);
|
|
4672
4672
|
}
|
|
4673
4673
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
4674
|
-
contents.PipelinesRunningCount = smithy_client_1.
|
|
4674
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
4675
4675
|
}
|
|
4676
4676
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
4677
|
-
contents.ProgramCount = smithy_client_1.
|
|
4677
|
+
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
4678
4678
|
}
|
|
4679
4679
|
if (data.state !== undefined && data.state !== null) {
|
|
4680
4680
|
contents.State = smithy_client_1.expectString(data.state);
|
|
@@ -4778,7 +4778,7 @@ const deserializeAws_restJson1DescribeMultiplexProgramCommand = async (output, c
|
|
|
4778
4778
|
PipelineDetails: undefined,
|
|
4779
4779
|
ProgramName: undefined,
|
|
4780
4780
|
};
|
|
4781
|
-
const data = await parseBody(output.body, context);
|
|
4781
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4782
4782
|
if (data.channelId !== undefined && data.channelId !== null) {
|
|
4783
4783
|
contents.ChannelId = smithy_client_1.expectString(data.channelId);
|
|
4784
4784
|
}
|
|
@@ -4896,7 +4896,7 @@ const deserializeAws_restJson1DescribeOfferingCommand = async (output, context)
|
|
|
4896
4896
|
ResourceSpecification: undefined,
|
|
4897
4897
|
UsagePrice: undefined,
|
|
4898
4898
|
};
|
|
4899
|
-
const data = await parseBody(output.body, context);
|
|
4899
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4900
4900
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4901
4901
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4902
4902
|
}
|
|
@@ -4904,13 +4904,13 @@ const deserializeAws_restJson1DescribeOfferingCommand = async (output, context)
|
|
|
4904
4904
|
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
4905
4905
|
}
|
|
4906
4906
|
if (data.duration !== undefined && data.duration !== null) {
|
|
4907
|
-
contents.Duration = smithy_client_1.
|
|
4907
|
+
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
4908
4908
|
}
|
|
4909
4909
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
4910
4910
|
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
4911
4911
|
}
|
|
4912
4912
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
4913
|
-
contents.FixedPrice = smithy_client_1.
|
|
4913
|
+
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
4914
4914
|
}
|
|
4915
4915
|
if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
|
|
4916
4916
|
contents.OfferingDescription = smithy_client_1.expectString(data.offeringDescription);
|
|
@@ -4928,7 +4928,7 @@ const deserializeAws_restJson1DescribeOfferingCommand = async (output, context)
|
|
|
4928
4928
|
contents.ResourceSpecification = deserializeAws_restJson1ReservationResourceSpecification(data.resourceSpecification, context);
|
|
4929
4929
|
}
|
|
4930
4930
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
4931
|
-
contents.UsagePrice = smithy_client_1.
|
|
4931
|
+
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
4932
4932
|
}
|
|
4933
4933
|
return Promise.resolve(contents);
|
|
4934
4934
|
};
|
|
@@ -5039,18 +5039,18 @@ const deserializeAws_restJson1DescribeReservationCommand = async (output, contex
|
|
|
5039
5039
|
Tags: undefined,
|
|
5040
5040
|
UsagePrice: undefined,
|
|
5041
5041
|
};
|
|
5042
|
-
const data = await parseBody(output.body, context);
|
|
5042
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5043
5043
|
if (data.arn !== undefined && data.arn !== null) {
|
|
5044
5044
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
5045
5045
|
}
|
|
5046
5046
|
if (data.count !== undefined && data.count !== null) {
|
|
5047
|
-
contents.Count = smithy_client_1.
|
|
5047
|
+
contents.Count = smithy_client_1.expectInt32(data.count);
|
|
5048
5048
|
}
|
|
5049
5049
|
if (data.currencyCode !== undefined && data.currencyCode !== null) {
|
|
5050
5050
|
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
5051
5051
|
}
|
|
5052
5052
|
if (data.duration !== undefined && data.duration !== null) {
|
|
5053
|
-
contents.Duration = smithy_client_1.
|
|
5053
|
+
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
5054
5054
|
}
|
|
5055
5055
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
5056
5056
|
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
@@ -5059,7 +5059,7 @@ const deserializeAws_restJson1DescribeReservationCommand = async (output, contex
|
|
|
5059
5059
|
contents.End = smithy_client_1.expectString(data.end);
|
|
5060
5060
|
}
|
|
5061
5061
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
5062
|
-
contents.FixedPrice = smithy_client_1.
|
|
5062
|
+
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
5063
5063
|
}
|
|
5064
5064
|
if (data.name !== undefined && data.name !== null) {
|
|
5065
5065
|
contents.Name = smithy_client_1.expectString(data.name);
|
|
@@ -5092,7 +5092,7 @@ const deserializeAws_restJson1DescribeReservationCommand = async (output, contex
|
|
|
5092
5092
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
5093
5093
|
}
|
|
5094
5094
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
5095
|
-
contents.UsagePrice = smithy_client_1.
|
|
5095
|
+
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
5096
5096
|
}
|
|
5097
5097
|
return Promise.resolve(contents);
|
|
5098
5098
|
};
|
|
@@ -5187,7 +5187,7 @@ const deserializeAws_restJson1DescribeScheduleCommand = async (output, context)
|
|
|
5187
5187
|
NextToken: undefined,
|
|
5188
5188
|
ScheduleActions: undefined,
|
|
5189
5189
|
};
|
|
5190
|
-
const data = await parseBody(output.body, context);
|
|
5190
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5191
5191
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5192
5192
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5193
5193
|
}
|
|
@@ -5287,7 +5287,7 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
|
5287
5287
|
Channels: undefined,
|
|
5288
5288
|
NextToken: undefined,
|
|
5289
5289
|
};
|
|
5290
|
-
const data = await parseBody(output.body, context);
|
|
5290
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5291
5291
|
if (data.channels !== undefined && data.channels !== null) {
|
|
5292
5292
|
contents.Channels = deserializeAws_restJson1__listOfChannelSummary(data.channels, context);
|
|
5293
5293
|
}
|
|
@@ -5379,7 +5379,7 @@ const deserializeAws_restJson1ListInputDevicesCommand = async (output, context)
|
|
|
5379
5379
|
InputDevices: undefined,
|
|
5380
5380
|
NextToken: undefined,
|
|
5381
5381
|
};
|
|
5382
|
-
const data = await parseBody(output.body, context);
|
|
5382
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5383
5383
|
if (data.inputDevices !== undefined && data.inputDevices !== null) {
|
|
5384
5384
|
contents.InputDevices = deserializeAws_restJson1__listOfInputDeviceSummary(data.inputDevices, context);
|
|
5385
5385
|
}
|
|
@@ -5471,7 +5471,7 @@ const deserializeAws_restJson1ListInputDeviceTransfersCommand = async (output, c
|
|
|
5471
5471
|
InputDeviceTransfers: undefined,
|
|
5472
5472
|
NextToken: undefined,
|
|
5473
5473
|
};
|
|
5474
|
-
const data = await parseBody(output.body, context);
|
|
5474
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5475
5475
|
if (data.inputDeviceTransfers !== undefined && data.inputDeviceTransfers !== null) {
|
|
5476
5476
|
contents.InputDeviceTransfers = deserializeAws_restJson1__listOfTransferringInputDeviceSummary(data.inputDeviceTransfers, context);
|
|
5477
5477
|
}
|
|
@@ -5571,7 +5571,7 @@ const deserializeAws_restJson1ListInputsCommand = async (output, context) => {
|
|
|
5571
5571
|
Inputs: undefined,
|
|
5572
5572
|
NextToken: undefined,
|
|
5573
5573
|
};
|
|
5574
|
-
const data = await parseBody(output.body, context);
|
|
5574
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5575
5575
|
if (data.inputs !== undefined && data.inputs !== null) {
|
|
5576
5576
|
contents.Inputs = deserializeAws_restJson1__listOfInput(data.inputs, context);
|
|
5577
5577
|
}
|
|
@@ -5663,7 +5663,7 @@ const deserializeAws_restJson1ListInputSecurityGroupsCommand = async (output, co
|
|
|
5663
5663
|
InputSecurityGroups: undefined,
|
|
5664
5664
|
NextToken: undefined,
|
|
5665
5665
|
};
|
|
5666
|
-
const data = await parseBody(output.body, context);
|
|
5666
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5667
5667
|
if (data.inputSecurityGroups !== undefined && data.inputSecurityGroups !== null) {
|
|
5668
5668
|
contents.InputSecurityGroups = deserializeAws_restJson1__listOfInputSecurityGroup(data.inputSecurityGroups, context);
|
|
5669
5669
|
}
|
|
@@ -5755,7 +5755,7 @@ const deserializeAws_restJson1ListMultiplexesCommand = async (output, context) =
|
|
|
5755
5755
|
Multiplexes: undefined,
|
|
5756
5756
|
NextToken: undefined,
|
|
5757
5757
|
};
|
|
5758
|
-
const data = await parseBody(output.body, context);
|
|
5758
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5759
5759
|
if (data.multiplexes !== undefined && data.multiplexes !== null) {
|
|
5760
5760
|
contents.Multiplexes = deserializeAws_restJson1__listOfMultiplexSummary(data.multiplexes, context);
|
|
5761
5761
|
}
|
|
@@ -5847,7 +5847,7 @@ const deserializeAws_restJson1ListMultiplexProgramsCommand = async (output, cont
|
|
|
5847
5847
|
MultiplexPrograms: undefined,
|
|
5848
5848
|
NextToken: undefined,
|
|
5849
5849
|
};
|
|
5850
|
-
const data = await parseBody(output.body, context);
|
|
5850
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5851
5851
|
if (data.multiplexPrograms !== undefined && data.multiplexPrograms !== null) {
|
|
5852
5852
|
contents.MultiplexPrograms = deserializeAws_restJson1__listOfMultiplexProgramSummary(data.multiplexPrograms, context);
|
|
5853
5853
|
}
|
|
@@ -5947,7 +5947,7 @@ const deserializeAws_restJson1ListOfferingsCommand = async (output, context) =>
|
|
|
5947
5947
|
NextToken: undefined,
|
|
5948
5948
|
Offerings: undefined,
|
|
5949
5949
|
};
|
|
5950
|
-
const data = await parseBody(output.body, context);
|
|
5950
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5951
5951
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5952
5952
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5953
5953
|
}
|
|
@@ -6039,7 +6039,7 @@ const deserializeAws_restJson1ListReservationsCommand = async (output, context)
|
|
|
6039
6039
|
NextToken: undefined,
|
|
6040
6040
|
Reservations: undefined,
|
|
6041
6041
|
};
|
|
6042
|
-
const data = await parseBody(output.body, context);
|
|
6042
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6043
6043
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6044
6044
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
6045
6045
|
}
|
|
@@ -6130,7 +6130,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
6130
6130
|
$metadata: deserializeMetadata(output),
|
|
6131
6131
|
Tags: undefined,
|
|
6132
6132
|
};
|
|
6133
|
-
const data = await parseBody(output.body, context);
|
|
6133
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6134
6134
|
if (data.tags !== undefined && data.tags !== null) {
|
|
6135
6135
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
6136
6136
|
}
|
|
@@ -6202,7 +6202,7 @@ const deserializeAws_restJson1PurchaseOfferingCommand = async (output, context)
|
|
|
6202
6202
|
$metadata: deserializeMetadata(output),
|
|
6203
6203
|
Reservation: undefined,
|
|
6204
6204
|
};
|
|
6205
|
-
const data = await parseBody(output.body, context);
|
|
6205
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6206
6206
|
if (data.reservation !== undefined && data.reservation !== null) {
|
|
6207
6207
|
contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
|
|
6208
6208
|
}
|
|
@@ -6430,7 +6430,7 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
6430
6430
|
Tags: undefined,
|
|
6431
6431
|
Vpc: undefined,
|
|
6432
6432
|
};
|
|
6433
|
-
const data = await parseBody(output.body, context);
|
|
6433
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6434
6434
|
if (data.arn !== undefined && data.arn !== null) {
|
|
6435
6435
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
6436
6436
|
}
|
|
@@ -6468,7 +6468,7 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
6468
6468
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
6469
6469
|
}
|
|
6470
6470
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
6471
|
-
contents.PipelinesRunningCount = smithy_client_1.
|
|
6471
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
6472
6472
|
}
|
|
6473
6473
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
6474
6474
|
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
@@ -6591,7 +6591,7 @@ const deserializeAws_restJson1StartMultiplexCommand = async (output, context) =>
|
|
|
6591
6591
|
State: undefined,
|
|
6592
6592
|
Tags: undefined,
|
|
6593
6593
|
};
|
|
6594
|
-
const data = await parseBody(output.body, context);
|
|
6594
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6595
6595
|
if (data.arn !== undefined && data.arn !== null) {
|
|
6596
6596
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
6597
6597
|
}
|
|
@@ -6611,10 +6611,10 @@ const deserializeAws_restJson1StartMultiplexCommand = async (output, context) =>
|
|
|
6611
6611
|
contents.Name = smithy_client_1.expectString(data.name);
|
|
6612
6612
|
}
|
|
6613
6613
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
6614
|
-
contents.PipelinesRunningCount = smithy_client_1.
|
|
6614
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
6615
6615
|
}
|
|
6616
6616
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
6617
|
-
contents.ProgramCount = smithy_client_1.
|
|
6617
|
+
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
6618
6618
|
}
|
|
6619
6619
|
if (data.state !== undefined && data.state !== null) {
|
|
6620
6620
|
contents.State = smithy_client_1.expectString(data.state);
|
|
@@ -6738,7 +6738,7 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
6738
6738
|
Tags: undefined,
|
|
6739
6739
|
Vpc: undefined,
|
|
6740
6740
|
};
|
|
6741
|
-
const data = await parseBody(output.body, context);
|
|
6741
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6742
6742
|
if (data.arn !== undefined && data.arn !== null) {
|
|
6743
6743
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
6744
6744
|
}
|
|
@@ -6776,7 +6776,7 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
6776
6776
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
6777
6777
|
}
|
|
6778
6778
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
6779
|
-
contents.PipelinesRunningCount = smithy_client_1.
|
|
6779
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
6780
6780
|
}
|
|
6781
6781
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
6782
6782
|
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
@@ -6899,7 +6899,7 @@ const deserializeAws_restJson1StopMultiplexCommand = async (output, context) =>
|
|
|
6899
6899
|
State: undefined,
|
|
6900
6900
|
Tags: undefined,
|
|
6901
6901
|
};
|
|
6902
|
-
const data = await parseBody(output.body, context);
|
|
6902
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6903
6903
|
if (data.arn !== undefined && data.arn !== null) {
|
|
6904
6904
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
6905
6905
|
}
|
|
@@ -6919,10 +6919,10 @@ const deserializeAws_restJson1StopMultiplexCommand = async (output, context) =>
|
|
|
6919
6919
|
contents.Name = smithy_client_1.expectString(data.name);
|
|
6920
6920
|
}
|
|
6921
6921
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
6922
|
-
contents.PipelinesRunningCount = smithy_client_1.
|
|
6922
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
6923
6923
|
}
|
|
6924
6924
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
6925
|
-
contents.ProgramCount = smithy_client_1.
|
|
6925
|
+
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
6926
6926
|
}
|
|
6927
6927
|
if (data.state !== undefined && data.state !== null) {
|
|
6928
6928
|
contents.State = smithy_client_1.expectString(data.state);
|
|
@@ -7138,7 +7138,7 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
|
|
|
7138
7138
|
$metadata: deserializeMetadata(output),
|
|
7139
7139
|
Channel: undefined,
|
|
7140
7140
|
};
|
|
7141
|
-
const data = await parseBody(output.body, context);
|
|
7141
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7142
7142
|
if (data.channel !== undefined && data.channel !== null) {
|
|
7143
7143
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
7144
7144
|
}
|
|
@@ -7234,7 +7234,7 @@ const deserializeAws_restJson1UpdateChannelClassCommand = async (output, context
|
|
|
7234
7234
|
$metadata: deserializeMetadata(output),
|
|
7235
7235
|
Channel: undefined,
|
|
7236
7236
|
};
|
|
7237
|
-
const data = await parseBody(output.body, context);
|
|
7237
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7238
7238
|
if (data.channel !== undefined && data.channel !== null) {
|
|
7239
7239
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
7240
7240
|
}
|
|
@@ -7346,7 +7346,7 @@ const deserializeAws_restJson1UpdateInputCommand = async (output, context) => {
|
|
|
7346
7346
|
$metadata: deserializeMetadata(output),
|
|
7347
7347
|
Input: undefined,
|
|
7348
7348
|
};
|
|
7349
|
-
const data = await parseBody(output.body, context);
|
|
7349
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7350
7350
|
if (data.input !== undefined && data.input !== null) {
|
|
7351
7351
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
7352
7352
|
}
|
|
@@ -7453,7 +7453,7 @@ const deserializeAws_restJson1UpdateInputDeviceCommand = async (output, context)
|
|
|
7453
7453
|
Type: undefined,
|
|
7454
7454
|
UhdDeviceSettings: undefined,
|
|
7455
7455
|
};
|
|
7456
|
-
const data = await parseBody(output.body, context);
|
|
7456
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7457
7457
|
if (data.arn !== undefined && data.arn !== null) {
|
|
7458
7458
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
7459
7459
|
}
|
|
@@ -7590,7 +7590,7 @@ const deserializeAws_restJson1UpdateInputSecurityGroupCommand = async (output, c
|
|
|
7590
7590
|
$metadata: deserializeMetadata(output),
|
|
7591
7591
|
SecurityGroup: undefined,
|
|
7592
7592
|
};
|
|
7593
|
-
const data = await parseBody(output.body, context);
|
|
7593
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7594
7594
|
if (data.securityGroup !== undefined && data.securityGroup !== null) {
|
|
7595
7595
|
contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
|
|
7596
7596
|
}
|
|
@@ -7686,7 +7686,7 @@ const deserializeAws_restJson1UpdateMultiplexCommand = async (output, context) =
|
|
|
7686
7686
|
$metadata: deserializeMetadata(output),
|
|
7687
7687
|
Multiplex: undefined,
|
|
7688
7688
|
};
|
|
7689
|
-
const data = await parseBody(output.body, context);
|
|
7689
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7690
7690
|
if (data.multiplex !== undefined && data.multiplex !== null) {
|
|
7691
7691
|
contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
|
|
7692
7692
|
}
|
|
@@ -7790,7 +7790,7 @@ const deserializeAws_restJson1UpdateMultiplexProgramCommand = async (output, con
|
|
|
7790
7790
|
$metadata: deserializeMetadata(output),
|
|
7791
7791
|
MultiplexProgram: undefined,
|
|
7792
7792
|
};
|
|
7793
|
-
const data = await parseBody(output.body, context);
|
|
7793
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7794
7794
|
if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
|
|
7795
7795
|
contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
|
|
7796
7796
|
}
|
|
@@ -7894,7 +7894,7 @@ const deserializeAws_restJson1UpdateReservationCommand = async (output, context)
|
|
|
7894
7894
|
$metadata: deserializeMetadata(output),
|
|
7895
7895
|
Reservation: undefined,
|
|
7896
7896
|
};
|
|
7897
|
-
const data = await parseBody(output.body, context);
|
|
7897
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7898
7898
|
if (data.reservation !== undefined && data.reservation !== null) {
|
|
7899
7899
|
contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
|
|
7900
7900
|
}
|
|
@@ -10684,7 +10684,7 @@ const deserializeAws_restJson1__listOf__integer = (output, context) => {
|
|
|
10684
10684
|
if (entry === null) {
|
|
10685
10685
|
return null;
|
|
10686
10686
|
}
|
|
10687
|
-
return smithy_client_1.
|
|
10687
|
+
return smithy_client_1.expectInt32(entry);
|
|
10688
10688
|
});
|
|
10689
10689
|
};
|
|
10690
10690
|
const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
@@ -11119,23 +11119,23 @@ const deserializeAws_restJson1__listOfVideoDescription = (output, context) => {
|
|
|
11119
11119
|
};
|
|
11120
11120
|
const deserializeAws_restJson1AacSettings = (output, context) => {
|
|
11121
11121
|
return {
|
|
11122
|
-
Bitrate: smithy_client_1.
|
|
11122
|
+
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
11123
11123
|
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
11124
11124
|
InputType: smithy_client_1.expectString(output.inputType),
|
|
11125
11125
|
Profile: smithy_client_1.expectString(output.profile),
|
|
11126
11126
|
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
11127
11127
|
RawFormat: smithy_client_1.expectString(output.rawFormat),
|
|
11128
|
-
SampleRate: smithy_client_1.
|
|
11128
|
+
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
11129
11129
|
Spec: smithy_client_1.expectString(output.spec),
|
|
11130
11130
|
VbrQuality: smithy_client_1.expectString(output.vbrQuality),
|
|
11131
11131
|
};
|
|
11132
11132
|
};
|
|
11133
11133
|
const deserializeAws_restJson1Ac3Settings = (output, context) => {
|
|
11134
11134
|
return {
|
|
11135
|
-
Bitrate: smithy_client_1.
|
|
11135
|
+
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
11136
11136
|
BitstreamMode: smithy_client_1.expectString(output.bitstreamMode),
|
|
11137
11137
|
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
11138
|
-
Dialnorm: smithy_client_1.
|
|
11138
|
+
Dialnorm: smithy_client_1.expectInt32(output.dialnorm),
|
|
11139
11139
|
DrcProfile: smithy_client_1.expectString(output.drcProfile),
|
|
11140
11140
|
LfeFilter: smithy_client_1.expectString(output.lfeFilter),
|
|
11141
11141
|
MetadataControl: smithy_client_1.expectString(output.metadataControl),
|
|
@@ -11143,7 +11143,7 @@ const deserializeAws_restJson1Ac3Settings = (output, context) => {
|
|
|
11143
11143
|
};
|
|
11144
11144
|
const deserializeAws_restJson1AncillarySourceSettings = (output, context) => {
|
|
11145
11145
|
return {
|
|
11146
|
-
SourceAncillaryChannelNumber: smithy_client_1.
|
|
11146
|
+
SourceAncillaryChannelNumber: smithy_client_1.expectInt32(output.sourceAncillaryChannelNumber),
|
|
11147
11147
|
};
|
|
11148
11148
|
};
|
|
11149
11149
|
const deserializeAws_restJson1ArchiveCdnSettings = (output, context) => {
|
|
@@ -11171,7 +11171,7 @@ const deserializeAws_restJson1ArchiveGroupSettings = (output, context) => {
|
|
|
11171
11171
|
Destination: output.destination !== undefined && output.destination !== null
|
|
11172
11172
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
11173
11173
|
: undefined,
|
|
11174
|
-
RolloverInterval: smithy_client_1.
|
|
11174
|
+
RolloverInterval: smithy_client_1.expectInt32(output.rolloverInterval),
|
|
11175
11175
|
};
|
|
11176
11176
|
};
|
|
11177
11177
|
const deserializeAws_restJson1ArchiveOutputSettings = (output, context) => {
|
|
@@ -11199,7 +11199,7 @@ const deserializeAws_restJson1AudioChannelMapping = (output, context) => {
|
|
|
11199
11199
|
InputChannelLevels: output.inputChannelLevels !== undefined && output.inputChannelLevels !== null
|
|
11200
11200
|
? deserializeAws_restJson1__listOfInputChannelLevel(output.inputChannelLevels, context)
|
|
11201
11201
|
: undefined,
|
|
11202
|
-
OutputChannel: smithy_client_1.
|
|
11202
|
+
OutputChannel: smithy_client_1.expectInt32(output.outputChannel),
|
|
11203
11203
|
};
|
|
11204
11204
|
};
|
|
11205
11205
|
const deserializeAws_restJson1AudioCodecSettings = (output, context) => {
|
|
@@ -11260,7 +11260,7 @@ const deserializeAws_restJson1AudioNormalizationSettings = (output, context) =>
|
|
|
11260
11260
|
return {
|
|
11261
11261
|
Algorithm: smithy_client_1.expectString(output.algorithm),
|
|
11262
11262
|
AlgorithmControl: smithy_client_1.expectString(output.algorithmControl),
|
|
11263
|
-
TargetLkfs: smithy_client_1.
|
|
11263
|
+
TargetLkfs: smithy_client_1.limitedParseDouble(output.targetLkfs),
|
|
11264
11264
|
};
|
|
11265
11265
|
};
|
|
11266
11266
|
const deserializeAws_restJson1AudioOnlyHlsSettings = (output, context) => {
|
|
@@ -11275,7 +11275,7 @@ const deserializeAws_restJson1AudioOnlyHlsSettings = (output, context) => {
|
|
|
11275
11275
|
};
|
|
11276
11276
|
const deserializeAws_restJson1AudioPidSelection = (output, context) => {
|
|
11277
11277
|
return {
|
|
11278
|
-
Pid: smithy_client_1.
|
|
11278
|
+
Pid: smithy_client_1.expectInt32(output.pid),
|
|
11279
11279
|
};
|
|
11280
11280
|
};
|
|
11281
11281
|
const deserializeAws_restJson1AudioSelector = (output, context) => {
|
|
@@ -11305,12 +11305,12 @@ const deserializeAws_restJson1AudioSelectorSettings = (output, context) => {
|
|
|
11305
11305
|
const deserializeAws_restJson1AudioSilenceFailoverSettings = (output, context) => {
|
|
11306
11306
|
return {
|
|
11307
11307
|
AudioSelectorName: smithy_client_1.expectString(output.audioSelectorName),
|
|
11308
|
-
AudioSilenceThresholdMsec: smithy_client_1.
|
|
11308
|
+
AudioSilenceThresholdMsec: smithy_client_1.expectInt32(output.audioSilenceThresholdMsec),
|
|
11309
11309
|
};
|
|
11310
11310
|
};
|
|
11311
11311
|
const deserializeAws_restJson1AudioTrack = (output, context) => {
|
|
11312
11312
|
return {
|
|
11313
|
-
Track: smithy_client_1.
|
|
11313
|
+
Track: smithy_client_1.expectInt32(output.track),
|
|
11314
11314
|
};
|
|
11315
11315
|
};
|
|
11316
11316
|
const deserializeAws_restJson1AudioTrackSelection = (output, context) => {
|
|
@@ -11322,7 +11322,7 @@ const deserializeAws_restJson1AudioTrackSelection = (output, context) => {
|
|
|
11322
11322
|
};
|
|
11323
11323
|
const deserializeAws_restJson1AutomaticInputFailoverSettings = (output, context) => {
|
|
11324
11324
|
return {
|
|
11325
|
-
ErrorClearTimeMsec: smithy_client_1.
|
|
11325
|
+
ErrorClearTimeMsec: smithy_client_1.expectInt32(output.errorClearTimeMsec),
|
|
11326
11326
|
FailoverConditions: output.failoverConditions !== undefined && output.failoverConditions !== null
|
|
11327
11327
|
? deserializeAws_restJson1__listOfFailoverCondition(output.failoverConditions, context)
|
|
11328
11328
|
: undefined,
|
|
@@ -11401,23 +11401,23 @@ const deserializeAws_restJson1BurnInDestinationSettings = (output, context) => {
|
|
|
11401
11401
|
return {
|
|
11402
11402
|
Alignment: smithy_client_1.expectString(output.alignment),
|
|
11403
11403
|
BackgroundColor: smithy_client_1.expectString(output.backgroundColor),
|
|
11404
|
-
BackgroundOpacity: smithy_client_1.
|
|
11404
|
+
BackgroundOpacity: smithy_client_1.expectInt32(output.backgroundOpacity),
|
|
11405
11405
|
Font: output.font !== undefined && output.font !== null
|
|
11406
11406
|
? deserializeAws_restJson1InputLocation(output.font, context)
|
|
11407
11407
|
: undefined,
|
|
11408
11408
|
FontColor: smithy_client_1.expectString(output.fontColor),
|
|
11409
|
-
FontOpacity: smithy_client_1.
|
|
11410
|
-
FontResolution: smithy_client_1.
|
|
11409
|
+
FontOpacity: smithy_client_1.expectInt32(output.fontOpacity),
|
|
11410
|
+
FontResolution: smithy_client_1.expectInt32(output.fontResolution),
|
|
11411
11411
|
FontSize: smithy_client_1.expectString(output.fontSize),
|
|
11412
11412
|
OutlineColor: smithy_client_1.expectString(output.outlineColor),
|
|
11413
|
-
OutlineSize: smithy_client_1.
|
|
11413
|
+
OutlineSize: smithy_client_1.expectInt32(output.outlineSize),
|
|
11414
11414
|
ShadowColor: smithy_client_1.expectString(output.shadowColor),
|
|
11415
|
-
ShadowOpacity: smithy_client_1.
|
|
11416
|
-
ShadowXOffset: smithy_client_1.
|
|
11417
|
-
ShadowYOffset: smithy_client_1.
|
|
11415
|
+
ShadowOpacity: smithy_client_1.expectInt32(output.shadowOpacity),
|
|
11416
|
+
ShadowXOffset: smithy_client_1.expectInt32(output.shadowXOffset),
|
|
11417
|
+
ShadowYOffset: smithy_client_1.expectInt32(output.shadowYOffset),
|
|
11418
11418
|
TeletextGridControl: smithy_client_1.expectString(output.teletextGridControl),
|
|
11419
|
-
XPosition: smithy_client_1.
|
|
11420
|
-
YPosition: smithy_client_1.
|
|
11419
|
+
XPosition: smithy_client_1.expectInt32(output.xPosition),
|
|
11420
|
+
YPosition: smithy_client_1.expectInt32(output.yPosition),
|
|
11421
11421
|
};
|
|
11422
11422
|
};
|
|
11423
11423
|
const deserializeAws_restJson1CaptionDescription = (output, context) => {
|
|
@@ -11478,17 +11478,17 @@ const deserializeAws_restJson1CaptionDestinationSettings = (output, context) =>
|
|
|
11478
11478
|
};
|
|
11479
11479
|
const deserializeAws_restJson1CaptionLanguageMapping = (output, context) => {
|
|
11480
11480
|
return {
|
|
11481
|
-
CaptionChannel: smithy_client_1.
|
|
11481
|
+
CaptionChannel: smithy_client_1.expectInt32(output.captionChannel),
|
|
11482
11482
|
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
11483
11483
|
LanguageDescription: smithy_client_1.expectString(output.languageDescription),
|
|
11484
11484
|
};
|
|
11485
11485
|
};
|
|
11486
11486
|
const deserializeAws_restJson1CaptionRectangle = (output, context) => {
|
|
11487
11487
|
return {
|
|
11488
|
-
Height: smithy_client_1.
|
|
11489
|
-
LeftOffset: smithy_client_1.
|
|
11490
|
-
TopOffset: smithy_client_1.
|
|
11491
|
-
Width: smithy_client_1.
|
|
11488
|
+
Height: smithy_client_1.limitedParseDouble(output.height),
|
|
11489
|
+
LeftOffset: smithy_client_1.limitedParseDouble(output.leftOffset),
|
|
11490
|
+
TopOffset: smithy_client_1.limitedParseDouble(output.topOffset),
|
|
11491
|
+
Width: smithy_client_1.limitedParseDouble(output.width),
|
|
11492
11492
|
};
|
|
11493
11493
|
};
|
|
11494
11494
|
const deserializeAws_restJson1CaptionSelector = (output, context) => {
|
|
@@ -11558,7 +11558,7 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
11558
11558
|
PipelineDetails: output.pipelineDetails !== undefined && output.pipelineDetails !== null
|
|
11559
11559
|
? deserializeAws_restJson1__listOfPipelineDetail(output.pipelineDetails, context)
|
|
11560
11560
|
: undefined,
|
|
11561
|
-
PipelinesRunningCount: smithy_client_1.
|
|
11561
|
+
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
11562
11562
|
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
11563
11563
|
State: smithy_client_1.expectString(output.state),
|
|
11564
11564
|
Tags: output.tags !== undefined && output.tags !== null
|
|
@@ -11596,7 +11596,7 @@ const deserializeAws_restJson1ChannelSummary = (output, context) => {
|
|
|
11596
11596
|
: undefined,
|
|
11597
11597
|
LogLevel: smithy_client_1.expectString(output.logLevel),
|
|
11598
11598
|
Name: smithy_client_1.expectString(output.name),
|
|
11599
|
-
PipelinesRunningCount: smithy_client_1.
|
|
11599
|
+
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
11600
11600
|
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
11601
11601
|
State: smithy_client_1.expectString(output.state),
|
|
11602
11602
|
Tags: output.tags !== undefined && output.tags !== null
|
|
@@ -11612,15 +11612,15 @@ const deserializeAws_restJson1ColorSpacePassthroughSettings = (output, context)
|
|
|
11612
11612
|
};
|
|
11613
11613
|
const deserializeAws_restJson1DvbNitSettings = (output, context) => {
|
|
11614
11614
|
return {
|
|
11615
|
-
NetworkId: smithy_client_1.
|
|
11615
|
+
NetworkId: smithy_client_1.expectInt32(output.networkId),
|
|
11616
11616
|
NetworkName: smithy_client_1.expectString(output.networkName),
|
|
11617
|
-
RepInterval: smithy_client_1.
|
|
11617
|
+
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
11618
11618
|
};
|
|
11619
11619
|
};
|
|
11620
11620
|
const deserializeAws_restJson1DvbSdtSettings = (output, context) => {
|
|
11621
11621
|
return {
|
|
11622
11622
|
OutputSdt: smithy_client_1.expectString(output.outputSdt),
|
|
11623
|
-
RepInterval: smithy_client_1.
|
|
11623
|
+
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
11624
11624
|
ServiceName: smithy_client_1.expectString(output.serviceName),
|
|
11625
11625
|
ServiceProviderName: smithy_client_1.expectString(output.serviceProviderName),
|
|
11626
11626
|
};
|
|
@@ -11629,52 +11629,52 @@ const deserializeAws_restJson1DvbSubDestinationSettings = (output, context) => {
|
|
|
11629
11629
|
return {
|
|
11630
11630
|
Alignment: smithy_client_1.expectString(output.alignment),
|
|
11631
11631
|
BackgroundColor: smithy_client_1.expectString(output.backgroundColor),
|
|
11632
|
-
BackgroundOpacity: smithy_client_1.
|
|
11632
|
+
BackgroundOpacity: smithy_client_1.expectInt32(output.backgroundOpacity),
|
|
11633
11633
|
Font: output.font !== undefined && output.font !== null
|
|
11634
11634
|
? deserializeAws_restJson1InputLocation(output.font, context)
|
|
11635
11635
|
: undefined,
|
|
11636
11636
|
FontColor: smithy_client_1.expectString(output.fontColor),
|
|
11637
|
-
FontOpacity: smithy_client_1.
|
|
11638
|
-
FontResolution: smithy_client_1.
|
|
11637
|
+
FontOpacity: smithy_client_1.expectInt32(output.fontOpacity),
|
|
11638
|
+
FontResolution: smithy_client_1.expectInt32(output.fontResolution),
|
|
11639
11639
|
FontSize: smithy_client_1.expectString(output.fontSize),
|
|
11640
11640
|
OutlineColor: smithy_client_1.expectString(output.outlineColor),
|
|
11641
|
-
OutlineSize: smithy_client_1.
|
|
11641
|
+
OutlineSize: smithy_client_1.expectInt32(output.outlineSize),
|
|
11642
11642
|
ShadowColor: smithy_client_1.expectString(output.shadowColor),
|
|
11643
|
-
ShadowOpacity: smithy_client_1.
|
|
11644
|
-
ShadowXOffset: smithy_client_1.
|
|
11645
|
-
ShadowYOffset: smithy_client_1.
|
|
11643
|
+
ShadowOpacity: smithy_client_1.expectInt32(output.shadowOpacity),
|
|
11644
|
+
ShadowXOffset: smithy_client_1.expectInt32(output.shadowXOffset),
|
|
11645
|
+
ShadowYOffset: smithy_client_1.expectInt32(output.shadowYOffset),
|
|
11646
11646
|
TeletextGridControl: smithy_client_1.expectString(output.teletextGridControl),
|
|
11647
|
-
XPosition: smithy_client_1.
|
|
11648
|
-
YPosition: smithy_client_1.
|
|
11647
|
+
XPosition: smithy_client_1.expectInt32(output.xPosition),
|
|
11648
|
+
YPosition: smithy_client_1.expectInt32(output.yPosition),
|
|
11649
11649
|
};
|
|
11650
11650
|
};
|
|
11651
11651
|
const deserializeAws_restJson1DvbSubSourceSettings = (output, context) => {
|
|
11652
11652
|
return {
|
|
11653
11653
|
OcrLanguage: smithy_client_1.expectString(output.ocrLanguage),
|
|
11654
|
-
Pid: smithy_client_1.
|
|
11654
|
+
Pid: smithy_client_1.expectInt32(output.pid),
|
|
11655
11655
|
};
|
|
11656
11656
|
};
|
|
11657
11657
|
const deserializeAws_restJson1DvbTdtSettings = (output, context) => {
|
|
11658
11658
|
return {
|
|
11659
|
-
RepInterval: smithy_client_1.
|
|
11659
|
+
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
11660
11660
|
};
|
|
11661
11661
|
};
|
|
11662
11662
|
const deserializeAws_restJson1Eac3Settings = (output, context) => {
|
|
11663
11663
|
return {
|
|
11664
11664
|
AttenuationControl: smithy_client_1.expectString(output.attenuationControl),
|
|
11665
|
-
Bitrate: smithy_client_1.
|
|
11665
|
+
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
11666
11666
|
BitstreamMode: smithy_client_1.expectString(output.bitstreamMode),
|
|
11667
11667
|
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
11668
11668
|
DcFilter: smithy_client_1.expectString(output.dcFilter),
|
|
11669
|
-
Dialnorm: smithy_client_1.
|
|
11669
|
+
Dialnorm: smithy_client_1.expectInt32(output.dialnorm),
|
|
11670
11670
|
DrcLine: smithy_client_1.expectString(output.drcLine),
|
|
11671
11671
|
DrcRf: smithy_client_1.expectString(output.drcRf),
|
|
11672
11672
|
LfeControl: smithy_client_1.expectString(output.lfeControl),
|
|
11673
11673
|
LfeFilter: smithy_client_1.expectString(output.lfeFilter),
|
|
11674
|
-
LoRoCenterMixLevel: smithy_client_1.
|
|
11675
|
-
LoRoSurroundMixLevel: smithy_client_1.
|
|
11676
|
-
LtRtCenterMixLevel: smithy_client_1.
|
|
11677
|
-
LtRtSurroundMixLevel: smithy_client_1.
|
|
11674
|
+
LoRoCenterMixLevel: smithy_client_1.limitedParseDouble(output.loRoCenterMixLevel),
|
|
11675
|
+
LoRoSurroundMixLevel: smithy_client_1.limitedParseDouble(output.loRoSurroundMixLevel),
|
|
11676
|
+
LtRtCenterMixLevel: smithy_client_1.limitedParseDouble(output.ltRtCenterMixLevel),
|
|
11677
|
+
LtRtSurroundMixLevel: smithy_client_1.limitedParseDouble(output.ltRtSurroundMixLevel),
|
|
11678
11678
|
MetadataControl: smithy_client_1.expectString(output.metadataControl),
|
|
11679
11679
|
PassthroughControl: smithy_client_1.expectString(output.passthroughControl),
|
|
11680
11680
|
PhaseControl: smithy_client_1.expectString(output.phaseControl),
|
|
@@ -11701,8 +11701,8 @@ const deserializeAws_restJson1EmbeddedSourceSettings = (output, context) => {
|
|
|
11701
11701
|
return {
|
|
11702
11702
|
Convert608To708: smithy_client_1.expectString(output.convert608To708),
|
|
11703
11703
|
Scte20Detection: smithy_client_1.expectString(output.scte20Detection),
|
|
11704
|
-
Source608ChannelNumber: smithy_client_1.
|
|
11705
|
-
Source608TrackNumber: smithy_client_1.
|
|
11704
|
+
Source608ChannelNumber: smithy_client_1.expectInt32(output.source608ChannelNumber),
|
|
11705
|
+
Source608TrackNumber: smithy_client_1.expectInt32(output.source608TrackNumber),
|
|
11706
11706
|
};
|
|
11707
11707
|
};
|
|
11708
11708
|
const deserializeAws_restJson1EncoderSettings = (output, context) => {
|
|
@@ -11772,9 +11772,9 @@ const deserializeAws_restJson1FeatureActivations = (output, context) => {
|
|
|
11772
11772
|
};
|
|
11773
11773
|
const deserializeAws_restJson1FecOutputSettings = (output, context) => {
|
|
11774
11774
|
return {
|
|
11775
|
-
ColumnDepth: smithy_client_1.
|
|
11775
|
+
ColumnDepth: smithy_client_1.expectInt32(output.columnDepth),
|
|
11776
11776
|
IncludeFec: smithy_client_1.expectString(output.includeFec),
|
|
11777
|
-
RowLength: smithy_client_1.
|
|
11777
|
+
RowLength: smithy_client_1.expectInt32(output.rowLength),
|
|
11778
11778
|
};
|
|
11779
11779
|
};
|
|
11780
11780
|
const deserializeAws_restJson1FixedModeScheduleActionStartSettings = (output, context) => {
|
|
@@ -11827,13 +11827,13 @@ const deserializeAws_restJson1FrameCaptureS3Settings = (output, context) => {
|
|
|
11827
11827
|
};
|
|
11828
11828
|
const deserializeAws_restJson1FrameCaptureSettings = (output, context) => {
|
|
11829
11829
|
return {
|
|
11830
|
-
CaptureInterval: smithy_client_1.
|
|
11830
|
+
CaptureInterval: smithy_client_1.expectInt32(output.captureInterval),
|
|
11831
11831
|
CaptureIntervalUnits: smithy_client_1.expectString(output.captureIntervalUnits),
|
|
11832
11832
|
};
|
|
11833
11833
|
};
|
|
11834
11834
|
const deserializeAws_restJson1GlobalConfiguration = (output, context) => {
|
|
11835
11835
|
return {
|
|
11836
|
-
InitialAudioGain: smithy_client_1.
|
|
11836
|
+
InitialAudioGain: smithy_client_1.expectInt32(output.initialAudioGain),
|
|
11837
11837
|
InputEndAction: smithy_client_1.expectString(output.inputEndAction),
|
|
11838
11838
|
InputLossBehavior: output.inputLossBehavior !== undefined && output.inputLossBehavior !== null
|
|
11839
11839
|
? deserializeAws_restJson1InputLossBehavior(output.inputLossBehavior, context)
|
|
@@ -11867,9 +11867,9 @@ const deserializeAws_restJson1H264Settings = (output, context) => {
|
|
|
11867
11867
|
return {
|
|
11868
11868
|
AdaptiveQuantization: smithy_client_1.expectString(output.adaptiveQuantization),
|
|
11869
11869
|
AfdSignaling: smithy_client_1.expectString(output.afdSignaling),
|
|
11870
|
-
Bitrate: smithy_client_1.
|
|
11871
|
-
BufFillPct: smithy_client_1.
|
|
11872
|
-
BufSize: smithy_client_1.
|
|
11870
|
+
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
11871
|
+
BufFillPct: smithy_client_1.expectInt32(output.bufFillPct),
|
|
11872
|
+
BufSize: smithy_client_1.expectInt32(output.bufSize),
|
|
11873
11873
|
ColorMetadata: smithy_client_1.expectString(output.colorMetadata),
|
|
11874
11874
|
ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
|
|
11875
11875
|
? deserializeAws_restJson1H264ColorSpaceSettings(output.colorSpaceSettings, context)
|
|
@@ -11882,29 +11882,29 @@ const deserializeAws_restJson1H264Settings = (output, context) => {
|
|
|
11882
11882
|
FlickerAq: smithy_client_1.expectString(output.flickerAq),
|
|
11883
11883
|
ForceFieldPictures: smithy_client_1.expectString(output.forceFieldPictures),
|
|
11884
11884
|
FramerateControl: smithy_client_1.expectString(output.framerateControl),
|
|
11885
|
-
FramerateDenominator: smithy_client_1.
|
|
11886
|
-
FramerateNumerator: smithy_client_1.
|
|
11885
|
+
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
11886
|
+
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
11887
11887
|
GopBReference: smithy_client_1.expectString(output.gopBReference),
|
|
11888
|
-
GopClosedCadence: smithy_client_1.
|
|
11889
|
-
GopNumBFrames: smithy_client_1.
|
|
11890
|
-
GopSize: smithy_client_1.
|
|
11888
|
+
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
11889
|
+
GopNumBFrames: smithy_client_1.expectInt32(output.gopNumBFrames),
|
|
11890
|
+
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
11891
11891
|
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
11892
11892
|
Level: smithy_client_1.expectString(output.level),
|
|
11893
11893
|
LookAheadRateControl: smithy_client_1.expectString(output.lookAheadRateControl),
|
|
11894
|
-
MaxBitrate: smithy_client_1.
|
|
11895
|
-
MinIInterval: smithy_client_1.
|
|
11896
|
-
NumRefFrames: smithy_client_1.
|
|
11894
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
11895
|
+
MinIInterval: smithy_client_1.expectInt32(output.minIInterval),
|
|
11896
|
+
NumRefFrames: smithy_client_1.expectInt32(output.numRefFrames),
|
|
11897
11897
|
ParControl: smithy_client_1.expectString(output.parControl),
|
|
11898
|
-
ParDenominator: smithy_client_1.
|
|
11899
|
-
ParNumerator: smithy_client_1.
|
|
11898
|
+
ParDenominator: smithy_client_1.expectInt32(output.parDenominator),
|
|
11899
|
+
ParNumerator: smithy_client_1.expectInt32(output.parNumerator),
|
|
11900
11900
|
Profile: smithy_client_1.expectString(output.profile),
|
|
11901
11901
|
QualityLevel: smithy_client_1.expectString(output.qualityLevel),
|
|
11902
|
-
QvbrQualityLevel: smithy_client_1.
|
|
11902
|
+
QvbrQualityLevel: smithy_client_1.expectInt32(output.qvbrQualityLevel),
|
|
11903
11903
|
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
11904
11904
|
ScanType: smithy_client_1.expectString(output.scanType),
|
|
11905
11905
|
SceneChangeDetect: smithy_client_1.expectString(output.sceneChangeDetect),
|
|
11906
|
-
Slices: smithy_client_1.
|
|
11907
|
-
Softness: smithy_client_1.
|
|
11906
|
+
Slices: smithy_client_1.expectInt32(output.slices),
|
|
11907
|
+
Softness: smithy_client_1.expectInt32(output.softness),
|
|
11908
11908
|
SpatialAq: smithy_client_1.expectString(output.spatialAq),
|
|
11909
11909
|
SubgopLength: smithy_client_1.expectString(output.subgopLength),
|
|
11910
11910
|
Syntax: smithy_client_1.expectString(output.syntax),
|
|
@@ -11940,8 +11940,8 @@ const deserializeAws_restJson1H265Settings = (output, context) => {
|
|
|
11940
11940
|
AdaptiveQuantization: smithy_client_1.expectString(output.adaptiveQuantization),
|
|
11941
11941
|
AfdSignaling: smithy_client_1.expectString(output.afdSignaling),
|
|
11942
11942
|
AlternativeTransferFunction: smithy_client_1.expectString(output.alternativeTransferFunction),
|
|
11943
|
-
Bitrate: smithy_client_1.
|
|
11944
|
-
BufSize: smithy_client_1.
|
|
11943
|
+
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
11944
|
+
BufSize: smithy_client_1.expectInt32(output.bufSize),
|
|
11945
11945
|
ColorMetadata: smithy_client_1.expectString(output.colorMetadata),
|
|
11946
11946
|
ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
|
|
11947
11947
|
? deserializeAws_restJson1H265ColorSpaceSettings(output.colorSpaceSettings, context)
|
|
@@ -11951,50 +11951,50 @@ const deserializeAws_restJson1H265Settings = (output, context) => {
|
|
|
11951
11951
|
: undefined,
|
|
11952
11952
|
FixedAfd: smithy_client_1.expectString(output.fixedAfd),
|
|
11953
11953
|
FlickerAq: smithy_client_1.expectString(output.flickerAq),
|
|
11954
|
-
FramerateDenominator: smithy_client_1.
|
|
11955
|
-
FramerateNumerator: smithy_client_1.
|
|
11956
|
-
GopClosedCadence: smithy_client_1.
|
|
11957
|
-
GopSize: smithy_client_1.
|
|
11954
|
+
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
11955
|
+
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
11956
|
+
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
11957
|
+
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
11958
11958
|
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
11959
11959
|
Level: smithy_client_1.expectString(output.level),
|
|
11960
11960
|
LookAheadRateControl: smithy_client_1.expectString(output.lookAheadRateControl),
|
|
11961
|
-
MaxBitrate: smithy_client_1.
|
|
11962
|
-
MinIInterval: smithy_client_1.
|
|
11963
|
-
ParDenominator: smithy_client_1.
|
|
11964
|
-
ParNumerator: smithy_client_1.
|
|
11961
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
11962
|
+
MinIInterval: smithy_client_1.expectInt32(output.minIInterval),
|
|
11963
|
+
ParDenominator: smithy_client_1.expectInt32(output.parDenominator),
|
|
11964
|
+
ParNumerator: smithy_client_1.expectInt32(output.parNumerator),
|
|
11965
11965
|
Profile: smithy_client_1.expectString(output.profile),
|
|
11966
|
-
QvbrQualityLevel: smithy_client_1.
|
|
11966
|
+
QvbrQualityLevel: smithy_client_1.expectInt32(output.qvbrQualityLevel),
|
|
11967
11967
|
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
11968
11968
|
ScanType: smithy_client_1.expectString(output.scanType),
|
|
11969
11969
|
SceneChangeDetect: smithy_client_1.expectString(output.sceneChangeDetect),
|
|
11970
|
-
Slices: smithy_client_1.
|
|
11970
|
+
Slices: smithy_client_1.expectInt32(output.slices),
|
|
11971
11971
|
Tier: smithy_client_1.expectString(output.tier),
|
|
11972
11972
|
TimecodeInsertion: smithy_client_1.expectString(output.timecodeInsertion),
|
|
11973
11973
|
};
|
|
11974
11974
|
};
|
|
11975
11975
|
const deserializeAws_restJson1Hdr10Settings = (output, context) => {
|
|
11976
11976
|
return {
|
|
11977
|
-
MaxCll: smithy_client_1.
|
|
11978
|
-
MaxFall: smithy_client_1.
|
|
11977
|
+
MaxCll: smithy_client_1.expectInt32(output.maxCll),
|
|
11978
|
+
MaxFall: smithy_client_1.expectInt32(output.maxFall),
|
|
11979
11979
|
};
|
|
11980
11980
|
};
|
|
11981
11981
|
const deserializeAws_restJson1HlsAkamaiSettings = (output, context) => {
|
|
11982
11982
|
return {
|
|
11983
|
-
ConnectionRetryInterval: smithy_client_1.
|
|
11984
|
-
FilecacheDuration: smithy_client_1.
|
|
11983
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
11984
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
11985
11985
|
HttpTransferMode: smithy_client_1.expectString(output.httpTransferMode),
|
|
11986
|
-
NumRetries: smithy_client_1.
|
|
11987
|
-
RestartDelay: smithy_client_1.
|
|
11986
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
11987
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
11988
11988
|
Salt: smithy_client_1.expectString(output.salt),
|
|
11989
11989
|
Token: smithy_client_1.expectString(output.token),
|
|
11990
11990
|
};
|
|
11991
11991
|
};
|
|
11992
11992
|
const deserializeAws_restJson1HlsBasicPutSettings = (output, context) => {
|
|
11993
11993
|
return {
|
|
11994
|
-
ConnectionRetryInterval: smithy_client_1.
|
|
11995
|
-
FilecacheDuration: smithy_client_1.
|
|
11996
|
-
NumRetries: smithy_client_1.
|
|
11997
|
-
RestartDelay: smithy_client_1.
|
|
11994
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
11995
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
11996
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
11997
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
11998
11998
|
};
|
|
11999
11999
|
};
|
|
12000
12000
|
const deserializeAws_restJson1HlsCdnSettings = (output, context) => {
|
|
@@ -12044,11 +12044,11 @@ const deserializeAws_restJson1HlsGroupSettings = (output, context) => {
|
|
|
12044
12044
|
HlsId3SegmentTagging: smithy_client_1.expectString(output.hlsId3SegmentTagging),
|
|
12045
12045
|
IFrameOnlyPlaylists: smithy_client_1.expectString(output.iFrameOnlyPlaylists),
|
|
12046
12046
|
IncompleteSegmentBehavior: smithy_client_1.expectString(output.incompleteSegmentBehavior),
|
|
12047
|
-
IndexNSegments: smithy_client_1.
|
|
12047
|
+
IndexNSegments: smithy_client_1.expectInt32(output.indexNSegments),
|
|
12048
12048
|
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
12049
12049
|
IvInManifest: smithy_client_1.expectString(output.ivInManifest),
|
|
12050
12050
|
IvSource: smithy_client_1.expectString(output.ivSource),
|
|
12051
|
-
KeepSegments: smithy_client_1.
|
|
12051
|
+
KeepSegments: smithy_client_1.expectInt32(output.keepSegments),
|
|
12052
12052
|
KeyFormat: smithy_client_1.expectString(output.keyFormat),
|
|
12053
12053
|
KeyFormatVersions: smithy_client_1.expectString(output.keyFormatVersions),
|
|
12054
12054
|
KeyProviderSettings: output.keyProviderSettings !== undefined && output.keyProviderSettings !== null
|
|
@@ -12056,19 +12056,19 @@ const deserializeAws_restJson1HlsGroupSettings = (output, context) => {
|
|
|
12056
12056
|
: undefined,
|
|
12057
12057
|
ManifestCompression: smithy_client_1.expectString(output.manifestCompression),
|
|
12058
12058
|
ManifestDurationFormat: smithy_client_1.expectString(output.manifestDurationFormat),
|
|
12059
|
-
MinSegmentLength: smithy_client_1.
|
|
12059
|
+
MinSegmentLength: smithy_client_1.expectInt32(output.minSegmentLength),
|
|
12060
12060
|
Mode: smithy_client_1.expectString(output.mode),
|
|
12061
12061
|
OutputSelection: smithy_client_1.expectString(output.outputSelection),
|
|
12062
12062
|
ProgramDateTime: smithy_client_1.expectString(output.programDateTime),
|
|
12063
|
-
ProgramDateTimePeriod: smithy_client_1.
|
|
12063
|
+
ProgramDateTimePeriod: smithy_client_1.expectInt32(output.programDateTimePeriod),
|
|
12064
12064
|
RedundantManifest: smithy_client_1.expectString(output.redundantManifest),
|
|
12065
|
-
SegmentLength: smithy_client_1.
|
|
12065
|
+
SegmentLength: smithy_client_1.expectInt32(output.segmentLength),
|
|
12066
12066
|
SegmentationMode: smithy_client_1.expectString(output.segmentationMode),
|
|
12067
|
-
SegmentsPerSubdirectory: smithy_client_1.
|
|
12067
|
+
SegmentsPerSubdirectory: smithy_client_1.expectInt32(output.segmentsPerSubdirectory),
|
|
12068
12068
|
StreamInfResolution: smithy_client_1.expectString(output.streamInfResolution),
|
|
12069
12069
|
TimedMetadataId3Frame: smithy_client_1.expectString(output.timedMetadataId3Frame),
|
|
12070
|
-
TimedMetadataId3Period: smithy_client_1.
|
|
12071
|
-
TimestampDeltaMilliseconds: smithy_client_1.
|
|
12070
|
+
TimedMetadataId3Period: smithy_client_1.expectInt32(output.timedMetadataId3Period),
|
|
12071
|
+
TimestampDeltaMilliseconds: smithy_client_1.expectInt32(output.timestampDeltaMilliseconds),
|
|
12072
12072
|
TsFileMode: smithy_client_1.expectString(output.tsFileMode),
|
|
12073
12073
|
};
|
|
12074
12074
|
};
|
|
@@ -12079,20 +12079,20 @@ const deserializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = (outp
|
|
|
12079
12079
|
};
|
|
12080
12080
|
const deserializeAws_restJson1HlsInputSettings = (output, context) => {
|
|
12081
12081
|
return {
|
|
12082
|
-
Bandwidth: smithy_client_1.
|
|
12083
|
-
BufferSegments: smithy_client_1.
|
|
12084
|
-
Retries: smithy_client_1.
|
|
12085
|
-
RetryInterval: smithy_client_1.
|
|
12082
|
+
Bandwidth: smithy_client_1.expectInt32(output.bandwidth),
|
|
12083
|
+
BufferSegments: smithy_client_1.expectInt32(output.bufferSegments),
|
|
12084
|
+
Retries: smithy_client_1.expectInt32(output.retries),
|
|
12085
|
+
RetryInterval: smithy_client_1.expectInt32(output.retryInterval),
|
|
12086
12086
|
Scte35Source: smithy_client_1.expectString(output.scte35Source),
|
|
12087
12087
|
};
|
|
12088
12088
|
};
|
|
12089
12089
|
const deserializeAws_restJson1HlsMediaStoreSettings = (output, context) => {
|
|
12090
12090
|
return {
|
|
12091
|
-
ConnectionRetryInterval: smithy_client_1.
|
|
12092
|
-
FilecacheDuration: smithy_client_1.
|
|
12091
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
12092
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
12093
12093
|
MediaStoreStorageClass: smithy_client_1.expectString(output.mediaStoreStorageClass),
|
|
12094
|
-
NumRetries: smithy_client_1.
|
|
12095
|
-
RestartDelay: smithy_client_1.
|
|
12094
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
12095
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
12096
12096
|
};
|
|
12097
12097
|
};
|
|
12098
12098
|
const deserializeAws_restJson1HlsOutputSettings = (output, context) => {
|
|
@@ -12133,11 +12133,11 @@ const deserializeAws_restJson1HlsTimedMetadataScheduleActionSettings = (output,
|
|
|
12133
12133
|
};
|
|
12134
12134
|
const deserializeAws_restJson1HlsWebdavSettings = (output, context) => {
|
|
12135
12135
|
return {
|
|
12136
|
-
ConnectionRetryInterval: smithy_client_1.
|
|
12137
|
-
FilecacheDuration: smithy_client_1.
|
|
12136
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
12137
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
12138
12138
|
HttpTransferMode: smithy_client_1.expectString(output.httpTransferMode),
|
|
12139
|
-
NumRetries: smithy_client_1.
|
|
12140
|
-
RestartDelay: smithy_client_1.
|
|
12139
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
12140
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
12141
12141
|
};
|
|
12142
12142
|
};
|
|
12143
12143
|
const deserializeAws_restJson1HtmlMotionGraphicsSettings = (output, context) => {
|
|
@@ -12196,8 +12196,8 @@ const deserializeAws_restJson1InputAttachment = (output, context) => {
|
|
|
12196
12196
|
};
|
|
12197
12197
|
const deserializeAws_restJson1InputChannelLevel = (output, context) => {
|
|
12198
12198
|
return {
|
|
12199
|
-
Gain: smithy_client_1.
|
|
12200
|
-
InputChannel: smithy_client_1.
|
|
12199
|
+
Gain: smithy_client_1.expectInt32(output.gain),
|
|
12200
|
+
InputChannel: smithy_client_1.expectInt32(output.inputChannel),
|
|
12201
12201
|
};
|
|
12202
12202
|
};
|
|
12203
12203
|
const deserializeAws_restJson1InputClippingSettings = (output, context) => {
|
|
@@ -12232,11 +12232,11 @@ const deserializeAws_restJson1InputDeviceHdSettings = (output, context) => {
|
|
|
12232
12232
|
ActiveInput: smithy_client_1.expectString(output.activeInput),
|
|
12233
12233
|
ConfiguredInput: smithy_client_1.expectString(output.configuredInput),
|
|
12234
12234
|
DeviceState: smithy_client_1.expectString(output.deviceState),
|
|
12235
|
-
Framerate: smithy_client_1.
|
|
12236
|
-
Height: smithy_client_1.
|
|
12237
|
-
MaxBitrate: smithy_client_1.
|
|
12235
|
+
Framerate: smithy_client_1.limitedParseDouble(output.framerate),
|
|
12236
|
+
Height: smithy_client_1.expectInt32(output.height),
|
|
12237
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
12238
12238
|
ScanType: smithy_client_1.expectString(output.scanType),
|
|
12239
|
-
Width: smithy_client_1.
|
|
12239
|
+
Width: smithy_client_1.expectInt32(output.width),
|
|
12240
12240
|
};
|
|
12241
12241
|
};
|
|
12242
12242
|
const deserializeAws_restJson1InputDeviceNetworkSettings = (output, context) => {
|
|
@@ -12282,11 +12282,11 @@ const deserializeAws_restJson1InputDeviceUhdSettings = (output, context) => {
|
|
|
12282
12282
|
ActiveInput: smithy_client_1.expectString(output.activeInput),
|
|
12283
12283
|
ConfiguredInput: smithy_client_1.expectString(output.configuredInput),
|
|
12284
12284
|
DeviceState: smithy_client_1.expectString(output.deviceState),
|
|
12285
|
-
Framerate: smithy_client_1.
|
|
12286
|
-
Height: smithy_client_1.
|
|
12287
|
-
MaxBitrate: smithy_client_1.
|
|
12285
|
+
Framerate: smithy_client_1.limitedParseDouble(output.framerate),
|
|
12286
|
+
Height: smithy_client_1.expectInt32(output.height),
|
|
12287
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
12288
12288
|
ScanType: smithy_client_1.expectString(output.scanType),
|
|
12289
|
-
Width: smithy_client_1.
|
|
12289
|
+
Width: smithy_client_1.expectInt32(output.width),
|
|
12290
12290
|
};
|
|
12291
12291
|
};
|
|
12292
12292
|
const deserializeAws_restJson1InputLocation = (output, context) => {
|
|
@@ -12298,18 +12298,18 @@ const deserializeAws_restJson1InputLocation = (output, context) => {
|
|
|
12298
12298
|
};
|
|
12299
12299
|
const deserializeAws_restJson1InputLossBehavior = (output, context) => {
|
|
12300
12300
|
return {
|
|
12301
|
-
BlackFrameMsec: smithy_client_1.
|
|
12301
|
+
BlackFrameMsec: smithy_client_1.expectInt32(output.blackFrameMsec),
|
|
12302
12302
|
InputLossImageColor: smithy_client_1.expectString(output.inputLossImageColor),
|
|
12303
12303
|
InputLossImageSlate: output.inputLossImageSlate !== undefined && output.inputLossImageSlate !== null
|
|
12304
12304
|
? deserializeAws_restJson1InputLocation(output.inputLossImageSlate, context)
|
|
12305
12305
|
: undefined,
|
|
12306
12306
|
InputLossImageType: smithy_client_1.expectString(output.inputLossImageType),
|
|
12307
|
-
RepeatFrameMsec: smithy_client_1.
|
|
12307
|
+
RepeatFrameMsec: smithy_client_1.expectInt32(output.repeatFrameMsec),
|
|
12308
12308
|
};
|
|
12309
12309
|
};
|
|
12310
12310
|
const deserializeAws_restJson1InputLossFailoverSettings = (output, context) => {
|
|
12311
12311
|
return {
|
|
12312
|
-
InputLossThresholdMsec: smithy_client_1.
|
|
12312
|
+
InputLossThresholdMsec: smithy_client_1.expectInt32(output.inputLossThresholdMsec),
|
|
12313
12313
|
};
|
|
12314
12314
|
};
|
|
12315
12315
|
const deserializeAws_restJson1InputPrepareScheduleActionSettings = (output, context) => {
|
|
@@ -12349,7 +12349,7 @@ const deserializeAws_restJson1InputSettings = (output, context) => {
|
|
|
12349
12349
|
: undefined,
|
|
12350
12350
|
DeblockFilter: smithy_client_1.expectString(output.deblockFilter),
|
|
12351
12351
|
DenoiseFilter: smithy_client_1.expectString(output.denoiseFilter),
|
|
12352
|
-
FilterStrength: smithy_client_1.
|
|
12352
|
+
FilterStrength: smithy_client_1.expectInt32(output.filterStrength),
|
|
12353
12353
|
InputFilter: smithy_client_1.expectString(output.inputFilter),
|
|
12354
12354
|
NetworkInputSettings: output.networkInputSettings !== undefined && output.networkInputSettings !== null
|
|
12355
12355
|
? deserializeAws_restJson1NetworkInputSettings(output.networkInputSettings, context)
|
|
@@ -12405,10 +12405,10 @@ const deserializeAws_restJson1M2tsSettings = (output, context) => {
|
|
|
12405
12405
|
AribCaptionsPid: smithy_client_1.expectString(output.aribCaptionsPid),
|
|
12406
12406
|
AribCaptionsPidControl: smithy_client_1.expectString(output.aribCaptionsPidControl),
|
|
12407
12407
|
AudioBufferModel: smithy_client_1.expectString(output.audioBufferModel),
|
|
12408
|
-
AudioFramesPerPes: smithy_client_1.
|
|
12408
|
+
AudioFramesPerPes: smithy_client_1.expectInt32(output.audioFramesPerPes),
|
|
12409
12409
|
AudioPids: smithy_client_1.expectString(output.audioPids),
|
|
12410
12410
|
AudioStreamType: smithy_client_1.expectString(output.audioStreamType),
|
|
12411
|
-
Bitrate: smithy_client_1.
|
|
12411
|
+
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
12412
12412
|
BufferModel: smithy_client_1.expectString(output.bufferModel),
|
|
12413
12413
|
CcDescriptor: smithy_client_1.expectString(output.ccDescriptor),
|
|
12414
12414
|
DvbNitSettings: output.dvbNitSettings !== undefined && output.dvbNitSettings !== null
|
|
@@ -12424,55 +12424,55 @@ const deserializeAws_restJson1M2tsSettings = (output, context) => {
|
|
|
12424
12424
|
DvbTeletextPid: smithy_client_1.expectString(output.dvbTeletextPid),
|
|
12425
12425
|
Ebif: smithy_client_1.expectString(output.ebif),
|
|
12426
12426
|
EbpAudioInterval: smithy_client_1.expectString(output.ebpAudioInterval),
|
|
12427
|
-
EbpLookaheadMs: smithy_client_1.
|
|
12427
|
+
EbpLookaheadMs: smithy_client_1.expectInt32(output.ebpLookaheadMs),
|
|
12428
12428
|
EbpPlacement: smithy_client_1.expectString(output.ebpPlacement),
|
|
12429
12429
|
EcmPid: smithy_client_1.expectString(output.ecmPid),
|
|
12430
12430
|
EsRateInPes: smithy_client_1.expectString(output.esRateInPes),
|
|
12431
12431
|
EtvPlatformPid: smithy_client_1.expectString(output.etvPlatformPid),
|
|
12432
12432
|
EtvSignalPid: smithy_client_1.expectString(output.etvSignalPid),
|
|
12433
|
-
FragmentTime: smithy_client_1.
|
|
12433
|
+
FragmentTime: smithy_client_1.limitedParseDouble(output.fragmentTime),
|
|
12434
12434
|
Klv: smithy_client_1.expectString(output.klv),
|
|
12435
12435
|
KlvDataPids: smithy_client_1.expectString(output.klvDataPids),
|
|
12436
12436
|
NielsenId3Behavior: smithy_client_1.expectString(output.nielsenId3Behavior),
|
|
12437
|
-
NullPacketBitrate: smithy_client_1.
|
|
12438
|
-
PatInterval: smithy_client_1.
|
|
12437
|
+
NullPacketBitrate: smithy_client_1.limitedParseDouble(output.nullPacketBitrate),
|
|
12438
|
+
PatInterval: smithy_client_1.expectInt32(output.patInterval),
|
|
12439
12439
|
PcrControl: smithy_client_1.expectString(output.pcrControl),
|
|
12440
|
-
PcrPeriod: smithy_client_1.
|
|
12440
|
+
PcrPeriod: smithy_client_1.expectInt32(output.pcrPeriod),
|
|
12441
12441
|
PcrPid: smithy_client_1.expectString(output.pcrPid),
|
|
12442
|
-
PmtInterval: smithy_client_1.
|
|
12442
|
+
PmtInterval: smithy_client_1.expectInt32(output.pmtInterval),
|
|
12443
12443
|
PmtPid: smithy_client_1.expectString(output.pmtPid),
|
|
12444
|
-
ProgramNum: smithy_client_1.
|
|
12444
|
+
ProgramNum: smithy_client_1.expectInt32(output.programNum),
|
|
12445
12445
|
RateMode: smithy_client_1.expectString(output.rateMode),
|
|
12446
12446
|
Scte27Pids: smithy_client_1.expectString(output.scte27Pids),
|
|
12447
12447
|
Scte35Control: smithy_client_1.expectString(output.scte35Control),
|
|
12448
12448
|
Scte35Pid: smithy_client_1.expectString(output.scte35Pid),
|
|
12449
12449
|
SegmentationMarkers: smithy_client_1.expectString(output.segmentationMarkers),
|
|
12450
12450
|
SegmentationStyle: smithy_client_1.expectString(output.segmentationStyle),
|
|
12451
|
-
SegmentationTime: smithy_client_1.
|
|
12451
|
+
SegmentationTime: smithy_client_1.limitedParseDouble(output.segmentationTime),
|
|
12452
12452
|
TimedMetadataBehavior: smithy_client_1.expectString(output.timedMetadataBehavior),
|
|
12453
12453
|
TimedMetadataPid: smithy_client_1.expectString(output.timedMetadataPid),
|
|
12454
|
-
TransportStreamId: smithy_client_1.
|
|
12454
|
+
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
12455
12455
|
VideoPid: smithy_client_1.expectString(output.videoPid),
|
|
12456
12456
|
};
|
|
12457
12457
|
};
|
|
12458
12458
|
const deserializeAws_restJson1M3u8Settings = (output, context) => {
|
|
12459
12459
|
return {
|
|
12460
|
-
AudioFramesPerPes: smithy_client_1.
|
|
12460
|
+
AudioFramesPerPes: smithy_client_1.expectInt32(output.audioFramesPerPes),
|
|
12461
12461
|
AudioPids: smithy_client_1.expectString(output.audioPids),
|
|
12462
12462
|
EcmPid: smithy_client_1.expectString(output.ecmPid),
|
|
12463
12463
|
NielsenId3Behavior: smithy_client_1.expectString(output.nielsenId3Behavior),
|
|
12464
|
-
PatInterval: smithy_client_1.
|
|
12464
|
+
PatInterval: smithy_client_1.expectInt32(output.patInterval),
|
|
12465
12465
|
PcrControl: smithy_client_1.expectString(output.pcrControl),
|
|
12466
|
-
PcrPeriod: smithy_client_1.
|
|
12466
|
+
PcrPeriod: smithy_client_1.expectInt32(output.pcrPeriod),
|
|
12467
12467
|
PcrPid: smithy_client_1.expectString(output.pcrPid),
|
|
12468
|
-
PmtInterval: smithy_client_1.
|
|
12468
|
+
PmtInterval: smithy_client_1.expectInt32(output.pmtInterval),
|
|
12469
12469
|
PmtPid: smithy_client_1.expectString(output.pmtPid),
|
|
12470
|
-
ProgramNum: smithy_client_1.
|
|
12470
|
+
ProgramNum: smithy_client_1.expectInt32(output.programNum),
|
|
12471
12471
|
Scte35Behavior: smithy_client_1.expectString(output.scte35Behavior),
|
|
12472
12472
|
Scte35Pid: smithy_client_1.expectString(output.scte35Pid),
|
|
12473
12473
|
TimedMetadataBehavior: smithy_client_1.expectString(output.timedMetadataBehavior),
|
|
12474
12474
|
TimedMetadataPid: smithy_client_1.expectString(output.timedMetadataPid),
|
|
12475
|
-
TransportStreamId: smithy_client_1.
|
|
12475
|
+
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
12476
12476
|
VideoPid: smithy_client_1.expectString(output.videoPid),
|
|
12477
12477
|
};
|
|
12478
12478
|
};
|
|
@@ -12498,7 +12498,7 @@ const deserializeAws_restJson1MediaPackageOutputSettings = (output, context) =>
|
|
|
12498
12498
|
};
|
|
12499
12499
|
const deserializeAws_restJson1MotionGraphicsActivateScheduleActionSettings = (output, context) => {
|
|
12500
12500
|
return {
|
|
12501
|
-
Duration: smithy_client_1.
|
|
12501
|
+
Duration: smithy_client_1.expectLong(output.duration),
|
|
12502
12502
|
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
12503
12503
|
Url: smithy_client_1.expectString(output.url),
|
|
12504
12504
|
Username: smithy_client_1.expectString(output.username),
|
|
@@ -12524,9 +12524,9 @@ const deserializeAws_restJson1MotionGraphicsSettings = (output, context) => {
|
|
|
12524
12524
|
};
|
|
12525
12525
|
const deserializeAws_restJson1Mp2Settings = (output, context) => {
|
|
12526
12526
|
return {
|
|
12527
|
-
Bitrate: smithy_client_1.
|
|
12527
|
+
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
12528
12528
|
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
12529
|
-
SampleRate: smithy_client_1.
|
|
12529
|
+
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
12530
12530
|
};
|
|
12531
12531
|
};
|
|
12532
12532
|
const deserializeAws_restJson1Mpeg2FilterSettings = (output, context) => {
|
|
@@ -12547,11 +12547,11 @@ const deserializeAws_restJson1Mpeg2Settings = (output, context) => {
|
|
|
12547
12547
|
? deserializeAws_restJson1Mpeg2FilterSettings(output.filterSettings, context)
|
|
12548
12548
|
: undefined,
|
|
12549
12549
|
FixedAfd: smithy_client_1.expectString(output.fixedAfd),
|
|
12550
|
-
FramerateDenominator: smithy_client_1.
|
|
12551
|
-
FramerateNumerator: smithy_client_1.
|
|
12552
|
-
GopClosedCadence: smithy_client_1.
|
|
12553
|
-
GopNumBFrames: smithy_client_1.
|
|
12554
|
-
GopSize: smithy_client_1.
|
|
12550
|
+
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
12551
|
+
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
12552
|
+
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
12553
|
+
GopNumBFrames: smithy_client_1.expectInt32(output.gopNumBFrames),
|
|
12554
|
+
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
12555
12555
|
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
12556
12556
|
ScanType: smithy_client_1.expectString(output.scanType),
|
|
12557
12557
|
SubgopLength: smithy_client_1.expectString(output.subgopLength),
|
|
@@ -12563,20 +12563,20 @@ const deserializeAws_restJson1MsSmoothGroupSettings = (output, context) => {
|
|
|
12563
12563
|
AcquisitionPointId: smithy_client_1.expectString(output.acquisitionPointId),
|
|
12564
12564
|
AudioOnlyTimecodeControl: smithy_client_1.expectString(output.audioOnlyTimecodeControl),
|
|
12565
12565
|
CertificateMode: smithy_client_1.expectString(output.certificateMode),
|
|
12566
|
-
ConnectionRetryInterval: smithy_client_1.
|
|
12566
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
12567
12567
|
Destination: output.destination !== undefined && output.destination !== null
|
|
12568
12568
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
12569
12569
|
: undefined,
|
|
12570
12570
|
EventId: smithy_client_1.expectString(output.eventId),
|
|
12571
12571
|
EventIdMode: smithy_client_1.expectString(output.eventIdMode),
|
|
12572
12572
|
EventStopBehavior: smithy_client_1.expectString(output.eventStopBehavior),
|
|
12573
|
-
FilecacheDuration: smithy_client_1.
|
|
12574
|
-
FragmentLength: smithy_client_1.
|
|
12573
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
12574
|
+
FragmentLength: smithy_client_1.expectInt32(output.fragmentLength),
|
|
12575
12575
|
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
12576
|
-
NumRetries: smithy_client_1.
|
|
12577
|
-
RestartDelay: smithy_client_1.
|
|
12576
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
12577
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
12578
12578
|
SegmentationMode: smithy_client_1.expectString(output.segmentationMode),
|
|
12579
|
-
SendDelayMs: smithy_client_1.
|
|
12579
|
+
SendDelayMs: smithy_client_1.expectInt32(output.sendDelayMs),
|
|
12580
12580
|
SparseTrackType: smithy_client_1.expectString(output.sparseTrackType),
|
|
12581
12581
|
StreamManifestBehavior: smithy_client_1.expectString(output.streamManifestBehavior),
|
|
12582
12582
|
TimestampOffset: smithy_client_1.expectString(output.timestampOffset),
|
|
@@ -12603,8 +12603,8 @@ const deserializeAws_restJson1Multiplex = (output, context) => {
|
|
|
12603
12603
|
? deserializeAws_restJson1MultiplexSettings(output.multiplexSettings, context)
|
|
12604
12604
|
: undefined,
|
|
12605
12605
|
Name: smithy_client_1.expectString(output.name),
|
|
12606
|
-
PipelinesRunningCount: smithy_client_1.
|
|
12607
|
-
ProgramCount: smithy_client_1.
|
|
12606
|
+
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
12607
|
+
ProgramCount: smithy_client_1.expectInt32(output.programCount),
|
|
12608
12608
|
State: smithy_client_1.expectString(output.state),
|
|
12609
12609
|
Tags: output.tags !== undefined && output.tags !== null
|
|
12610
12610
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
@@ -12662,21 +12662,21 @@ const deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap = (output, co
|
|
|
12662
12662
|
DvbSubPids: output.dvbSubPids !== undefined && output.dvbSubPids !== null
|
|
12663
12663
|
? deserializeAws_restJson1__listOf__integer(output.dvbSubPids, context)
|
|
12664
12664
|
: undefined,
|
|
12665
|
-
DvbTeletextPid: smithy_client_1.
|
|
12666
|
-
EtvPlatformPid: smithy_client_1.
|
|
12667
|
-
EtvSignalPid: smithy_client_1.
|
|
12665
|
+
DvbTeletextPid: smithy_client_1.expectInt32(output.dvbTeletextPid),
|
|
12666
|
+
EtvPlatformPid: smithy_client_1.expectInt32(output.etvPlatformPid),
|
|
12667
|
+
EtvSignalPid: smithy_client_1.expectInt32(output.etvSignalPid),
|
|
12668
12668
|
KlvDataPids: output.klvDataPids !== undefined && output.klvDataPids !== null
|
|
12669
12669
|
? deserializeAws_restJson1__listOf__integer(output.klvDataPids, context)
|
|
12670
12670
|
: undefined,
|
|
12671
|
-
PcrPid: smithy_client_1.
|
|
12672
|
-
PmtPid: smithy_client_1.
|
|
12673
|
-
PrivateMetadataPid: smithy_client_1.
|
|
12671
|
+
PcrPid: smithy_client_1.expectInt32(output.pcrPid),
|
|
12672
|
+
PmtPid: smithy_client_1.expectInt32(output.pmtPid),
|
|
12673
|
+
PrivateMetadataPid: smithy_client_1.expectInt32(output.privateMetadataPid),
|
|
12674
12674
|
Scte27Pids: output.scte27Pids !== undefined && output.scte27Pids !== null
|
|
12675
12675
|
? deserializeAws_restJson1__listOf__integer(output.scte27Pids, context)
|
|
12676
12676
|
: undefined,
|
|
12677
|
-
Scte35Pid: smithy_client_1.
|
|
12678
|
-
TimedMetadataPid: smithy_client_1.
|
|
12679
|
-
VideoPid: smithy_client_1.
|
|
12677
|
+
Scte35Pid: smithy_client_1.expectInt32(output.scte35Pid),
|
|
12678
|
+
TimedMetadataPid: smithy_client_1.expectInt32(output.timedMetadataPid),
|
|
12679
|
+
VideoPid: smithy_client_1.expectInt32(output.videoPid),
|
|
12680
12680
|
};
|
|
12681
12681
|
};
|
|
12682
12682
|
const deserializeAws_restJson1MultiplexProgramPipelineDetail = (output, context) => {
|
|
@@ -12694,7 +12694,7 @@ const deserializeAws_restJson1MultiplexProgramServiceDescriptor = (output, conte
|
|
|
12694
12694
|
const deserializeAws_restJson1MultiplexProgramSettings = (output, context) => {
|
|
12695
12695
|
return {
|
|
12696
12696
|
PreferredChannelPipeline: smithy_client_1.expectString(output.preferredChannelPipeline),
|
|
12697
|
-
ProgramNumber: smithy_client_1.
|
|
12697
|
+
ProgramNumber: smithy_client_1.expectInt32(output.programNumber),
|
|
12698
12698
|
ServiceDescriptor: output.serviceDescriptor !== undefined && output.serviceDescriptor !== null
|
|
12699
12699
|
? deserializeAws_restJson1MultiplexProgramServiceDescriptor(output.serviceDescriptor, context)
|
|
12700
12700
|
: undefined,
|
|
@@ -12711,22 +12711,22 @@ const deserializeAws_restJson1MultiplexProgramSummary = (output, context) => {
|
|
|
12711
12711
|
};
|
|
12712
12712
|
const deserializeAws_restJson1MultiplexSettings = (output, context) => {
|
|
12713
12713
|
return {
|
|
12714
|
-
MaximumVideoBufferDelayMilliseconds: smithy_client_1.
|
|
12715
|
-
TransportStreamBitrate: smithy_client_1.
|
|
12716
|
-
TransportStreamId: smithy_client_1.
|
|
12717
|
-
TransportStreamReservedBitrate: smithy_client_1.
|
|
12714
|
+
MaximumVideoBufferDelayMilliseconds: smithy_client_1.expectInt32(output.maximumVideoBufferDelayMilliseconds),
|
|
12715
|
+
TransportStreamBitrate: smithy_client_1.expectInt32(output.transportStreamBitrate),
|
|
12716
|
+
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
12717
|
+
TransportStreamReservedBitrate: smithy_client_1.expectInt32(output.transportStreamReservedBitrate),
|
|
12718
12718
|
};
|
|
12719
12719
|
};
|
|
12720
12720
|
const deserializeAws_restJson1MultiplexSettingsSummary = (output, context) => {
|
|
12721
12721
|
return {
|
|
12722
|
-
TransportStreamBitrate: smithy_client_1.
|
|
12722
|
+
TransportStreamBitrate: smithy_client_1.expectInt32(output.transportStreamBitrate),
|
|
12723
12723
|
};
|
|
12724
12724
|
};
|
|
12725
12725
|
const deserializeAws_restJson1MultiplexStatmuxVideoSettings = (output, context) => {
|
|
12726
12726
|
return {
|
|
12727
|
-
MaximumBitrate: smithy_client_1.
|
|
12728
|
-
MinimumBitrate: smithy_client_1.
|
|
12729
|
-
Priority: smithy_client_1.
|
|
12727
|
+
MaximumBitrate: smithy_client_1.expectInt32(output.maximumBitrate),
|
|
12728
|
+
MinimumBitrate: smithy_client_1.expectInt32(output.minimumBitrate),
|
|
12729
|
+
Priority: smithy_client_1.expectInt32(output.priority),
|
|
12730
12730
|
};
|
|
12731
12731
|
};
|
|
12732
12732
|
const deserializeAws_restJson1MultiplexSummary = (output, context) => {
|
|
@@ -12740,8 +12740,8 @@ const deserializeAws_restJson1MultiplexSummary = (output, context) => {
|
|
|
12740
12740
|
? deserializeAws_restJson1MultiplexSettingsSummary(output.multiplexSettings, context)
|
|
12741
12741
|
: undefined,
|
|
12742
12742
|
Name: smithy_client_1.expectString(output.name),
|
|
12743
|
-
PipelinesRunningCount: smithy_client_1.
|
|
12744
|
-
ProgramCount: smithy_client_1.
|
|
12743
|
+
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
12744
|
+
ProgramCount: smithy_client_1.expectInt32(output.programCount),
|
|
12745
12745
|
State: smithy_client_1.expectString(output.state),
|
|
12746
12746
|
Tags: output.tags !== undefined && output.tags !== null
|
|
12747
12747
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
@@ -12750,7 +12750,7 @@ const deserializeAws_restJson1MultiplexSummary = (output, context) => {
|
|
|
12750
12750
|
};
|
|
12751
12751
|
const deserializeAws_restJson1MultiplexVideoSettings = (output, context) => {
|
|
12752
12752
|
return {
|
|
12753
|
-
ConstantBitrate: smithy_client_1.
|
|
12753
|
+
ConstantBitrate: smithy_client_1.expectInt32(output.constantBitrate),
|
|
12754
12754
|
StatmuxSettings: output.statmuxSettings !== undefined && output.statmuxSettings !== null
|
|
12755
12755
|
? deserializeAws_restJson1MultiplexStatmuxVideoSettings(output.statmuxSettings, context)
|
|
12756
12756
|
: undefined,
|
|
@@ -12774,9 +12774,9 @@ const deserializeAws_restJson1Offering = (output, context) => {
|
|
|
12774
12774
|
return {
|
|
12775
12775
|
Arn: smithy_client_1.expectString(output.arn),
|
|
12776
12776
|
CurrencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
12777
|
-
Duration: smithy_client_1.
|
|
12777
|
+
Duration: smithy_client_1.expectInt32(output.duration),
|
|
12778
12778
|
DurationUnits: smithy_client_1.expectString(output.durationUnits),
|
|
12779
|
-
FixedPrice: smithy_client_1.
|
|
12779
|
+
FixedPrice: smithy_client_1.limitedParseDouble(output.fixedPrice),
|
|
12780
12780
|
OfferingDescription: smithy_client_1.expectString(output.offeringDescription),
|
|
12781
12781
|
OfferingId: smithy_client_1.expectString(output.offeringId),
|
|
12782
12782
|
OfferingType: smithy_client_1.expectString(output.offeringType),
|
|
@@ -12784,7 +12784,7 @@ const deserializeAws_restJson1Offering = (output, context) => {
|
|
|
12784
12784
|
ResourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
|
|
12785
12785
|
? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
|
|
12786
12786
|
: undefined,
|
|
12787
|
-
UsagePrice: smithy_client_1.
|
|
12787
|
+
UsagePrice: smithy_client_1.limitedParseDouble(output.usagePrice),
|
|
12788
12788
|
};
|
|
12789
12789
|
};
|
|
12790
12790
|
const deserializeAws_restJson1Output = (output, context) => {
|
|
@@ -12934,19 +12934,19 @@ const deserializeAws_restJson1RemixSettings = (output, context) => {
|
|
|
12934
12934
|
ChannelMappings: output.channelMappings !== undefined && output.channelMappings !== null
|
|
12935
12935
|
? deserializeAws_restJson1__listOfAudioChannelMapping(output.channelMappings, context)
|
|
12936
12936
|
: undefined,
|
|
12937
|
-
ChannelsIn: smithy_client_1.
|
|
12938
|
-
ChannelsOut: smithy_client_1.
|
|
12937
|
+
ChannelsIn: smithy_client_1.expectInt32(output.channelsIn),
|
|
12938
|
+
ChannelsOut: smithy_client_1.expectInt32(output.channelsOut),
|
|
12939
12939
|
};
|
|
12940
12940
|
};
|
|
12941
12941
|
const deserializeAws_restJson1Reservation = (output, context) => {
|
|
12942
12942
|
return {
|
|
12943
12943
|
Arn: smithy_client_1.expectString(output.arn),
|
|
12944
|
-
Count: smithy_client_1.
|
|
12944
|
+
Count: smithy_client_1.expectInt32(output.count),
|
|
12945
12945
|
CurrencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
12946
|
-
Duration: smithy_client_1.
|
|
12946
|
+
Duration: smithy_client_1.expectInt32(output.duration),
|
|
12947
12947
|
DurationUnits: smithy_client_1.expectString(output.durationUnits),
|
|
12948
12948
|
End: smithy_client_1.expectString(output.end),
|
|
12949
|
-
FixedPrice: smithy_client_1.
|
|
12949
|
+
FixedPrice: smithy_client_1.limitedParseDouble(output.fixedPrice),
|
|
12950
12950
|
Name: smithy_client_1.expectString(output.name),
|
|
12951
12951
|
OfferingDescription: smithy_client_1.expectString(output.offeringDescription),
|
|
12952
12952
|
OfferingId: smithy_client_1.expectString(output.offeringId),
|
|
@@ -12961,7 +12961,7 @@ const deserializeAws_restJson1Reservation = (output, context) => {
|
|
|
12961
12961
|
Tags: output.tags !== undefined && output.tags !== null
|
|
12962
12962
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
12963
12963
|
: undefined,
|
|
12964
|
-
UsagePrice: smithy_client_1.
|
|
12964
|
+
UsagePrice: smithy_client_1.limitedParseDouble(output.usagePrice),
|
|
12965
12965
|
};
|
|
12966
12966
|
};
|
|
12967
12967
|
const deserializeAws_restJson1ReservationResourceSpecification = (output, context) => {
|
|
@@ -12986,20 +12986,20 @@ const deserializeAws_restJson1RtmpGroupSettings = (output, context) => {
|
|
|
12986
12986
|
: undefined,
|
|
12987
12987
|
AuthenticationScheme: smithy_client_1.expectString(output.authenticationScheme),
|
|
12988
12988
|
CacheFullBehavior: smithy_client_1.expectString(output.cacheFullBehavior),
|
|
12989
|
-
CacheLength: smithy_client_1.
|
|
12989
|
+
CacheLength: smithy_client_1.expectInt32(output.cacheLength),
|
|
12990
12990
|
CaptionData: smithy_client_1.expectString(output.captionData),
|
|
12991
12991
|
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
12992
|
-
RestartDelay: smithy_client_1.
|
|
12992
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
12993
12993
|
};
|
|
12994
12994
|
};
|
|
12995
12995
|
const deserializeAws_restJson1RtmpOutputSettings = (output, context) => {
|
|
12996
12996
|
return {
|
|
12997
12997
|
CertificateMode: smithy_client_1.expectString(output.certificateMode),
|
|
12998
|
-
ConnectionRetryInterval: smithy_client_1.
|
|
12998
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
12999
12999
|
Destination: output.destination !== undefined && output.destination !== null
|
|
13000
13000
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
13001
13001
|
: undefined,
|
|
13002
|
-
NumRetries: smithy_client_1.
|
|
13002
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
13003
13003
|
};
|
|
13004
13004
|
};
|
|
13005
13005
|
const deserializeAws_restJson1ScheduleAction = (output, context) => {
|
|
@@ -13075,7 +13075,7 @@ const deserializeAws_restJson1Scte20PlusEmbeddedDestinationSettings = (output, c
|
|
|
13075
13075
|
const deserializeAws_restJson1Scte20SourceSettings = (output, context) => {
|
|
13076
13076
|
return {
|
|
13077
13077
|
Convert608To708: smithy_client_1.expectString(output.convert608To708),
|
|
13078
|
-
Source608ChannelNumber: smithy_client_1.
|
|
13078
|
+
Source608ChannelNumber: smithy_client_1.expectInt32(output.source608ChannelNumber),
|
|
13079
13079
|
};
|
|
13080
13080
|
};
|
|
13081
13081
|
const deserializeAws_restJson1Scte27DestinationSettings = (output, context) => {
|
|
@@ -13084,7 +13084,7 @@ const deserializeAws_restJson1Scte27DestinationSettings = (output, context) => {
|
|
|
13084
13084
|
const deserializeAws_restJson1Scte27SourceSettings = (output, context) => {
|
|
13085
13085
|
return {
|
|
13086
13086
|
OcrLanguage: smithy_client_1.expectString(output.ocrLanguage),
|
|
13087
|
-
Pid: smithy_client_1.
|
|
13087
|
+
Pid: smithy_client_1.expectInt32(output.pid),
|
|
13088
13088
|
};
|
|
13089
13089
|
};
|
|
13090
13090
|
const deserializeAws_restJson1Scte35DeliveryRestrictions = (output, context) => {
|
|
@@ -13112,7 +13112,7 @@ const deserializeAws_restJson1Scte35DescriptorSettings = (output, context) => {
|
|
|
13112
13112
|
};
|
|
13113
13113
|
const deserializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings = (output, context) => {
|
|
13114
13114
|
return {
|
|
13115
|
-
SpliceEventId: smithy_client_1.
|
|
13115
|
+
SpliceEventId: smithy_client_1.expectLong(output.spliceEventId),
|
|
13116
13116
|
};
|
|
13117
13117
|
};
|
|
13118
13118
|
const deserializeAws_restJson1Scte35SegmentationDescriptor = (output, context) => {
|
|
@@ -13120,34 +13120,34 @@ const deserializeAws_restJson1Scte35SegmentationDescriptor = (output, context) =
|
|
|
13120
13120
|
DeliveryRestrictions: output.deliveryRestrictions !== undefined && output.deliveryRestrictions !== null
|
|
13121
13121
|
? deserializeAws_restJson1Scte35DeliveryRestrictions(output.deliveryRestrictions, context)
|
|
13122
13122
|
: undefined,
|
|
13123
|
-
SegmentNum: smithy_client_1.
|
|
13123
|
+
SegmentNum: smithy_client_1.expectInt32(output.segmentNum),
|
|
13124
13124
|
SegmentationCancelIndicator: smithy_client_1.expectString(output.segmentationCancelIndicator),
|
|
13125
|
-
SegmentationDuration: smithy_client_1.
|
|
13126
|
-
SegmentationEventId: smithy_client_1.
|
|
13127
|
-
SegmentationTypeId: smithy_client_1.
|
|
13125
|
+
SegmentationDuration: smithy_client_1.expectLong(output.segmentationDuration),
|
|
13126
|
+
SegmentationEventId: smithy_client_1.expectLong(output.segmentationEventId),
|
|
13127
|
+
SegmentationTypeId: smithy_client_1.expectInt32(output.segmentationTypeId),
|
|
13128
13128
|
SegmentationUpid: smithy_client_1.expectString(output.segmentationUpid),
|
|
13129
|
-
SegmentationUpidType: smithy_client_1.
|
|
13130
|
-
SegmentsExpected: smithy_client_1.
|
|
13131
|
-
SubSegmentNum: smithy_client_1.
|
|
13132
|
-
SubSegmentsExpected: smithy_client_1.
|
|
13129
|
+
SegmentationUpidType: smithy_client_1.expectInt32(output.segmentationUpidType),
|
|
13130
|
+
SegmentsExpected: smithy_client_1.expectInt32(output.segmentsExpected),
|
|
13131
|
+
SubSegmentNum: smithy_client_1.expectInt32(output.subSegmentNum),
|
|
13132
|
+
SubSegmentsExpected: smithy_client_1.expectInt32(output.subSegmentsExpected),
|
|
13133
13133
|
};
|
|
13134
13134
|
};
|
|
13135
13135
|
const deserializeAws_restJson1Scte35SpliceInsert = (output, context) => {
|
|
13136
13136
|
return {
|
|
13137
|
-
AdAvailOffset: smithy_client_1.
|
|
13137
|
+
AdAvailOffset: smithy_client_1.expectInt32(output.adAvailOffset),
|
|
13138
13138
|
NoRegionalBlackoutFlag: smithy_client_1.expectString(output.noRegionalBlackoutFlag),
|
|
13139
13139
|
WebDeliveryAllowedFlag: smithy_client_1.expectString(output.webDeliveryAllowedFlag),
|
|
13140
13140
|
};
|
|
13141
13141
|
};
|
|
13142
13142
|
const deserializeAws_restJson1Scte35SpliceInsertScheduleActionSettings = (output, context) => {
|
|
13143
13143
|
return {
|
|
13144
|
-
Duration: smithy_client_1.
|
|
13145
|
-
SpliceEventId: smithy_client_1.
|
|
13144
|
+
Duration: smithy_client_1.expectLong(output.duration),
|
|
13145
|
+
SpliceEventId: smithy_client_1.expectLong(output.spliceEventId),
|
|
13146
13146
|
};
|
|
13147
13147
|
};
|
|
13148
13148
|
const deserializeAws_restJson1Scte35TimeSignalApos = (output, context) => {
|
|
13149
13149
|
return {
|
|
13150
|
-
AdAvailOffset: smithy_client_1.
|
|
13150
|
+
AdAvailOffset: smithy_client_1.expectInt32(output.adAvailOffset),
|
|
13151
13151
|
NoRegionalBlackoutFlag: smithy_client_1.expectString(output.noRegionalBlackoutFlag),
|
|
13152
13152
|
WebDeliveryAllowedFlag: smithy_client_1.expectString(output.webDeliveryAllowedFlag),
|
|
13153
13153
|
};
|
|
@@ -13177,24 +13177,24 @@ const deserializeAws_restJson1StartTimecode = (output, context) => {
|
|
|
13177
13177
|
};
|
|
13178
13178
|
const deserializeAws_restJson1StaticImageActivateScheduleActionSettings = (output, context) => {
|
|
13179
13179
|
return {
|
|
13180
|
-
Duration: smithy_client_1.
|
|
13181
|
-
FadeIn: smithy_client_1.
|
|
13182
|
-
FadeOut: smithy_client_1.
|
|
13183
|
-
Height: smithy_client_1.
|
|
13180
|
+
Duration: smithy_client_1.expectInt32(output.duration),
|
|
13181
|
+
FadeIn: smithy_client_1.expectInt32(output.fadeIn),
|
|
13182
|
+
FadeOut: smithy_client_1.expectInt32(output.fadeOut),
|
|
13183
|
+
Height: smithy_client_1.expectInt32(output.height),
|
|
13184
13184
|
Image: output.image !== undefined && output.image !== null
|
|
13185
13185
|
? deserializeAws_restJson1InputLocation(output.image, context)
|
|
13186
13186
|
: undefined,
|
|
13187
|
-
ImageX: smithy_client_1.
|
|
13188
|
-
ImageY: smithy_client_1.
|
|
13189
|
-
Layer: smithy_client_1.
|
|
13190
|
-
Opacity: smithy_client_1.
|
|
13191
|
-
Width: smithy_client_1.
|
|
13187
|
+
ImageX: smithy_client_1.expectInt32(output.imageX),
|
|
13188
|
+
ImageY: smithy_client_1.expectInt32(output.imageY),
|
|
13189
|
+
Layer: smithy_client_1.expectInt32(output.layer),
|
|
13190
|
+
Opacity: smithy_client_1.expectInt32(output.opacity),
|
|
13191
|
+
Width: smithy_client_1.expectInt32(output.width),
|
|
13192
13192
|
};
|
|
13193
13193
|
};
|
|
13194
13194
|
const deserializeAws_restJson1StaticImageDeactivateScheduleActionSettings = (output, context) => {
|
|
13195
13195
|
return {
|
|
13196
|
-
FadeOut: smithy_client_1.
|
|
13197
|
-
Layer: smithy_client_1.
|
|
13196
|
+
FadeOut: smithy_client_1.expectInt32(output.fadeOut),
|
|
13197
|
+
Layer: smithy_client_1.expectInt32(output.layer),
|
|
13198
13198
|
};
|
|
13199
13199
|
};
|
|
13200
13200
|
const deserializeAws_restJson1StaticKeySettings = (output, context) => {
|
|
@@ -13242,7 +13242,7 @@ const deserializeAws_restJson1TemporalFilterSettings = (output, context) => {
|
|
|
13242
13242
|
const deserializeAws_restJson1TimecodeConfig = (output, context) => {
|
|
13243
13243
|
return {
|
|
13244
13244
|
Source: smithy_client_1.expectString(output.source),
|
|
13245
|
-
SyncThreshold: smithy_client_1.
|
|
13245
|
+
SyncThreshold: smithy_client_1.expectInt32(output.syncThreshold),
|
|
13246
13246
|
};
|
|
13247
13247
|
};
|
|
13248
13248
|
const deserializeAws_restJson1TransferringInputDeviceSummary = (output, context) => {
|
|
@@ -13269,12 +13269,12 @@ const deserializeAws_restJson1UdpGroupSettings = (output, context) => {
|
|
|
13269
13269
|
return {
|
|
13270
13270
|
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
13271
13271
|
TimedMetadataId3Frame: smithy_client_1.expectString(output.timedMetadataId3Frame),
|
|
13272
|
-
TimedMetadataId3Period: smithy_client_1.
|
|
13272
|
+
TimedMetadataId3Period: smithy_client_1.expectInt32(output.timedMetadataId3Period),
|
|
13273
13273
|
};
|
|
13274
13274
|
};
|
|
13275
13275
|
const deserializeAws_restJson1UdpOutputSettings = (output, context) => {
|
|
13276
13276
|
return {
|
|
13277
|
-
BufferMsec: smithy_client_1.
|
|
13277
|
+
BufferMsec: smithy_client_1.expectInt32(output.bufferMsec),
|
|
13278
13278
|
ContainerSettings: output.containerSettings !== undefined && output.containerSettings !== null
|
|
13279
13279
|
? deserializeAws_restJson1UdpContainerSettings(output.containerSettings, context)
|
|
13280
13280
|
: undefined,
|
|
@@ -13294,8 +13294,8 @@ const deserializeAws_restJson1ValidationError = (output, context) => {
|
|
|
13294
13294
|
};
|
|
13295
13295
|
const deserializeAws_restJson1VideoBlackFailoverSettings = (output, context) => {
|
|
13296
13296
|
return {
|
|
13297
|
-
BlackDetectThreshold: smithy_client_1.
|
|
13298
|
-
VideoBlackThresholdMsec: smithy_client_1.
|
|
13297
|
+
BlackDetectThreshold: smithy_client_1.limitedParseDouble(output.blackDetectThreshold),
|
|
13298
|
+
VideoBlackThresholdMsec: smithy_client_1.expectInt32(output.videoBlackThresholdMsec),
|
|
13299
13299
|
};
|
|
13300
13300
|
};
|
|
13301
13301
|
const deserializeAws_restJson1VideoCodecSettings = (output, context) => {
|
|
@@ -13319,12 +13319,12 @@ const deserializeAws_restJson1VideoDescription = (output, context) => {
|
|
|
13319
13319
|
CodecSettings: output.codecSettings !== undefined && output.codecSettings !== null
|
|
13320
13320
|
? deserializeAws_restJson1VideoCodecSettings(output.codecSettings, context)
|
|
13321
13321
|
: undefined,
|
|
13322
|
-
Height: smithy_client_1.
|
|
13322
|
+
Height: smithy_client_1.expectInt32(output.height),
|
|
13323
13323
|
Name: smithy_client_1.expectString(output.name),
|
|
13324
13324
|
RespondToAfd: smithy_client_1.expectString(output.respondToAfd),
|
|
13325
13325
|
ScalingBehavior: smithy_client_1.expectString(output.scalingBehavior),
|
|
13326
|
-
Sharpness: smithy_client_1.
|
|
13327
|
-
Width: smithy_client_1.
|
|
13326
|
+
Sharpness: smithy_client_1.expectInt32(output.sharpness),
|
|
13327
|
+
Width: smithy_client_1.expectInt32(output.width),
|
|
13328
13328
|
};
|
|
13329
13329
|
};
|
|
13330
13330
|
const deserializeAws_restJson1VideoSelector = (output, context) => {
|
|
@@ -13348,12 +13348,12 @@ const deserializeAws_restJson1VideoSelectorColorSpaceSettings = (output, context
|
|
|
13348
13348
|
};
|
|
13349
13349
|
const deserializeAws_restJson1VideoSelectorPid = (output, context) => {
|
|
13350
13350
|
return {
|
|
13351
|
-
Pid: smithy_client_1.
|
|
13351
|
+
Pid: smithy_client_1.expectInt32(output.pid),
|
|
13352
13352
|
};
|
|
13353
13353
|
};
|
|
13354
13354
|
const deserializeAws_restJson1VideoSelectorProgramId = (output, context) => {
|
|
13355
13355
|
return {
|
|
13356
|
-
ProgramId: smithy_client_1.
|
|
13356
|
+
ProgramId: smithy_client_1.expectInt32(output.programId),
|
|
13357
13357
|
};
|
|
13358
13358
|
};
|
|
13359
13359
|
const deserializeAws_restJson1VideoSelectorSettings = (output, context) => {
|
|
@@ -13384,9 +13384,9 @@ const deserializeAws_restJson1VpcOutputSettingsDescription = (output, context) =
|
|
|
13384
13384
|
};
|
|
13385
13385
|
const deserializeAws_restJson1WavSettings = (output, context) => {
|
|
13386
13386
|
return {
|
|
13387
|
-
BitDepth: smithy_client_1.
|
|
13387
|
+
BitDepth: smithy_client_1.limitedParseDouble(output.bitDepth),
|
|
13388
13388
|
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
13389
|
-
SampleRate: smithy_client_1.
|
|
13389
|
+
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
13390
13390
|
};
|
|
13391
13391
|
};
|
|
13392
13392
|
const deserializeAws_restJson1WebvttDestinationSettings = (output, context) => {
|