@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.
@@ -352,12 +352,16 @@ import {
352
352
  } from "../models/models_1";
353
353
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
354
354
  import {
355
- expectInt as __expectInt,
355
+ expectInt32 as __expectInt32,
356
+ expectLong as __expectLong,
357
+ expectNonNull as __expectNonNull,
358
+ expectObject as __expectObject,
356
359
  expectString as __expectString,
357
360
  extendedEncodeURIComponent as __extendedEncodeURIComponent,
358
- limitedParseFloat as __limitedParseFloat,
361
+ limitedParseDouble as __limitedParseDouble,
362
+ parseRfc7231DateTime as __parseRfc7231DateTime,
359
363
  serializeFloat as __serializeFloat,
360
- strictParseInt as __strictParseInt,
364
+ strictParseLong as __strictParseLong,
361
365
  } from "@aws-sdk/smithy-client";
362
366
  import {
363
367
  Endpoint as __Endpoint,
@@ -2359,7 +2363,7 @@ export const deserializeAws_restJson1BatchDeleteCommand = async (
2359
2363
  Failed: undefined,
2360
2364
  Successful: undefined,
2361
2365
  };
2362
- const data: any = await parseBody(output.body, context);
2366
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2363
2367
  if (data.failed !== undefined && data.failed !== null) {
2364
2368
  contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
2365
2369
  }
@@ -2474,7 +2478,7 @@ export const deserializeAws_restJson1BatchStartCommand = async (
2474
2478
  Failed: undefined,
2475
2479
  Successful: undefined,
2476
2480
  };
2477
- const data: any = await parseBody(output.body, context);
2481
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2478
2482
  if (data.failed !== undefined && data.failed !== null) {
2479
2483
  contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
2480
2484
  }
@@ -2589,7 +2593,7 @@ export const deserializeAws_restJson1BatchStopCommand = async (
2589
2593
  Failed: undefined,
2590
2594
  Successful: undefined,
2591
2595
  };
2592
- const data: any = await parseBody(output.body, context);
2596
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2593
2597
  if (data.failed !== undefined && data.failed !== null) {
2594
2598
  contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
2595
2599
  }
@@ -2704,7 +2708,7 @@ export const deserializeAws_restJson1BatchUpdateScheduleCommand = async (
2704
2708
  Creates: undefined,
2705
2709
  Deletes: undefined,
2706
2710
  };
2707
- const data: any = await parseBody(output.body, context);
2711
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2708
2712
  if (data.creates !== undefined && data.creates !== null) {
2709
2713
  contents.Creates = deserializeAws_restJson1BatchScheduleActionCreateResult(data.creates, context);
2710
2714
  }
@@ -2933,7 +2937,7 @@ export const deserializeAws_restJson1CreateChannelCommand = async (
2933
2937
  $metadata: deserializeMetadata(output),
2934
2938
  Channel: undefined,
2935
2939
  };
2936
- const data: any = await parseBody(output.body, context);
2940
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2937
2941
  if (data.channel !== undefined && data.channel !== null) {
2938
2942
  contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
2939
2943
  }
@@ -3044,7 +3048,7 @@ export const deserializeAws_restJson1CreateInputCommand = async (
3044
3048
  $metadata: deserializeMetadata(output),
3045
3049
  Input: undefined,
3046
3050
  };
3047
- const data: any = await parseBody(output.body, context);
3051
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3048
3052
  if (data.input !== undefined && data.input !== null) {
3049
3053
  contents.Input = deserializeAws_restJson1Input(data.input, context);
3050
3054
  }
@@ -3139,7 +3143,7 @@ export const deserializeAws_restJson1CreateInputSecurityGroupCommand = async (
3139
3143
  $metadata: deserializeMetadata(output),
3140
3144
  SecurityGroup: undefined,
3141
3145
  };
3142
- const data: any = await parseBody(output.body, context);
3146
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3143
3147
  if (data.securityGroup !== undefined && data.securityGroup !== null) {
3144
3148
  contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
3145
3149
  }
@@ -3234,7 +3238,7 @@ export const deserializeAws_restJson1CreateMultiplexCommand = async (
3234
3238
  $metadata: deserializeMetadata(output),
3235
3239
  Multiplex: undefined,
3236
3240
  };
3237
- const data: any = await parseBody(output.body, context);
3241
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3238
3242
  if (data.multiplex !== undefined && data.multiplex !== null) {
3239
3243
  contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
3240
3244
  }
@@ -3345,7 +3349,7 @@ export const deserializeAws_restJson1CreateMultiplexProgramCommand = async (
3345
3349
  $metadata: deserializeMetadata(output),
3346
3350
  MultiplexProgram: undefined,
3347
3351
  };
3348
- const data: any = await parseBody(output.body, context);
3352
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3349
3353
  if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
3350
3354
  contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
3351
3355
  }
@@ -3456,7 +3460,7 @@ export const deserializeAws_restJson1CreatePartnerInputCommand = async (
3456
3460
  $metadata: deserializeMetadata(output),
3457
3461
  Input: undefined,
3458
3462
  };
3459
- const data: any = await parseBody(output.body, context);
3463
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3460
3464
  if (data.input !== undefined && data.input !== null) {
3461
3465
  contents.Input = deserializeAws_restJson1Input(data.input, context);
3462
3466
  }
@@ -3642,7 +3646,7 @@ export const deserializeAws_restJson1DeleteChannelCommand = async (
3642
3646
  Tags: undefined,
3643
3647
  Vpc: undefined,
3644
3648
  };
3645
- const data: any = await parseBody(output.body, context);
3649
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3646
3650
  if (data.arn !== undefined && data.arn !== null) {
3647
3651
  contents.Arn = __expectString(data.arn);
3648
3652
  }
@@ -3680,7 +3684,7 @@ export const deserializeAws_restJson1DeleteChannelCommand = async (
3680
3684
  contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
3681
3685
  }
3682
3686
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
3683
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
3687
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
3684
3688
  }
3685
3689
  if (data.roleArn !== undefined && data.roleArn !== null) {
3686
3690
  contents.RoleArn = __expectString(data.roleArn);
@@ -4016,7 +4020,7 @@ export const deserializeAws_restJson1DeleteMultiplexCommand = async (
4016
4020
  State: undefined,
4017
4021
  Tags: undefined,
4018
4022
  };
4019
- const data: any = await parseBody(output.body, context);
4023
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4020
4024
  if (data.arn !== undefined && data.arn !== null) {
4021
4025
  contents.Arn = __expectString(data.arn);
4022
4026
  }
@@ -4036,10 +4040,10 @@ export const deserializeAws_restJson1DeleteMultiplexCommand = async (
4036
4040
  contents.Name = __expectString(data.name);
4037
4041
  }
4038
4042
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
4039
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
4043
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
4040
4044
  }
4041
4045
  if (data.programCount !== undefined && data.programCount !== null) {
4042
- contents.ProgramCount = __expectInt(data.programCount);
4046
+ contents.ProgramCount = __expectInt32(data.programCount);
4043
4047
  }
4044
4048
  if (data.state !== undefined && data.state !== null) {
4045
4049
  contents.State = __expectString(data.state);
@@ -4158,7 +4162,7 @@ export const deserializeAws_restJson1DeleteMultiplexProgramCommand = async (
4158
4162
  PipelineDetails: undefined,
4159
4163
  ProgramName: undefined,
4160
4164
  };
4161
- const data: any = await parseBody(output.body, context);
4165
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4162
4166
  if (data.channelId !== undefined && data.channelId !== null) {
4163
4167
  contents.ChannelId = __expectString(data.channelId);
4164
4168
  }
@@ -4307,18 +4311,18 @@ export const deserializeAws_restJson1DeleteReservationCommand = async (
4307
4311
  Tags: undefined,
4308
4312
  UsagePrice: undefined,
4309
4313
  };
4310
- const data: any = await parseBody(output.body, context);
4314
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4311
4315
  if (data.arn !== undefined && data.arn !== null) {
4312
4316
  contents.Arn = __expectString(data.arn);
4313
4317
  }
4314
4318
  if (data.count !== undefined && data.count !== null) {
4315
- contents.Count = __expectInt(data.count);
4319
+ contents.Count = __expectInt32(data.count);
4316
4320
  }
4317
4321
  if (data.currencyCode !== undefined && data.currencyCode !== null) {
4318
4322
  contents.CurrencyCode = __expectString(data.currencyCode);
4319
4323
  }
4320
4324
  if (data.duration !== undefined && data.duration !== null) {
4321
- contents.Duration = __expectInt(data.duration);
4325
+ contents.Duration = __expectInt32(data.duration);
4322
4326
  }
4323
4327
  if (data.durationUnits !== undefined && data.durationUnits !== null) {
4324
4328
  contents.DurationUnits = __expectString(data.durationUnits);
@@ -4327,7 +4331,7 @@ export const deserializeAws_restJson1DeleteReservationCommand = async (
4327
4331
  contents.End = __expectString(data.end);
4328
4332
  }
4329
4333
  if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
4330
- contents.FixedPrice = __limitedParseFloat(data.fixedPrice);
4334
+ contents.FixedPrice = __limitedParseDouble(data.fixedPrice);
4331
4335
  }
4332
4336
  if (data.name !== undefined && data.name !== null) {
4333
4337
  contents.Name = __expectString(data.name);
@@ -4363,7 +4367,7 @@ export const deserializeAws_restJson1DeleteReservationCommand = async (
4363
4367
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
4364
4368
  }
4365
4369
  if (data.usagePrice !== undefined && data.usagePrice !== null) {
4366
- contents.UsagePrice = __limitedParseFloat(data.usagePrice);
4370
+ contents.UsagePrice = __limitedParseDouble(data.usagePrice);
4367
4371
  }
4368
4372
  return Promise.resolve(contents);
4369
4373
  };
@@ -4662,7 +4666,7 @@ export const deserializeAws_restJson1DescribeChannelCommand = async (
4662
4666
  Tags: undefined,
4663
4667
  Vpc: undefined,
4664
4668
  };
4665
- const data: any = await parseBody(output.body, context);
4669
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4666
4670
  if (data.arn !== undefined && data.arn !== null) {
4667
4671
  contents.Arn = __expectString(data.arn);
4668
4672
  }
@@ -4700,7 +4704,7 @@ export const deserializeAws_restJson1DescribeChannelCommand = async (
4700
4704
  contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
4701
4705
  }
4702
4706
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
4703
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
4707
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
4704
4708
  }
4705
4709
  if (data.roleArn !== undefined && data.roleArn !== null) {
4706
4710
  contents.RoleArn = __expectString(data.roleArn);
@@ -4828,7 +4832,7 @@ export const deserializeAws_restJson1DescribeInputCommand = async (
4828
4832
  Tags: undefined,
4829
4833
  Type: undefined,
4830
4834
  };
4831
- const data: any = await parseBody(output.body, context);
4835
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4832
4836
  if (data.arn !== undefined && data.arn !== null) {
4833
4837
  contents.Arn = __expectString(data.arn);
4834
4838
  }
@@ -4987,7 +4991,7 @@ export const deserializeAws_restJson1DescribeInputDeviceCommand = async (
4987
4991
  Type: undefined,
4988
4992
  UhdDeviceSettings: undefined,
4989
4993
  };
4990
- const data: any = await parseBody(output.body, context);
4994
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4991
4995
  if (data.arn !== undefined && data.arn !== null) {
4992
4996
  contents.Arn = __expectString(data.arn);
4993
4997
  }
@@ -5131,13 +5135,13 @@ export const deserializeAws_restJson1DescribeInputDeviceThumbnailCommand = async
5131
5135
  contents.ContentType = output.headers["content-type"];
5132
5136
  }
5133
5137
  if (output.headers["content-length"] !== undefined) {
5134
- contents.ContentLength = __strictParseInt(output.headers["content-length"]);
5138
+ contents.ContentLength = __strictParseLong(output.headers["content-length"]);
5135
5139
  }
5136
5140
  if (output.headers["etag"] !== undefined) {
5137
5141
  contents.ETag = output.headers["etag"];
5138
5142
  }
5139
5143
  if (output.headers["last-modified"] !== undefined) {
5140
- contents.LastModified = new Date(output.headers["last-modified"]);
5144
+ contents.LastModified = __expectNonNull(__parseRfc7231DateTime(output.headers["last-modified"]));
5141
5145
  }
5142
5146
  const data: any = output.body;
5143
5147
  contents.Body = data;
@@ -5245,7 +5249,7 @@ export const deserializeAws_restJson1DescribeInputSecurityGroupCommand = async (
5245
5249
  Tags: undefined,
5246
5250
  WhitelistRules: undefined,
5247
5251
  };
5248
- const data: any = await parseBody(output.body, context);
5252
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5249
5253
  if (data.arn !== undefined && data.arn !== null) {
5250
5254
  contents.Arn = __expectString(data.arn);
5251
5255
  }
@@ -5372,7 +5376,7 @@ export const deserializeAws_restJson1DescribeMultiplexCommand = async (
5372
5376
  State: undefined,
5373
5377
  Tags: undefined,
5374
5378
  };
