@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.
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectInt as __expectInt, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseFloat as __limitedParseFloat, serializeFloat as __serializeFloat, strictParseInt as __strictParseInt, } from "@aws-sdk/smithy-client";
3
+ import { expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseDouble as __limitedParseDouble, parseRfc7231DateTime as __parseRfc7231DateTime, serializeFloat as __serializeFloat, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  export var serializeAws_restJson1AcceptInputDeviceTransferCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
6
6
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
@@ -1950,9 +1950,9 @@ var deserializeAws_restJson1AcceptInputDeviceTransferCommandError = function (ou
1950
1950
  });
1951
1951
  }); };
1952
1952
  export var deserializeAws_restJson1BatchDeleteCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1953
- var contents, data;
1954
- return __generator(this, function (_a) {
1955
- switch (_a.label) {
1953
+ var contents, data, _a, _b;
1954
+ return __generator(this, function (_c) {
1955
+ switch (_c.label) {
1956
1956
  case 0:
1957
1957
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1958
1958
  return [2 /*return*/, deserializeAws_restJson1BatchDeleteCommandError(output, context)];
@@ -1962,9 +1962,11 @@ export var deserializeAws_restJson1BatchDeleteCommand = function (output, contex
1962
1962
  Failed: undefined,
1963
1963
  Successful: undefined,
1964
1964
  };
1965
+ _a = __expectNonNull;
1966
+ _b = __expectObject;
1965
1967
  return [4 /*yield*/, parseBody(output.body, context)];
1966
1968
  case 1:
1967
- data = _a.sent();
1969
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1968
1970
  if (data.failed !== undefined && data.failed !== null) {
1969
1971
  contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
1970
1972
  }
@@ -2070,9 +2072,9 @@ var deserializeAws_restJson1BatchDeleteCommandError = function (output, context)
2070
2072
  });
2071
2073
  }); };
2072
2074
  export var deserializeAws_restJson1BatchStartCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2073
- var contents, data;
2074
- return __generator(this, function (_a) {
2075
- switch (_a.label) {
2075
+ var contents, data, _a, _b;
2076
+ return __generator(this, function (_c) {
2077
+ switch (_c.label) {
2076
2078
  case 0:
2077
2079
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2078
2080
  return [2 /*return*/, deserializeAws_restJson1BatchStartCommandError(output, context)];
@@ -2082,9 +2084,11 @@ export var deserializeAws_restJson1BatchStartCommand = function (output, context
2082
2084
  Failed: undefined,
2083
2085
  Successful: undefined,
2084
2086
  };
2087
+ _a = __expectNonNull;
2088
+ _b = __expectObject;
2085
2089
  return [4 /*yield*/, parseBody(output.body, context)];
2086
2090
  case 1:
2087
- data = _a.sent();
2091
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2088
2092
  if (data.failed !== undefined && data.failed !== null) {
2089
2093
  contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
2090
2094
  }
@@ -2190,9 +2194,9 @@ var deserializeAws_restJson1BatchStartCommandError = function (output, context)
2190
2194
  });
2191
2195
  }); };
2192
2196
  export var deserializeAws_restJson1BatchStopCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2193
- var contents, data;
2194
- return __generator(this, function (_a) {
2195
- switch (_a.label) {
2197
+ var contents, data, _a, _b;
2198
+ return __generator(this, function (_c) {
2199
+ switch (_c.label) {
2196
2200
  case 0:
2197
2201
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2198
2202
  return [2 /*return*/, deserializeAws_restJson1BatchStopCommandError(output, context)];
@@ -2202,9 +2206,11 @@ export var deserializeAws_restJson1BatchStopCommand = function (output, context)
2202
2206
  Failed: undefined,
2203
2207
  Successful: undefined,
2204
2208
  };
2209
+ _a = __expectNonNull;
2210
+ _b = __expectObject;
2205
2211
  return [4 /*yield*/, parseBody(output.body, context)];
2206
2212
  case 1:
2207
- data = _a.sent();
2213
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2208
2214
  if (data.failed !== undefined && data.failed !== null) {
2209
2215
  contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
2210
2216
  }
@@ -2310,9 +2316,9 @@ var deserializeAws_restJson1BatchStopCommandError = function (output, context) {
2310
2316
  });
2311
2317
  }); };
2312
2318
  export var deserializeAws_restJson1BatchUpdateScheduleCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2313
- var contents, data;
2314
- return __generator(this, function (_a) {
2315
- switch (_a.label) {
2319
+ var contents, data, _a, _b;
2320
+ return __generator(this, function (_c) {
2321
+ switch (_c.label) {
2316
2322
  case 0:
2317
2323
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2318
2324
  return [2 /*return*/, deserializeAws_restJson1BatchUpdateScheduleCommandError(output, context)];
@@ -2322,9 +2328,11 @@ export var deserializeAws_restJson1BatchUpdateScheduleCommand = function (output
2322
2328
  Creates: undefined,
2323
2329
  Deletes: undefined,
2324
2330
  };
2331
+ _a = __expectNonNull;
2332
+ _b = __expectObject;
2325
2333
  return [4 /*yield*/, parseBody(output.body, context)];
2326
2334
  case 1:
2327
- data = _a.sent();
2335
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2328
2336
  if (data.creates !== undefined && data.creates !== null) {
2329
2337
  contents.Creates = deserializeAws_restJson1BatchScheduleActionCreateResult(data.creates, context);
2330
2338
  }
@@ -2550,9 +2558,9 @@ var deserializeAws_restJson1CancelInputDeviceTransferCommandError = function (ou
2550
2558
  });
2551
2559
  }); };
2552
2560
  export var deserializeAws_restJson1CreateChannelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2553
- var contents, data;
2554
- return __generator(this, function (_a) {
2555
- switch (_a.label) {
2561
+ var contents, data, _a, _b;
2562
+ return __generator(this, function (_c) {
2563
+ switch (_c.label) {
2556
2564
  case 0:
2557
2565
  if (output.statusCode !== 201 && output.statusCode >= 300) {
2558
2566
  return [2 /*return*/, deserializeAws_restJson1CreateChannelCommandError(output, context)];
@@ -2561,9 +2569,11 @@ export var deserializeAws_restJson1CreateChannelCommand = function (output, cont
2561
2569
  $metadata: deserializeMetadata(output),
2562
2570
  Channel: undefined,
2563
2571
  };
2572
+ _a = __expectNonNull;
2573
+ _b = __expectObject;
2564
2574
  return [4 /*yield*/, parseBody(output.body, context)];
2565
2575
  case 1:
2566
- data = _a.sent();
2576
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2567
2577
  if (data.channel !== undefined && data.channel !== null) {
2568
2578
  contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
2569
2579
  }
@@ -2666,9 +2676,9 @@ var deserializeAws_restJson1CreateChannelCommandError = function (output, contex
2666
2676
  });
2667
2677
  }); };
2668
2678
  export var deserializeAws_restJson1CreateInputCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2669
- var contents, data;
2670
- return __generator(this, function (_a) {
2671
- switch (_a.label) {
2679
+ var contents, data, _a, _b;
2680
+ return __generator(this, function (_c) {
2681
+ switch (_c.label) {
2672
2682
  case 0:
2673
2683
  if (output.statusCode !== 201 && output.statusCode >= 300) {
2674
2684
  return [2 /*return*/, deserializeAws_restJson1CreateInputCommandError(output, context)];
@@ -2677,9 +2687,11 @@ export var deserializeAws_restJson1CreateInputCommand = function (output, contex
2677
2687
  $metadata: deserializeMetadata(output),
2678
2688
  Input: undefined,
2679
2689
  };
2690
+ _a = __expectNonNull;
2691
+ _b = __expectObject;
2680
2692
  return [4 /*yield*/, parseBody(output.body, context)];
2681
2693
  case 1:
2682
- data = _a.sent();
2694
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2683
2695
  if (data.input !== undefined && data.input !== null) {
2684
2696
  contents.Input = deserializeAws_restJson1Input(data.input, context);
2685
2697
  }
@@ -2766,9 +2778,9 @@ var deserializeAws_restJson1CreateInputCommandError = function (output, context)
2766
2778
  });
2767
2779
  }); };
2768
2780
  export var deserializeAws_restJson1CreateInputSecurityGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2769
- var contents, data;
2770
- return __generator(this, function (_a) {
2771
- switch (_a.label) {
2781
+ var contents, data, _a, _b;
2782
+ return __generator(this, function (_c) {
2783
+ switch (_c.label) {
2772
2784
  case 0:
2773
2785
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2774
2786
  return [2 /*return*/, deserializeAws_restJson1CreateInputSecurityGroupCommandError(output, context)];
@@ -2777,9 +2789,11 @@ export var deserializeAws_restJson1CreateInputSecurityGroupCommand = function (o
2777
2789
  $metadata: deserializeMetadata(output),
2778
2790
  SecurityGroup: undefined,
2779
2791
  };
2792
+ _a = __expectNonNull;
2793
+ _b = __expectObject;
2780
2794
  return [4 /*yield*/, parseBody(output.body, context)];
2781
2795
  case 1:
2782
- data = _a.sent();
2796
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2783
2797
  if (data.securityGroup !== undefined && data.securityGroup !== null) {
2784
2798
  contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
2785
2799
  }
@@ -2866,9 +2880,9 @@ var deserializeAws_restJson1CreateInputSecurityGroupCommandError = function (out
2866
2880
  });
2867
2881
  }); };
2868
2882
  export var deserializeAws_restJson1CreateMultiplexCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2869
- var contents, data;
2870
- return __generator(this, function (_a) {
2871
- switch (_a.label) {
2883
+ var contents, data, _a, _b;
2884
+ return __generator(this, function (_c) {
2885
+ switch (_c.label) {
2872
2886
  case 0:
2873
2887
  if (output.statusCode !== 201 && output.statusCode >= 300) {
2874
2888
  return [2 /*return*/, deserializeAws_restJson1CreateMultiplexCommandError(output, context)];
@@ -2877,9 +2891,11 @@ export var deserializeAws_restJson1CreateMultiplexCommand = function (output, co
2877
2891
  $metadata: deserializeMetadata(output),
2878
2892
  Multiplex: undefined,
2879
2893
  };
2894
+ _a = __expectNonNull;
2895
+ _b = __expectObject;
2880
2896
  return [4 /*yield*/, parseBody(output.body, context)];
2881
2897
  case 1:
2882
- data = _a.sent();
2898
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2883
2899
  if (data.multiplex !== undefined && data.multiplex !== null) {
2884
2900
  contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
2885
2901
  }
@@ -2982,9 +2998,9 @@ var deserializeAws_restJson1CreateMultiplexCommandError = function (output, cont
2982
2998
  });
2983
2999
  }); };
2984
3000
  export var deserializeAws_restJson1CreateMultiplexProgramCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2985
- var contents, data;
2986
- return __generator(this, function (_a) {
2987
- switch (_a.label) {
3001
+ var contents, data, _a, _b;
3002
+ return __generator(this, function (_c) {
3003
+ switch (_c.label) {
2988
3004
  case 0:
2989
3005
  if (output.statusCode !== 201 && output.statusCode >= 300) {
2990
3006
  return [2 /*return*/, deserializeAws_restJson1CreateMultiplexProgramCommandError(output, context)];
@@ -2993,9 +3009,11 @@ export var deserializeAws_restJson1CreateMultiplexProgramCommand = function (out
2993
3009
  $metadata: deserializeMetadata(output),
2994
3010
  MultiplexProgram: undefined,
2995
3011
  };
3012
+ _a = __expectNonNull;
3013
+ _b = __expectObject;
2996
3014
  return [4 /*yield*/, parseBody(output.body, context)];
2997
3015
  case 1:
2998
- data = _a.sent();
3016
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2999
3017
  if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
3000
3018
  contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
3001
3019
  }
@@ -3098,9 +3116,9 @@ var deserializeAws_restJson1CreateMultiplexProgramCommandError = function (outpu
3098
3116
  });
3099
3117
  }); };
3100
3118
  export var deserializeAws_restJson1CreatePartnerInputCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3101
- var contents, data;
3102
- return __generator(this, function (_a) {
3103
- switch (_a.label) {
3119
+ var contents, data, _a, _b;
3120
+ return __generator(this, function (_c) {
3121
+ switch (_c.label) {
3104
3122
  case 0:
3105
3123
  if (output.statusCode !== 201 && output.statusCode >= 300) {
3106
3124
  return [2 /*return*/, deserializeAws_restJson1CreatePartnerInputCommandError(output, context)];
@@ -3109,9 +3127,11 @@ export var deserializeAws_restJson1CreatePartnerInputCommand = function (output,
3109
3127
  $metadata: deserializeMetadata(output),
3110
3128
  Input: undefined,
3111
3129
  };
3130
+ _a = __expectNonNull;
3131
+ _b = __expectObject;
3112
3132
  return [4 /*yield*/, parseBody(output.body, context)];
3113
3133
  case 1:
3114
- data = _a.sent();
3134
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
3115
3135
  if (data.input !== undefined && data.input !== null) {
3116
3136
  contents.Input = deserializeAws_restJson1Input(data.input, context);
3117
3137
  }
@@ -3278,9 +3298,9 @@ var deserializeAws_restJson1CreateTagsCommandError = function (output, context)
3278
3298
  });
3279
3299
  }); };
3280
3300
  export var deserializeAws_restJson1DeleteChannelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3281
- var contents, data;
3282
- return __generator(this, function (_a) {
3283
- switch (_a.label) {
3301
+ var contents, data, _a, _b;
3302
+ return __generator(this, function (_c) {
3303
+ switch (_c.label) {
3284
3304
  case 0:
3285
3305
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3286
3306
  return [2 /*return*/, deserializeAws_restJson1DeleteChannelCommandError(output, context)];
@@ -3305,9 +3325,11 @@ export var deserializeAws_restJson1DeleteChannelCommand = function (output, cont
3305
3325
  Tags: undefined,
3306
3326
  Vpc: undefined,
3307
3327
  };
3328
+ _a = __expectNonNull;
3329
+ _b = __expectObject;
3308
3330
  return [4 /*yield*/, parseBody(output.body, context)];
3309
3331
  case 1:
3310
- data = _a.sent();
3332
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
3311
3333
  if (data.arn !== undefined && data.arn !== null) {
3312
3334
  contents.Arn = __expectString(data.arn);
3313
3335
  }
@@ -3345,7 +3367,7 @@ export var deserializeAws_restJson1DeleteChannelCommand = function (output, cont
3345
3367
  contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
3346
3368
  }
3347
3369
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
3348
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
3370
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
3349
3371
  }
3350
3372
  if (data.roleArn !== undefined && data.roleArn !== null) {
3351
3373
  contents.RoleArn = __expectString(data.roleArn);
@@ -3674,9 +3696,9 @@ var deserializeAws_restJson1DeleteInputSecurityGroupCommandError = function (out
3674
3696
  });
3675
3697
  }); };
3676
3698
  export var deserializeAws_restJson1DeleteMultiplexCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3677
- var contents, data;
3678
- return __generator(this, function (_a) {
3679
- switch (_a.label) {
3699
+ var contents, data, _a, _b;
3700
+ return __generator(this, function (_c) {
3701
+ switch (_c.label) {
3680
3702
  case 0:
3681
3703
  if (output.statusCode !== 202 && output.statusCode >= 300) {
3682
3704
  return [2 /*return*/, deserializeAws_restJson1DeleteMultiplexCommandError(output, context)];
@@ -3694,9 +3716,11 @@ export var deserializeAws_restJson1DeleteMultiplexCommand = function (output, co
3694
3716
  State: undefined,
3695
3717
  Tags: undefined,
3696
3718
  };
3719
+ _a = __expectNonNull;
3720
+ _b = __expectObject;
3697
3721
  return [4 /*yield*/, parseBody(output.body, context)];
3698
3722
  case 1:
3699
- data = _a.sent();
3723
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
3700
3724
  if (data.arn !== undefined && data.arn !== null) {
3701
3725
  contents.Arn = __expectString(data.arn);
3702
3726
  }
@@ -3716,10 +3740,10 @@ export var deserializeAws_restJson1DeleteMultiplexCommand = function (output, co
3716
3740
  contents.Name = __expectString(data.name);
3717
3741
  }
3718
3742
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
3719
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
3743
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
3720
3744
  }
3721
3745
  if (data.programCount !== undefined && data.programCount !== null) {
3722
- contents.ProgramCount = __expectInt(data.programCount);
3746
+ contents.ProgramCount = __expectInt32(data.programCount);
3723
3747
  }
3724
3748
  if (data.state !== undefined && data.state !== null) {
3725
3749
  contents.State = __expectString(data.state);
@@ -3826,9 +3850,9 @@ var deserializeAws_restJson1DeleteMultiplexCommandError = function (output, cont
3826
3850
  });
3827
3851
  }); };
3828
3852
  export var deserializeAws_restJson1DeleteMultiplexProgramCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3829
- var contents, data;
3830
- return __generator(this, function (_a) {
3831
- switch (_a.label) {
3853
+ var contents, data, _a, _b;
3854
+ return __generator(this, function (_c) {
3855
+ switch (_c.label) {
3832
3856
  case 0:
3833
3857
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3834
3858
  return [2 /*return*/, deserializeAws_restJson1DeleteMultiplexProgramCommandError(output, context)];
@@ -3841,9 +3865,11 @@ export var deserializeAws_restJson1DeleteMultiplexProgramCommand = function (out
3841
3865
  PipelineDetails: undefined,
3842
3866
  ProgramName: undefined,
3843
3867
  };
3868
+ _a = __expectNonNull;
3869
+ _b = __expectObject;
3844
3870
  return [4 /*yield*/, parseBody(output.body, context)];
3845
3871
  case 1:
3846
- data = _a.sent();
3872
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
3847
3873
  if (data.channelId !== undefined && data.channelId !== null) {
3848
3874
  contents.ChannelId = __expectString(data.channelId);
3849
3875
  }
@@ -3958,9 +3984,9 @@ var deserializeAws_restJson1DeleteMultiplexProgramCommandError = function (outpu
3958
3984
  });
3959
3985
  }); };
3960
3986
  export var deserializeAws_restJson1DeleteReservationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3961
- var contents, data;
3962
- return __generator(this, function (_a) {
3963
- switch (_a.label) {
3987
+ var contents, data, _a, _b;
3988
+ return __generator(this, function (_c) {
3989
+ switch (_c.label) {
3964
3990
  case 0:
3965
3991
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3966
3992
  return [2 /*return*/, deserializeAws_restJson1DeleteReservationCommandError(output, context)];
@@ -3986,20 +4012,22 @@ export var deserializeAws_restJson1DeleteReservationCommand = function (output,
3986
4012
  Tags: undefined,
3987
4013
  UsagePrice: undefined,
3988
4014
  };
4015
+ _a = __expectNonNull;
4016
+ _b = __expectObject;
3989
4017
  return [4 /*yield*/, parseBody(output.body, context)];
3990
4018
  case 1:
3991
- data = _a.sent();
4019
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
3992
4020
  if (data.arn !== undefined && data.arn !== null) {
3993
4021
  contents.Arn = __expectString(data.arn);
3994
4022
  }
3995
4023
  if (data.count !== undefined && data.count !== null) {
3996
- contents.Count = __expectInt(data.count);
4024
+ contents.Count = __expectInt32(data.count);
3997
4025
  }
3998
4026
  if (data.currencyCode !== undefined && data.currencyCode !== null) {
3999
4027
  contents.CurrencyCode = __expectString(data.currencyCode);
4000
4028
  }
4001
4029
  if (data.duration !== undefined && data.duration !== null) {
4002
- contents.Duration = __expectInt(data.duration);
4030
+ contents.Duration = __expectInt32(data.duration);
4003
4031
  }
4004
4032
  if (data.durationUnits !== undefined && data.durationUnits !== null) {
4005
4033
  contents.DurationUnits = __expectString(data.durationUnits);
@@ -4008,7 +4036,7 @@ export var deserializeAws_restJson1DeleteReservationCommand = function (output,
4008
4036
  contents.End = __expectString(data.end);
4009
4037
  }
4010
4038
  if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
4011
- contents.FixedPrice = __limitedParseFloat(data.fixedPrice);
4039
+ contents.FixedPrice = __limitedParseDouble(data.fixedPrice);
4012
4040
  }
4013
4041
  if (data.name !== undefined && data.name !== null) {
4014
4042
  contents.Name = __expectString(data.name);
@@ -4041,7 +4069,7 @@ export var deserializeAws_restJson1DeleteReservationCommand = function (output,
4041
4069
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
4042
4070
  }
4043
4071
  if (data.usagePrice !== undefined && data.usagePrice !== null) {
4044
- contents.UsagePrice = __limitedParseFloat(data.usagePrice);
4072
+ contents.UsagePrice = __limitedParseDouble(data.usagePrice);
4045
4073
  }
4046
4074
  return [2 /*return*/, Promise.resolve(contents)];
4047
4075
  }
@@ -4326,9 +4354,9 @@ var deserializeAws_restJson1DeleteTagsCommandError = function (output, context)
4326
4354
  });
4327
4355
  }); };
4328
4356
  export var deserializeAws_restJson1DescribeChannelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4329
- var contents, data;
4330
- return __generator(this, function (_a) {
4331
- switch (_a.label) {
4357
+ var contents, data, _a, _b;
4358
+ return __generator(this, function (_c) {
4359
+ switch (_c.label) {
4332
4360
  case 0:
4333
4361
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4334
4362
  return [2 /*return*/, deserializeAws_restJson1DescribeChannelCommandError(output, context)];
@@ -4353,9 +4381,11 @@ export var deserializeAws_restJson1DescribeChannelCommand = function (output, co
4353
4381
  Tags: undefined,
4354
4382
  Vpc: undefined,
4355
4383
  };
4384
+ _a = __expectNonNull;
4385
+ _b = __expectObject;
4356
4386
  return [4 /*yield*/, parseBody(output.body, context)];
4357
4387
  case 1:
4358
- data = _a.sent();
4388
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
4359
4389
  if (data.arn !== undefined && data.arn !== null) {
4360
4390
  contents.Arn = __expectString(data.arn);
4361
4391
  }
@@ -4393,7 +4423,7 @@ export var deserializeAws_restJson1DescribeChannelCommand = function (output, co
4393
4423
  contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
4394
4424
  }
4395
4425
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
4396
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
4426
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
4397
4427
  }
4398
4428
  if (data.roleArn !== undefined && data.roleArn !== null) {
4399
4429
  contents.RoleArn = __expectString(data.roleArn);
@@ -4498,9 +4528,9 @@ var deserializeAws_restJson1DescribeChannelCommandError = function (output, cont
4498
4528
  });
4499
4529
  }); };
4500
4530
  export var deserializeAws_restJson1DescribeInputCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4501
- var contents, data;
4502
- return __generator(this, function (_a) {
4503
- switch (_a.label) {
4531
+ var contents, data, _a, _b;
4532
+ return __generator(this, function (_c) {
4533
+ switch (_c.label) {
4504
4534
  case 0:
4505
4535
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4506
4536
  return [2 /*return*/, deserializeAws_restJson1DescribeInputCommandError(output, context)];
@@ -4524,9 +4554,11 @@ export var deserializeAws_restJson1DescribeInputCommand = function (output, cont
4524
4554
  Tags: undefined,
4525
4555
  Type: undefined,
4526
4556
  };
4557
+ _a = __expectNonNull;
4558
+ _b = __expectObject;
4527
4559
  return [4 /*yield*/, parseBody(output.body, context)];
4528
4560
  case 1:
4529
- data = _a.sent();
4561
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
4530
4562
  if (data.arn !== undefined && data.arn !== null) {
4531
4563
  contents.Arn = __expectString(data.arn);
4532
4564
  }
@@ -4666,9 +4698,9 @@ var deserializeAws_restJson1DescribeInputCommandError = function (output, contex
4666
4698
  });
4667
4699
  }); };
4668
4700
  export var deserializeAws_restJson1DescribeInputDeviceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4669
- var contents, data;
4670
- return __generator(this, function (_a) {
4671
- switch (_a.label) {
4701
+ var contents, data, _a, _b;
4702
+ return __generator(this, function (_c) {
4703
+ switch (_c.label) {
4672
4704
  case 0:
4673
4705
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4674
4706
  return [2 /*return*/, deserializeAws_restJson1DescribeInputDeviceCommandError(output, context)];
@@ -4688,9 +4720,11 @@ export var deserializeAws_restJson1DescribeInputDeviceCommand = function (output
4688
4720
  Type: undefined,
4689
4721
  UhdDeviceSettings: undefined,
4690
4722
  };
4723
+ _a = __expectNonNull;
4724
+ _b = __expectObject;
4691
4725
  return [4 /*yield*/, parseBody(output.body, context)];
4692
4726
  case 1:
4693
- data = _a.sent();
4727
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
4694
4728
  if (data.arn !== undefined && data.arn !== null) {
4695
4729
  contents.Arn = __expectString(data.arn);
4696
4730
  }
@@ -4835,13 +4869,13 @@ export var deserializeAws_restJson1DescribeInputDeviceThumbnailCommand = functio
4835
4869
  contents.ContentType = output.headers["content-type"];
4836
4870
  }
4837
4871
  if (output.headers["content-length"] !== undefined) {
4838
- contents.ContentLength = __strictParseInt(output.headers["content-length"]);
4872
+ contents.ContentLength = __strictParseLong(output.headers["content-length"]);
4839
4873
  }
4840
4874
  if (output.headers["etag"] !== undefined) {
4841
4875
  contents.ETag = output.headers["etag"];
4842
4876
  }
4843
4877
  if (output.headers["last-modified"] !== undefined) {
4844
- contents.LastModified = new Date(output.headers["last-modified"]);
4878
+ contents.LastModified = __expectNonNull(__parseRfc7231DateTime(output.headers["last-modified"]));
4845
4879
  }
4846
4880
  data = output.body;
4847
4881
  contents.Body = data;
@@ -4935,9 +4969,9 @@ var deserializeAws_restJson1DescribeInputDeviceThumbnailCommandError = function
4935
4969
  });
4936
4970
  }); };
4937
4971
  export var deserializeAws_restJson1DescribeInputSecurityGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4938
- var contents, data;
4939
- return __generator(this, function (_a) {
4940
- switch (_a.label) {
4972
+ var contents, data, _a, _b;
4973
+ return __generator(this, function (_c) {
4974
+ switch (_c.label) {
4941
4975
  case 0:
4942
4976
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4943
4977
  return [2 /*return*/, deserializeAws_restJson1DescribeInputSecurityGroupCommandError(output, context)];
@@ -4951,9 +4985,11 @@ export var deserializeAws_restJson1DescribeInputSecurityGroupCommand = function
4951
4985
  Tags: undefined,
4952
4986
  WhitelistRules: undefined,
4953
4987
  };
4988
+ _a = __expectNonNull;
4989
+ _b = __expectObject;
4954
4990
  return [4 /*yield*/, parseBody(output.body, context)];
4955
4991
  case 1:
4956
- data = _a.sent();
4992
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
4957
4993
  if (data.arn !== undefined && data.arn !== null) {
4958
4994
  contents.Arn = __expectString(data.arn);
4959
4995
  }
@@ -5063,9 +5099,9 @@ var deserializeAws_restJson1DescribeInputSecurityGroupCommandError = function (o
5063
5099
  });
5064
5100
  }); };
5065
5101
  export var deserializeAws_restJson1DescribeMultiplexCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
5066
- var contents, data;
5067
- return __generator(this, function (_a) {
5068
- switch (_a.label) {
5102
+ var contents, data, _a, _b;
5103
+ return __generator(this, function (_c) {
5104
+ switch (_c.label) {
5069
5105
  case 0:
5070
5106
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5071
5107
  return [2 /*return*/, deserializeAws_restJson1DescribeMultiplexCommandError(output, context)];
@@ -5083,9 +5119,11 @@ export var deserializeAws_restJson1DescribeMultiplexCommand = function (output,
5083
5119
  State: undefined,
5084
5120
  Tags: undefined,
5085
5121
  };
5122
+ _a = __expectNonNull;
5123
+ _b = __expectObject;
5086
5124
  return [4 /*yield*/, parseBody(output.body, context)];
5087
5125
  case 1:
5088
- data = _a.sent();
5126
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
5089
5127
  if (data.arn !== undefined && data.arn !== null) {
5090
5128
  contents.Arn = __expectString(data.arn);
5091
5129
  }
@@ -5105,10 +5143,10 @@ export var deserializeAws_restJson1DescribeMultiplexCommand = function (output,
5105
5143
  contents.Name = __expectString(data.name);
5106
5144
  }
5107
5145
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
5108
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
5146
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
5109
5147
  }
5110
5148
  if (data.programCount !== undefined && data.programCount !== null) {
5111
- contents.ProgramCount = __expectInt(data.programCount);
5149
+ contents.ProgramCount = __expectInt32(data.programCount);
5112
5150
  }
5113
5151
  if (data.state !== undefined && data.state !== null) {
5114
5152
  contents.State = __expectString(data.state);
@@ -5207,9 +5245,9 @@ var deserializeAws_restJson1DescribeMultiplexCommandError = function (output, co
5207
5245
  });
5208
5246
  }); };
5209
5247
  export var deserializeAws_restJson1DescribeMultiplexProgramCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
5210
- var contents, data;
5211
- return __generator(this, function (_a) {
5212
- switch (_a.label) {
5248
+ var contents, data, _a, _b;
5249
+ return __generator(this, function (_c) {
5250
+ switch (_c.label) {
5213
5251
  case 0:
5214
5252
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5215
5253
  return [2 /*return*/, deserializeAws_restJson1DescribeMultiplexProgramCommandError(output, context)];
@@ -5222,9 +5260,11 @@ export var deserializeAws_restJson1DescribeMultiplexProgramCommand = function (o
5222
5260
  PipelineDetails: undefined,
5223
5261
  ProgramName: undefined,
5224
5262
  };
5263
+ _a = __expectNonNull;
5264
+ _b = __expectObject;
5225
5265
  return [4 /*yield*/, parseBody(output.body, context)];
5226
5266
  case 1:
5227
- data = _a.sent();
5267
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
5228
5268
  if (data.channelId !== undefined && data.channelId !== null) {
5229
5269
  contents.ChannelId = __expectString(data.channelId);
5230
5270
  }
@@ -5331,9 +5371,9 @@ var deserializeAws_restJson1DescribeMultiplexProgramCommandError = function (out
5331
5371
  });
5332
5372
  }); };
5333
5373
  export var deserializeAws_restJson1DescribeOfferingCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
5334
- var contents, data;
5335
- return __generator(this, function (_a) {
5336
- switch (_a.label) {
5374
+ var contents, data, _a, _b;
5375
+ return __generator(this, function (_c) {
5376
+ switch (_c.label) {
5337
5377
  case 0:
5338
5378
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5339
5379
  return [2 /*return*/, deserializeAws_restJson1DescribeOfferingCommandError(output, context)];
@@ -5352,9 +5392,11 @@ export var deserializeAws_restJson1DescribeOfferingCommand = function (output, c
5352
5392
  ResourceSpecification: undefined,
5353
5393
  UsagePrice: undefined,
5354
5394
  };
5395
+ _a = __expectNonNull;
5396
+ _b = __expectObject;
5355
5397
  return [4 /*yield*/, parseBody(output.body, context)];
5356
5398
  case 1:
5357
- data = _a.sent();
5399
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
5358
5400
  if (data.arn !== undefined && data.arn !== null) {
5359
5401
  contents.Arn = __expectString(data.arn);
5360
5402
  }
@@ -5362,13 +5404,13 @@ export var deserializeAws_restJson1DescribeOfferingCommand = function (output, c
5362
5404
  contents.CurrencyCode = __expectString(data.currencyCode);
5363
5405
  }
5364
5406
  if (data.duration !== undefined && data.duration !== null) {
5365
- contents.Duration = __expectInt(data.duration);
5407
+ contents.Duration = __expectInt32(data.duration);
5366
5408
  }
5367
5409
  if (data.durationUnits !== undefined && data.durationUnits !== null) {
5368
5410
  contents.DurationUnits = __expectString(data.durationUnits);
5369
5411
  }
5370
5412
  if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
5371
- contents.FixedPrice = __limitedParseFloat(data.fixedPrice);
5413
+ contents.FixedPrice = __limitedParseDouble(data.fixedPrice);
5372
5414
  }
5373
5415
  if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
5374
5416
  contents.OfferingDescription = __expectString(data.offeringDescription);
@@ -5386,7 +5428,7 @@ export var deserializeAws_restJson1DescribeOfferingCommand = function (output, c
5386
5428
  contents.ResourceSpecification = deserializeAws_restJson1ReservationResourceSpecification(data.resourceSpecification, context);
5387
5429
  }
5388
5430
  if (data.usagePrice !== undefined && data.usagePrice !== null) {
5389
- contents.UsagePrice = __limitedParseFloat(data.usagePrice);
5431
+ contents.UsagePrice = __limitedParseDouble(data.usagePrice);
5390
5432
  }
5391
5433
  return [2 /*return*/, Promise.resolve(contents)];
5392
5434
  }
@@ -5479,9 +5521,9 @@ var deserializeAws_restJson1DescribeOfferingCommandError = function (output, con
5479
5521
  });
5480
5522
  }); };
5481
5523
  export var deserializeAws_restJson1DescribeReservationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
5482
- var contents, data;
5483
- return __generator(this, function (_a) {
5484
- switch (_a.label) {
5524
+ var contents, data, _a, _b;
5525
+ return __generator(this, function (_c) {
5526
+ switch (_c.label) {
5485
5527
  case 0:
5486
5528
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5487
5529
  return [2 /*return*/, deserializeAws_restJson1DescribeReservationCommandError(output, context)];
@@ -5507,20 +5549,22 @@ export var deserializeAws_restJson1DescribeReservationCommand = function (output
5507
5549
  Tags: undefined,
5508
5550
  UsagePrice: undefined,
5509
5551
  };
5552
+ _a = __expectNonNull;
5553
+ _b = __expectObject;
5510
5554
  return [4 /*yield*/, parseBody(output.body, context)];
5511
5555
  case 1:
5512
- data = _a.sent();
5556
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
5513
5557
  if (data.arn !== undefined && data.arn !== null) {
5514
5558
  contents.Arn = __expectString(data.arn);
5515
5559
  }
5516
5560
  if (data.count !== undefined && data.count !== null) {
5517
- contents.Count = __expectInt(data.count);
5561
+ contents.Count = __expectInt32(data.count);
5518
5562
  }
5519
5563
  if (data.currencyCode !== undefined && data.currencyCode !== null) {
5520
5564
  contents.CurrencyCode = __expectString(data.currencyCode);
5521
5565
  }
5522
5566
  if (data.duration !== undefined && data.duration !== null) {
5523
- contents.Duration = __expectInt(data.duration);
5567
+ contents.Duration = __expectInt32(data.duration);
5524
5568
  }
5525
5569
  if (data.durationUnits !== undefined && data.durationUnits !== null) {
5526
5570
  contents.DurationUnits = __expectString(data.durationUnits);
@@ -5529,7 +5573,7 @@ export var deserializeAws_restJson1DescribeReservationCommand = function (output
5529
5573
  contents.End = __expectString(data.end);
5530
5574
  }
5531
5575
  if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
5532
- contents.FixedPrice = __limitedParseFloat(data.fixedPrice);
5576
+ contents.FixedPrice = __limitedParseDouble(data.fixedPrice);
5533
5577
  }
5534
5578
  if (data.name !== undefined && data.name !== null) {
5535
5579
  contents.Name = __expectString(data.name);
@@ -5562,7 +5606,7 @@ export var deserializeAws_restJson1DescribeReservationCommand = function (output
5562
5606
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
5563
5607
  }
5564
5608
  if (data.usagePrice !== undefined && data.usagePrice !== null) {
5565
- contents.UsagePrice = __limitedParseFloat(data.usagePrice);
5609
+ contents.UsagePrice = __limitedParseDouble(data.usagePrice);
5566
5610
  }
5567
5611
  return [2 /*return*/, Promise.resolve(contents)];
5568
5612
  }
@@ -5655,9 +5699,9 @@ var deserializeAws_restJson1DescribeReservationCommandError = function (output,
5655
5699
  });
5656
5700
  }); };
5657
5701
  export var deserializeAws_restJson1DescribeScheduleCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
5658
- var contents, data;
5659
- return __generator(this, function (_a) {
5660
- switch (_a.label) {
5702
+ var contents, data, _a, _b;
5703
+ return __generator(this, function (_c) {
5704
+ switch (_c.label) {
5661
5705
  case 0:
5662
5706
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5663
5707
  return [2 /*return*/, deserializeAws_restJson1DescribeScheduleCommandError(output, context)];
@@ -5667,9 +5711,11 @@ export var deserializeAws_restJson1DescribeScheduleCommand = function (output, c
5667
5711
  NextToken: undefined,
5668
5712
  ScheduleActions: undefined,
5669
5713
  };
5714
+ _a = __expectNonNull;
5715
+ _b = __expectObject;
5670
5716
  return [4 /*yield*/, parseBody(output.body, context)];
5671
5717
  case 1:
5672
- data = _a.sent();
5718
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
5673
5719
  if (data.nextToken !== undefined && data.nextToken !== null) {
5674
5720
  contents.NextToken = __expectString(data.nextToken);
5675
5721
  }
@@ -5767,9 +5813,9 @@ var deserializeAws_restJson1DescribeScheduleCommandError = function (output, con
5767
5813
  });
5768
5814
  }); };
5769
5815
  export var deserializeAws_restJson1ListChannelsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
5770
- var contents, data;
5771
- return __generator(this, function (_a) {
5772
- switch (_a.label) {
5816
+ var contents, data, _a, _b;
5817
+ return __generator(this, function (_c) {
5818
+ switch (_c.label) {
5773
5819
  case 0:
5774
5820
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5775
5821
  return [2 /*return*/, deserializeAws_restJson1ListChannelsCommandError(output, context)];
@@ -5779,9 +5825,11 @@ export var deserializeAws_restJson1ListChannelsCommand = function (output, conte
5779
5825
  Channels: undefined,
5780
5826
  NextToken: undefined,
5781
5827
  };
5828
+ _a = __expectNonNull;
5829
+ _b = __expectObject;
5782
5830
  return [4 /*yield*/, parseBody(output.body, context)];
5783
5831
  case 1:
5784
- data = _a.sent();
5832
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
5785
5833
  if (data.channels !== undefined && data.channels !== null) {
5786
5834
  contents.Channels = deserializeAws_restJson1__listOfChannelSummary(data.channels, context);
5787
5835
  }
@@ -5871,9 +5919,9 @@ var deserializeAws_restJson1ListChannelsCommandError = function (output, context
5871
5919
  });
5872
5920
  }); };
5873
5921
  export var deserializeAws_restJson1ListInputDevicesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
5874
- var contents, data;
5875
- return __generator(this, function (_a) {
5876
- switch (_a.label) {
5922
+ var contents, data, _a, _b;
5923
+ return __generator(this, function (_c) {
5924
+ switch (_c.label) {
5877
5925
  case 0:
5878
5926
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5879
5927
  return [2 /*return*/, deserializeAws_restJson1ListInputDevicesCommandError(output, context)];
@@ -5883,9 +5931,11 @@ export var deserializeAws_restJson1ListInputDevicesCommand = function (output, c
5883
5931
  InputDevices: undefined,
5884
5932
  NextToken: undefined,
5885
5933
  };
5934
+ _a = __expectNonNull;
5935
+ _b = __expectObject;
5886
5936
  return [4 /*yield*/, parseBody(output.body, context)];
5887
5937
  case 1:
5888
- data = _a.sent();
5938
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
5889
5939
  if (data.inputDevices !== undefined && data.inputDevices !== null) {
5890
5940
  contents.InputDevices = deserializeAws_restJson1__listOfInputDeviceSummary(data.inputDevices, context);
5891
5941
  }
@@ -5975,9 +6025,9 @@ var deserializeAws_restJson1ListInputDevicesCommandError = function (output, con
5975
6025
  });
5976
6026
  }); };
5977
6027
  export var deserializeAws_restJson1ListInputDeviceTransfersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
5978
- var contents, data;
5979
- return __generator(this, function (_a) {
5980
- switch (_a.label) {
6028
+ var contents, data, _a, _b;
6029
+ return __generator(this, function (_c) {
6030
+ switch (_c.label) {
5981
6031
  case 0:
5982
6032
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5983
6033
  return [2 /*return*/, deserializeAws_restJson1ListInputDeviceTransfersCommandError(output, context)];
@@ -5987,9 +6037,11 @@ export var deserializeAws_restJson1ListInputDeviceTransfersCommand = function (o
5987
6037
  InputDeviceTransfers: undefined,
5988
6038
  NextToken: undefined,
5989
6039
  };
6040
+ _a = __expectNonNull;
6041
+ _b = __expectObject;
5990
6042
  return [4 /*yield*/, parseBody(output.body, context)];
5991
6043
  case 1:
5992
- data = _a.sent();
6044
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
5993
6045
  if (data.inputDeviceTransfers !== undefined && data.inputDeviceTransfers !== null) {
5994
6046
  contents.InputDeviceTransfers = deserializeAws_restJson1__listOfTransferringInputDeviceSummary(data.inputDeviceTransfers, context);
5995
6047
  }
@@ -6087,9 +6139,9 @@ var deserializeAws_restJson1ListInputDeviceTransfersCommandError = function (out
6087
6139
  });
6088
6140
  }); };
6089
6141
  export var deserializeAws_restJson1ListInputsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6090
- var contents, data;
6091
- return __generator(this, function (_a) {
6092
- switch (_a.label) {
6142
+ var contents, data, _a, _b;
6143
+ return __generator(this, function (_c) {
6144
+ switch (_c.label) {
6093
6145
  case 0:
6094
6146
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6095
6147
  return [2 /*return*/, deserializeAws_restJson1ListInputsCommandError(output, context)];
@@ -6099,9 +6151,11 @@ export var deserializeAws_restJson1ListInputsCommand = function (output, context
6099
6151
  Inputs: undefined,
6100
6152
  NextToken: undefined,
6101
6153
  };
6154
+ _a = __expectNonNull;
6155
+ _b = __expectObject;
6102
6156
  return [4 /*yield*/, parseBody(output.body, context)];
6103
6157
  case 1:
6104
- data = _a.sent();
6158
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6105
6159
  if (data.inputs !== undefined && data.inputs !== null) {
6106
6160
  contents.Inputs = deserializeAws_restJson1__listOfInput(data.inputs, context);
6107
6161
  }
@@ -6191,9 +6245,9 @@ var deserializeAws_restJson1ListInputsCommandError = function (output, context)
6191
6245
  });
6192
6246
  }); };
6193
6247
  export var deserializeAws_restJson1ListInputSecurityGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6194
- var contents, data;
6195
- return __generator(this, function (_a) {
6196
- switch (_a.label) {
6248
+ var contents, data, _a, _b;
6249
+ return __generator(this, function (_c) {
6250
+ switch (_c.label) {
6197
6251
  case 0:
6198
6252
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6199
6253
  return [2 /*return*/, deserializeAws_restJson1ListInputSecurityGroupsCommandError(output, context)];
@@ -6203,9 +6257,11 @@ export var deserializeAws_restJson1ListInputSecurityGroupsCommand = function (ou
6203
6257
  InputSecurityGroups: undefined,
6204
6258
  NextToken: undefined,
6205
6259
  };
6260
+ _a = __expectNonNull;
6261
+ _b = __expectObject;
6206
6262
  return [4 /*yield*/, parseBody(output.body, context)];
6207
6263
  case 1:
6208
- data = _a.sent();
6264
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6209
6265
  if (data.inputSecurityGroups !== undefined && data.inputSecurityGroups !== null) {
6210
6266
  contents.InputSecurityGroups = deserializeAws_restJson1__listOfInputSecurityGroup(data.inputSecurityGroups, context);
6211
6267
  }
@@ -6295,9 +6351,9 @@ var deserializeAws_restJson1ListInputSecurityGroupsCommandError = function (outp
6295
6351
  });
6296
6352
  }); };
6297
6353
  export var deserializeAws_restJson1ListMultiplexesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6298
- var contents, data;
6299
- return __generator(this, function (_a) {
6300
- switch (_a.label) {
6354
+ var contents, data, _a, _b;
6355
+ return __generator(this, function (_c) {
6356
+ switch (_c.label) {
6301
6357
  case 0:
6302
6358
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6303
6359
  return [2 /*return*/, deserializeAws_restJson1ListMultiplexesCommandError(output, context)];
@@ -6307,9 +6363,11 @@ export var deserializeAws_restJson1ListMultiplexesCommand = function (output, co
6307
6363
  Multiplexes: undefined,
6308
6364
  NextToken: undefined,
6309
6365
  };
6366
+ _a = __expectNonNull;
6367
+ _b = __expectObject;
6310
6368
  return [4 /*yield*/, parseBody(output.body, context)];
6311
6369
  case 1:
6312
- data = _a.sent();
6370
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6313
6371
  if (data.multiplexes !== undefined && data.multiplexes !== null) {
6314
6372
  contents.Multiplexes = deserializeAws_restJson1__listOfMultiplexSummary(data.multiplexes, context);
6315
6373
  }
@@ -6399,9 +6457,9 @@ var deserializeAws_restJson1ListMultiplexesCommandError = function (output, cont
6399
6457
  });
6400
6458
  }); };
6401
6459
  export var deserializeAws_restJson1ListMultiplexProgramsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6402
- var contents, data;
6403
- return __generator(this, function (_a) {
6404
- switch (_a.label) {
6460
+ var contents, data, _a, _b;
6461
+ return __generator(this, function (_c) {
6462
+ switch (_c.label) {
6405
6463
  case 0:
6406
6464
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6407
6465
  return [2 /*return*/, deserializeAws_restJson1ListMultiplexProgramsCommandError(output, context)];
@@ -6411,9 +6469,11 @@ export var deserializeAws_restJson1ListMultiplexProgramsCommand = function (outp
6411
6469
  MultiplexPrograms: undefined,
6412
6470
  NextToken: undefined,
6413
6471
  };
6472
+ _a = __expectNonNull;
6473
+ _b = __expectObject;
6414
6474
  return [4 /*yield*/, parseBody(output.body, context)];
6415
6475
  case 1:
6416
- data = _a.sent();
6476
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6417
6477
  if (data.multiplexPrograms !== undefined && data.multiplexPrograms !== null) {
6418
6478
  contents.MultiplexPrograms = deserializeAws_restJson1__listOfMultiplexProgramSummary(data.multiplexPrograms, context);
6419
6479
  }
@@ -6511,9 +6571,9 @@ var deserializeAws_restJson1ListMultiplexProgramsCommandError = function (output
6511
6571
  });
6512
6572
  }); };
6513
6573
  export var deserializeAws_restJson1ListOfferingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6514
- var contents, data;
6515
- return __generator(this, function (_a) {
6516
- switch (_a.label) {
6574
+ var contents, data, _a, _b;
6575
+ return __generator(this, function (_c) {
6576
+ switch (_c.label) {
6517
6577
  case 0:
6518
6578
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6519
6579
  return [2 /*return*/, deserializeAws_restJson1ListOfferingsCommandError(output, context)];
@@ -6523,9 +6583,11 @@ export var deserializeAws_restJson1ListOfferingsCommand = function (output, cont
6523
6583
  NextToken: undefined,
6524
6584
  Offerings: undefined,
6525
6585
  };
6586
+ _a = __expectNonNull;
6587
+ _b = __expectObject;
6526
6588
  return [4 /*yield*/, parseBody(output.body, context)];
6527
6589
  case 1:
6528
- data = _a.sent();
6590
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6529
6591
  if (data.nextToken !== undefined && data.nextToken !== null) {
6530
6592
  contents.NextToken = __expectString(data.nextToken);
6531
6593
  }
@@ -6615,9 +6677,9 @@ var deserializeAws_restJson1ListOfferingsCommandError = function (output, contex
6615
6677
  });
6616
6678
  }); };
6617
6679
  export var deserializeAws_restJson1ListReservationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6618
- var contents, data;
6619
- return __generator(this, function (_a) {
6620
- switch (_a.label) {
6680
+ var contents, data, _a, _b;
6681
+ return __generator(this, function (_c) {
6682
+ switch (_c.label) {
6621
6683
  case 0:
6622
6684
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6623
6685
  return [2 /*return*/, deserializeAws_restJson1ListReservationsCommandError(output, context)];
@@ -6627,9 +6689,11 @@ export var deserializeAws_restJson1ListReservationsCommand = function (output, c
6627
6689
  NextToken: undefined,
6628
6690
  Reservations: undefined,
6629
6691
  };
6692
+ _a = __expectNonNull;
6693
+ _b = __expectObject;
6630
6694
  return [4 /*yield*/, parseBody(output.body, context)];
6631
6695
  case 1:
6632
- data = _a.sent();
6696
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6633
6697
  if (data.nextToken !== undefined && data.nextToken !== null) {
6634
6698
  contents.NextToken = __expectString(data.nextToken);
6635
6699
  }
@@ -6719,9 +6783,9 @@ var deserializeAws_restJson1ListReservationsCommandError = function (output, con
6719
6783
  });
6720
6784
  }); };
6721
6785
  export var deserializeAws_restJson1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6722
- var contents, data;
6723
- return __generator(this, function (_a) {
6724
- switch (_a.label) {
6786
+ var contents, data, _a, _b;
6787
+ return __generator(this, function (_c) {
6788
+ switch (_c.label) {
6725
6789
  case 0:
6726
6790
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6727
6791
  return [2 /*return*/, deserializeAws_restJson1ListTagsForResourceCommandError(output, context)];
@@ -6730,9 +6794,11 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
6730
6794
  $metadata: deserializeMetadata(output),
6731
6795
  Tags: undefined,
6732
6796
  };
6797
+ _a = __expectNonNull;
6798
+ _b = __expectObject;
6733
6799
  return [4 /*yield*/, parseBody(output.body, context)];
6734
6800
  case 1:
6735
- data = _a.sent();
6801
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6736
6802
  if (data.tags !== undefined && data.tags !== null) {
6737
6803
  contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
6738
6804
  }
@@ -6803,9 +6869,9 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
6803
6869
  });
6804
6870
  }); };
6805
6871
  export var deserializeAws_restJson1PurchaseOfferingCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6806
- var contents, data;
6807
- return __generator(this, function (_a) {
6808
- switch (_a.label) {
6872
+ var contents, data, _a, _b;
6873
+ return __generator(this, function (_c) {
6874
+ switch (_c.label) {
6809
6875
  case 0:
6810
6876
  if (output.statusCode !== 201 && output.statusCode >= 300) {
6811
6877
  return [2 /*return*/, deserializeAws_restJson1PurchaseOfferingCommandError(output, context)];
@@ -6814,9 +6880,11 @@ export var deserializeAws_restJson1PurchaseOfferingCommand = function (output, c
6814
6880
  $metadata: deserializeMetadata(output),
6815
6881
  Reservation: undefined,
6816
6882
  };
6883
+ _a = __expectNonNull;
6884
+ _b = __expectObject;
6817
6885
  return [4 /*yield*/, parseBody(output.body, context)];
6818
6886
  case 1:
6819
- data = _a.sent();
6887
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6820
6888
  if (data.reservation !== undefined && data.reservation !== null) {
6821
6889
  contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
6822
6890
  }
@@ -7039,9 +7107,9 @@ var deserializeAws_restJson1RejectInputDeviceTransferCommandError = function (ou
7039
7107
  });
7040
7108
  }); };
7041
7109
  export var deserializeAws_restJson1StartChannelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
7042
- var contents, data;
7043
- return __generator(this, function (_a) {
7044
- switch (_a.label) {
7110
+ var contents, data, _a, _b;
7111
+ return __generator(this, function (_c) {
7112
+ switch (_c.label) {
7045
7113
  case 0:
7046
7114
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7047
7115
  return [2 /*return*/, deserializeAws_restJson1StartChannelCommandError(output, context)];
@@ -7066,9 +7134,11 @@ export var deserializeAws_restJson1StartChannelCommand = function (output, conte
7066
7134
  Tags: undefined,
7067
7135
  Vpc: undefined,
7068
7136
  };
7137
+ _a = __expectNonNull;
7138
+ _b = __expectObject;
7069
7139
  return [4 /*yield*/, parseBody(output.body, context)];
7070
7140
  case 1:
7071
- data = _a.sent();
7141
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
7072
7142
  if (data.arn !== undefined && data.arn !== null) {
7073
7143
  contents.Arn = __expectString(data.arn);
7074
7144
  }
@@ -7106,7 +7176,7 @@ export var deserializeAws_restJson1StartChannelCommand = function (output, conte
7106
7176
  contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
7107
7177
  }
7108
7178
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
7109
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
7179
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
7110
7180
  }
7111
7181
  if (data.roleArn !== undefined && data.roleArn !== null) {
7112
7182
  contents.RoleArn = __expectString(data.roleArn);
@@ -7219,9 +7289,9 @@ var deserializeAws_restJson1StartChannelCommandError = function (output, context
7219
7289
  });
7220
7290
  }); };
7221
7291
  export var deserializeAws_restJson1StartMultiplexCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
7222
- var contents, data;
7223
- return __generator(this, function (_a) {
7224
- switch (_a.label) {
7292
+ var contents, data, _a, _b;
7293
+ return __generator(this, function (_c) {
7294
+ switch (_c.label) {
7225
7295
  case 0:
7226
7296
  if (output.statusCode !== 202 && output.statusCode >= 300) {
7227
7297
  return [2 /*return*/, deserializeAws_restJson1StartMultiplexCommandError(output, context)];
@@ -7239,9 +7309,11 @@ export var deserializeAws_restJson1StartMultiplexCommand = function (output, con
7239
7309
  State: undefined,
7240
7310
  Tags: undefined,
7241
7311
  };
7312
+ _a = __expectNonNull;
7313
+ _b = __expectObject;
7242
7314
  return [4 /*yield*/, parseBody(output.body, context)];
7243
7315
  case 1:
7244
- data = _a.sent();
7316
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
7245
7317
  if (data.arn !== undefined && data.arn !== null) {
7246
7318
  contents.Arn = __expectString(data.arn);
7247
7319
  }
@@ -7261,10 +7333,10 @@ export var deserializeAws_restJson1StartMultiplexCommand = function (output, con
7261
7333
  contents.Name = __expectString(data.name);
7262
7334
  }
7263
7335
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
7264
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
7336
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
7265
7337
  }
7266
7338
  if (data.programCount !== undefined && data.programCount !== null) {
7267
- contents.ProgramCount = __expectInt(data.programCount);
7339
+ contents.ProgramCount = __expectInt32(data.programCount);
7268
7340
  }
7269
7341
  if (data.state !== undefined && data.state !== null) {
7270
7342
  contents.State = __expectString(data.state);
@@ -7371,9 +7443,9 @@ var deserializeAws_restJson1StartMultiplexCommandError = function (output, conte
7371
7443
  });
7372
7444
  }); };
7373
7445
  export var deserializeAws_restJson1StopChannelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
7374
- var contents, data;
7375
- return __generator(this, function (_a) {
7376
- switch (_a.label) {
7446
+ var contents, data, _a, _b;
7447
+ return __generator(this, function (_c) {
7448
+ switch (_c.label) {
7377
7449
  case 0:
7378
7450
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7379
7451
  return [2 /*return*/, deserializeAws_restJson1StopChannelCommandError(output, context)];
@@ -7398,9 +7470,11 @@ export var deserializeAws_restJson1StopChannelCommand = function (output, contex
7398
7470
  Tags: undefined,
7399
7471
  Vpc: undefined,
7400
7472
  };
7473
+ _a = __expectNonNull;
7474
+ _b = __expectObject;
7401
7475
  return [4 /*yield*/, parseBody(output.body, context)];
7402
7476
  case 1:
7403
- data = _a.sent();
7477
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
7404
7478
  if (data.arn !== undefined && data.arn !== null) {
7405
7479
  contents.Arn = __expectString(data.arn);
7406
7480
  }
@@ -7438,7 +7512,7 @@ export var deserializeAws_restJson1StopChannelCommand = function (output, contex
7438
7512
  contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
7439
7513
  }
7440
7514
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
7441
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
7515
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
7442
7516
  }
7443
7517
  if (data.roleArn !== undefined && data.roleArn !== null) {
7444
7518
  contents.RoleArn = __expectString(data.roleArn);
@@ -7551,9 +7625,9 @@ var deserializeAws_restJson1StopChannelCommandError = function (output, context)
7551
7625
  });
7552
7626
  }); };
7553
7627
  export var deserializeAws_restJson1StopMultiplexCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
7554
- var contents, data;
7555
- return __generator(this, function (_a) {
7556
- switch (_a.label) {
7628
+ var contents, data, _a, _b;
7629
+ return __generator(this, function (_c) {
7630
+ switch (_c.label) {
7557
7631
  case 0:
7558
7632
  if (output.statusCode !== 202 && output.statusCode >= 300) {
7559
7633
  return [2 /*return*/, deserializeAws_restJson1StopMultiplexCommandError(output, context)];
@@ -7571,9 +7645,11 @@ export var deserializeAws_restJson1StopMultiplexCommand = function (output, cont
7571
7645
  State: undefined,
7572
7646
  Tags: undefined,
7573
7647
  };
7648
+ _a = __expectNonNull;
7649
+ _b = __expectObject;
7574
7650
  return [4 /*yield*/, parseBody(output.body, context)];
7575
7651
  case 1:
7576
- data = _a.sent();
7652
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
7577
7653
  if (data.arn !== undefined && data.arn !== null) {
7578
7654
  contents.Arn = __expectString(data.arn);
7579
7655
  }
@@ -7593,10 +7669,10 @@ export var deserializeAws_restJson1StopMultiplexCommand = function (output, cont
7593
7669
  contents.Name = __expectString(data.name);
7594
7670
  }
7595
7671
  if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
7596
- contents.PipelinesRunningCount = __expectInt(data.pipelinesRunningCount);
7672
+ contents.PipelinesRunningCount = __expectInt32(data.pipelinesRunningCount);
7597
7673
  }
7598
7674
  if (data.programCount !== undefined && data.programCount !== null) {
7599
- contents.ProgramCount = __expectInt(data.programCount);
7675
+ contents.ProgramCount = __expectInt32(data.programCount);
7600
7676
  }
7601
7677
  if (data.state !== undefined && data.state !== null) {
7602
7678
  contents.State = __expectString(data.state);
@@ -7823,9 +7899,9 @@ var deserializeAws_restJson1TransferInputDeviceCommandError = function (output,
7823
7899
  });
7824
7900
  }); };
7825
7901
  export var deserializeAws_restJson1UpdateChannelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
7826
- var contents, data;
7827
- return __generator(this, function (_a) {
7828
- switch (_a.label) {
7902
+ var contents, data, _a, _b;
7903
+ return __generator(this, function (_c) {
7904
+ switch (_c.label) {
7829
7905
  case 0:
7830
7906
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7831
7907
  return [2 /*return*/, deserializeAws_restJson1UpdateChannelCommandError(output, context)];
@@ -7834,9 +7910,11 @@ export var deserializeAws_restJson1UpdateChannelCommand = function (output, cont
7834
7910
  $metadata: deserializeMetadata(output),
7835
7911
  Channel: undefined,
7836
7912
  };
7913
+ _a = __expectNonNull;
7914
+ _b = __expectObject;
7837
7915
  return [4 /*yield*/, parseBody(output.body, context)];
7838
7916
  case 1:
7839
- data = _a.sent();
7917
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
7840
7918
  if (data.channel !== undefined && data.channel !== null) {
7841
7919
  contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
7842
7920
  }
@@ -7931,9 +8009,9 @@ var deserializeAws_restJson1UpdateChannelCommandError = function (output, contex
7931
8009
  });
7932
8010
  }); };
7933
8011
  export var deserializeAws_restJson1UpdateChannelClassCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
7934
- var contents, data;
7935
- return __generator(this, function (_a) {
7936
- switch (_a.label) {
8012
+ var contents, data, _a, _b;
8013
+ return __generator(this, function (_c) {
8014
+ switch (_c.label) {
7937
8015
  case 0:
7938
8016
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7939
8017
  return [2 /*return*/, deserializeAws_restJson1UpdateChannelClassCommandError(output, context)];
@@ -7942,9 +8020,11 @@ export var deserializeAws_restJson1UpdateChannelClassCommand = function (output,
7942
8020
  $metadata: deserializeMetadata(output),
7943
8021
  Channel: undefined,
7944
8022
  };
8023
+ _a = __expectNonNull;
8024
+ _b = __expectObject;
7945
8025
  return [4 /*yield*/, parseBody(output.body, context)];
7946
8026
  case 1:
7947
- data = _a.sent();
8027
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
7948
8028
  if (data.channel !== undefined && data.channel !== null) {
7949
8029
  contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
7950
8030
  }
@@ -8055,9 +8135,9 @@ var deserializeAws_restJson1UpdateChannelClassCommandError = function (output, c
8055
8135
  });
8056
8136
  }); };
8057
8137
  export var deserializeAws_restJson1UpdateInputCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
8058
- var contents, data;
8059
- return __generator(this, function (_a) {
8060
- switch (_a.label) {
8138
+ var contents, data, _a, _b;
8139
+ return __generator(this, function (_c) {
8140
+ switch (_c.label) {
8061
8141
  case 0:
8062
8142
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8063
8143
  return [2 /*return*/, deserializeAws_restJson1UpdateInputCommandError(output, context)];
@@ -8066,9 +8146,11 @@ export var deserializeAws_restJson1UpdateInputCommand = function (output, contex
8066
8146
  $metadata: deserializeMetadata(output),
8067
8147
  Input: undefined,
8068
8148
  };
8149
+ _a = __expectNonNull;
8150
+ _b = __expectObject;
8069
8151
  return [4 /*yield*/, parseBody(output.body, context)];
8070
8152
  case 1:
8071
- data = _a.sent();
8153
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
8072
8154
  if (data.input !== undefined && data.input !== null) {
8073
8155
  contents.Input = deserializeAws_restJson1Input(data.input, context);
8074
8156
  }
@@ -8163,9 +8245,9 @@ var deserializeAws_restJson1UpdateInputCommandError = function (output, context)
8163
8245
  });
8164
8246
  }); };
8165
8247
  export var deserializeAws_restJson1UpdateInputDeviceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
8166
- var contents, data;
8167
- return __generator(this, function (_a) {
8168
- switch (_a.label) {
8248
+ var contents, data, _a, _b;
8249
+ return __generator(this, function (_c) {
8250
+ switch (_c.label) {
8169
8251
  case 0:
8170
8252
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8171
8253
  return [2 /*return*/, deserializeAws_restJson1UpdateInputDeviceCommandError(output, context)];
@@ -8185,9 +8267,11 @@ export var deserializeAws_restJson1UpdateInputDeviceCommand = function (output,
8185
8267
  Type: undefined,
8186
8268
  UhdDeviceSettings: undefined,
8187
8269
  };
8270
+ _a = __expectNonNull;
8271
+ _b = __expectObject;
8188
8272
  return [4 /*yield*/, parseBody(output.body, context)];
8189
8273
  case 1:
8190
- data = _a.sent();
8274
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
8191
8275
  if (data.arn !== undefined && data.arn !== null) {
8192
8276
  contents.Arn = __expectString(data.arn);
8193
8277
  }
@@ -8323,9 +8407,9 @@ var deserializeAws_restJson1UpdateInputDeviceCommandError = function (output, co
8323
8407
  });
8324
8408
  }); };
8325
8409
  export var deserializeAws_restJson1UpdateInputSecurityGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
8326
- var contents, data;
8327
- return __generator(this, function (_a) {
8328
- switch (_a.label) {
8410
+ var contents, data, _a, _b;
8411
+ return __generator(this, function (_c) {
8412
+ switch (_c.label) {
8329
8413
  case 0:
8330
8414
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8331
8415
  return [2 /*return*/, deserializeAws_restJson1UpdateInputSecurityGroupCommandError(output, context)];
@@ -8334,9 +8418,11 @@ export var deserializeAws_restJson1UpdateInputSecurityGroupCommand = function (o
8334
8418
  $metadata: deserializeMetadata(output),
8335
8419
  SecurityGroup: undefined,
8336
8420
  };
8421
+ _a = __expectNonNull;
8422
+ _b = __expectObject;
8337
8423
  return [4 /*yield*/, parseBody(output.body, context)];
8338
8424
  case 1:
8339
- data = _a.sent();
8425
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
8340
8426
  if (data.securityGroup !== undefined && data.securityGroup !== null) {
8341
8427
  contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
8342
8428
  }
@@ -8431,9 +8517,9 @@ var deserializeAws_restJson1UpdateInputSecurityGroupCommandError = function (out
8431
8517
  });
8432
8518
  }); };
8433
8519
  export var deserializeAws_restJson1UpdateMultiplexCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
8434
- var contents, data;
8435
- return __generator(this, function (_a) {
8436
- switch (_a.label) {
8520
+ var contents, data, _a, _b;
8521
+ return __generator(this, function (_c) {
8522
+ switch (_c.label) {
8437
8523
  case 0:
8438
8524
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8439
8525
  return [2 /*return*/, deserializeAws_restJson1UpdateMultiplexCommandError(output, context)];
@@ -8442,9 +8528,11 @@ export var deserializeAws_restJson1UpdateMultiplexCommand = function (output, co
8442
8528
  $metadata: deserializeMetadata(output),
8443
8529
  Multiplex: undefined,
8444
8530
  };
8531
+ _a = __expectNonNull;
8532
+ _b = __expectObject;
8445
8533
  return [4 /*yield*/, parseBody(output.body, context)];
8446
8534
  case 1:
8447
- data = _a.sent();
8535
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
8448
8536
  if (data.multiplex !== undefined && data.multiplex !== null) {
8449
8537
  contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
8450
8538
  }
@@ -8547,9 +8635,9 @@ var deserializeAws_restJson1UpdateMultiplexCommandError = function (output, cont
8547
8635
  });
8548
8636
  }); };
8549
8637
  export var deserializeAws_restJson1UpdateMultiplexProgramCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
8550
- var contents, data;
8551
- return __generator(this, function (_a) {
8552
- switch (_a.label) {
8638
+ var contents, data, _a, _b;
8639
+ return __generator(this, function (_c) {
8640
+ switch (_c.label) {
8553
8641
  case 0:
8554
8642
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8555
8643
  return [2 /*return*/, deserializeAws_restJson1UpdateMultiplexProgramCommandError(output, context)];
@@ -8558,9 +8646,11 @@ export var deserializeAws_restJson1UpdateMultiplexProgramCommand = function (out
8558
8646
  $metadata: deserializeMetadata(output),
8559
8647
  MultiplexProgram: undefined,
8560
8648
  };
8649
+ _a = __expectNonNull;
8650
+ _b = __expectObject;
8561
8651
  return [4 /*yield*/, parseBody(output.body, context)];
8562
8652
  case 1:
8563
- data = _a.sent();
8653
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
8564
8654
  if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
8565
8655
  contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
8566
8656
  }
@@ -8663,9 +8753,9 @@ var deserializeAws_restJson1UpdateMultiplexProgramCommandError = function (outpu
8663
8753
  });
8664
8754
  }); };
8665
8755
  export var deserializeAws_restJson1UpdateReservationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
8666
- var contents, data;
8667
- return __generator(this, function (_a) {
8668
- switch (_a.label) {
8756
+ var contents, data, _a, _b;
8757
+ return __generator(this, function (_c) {
8758
+ switch (_c.label) {
8669
8759
  case 0:
8670
8760
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8671
8761
  return [2 /*return*/, deserializeAws_restJson1UpdateReservationCommandError(output, context)];
@@ -8674,9 +8764,11 @@ export var deserializeAws_restJson1UpdateReservationCommand = function (output,
8674
8764
  $metadata: deserializeMetadata(output),
8675
8765
  Reservation: undefined,
8676
8766
  };
8767
+ _a = __expectNonNull;
8768
+ _b = __expectObject;
8677
8769
  return [4 /*yield*/, parseBody(output.body, context)];
8678
8770
  case 1:
8679
- data = _a.sent();
8771
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
8680
8772
  if (data.reservation !== undefined && data.reservation !== null) {
8681
8773
  contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
8682
8774
  }
@@ -10589,7 +10681,7 @@ var deserializeAws_restJson1__listOf__integer = function (output, context) {
10589
10681
  if (entry === null) {
10590
10682
  return null;
10591
10683
  }
10592
- return __expectInt(entry);
10684
+ return __expectInt32(entry);
10593
10685
  });
10594
10686
  };
10595
10687
  var deserializeAws_restJson1__listOf__string = function (output, context) {
@@ -11024,23 +11116,23 @@ var deserializeAws_restJson1__listOfVideoDescription = function (output, context
11024
11116
  };
11025
11117
  var deserializeAws_restJson1AacSettings = function (output, context) {
11026
11118
  return {
11027
- Bitrate: __limitedParseFloat(output.bitrate),
11119
+ Bitrate: __limitedParseDouble(output.bitrate),
11028
11120
  CodingMode: __expectString(output.codingMode),
11029
11121
  InputType: __expectString(output.inputType),
11030
11122
  Profile: __expectString(output.profile),
11031
11123
  RateControlMode: __expectString(output.rateControlMode),
11032
11124
  RawFormat: __expectString(output.rawFormat),
11033
- SampleRate: __limitedParseFloat(output.sampleRate),
11125
+ SampleRate: __limitedParseDouble(output.sampleRate),
11034
11126
  Spec: __expectString(output.spec),
11035
11127
  VbrQuality: __expectString(output.vbrQuality),
11036
11128
  };
11037
11129
  };
11038
11130
  var deserializeAws_restJson1Ac3Settings = function (output, context) {
11039
11131
  return {
11040
- Bitrate: __limitedParseFloat(output.bitrate),
11132
+ Bitrate: __limitedParseDouble(output.bitrate),
11041
11133
  BitstreamMode: __expectString(output.bitstreamMode),
11042
11134
  CodingMode: __expectString(output.codingMode),
11043
- Dialnorm: __expectInt(output.dialnorm),
11135
+ Dialnorm: __expectInt32(output.dialnorm),
11044
11136
  DrcProfile: __expectString(output.drcProfile),
11045
11137
  LfeFilter: __expectString(output.lfeFilter),
11046
11138
  MetadataControl: __expectString(output.metadataControl),
@@ -11048,7 +11140,7 @@ var deserializeAws_restJson1Ac3Settings = function (output, context) {
11048
11140
  };
11049
11141
  var deserializeAws_restJson1AncillarySourceSettings = function (output, context) {
11050
11142
  return {
11051
- SourceAncillaryChannelNumber: __expectInt(output.sourceAncillaryChannelNumber),
11143
+ SourceAncillaryChannelNumber: __expectInt32(output.sourceAncillaryChannelNumber),
11052
11144
  };
11053
11145
  };
11054
11146
  var deserializeAws_restJson1ArchiveCdnSettings = function (output, context) {
@@ -11076,7 +11168,7 @@ var deserializeAws_restJson1ArchiveGroupSettings = function (output, context) {
11076
11168
  Destination: output.destination !== undefined && output.destination !== null
11077
11169
  ? deserializeAws_restJson1OutputLocationRef(output.destination, context)
11078
11170
  : undefined,
11079
- RolloverInterval: __expectInt(output.rolloverInterval),
11171
+ RolloverInterval: __expectInt32(output.rolloverInterval),
11080
11172
  };
11081
11173
  };
11082
11174
  var deserializeAws_restJson1ArchiveOutputSettings = function (output, context) {
@@ -11104,7 +11196,7 @@ var deserializeAws_restJson1AudioChannelMapping = function (output, context) {
11104
11196
  InputChannelLevels: output.inputChannelLevels !== undefined && output.inputChannelLevels !== null
11105
11197
  ? deserializeAws_restJson1__listOfInputChannelLevel(output.inputChannelLevels, context)
11106
11198
  : undefined,
11107
- OutputChannel: __expectInt(output.outputChannel),
11199
+ OutputChannel: __expectInt32(output.outputChannel),
11108
11200
  };
11109
11201
  };
11110
11202
  var deserializeAws_restJson1AudioCodecSettings = function (output, context) {
@@ -11165,7 +11257,7 @@ var deserializeAws_restJson1AudioNormalizationSettings = function (output, conte
11165
11257
  return {
11166
11258
  Algorithm: __expectString(output.algorithm),
11167
11259
  AlgorithmControl: __expectString(output.algorithmControl),
11168
- TargetLkfs: __limitedParseFloat(output.targetLkfs),
11260
+ TargetLkfs: __limitedParseDouble(output.targetLkfs),
11169
11261
  };
11170
11262
  };
11171
11263
  var deserializeAws_restJson1AudioOnlyHlsSettings = function (output, context) {
@@ -11180,7 +11272,7 @@ var deserializeAws_restJson1AudioOnlyHlsSettings = function (output, context) {
11180
11272
  };
11181
11273
  var deserializeAws_restJson1AudioPidSelection = function (output, context) {
11182
11274
  return {
11183
- Pid: __expectInt(output.pid),
11275
+ Pid: __expectInt32(output.pid),
11184
11276
  };
11185
11277
  };
11186
11278
  var deserializeAws_restJson1AudioSelector = function (output, context) {
@@ -11210,12 +11302,12 @@ var deserializeAws_restJson1AudioSelectorSettings = function (output, context) {
11210
11302
  var deserializeAws_restJson1AudioSilenceFailoverSettings = function (output, context) {
11211
11303
  return {
11212
11304
  AudioSelectorName: __expectString(output.audioSelectorName),
11213
- AudioSilenceThresholdMsec: __expectInt(output.audioSilenceThresholdMsec),
11305
+ AudioSilenceThresholdMsec: __expectInt32(output.audioSilenceThresholdMsec),
11214
11306
  };
11215
11307
  };
11216
11308
  var deserializeAws_restJson1AudioTrack = function (output, context) {
11217
11309
  return {
11218
- Track: __expectInt(output.track),
11310
+ Track: __expectInt32(output.track),
11219
11311
  };
11220
11312
  };
11221
11313
  var deserializeAws_restJson1AudioTrackSelection = function (output, context) {
@@ -11227,7 +11319,7 @@ var deserializeAws_restJson1AudioTrackSelection = function (output, context) {
11227
11319
  };
11228
11320
  var deserializeAws_restJson1AutomaticInputFailoverSettings = function (output, context) {
11229
11321
  return {
11230
- ErrorClearTimeMsec: __expectInt(output.errorClearTimeMsec),
11322
+ ErrorClearTimeMsec: __expectInt32(output.errorClearTimeMsec),
11231
11323
  FailoverConditions: output.failoverConditions !== undefined && output.failoverConditions !== null
11232
11324
  ? deserializeAws_restJson1__listOfFailoverCondition(output.failoverConditions, context)
11233
11325
  : undefined,
@@ -11306,23 +11398,23 @@ var deserializeAws_restJson1BurnInDestinationSettings = function (output, contex
11306
11398
  return {
11307
11399
  Alignment: __expectString(output.alignment),
11308
11400
  BackgroundColor: __expectString(output.backgroundColor),
11309
- BackgroundOpacity: __expectInt(output.backgroundOpacity),
11401
+ BackgroundOpacity: __expectInt32(output.backgroundOpacity),
11310
11402
  Font: output.font !== undefined && output.font !== null
11311
11403
  ? deserializeAws_restJson1InputLocation(output.font, context)
11312
11404
  : undefined,
11313
11405
  FontColor: __expectString(output.fontColor),
11314
- FontOpacity: __expectInt(output.fontOpacity),
11315
- FontResolution: __expectInt(output.fontResolution),
11406
+ FontOpacity: __expectInt32(output.fontOpacity),
11407
+ FontResolution: __expectInt32(output.fontResolution),
11316
11408
  FontSize: __expectString(output.fontSize),
11317
11409
  OutlineColor: __expectString(output.outlineColor),
11318
- OutlineSize: __expectInt(output.outlineSize),
11410
+ OutlineSize: __expectInt32(output.outlineSize),
11319
11411
  ShadowColor: __expectString(output.shadowColor),
11320
- ShadowOpacity: __expectInt(output.shadowOpacity),
11321
- ShadowXOffset: __expectInt(output.shadowXOffset),
11322
- ShadowYOffset: __expectInt(output.shadowYOffset),
11412
+ ShadowOpacity: __expectInt32(output.shadowOpacity),
11413
+ ShadowXOffset: __expectInt32(output.shadowXOffset),
11414
+ ShadowYOffset: __expectInt32(output.shadowYOffset),
11323
11415
  TeletextGridControl: __expectString(output.teletextGridControl),
11324
- XPosition: __expectInt(output.xPosition),
11325
- YPosition: __expectInt(output.yPosition),
11416
+ XPosition: __expectInt32(output.xPosition),
11417
+ YPosition: __expectInt32(output.yPosition),
11326
11418
  };
11327
11419
  };
11328
11420
  var deserializeAws_restJson1CaptionDescription = function (output, context) {
@@ -11383,17 +11475,17 @@ var deserializeAws_restJson1CaptionDestinationSettings = function (output, conte
11383
11475
  };
11384
11476
  var deserializeAws_restJson1CaptionLanguageMapping = function (output, context) {
11385
11477
  return {
11386
- CaptionChannel: __expectInt(output.captionChannel),
11478
+ CaptionChannel: __expectInt32(output.captionChannel),
11387
11479
  LanguageCode: __expectString(output.languageCode),
11388
11480
  LanguageDescription: __expectString(output.languageDescription),
11389
11481
  };
11390
11482
  };
11391
11483
  var deserializeAws_restJson1CaptionRectangle = function (output, context) {
11392
11484
  return {
11393
- Height: __limitedParseFloat(output.height),
11394
- LeftOffset: __limitedParseFloat(output.leftOffset),
11395
- TopOffset: __limitedParseFloat(output.topOffset),
11396
- Width: __limitedParseFloat(output.width),
11485
+ Height: __limitedParseDouble(output.height),
11486
+ LeftOffset: __limitedParseDouble(output.leftOffset),
11487
+ TopOffset: __limitedParseDouble(output.topOffset),
11488
+ Width: __limitedParseDouble(output.width),
11397
11489
  };
11398
11490
  };
11399
11491
  var deserializeAws_restJson1CaptionSelector = function (output, context) {
@@ -11463,7 +11555,7 @@ var deserializeAws_restJson1Channel = function (output, context) {
11463
11555
  PipelineDetails: output.pipelineDetails !== undefined && output.pipelineDetails !== null
11464
11556
  ? deserializeAws_restJson1__listOfPipelineDetail(output.pipelineDetails, context)
11465
11557
  : undefined,
11466
- PipelinesRunningCount: __expectInt(output.pipelinesRunningCount),
11558
+ PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
11467
11559
  RoleArn: __expectString(output.roleArn),
11468
11560
  State: __expectString(output.state),
11469
11561
  Tags: output.tags !== undefined && output.tags !== null
@@ -11501,7 +11593,7 @@ var deserializeAws_restJson1ChannelSummary = function (output, context) {
11501
11593
  : undefined,
11502
11594
  LogLevel: __expectString(output.logLevel),
11503
11595
  Name: __expectString(output.name),
11504
- PipelinesRunningCount: __expectInt(output.pipelinesRunningCount),
11596
+ PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
11505
11597
  RoleArn: __expectString(output.roleArn),
11506
11598
  State: __expectString(output.state),
11507
11599
  Tags: output.tags !== undefined && output.tags !== null
@@ -11517,15 +11609,15 @@ var deserializeAws_restJson1ColorSpacePassthroughSettings = function (output, co
11517
11609
  };
11518
11610
  var deserializeAws_restJson1DvbNitSettings = function (output, context) {
11519
11611
  return {
11520
- NetworkId: __expectInt(output.networkId),
11612
+ NetworkId: __expectInt32(output.networkId),
11521
11613
  NetworkName: __expectString(output.networkName),
11522
- RepInterval: __expectInt(output.repInterval),
11614
+ RepInterval: __expectInt32(output.repInterval),
11523
11615
  };
11524
11616
  };
11525
11617
  var deserializeAws_restJson1DvbSdtSettings = function (output, context) {
11526
11618
  return {
11527
11619
  OutputSdt: __expectString(output.outputSdt),
11528
- RepInterval: __expectInt(output.repInterval),
11620
+ RepInterval: __expectInt32(output.repInterval),
11529
11621
  ServiceName: __expectString(output.serviceName),
11530
11622
  ServiceProviderName: __expectString(output.serviceProviderName),
11531
11623
  };
@@ -11534,52 +11626,52 @@ var deserializeAws_restJson1DvbSubDestinationSettings = function (output, contex
11534
11626
  return {
11535
11627
  Alignment: __expectString(output.alignment),
11536
11628
  BackgroundColor: __expectString(output.backgroundColor),
11537
- BackgroundOpacity: __expectInt(output.backgroundOpacity),
11629
+ BackgroundOpacity: __expectInt32(output.backgroundOpacity),
11538
11630
  Font: output.font !== undefined && output.font !== null
11539
11631
  ? deserializeAws_restJson1InputLocation(output.font, context)
11540
11632
  : undefined,
11541
11633
  FontColor: __expectString(output.fontColor),
11542
- FontOpacity: __expectInt(output.fontOpacity),
11543
- FontResolution: __expectInt(output.fontResolution),
11634
+ FontOpacity: __expectInt32(output.fontOpacity),
11635
+ FontResolution: __expectInt32(output.fontResolution),
11544
11636
  FontSize: __expectString(output.fontSize),
11545
11637
  OutlineColor: __expectString(output.outlineColor),
11546
- OutlineSize: __expectInt(output.outlineSize),
11638
+ OutlineSize: __expectInt32(output.outlineSize),
11547
11639
  ShadowColor: __expectString(output.shadowColor),
11548
- ShadowOpacity: __expectInt(output.shadowOpacity),
11549
- ShadowXOffset: __expectInt(output.shadowXOffset),
11550
- ShadowYOffset: __expectInt(output.shadowYOffset),
11640
+ ShadowOpacity: __expectInt32(output.shadowOpacity),
11641
+ ShadowXOffset: __expectInt32(output.shadowXOffset),
11642
+ ShadowYOffset: __expectInt32(output.shadowYOffset),
11551
11643
  TeletextGridControl: __expectString(output.teletextGridControl),
11552
- XPosition: __expectInt(output.xPosition),
11553
- YPosition: __expectInt(output.yPosition),
11644
+ XPosition: __expectInt32(output.xPosition),
11645
+ YPosition: __expectInt32(output.yPosition),
11554
11646
  };
11555
11647
  };
11556
11648
  var deserializeAws_restJson1DvbSubSourceSettings = function (output, context) {
11557
11649
  return {
11558
11650
  OcrLanguage: __expectString(output.ocrLanguage),
11559
- Pid: __expectInt(output.pid),
11651
+ Pid: __expectInt32(output.pid),
11560
11652
  };
11561
11653
  };
11562
11654
  var deserializeAws_restJson1DvbTdtSettings = function (output, context) {
11563
11655
  return {
11564
- RepInterval: __expectInt(output.repInterval),
11656
+ RepInterval: __expectInt32(output.repInterval),
11565
11657
  };
11566
11658
  };
11567
11659
  var deserializeAws_restJson1Eac3Settings = function (output, context) {
11568
11660
  return {
11569
11661
  AttenuationControl: __expectString(output.attenuationControl),
11570
- Bitrate: __limitedParseFloat(output.bitrate),
11662
+ Bitrate: __limitedParseDouble(output.bitrate),
11571
11663
  BitstreamMode: __expectString(output.bitstreamMode),
11572
11664
  CodingMode: __expectString(output.codingMode),
11573
11665
  DcFilter: __expectString(output.dcFilter),
11574
- Dialnorm: __expectInt(output.dialnorm),
11666
+ Dialnorm: __expectInt32(output.dialnorm),
11575
11667
  DrcLine: __expectString(output.drcLine),
11576
11668
  DrcRf: __expectString(output.drcRf),
11577
11669
  LfeControl: __expectString(output.lfeControl),
11578
11670
  LfeFilter: __expectString(output.lfeFilter),
11579
- LoRoCenterMixLevel: __limitedParseFloat(output.loRoCenterMixLevel),
11580
- LoRoSurroundMixLevel: __limitedParseFloat(output.loRoSurroundMixLevel),
11581
- LtRtCenterMixLevel: __limitedParseFloat(output.ltRtCenterMixLevel),
11582
- LtRtSurroundMixLevel: __limitedParseFloat(output.ltRtSurroundMixLevel),
11671
+ LoRoCenterMixLevel: __limitedParseDouble(output.loRoCenterMixLevel),
11672
+ LoRoSurroundMixLevel: __limitedParseDouble(output.loRoSurroundMixLevel),
11673
+ LtRtCenterMixLevel: __limitedParseDouble(output.ltRtCenterMixLevel),
11674
+ LtRtSurroundMixLevel: __limitedParseDouble(output.ltRtSurroundMixLevel),
11583
11675
  MetadataControl: __expectString(output.metadataControl),
11584
11676
  PassthroughControl: __expectString(output.passthroughControl),
11585
11677
  PhaseControl: __expectString(output.phaseControl),
@@ -11606,8 +11698,8 @@ var deserializeAws_restJson1EmbeddedSourceSettings = function (output, context)
11606
11698
  return {
11607
11699
  Convert608To708: __expectString(output.convert608To708),
11608
11700
  Scte20Detection: __expectString(output.scte20Detection),
11609
- Source608ChannelNumber: __expectInt(output.source608ChannelNumber),
11610
- Source608TrackNumber: __expectInt(output.source608TrackNumber),
11701
+ Source608ChannelNumber: __expectInt32(output.source608ChannelNumber),
11702
+ Source608TrackNumber: __expectInt32(output.source608TrackNumber),
11611
11703
  };
11612
11704
  };
11613
11705
  var deserializeAws_restJson1EncoderSettings = function (output, context) {
@@ -11677,9 +11769,9 @@ var deserializeAws_restJson1FeatureActivations = function (output, context) {
11677
11769
  };
11678
11770
  var deserializeAws_restJson1FecOutputSettings = function (output, context) {
11679
11771
  return {
11680
- ColumnDepth: __expectInt(output.columnDepth),
11772
+ ColumnDepth: __expectInt32(output.columnDepth),
11681
11773
  IncludeFec: __expectString(output.includeFec),
11682
- RowLength: __expectInt(output.rowLength),
11774
+ RowLength: __expectInt32(output.rowLength),
11683
11775
  };
11684
11776
  };
11685
11777
  var deserializeAws_restJson1FixedModeScheduleActionStartSettings = function (output, context) {
@@ -11732,13 +11824,13 @@ var deserializeAws_restJson1FrameCaptureS3Settings = function (output, context)
11732
11824
  };
11733
11825
  var deserializeAws_restJson1FrameCaptureSettings = function (output, context) {
11734
11826
  return {
11735
- CaptureInterval: __expectInt(output.captureInterval),
11827
+ CaptureInterval: __expectInt32(output.captureInterval),
11736
11828
  CaptureIntervalUnits: __expectString(output.captureIntervalUnits),
11737
11829
  };
11738
11830
  };
11739
11831
  var deserializeAws_restJson1GlobalConfiguration = function (output, context) {
11740
11832
  return {
11741
- InitialAudioGain: __expectInt(output.initialAudioGain),
11833
+ InitialAudioGain: __expectInt32(output.initialAudioGain),
11742
11834
  InputEndAction: __expectString(output.inputEndAction),
11743
11835
  InputLossBehavior: output.inputLossBehavior !== undefined && output.inputLossBehavior !== null
11744
11836
  ? deserializeAws_restJson1InputLossBehavior(output.inputLossBehavior, context)
@@ -11772,9 +11864,9 @@ var deserializeAws_restJson1H264Settings = function (output, context) {
11772
11864
  return {
11773
11865
  AdaptiveQuantization: __expectString(output.adaptiveQuantization),
11774
11866
  AfdSignaling: __expectString(output.afdSignaling),
11775
- Bitrate: __expectInt(output.bitrate),
11776
- BufFillPct: __expectInt(output.bufFillPct),
11777
- BufSize: __expectInt(output.bufSize),
11867
+ Bitrate: __expectInt32(output.bitrate),
11868
+ BufFillPct: __expectInt32(output.bufFillPct),
11869
+ BufSize: __expectInt32(output.bufSize),
11778
11870
  ColorMetadata: __expectString(output.colorMetadata),
11779
11871
  ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
11780
11872
  ? deserializeAws_restJson1H264ColorSpaceSettings(output.colorSpaceSettings, context)
@@ -11787,29 +11879,29 @@ var deserializeAws_restJson1H264Settings = function (output, context) {
11787
11879
  FlickerAq: __expectString(output.flickerAq),
11788
11880
  ForceFieldPictures: __expectString(output.forceFieldPictures),
11789
11881
  FramerateControl: __expectString(output.framerateControl),
11790
- FramerateDenominator: __expectInt(output.framerateDenominator),
11791
- FramerateNumerator: __expectInt(output.framerateNumerator),
11882
+ FramerateDenominator: __expectInt32(output.framerateDenominator),
11883
+ FramerateNumerator: __expectInt32(output.framerateNumerator),
11792
11884
  GopBReference: __expectString(output.gopBReference),
11793
- GopClosedCadence: __expectInt(output.gopClosedCadence),
11794
- GopNumBFrames: __expectInt(output.gopNumBFrames),
11795
- GopSize: __limitedParseFloat(output.gopSize),
11885
+ GopClosedCadence: __expectInt32(output.gopClosedCadence),
11886
+ GopNumBFrames: __expectInt32(output.gopNumBFrames),
11887
+ GopSize: __limitedParseDouble(output.gopSize),
11796
11888
  GopSizeUnits: __expectString(output.gopSizeUnits),
11797
11889
  Level: __expectString(output.level),
11798
11890
  LookAheadRateControl: __expectString(output.lookAheadRateControl),
11799
- MaxBitrate: __expectInt(output.maxBitrate),
11800
- MinIInterval: __expectInt(output.minIInterval),
11801
- NumRefFrames: __expectInt(output.numRefFrames),
11891
+ MaxBitrate: __expectInt32(output.maxBitrate),
11892
+ MinIInterval: __expectInt32(output.minIInterval),
11893
+ NumRefFrames: __expectInt32(output.numRefFrames),
11802
11894
  ParControl: __expectString(output.parControl),
11803
- ParDenominator: __expectInt(output.parDenominator),
11804
- ParNumerator: __expectInt(output.parNumerator),
11895
+ ParDenominator: __expectInt32(output.parDenominator),
11896
+ ParNumerator: __expectInt32(output.parNumerator),
11805
11897
  Profile: __expectString(output.profile),
11806
11898
  QualityLevel: __expectString(output.qualityLevel),
11807
- QvbrQualityLevel: __expectInt(output.qvbrQualityLevel),
11899
+ QvbrQualityLevel: __expectInt32(output.qvbrQualityLevel),
11808
11900
  RateControlMode: __expectString(output.rateControlMode),
11809
11901
  ScanType: __expectString(output.scanType),
11810
11902
  SceneChangeDetect: __expectString(output.sceneChangeDetect),
11811
- Slices: __expectInt(output.slices),
11812
- Softness: __expectInt(output.softness),
11903
+ Slices: __expectInt32(output.slices),
11904
+ Softness: __expectInt32(output.softness),
11813
11905
  SpatialAq: __expectString(output.spatialAq),
11814
11906
  SubgopLength: __expectString(output.subgopLength),
11815
11907
  Syntax: __expectString(output.syntax),
@@ -11845,8 +11937,8 @@ var deserializeAws_restJson1H265Settings = function (output, context) {
11845
11937
  AdaptiveQuantization: __expectString(output.adaptiveQuantization),
11846
11938
  AfdSignaling: __expectString(output.afdSignaling),
11847
11939
  AlternativeTransferFunction: __expectString(output.alternativeTransferFunction),
11848
- Bitrate: __expectInt(output.bitrate),
11849
- BufSize: __expectInt(output.bufSize),
11940
+ Bitrate: __expectInt32(output.bitrate),
11941
+ BufSize: __expectInt32(output.bufSize),
11850
11942
  ColorMetadata: __expectString(output.colorMetadata),
11851
11943
  ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
11852
11944
  ? deserializeAws_restJson1H265ColorSpaceSettings(output.colorSpaceSettings, context)
@@ -11856,50 +11948,50 @@ var deserializeAws_restJson1H265Settings = function (output, context) {
11856
11948
  : undefined,
11857
11949
  FixedAfd: __expectString(output.fixedAfd),
11858
11950
  FlickerAq: __expectString(output.flickerAq),
11859
- FramerateDenominator: __expectInt(output.framerateDenominator),
11860
- FramerateNumerator: __expectInt(output.framerateNumerator),
11861
- GopClosedCadence: __expectInt(output.gopClosedCadence),
11862
- GopSize: __limitedParseFloat(output.gopSize),
11951
+ FramerateDenominator: __expectInt32(output.framerateDenominator),
11952
+ FramerateNumerator: __expectInt32(output.framerateNumerator),
11953
+ GopClosedCadence: __expectInt32(output.gopClosedCadence),
11954
+ GopSize: __limitedParseDouble(output.gopSize),
11863
11955
  GopSizeUnits: __expectString(output.gopSizeUnits),
11864
11956
  Level: __expectString(output.level),
11865
11957
  LookAheadRateControl: __expectString(output.lookAheadRateControl),
11866
- MaxBitrate: __expectInt(output.maxBitrate),
11867
- MinIInterval: __expectInt(output.minIInterval),
11868
- ParDenominator: __expectInt(output.parDenominator),
11869
- ParNumerator: __expectInt(output.parNumerator),
11958
+ MaxBitrate: __expectInt32(output.maxBitrate),
11959
+ MinIInterval: __expectInt32(output.minIInterval),
11960
+ ParDenominator: __expectInt32(output.parDenominator),
11961
+ ParNumerator: __expectInt32(output.parNumerator),
11870
11962
  Profile: __expectString(output.profile),
11871
- QvbrQualityLevel: __expectInt(output.qvbrQualityLevel),
11963
+ QvbrQualityLevel: __expectInt32(output.qvbrQualityLevel),
11872
11964
  RateControlMode: __expectString(output.rateControlMode),
11873
11965
  ScanType: __expectString(output.scanType),
11874
11966
  SceneChangeDetect: __expectString(output.sceneChangeDetect),
11875
- Slices: __expectInt(output.slices),
11967
+ Slices: __expectInt32(output.slices),
11876
11968
  Tier: __expectString(output.tier),
11877
11969
  TimecodeInsertion: __expectString(output.timecodeInsertion),
11878
11970
  };
11879
11971
  };
11880
11972
  var deserializeAws_restJson1Hdr10Settings = function (output, context) {
11881
11973
  return {
11882
- MaxCll: __expectInt(output.maxCll),
11883
- MaxFall: __expectInt(output.maxFall),
11974
+ MaxCll: __expectInt32(output.maxCll),
11975
+ MaxFall: __expectInt32(output.maxFall),
11884
11976
  };
11885
11977
  };
11886
11978
  var deserializeAws_restJson1HlsAkamaiSettings = function (output, context) {
11887
11979
  return {
11888
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
11889
- FilecacheDuration: __expectInt(output.filecacheDuration),
11980
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
11981
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
11890
11982
  HttpTransferMode: __expectString(output.httpTransferMode),
11891
- NumRetries: __expectInt(output.numRetries),
11892
- RestartDelay: __expectInt(output.restartDelay),
11983
+ NumRetries: __expectInt32(output.numRetries),
11984
+ RestartDelay: __expectInt32(output.restartDelay),
11893
11985
  Salt: __expectString(output.salt),
11894
11986
  Token: __expectString(output.token),
11895
11987
  };
11896
11988
  };
11897
11989
  var deserializeAws_restJson1HlsBasicPutSettings = function (output, context) {
11898
11990
  return {
11899
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
11900
- FilecacheDuration: __expectInt(output.filecacheDuration),
11901
- NumRetries: __expectInt(output.numRetries),
11902
- RestartDelay: __expectInt(output.restartDelay),
11991
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
11992
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
11993
+ NumRetries: __expectInt32(output.numRetries),
11994
+ RestartDelay: __expectInt32(output.restartDelay),
11903
11995
  };
11904
11996
  };
11905
11997
  var deserializeAws_restJson1HlsCdnSettings = function (output, context) {
@@ -11949,11 +12041,11 @@ var deserializeAws_restJson1HlsGroupSettings = function (output, context) {
11949
12041
  HlsId3SegmentTagging: __expectString(output.hlsId3SegmentTagging),
11950
12042
  IFrameOnlyPlaylists: __expectString(output.iFrameOnlyPlaylists),
11951
12043
  IncompleteSegmentBehavior: __expectString(output.incompleteSegmentBehavior),
11952
- IndexNSegments: __expectInt(output.indexNSegments),
12044
+ IndexNSegments: __expectInt32(output.indexNSegments),
11953
12045
  InputLossAction: __expectString(output.inputLossAction),
11954
12046
  IvInManifest: __expectString(output.ivInManifest),
11955
12047
  IvSource: __expectString(output.ivSource),
11956
- KeepSegments: __expectInt(output.keepSegments),
12048
+ KeepSegments: __expectInt32(output.keepSegments),
11957
12049
  KeyFormat: __expectString(output.keyFormat),
11958
12050
  KeyFormatVersions: __expectString(output.keyFormatVersions),
11959
12051
  KeyProviderSettings: output.keyProviderSettings !== undefined && output.keyProviderSettings !== null
@@ -11961,19 +12053,19 @@ var deserializeAws_restJson1HlsGroupSettings = function (output, context) {
11961
12053
  : undefined,
11962
12054
  ManifestCompression: __expectString(output.manifestCompression),
11963
12055
  ManifestDurationFormat: __expectString(output.manifestDurationFormat),
11964
- MinSegmentLength: __expectInt(output.minSegmentLength),
12056
+ MinSegmentLength: __expectInt32(output.minSegmentLength),
11965
12057
  Mode: __expectString(output.mode),
11966
12058
  OutputSelection: __expectString(output.outputSelection),
11967
12059
  ProgramDateTime: __expectString(output.programDateTime),
11968
- ProgramDateTimePeriod: __expectInt(output.programDateTimePeriod),
12060
+ ProgramDateTimePeriod: __expectInt32(output.programDateTimePeriod),
11969
12061
  RedundantManifest: __expectString(output.redundantManifest),
11970
- SegmentLength: __expectInt(output.segmentLength),
12062
+ SegmentLength: __expectInt32(output.segmentLength),
11971
12063
  SegmentationMode: __expectString(output.segmentationMode),
11972
- SegmentsPerSubdirectory: __expectInt(output.segmentsPerSubdirectory),
12064
+ SegmentsPerSubdirectory: __expectInt32(output.segmentsPerSubdirectory),
11973
12065
  StreamInfResolution: __expectString(output.streamInfResolution),
11974
12066
  TimedMetadataId3Frame: __expectString(output.timedMetadataId3Frame),
11975
- TimedMetadataId3Period: __expectInt(output.timedMetadataId3Period),
11976
- TimestampDeltaMilliseconds: __expectInt(output.timestampDeltaMilliseconds),
12067
+ TimedMetadataId3Period: __expectInt32(output.timedMetadataId3Period),
12068
+ TimestampDeltaMilliseconds: __expectInt32(output.timestampDeltaMilliseconds),
11977
12069
  TsFileMode: __expectString(output.tsFileMode),
11978
12070
  };
11979
12071
  };
@@ -11984,20 +12076,20 @@ var deserializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = functio
11984
12076
  };
11985
12077
  var deserializeAws_restJson1HlsInputSettings = function (output, context) {
11986
12078
  return {
11987
- Bandwidth: __expectInt(output.bandwidth),
11988
- BufferSegments: __expectInt(output.bufferSegments),
11989
- Retries: __expectInt(output.retries),
11990
- RetryInterval: __expectInt(output.retryInterval),
12079
+ Bandwidth: __expectInt32(output.bandwidth),
12080
+ BufferSegments: __expectInt32(output.bufferSegments),
12081
+ Retries: __expectInt32(output.retries),
12082
+ RetryInterval: __expectInt32(output.retryInterval),
11991
12083
  Scte35Source: __expectString(output.scte35Source),
11992
12084
  };
11993
12085
  };
11994
12086
  var deserializeAws_restJson1HlsMediaStoreSettings = function (output, context) {
11995
12087
  return {
11996
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
11997
- FilecacheDuration: __expectInt(output.filecacheDuration),
12088
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
12089
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
11998
12090
  MediaStoreStorageClass: __expectString(output.mediaStoreStorageClass),
11999
- NumRetries: __expectInt(output.numRetries),
12000
- RestartDelay: __expectInt(output.restartDelay),
12091
+ NumRetries: __expectInt32(output.numRetries),
12092
+ RestartDelay: __expectInt32(output.restartDelay),
12001
12093
  };
12002
12094
  };
12003
12095
  var deserializeAws_restJson1HlsOutputSettings = function (output, context) {
@@ -12038,11 +12130,11 @@ var deserializeAws_restJson1HlsTimedMetadataScheduleActionSettings = function (o
12038
12130
  };
12039
12131
  var deserializeAws_restJson1HlsWebdavSettings = function (output, context) {
12040
12132
  return {
12041
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
12042
- FilecacheDuration: __expectInt(output.filecacheDuration),
12133
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
12134
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
12043
12135
  HttpTransferMode: __expectString(output.httpTransferMode),
12044
- NumRetries: __expectInt(output.numRetries),
12045
- RestartDelay: __expectInt(output.restartDelay),
12136
+ NumRetries: __expectInt32(output.numRetries),
12137
+ RestartDelay: __expectInt32(output.restartDelay),
12046
12138
  };
12047
12139
  };
12048
12140
  var deserializeAws_restJson1HtmlMotionGraphicsSettings = function (output, context) {
@@ -12101,8 +12193,8 @@ var deserializeAws_restJson1InputAttachment = function (output, context) {
12101
12193
  };
12102
12194
  var deserializeAws_restJson1InputChannelLevel = function (output, context) {
12103
12195
  return {
12104
- Gain: __expectInt(output.gain),
12105
- InputChannel: __expectInt(output.inputChannel),
12196
+ Gain: __expectInt32(output.gain),
12197
+ InputChannel: __expectInt32(output.inputChannel),
12106
12198
  };
12107
12199
  };
12108
12200
  var deserializeAws_restJson1InputClippingSettings = function (output, context) {
@@ -12137,11 +12229,11 @@ var deserializeAws_restJson1InputDeviceHdSettings = function (output, context) {
12137
12229
  ActiveInput: __expectString(output.activeInput),
12138
12230
  ConfiguredInput: __expectString(output.configuredInput),
12139
12231
  DeviceState: __expectString(output.deviceState),
12140
- Framerate: __limitedParseFloat(output.framerate),
12141
- Height: __expectInt(output.height),
12142
- MaxBitrate: __expectInt(output.maxBitrate),
12232
+ Framerate: __limitedParseDouble(output.framerate),
12233
+ Height: __expectInt32(output.height),
12234
+ MaxBitrate: __expectInt32(output.maxBitrate),
12143
12235
  ScanType: __expectString(output.scanType),
12144
- Width: __expectInt(output.width),
12236
+ Width: __expectInt32(output.width),
12145
12237
  };
12146
12238
  };
12147
12239
  var deserializeAws_restJson1InputDeviceNetworkSettings = function (output, context) {
@@ -12187,11 +12279,11 @@ var deserializeAws_restJson1InputDeviceUhdSettings = function (output, context)
12187
12279
  ActiveInput: __expectString(output.activeInput),
12188
12280
  ConfiguredInput: __expectString(output.configuredInput),
12189
12281
  DeviceState: __expectString(output.deviceState),
12190
- Framerate: __limitedParseFloat(output.framerate),
12191
- Height: __expectInt(output.height),
12192
- MaxBitrate: __expectInt(output.maxBitrate),
12282
+ Framerate: __limitedParseDouble(output.framerate),
12283
+ Height: __expectInt32(output.height),
12284
+ MaxBitrate: __expectInt32(output.maxBitrate),
12193
12285
  ScanType: __expectString(output.scanType),
12194
- Width: __expectInt(output.width),
12286
+ Width: __expectInt32(output.width),
12195
12287
  };
12196
12288
  };
12197
12289
  var deserializeAws_restJson1InputLocation = function (output, context) {
@@ -12203,18 +12295,18 @@ var deserializeAws_restJson1InputLocation = function (output, context) {
12203
12295
  };
12204
12296
  var deserializeAws_restJson1InputLossBehavior = function (output, context) {
12205
12297
  return {
12206
- BlackFrameMsec: __expectInt(output.blackFrameMsec),
12298
+ BlackFrameMsec: __expectInt32(output.blackFrameMsec),
12207
12299
  InputLossImageColor: __expectString(output.inputLossImageColor),
12208
12300
  InputLossImageSlate: output.inputLossImageSlate !== undefined && output.inputLossImageSlate !== null
12209
12301
  ? deserializeAws_restJson1InputLocation(output.inputLossImageSlate, context)
12210
12302
  : undefined,
12211
12303
  InputLossImageType: __expectString(output.inputLossImageType),
12212
- RepeatFrameMsec: __expectInt(output.repeatFrameMsec),
12304
+ RepeatFrameMsec: __expectInt32(output.repeatFrameMsec),
12213
12305
  };
12214
12306
  };
12215
12307
  var deserializeAws_restJson1InputLossFailoverSettings = function (output, context) {
12216
12308
  return {
12217
- InputLossThresholdMsec: __expectInt(output.inputLossThresholdMsec),
12309
+ InputLossThresholdMsec: __expectInt32(output.inputLossThresholdMsec),
12218
12310
  };
12219
12311
  };
12220
12312
  var deserializeAws_restJson1InputPrepareScheduleActionSettings = function (output, context) {
@@ -12254,7 +12346,7 @@ var deserializeAws_restJson1InputSettings = function (output, context) {
12254
12346
  : undefined,
12255
12347
  DeblockFilter: __expectString(output.deblockFilter),
12256
12348
  DenoiseFilter: __expectString(output.denoiseFilter),
12257
- FilterStrength: __expectInt(output.filterStrength),
12349
+ FilterStrength: __expectInt32(output.filterStrength),
12258
12350
  InputFilter: __expectString(output.inputFilter),
12259
12351
  NetworkInputSettings: output.networkInputSettings !== undefined && output.networkInputSettings !== null
12260
12352
  ? deserializeAws_restJson1NetworkInputSettings(output.networkInputSettings, context)
@@ -12310,10 +12402,10 @@ var deserializeAws_restJson1M2tsSettings = function (output, context) {
12310
12402
  AribCaptionsPid: __expectString(output.aribCaptionsPid),
12311
12403
  AribCaptionsPidControl: __expectString(output.aribCaptionsPidControl),
12312
12404
  AudioBufferModel: __expectString(output.audioBufferModel),
12313
- AudioFramesPerPes: __expectInt(output.audioFramesPerPes),
12405
+ AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
12314
12406
  AudioPids: __expectString(output.audioPids),
12315
12407
  AudioStreamType: __expectString(output.audioStreamType),
12316
- Bitrate: __expectInt(output.bitrate),
12408
+ Bitrate: __expectInt32(output.bitrate),
12317
12409
  BufferModel: __expectString(output.bufferModel),
12318
12410
  CcDescriptor: __expectString(output.ccDescriptor),
12319
12411
  DvbNitSettings: output.dvbNitSettings !== undefined && output.dvbNitSettings !== null
@@ -12329,55 +12421,55 @@ var deserializeAws_restJson1M2tsSettings = function (output, context) {
12329
12421
  DvbTeletextPid: __expectString(output.dvbTeletextPid),
12330
12422
  Ebif: __expectString(output.ebif),
12331
12423
  EbpAudioInterval: __expectString(output.ebpAudioInterval),
12332
- EbpLookaheadMs: __expectInt(output.ebpLookaheadMs),
12424
+ EbpLookaheadMs: __expectInt32(output.ebpLookaheadMs),
12333
12425
  EbpPlacement: __expectString(output.ebpPlacement),
12334
12426
  EcmPid: __expectString(output.ecmPid),
12335
12427
  EsRateInPes: __expectString(output.esRateInPes),
12336
12428
  EtvPlatformPid: __expectString(output.etvPlatformPid),
12337
12429
  EtvSignalPid: __expectString(output.etvSignalPid),
12338
- FragmentTime: __limitedParseFloat(output.fragmentTime),
12430
+ FragmentTime: __limitedParseDouble(output.fragmentTime),
12339
12431
  Klv: __expectString(output.klv),
12340
12432
  KlvDataPids: __expectString(output.klvDataPids),
12341
12433
  NielsenId3Behavior: __expectString(output.nielsenId3Behavior),
12342
- NullPacketBitrate: __limitedParseFloat(output.nullPacketBitrate),
12343
- PatInterval: __expectInt(output.patInterval),
12434
+ NullPacketBitrate: __limitedParseDouble(output.nullPacketBitrate),
12435
+ PatInterval: __expectInt32(output.patInterval),
12344
12436
  PcrControl: __expectString(output.pcrControl),
12345
- PcrPeriod: __expectInt(output.pcrPeriod),
12437
+ PcrPeriod: __expectInt32(output.pcrPeriod),
12346
12438
  PcrPid: __expectString(output.pcrPid),
12347
- PmtInterval: __expectInt(output.pmtInterval),
12439
+ PmtInterval: __expectInt32(output.pmtInterval),
12348
12440
  PmtPid: __expectString(output.pmtPid),
12349
- ProgramNum: __expectInt(output.programNum),
12441
+ ProgramNum: __expectInt32(output.programNum),
12350
12442
  RateMode: __expectString(output.rateMode),
12351
12443
  Scte27Pids: __expectString(output.scte27Pids),
12352
12444
  Scte35Control: __expectString(output.scte35Control),
12353
12445
  Scte35Pid: __expectString(output.scte35Pid),
12354
12446
  SegmentationMarkers: __expectString(output.segmentationMarkers),
12355
12447
  SegmentationStyle: __expectString(output.segmentationStyle),
12356
- SegmentationTime: __limitedParseFloat(output.segmentationTime),
12448
+ SegmentationTime: __limitedParseDouble(output.segmentationTime),
12357
12449
  TimedMetadataBehavior: __expectString(output.timedMetadataBehavior),
12358
12450
  TimedMetadataPid: __expectString(output.timedMetadataPid),
12359
- TransportStreamId: __expectInt(output.transportStreamId),
12451
+ TransportStreamId: __expectInt32(output.transportStreamId),
12360
12452
  VideoPid: __expectString(output.videoPid),
12361
12453
  };
12362
12454
  };
12363
12455
  var deserializeAws_restJson1M3u8Settings = function (output, context) {
12364
12456
  return {
12365
- AudioFramesPerPes: __expectInt(output.audioFramesPerPes),
12457
+ AudioFramesPerPes: __expectInt32(output.audioFramesPerPes),
12366
12458
  AudioPids: __expectString(output.audioPids),
12367
12459
  EcmPid: __expectString(output.ecmPid),
12368
12460
  NielsenId3Behavior: __expectString(output.nielsenId3Behavior),
12369
- PatInterval: __expectInt(output.patInterval),
12461
+ PatInterval: __expectInt32(output.patInterval),
12370
12462
  PcrControl: __expectString(output.pcrControl),
12371
- PcrPeriod: __expectInt(output.pcrPeriod),
12463
+ PcrPeriod: __expectInt32(output.pcrPeriod),
12372
12464
  PcrPid: __expectString(output.pcrPid),
12373
- PmtInterval: __expectInt(output.pmtInterval),
12465
+ PmtInterval: __expectInt32(output.pmtInterval),
12374
12466
  PmtPid: __expectString(output.pmtPid),
12375
- ProgramNum: __expectInt(output.programNum),
12467
+ ProgramNum: __expectInt32(output.programNum),
12376
12468
  Scte35Behavior: __expectString(output.scte35Behavior),
12377
12469
  Scte35Pid: __expectString(output.scte35Pid),
12378
12470
  TimedMetadataBehavior: __expectString(output.timedMetadataBehavior),
12379
12471
  TimedMetadataPid: __expectString(output.timedMetadataPid),
12380
- TransportStreamId: __expectInt(output.transportStreamId),
12472
+ TransportStreamId: __expectInt32(output.transportStreamId),
12381
12473
  VideoPid: __expectString(output.videoPid),
12382
12474
  };
12383
12475
  };
@@ -12403,7 +12495,7 @@ var deserializeAws_restJson1MediaPackageOutputSettings = function (output, conte
12403
12495
  };
12404
12496
  var deserializeAws_restJson1MotionGraphicsActivateScheduleActionSettings = function (output, context) {
12405
12497
  return {
12406
- Duration: __expectInt(output.duration),
12498
+ Duration: __expectLong(output.duration),
12407
12499
  PasswordParam: __expectString(output.passwordParam),
12408
12500
  Url: __expectString(output.url),
12409
12501
  Username: __expectString(output.username),
@@ -12429,9 +12521,9 @@ var deserializeAws_restJson1MotionGraphicsSettings = function (output, context)
12429
12521
  };
12430
12522
  var deserializeAws_restJson1Mp2Settings = function (output, context) {
12431
12523
  return {
12432
- Bitrate: __limitedParseFloat(output.bitrate),
12524
+ Bitrate: __limitedParseDouble(output.bitrate),
12433
12525
  CodingMode: __expectString(output.codingMode),
12434
- SampleRate: __limitedParseFloat(output.sampleRate),
12526
+ SampleRate: __limitedParseDouble(output.sampleRate),
12435
12527
  };
12436
12528
  };
12437
12529
  var deserializeAws_restJson1Mpeg2FilterSettings = function (output, context) {
@@ -12452,11 +12544,11 @@ var deserializeAws_restJson1Mpeg2Settings = function (output, context) {
12452
12544
  ? deserializeAws_restJson1Mpeg2FilterSettings(output.filterSettings, context)
12453
12545
  : undefined,
12454
12546
  FixedAfd: __expectString(output.fixedAfd),
12455
- FramerateDenominator: __expectInt(output.framerateDenominator),
12456
- FramerateNumerator: __expectInt(output.framerateNumerator),
12457
- GopClosedCadence: __expectInt(output.gopClosedCadence),
12458
- GopNumBFrames: __expectInt(output.gopNumBFrames),
12459
- GopSize: __limitedParseFloat(output.gopSize),
12547
+ FramerateDenominator: __expectInt32(output.framerateDenominator),
12548
+ FramerateNumerator: __expectInt32(output.framerateNumerator),
12549
+ GopClosedCadence: __expectInt32(output.gopClosedCadence),
12550
+ GopNumBFrames: __expectInt32(output.gopNumBFrames),
12551
+ GopSize: __limitedParseDouble(output.gopSize),
12460
12552
  GopSizeUnits: __expectString(output.gopSizeUnits),
12461
12553
  ScanType: __expectString(output.scanType),
12462
12554
  SubgopLength: __expectString(output.subgopLength),
@@ -12468,20 +12560,20 @@ var deserializeAws_restJson1MsSmoothGroupSettings = function (output, context) {
12468
12560
  AcquisitionPointId: __expectString(output.acquisitionPointId),
12469
12561
  AudioOnlyTimecodeControl: __expectString(output.audioOnlyTimecodeControl),
12470
12562
  CertificateMode: __expectString(output.certificateMode),
12471
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
12563
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
12472
12564
  Destination: output.destination !== undefined && output.destination !== null
12473
12565
  ? deserializeAws_restJson1OutputLocationRef(output.destination, context)
12474
12566
  : undefined,
12475
12567
  EventId: __expectString(output.eventId),
12476
12568
  EventIdMode: __expectString(output.eventIdMode),
12477
12569
  EventStopBehavior: __expectString(output.eventStopBehavior),
12478
- FilecacheDuration: __expectInt(output.filecacheDuration),
12479
- FragmentLength: __expectInt(output.fragmentLength),
12570
+ FilecacheDuration: __expectInt32(output.filecacheDuration),
12571
+ FragmentLength: __expectInt32(output.fragmentLength),
12480
12572
  InputLossAction: __expectString(output.inputLossAction),
12481
- NumRetries: __expectInt(output.numRetries),
12482
- RestartDelay: __expectInt(output.restartDelay),
12573
+ NumRetries: __expectInt32(output.numRetries),
12574
+ RestartDelay: __expectInt32(output.restartDelay),
12483
12575
  SegmentationMode: __expectString(output.segmentationMode),
12484
- SendDelayMs: __expectInt(output.sendDelayMs),
12576
+ SendDelayMs: __expectInt32(output.sendDelayMs),
12485
12577
  SparseTrackType: __expectString(output.sparseTrackType),
12486
12578
  StreamManifestBehavior: __expectString(output.streamManifestBehavior),
12487
12579
  TimestampOffset: __expectString(output.timestampOffset),
@@ -12508,8 +12600,8 @@ var deserializeAws_restJson1Multiplex = function (output, context) {
12508
12600
  ? deserializeAws_restJson1MultiplexSettings(output.multiplexSettings, context)
12509
12601
  : undefined,
12510
12602
  Name: __expectString(output.name),
12511
- PipelinesRunningCount: __expectInt(output.pipelinesRunningCount),
12512
- ProgramCount: __expectInt(output.programCount),
12603
+ PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
12604
+ ProgramCount: __expectInt32(output.programCount),
12513
12605
  State: __expectString(output.state),
12514
12606
  Tags: output.tags !== undefined && output.tags !== null
12515
12607
  ? deserializeAws_restJson1Tags(output.tags, context)
@@ -12567,21 +12659,21 @@ var deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap = function (out
12567
12659
  DvbSubPids: output.dvbSubPids !== undefined && output.dvbSubPids !== null
12568
12660
  ? deserializeAws_restJson1__listOf__integer(output.dvbSubPids, context)
12569
12661
  : undefined,
12570
- DvbTeletextPid: __expectInt(output.dvbTeletextPid),
12571
- EtvPlatformPid: __expectInt(output.etvPlatformPid),
12572
- EtvSignalPid: __expectInt(output.etvSignalPid),
12662
+ DvbTeletextPid: __expectInt32(output.dvbTeletextPid),
12663
+ EtvPlatformPid: __expectInt32(output.etvPlatformPid),
12664
+ EtvSignalPid: __expectInt32(output.etvSignalPid),
12573
12665
  KlvDataPids: output.klvDataPids !== undefined && output.klvDataPids !== null
12574
12666
  ? deserializeAws_restJson1__listOf__integer(output.klvDataPids, context)
12575
12667
  : undefined,
12576
- PcrPid: __expectInt(output.pcrPid),
12577
- PmtPid: __expectInt(output.pmtPid),
12578
- PrivateMetadataPid: __expectInt(output.privateMetadataPid),
12668
+ PcrPid: __expectInt32(output.pcrPid),
12669
+ PmtPid: __expectInt32(output.pmtPid),
12670
+ PrivateMetadataPid: __expectInt32(output.privateMetadataPid),
12579
12671
  Scte27Pids: output.scte27Pids !== undefined && output.scte27Pids !== null
12580
12672
  ? deserializeAws_restJson1__listOf__integer(output.scte27Pids, context)
12581
12673
  : undefined,
12582
- Scte35Pid: __expectInt(output.scte35Pid),
12583
- TimedMetadataPid: __expectInt(output.timedMetadataPid),
12584
- VideoPid: __expectInt(output.videoPid),
12674
+ Scte35Pid: __expectInt32(output.scte35Pid),
12675
+ TimedMetadataPid: __expectInt32(output.timedMetadataPid),
12676
+ VideoPid: __expectInt32(output.videoPid),
12585
12677
  };
12586
12678
  };
12587
12679
  var deserializeAws_restJson1MultiplexProgramPipelineDetail = function (output, context) {
@@ -12599,7 +12691,7 @@ var deserializeAws_restJson1MultiplexProgramServiceDescriptor = function (output
12599
12691
  var deserializeAws_restJson1MultiplexProgramSettings = function (output, context) {
12600
12692
  return {
12601
12693
  PreferredChannelPipeline: __expectString(output.preferredChannelPipeline),
12602
- ProgramNumber: __expectInt(output.programNumber),
12694
+ ProgramNumber: __expectInt32(output.programNumber),
12603
12695
  ServiceDescriptor: output.serviceDescriptor !== undefined && output.serviceDescriptor !== null
12604
12696
  ? deserializeAws_restJson1MultiplexProgramServiceDescriptor(output.serviceDescriptor, context)
12605
12697
  : undefined,
@@ -12616,22 +12708,22 @@ var deserializeAws_restJson1MultiplexProgramSummary = function (output, context)
12616
12708
  };
12617
12709
  var deserializeAws_restJson1MultiplexSettings = function (output, context) {
12618
12710
  return {
12619
- MaximumVideoBufferDelayMilliseconds: __expectInt(output.maximumVideoBufferDelayMilliseconds),
12620
- TransportStreamBitrate: __expectInt(output.transportStreamBitrate),
12621
- TransportStreamId: __expectInt(output.transportStreamId),
12622
- TransportStreamReservedBitrate: __expectInt(output.transportStreamReservedBitrate),
12711
+ MaximumVideoBufferDelayMilliseconds: __expectInt32(output.maximumVideoBufferDelayMilliseconds),
12712
+ TransportStreamBitrate: __expectInt32(output.transportStreamBitrate),
12713
+ TransportStreamId: __expectInt32(output.transportStreamId),
12714
+ TransportStreamReservedBitrate: __expectInt32(output.transportStreamReservedBitrate),
12623
12715
  };
12624
12716
  };
12625
12717
  var deserializeAws_restJson1MultiplexSettingsSummary = function (output, context) {
12626
12718
  return {
12627
- TransportStreamBitrate: __expectInt(output.transportStreamBitrate),
12719
+ TransportStreamBitrate: __expectInt32(output.transportStreamBitrate),
12628
12720
  };
12629
12721
  };
12630
12722
  var deserializeAws_restJson1MultiplexStatmuxVideoSettings = function (output, context) {
12631
12723
  return {
12632
- MaximumBitrate: __expectInt(output.maximumBitrate),
12633
- MinimumBitrate: __expectInt(output.minimumBitrate),
12634
- Priority: __expectInt(output.priority),
12724
+ MaximumBitrate: __expectInt32(output.maximumBitrate),
12725
+ MinimumBitrate: __expectInt32(output.minimumBitrate),
12726
+ Priority: __expectInt32(output.priority),
12635
12727
  };
12636
12728
  };
12637
12729
  var deserializeAws_restJson1MultiplexSummary = function (output, context) {
@@ -12645,8 +12737,8 @@ var deserializeAws_restJson1MultiplexSummary = function (output, context) {
12645
12737
  ? deserializeAws_restJson1MultiplexSettingsSummary(output.multiplexSettings, context)
12646
12738
  : undefined,
12647
12739
  Name: __expectString(output.name),
12648
- PipelinesRunningCount: __expectInt(output.pipelinesRunningCount),
12649
- ProgramCount: __expectInt(output.programCount),
12740
+ PipelinesRunningCount: __expectInt32(output.pipelinesRunningCount),
12741
+ ProgramCount: __expectInt32(output.programCount),
12650
12742
  State: __expectString(output.state),
12651
12743
  Tags: output.tags !== undefined && output.tags !== null
12652
12744
  ? deserializeAws_restJson1Tags(output.tags, context)
@@ -12655,7 +12747,7 @@ var deserializeAws_restJson1MultiplexSummary = function (output, context) {
12655
12747
  };
12656
12748
  var deserializeAws_restJson1MultiplexVideoSettings = function (output, context) {
12657
12749
  return {
12658
- ConstantBitrate: __expectInt(output.constantBitrate),
12750
+ ConstantBitrate: __expectInt32(output.constantBitrate),
12659
12751
  StatmuxSettings: output.statmuxSettings !== undefined && output.statmuxSettings !== null
12660
12752
  ? deserializeAws_restJson1MultiplexStatmuxVideoSettings(output.statmuxSettings, context)
12661
12753
  : undefined,
@@ -12679,9 +12771,9 @@ var deserializeAws_restJson1Offering = function (output, context) {
12679
12771
  return {
12680
12772
  Arn: __expectString(output.arn),
12681
12773
  CurrencyCode: __expectString(output.currencyCode),
12682
- Duration: __expectInt(output.duration),
12774
+ Duration: __expectInt32(output.duration),
12683
12775
  DurationUnits: __expectString(output.durationUnits),
12684
- FixedPrice: __limitedParseFloat(output.fixedPrice),
12776
+ FixedPrice: __limitedParseDouble(output.fixedPrice),
12685
12777
  OfferingDescription: __expectString(output.offeringDescription),
12686
12778
  OfferingId: __expectString(output.offeringId),
12687
12779
  OfferingType: __expectString(output.offeringType),
@@ -12689,7 +12781,7 @@ var deserializeAws_restJson1Offering = function (output, context) {
12689
12781
  ResourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
12690
12782
  ? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
12691
12783
  : undefined,
12692
- UsagePrice: __limitedParseFloat(output.usagePrice),
12784
+ UsagePrice: __limitedParseDouble(output.usagePrice),
12693
12785
  };
12694
12786
  };
12695
12787
  var deserializeAws_restJson1Output = function (output, context) {
@@ -12839,19 +12931,19 @@ var deserializeAws_restJson1RemixSettings = function (output, context) {
12839
12931
  ChannelMappings: output.channelMappings !== undefined && output.channelMappings !== null
12840
12932
  ? deserializeAws_restJson1__listOfAudioChannelMapping(output.channelMappings, context)
12841
12933
  : undefined,
12842
- ChannelsIn: __expectInt(output.channelsIn),
12843
- ChannelsOut: __expectInt(output.channelsOut),
12934
+ ChannelsIn: __expectInt32(output.channelsIn),
12935
+ ChannelsOut: __expectInt32(output.channelsOut),
12844
12936
  };
12845
12937
  };
12846
12938
  var deserializeAws_restJson1Reservation = function (output, context) {
12847
12939
  return {
12848
12940
  Arn: __expectString(output.arn),
12849
- Count: __expectInt(output.count),
12941
+ Count: __expectInt32(output.count),
12850
12942
  CurrencyCode: __expectString(output.currencyCode),
12851
- Duration: __expectInt(output.duration),
12943
+ Duration: __expectInt32(output.duration),
12852
12944
  DurationUnits: __expectString(output.durationUnits),
12853
12945
  End: __expectString(output.end),
12854
- FixedPrice: __limitedParseFloat(output.fixedPrice),
12946
+ FixedPrice: __limitedParseDouble(output.fixedPrice),
12855
12947
  Name: __expectString(output.name),
12856
12948
  OfferingDescription: __expectString(output.offeringDescription),
12857
12949
  OfferingId: __expectString(output.offeringId),
@@ -12866,7 +12958,7 @@ var deserializeAws_restJson1Reservation = function (output, context) {
12866
12958
  Tags: output.tags !== undefined && output.tags !== null
12867
12959
  ? deserializeAws_restJson1Tags(output.tags, context)
12868
12960
  : undefined,
12869
- UsagePrice: __limitedParseFloat(output.usagePrice),
12961
+ UsagePrice: __limitedParseDouble(output.usagePrice),
12870
12962
  };
12871
12963
  };
12872
12964
  var deserializeAws_restJson1ReservationResourceSpecification = function (output, context) {
@@ -12891,20 +12983,20 @@ var deserializeAws_restJson1RtmpGroupSettings = function (output, context) {
12891
12983
  : undefined,
12892
12984
  AuthenticationScheme: __expectString(output.authenticationScheme),
12893
12985
  CacheFullBehavior: __expectString(output.cacheFullBehavior),
12894
- CacheLength: __expectInt(output.cacheLength),
12986
+ CacheLength: __expectInt32(output.cacheLength),
12895
12987
  CaptionData: __expectString(output.captionData),
12896
12988
  InputLossAction: __expectString(output.inputLossAction),
12897
- RestartDelay: __expectInt(output.restartDelay),
12989
+ RestartDelay: __expectInt32(output.restartDelay),
12898
12990
  };
12899
12991
  };
12900
12992
  var deserializeAws_restJson1RtmpOutputSettings = function (output, context) {
12901
12993
  return {
12902
12994
  CertificateMode: __expectString(output.certificateMode),
12903
- ConnectionRetryInterval: __expectInt(output.connectionRetryInterval),
12995
+ ConnectionRetryInterval: __expectInt32(output.connectionRetryInterval),
12904
12996
  Destination: output.destination !== undefined && output.destination !== null
12905
12997
  ? deserializeAws_restJson1OutputLocationRef(output.destination, context)
12906
12998
  : undefined,
12907
- NumRetries: __expectInt(output.numRetries),
12999
+ NumRetries: __expectInt32(output.numRetries),
12908
13000
  };
12909
13001
  };
12910
13002
  var deserializeAws_restJson1ScheduleAction = function (output, context) {
@@ -12980,7 +13072,7 @@ var deserializeAws_restJson1Scte20PlusEmbeddedDestinationSettings = function (ou
12980
13072
  var deserializeAws_restJson1Scte20SourceSettings = function (output, context) {
12981
13073
  return {
12982
13074
  Convert608To708: __expectString(output.convert608To708),
12983
- Source608ChannelNumber: __expectInt(output.source608ChannelNumber),
13075
+ Source608ChannelNumber: __expectInt32(output.source608ChannelNumber),
12984
13076
  };
12985
13077
  };
12986
13078
  var deserializeAws_restJson1Scte27DestinationSettings = function (output, context) {
@@ -12989,7 +13081,7 @@ var deserializeAws_restJson1Scte27DestinationSettings = function (output, contex
12989
13081
  var deserializeAws_restJson1Scte27SourceSettings = function (output, context) {
12990
13082
  return {
12991
13083
  OcrLanguage: __expectString(output.ocrLanguage),
12992
- Pid: __expectInt(output.pid),
13084
+ Pid: __expectInt32(output.pid),
12993
13085
  };
12994
13086
  };
12995
13087
  var deserializeAws_restJson1Scte35DeliveryRestrictions = function (output, context) {
@@ -13017,7 +13109,7 @@ var deserializeAws_restJson1Scte35DescriptorSettings = function (output, context
13017
13109
  };
13018
13110
  var deserializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings = function (output, context) {
13019
13111
  return {
13020
- SpliceEventId: __expectInt(output.spliceEventId),
13112
+ SpliceEventId: __expectLong(output.spliceEventId),
13021
13113
  };
13022
13114
  };
13023
13115
  var deserializeAws_restJson1Scte35SegmentationDescriptor = function (output, context) {
@@ -13025,34 +13117,34 @@ var deserializeAws_restJson1Scte35SegmentationDescriptor = function (output, con
13025
13117
  DeliveryRestrictions: output.deliveryRestrictions !== undefined && output.deliveryRestrictions !== null
13026
13118
  ? deserializeAws_restJson1Scte35DeliveryRestrictions(output.deliveryRestrictions, context)
13027
13119
  : undefined,
13028
- SegmentNum: __expectInt(output.segmentNum),
13120
+ SegmentNum: __expectInt32(output.segmentNum),
13029
13121
  SegmentationCancelIndicator: __expectString(output.segmentationCancelIndicator),
13030
- SegmentationDuration: __expectInt(output.segmentationDuration),
13031
- SegmentationEventId: __expectInt(output.segmentationEventId),
13032
- SegmentationTypeId: __expectInt(output.segmentationTypeId),
13122
+ SegmentationDuration: __expectLong(output.segmentationDuration),
13123
+ SegmentationEventId: __expectLong(output.segmentationEventId),
13124
+ SegmentationTypeId: __expectInt32(output.segmentationTypeId),
13033
13125
  SegmentationUpid: __expectString(output.segmentationUpid),
13034
- SegmentationUpidType: __expectInt(output.segmentationUpidType),
13035
- SegmentsExpected: __expectInt(output.segmentsExpected),
13036
- SubSegmentNum: __expectInt(output.subSegmentNum),
13037
- SubSegmentsExpected: __expectInt(output.subSegmentsExpected),
13126
+ SegmentationUpidType: __expectInt32(output.segmentationUpidType),
13127
+ SegmentsExpected: __expectInt32(output.segmentsExpected),
13128
+ SubSegmentNum: __expectInt32(output.subSegmentNum),
13129
+ SubSegmentsExpected: __expectInt32(output.subSegmentsExpected),
13038
13130
  };
13039
13131
  };
13040
13132
  var deserializeAws_restJson1Scte35SpliceInsert = function (output, context) {
13041
13133
  return {
13042
- AdAvailOffset: __expectInt(output.adAvailOffset),
13134
+ AdAvailOffset: __expectInt32(output.adAvailOffset),
13043
13135
  NoRegionalBlackoutFlag: __expectString(output.noRegionalBlackoutFlag),
13044
13136
  WebDeliveryAllowedFlag: __expectString(output.webDeliveryAllowedFlag),
13045
13137
  };
13046
13138
  };
13047
13139
  var deserializeAws_restJson1Scte35SpliceInsertScheduleActionSettings = function (output, context) {
13048
13140
  return {
13049
- Duration: __expectInt(output.duration),
13050
- SpliceEventId: __expectInt(output.spliceEventId),
13141
+ Duration: __expectLong(output.duration),
13142
+ SpliceEventId: __expectLong(output.spliceEventId),
13051
13143
  };
13052
13144
  };
13053
13145
  var deserializeAws_restJson1Scte35TimeSignalApos = function (output, context) {
13054
13146
  return {
13055
- AdAvailOffset: __expectInt(output.adAvailOffset),
13147
+ AdAvailOffset: __expectInt32(output.adAvailOffset),
13056
13148
  NoRegionalBlackoutFlag: __expectString(output.noRegionalBlackoutFlag),
13057
13149
  WebDeliveryAllowedFlag: __expectString(output.webDeliveryAllowedFlag),
13058
13150
  };
@@ -13082,24 +13174,24 @@ var deserializeAws_restJson1StartTimecode = function (output, context) {
13082
13174
  };
13083
13175
  var deserializeAws_restJson1StaticImageActivateScheduleActionSettings = function (output, context) {
13084
13176
  return {
13085
- Duration: __expectInt(output.duration),
13086
- FadeIn: __expectInt(output.fadeIn),
13087
- FadeOut: __expectInt(output.fadeOut),
13088
- Height: __expectInt(output.height),
13177
+ Duration: __expectInt32(output.duration),
13178
+ FadeIn: __expectInt32(output.fadeIn),
13179
+ FadeOut: __expectInt32(output.fadeOut),
13180
+ Height: __expectInt32(output.height),
13089
13181
  Image: output.image !== undefined && output.image !== null
13090
13182
  ? deserializeAws_restJson1InputLocation(output.image, context)
13091
13183
  : undefined,
13092
- ImageX: __expectInt(output.imageX),
13093
- ImageY: __expectInt(output.imageY),
13094
- Layer: __expectInt(output.layer),
13095
- Opacity: __expectInt(output.opacity),
13096
- Width: __expectInt(output.width),
13184
+ ImageX: __expectInt32(output.imageX),
13185
+ ImageY: __expectInt32(output.imageY),
13186
+ Layer: __expectInt32(output.layer),
13187
+ Opacity: __expectInt32(output.opacity),
13188
+ Width: __expectInt32(output.width),
13097
13189
  };
13098
13190
  };
13099
13191
  var deserializeAws_restJson1StaticImageDeactivateScheduleActionSettings = function (output, context) {
13100
13192
  return {
13101
- FadeOut: __expectInt(output.fadeOut),
13102
- Layer: __expectInt(output.layer),
13193
+ FadeOut: __expectInt32(output.fadeOut),
13194
+ Layer: __expectInt32(output.layer),
13103
13195
  };
13104
13196
  };
13105
13197
  var deserializeAws_restJson1StaticKeySettings = function (output, context) {
@@ -13146,7 +13238,7 @@ var deserializeAws_restJson1TemporalFilterSettings = function (output, context)
13146
13238
  var deserializeAws_restJson1TimecodeConfig = function (output, context) {
13147
13239
  return {
13148
13240
  Source: __expectString(output.source),
13149
- SyncThreshold: __expectInt(output.syncThreshold),
13241
+ SyncThreshold: __expectInt32(output.syncThreshold),
13150
13242
  };
13151
13243
  };
13152
13244
  var deserializeAws_restJson1TransferringInputDeviceSummary = function (output, context) {
@@ -13173,12 +13265,12 @@ var deserializeAws_restJson1UdpGroupSettings = function (output, context) {
13173
13265
  return {
13174
13266
  InputLossAction: __expectString(output.inputLossAction),
13175
13267
  TimedMetadataId3Frame: __expectString(output.timedMetadataId3Frame),
13176
- TimedMetadataId3Period: __expectInt(output.timedMetadataId3Period),
13268
+ TimedMetadataId3Period: __expectInt32(output.timedMetadataId3Period),
13177
13269
  };
13178
13270
  };
13179
13271
  var deserializeAws_restJson1UdpOutputSettings = function (output, context) {
13180
13272
  return {
13181
- BufferMsec: __expectInt(output.bufferMsec),
13273
+ BufferMsec: __expectInt32(output.bufferMsec),
13182
13274
  ContainerSettings: output.containerSettings !== undefined && output.containerSettings !== null
13183
13275
  ? deserializeAws_restJson1UdpContainerSettings(output.containerSettings, context)
13184
13276
  : undefined,
@@ -13198,8 +13290,8 @@ var deserializeAws_restJson1ValidationError = function (output, context) {
13198
13290
  };
13199
13291
  var deserializeAws_restJson1VideoBlackFailoverSettings = function (output, context) {
13200
13292
  return {
13201
- BlackDetectThreshold: __limitedParseFloat(output.blackDetectThreshold),
13202
- VideoBlackThresholdMsec: __expectInt(output.videoBlackThresholdMsec),
13293
+ BlackDetectThreshold: __limitedParseDouble(output.blackDetectThreshold),
13294
+ VideoBlackThresholdMsec: __expectInt32(output.videoBlackThresholdMsec),
13203
13295
  };
13204
13296
  };
13205
13297
  var deserializeAws_restJson1VideoCodecSettings = function (output, context) {
@@ -13223,12 +13315,12 @@ var deserializeAws_restJson1VideoDescription = function (output, context) {
13223
13315
  CodecSettings: output.codecSettings !== undefined && output.codecSettings !== null
13224
13316
  ? deserializeAws_restJson1VideoCodecSettings(output.codecSettings, context)
13225
13317
  : undefined,
13226
- Height: __expectInt(output.height),
13318
+ Height: __expectInt32(output.height),
13227
13319
  Name: __expectString(output.name),
13228
13320
  RespondToAfd: __expectString(output.respondToAfd),
13229
13321
  ScalingBehavior: __expectString(output.scalingBehavior),
13230
- Sharpness: __expectInt(output.sharpness),
13231
- Width: __expectInt(output.width),
13322
+ Sharpness: __expectInt32(output.sharpness),
13323
+ Width: __expectInt32(output.width),
13232
13324
  };
13233
13325
  };
13234
13326
  var deserializeAws_restJson1VideoSelector = function (output, context) {
@@ -13252,12 +13344,12 @@ var deserializeAws_restJson1VideoSelectorColorSpaceSettings = function (output,
13252
13344
  };
13253
13345
  var deserializeAws_restJson1VideoSelectorPid = function (output, context) {
13254
13346
  return {
13255
- Pid: __expectInt(output.pid),
13347
+ Pid: __expectInt32(output.pid),
13256
13348
  };
13257
13349
  };
13258
13350
  var deserializeAws_restJson1VideoSelectorProgramId = function (output, context) {
13259
13351
  return {
13260
- ProgramId: __expectInt(output.programId),
13352
+ ProgramId: __expectInt32(output.programId),
13261
13353
  };
13262
13354
  };
13263
13355
  var deserializeAws_restJson1VideoSelectorSettings = function (output, context) {
@@ -13288,9 +13380,9 @@ var deserializeAws_restJson1VpcOutputSettingsDescription = function (output, con
13288
13380
  };
13289
13381
  var deserializeAws_restJson1WavSettings = function (output, context) {
13290
13382
  return {
13291
- BitDepth: __limitedParseFloat(output.bitDepth),
13383
+ BitDepth: __limitedParseDouble(output.bitDepth),
13292
13384
  CodingMode: __expectString(output.codingMode),
13293
- SampleRate: __limitedParseFloat(output.sampleRate),
13385
+ SampleRate: __limitedParseDouble(output.sampleRate),
13294
13386
  };
13295
13387
  };
13296
13388
  var deserializeAws_restJson1WebvttDestinationSettings = function (output, context) {