5375
- const data: any = await parseBody(output.body, context);
5379
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5376
5380
  if (data.arn !== undefined && data.arn !== null) {
5377
5381
  contents.Arn = __expectString(data.arn);
5378
5382
  }
@@ -5392,10 +5396,10 @@ export const deserializeAws_restJson1DescribeMultiplexCommand = async (
5392
5396
  contents.Name = __expectString(data.name);
5393
5397
  }
5394
5398
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
5395
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
5399
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
5396
5400
  }
5397
5401
  if (data.programCount !== undefined && data.programCount !== null) {
5398
- contents.ProgramCount = __expectInt(data.programCount);
5402
+ contents.ProgramCount = __expectInt32(data.programCount);
5399
5403
  }
5400
5404
  if (data.state !== undefined && data.state !== null) {
5401
5405
  contents.State = __expectString(data.state);
@@ -5506,7 +5510,7 @@ export const deserializeAws_restJson1DescribeMultiplexProgramCommand = async (
5506
5510
  PipelineDetails: undefined,
5507
5511
  ProgramName: undefined,
5508
5512
  };
5509
- const data: any = await parseBody(output.body, context);
5513
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5510
5514
  if (data.channelId !== undefined && data.channelId !== null) {
5511
5515
  contents.ChannelId = __expectString(data.channelId);
5512
5516
  }
@@ -5640,7 +5644,7 @@ export const deserializeAws_restJson1DescribeOfferingCommand = async (
5640
5644
  ResourceSpecification: undefined,
5641
5645
  UsagePrice: undefined,
5642
5646
  };
5643
- const data: any = await parseBody(output.body, context);
5647
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5644
5648
  if (data.arn !== undefined && data.arn !== null) {
5645
5649
  contents.Arn = __expectString(data.arn);
5646
5650
  }
@@ -5648,13 +5652,13 @@ export const deserializeAws_restJson1DescribeOfferingCommand = async (
5648
5652
  contents.CurrencyCode = __expectString(data.currencyCode);
5649
5653
  }
5650
5654
  if (data.duration !== undefined && data.duration !== null) {
5651
- contents.Duration = __expectInt(data.duration);
5655
+ contents.Duration = __expectInt32(data.duration);
5652
5656
  }
5653
5657
  if (data.durationUnits !== undefined && data.durationUnits !== null) {
5654
5658
  contents.DurationUnits = __expectString(data.durationUnits);
5655
5659
  }
5656
5660
  if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
5657
- contents.FixedPrice = __limitedParseFloat(data.fixedPrice);
5661
+ contents.FixedPrice = __limitedParseDouble(data.fixedPrice);
5658
5662
  }
5659
5663
  if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
5660
5664
  contents.OfferingDescription = __expectString(data.offeringDescription);
@@ -5675,7 +5679,7 @@ export const deserializeAws_restJson1DescribeOfferingCommand = async (
5675
5679
  );
5676
5680
  }
5677
5681
  if (data.usagePrice !== undefined && data.usagePrice !== null) {
5678
- contents.UsagePrice = __limitedParseFloat(data.usagePrice);
5682
+ contents.UsagePrice = __limitedParseDouble(data.usagePrice);
5679
5683
  }
5680
5684
  return Promise.resolve(contents);
5681
5685
  };
@@ -5793,18 +5797,18 @@ export const deserializeAws_restJson1DescribeReservationCommand = async (
5793
5797
  Tags: undefined,
5794
5798
  UsagePrice: undefined,
5795
5799
  };
5796
- const data: any = await parseBody(output.body, context);
5800
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5797
5801
  if (data.arn !== undefined && data.arn !== null) {
5798
5802
  contents.Arn = __expectString(data.arn);
5799
5803
  }
5800
5804
  if (data.count !== undefined && data.count !== null) {
5801
- contents.Count = __expectInt(data.count);
5805
+ contents.Count = __expectInt32(data.count);
5802
5806
  }
5803
5807
  if (data.currencyCode !== undefined && data.currencyCode !== null) {
5804
5808
  contents.CurrencyCode = __expectString(data.currencyCode);
5805
5809
  }
5806
5810
  if (data.duration !== undefined && data.duration !== null) {
5807
- contents.Duration = __expectInt(data.duration);
5811
+ contents.Duration = __expectInt32(data.duration);
5808
5812
  }
5809
5813
  if (data.durationUnits !== undefined && data.durationUnits !== null) {
5810
5814
  contents.DurationUnits = __expectString(data.durationUnits);
@@ -5813,7 +5817,7 @@ export const deserializeAws_restJson1DescribeReservationCommand = async (
5813
5817
  contents.End = __expectString(data.end);
5814
5818
  }
5815
5819
  if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
5816
- contents.FixedPrice = __limitedParseFloat(data.fixedPrice);
5820
+ contents.FixedPrice = __limitedParseDouble(data.fixedPrice);
5817
5821
  }
5818
5822
  if (data.name !== undefined && data.name !== null) {
5819
5823
  contents.Name = __expectString(data.name);
@@ -5849,7 +5853,7 @@ export const deserializeAws_restJson1DescribeReservationCommand = async (
5849
5853
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
5850
5854
  }
5851
5855
  if (data.usagePrice !== undefined && data.usagePrice !== null) {
5852
- contents.UsagePrice = __limitedParseFloat(data.usagePrice);
5856
+ contents.UsagePrice = __limitedParseDouble(data.usagePrice);
5853
5857
  }
5854
5858
  return Promise.resolve(contents);
5855
5859
  };
@@ -5951,7 +5955,7 @@ export const deserializeAws_restJson1DescribeScheduleCommand = async (
5951
5955
  NextToken: undefined,
5952
5956
  ScheduleActions: undefined,
5953
5957
  };
5954
- const data: any = await parseBody(output.body, context);
5958
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5955
5959
  if (data.nextToken !== undefined && data.nextToken !== null) {
5956
5960
  contents.NextToken = __expectString(data.nextToken);
5957
5961
  }
@@ -6058,7 +6062,7 @@ export const deserializeAws_restJson1ListChannelsCommand = async (
6058
6062
  Channels: undefined,
6059
6063
  NextToken: undefined,
6060
6064
  };
6061
- const data: any = await parseBody(output.body, context);
6065
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6062
6066
  if (data.channels !== undefined && data.channels !== null) {
6063
6067
  contents.Channels = deserializeAws_restJson1__listOfChannelSummary(data.channels, context);
6064
6068
  }
@@ -6157,7 +6161,7 @@ export const deserializeAws_restJson1ListInputDevicesCommand = async (
6157
6161
  InputDevices: undefined,
6158
6162
  NextToken: undefined,
6159
6163
  };
6160
- const data: any = await parseBody(output.body, context);
6164
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6161
6165
  if (data.inputDevices !== undefined && data.inputDevices !== null) {
6162
6166
  contents.InputDevices = deserializeAws_restJson1__listOfInputDeviceSummary(data.inputDevices, context);
6163
6167
  }
@@ -6256,7 +6260,7 @@ export const deserializeAws_restJson1ListInputDeviceTransfersCommand = async (
6256
6260
  InputDeviceTransfers: undefined,
6257
6261
  NextToken: undefined,
6258
6262
  };
6259
- const data: any = await parseBody(output.body, context);
6263
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6260
6264
  if (data.inputDeviceTransfers !== undefined && data.inputDeviceTransfers !== null) {
6261
6265
  contents.InputDeviceTransfers = deserializeAws_restJson1__listOfTransferringInputDeviceSummary(
6262
6266
  data.inputDeviceTransfers,
@@ -6366,7 +6370,7 @@ export const deserializeAws_restJson1ListInputsCommand = async (
6366
6370
  Inputs: undefined,
6367
6371
  NextToken: undefined,
6368
6372
  };
6369
- const data: any = await parseBody(output.body, context);
6373
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6370
6374
  if (data.inputs !== undefined && data.inputs !== null) {
6371
6375
  contents.Inputs = deserializeAws_restJson1__listOfInput(data.inputs, context);
6372
6376
  }
@@ -6465,7 +6469,7 @@ export const deserializeAws_restJson1ListInputSecurityGroupsCommand = async (
6465
6469
  InputSecurityGroups: undefined,
6466
6470
  NextToken: undefined,
6467
6471
  };
6468
- const data: any = await parseBody(output.body, context);
6472
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6469
6473
  if (data.inputSecurityGroups !== undefined && data.inputSecurityGroups !== null) {
6470
6474
  contents.InputSecurityGroups = deserializeAws_restJson1__listOfInputSecurityGroup(
6471
6475
  data.inputSecurityGroups,
@@ -6567,7 +6571,7 @@ export const deserializeAws_restJson1ListMultiplexesCommand = async (
6567
6571
  Multiplexes: undefined,
6568
6572
  NextToken: undefined,
6569
6573
  };
6570
- const data: any = await parseBody(output.body, context);
6574
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6571
6575
  if (data.multiplexes !== undefined && data.multiplexes !== null) {
6572
6576
  contents.Multiplexes = deserializeAws_restJson1__listOfMultiplexSummary(data.multiplexes, context);
6573
6577
  }
@@ -6666,7 +6670,7 @@ export const deserializeAws_restJson1ListMultiplexProgramsCommand = async (
6666
6670
  MultiplexPrograms: undefined,
6667
6671
  NextToken: undefined,
6668
6672
  };
6669
- const data: any = await parseBody(output.body, context);
6673
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6670
6674
  if (data.multiplexPrograms !== undefined && data.multiplexPrograms !== null) {
6671
6675
  contents.MultiplexPrograms = deserializeAws_restJson1__listOfMultiplexProgramSummary(
6672
6676
  data.multiplexPrograms,
@@ -6776,7 +6780,7 @@ export const deserializeAws_restJson1ListOfferingsCommand = async (
6776
6780
  NextToken: undefined,
6777
6781
  Offerings: undefined,
6778
6782
  };
6779
- const data: any = await parseBody(output.body, context);
6783
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6780
6784
  if (data.nextToken !== undefined && data.nextToken !== null) {
6781
6785
  contents.NextToken = __expectString(data.nextToken);
6782
6786
  }
@@ -6875,7 +6879,7 @@ export const deserializeAws_restJson1ListReservationsCommand = async (
6875
6879
  NextToken: undefined,
6876
6880
  Reservations: undefined,
6877
6881
  };
6878
- const data: any = await parseBody(output.body, context);
6882
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6879
6883
  if (data.nextToken !== undefined && data.nextToken !== null) {
6880
6884
  contents.NextToken = __expectString(data.nextToken);
6881
6885
  }
@@ -6973,7 +6977,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
6973
6977
  $metadata: deserializeMetadata(output),
6974
6978
  Tags: undefined,
6975
6979
  };
6976
- const data: any = await parseBody(output.body, context);
6980
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6977
6981
  if (data.tags !== undefined && data.tags !== null) {
6978
6982
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
6979
6983
  }
@@ -7052,7 +7056,7 @@ export const deserializeAws_restJson1PurchaseOfferingCommand = async (
7052
7056
  $metadata: deserializeMetadata(output),
7053
7057
  Reservation: undefined,
7054
7058
  };
7055
- const data: any = await parseBody(output.body, context);
7059
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7056
7060
  if (data.reservation !== undefined && data.reservation !== null) {
7057
7061
  contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
7058
7062
  }
@@ -7294,7 +7298,7 @@ export const deserializeAws_restJson1StartChannelCommand = async (
7294
7298
  Tags: undefined,
7295
7299
  Vpc: undefined,
7296
7300
  };
7297
- const data: any = await parseBody(output.body, context);
7301
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7298
7302
  if (data.arn !== undefined && data.arn !== null) {
7299
7303
  contents.Arn = __expectString(data.arn);
7300
7304
  }
@@ -7332,7 +7336,7 @@ export const deserializeAws_restJson1StartChannelCommand = async (
7332
7336
  contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
7333
7337
  }
7334
7338
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
7335
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
7339
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
7336
7340
  }
7337
7341
  if (data.roleArn !== undefined && data.roleArn !== null) {
7338
7342
  contents.RoleArn = __expectString(data.roleArn);
@@ -7462,7 +7466,7 @@ export const deserializeAws_restJson1StartMultiplexCommand = async (
7462
7466
  State: undefined,
7463
7467
  Tags: undefined,
7464
7468
  };
7465
- const data: any = await parseBody(output.body, context);
7469
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7466
7470
  if (data.arn !== undefined && data.arn !== null) {
7467
7471
  contents.Arn = __expectString(data.arn);
7468
7472
  }
@@ -7482,10 +7486,10 @@ export const deserializeAws_restJson1StartMultiplexCommand = async (
7482
7486
  contents.Name = __expectString(data.name);
7483
7487
  }
7484
7488
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
7485
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
7489
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
7486
7490
  }
7487
7491
  if (data.programCount !== undefined && data.programCount !== null) {
7488
- contents.ProgramCount = __expectInt(data.programCount);
7492
+ contents.ProgramCount = __expectInt32(data.programCount);
7489
7493
  }
7490
7494
  if (data.state !== undefined && data.state !== null) {
7491
7495
  contents.State = __expectString(data.state);
@@ -7616,7 +7620,7 @@ export const deserializeAws_restJson1StopChannelCommand = async (
7616
7620
  Tags: undefined,
7617
7621
  Vpc: undefined,
7618
7622
  };
7619
- const data: any = await parseBody(output.body, context);
7623
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7620
7624
  if (data.arn !== undefined && data.arn !== null) {
7621
7625
  contents.Arn = __expectString(data.arn);
7622
7626
  }
@@ -7654,7 +7658,7 @@ export const deserializeAws_restJson1StopChannelCommand = async (
7654
7658
  contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
7655
7659
  }
7656
7660
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
7657
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
7661
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
7658
7662
  }
7659
7663
  if (data.roleArn !== undefined && data.roleArn !== null) {
7660
7664
  contents.RoleArn = __expectString(data.roleArn);
@@ -7784,7 +7788,7 @@ export const deserializeAws_restJson1StopMultiplexCommand = async (
7784
7788
  State: undefined,
7785
7789
  Tags: undefined,
7786
7790
  };
7787
- const data: any = await parseBody(output.body, context);
7791
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7788
7792
  if (data.arn !== undefined && data.arn !== null) {
7789
7793
  contents.Arn = __expectString(data.arn);
7790
7794
  }
@@ -7804,10 +7808,10 @@ export const deserializeAws_restJson1StopMultiplexCommand = async (
7804
7808
  contents.Name = __expectString(data.name);
7805
7809
  }
7806
7810
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
7807
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
7811
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
7808
7812
  }
7809
7813
  if (data.programCount !== undefined && data.programCount !== null) {
7810
- contents.ProgramCount = __expectInt(data.programCount);
7814
+ contents.ProgramCount = __expectInt32(data.programCount);
7811
7815
  }
7812
7816
  if (data.state !== undefined && data.state !== null) {
7813
7817
  contents.State = __expectString(data.state);
@@ -8037,7 +8041,7 @@ export const deserializeAws_restJson1UpdateChannelCommand = async (
8037
8041
  $metadata: deserializeMetadata(output),
8038
8042
  Channel: undefined,
8039
8043
  };
8040
- const data: any = await parseBody(output.body, context);
8044
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8041
8045
  if (data.channel !== undefined && data.channel !== null) {
8042
8046
  contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
8043
8047
  }
@@ -8140,7 +8144,7 @@ export const deserializeAws_restJson1UpdateChannelClassCommand = async (
8140
8144
  $metadata: deserializeMetadata(output),
8141
8145
  Channel: undefined,
8142
8146
  };
8143
- const data: any = await parseBody(output.body, context);
8147
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8144
8148
  if (data.channel !== undefined && data.channel !== null) {
8145
8149
  contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
8146
8150
  }
@@ -8259,7 +8263,7 @@ export const deserializeAws_restJson1UpdateInputCommand = async (
8259
8263
  $metadata: deserializeMetadata(output),
8260
8264
  Input: undefined,
8261
8265
  };
8262
- const data: any = await parseBody(output.body, context);
8266
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8263
8267
  if (data.input !== undefined && data.input !== null) {
8264
8268
  contents.Input = deserializeAws_restJson1Input(data.input, context);
8265
8269
  }
@@ -8373,7 +8377,7 @@ export const deserializeAws_restJson1UpdateInputDeviceCommand = async (
8373
8377
  Type: undefined,
8374
8378
  UhdDeviceSettings: undefined,
8375
8379
  };
8376
- const data: any = await parseBody(output.body, context);
8380
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8377
8381
  if (data.arn !== undefined && data.arn !== null) {
8378
8382
  contents.Arn = __expectString(data.arn);
8379
8383
  }
@@ -8517,7 +8521,7 @@ export const deserializeAws_restJson1UpdateInputSecurityGroupCommand = async (
8517
8521
  $metadata: deserializeMetadata(output),
8518
8522
  SecurityGroup: undefined,
8519
8523
  };
8520
- const data: any = await parseBody(output.body, context);
8524
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8521
8525
  if (data.securityGroup !== undefined && data.securityGroup !== null) {
8522
8526
  contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
8523
8527
  }
@@ -8620,7 +8624,7 @@ export const deserializeAws_restJson1UpdateMultiplexCommand = async (
8620
8624
  $metadata: deserializeMetadata(output),
8621
8625
  Multiplex: undefined,
8622
8626
  };
8623
- const data: any = await parseBody(output.body, context);
8627
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8624
8628
  if (data.multiplex !== undefined && data.multiplex !== null) {
8625
8629
  contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
8626
8630
  }
@@ -8731,7 +8735,7 @@ export const deserializeAws_restJson1UpdateMultiplexProgramCommand = async (
8731
8735
  $metadata: deserializeMetadata(output),
8732
8736
  MultiplexProgram: undefined,
8733
8737
  };
8734
- const data: any = await parseBody(output.body, context);
8738
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8735
8739
  if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
8736
8740
  contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
8737
8741
  }
@@ -8842,7 +8846,7 @@ export const deserializeAws_restJson1UpdateReservationCommand = async (
8842
8846
  $metadata: deserializeMetadata(output),
8843
8847
  Reservation: undefined,
8844
8848
  };
8845
- const data: any = await parseBody(output.body, context);
8849
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8846
8850
  if (data.reservation !== undefined && data.reservation !== null) {
8847
8851
  contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
8848
8852
  }
@@ -12254,7 +12258,7 @@ const deserializeAws_restJson1__listOf__integer = (output: any, context: __Serde
12254
12258
  if (entry === null) {
12255
12259
  return null as any;
12256
12260
  }
12257
- return __expectInt(entry) as any;
12261
+ return __expectInt32(entry) as any;
12258
12262
  });
12259
12263
  };
12260
12264
 
@@ -12799,13 +12803,13 @@ const deserializeAws_restJson1__listOfVideoDescription = (output: any, context:
12799
12803
 
12800
12804
  const deserializeAws_restJson1AacSettings = (output: any, context: __SerdeContext): AacSettings => {
12801
12805
  return {
12802
- Bitrate: __limitedParseFloat(output.bitrate),
12806
+ Bitrate: __limitedParseDouble(output.bitrate),
12803
12807
  CodingMode: __expectString(output.codingMode),
12804
12808
  InputType: __expectString(output.inputType),
12805
12809
  Profile: __expectString(output.profile),
12806
12810
  RateControlMode: __expectString(output.rateControlMode),
12807
12811
  RawFormat: __expectString(output.rawFormat),
12808
- SampleRate: __limitedParseFloat(output.sampleRate),
12812
+ SampleRate: __limitedParseDouble(output.sampleRate),
12809
12813
  Spec: __expectString(output.spec),
12810
12814
  VbrQuality: __expectString(output.vbrQuality),
12811
12815
  } as any;
@@ -12813,10 +12817,10 @@ const deserializeAws_restJson1AacSettings = (output: any, context: __SerdeContex
12813
12817
 
12814
12818
  const deserializeAws_restJson1Ac3Settings = (output: any, context: __SerdeContext): Ac3Settings => {
12815
12819
  return {
12816
- Bitrate: __limitedParseFloat(output.bitrate),
12820
+ Bitrate: __limitedParseDouble(output.bitrate),
12817
12821
  BitstreamMode: __expectString(output.bitstreamMode),
12818
12822
  CodingMode: __expectString(output.codingMode),
12819
- Dialnorm: __expectInt(output.dialnorm),
12823
+ Dialnorm: __expectInt32(output.dialnorm),
12820
12824
  DrcProfile: __expectString(output.drcProfile),
12821
12825
  LfeFilter: __expectString(output.lfeFilter),
12822
12826
  MetadataControl: __expectString(output.metadataControl),
@@ -12828,7 +12832,7 @@ const deserializeAws_restJson1AncillarySourceSettings = (
12828
12832
  context: __SerdeContext
12829
12833
  ): AncillarySourceSettings => {
12830
12834
  return {
12831
- SourceAncillaryChannelNumber: __expectInt(output.sourceAncillaryChannelNumber),
12835
+ SourceAncillaryChannelNumber: __expectInt32(output.sourceAncillaryChannelNumber),
12832
12836
  } as any;
12833
12837
  };
12834
12838
 
@@ -12867,7 +12871,7 @@ const deserializeAws_restJson1ArchiveGroupSettings = (output: any, context: __Se
12867
12871
  output.destination !== undefined && output.destination !== null
12868
12872
  ? deserializeAws_restJson1OutputLocationRef(output.destination, context)
12869
12873
  : undefined,
12870
- RolloverInterval: __expectInt(output.rolloverInterval),
12874
+ RolloverInterval: __expectInt32(output.rolloverInterval),
12871
12875
  } as any;
12872
12876
  };
12873
12877
 
@@ -12905,7 +12909,7 @@ const deserializeAws_restJson1AudioChannelMapping = (output: any, context: __Ser
12905
12909
  output.inputChannelLevels !== undefined && output.inputChannelLevels !== null
12906
12910
  ? deserializeAws_restJson1__listOfInputChannelLevel(output.inputChannelLevels, context)
12907
12911
  : undefined,
12908
- OutputChannel: __expectInt(output.outputChannel),
12912
+ OutputChannel: __expectInt32(output.outputChannel),
12909
12913
  } as any;
12910
12914
  };
12911
12915
 
@@ -12989,7 +12993,7 @@ const deserializeAws_restJson1AudioNormalizationSettings = (
12989
12993
  return {
12990
12994
  Algorithm: __expectString(output.algorithm),
12991
12995
  AlgorithmControl: __expectString(output.algorithmControl),
12992
- TargetLkfs: __limitedParseFloat(output.targetLkfs),
12996
+ TargetLkfs: __limitedParseDouble(output.targetLkfs),
12993
12997
  } as any;
12994
12998
  };
12995
12999
 
@@ -13007,7 +13011,7 @@ const deserializeAws_restJson1AudioOnlyHlsSettings = (output: any, context: __Se
13007
13011
 
13008
13012
  const deserializeAws_restJson1AudioPidSelection = (output: any, context: __SerdeContext): AudioPidSelection => {
13009
13013
  return {
13010
- Pid: __expectInt(output.pid),
13014
+ Pid: __expectInt32(output.pid),
13011
13015
  } as any;
13012
13016
  };
13013
13017
 
@@ -13048,13 +13052,13 @@ const deserializeAws_restJson1AudioSilenceFailoverSettings = (
13048
13052
  ): AudioSilenceFailoverSettings => {
13049
13053
  return {
13050
13054
  AudioSelectorName: __expectString(output.audioSelectorName),
13051
- AudioSilenceThresholdMsec: __expectInt(output.audioSilenceThresholdMsec),
13055
+ AudioSilenceThresholdMsec: __expectInt32(output.audioSilenceThresholdMsec),
13052
13056
  } as any;
13053
13057
  };
13054
13058
 
13055
13059
  const deserializeAws_restJson1AudioTrack = (output: any, context: __SerdeContext): AudioTrack => {
13056
13060
  return {
13057
- Track: __expectInt(output.track),
13061
+ Track: __expectInt32(output.track),
13058
13062
  } as any;
13059
13063
  };
13060
13064
 
@@ -13072,7 +13076,7 @@ const deserializeAws_restJson1AutomaticInputFailoverSettings = (
13072
13076
  context: __SerdeContext
13073
13077
  ): AutomaticInputFailoverSettings => {
13074
13078
  return {
13075
- ErrorClearTimeMsec: __expectInt(output.errorClearTimeMsec),
13079
+ ErrorClearTimeMsec: __expectInt32(output.errorClearTimeMsec),
13076
13080
  FailoverConditions:
13077
13081
  output.failoverConditions !== undefined && output.failoverConditions !== null
13078
13082
  ? deserializeAws_restJson1__listOfFailoverCondition(output.failoverConditions, context)
@@ -13184,24 +13188,24 @@ const deserializeAws_restJson1BurnInDestinationSettings = (
13184
13188
  return {
13185
13189
  Alignment: __expectString(output.alignment),
13186
13190
  BackgroundColor: __expectString(output.backgroundColor),
13187
- BackgroundOpacity: __expectInt(output.backgroundOpacity),
13191
+ BackgroundOpacity: __expectInt32(output.backgroundOpacity),
13188
13192
  Font:
13189
13193
  output.font !== undefined && output.font !== null
13190
13194
  ? deserializeAws_restJson1InputLocation(output.font, context)
13191
13195
  : undefined,
13192
13196
  FontColor: __expectString(output.fontColor),
13193
- FontOpacity: __expectInt(output.fontOpacity),
13194
- FontResolution: __expectInt(output.fontResolution),
13197
+ FontOpacity: __expectInt32(output.fontOpacity),
13198
+ FontResolution: __expectInt32(output.fontResolution),
13195
13199
  FontSize: __expectString(output.fontSize),
13196
13200
  OutlineColor: __expectString(output.outlineColor),
13197
- OutlineSize: __expectInt(output.outlineSize),
13201
+ OutlineSize: __expectInt32(output.outlineSize),
13198
13202
  ShadowColor: __expectString(output.shadowColor),
13199
- ShadowOpacity: __expectInt(output.shadowOpacity),
13200
- ShadowXOffset: __expectInt(output.shadowXOffset),
13201
- ShadowYOffset: __expectInt(output.shadowYOffset),
13203
+ ShadowOpacity: __expectInt32(output.shadowOpacity),
13204
+ ShadowXOffset: __expectInt32(output.shadowXOffset),
13205
+ ShadowYOffset: __expectInt32(output.shadowYOffset),
13202
13206
  TeletextGridControl: __expectString(output.teletextGridControl),
13203
- XPosition: __expectInt(output.xPosition),
13204
- YPosition: __expectInt(output.yPosition),
13207
+ XPosition: __expectInt32(output.xPosition),
13208
+ YPosition: __expectInt32(output.yPosition),
13205
13209
  } as any;
13206
13210
  };
13207
13211
 
@@ -13291,7 +13295,7 @@ const deserializeAws_restJson1CaptionLanguageMapping = (
13291
13295
  context: __SerdeContext
13292
13296
  ): CaptionLanguageMapping => {
13293
13297
  return {
13294
- CaptionChannel: __expectInt(output.captionChannel),
13298
+ CaptionChannel: __expectInt32(output.captionChannel),
13295
13299
  LanguageCode: __expectString(output.languageCode),
13296
13300
  LanguageDescription: __expectString(output.languageDescription),
13297
13301
  } as any;
@@ -13299,10 +13303,10 @@ const deserializeAws_restJson1CaptionLanguageMapping = (
13299
13303
 
13300
13304
  const deserializeAws_restJson1CaptionRectangle = (output: any, context: __SerdeContext): CaptionRectangle => {
13301
13305
  return {
13302
- Height: __limitedParseFloat(output.height),
13303
- LeftOffset: __limitedParseFloat(output.leftOffset),
13304
- TopOffset: __limitedParseFloat(output.topOffset),
13305
- Width: __limitedParseFloat(output.width),
13306
+ Height: __limitedParseDouble(output.height),
13307
+ LeftOffset: __limitedParseDouble(output.leftOffset),
13308
+ TopOffset: __limitedParseDouble(output.topOffset),
13309
+ Width: __limitedParseDouble(output.width),
13306
13310
  } as any;
13307
13311
  };
13308
13312
 
@@ -13394,7 +13398,7 @@ const deserializeAws_restJson1Channel = (output: any, context: __SerdeContext):
13394
13398
  output.pipelineDetails !== undefined && output.pipelineDetails !== null
13395
13399
  ? deserializeAws_restJson1__listOfPipelineDetail(output.pipelineDetails, context)
13396
13400
  : undefined,
13397
- PipelinesRunningCount: __expectInt(output.pipelinesRunningCount),
13401
+ PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
13398
13402
  RoleArn: __expectString(output.roleArn),
13399
13403
  State: __expectString(output.state),
13400
13404
  Tags:
@@ -13441,7 +13445,7 @@ const deserializeAws_restJson1ChannelSummary = (output: any, context: __SerdeCon
13441
13445
  : undefined,
13442
13446
  LogLevel: __expectString(output.logLevel),
13443
13447
  Name: __expectString(output.name),
13444
- PipelinesRunningCount: __expectInt(output.pipelinesRunningCount),
13448
+ PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
13445
13449
  RoleArn: __expectString(output.roleArn),
13446
13450
  State: __expectString(output.state),
13447
13451
  Tags:
@@ -13464,16 +13468,16 @@ const deserializeAws_restJson1ColorSpacePassthroughSettings = (
13464
13468
 
13465
13469
  const deserializeAws_restJson1DvbNitSettings = (output: any, context: __SerdeContext): DvbNitSettings => {
13466
13470
  return {
13467
- NetworkId: __expectInt(output.networkId),
13471
+ NetworkId: __expectInt32(output.networkId),
13468
13472
  NetworkName: __expectString(output.networkName),
13469
- RepInterval: __expectInt(output.repInterval),
13473
+ RepInterval: __expectInt32(output.repInterval),
13470
13474
  } as any;
13471
13475
  };
13472
13476
 
13473
13477
  const deserializeAws_restJson1DvbSdtSettings = (output: any, context: __SerdeContext): DvbSdtSettings => {
13474
13478
  return {
13475
13479
  OutputSdt: __expectString(output.outputSdt),
13476
- RepInterval: __expectInt(output.repInterval),
13480
+ RepInterval: __expectInt32(output.repInterval),
13477
13481
  ServiceName: __expectString(output.serviceName),
13478
13482
  ServiceProviderName: __expectString(output.serviceProviderName),
13479
13483
  } as any;
@@ -13486,56 +13490,56 @@ const deserializeAws_restJson1DvbSubDestinationSettings = (
13486
13490
  return {
13487
13491
  Alignment: __expectString(output.alignment),
13488
13492
  BackgroundColor: __expectString(output.backgroundColor),
13489
- BackgroundOpacity: __expectInt(output.backgroundOpacity),
13493
+ BackgroundOpacity: __expectInt32(output.backgroundOpacity),
13490
13494
  Font:
13491
13495
  output.font !== undefined && output.font !== null
13492
13496
  ? deserializeAws_restJson1InputLocation(output.font, context)
13493
13497
  : undefined,
13494
13498
  FontColor: __expectString(output.fontColor),
13495
- FontOpacity: __expectInt(output.fontOpacity),
13496
- FontResolution: __expectInt(output.fontResolution),
13499
+ FontOpacity: __expectInt32(output.fontOpacity),
13500
+ FontResolution: __expectInt32(output.fontResolution),
13497
13501
  FontSize: __expectString(output.fontSize),
13498
13502
  OutlineColor: __expectString(output.outlineColor),
13499
- OutlineSize: __expectInt(output.outlineSize),
13503
+ OutlineSize: __expectInt32(output.outlineSize),
13500
13504
  ShadowColor: __expectString(output.shadowColor),
13501
- ShadowOpacity: __expectInt(output.shadowOpacity),
13502
- ShadowXOffset: __expectInt(output.shadowXOffset),
13503
- ShadowYOffset: __expectInt(output.shadowYOffset),
13505
+ ShadowOpacity: __expectInt32(output.shadowOpacity),
13506
+ ShadowXOffset: __expectInt32(output.shadowXOffset),
13507
+ ShadowYOffset: __expectInt32(output.shadowYOffset),
13504
13508
  TeletextGridControl: __expectString(output.teletextGridControl),
13505
- XPosition: __expectInt(output.xPosition),
13506
- YPosition: __expectInt(output.yPosition),
13509
+ XPosition: __expectInt32(output.xPosition),
13510
+ YPosition: __expectInt32(output.yPosition),
13507
13511
  } as any;
13508
13512
  };
13509
13513
 
13510
13514
  const deserializeAws_restJson1DvbSubSourceSettings = (output: any, context: __SerdeContext): DvbSubSourceSettings => {
13511
13515
  return {
13512
13516
  OcrLanguage: __expectString(output.ocrLanguage),
13513
- Pid: __expectInt(output.pid),
13517
+ Pid: __expectInt32(output.pid),
13514
13518
  } as any;
13515
13519
  };
13516
13520
 
13517
13521
  const deserializeAws_restJson1DvbTdtSettings = (output: any, context: __SerdeContext): DvbTdtSettings => {
13518
13522
  return {
13519
- RepInterval: __expectInt(output.repInterval),
13523
+ RepInterval: __expectInt32(output.repInterval),
13520
13524
  } as any;
13521
13525
  };
13522
13526
 
13523
13527
  const deserializeAws_restJson1Eac3Settings = (output: any, context: __SerdeContext): Eac3Settings => {
13524
13528
  return {
13525
13529
  AttenuationControl: __expectString(output.attenuationControl),
13526
- Bitrate: __limitedParseFloat(output.bitrate),
13530
+ Bitrate: __limitedParseDouble(output.bitrate),
13527
13531
  BitstreamMode: __expectString(output.bitstreamMode),
13528
13532
  CodingMode: __expectString(output.codingMode),
13529
13533
  DcFilter: __expectString(output.dcFilter),
13530
- Dialnorm: __expectInt(output.dialnorm),
13534
+ Dialnorm: __expectInt32(output.dialnorm),
13531
13535
  DrcLine: __expectString(output.drcLine),
13532
13536
  DrcRf: __expectString(output.drcRf),
13533
13537
  LfeControl: __expectString(output.lfeControl),
13534
13538
  LfeFilter: __expectString(output.lfeFilter),
13535
- LoRoCenterMixLevel: __limitedParseFloat(output.loRoCenterMixLevel),
13536
- LoRoSurroundMixLevel: __limitedParseFloat(output.loRoSurroundMixLevel),
13537
- LtRtCenterMixLevel: __limitedParseFloat(output.ltRtCenterMixLevel),
13538
- LtRtSurroundMixLevel: __limitedParseFloat(output.ltRtSurroundMixLevel),
13539
+ LoRoCenterMixLevel: __limitedParseDouble(output.loRoCenterMixLevel),
13540
+ LoRoSurroundMixLevel: __limitedParseDouble(output.loRoSurroundMixLevel),
13541
+ LtRtCenterMixLevel: __limitedParseDouble(output.ltRtCenterMixLevel),
13542
+ LtRtSurroundMixLevel: __limitedParseDouble(output.ltRtSurroundMixLevel),
13539
13543
  MetadataControl: __expectString(output.metadataControl),
13540
13544
  PassthroughControl: __expectString(output.passthroughControl),
13541
13545
  PhaseControl: __expectString(output.phaseControl),
@@ -13578,8 +13582,8 @@ const deserializeAws_restJson1EmbeddedSourceSettings = (
13578
13582
  return {
13579
13583
  Convert608To708: __expectString(output.convert608To708),
13580
13584
  Scte20Detection: __expectString(output.scte20Detection),
13581
- Source608ChannelNumber: __expectInt(output.source608ChannelNumber),
13582
- Source608TrackNumber: __expectInt(output.source608TrackNumber),
13585
+ Source608ChannelNumber: __expectInt32(output.source608ChannelNumber),
13586
+ Source608TrackNumber: __expectInt32(output.source608TrackNumber),
13583
13587
  } as any;
13584
13588
  };
13585
13589
 
@@ -13673,9 +13677,9 @@ const deserializeAws_restJson1FeatureActivations = (output: any, context: __Serd
13673
13677
 
13674
13678
  const deserializeAws_restJson1FecOutputSettings = (output: any, context: __SerdeContext): FecOutputSettings => {
13675
13679
  return {
13676
- ColumnDepth: __expectInt(output.columnDepth),
13680
+ ColumnDepth: __expectInt32(output.columnDepth),
13677
13681
  IncludeFec: __expectString(output.includeFec),
13678
- RowLength: __expectInt(output.rowLength),
13682
+ RowLength: __expectInt32(output.rowLength),
13679
13683
  } as any;
13680
13684
  };
13681
13685
 
@@ -13761,14 +13765,14 @@ const deserializeAws_restJson1FrameCaptureS3Settings = (
13761
13765
 
13762
13766
  const deserializeAws_restJson1FrameCaptureSettings = (output: any, context: __SerdeContext): FrameCaptureSettings => {
13763
13767
  return {
13764
- CaptureInterval: __expectInt(output.captureInterval),
13768
+ CaptureInterval: __expectInt32(output.captureInterval),
13765
13769
  CaptureIntervalUnits: __expectString(output.captureIntervalUnits),
13766
13770
  } as any;
13767
13771
  };
13768
13772
 
13769
13773
  const deserializeAws_restJson1GlobalConfiguration = (output: any, context: __SerdeContext): GlobalConfiguration => {
13770
13774
  return {
13771
- InitialAudioGain: __expectInt(output.initialAudioGain),
13775
+ InitialAudioGain: __expectInt32(output.initialAudioGain),
13772
13776
  InputEndAction: __expectString(output.inputEndAction),
13773
13777
  InputLossBehavior:
13774
13778
  output.inputLossBehavior !== undefined && output.inputLossBehavior !== null
@@ -13813,9 +13817,9 @@ const deserializeAws_restJson1H264Settings = (output: any, context: __SerdeConte
13813
13817
  return {
13814
13818
  AdaptiveQuantization: __expectString(output.adaptiveQuantization),
13815
13819
  AfdSignaling: __expectString(output.afdSignaling),
13816
- Bitrate: __expectInt(output.bitrate),
13817
- BufFillPct: __expectInt(output.bufFillPct),
13818
- BufSize: __expectInt(output.bufSize),
13820
+ Bitrate: __expectInt32(output.bitrate),
13821
+ BufFillPct: __expectInt32(output.bufFillPct),
13822
+ BufSize: __expectInt32(output.bufSize),
13819
13823
  ColorMetadata: __expectString(output.colorMetadata),
13820
13824
  ColorSpaceSettings:
13821
13825
  output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
@@ -13830,29 +13834,29 @@ const deserializeAws_restJson1H264Settings = (output: any, context: __SerdeConte
13830
13834
  FlickerAq: __expectString(output.flickerAq),
13831
13835
  ForceFieldPictures: __expectString(output.forceFieldPictures),
13832
13836
  FramerateControl: __expectString(output.framerateControl),
13833
- FramerateDenominator: __expectInt(output.framerateDenominator),
13834
- FramerateNumerator: __expectInt(output.framerateNumerator),
13837
+ FramerateDenominator: __expectInt32(output.framerateDenominator),
13838
+ FramerateNumerator: __expectInt32(output.framerateNumerator),
13835
13839
  GopBReference: __expectString(output.gopBReference),
13836
- GopClosedCadence: __expectInt(output.gopClosedCadence),
13837
- GopNumBFrames: __expectInt(output.gopNumBFrames),
13838
- GopSize: __limitedParseFloat(output.gopSize),
13840
+ GopClosedCadence: __expectInt32(output.gopClosedCadence),
13841
+ GopNumBFrames: __expectInt32(output.gopNumBFrames),
13842
+ GopSize: __limitedParseDouble(output.gopSize),
13839
13843
  GopSizeUnits: __expectString(output.gopSizeUnits),
13840
13844
  Level: __expectString(output.level),
13841
13845
  LookAheadRateControl: __expectString(output.lookAheadRateControl),
13842
- MaxBitrate: __expectInt(output.maxBitrate),
13843
- MinIInterval: __expectInt(output.minIInterval),
13844
- NumRefFrames: __expectInt(output.numRefFrames),
13846
+ MaxBitrate: __expectInt32(output.maxBitrate),
13847
+ MinIInterval: __expectInt32(output.minIInterval),
13848
+ NumRefFrames: __expectInt32(output.numRefFrames),
13845
13849
  ParControl: __expectString(output.parControl),
13846
- ParDenominator: __expectInt(output.parDenominator),
13847
- ParNumerator: __expectInt(output.parNumerator),
13850
+ ParDenominator: __expectInt32(output.parDenominator),
13851
+ ParNumerator: __expectInt32(output.parNumerator),
13848
13852
  Profile: __expectString(output.profile),
13849
13853
  QualityLevel: __expectString(output.qualityLevel),
13850
- QvbrQualityLevel: __expectInt(output.qvbrQualityLevel),
13854
+ QvbrQualityLevel: __expectInt32(output.qvbrQualityLevel),
13851
13855
  RateControlMode: __expectString(output.rateControlMode),
13852
13856
  ScanType: __expectString(output.scanType),
13853
13857
  SceneChangeDetect: __expectString(output.sceneChangeDetect),
13854
- Slices: __expectInt(output.slices),
13855
- Softness: __expectInt(output.softness),
13858
+ Slices: __expectInt32(output.slices),
13859
+ Softness: __expectInt32(output.softness),
13856
13860
  SpatialAq: __expectString(output.spatialAq),
13857
13861
  SubgopLength: __expectString(output.subgopLength),
13858
13862
  Syntax: __expectString(output.syntax),
@@ -13899,8 +13903,8 @@ const deserializeAws_restJson1H265Settings = (output: any, context: __SerdeConte
13899
13903
  AdaptiveQuantization: __expectString(output.adaptiveQuantization),
13900
13904
  AfdSignaling: __expectString(output.afdSignaling),
13901
13905
  AlternativeTransferFunction: __expectString(output.alternativeTransferFunction),
13902
- Bitrate: __expectInt(output.bitrate),
13903
- BufSize: __expectInt(output.bufSize),
13906
+ Bitrate: __expectInt32(output.bitrate),
13907
+ BufSize: __expectInt32(output.bufSize),
13904
13908
  ColorMetadata: __expectString(output.colorMetadata),
13905
13909
  ColorSpaceSettings:
13906
13910
  output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
@@ -13912,23 +13916,23 @@ const deserializeAws_restJson1H265Settings = (output: any, context: __SerdeConte
13912
13916
  : undefined,
13913
13917
  FixedAfd: __expectString(output.fixedAfd),
13914
13918
  FlickerAq: __expectString(output.flickerAq),
13915
- FramerateDenominator: __expectInt(output.framerateDenominator),
13916
- FramerateNumerator: __expectInt(output.framerateNumerator),
13917
- GopClosedCadence: __expectInt(output.gopClosedCadence),
13918
- GopSize: __limitedParseFloat(output.gopSize),
13919
+ FramerateDenominator: __expectInt32(output.framerateDenominator),
13920
+ FramerateNumerator: __expectInt32(output.framerateNumerator),
13921
+ GopClosedCadence: __expectInt32(output.gopClosedCadence),
13922
+ GopSize: __limitedParseDouble(output.gopSize),
13919
13923
  GopSizeUnits: __expectString(output.gopSizeUnits),
13920
13924
  Level: __expectString(output.level),
13921
13925
  LookAheadRateControl: __expectString(output.lookAheadRateControl),
13922
- MaxBitrate: __expectInt(output.maxBitrate),
13923
- MinIInterval: __expectInt(output.minIInterval),
13924
- ParDenominator: __expectInt(output.parDenominator),
13925
- ParNumerator: __expectInt(output.parNumerator),
13926
+ MaxBitrate: __expectInt32(output.maxBitrate),
13927
+ MinIInterval: __expectInt32(output.minIInterval),
13928
+ ParDenominator: __expectInt32(output.parDenominator),
13929
+ ParNumerator: __expectInt32(output.parNumerator),
13926
13930
  Profile: __expectString(output.profile),
13927
- QvbrQualityLevel: __expectInt(output.qvbrQualityLevel),
13931
+ QvbrQualityLevel: __expectInt32(output.qvbrQualityLevel),
13928
13932
  RateControlMode: __expectString(output.rateControlMode),
13929
13933
  ScanType: __expectString(output.scanType),
13930
13934
  SceneChangeDetect: __expectString(output.sceneChangeDetect),
13931
- Slices: __expectInt(output.slices),
13935
+ Slices: __expectInt32(output.slices),
13932
13936
  Tier: __expectString(output.tier),
13933
13937
  TimecodeInsertion: __expectString(output.timecodeInsertion),
13934
13938
  } as any;
@@ -13936,18 +13940,18 @@ const deserializeAws_restJson1H265Settings = (output: any, context: __SerdeConte
13936
13940
 
13937
13941
  const deserializeAws_restJson1Hdr10Settings = (output: any, context: __SerdeContext): Hdr10Settings => {
13938
13942
  return {
13939
- MaxCll: __expectInt(output.maxCll),
13940
- MaxFall: __expectInt(output.maxFall),
13943
+ MaxCll: __expectInt32(output.maxCll),
13944
+ MaxFall: __expectInt32(output.maxFall),
13941
13945
  } as any;
13942
13946
  };
13943
13947
 
13944
13948
  const deserializeAws_restJson1HlsAkamaiSettings = (output: any, context: __SerdeContext): HlsAkamaiSettings => {
13945
13949
  return {
13946
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
13947
- FilecacheDuration: __expectInt(output.filecacheDuration),
13950
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
13951
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
13948
13952
  HttpTransferMode: __expectString(output.httpTransferMode),
13949
- NumRetries: __expectInt(output.numRetries),
13950
- RestartDelay: __expectInt(output.restartDelay),
13953
+ NumRetries: __expectInt32(output.numRetries),
13954
+ RestartDelay: __expectInt32(output.restartDelay),
13951
13955
  Salt: __expectString(output.salt),
13952
13956
  Token: __expectString(output.token),
13953
13957
  } as any;
@@ -13955,10 +13959,10 @@ const deserializeAws_restJson1HlsAkamaiSettings = (output: any, context: __Serde
13955
13959
 
13956
13960
  const deserializeAws_restJson1HlsBasicPutSettings = (output: any, context: __SerdeContext): HlsBasicPutSettings => {
13957
13961
  return {
13958
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
13959
- FilecacheDuration: __expectInt(output.filecacheDuration),
13960
- NumRetries: __expectInt(output.numRetries),
13961
- RestartDelay: __expectInt(output.restartDelay),
13962
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
13963
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
13964
+ NumRetries: __expectInt32(output.numRetries),
13965
+ RestartDelay: __expectInt32(output.restartDelay),
13962
13966
  } as any;
13963
13967
  };
13964
13968
 
@@ -14019,11 +14023,11 @@ const deserializeAws_restJson1HlsGroupSettings = (output: any, context: __SerdeC
14019
14023
  HlsId3SegmentTagging: __expectString(output.hlsId3SegmentTagging),
14020
14024
  IFrameOnlyPlaylists: __expectString(output.iFrameOnlyPlaylists),
14021
14025
  IncompleteSegmentBehavior: __expectString(output.incompleteSegmentBehavior),
14022
- IndexNSegments: __expectInt(output.indexNSegments),
14026
+ IndexNSegments: __expectInt32(output.indexNSegments),
14023
14027
  InputLossAction: __expectString(output.inputLossAction),
14024
14028
  IvInManifest: __expectString(output.ivInManifest),
14025
14029
  IvSource: __expectString(output.ivSource),
14026
- KeepSegments: __expectInt(output.keepSegments),
14030
+ KeepSegments: __expectInt32(output.keepSegments),
14027
14031
  KeyFormat: __expectString(output.keyFormat),
14028
14032
  KeyFormatVersions: __expectString(output.keyFormatVersions),
14029
14033
  KeyProviderSettings:
@@ -14032,19 +14036,19 @@ const deserializeAws_restJson1HlsGroupSettings = (output: any, context: __SerdeC
14032
14036
  : undefined,
14033
14037
  ManifestCompression: __expectString(output.manifestCompression),
14034
14038
  ManifestDurationFormat: __expectString(output.manifestDurationFormat),
14035
- MinSegmentLength: __expectInt(output.minSegmentLength),
14039
+ MinSegmentLength: __expectInt32(output.minSegmentLength),
14036
14040
  Mode: __expectString(output.mode),
14037
14041
  OutputSelection: __expectString(output.outputSelection),
14038
14042
  ProgramDateTime: __expectString(output.programDateTime),
14039
- ProgramDateTimePeriod: __expectInt(output.programDateTimePeriod),
14043
+ ProgramDateTimePeriod: __expectInt32(output.programDateTimePeriod),
14040
14044
  RedundantManifest: __expectString(output.redundantManifest),
14041
- SegmentLength: __expectInt(output.segmentLength),
14045
+ SegmentLength: __expectInt32(output.segmentLength),
14042
14046
  SegmentationMode: __expectString(output.segmentationMode),
14043
- SegmentsPerSubdirectory: __expectInt(output.segmentsPerSubdirectory),
14047
+ SegmentsPerSubdirectory: __expectInt32(output.segmentsPerSubdirectory),
14044
14048
  StreamInfResolution: __expectString(output.streamInfResolution),
14045
14049
  TimedMetadataId3Frame: __expectString(output.timedMetadataId3Frame),
14046
- TimedMetadataId3Period: __expectInt(output.timedMetadataId3Period),
14047
- TimestampDeltaMilliseconds: __expectInt(output.timestampDeltaMilliseconds),
14050
+ TimedMetadataId3Period: __expectInt32(output.timedMetadataId3Period),
14051
+ TimestampDeltaMilliseconds: __expectInt32(output.timestampDeltaMilliseconds),
14048
14052
  TsFileMode: __expectString(output.tsFileMode),
14049
14053
  } as any;
14050
14054
  };
@@ -14060,21 +14064,21 @@ const deserializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = (
14060
14064
 
14061
14065
  const deserializeAws_restJson1HlsInputSettings = (output: any, context: __SerdeContext): HlsInputSettings => {
14062
14066
  return {
14063
- Bandwidth: __expectInt(output.bandwidth),
14064
- BufferSegments: __expectInt(output.bufferSegments),
14065
- Retries: __expectInt(output.retries),
14066
- RetryInterval: __expectInt(output.retryInterval),
14067
+ Bandwidth: __expectInt32(output.bandwidth),
14068
+ BufferSegments: __expectInt32(output.bufferSegments),
14069
+ Retries: __expectInt32(output.retries),
14070
+ RetryInterval: __expectInt32(output.retryInterval),
14067
14071
  Scte35Source: __expectString(output.scte35Source),
14068
14072
  } as any;
14069
14073
  };
14070
14074
 
14071
14075
  const deserializeAws_restJson1HlsMediaStoreSettings = (output: any, context: __SerdeContext): HlsMediaStoreSettings => {
14072
14076
  return {
14073
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
14074
- FilecacheDuration: __expectInt(output.filecacheDuration),
14077
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
14078
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
14075
14079
  MediaStoreStorageClass: __expectString(output.mediaStoreStorageClass),
14076
- NumRetries: __expectInt(output.numRetries),
14077
- RestartDelay: __expectInt(output.restartDelay),
14080
+ NumRetries: __expectInt32(output.numRetries),
14081
+ RestartDelay: __expectInt32(output.restartDelay),
14078
14082
  } as any;
14079
14083
  };
14080
14084
 
@@ -14128,11 +14132,11 @@ const deserializeAws_restJson1HlsTimedMetadataScheduleActionSettings = (
14128
14132
 
14129
14133
  const deserializeAws_restJson1HlsWebdavSettings = (output: any, context: __SerdeContext): HlsWebdavSettings => {
14130
14134
  return {
14131
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
14132
- FilecacheDuration: __expectInt(output.filecacheDuration),
14135
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
14136
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
14133
14137
  HttpTransferMode: __expectString(output.httpTransferMode),
14134
- NumRetries: __expectInt(output.numRetries),
14135
- RestartDelay: __expectInt(output.restartDelay),
14138
+ NumRetries: __expectInt32(output.numRetries),
14139
+ RestartDelay: __expectInt32(output.restartDelay),
14136
14140
  } as any;
14137
14141
  };
14138
14142
 
@@ -14212,8 +14216,8 @@ const deserializeAws_restJson1InputAttachment = (output: any, context: __SerdeCo
14212
14216
 
14213
14217
  const deserializeAws_restJson1InputChannelLevel = (output: any, context: __SerdeContext): InputChannelLevel => {
14214
14218
  return {
14215
- Gain: __expectInt(output.gain),
14216
- InputChannel: __expectInt(output.inputChannel),
14219
+ Gain: __expectInt32(output.gain),
14220
+ InputChannel: __expectInt32(output.inputChannel),
14217
14221
  } as any;
14218
14222
  };
14219
14223
 
@@ -14255,11 +14259,11 @@ const deserializeAws_restJson1InputDeviceHdSettings = (output: any, context: __S
14255
14259
  ActiveInput: __expectString(output.activeInput),
14256
14260
  ConfiguredInput: __expectString(output.configuredInput),
14257
14261
  DeviceState: __expectString(output.deviceState),
14258
- Framerate: __limitedParseFloat(output.framerate),
14259
- Height: __expectInt(output.height),
14260
- MaxBitrate: __expectInt(output.maxBitrate),
14262
+ Framerate: __limitedParseDouble(output.framerate),
14263
+ Height: __expectInt32(output.height),
14264
+ MaxBitrate: __expectInt32(output.maxBitrate),
14261
14265
  ScanType: __expectString(output.scanType),
14262
- Width: __expectInt(output.width),
14266
+ Width: __expectInt32(output.width),
14263
14267
  } as any;
14264
14268
  };
14265
14269
 
@@ -14319,11 +14323,11 @@ const deserializeAws_restJson1InputDeviceUhdSettings = (
14319
14323
  ActiveInput: __expectString(output.activeInput),
14320
14324
  ConfiguredInput: __expectString(output.configuredInput),
14321
14325
  DeviceState: __expectString(output.deviceState),
14322
- Framerate: __limitedParseFloat(output.framerate),
14323
- Height: __expectInt(output.height),
14324
- MaxBitrate: __expectInt(output.maxBitrate),
14326
+ Framerate: __limitedParseDouble(output.framerate),
14327
+ Height: __expectInt32(output.height),
14328
+ MaxBitrate: __expectInt32(output.maxBitrate),
14325
14329
  ScanType: __expectString(output.scanType),
14326
- Width: __expectInt(output.width),
14330
+ Width: __expectInt32(output.width),
14327
14331
  } as any;
14328
14332
  };
14329
14333
 
@@ -14337,14 +14341,14 @@ const deserializeAws_restJson1InputLocation = (output: any, context: __SerdeCont
14337
14341
 
14338
14342
  const deserializeAws_restJson1InputLossBehavior = (output: any, context: __SerdeContext): InputLossBehavior => {
14339
14343
  return {
14340
- BlackFrameMsec: __expectInt(output.blackFrameMsec),
14344
+ BlackFrameMsec: __expectInt32(output.blackFrameMsec),
14341
14345
  InputLossImageColor: __expectString(output.inputLossImageColor),
14342
14346
  InputLossImageSlate:
14343
14347
  output.inputLossImageSlate !== undefined && output.inputLossImageSlate !== null
14344
14348
  ? deserializeAws_restJson1InputLocation(output.inputLossImageSlate, context)
14345
14349
  : undefined,
14346
14350
  InputLossImageType: __expectString(output.inputLossImageType),
14347
- RepeatFrameMsec: __expectInt(output.repeatFrameMsec),
14351
+ RepeatFrameMsec: __expectInt32(output.repeatFrameMsec),
14348
14352
  } as any;
14349
14353
  };
14350
14354
 
@@ -14353,7 +14357,7 @@ const deserializeAws_restJson1InputLossFailoverSettings = (
14353
14357
  context: __SerdeContext
14354
14358
  ): InputLossFailoverSettings => {
14355
14359
  return {
14356
- InputLossThresholdMsec: __expectInt(output.inputLossThresholdMsec),
14360
+ InputLossThresholdMsec: __expectInt32(output.inputLossThresholdMsec),
14357
14361
  } as any;
14358
14362
  };
14359
14363
 
@@ -14406,7 +14410,7 @@ const deserializeAws_restJson1InputSettings = (output: any, context: __SerdeCont
14406
14410
  : undefined,
14407
14411
  DeblockFilter: __expectString(output.deblockFilter),
14408
14412
  DenoiseFilter: __expectString(output.denoiseFilter),
14409
- FilterStrength: __expectInt(output.filterStrength),
14413
+ FilterStrength: __expectInt32(output.filterStrength),
14410
14414
  InputFilter: __expectString(output.inputFilter),
14411
14415
  NetworkInputSettings:
14412
14416
  output.networkInputSettings !== undefined && output.networkInputSettings !== null
@@ -14476,10 +14480,10 @@ const deserializeAws_restJson1M2tsSettings = (output: any, context: __SerdeConte
14476
14480
  AribCaptionsPid: __expectString(output.aribCaptionsPid),
14477
14481
  AribCaptionsPidControl: __expectString(output.aribCaptionsPidControl),
14478
14482
  AudioBufferModel: __expectString(output.audioBufferModel),
14479
- AudioFramesPerPes: __expectInt(output.audioFramesPerPes),
14483
+ AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
14480
14484
  AudioPids: __expectString(output.audioPids),
14481
14485
  AudioStreamType: __expectString(output.audioStreamType),
14482
- Bitrate: __expectInt(output.bitrate),
14486
+ Bitrate: __expectInt32(output.bitrate),
14483
14487
  BufferModel: __expectString(output.bufferModel),
14484
14488
  CcDescriptor: __expectString(output.ccDescriptor),
14485
14489
  DvbNitSettings:
@@ -14498,56 +14502,56 @@ const deserializeAws_restJson1M2tsSettings = (output: any, context: __SerdeConte
14498
14502
  DvbTeletextPid: __expectString(output.dvbTeletextPid),
14499
14503
  Ebif: __expectString(output.ebif),
14500
14504
  EbpAudioInterval: __expectString(output.ebpAudioInterval),
14501
- EbpLookaheadMs: __expectInt(output.ebpLookaheadMs),
14505
+ EbpLookaheadMs: __expectInt32(output.ebpLookaheadMs),
14502
14506
  EbpPlacement: __expectString(output.ebpPlacement),
14503
14507
  EcmPid: __expectString(output.ecmPid),
14504
14508
  EsRateInPes: __expectString(output.esRateInPes),
14505
14509
  EtvPlatformPid: __expectString(output.etvPlatformPid),
14506
14510
  EtvSignalPid: __expectString(output.etvSignalPid),
14507
- FragmentTime: __limitedParseFloat(output.fragmentTime),
14511
+ FragmentTime: __limitedParseDouble(output.fragmentTime),
14508
14512
  Klv: __expectString(output.klv),
14509
14513
  KlvDataPids: __expectString(output.klvDataPids),
14510
14514
  NielsenId3Behavior: __expectString(output.nielsenId3Behavior),
14511
- NullPacketBitrate: __limitedParseFloat(output.nullPacketBitrate),
14512
- PatInterval: __expectInt(output.patInterval),
14515
+ NullPacketBitrate: __limitedParseDouble(output.nullPacketBitrate),
14516
+ PatInterval: __expectInt32(output.patInterval),
14513
14517
  PcrControl: __expectString(output.pcrControl),
14514
- PcrPeriod: __expectInt(output.pcrPeriod),
14518
+ PcrPeriod: __expectInt32(output.pcrPeriod),
14515
14519
  PcrPid: __expectString(output.pcrPid),
14516
- PmtInterval: __expectInt(output.pmtInterval),
14520
+ PmtInterval: __expectInt32(output.pmtInterval),
14517
14521
  PmtPid: __expectString(output.pmtPid),
14518
- ProgramNum: __expectInt(output.programNum),
14522
+ ProgramNum: __expectInt32(output.programNum),
14519
14523
  RateMode: __expectString(output.rateMode),
14520
14524
  Scte27Pids: __expectString(output.scte27Pids),
14521
14525
  Scte35Control: __expectString(output.scte35Control),
14522
14526
  Scte35Pid: __expectString(output.scte35Pid),
14523
14527
  SegmentationMarkers: __expectString(output.segmentationMarkers),
14524
14528
  SegmentationStyle: __expectString(output.segmentationStyle),
14525
- SegmentationTime: __limitedParseFloat(output.segmentationTime),
14529
+ SegmentationTime: __limitedParseDouble(output.segmentationTime),
14526
14530
  TimedMetadataBehavior: __expectString(output.timedMetadataBehavior),
14527
14531
  TimedMetadataPid: __expectString(output.timedMetadataPid),
14528
- TransportStreamId: __expectInt(output.transportStreamId),
14532
+ TransportStreamId: __expectInt32(output.transportStreamId),
14529
14533
  VideoPid: __expectString(output.videoPid),
14530
14534
  } as any;
14531
14535
  };
14532
14536
 
14533
14537
  const deserializeAws_restJson1M3u8Settings = (output: any, context: __SerdeContext): M3u8Settings => {
14534
14538
  return {
14535
- AudioFramesPerPes: __expectInt(output.audioFramesPerPes),
14539
+ AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
14536
14540
  AudioPids: __expectString(output.audioPids),
14537
14541
  EcmPid: __expectString(output.ecmPid),
14538
14542
  NielsenId3Behavior: __expectString(output.nielsenId3Behavior),
14539
- PatInterval: __expectInt(output.patInterval),
14543
+ PatInterval: __expectInt32(output.patInterval),
14540
14544
  PcrControl: __expectString(output.pcrControl),
14541
- PcrPeriod: __expectInt(output.pcrPeriod),
14545
+ PcrPeriod: __expectInt32(output.pcrPeriod),
14542
14546
  PcrPid: __expectString(output.pcrPid),
14543
- PmtInterval: __expectInt(output.pmtInterval),
14547
+ PmtInterval: __expectInt32(output.pmtInterval),
14544
14548
  PmtPid: __expectString(output.pmtPid),
14545
- ProgramNum: __expectInt(output.programNum),
14549
+ ProgramNum: __expectInt32(output.programNum),
14546
14550
  Scte35Behavior: __expectString(output.scte35Behavior),
14547
14551
  Scte35Pid: __expectString(output.scte35Pid),
14548
14552
  TimedMetadataBehavior: __expectString(output.timedMetadataBehavior),
14549
14553
  TimedMetadataPid: __expectString(output.timedMetadataPid),
14550
- TransportStreamId: __expectInt(output.transportStreamId),
14554
+ TransportStreamId: __expectInt32(output.transportStreamId),
14551
14555
  VideoPid: __expectString(output.videoPid),
14552
14556
  } as any;
14553
14557
  };
@@ -14591,7 +14595,7 @@ const deserializeAws_restJson1MotionGraphicsActivateScheduleActionSettings = (
14591
14595
  context: __SerdeContext
14592
14596
  ): MotionGraphicsActivateScheduleActionSettings => {
14593
14597
  return {
14594
- Duration: __expectInt(output.duration),
14598
+ Duration: __expectLong(output.duration),
14595
14599
  PasswordParam: __expectString(output.passwordParam),
14596
14600
  Url: __expectString(output.url),
14597
14601
  Username: __expectString(output.username),
@@ -14632,9 +14636,9 @@ const deserializeAws_restJson1MotionGraphicsSettings = (
14632
14636
 
14633
14637
  const deserializeAws_restJson1Mp2Settings = (output: any, context: __SerdeContext): Mp2Settings => {
14634
14638
  return {
14635
- Bitrate: __limitedParseFloat(output.bitrate),
14639
+ Bitrate: __limitedParseDouble(output.bitrate),
14636
14640
  CodingMode: __expectString(output.codingMode),
14637
- SampleRate: __limitedParseFloat(output.sampleRate),
14641
+ SampleRate: __limitedParseDouble(output.sampleRate),
14638
14642
  } as any;
14639
14643
  };
14640
14644
 
@@ -14659,11 +14663,11 @@ const deserializeAws_restJson1Mpeg2Settings = (output: any, context: __SerdeCont
14659
14663
  ? deserializeAws_restJson1Mpeg2FilterSettings(output.filterSettings, context)
14660
14664
  : undefined,
14661
14665
  FixedAfd: __expectString(output.fixedAfd),
14662
- FramerateDenominator: __expectInt(output.framerateDenominator),
14663
- FramerateNumerator: __expectInt(output.framerateNumerator),
14664
- GopClosedCadence: __expectInt(output.gopClosedCadence),
14665
- GopNumBFrames: __expectInt(output.gopNumBFrames),
14666
- GopSize: __limitedParseFloat(output.gopSize),
14666
+ FramerateDenominator: __expectInt32(output.framerateDenominator),
14667
+ FramerateNumerator: __expectInt32(output.framerateNumerator),
14668
+ GopClosedCadence: __expectInt32(output.gopClosedCadence),
14669
+ GopNumBFrames: __expectInt32(output.gopNumBFrames),
14670
+ GopSize: __limitedParseDouble(output.gopSize),
14667
14671
  GopSizeUnits: __expectString(output.gopSizeUnits),
14668
14672
  ScanType: __expectString(output.scanType),
14669
14673
  SubgopLength: __expectString(output.subgopLength),
@@ -14676,7 +14680,7 @@ const deserializeAws_restJson1MsSmoothGroupSettings = (output: any, context: __S
14676
14680
  AcquisitionPointId: __expectString(output.acquisitionPointId),
14677
14681
  AudioOnlyTimecodeControl: __expectString(output.audioOnlyTimecodeControl),
14678
14682
  CertificateMode: __expectString(output.certificateMode),
14679
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
14683
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
14680
14684
  Destination:
14681
14685
  output.destination !== undefined && output.destination !== null
14682
14686
  ? deserializeAws_restJson1OutputLocationRef(output.destination, context)
@@ -14684,13 +14688,13 @@ const deserializeAws_restJson1MsSmoothGroupSettings = (output: any, context: __S
14684
14688
  EventId: __expectString(output.eventId),
14685
14689
  EventIdMode: __expectString(output.eventIdMode),
14686
14690
  EventStopBehavior: __expectString(output.eventStopBehavior),
14687
- FilecacheDuration: __expectInt(output.filecacheDuration),
14688
- FragmentLength: __expectInt(output.fragmentLength),
14691
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
14692
+ FragmentLength: __expectInt32(output.fragmentLength),
14689
14693
  InputLossAction: __expectString(output.inputLossAction),
14690
- NumRetries: __expectInt(output.numRetries),
14691
- RestartDelay: __expectInt(output.restartDelay),
14694
+ NumRetries: __expectInt32(output.numRetries),
14695
+ RestartDelay: __expectInt32(output.restartDelay),
14692
14696
  SegmentationMode: __expectString(output.segmentationMode),
14693
- SendDelayMs: __expectInt(output.sendDelayMs),
14697
+ SendDelayMs: __expectInt32(output.sendDelayMs),
14694
14698
  SparseTrackType: __expectString(output.sparseTrackType),
14695
14699
  StreamManifestBehavior: __expectString(output.streamManifestBehavior),
14696
14700
  TimestampOffset: __expectString(output.timestampOffset),
@@ -14725,8 +14729,8 @@ const deserializeAws_restJson1Multiplex = (output: any, context: __SerdeContext)
14725
14729
  ? deserializeAws_restJson1MultiplexSettings(output.multiplexSettings, context)
14726
14730
  : undefined,
14727
14731
  Name: __expectString(output.name),
14728
- PipelinesRunningCount: __expectInt(output.pipelinesRunningCount),
14729
- ProgramCount: __expectInt(output.programCount),
14732
+ PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
14733
+ ProgramCount: __expectInt32(output.programCount),
14730
14734
  State: __expectString(output.state),
14731
14735
  Tags:
14732
14736
  output.tags !== undefined && output.tags !== null
@@ -14817,23 +14821,23 @@ const deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap = (
14817
14821
  output.dvbSubPids !== undefined && output.dvbSubPids !== null
14818
14822
  ? deserializeAws_restJson1__listOf__integer(output.dvbSubPids, context)
14819
14823
  : undefined,
14820
- DvbTeletextPid: __expectInt(output.dvbTeletextPid),
14821
- EtvPlatformPid: __expectInt(output.etvPlatformPid),
14822
- EtvSignalPid: __expectInt(output.etvSignalPid),
14824
+ DvbTeletextPid: __expectInt32(output.dvbTeletextPid),
14825
+ EtvPlatformPid: __expectInt32(output.etvPlatformPid),
14826
+ EtvSignalPid: __expectInt32(output.etvSignalPid),
14823
14827
  KlvDataPids:
14824
14828
  output.klvDataPids !== undefined && output.klvDataPids !== null
14825
14829
  ? deserializeAws_restJson1__listOf__integer(output.klvDataPids, context)
14826
14830
  : undefined,
14827
- PcrPid: __expectInt(output.pcrPid),
14828
- PmtPid: __expectInt(output.pmtPid),
14829
- PrivateMetadataPid: __expectInt(output.privateMetadataPid),
14831
+ PcrPid: __expectInt32(output.pcrPid),
14832
+ PmtPid: __expectInt32(output.pmtPid),
14833
+ PrivateMetadataPid: __expectInt32(output.privateMetadataPid),
14830
14834
  Scte27Pids:
14831
14835
  output.scte27Pids !== undefined && output.scte27Pids !== null
14832
14836
  ? deserializeAws_restJson1__listOf__integer(output.scte27Pids, context)
14833
14837
  : undefined,
14834
- Scte35Pid: __expectInt(output.scte35Pid),
14835
- TimedMetadataPid: __expectInt(output.timedMetadataPid),
14836
- VideoPid: __expectInt(output.videoPid),
14838
+ Scte35Pid: __expectInt32(output.scte35Pid),
14839
+ TimedMetadataPid: __expectInt32(output.timedMetadataPid),
14840
+ VideoPid: __expectInt32(output.videoPid),
14837
14841
  } as any;
14838
14842
  };
14839
14843
 
@@ -14863,7 +14867,7 @@ const deserializeAws_restJson1MultiplexProgramSettings = (
14863
14867
  ): MultiplexProgramSettings => {
14864
14868
  return {
14865
14869
  PreferredChannelPipeline: __expectString(output.preferredChannelPipeline),
14866
- ProgramNumber: __expectInt(output.programNumber),
14870
+ ProgramNumber: __expectInt32(output.programNumber),
14867
14871
  ServiceDescriptor:
14868
14872
  output.serviceDescriptor !== undefined && output.serviceDescriptor !== null
14869
14873
  ? deserializeAws_restJson1MultiplexProgramServiceDescriptor(output.serviceDescriptor, context)
@@ -14887,10 +14891,10 @@ const deserializeAws_restJson1MultiplexProgramSummary = (
14887
14891
 
14888
14892
  const deserializeAws_restJson1MultiplexSettings = (output: any, context: __SerdeContext): MultiplexSettings => {
14889
14893
  return {
14890
- MaximumVideoBufferDelayMilliseconds: __expectInt(output.maximumVideoBufferDelayMilliseconds),
14891
- TransportStreamBitrate: __expectInt(output.transportStreamBitrate),
14892
- TransportStreamId: __expectInt(output.transportStreamId),
14893
- TransportStreamReservedBitrate: __expectInt(output.transportStreamReservedBitrate),
14894
+ MaximumVideoBufferDelayMilliseconds: __expectInt32(output.maximumVideoBufferDelayMilliseconds),
14895
+ TransportStreamBitrate: __expectInt32(output.transportStreamBitrate),
14896
+ TransportStreamId: __expectInt32(output.transportStreamId),
14897
+ TransportStreamReservedBitrate: __expectInt32(output.transportStreamReservedBitrate),
14894
14898
  } as any;
14895
14899
  };
14896
14900
 
@@ -14899,7 +14903,7 @@ const deserializeAws_restJson1MultiplexSettingsSummary = (
14899
14903
  context: __SerdeContext
14900
14904
  ): MultiplexSettingsSummary => {
14901
14905
  return {
14902
- TransportStreamBitrate: __expectInt(output.transportStreamBitrate),
14906
+ TransportStreamBitrate: __expectInt32(output.transportStreamBitrate),
14903
14907
  } as any;
14904
14908
  };
14905
14909
 
@@ -14908,9 +14912,9 @@ const deserializeAws_restJson1MultiplexStatmuxVideoSettings = (
14908
14912
  context: __SerdeContext
14909
14913
  ): MultiplexStatmuxVideoSettings => {
14910
14914
  return {
14911
- MaximumBitrate: __expectInt(output.maximumBitrate),
14912
- MinimumBitrate: __expectInt(output.minimumBitrate),
14913
- Priority: __expectInt(output.priority),
14915
+ MaximumBitrate: __expectInt32(output.maximumBitrate),
14916
+ MinimumBitrate: __expectInt32(output.minimumBitrate),
14917
+ Priority: __expectInt32(output.priority),
14914
14918
  } as any;
14915
14919
  };
14916
14920
 
@@ -14927,8 +14931,8 @@ const deserializeAws_restJson1MultiplexSummary = (output: any, context: __SerdeC
14927
14931
  ? deserializeAws_restJson1MultiplexSettingsSummary(output.multiplexSettings, context)
14928
14932
  : undefined,
14929
14933
  Name: __expectString(output.name),
14930
- PipelinesRunningCount: __expectInt(output.pipelinesRunningCount),
14931
- ProgramCount: __expectInt(output.programCount),
14934
+ PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
14935
+ ProgramCount: __expectInt32(output.programCount),
14932
14936
  State: __expectString(output.state),
14933
14937
  Tags:
14934
14938
  output.tags !== undefined && output.tags !== null
@@ -14942,7 +14946,7 @@ const deserializeAws_restJson1MultiplexVideoSettings = (
14942
14946
  context: __SerdeContext
14943
14947
  ): MultiplexVideoSettings => {
14944
14948
  return {
14945
- ConstantBitrate: __expectInt(output.constantBitrate),
14949
+ ConstantBitrate: __expectInt32(output.constantBitrate),
14946
14950
  StatmuxSettings:
14947
14951
  output.statmuxSettings !== undefined && output.statmuxSettings !== null
14948
14952
  ? deserializeAws_restJson1MultiplexStatmuxVideoSettings(output.statmuxSettings, context)
@@ -14971,9 +14975,9 @@ const deserializeAws_restJson1Offering = (output: any, context: __SerdeContext):
14971
14975
  return {
14972
14976
  Arn: __expectString(output.arn),
14973
14977
  CurrencyCode: __expectString(output.currencyCode),
14974
- Duration: __expectInt(output.duration),
14978
+ Duration: __expectInt32(output.duration),
14975
14979
  DurationUnits: __expectString(output.durationUnits),
14976
- FixedPrice: __limitedParseFloat(output.fixedPrice),
14980
+ FixedPrice: __limitedParseDouble(output.fixedPrice),
14977
14981
  OfferingDescription: __expectString(output.offeringDescription),
14978
14982
  OfferingId: __expectString(output.offeringId),
14979
14983
  OfferingType: __expectString(output.offeringType),
@@ -14982,7 +14986,7 @@ const deserializeAws_restJson1Offering = (output: any, context: __SerdeContext):
14982
14986
  output.resourceSpecification !== undefined && output.resourceSpecification !== null
14983
14987
  ? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
14984
14988
  : undefined,
14985
- UsagePrice: __limitedParseFloat(output.usagePrice),
14989
+ UsagePrice: __limitedParseDouble(output.usagePrice),
14986
14990
  } as any;
14987
14991
  };
14988
14992
 
@@ -15182,20 +15186,20 @@ const deserializeAws_restJson1RemixSettings = (output: any, context: __SerdeCont
15182
15186
  output.channelMappings !== undefined && output.channelMappings !== null
15183
15187
  ? deserializeAws_restJson1__listOfAudioChannelMapping(output.channelMappings, context)
15184
15188
  : undefined,
15185
- ChannelsIn: __expectInt(output.channelsIn),
15186
- ChannelsOut: __expectInt(output.channelsOut),
15189
+ ChannelsIn: __expectInt32(output.channelsIn),
15190
+ ChannelsOut: __expectInt32(output.channelsOut),
15187
15191
  } as any;
15188
15192
  };
15189
15193
 
15190
15194
  const deserializeAws_restJson1Reservation = (output: any, context: __SerdeContext): Reservation => {
15191
15195
  return {
15192
15196
  Arn: __expectString(output.arn),
15193
- Count: __expectInt(output.count),
15197
+ Count: __expectInt32(output.count),
15194
15198
  CurrencyCode: __expectString(output.currencyCode),
15195
- Duration: __expectInt(output.duration),
15199
+ Duration: __expectInt32(output.duration),
15196
15200
  DurationUnits: __expectString(output.durationUnits),
15197
15201
  End: __expectString(output.end),
15198
- FixedPrice: __limitedParseFloat(output.fixedPrice),
15202
+ FixedPrice: __limitedParseDouble(output.fixedPrice),
15199
15203
  Name: __expectString(output.name),
15200
15204
  OfferingDescription: __expectString(output.offeringDescription),
15201
15205
  OfferingId: __expectString(output.offeringId),
@@ -15212,7 +15216,7 @@ const deserializeAws_restJson1Reservation = (output: any, context: __SerdeContex
15212
15216
  output.tags !== undefined && output.tags !== null
15213
15217
  ? deserializeAws_restJson1Tags(output.tags, context)
15214
15218
  : undefined,
15215
- UsagePrice: __limitedParseFloat(output.usagePrice),
15219
+ UsagePrice: __limitedParseDouble(output.usagePrice),
15216
15220
  } as any;
15217
15221
  };
15218
15222
 
@@ -15247,22 +15251,22 @@ const deserializeAws_restJson1RtmpGroupSettings = (output: any, context: __Serde
15247
15251
  : undefined,
15248
15252
  AuthenticationScheme: __expectString(output.authenticationScheme),
15249
15253
  CacheFullBehavior: __expectString(output.cacheFullBehavior),
15250
- CacheLength: __expectInt(output.cacheLength),
15254
+ CacheLength: __expectInt32(output.cacheLength),
15251
15255
  CaptionData: __expectString(output.captionData),
15252
15256
  InputLossAction: __expectString(output.inputLossAction),
15253
- RestartDelay: __expectInt(output.restartDelay),
15257
+ RestartDelay: __expectInt32(output.restartDelay),
15254
15258
  } as any;
15255
15259
  };
15256
15260
 
15257
15261
  const deserializeAws_restJson1RtmpOutputSettings = (output: any, context: __SerdeContext): RtmpOutputSettings => {
15258
15262
  return {
15259
15263
  CertificateMode: __expectString(output.certificateMode),
15260
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
15264
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
15261
15265
  Destination:
15262
15266
  output.destination !== undefined && output.destination !== null
15263
15267
  ? deserializeAws_restJson1OutputLocationRef(output.destination, context)
15264
15268
  : undefined,
15265
- NumRetries: __expectInt(output.numRetries),
15269
+ NumRetries: __expectInt32(output.numRetries),
15266
15270
  } as any;
15267
15271
  };
15268
15272
 
@@ -15393,7 +15397,7 @@ const deserializeAws_restJson1Scte20PlusEmbeddedDestinationSettings = (
15393
15397
  const deserializeAws_restJson1Scte20SourceSettings = (output: any, context: __SerdeContext): Scte20SourceSettings => {
15394
15398
  return {
15395
15399
  Convert608To708: __expectString(output.convert608To708),
15396
- Source608ChannelNumber: __expectInt(output.source608ChannelNumber),
15400
+ Source608ChannelNumber: __expectInt32(output.source608ChannelNumber),
15397
15401
  } as any;
15398
15402
  };
15399
15403
 
@@ -15407,7 +15411,7 @@ const deserializeAws_restJson1Scte27DestinationSettings = (
15407
15411
  const deserializeAws_restJson1Scte27SourceSettings = (output: any, context: __SerdeContext): Scte27SourceSettings => {
15408
15412
  return {
15409
15413
  OcrLanguage: __expectString(output.ocrLanguage),
15410
- Pid: __expectInt(output.pid),
15414
+ Pid: __expectInt32(output.pid),
15411
15415
  } as any;
15412
15416
  };
15413
15417
 
@@ -15453,7 +15457,7 @@ const deserializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings = (
15453
15457
  context: __SerdeContext
15454
15458
  ): Scte35ReturnToNetworkScheduleActionSettings => {
15455
15459
  return {
15456
- SpliceEventId: __expectInt(output.spliceEventId),
15460
+ SpliceEventId: __expectLong(output.spliceEventId),
15457
15461
  } as any;
15458
15462
  };
15459
15463
 
@@ -15466,22 +15470,22 @@ const deserializeAws_restJson1Scte35SegmentationDescriptor = (
15466
15470
  output.deliveryRestrictions !== undefined && output.deliveryRestrictions !== null
15467
15471
  ? deserializeAws_restJson1Scte35DeliveryRestrictions(output.deliveryRestrictions, context)
15468
15472
  : undefined,
15469
- SegmentNum: __expectInt(output.segmentNum),
15473
+ SegmentNum: __expectInt32(output.segmentNum),
15470
15474
  SegmentationCancelIndicator: __expectString(output.segmentationCancelIndicator),
15471
- SegmentationDuration: __expectInt(output.segmentationDuration),
15472
- SegmentationEventId: __expectInt(output.segmentationEventId),
15473
- SegmentationTypeId: __expectInt(output.segmentationTypeId),
15475
+ SegmentationDuration: __expectLong(output.segmentationDuration),
15476
+ SegmentationEventId: __expectLong(output.segmentationEventId),
15477
+ SegmentationTypeId: __expectInt32(output.segmentationTypeId),
15474
15478
  SegmentationUpid: __expectString(output.segmentationUpid),
15475
- SegmentationUpidType: __expectInt(output.segmentationUpidType),
15476
- SegmentsExpected: __expectInt(output.segmentsExpected),
15477
- SubSegmentNum: __expectInt(output.subSegmentNum),
15478
- SubSegmentsExpected: __expectInt(output.subSegmentsExpected),
15479
+ SegmentationUpidType: __expectInt32(output.segmentationUpidType),
15480
+ SegmentsExpected: __expectInt32(output.segmentsExpected),
15481
+ SubSegmentNum: __expectInt32(output.subSegmentNum),
15482
+ SubSegmentsExpected: __expectInt32(output.subSegmentsExpected),
15479
15483
  } as any;
15480
15484
  };
15481
15485
 
15482
15486
  const deserializeAws_restJson1Scte35SpliceInsert = (output: any, context: __SerdeContext): Scte35SpliceInsert => {
15483
15487
  return {
15484
- AdAvailOffset: __expectInt(output.adAvailOffset),
15488
+ AdAvailOffset: __expectInt32(output.adAvailOffset),
15485
15489
  NoRegionalBlackoutFlag: __expectString(output.noRegionalBlackoutFlag),
15486
15490
  WebDeliveryAllowedFlag: __expectString(output.webDeliveryAllowedFlag),
15487
15491
  } as any;
@@ -15492,14 +15496,14 @@ const deserializeAws_restJson1Scte35SpliceInsertScheduleActionSettings = (
15492
15496
  context: __SerdeContext
15493
15497
  ): Scte35SpliceInsertScheduleActionSettings => {
15494
15498
  return {
15495
- Duration: __expectInt(output.duration),
15496
- SpliceEventId: __expectInt(output.spliceEventId),
15499
+ Duration: __expectLong(output.duration),
15500
+ SpliceEventId: __expectLong(output.spliceEventId),
15497
15501
  } as any;
15498
15502
  };
15499
15503
 
15500
15504
  const deserializeAws_restJson1Scte35TimeSignalApos = (output: any, context: __SerdeContext): Scte35TimeSignalApos => {
15501
15505
  return {
15502
- AdAvailOffset: __expectInt(output.adAvailOffset),
15506
+ AdAvailOffset: __expectInt32(output.adAvailOffset),
15503
15507
  NoRegionalBlackoutFlag: __expectString(output.noRegionalBlackoutFlag),
15504
15508
  WebDeliveryAllowedFlag: __expectString(output.webDeliveryAllowedFlag),
15505
15509
  } as any;
@@ -15545,19 +15549,19 @@ const deserializeAws_restJson1StaticImageActivateScheduleActionSettings = (
15545
15549
  context: __SerdeContext
15546
15550
  ): StaticImageActivateScheduleActionSettings => {
15547
15551
  return {
15548
- Duration: __expectInt(output.duration),
15549
- FadeIn: __expectInt(output.fadeIn),
15550
- FadeOut: __expectInt(output.fadeOut),
15551
- Height: __expectInt(output.height),
15552
+ Duration: __expectInt32(output.duration),
15553
+ FadeIn: __expectInt32(output.fadeIn),
15554
+ FadeOut: __expectInt32(output.fadeOut),
15555
+ Height: __expectInt32(output.height),
15552
15556
  Image:
15553
15557
  output.image !== undefined && output.image !== null
15554
15558
  ? deserializeAws_restJson1InputLocation(output.image, context)
15555
15559
  : undefined,
15556
- ImageX: __expectInt(output.imageX),
15557
- ImageY: __expectInt(output.imageY),
15558
- Layer: __expectInt(output.layer),
15559
- Opacity: __expectInt(output.opacity),
15560
- Width: __expectInt(output.width),
15560
+ ImageX: __expectInt32(output.imageX),
15561
+ ImageY: __expectInt32(output.imageY),
15562
+ Layer: __expectInt32(output.layer),
15563
+ Opacity: __expectInt32(output.opacity),
15564
+ Width: __expectInt32(output.width),
15561
15565
  } as any;
15562
15566
  };
15563
15567
 
@@ -15566,8 +15570,8 @@ const deserializeAws_restJson1StaticImageDeactivateScheduleActionSettings = (
15566
15570
  context: __SerdeContext
15567
15571
  ): StaticImageDeactivateScheduleActionSettings => {
15568
15572
  return {
15569
- FadeOut: __expectInt(output.fadeOut),
15570
- Layer: __expectInt(output.layer),
15573
+ FadeOut: __expectInt32(output.fadeOut),
15574
+ Layer: __expectInt32(output.layer),
15571
15575
  } as any;
15572
15576
  };
15573
15577
 
@@ -15633,7 +15637,7 @@ const deserializeAws_restJson1TemporalFilterSettings = (
15633
15637
  const deserializeAws_restJson1TimecodeConfig = (output: any, context: __SerdeContext): TimecodeConfig => {
15634
15638
  return {
15635
15639
  Source: __expectString(output.source),
15636
- SyncThreshold: __expectInt(output.syncThreshold),
15640
+ SyncThreshold: __expectInt32(output.syncThreshold),
15637
15641
  } as any;
15638
15642
  };
15639
15643
 
@@ -15671,13 +15675,13 @@ const deserializeAws_restJson1UdpGroupSettings = (output: any, context: __SerdeC
15671
15675
  return {
15672
15676
  InputLossAction: __expectString(output.inputLossAction),
15673
15677
  TimedMetadataId3Frame: __expectString(output.timedMetadataId3Frame),
15674
- TimedMetadataId3Period: __expectInt(output.timedMetadataId3Period),
15678
+ TimedMetadataId3Period: __expectInt32(output.timedMetadataId3Period),
15675
15679
  } as any;
15676
15680
  };
15677
15681
 
15678
15682
  const deserializeAws_restJson1UdpOutputSettings = (output: any, context: __SerdeContext): UdpOutputSettings => {
15679
15683
  return {
15680
- BufferMsec: __expectInt(output.bufferMsec),
15684
+ BufferMsec: __expectInt32(output.bufferMsec),
15681
15685
  ContainerSettings:
15682
15686
  output.containerSettings !== undefined && output.containerSettings !== null
15683
15687
  ? deserializeAws_restJson1UdpContainerSettings(output.containerSettings, context)
@@ -15705,8 +15709,8 @@ const deserializeAws_restJson1VideoBlackFailoverSettings = (
15705
15709
  context: __SerdeContext
15706
15710
  ): VideoBlackFailoverSettings => {
15707
15711
  return {
15708
- BlackDetectThreshold: __limitedParseFloat(output.blackDetectThreshold),
15709
- VideoBlackThresholdMsec: __expectInt(output.videoBlackThresholdMsec),
15712
+ BlackDetectThreshold: __limitedParseDouble(output.blackDetectThreshold),
15713
+ VideoBlackThresholdMsec: __expectInt32(output.videoBlackThresholdMsec),
15710
15714
  } as any;
15711
15715
  };
15712
15716
 
@@ -15737,12 +15741,12 @@ const deserializeAws_restJson1VideoDescription = (output: any, context: __SerdeC
15737
15741
  output.codecSettings !== undefined && output.codecSettings !== null
15738
15742
  ? deserializeAws_restJson1VideoCodecSettings(output.codecSettings, context)
15739
15743
  : undefined,
15740
- Height: __expectInt(output.height),
15744
+ Height: __expectInt32(output.height),
15741
15745
  Name: __expectString(output.name),
15742
15746
  RespondToAfd: __expectString(output.respondToAfd),
15743
15747
  ScalingBehavior: __expectString(output.scalingBehavior),
15744
- Sharpness: __expectInt(output.sharpness),
15745
- Width: __expectInt(output.width),
15748
+ Sharpness: __expectInt32(output.sharpness),
15749
+ Width: __expectInt32(output.width),
15746
15750
  } as any;
15747
15751
  };
15748
15752
 
@@ -15775,7 +15779,7 @@ const deserializeAws_restJson1VideoSelectorColorSpaceSettings = (
15775
15779
 
15776
15780
  const deserializeAws_restJson1VideoSelectorPid = (output: any, context: __SerdeContext): VideoSelectorPid => {
15777
15781
  return {
15778
- Pid: __expectInt(output.pid),
15782
+ Pid: __expectInt32(output.pid),
15779
15783
  } as any;
15780
15784
  };
15781
15785
 
@@ -15784,7 +15788,7 @@ const deserializeAws_restJson1VideoSelectorProgramId = (
15784
15788
  context: __SerdeContext
15785
15789
  ): VideoSelectorProgramId => {
15786
15790
  return {
15787
- ProgramId: __expectInt(output.programId),
15791
+ ProgramId: __expectInt32(output.programId),
15788
15792
  } as any;
15789
15793
  };
15790
15794
 
@@ -15827,9 +15831,9 @@ const deserializeAws_restJson1VpcOutputSettingsDescription = (
15827
15831
 
15828
15832
  const deserializeAws_restJson1WavSettings = (output: any, context: __SerdeContext): WavSettings => {
15829
15833
  return {
15830
- BitDepth: __limitedParseFloat(output.bitDepth),
15834
+ BitDepth: __limitedParseDouble(output.bitDepth),
15831
15835
  CodingMode: __expectString(output.codingMode),
15832
- SampleRate: __limitedParseFloat(output.sampleRate),
15836
+ SampleRate: __limitedParseDouble(output.sampleRate),
15833
15837
  } as any;
15834
15838
  };
15835
15839