@aws-sdk/client-securityhub 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.
@@ -1417,7 +1417,7 @@ const deserializeAws_restJson1BatchDisableStandardsCommand = async (output, cont
1417
1417
  $metadata: deserializeMetadata(output),
1418
1418
  StandardsSubscriptions: undefined,
1419
1419
  };
1420
- const data = await parseBody(output.body, context);
1420
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1421
1421
  if (data.StandardsSubscriptions !== undefined && data.StandardsSubscriptions !== null) {
1422
1422
  contents.StandardsSubscriptions = deserializeAws_restJson1StandardsSubscriptions(data.StandardsSubscriptions, context);
1423
1423
  }
@@ -1489,7 +1489,7 @@ const deserializeAws_restJson1BatchEnableStandardsCommand = async (output, conte
1489
1489
  $metadata: deserializeMetadata(output),
1490
1490
  StandardsSubscriptions: undefined,
1491
1491
  };
1492
- const data = await parseBody(output.body, context);
1492
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1493
1493
  if (data.StandardsSubscriptions !== undefined && data.StandardsSubscriptions !== null) {
1494
1494
  contents.StandardsSubscriptions = deserializeAws_restJson1StandardsSubscriptions(data.StandardsSubscriptions, context);
1495
1495
  }
@@ -1563,15 +1563,15 @@ const deserializeAws_restJson1BatchImportFindingsCommand = async (output, contex
1563
1563
  FailedFindings: undefined,
1564
1564
  SuccessCount: undefined,
1565
1565
  };
1566
- const data = await parseBody(output.body, context);
1566
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1567
1567
  if (data.FailedCount !== undefined && data.FailedCount !== null) {
1568
- contents.FailedCount = smithy_client_1.expectInt(data.FailedCount);
1568
+ contents.FailedCount = smithy_client_1.expectInt32(data.FailedCount);
1569
1569
  }
1570
1570
  if (data.FailedFindings !== undefined && data.FailedFindings !== null) {
1571
1571
  contents.FailedFindings = deserializeAws_restJson1ImportFindingsErrorList(data.FailedFindings, context);
1572
1572
  }
1573
1573
  if (data.SuccessCount !== undefined && data.SuccessCount !== null) {
1574
- contents.SuccessCount = smithy_client_1.expectInt(data.SuccessCount);
1574
+ contents.SuccessCount = smithy_client_1.expectInt32(data.SuccessCount);
1575
1575
  }
1576
1576
  return Promise.resolve(contents);
1577
1577
  };
@@ -1642,7 +1642,7 @@ const deserializeAws_restJson1BatchUpdateFindingsCommand = async (output, contex
1642
1642
  ProcessedFindings: undefined,
1643
1643
  UnprocessedFindings: undefined,
1644
1644
  };
1645
- const data = await parseBody(output.body, context);
1645
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1646
1646
  if (data.ProcessedFindings !== undefined && data.ProcessedFindings !== null) {
1647
1647
  contents.ProcessedFindings = deserializeAws_restJson1AwsSecurityFindingIdentifierList(data.ProcessedFindings, context);
1648
1648
  }
@@ -1717,7 +1717,7 @@ const deserializeAws_restJson1CreateActionTargetCommand = async (output, context
1717
1717
  $metadata: deserializeMetadata(output),
1718
1718
  ActionTargetArn: undefined,
1719
1719
  };
1720
- const data = await parseBody(output.body, context);
1720
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1721
1721
  if (data.ActionTargetArn !== undefined && data.ActionTargetArn !== null) {
1722
1722
  contents.ActionTargetArn = smithy_client_1.expectString(data.ActionTargetArn);
1723
1723
  }
@@ -1797,7 +1797,7 @@ const deserializeAws_restJson1CreateInsightCommand = async (output, context) =>
1797
1797
  $metadata: deserializeMetadata(output),
1798
1798
  InsightArn: undefined,
1799
1799
  };
1800
- const data = await parseBody(output.body, context);
1800
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1801
1801
  if (data.InsightArn !== undefined && data.InsightArn !== null) {
1802
1802
  contents.InsightArn = smithy_client_1.expectString(data.InsightArn);
1803
1803
  }
@@ -1877,7 +1877,7 @@ const deserializeAws_restJson1CreateMembersCommand = async (output, context) =>
1877
1877
  $metadata: deserializeMetadata(output),
1878
1878
  UnprocessedAccounts: undefined,
1879
1879
  };
1880
- const data = await parseBody(output.body, context);
1880
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1881
1881
  if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
1882
1882
  contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
1883
1883
  }
@@ -1957,7 +1957,7 @@ const deserializeAws_restJson1DeclineInvitationsCommand = async (output, context
1957
1957
  $metadata: deserializeMetadata(output),
1958
1958
  UnprocessedAccounts: undefined,
1959
1959
  };
1960
- const data = await parseBody(output.body, context);
1960
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1961
1961
  if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
1962
1962
  contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
1963
1963
  }
@@ -2029,7 +2029,7 @@ const deserializeAws_restJson1DeleteActionTargetCommand = async (output, context
2029
2029
  $metadata: deserializeMetadata(output),
2030
2030
  ActionTargetArn: undefined,
2031
2031
  };
2032
- const data = await parseBody(output.body, context);
2032
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2033
2033
  if (data.ActionTargetArn !== undefined && data.ActionTargetArn !== null) {
2034
2034
  contents.ActionTargetArn = smithy_client_1.expectString(data.ActionTargetArn);
2035
2035
  }
@@ -2101,7 +2101,7 @@ const deserializeAws_restJson1DeleteInsightCommand = async (output, context) =>
2101
2101
  $metadata: deserializeMetadata(output),
2102
2102
  InsightArn: undefined,
2103
2103
  };
2104
- const data = await parseBody(output.body, context);
2104
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2105
2105
  if (data.InsightArn !== undefined && data.InsightArn !== null) {
2106
2106
  contents.InsightArn = smithy_client_1.expectString(data.InsightArn);
2107
2107
  }
@@ -2181,7 +2181,7 @@ const deserializeAws_restJson1DeleteInvitationsCommand = async (output, context)
2181
2181
  $metadata: deserializeMetadata(output),
2182
2182
  UnprocessedAccounts: undefined,
2183
2183
  };
2184
- const data = await parseBody(output.body, context);
2184
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2185
2185
  if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
2186
2186
  contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
2187
2187
  }
@@ -2261,7 +2261,7 @@ const deserializeAws_restJson1DeleteMembersCommand = async (output, context) =>
2261
2261
  $metadata: deserializeMetadata(output),
2262
2262
  UnprocessedAccounts: undefined,
2263
2263
  };
2264
- const data = await parseBody(output.body, context);
2264
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2265
2265
  if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
2266
2266
  contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
2267
2267
  }
@@ -2342,7 +2342,7 @@ const deserializeAws_restJson1DescribeActionTargetsCommand = async (output, cont
2342
2342
  ActionTargets: undefined,
2343
2343
  NextToken: undefined,
2344
2344
  };
2345
- const data = await parseBody(output.body, context);
2345
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2346
2346
  if (data.ActionTargets !== undefined && data.ActionTargets !== null) {
2347
2347
  contents.ActionTargets = deserializeAws_restJson1ActionTargetList(data.ActionTargets, context);
2348
2348
  }
@@ -2419,7 +2419,7 @@ const deserializeAws_restJson1DescribeHubCommand = async (output, context) => {
2419
2419
  HubArn: undefined,
2420
2420
  SubscribedAt: undefined,
2421
2421
  };
2422
- const data = await parseBody(output.body, context);
2422
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2423
2423
  if (data.AutoEnableControls !== undefined && data.AutoEnableControls !== null) {
2424
2424
  contents.AutoEnableControls = smithy_client_1.expectBoolean(data.AutoEnableControls);
2425
2425
  }
@@ -2506,7 +2506,7 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommand = async (
2506
2506
  AutoEnable: undefined,
2507
2507
  MemberAccountLimitReached: undefined,
2508
2508
  };
2509
- const data = await parseBody(output.body, context);
2509
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2510
2510
  if (data.AutoEnable !== undefined && data.AutoEnable !== null) {
2511
2511
  contents.AutoEnable = smithy_client_1.expectBoolean(data.AutoEnable);
2512
2512
  }
@@ -2582,7 +2582,7 @@ const deserializeAws_restJson1DescribeProductsCommand = async (output, context)
2582
2582
  NextToken: undefined,
2583
2583
  Products: undefined,
2584
2584
  };
2585
- const data = await parseBody(output.body, context);
2585
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2586
2586
  if (data.NextToken !== undefined && data.NextToken !== null) {
2587
2587
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
2588
2588
  }
@@ -2658,7 +2658,7 @@ const deserializeAws_restJson1DescribeStandardsCommand = async (output, context)
2658
2658
  NextToken: undefined,
2659
2659
  Standards: undefined,
2660
2660
  };
2661
- const data = await parseBody(output.body, context);
2661
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2662
2662
  if (data.NextToken !== undefined && data.NextToken !== null) {
2663
2663
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
2664
2664
  }
@@ -2726,7 +2726,7 @@ const deserializeAws_restJson1DescribeStandardsControlsCommand = async (output,
2726
2726
  Controls: undefined,
2727
2727
  NextToken: undefined,
2728
2728
  };
2729
- const data = await parseBody(output.body, context);
2729
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2730
2730
  if (data.Controls !== undefined && data.Controls !== null) {
2731
2731
  contents.Controls = deserializeAws_restJson1StandardsControls(data.Controls, context);
2732
2732
  }
@@ -3241,7 +3241,7 @@ const deserializeAws_restJson1EnableImportFindingsForProductCommand = async (out
3241
3241
  $metadata: deserializeMetadata(output),
3242
3242
  ProductSubscriptionArn: undefined,
3243
3243
  };
3244
- const data = await parseBody(output.body, context);
3244
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3245
3245
  if (data.ProductSubscriptionArn !== undefined && data.ProductSubscriptionArn !== null) {
3246
3246
  contents.ProductSubscriptionArn = smithy_client_1.expectString(data.ProductSubscriptionArn);
3247
3247
  }
@@ -3465,7 +3465,7 @@ const deserializeAws_restJson1GetAdministratorAccountCommand = async (output, co
3465
3465
  $metadata: deserializeMetadata(output),
3466
3466
  Administrator: undefined,
3467
3467
  };
3468
- const data = await parseBody(output.body, context);
3468
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3469
3469
  if (data.Administrator !== undefined && data.Administrator !== null) {
3470
3470
  contents.Administrator = deserializeAws_restJson1Invitation(data.Administrator, context);
3471
3471
  }
@@ -3546,7 +3546,7 @@ const deserializeAws_restJson1GetEnabledStandardsCommand = async (output, contex
3546
3546
  NextToken: undefined,
3547
3547
  StandardsSubscriptions: undefined,
3548
3548
  };
3549
- const data = await parseBody(output.body, context);
3549
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3550
3550
  if (data.NextToken !== undefined && data.NextToken !== null) {
3551
3551
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
3552
3552
  }
@@ -3622,7 +3622,7 @@ const deserializeAws_restJson1GetFindingsCommand = async (output, context) => {
3622
3622
  Findings: undefined,
3623
3623
  NextToken: undefined,
3624
3624
  };
3625
- const data = await parseBody(output.body, context);
3625
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3626
3626
  if (data.Findings !== undefined && data.Findings !== null) {
3627
3627
  contents.Findings = deserializeAws_restJson1AwsSecurityFindingList(data.Findings, context);
3628
3628
  }
@@ -3697,7 +3697,7 @@ const deserializeAws_restJson1GetInsightResultsCommand = async (output, context)
3697
3697
  $metadata: deserializeMetadata(output),
3698
3698
  InsightResults: undefined,
3699
3699
  };
3700
- const data = await parseBody(output.body, context);
3700
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3701
3701
  if (data.InsightResults !== undefined && data.InsightResults !== null) {
3702
3702
  contents.InsightResults = deserializeAws_restJson1InsightResults(data.InsightResults, context);
3703
3703
  }
@@ -3778,7 +3778,7 @@ const deserializeAws_restJson1GetInsightsCommand = async (output, context) => {
3778
3778
  Insights: undefined,
3779
3779
  NextToken: undefined,
3780
3780
  };
3781
- const data = await parseBody(output.body, context);
3781
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3782
3782
  if (data.Insights !== undefined && data.Insights !== null) {
3783
3783
  contents.Insights = deserializeAws_restJson1InsightList(data.Insights, context);
3784
3784
  }
@@ -3861,9 +3861,9 @@ const deserializeAws_restJson1GetInvitationsCountCommand = async (output, contex
3861
3861
  $metadata: deserializeMetadata(output),
3862
3862
  InvitationsCount: undefined,
3863
3863
  };
3864
- const data = await parseBody(output.body, context);
3864
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3865
3865
  if (data.InvitationsCount !== undefined && data.InvitationsCount !== null) {
3866
- contents.InvitationsCount = smithy_client_1.expectInt(data.InvitationsCount);
3866
+ contents.InvitationsCount = smithy_client_1.expectInt32(data.InvitationsCount);
3867
3867
  }
3868
3868
  return Promise.resolve(contents);
3869
3869
  };
@@ -3933,7 +3933,7 @@ const deserializeAws_restJson1GetMasterAccountCommand = async (output, context)
3933
3933
  $metadata: deserializeMetadata(output),
3934
3934
  Master: undefined,
3935
3935
  };
3936
- const data = await parseBody(output.body, context);
3936
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3937
3937
  if (data.Master !== undefined && data.Master !== null) {
3938
3938
  contents.Master = deserializeAws_restJson1Invitation(data.Master, context);
3939
3939
  }
@@ -4014,7 +4014,7 @@ const deserializeAws_restJson1GetMembersCommand = async (output, context) => {
4014
4014
  Members: undefined,
4015
4015
  UnprocessedAccounts: undefined,
4016
4016
  };
4017
- const data = await parseBody(output.body, context);
4017
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4018
4018
  if (data.Members !== undefined && data.Members !== null) {
4019
4019
  contents.Members = deserializeAws_restJson1MemberList(data.Members, context);
4020
4020
  }
@@ -4097,7 +4097,7 @@ const deserializeAws_restJson1InviteMembersCommand = async (output, context) =>
4097
4097
  $metadata: deserializeMetadata(output),
4098
4098
  UnprocessedAccounts: undefined,
4099
4099
  };
4100
- const data = await parseBody(output.body, context);
4100
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4101
4101
  if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
4102
4102
  contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
4103
4103
  }
@@ -4178,7 +4178,7 @@ const deserializeAws_restJson1ListEnabledProductsForImportCommand = async (outpu
4178
4178
  NextToken: undefined,
4179
4179
  ProductSubscriptions: undefined,
4180
4180
  };
4181
- const data = await parseBody(output.body, context);
4181
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4182
4182
  if (data.NextToken !== undefined && data.NextToken !== null) {
4183
4183
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
4184
4184
  }
@@ -4246,7 +4246,7 @@ const deserializeAws_restJson1ListInvitationsCommand = async (output, context) =
4246
4246
  Invitations: undefined,
4247
4247
  NextToken: undefined,
4248
4248
  };
4249
- const data = await parseBody(output.body, context);
4249
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4250
4250
  if (data.Invitations !== undefined && data.Invitations !== null) {
4251
4251
  contents.Invitations = deserializeAws_restJson1InvitationList(data.Invitations, context);
4252
4252
  }
@@ -4322,7 +4322,7 @@ const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
4322
4322
  Members: undefined,
4323
4323
  NextToken: undefined,
4324
4324
  };
4325
- const data = await parseBody(output.body, context);
4325
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4326
4326
  if (data.Members !== undefined && data.Members !== null) {
4327
4327
  contents.Members = deserializeAws_restJson1MemberList(data.Members, context);
4328
4328
  }
@@ -4398,7 +4398,7 @@ const deserializeAws_restJson1ListOrganizationAdminAccountsCommand = async (outp
4398
4398
  AdminAccounts: undefined,
4399
4399
  NextToken: undefined,
4400
4400
  };
4401
- const data = await parseBody(output.body, context);
4401
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4402
4402
  if (data.AdminAccounts !== undefined && data.AdminAccounts !== null) {
4403
4403
  contents.AdminAccounts = deserializeAws_restJson1AdminAccounts(data.AdminAccounts, context);
4404
4404
  }
@@ -4473,7 +4473,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
4473
4473
  $metadata: deserializeMetadata(output),
4474
4474
  Tags: undefined,
4475
4475
  };
4476
- const data = await parseBody(output.body, context);
4476
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4477
4477
  if (data.Tags !== undefined && data.Tags !== null) {
4478
4478
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
4479
4479
  }
@@ -5278,6 +5278,22 @@ const serializeAws_restJson1ActionRemotePortDetails = (input, context) => {
5278
5278
  ...(input.PortName !== undefined && input.PortName !== null && { PortName: input.PortName }),
5279
5279
  };
5280
5280
  };
5281
+ const serializeAws_restJson1Adjustment = (input, context) => {
5282
+ return {
5283
+ ...(input.Metric !== undefined && input.Metric !== null && { Metric: input.Metric }),
5284
+ ...(input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason }),
5285
+ };
5286
+ };
5287
+ const serializeAws_restJson1AdjustmentList = (input, context) => {
5288
+ return input
5289
+ .filter((e) => e != null)
5290
+ .map((entry) => {
5291
+ if (entry === null) {
5292
+ return null;
5293
+ }
5294
+ return serializeAws_restJson1Adjustment(entry, context);
5295
+ });
5296
+ };
5281
5297
  const serializeAws_restJson1ArnList = (input, context) => {
5282
5298
  return input
5283
5299
  .filter((e) => e != null)
@@ -5531,6 +5547,82 @@ const serializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = (input, cont
5531
5547
  }),
5532
5548
  };
5533
5549
  };
5550
+ const serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails = (input, context) => {
5551
+ return {
5552
+ ...(input.DeviceName !== undefined && input.DeviceName !== null && { DeviceName: input.DeviceName }),
5553
+ ...(input.Ebs !== undefined &&
5554
+ input.Ebs !== null && {
5555
+ Ebs: serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails(input.Ebs, context),
5556
+ }),
5557
+ ...(input.NoDevice !== undefined && input.NoDevice !== null && { NoDevice: input.NoDevice }),
5558
+ ...(input.VirtualName !== undefined && input.VirtualName !== null && { VirtualName: input.VirtualName }),
5559
+ };
5560
+ };
5561
+ const serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails = (input, context) => {
5562
+ return {
5563
+ ...(input.DeleteOnTermination !== undefined &&
5564
+ input.DeleteOnTermination !== null && { DeleteOnTermination: input.DeleteOnTermination }),
5565
+ ...(input.Encrypted !== undefined && input.Encrypted !== null && { Encrypted: input.Encrypted }),
5566
+ ...(input.Iops !== undefined && input.Iops !== null && { Iops: input.Iops }),
5567
+ ...(input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId }),
5568
+ ...(input.VolumeSize !== undefined && input.VolumeSize !== null && { VolumeSize: input.VolumeSize }),
5569
+ ...(input.VolumeType !== undefined && input.VolumeType !== null && { VolumeType: input.VolumeType }),
5570
+ };
5571
+ };
5572
+ const serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList = (input, context) => {
5573
+ return input
5574
+ .filter((e) => e != null)
5575
+ .map((entry) => {
5576
+ if (entry === null) {
5577
+ return null;
5578
+ }
5579
+ return serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails(entry, context);
5580
+ });
5581
+ };
5582
+ const serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = (input, context) => {
5583
+ return {
5584
+ ...(input.AssociatePublicIpAddress !== undefined &&
5585
+ input.AssociatePublicIpAddress !== null && { AssociatePublicIpAddress: input.AssociatePublicIpAddress }),
5586
+ ...(input.BlockDeviceMappings !== undefined &&
5587
+ input.BlockDeviceMappings !== null && {
5588
+ BlockDeviceMappings: serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(input.BlockDeviceMappings, context),
5589
+ }),
5590
+ ...(input.ClassicLinkVpcId !== undefined &&
5591
+ input.ClassicLinkVpcId !== null && { ClassicLinkVpcId: input.ClassicLinkVpcId }),
5592
+ ...(input.ClassicLinkVpcSecurityGroups !== undefined &&
5593
+ input.ClassicLinkVpcSecurityGroups !== null && {
5594
+ ClassicLinkVpcSecurityGroups: serializeAws_restJson1NonEmptyStringList(input.ClassicLinkVpcSecurityGroups, context),
5595
+ }),
5596
+ ...(input.CreatedTime !== undefined && input.CreatedTime !== null && { CreatedTime: input.CreatedTime }),
5597
+ ...(input.EbsOptimized !== undefined && input.EbsOptimized !== null && { EbsOptimized: input.EbsOptimized }),
5598
+ ...(input.IamInstanceProfile !== undefined &&
5599
+ input.IamInstanceProfile !== null && { IamInstanceProfile: input.IamInstanceProfile }),
5600
+ ...(input.ImageId !== undefined && input.ImageId !== null && { ImageId: input.ImageId }),
5601
+ ...(input.InstanceMonitoring !== undefined &&
5602
+ input.InstanceMonitoring !== null && {
5603
+ InstanceMonitoring: serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(input.InstanceMonitoring, context),
5604
+ }),
5605
+ ...(input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }),
5606
+ ...(input.KernelId !== undefined && input.KernelId !== null && { KernelId: input.KernelId }),
5607
+ ...(input.KeyName !== undefined && input.KeyName !== null && { KeyName: input.KeyName }),
5608
+ ...(input.LaunchConfigurationName !== undefined &&
5609
+ input.LaunchConfigurationName !== null && { LaunchConfigurationName: input.LaunchConfigurationName }),
5610
+ ...(input.PlacementTenancy !== undefined &&
5611
+ input.PlacementTenancy !== null && { PlacementTenancy: input.PlacementTenancy }),
5612
+ ...(input.RamdiskId !== undefined && input.RamdiskId !== null && { RamdiskId: input.RamdiskId }),
5613
+ ...(input.SecurityGroups !== undefined &&
5614
+ input.SecurityGroups !== null && {
5615
+ SecurityGroups: serializeAws_restJson1NonEmptyStringList(input.SecurityGroups, context),
5616
+ }),
5617
+ ...(input.SpotPrice !== undefined && input.SpotPrice !== null && { SpotPrice: input.SpotPrice }),
5618
+ ...(input.UserData !== undefined && input.UserData !== null && { UserData: input.UserData }),
5619
+ };
5620
+ };
5621
+ const serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails = (input, context) => {
5622
+ return {
5623
+ ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
5624
+ };
5625
+ };
5534
5626
  const serializeAws_restJson1AwsCertificateManagerCertificateDetails = (input, context) => {
5535
5627
  return {
5536
5628
  ...(input.CertificateAuthorityArn !== undefined &&
@@ -6584,6 +6676,157 @@ const serializeAws_restJson1AwsEc2VpcDetails = (input, context) => {
6584
6676
  ...(input.State !== undefined && input.State !== null && { State: input.State }),
6585
6677
  };
6586
6678
  };
6679
+ const serializeAws_restJson1AwsEc2VpnConnectionDetails = (input, context) => {
6680
+ return {
6681
+ ...(input.Category !== undefined && input.Category !== null && { Category: input.Category }),
6682
+ ...(input.CustomerGatewayConfiguration !== undefined &&
6683
+ input.CustomerGatewayConfiguration !== null && {
6684
+ CustomerGatewayConfiguration: input.CustomerGatewayConfiguration,
6685
+ }),
6686
+ ...(input.CustomerGatewayId !== undefined &&
6687
+ input.CustomerGatewayId !== null && { CustomerGatewayId: input.CustomerGatewayId }),
6688
+ ...(input.Options !== undefined &&
6689
+ input.Options !== null && {
6690
+ Options: serializeAws_restJson1AwsEc2VpnConnectionOptionsDetails(input.Options, context),
6691
+ }),
6692
+ ...(input.Routes !== undefined &&
6693
+ input.Routes !== null && { Routes: serializeAws_restJson1AwsEc2VpnConnectionRoutesList(input.Routes, context) }),
6694
+ ...(input.State !== undefined && input.State !== null && { State: input.State }),
6695
+ ...(input.TransitGatewayId !== undefined &&
6696
+ input.TransitGatewayId !== null && { TransitGatewayId: input.TransitGatewayId }),
6697
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
6698
+ ...(input.VgwTelemetry !== undefined &&
6699
+ input.VgwTelemetry !== null && {
6700
+ VgwTelemetry: serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList(input.VgwTelemetry, context),
6701
+ }),
6702
+ ...(input.VpnConnectionId !== undefined &&
6703
+ input.VpnConnectionId !== null && { VpnConnectionId: input.VpnConnectionId }),
6704
+ ...(input.VpnGatewayId !== undefined && input.VpnGatewayId !== null && { VpnGatewayId: input.VpnGatewayId }),
6705
+ };
6706
+ };
6707
+ const serializeAws_restJson1AwsEc2VpnConnectionOptionsDetails = (input, context) => {
6708
+ return {
6709
+ ...(input.StaticRoutesOnly !== undefined &&
6710
+ input.StaticRoutesOnly !== null && { StaticRoutesOnly: input.StaticRoutesOnly }),
6711
+ ...(input.TunnelOptions !== undefined &&
6712
+ input.TunnelOptions !== null && {
6713
+ TunnelOptions: serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList(input.TunnelOptions, context),
6714
+ }),
6715
+ };
6716
+ };
6717
+ const serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails = (input, context) => {
6718
+ return {
6719
+ ...(input.DpdTimeoutSeconds !== undefined &&
6720
+ input.DpdTimeoutSeconds !== null && { DpdTimeoutSeconds: input.DpdTimeoutSeconds }),
6721
+ ...(input.IkeVersions !== undefined &&
6722
+ input.IkeVersions !== null && {
6723
+ IkeVersions: serializeAws_restJson1NonEmptyStringList(input.IkeVersions, context),
6724
+ }),
6725
+ ...(input.OutsideIpAddress !== undefined &&
6726
+ input.OutsideIpAddress !== null && { OutsideIpAddress: input.OutsideIpAddress }),
6727
+ ...(input.Phase1DhGroupNumbers !== undefined &&
6728
+ input.Phase1DhGroupNumbers !== null && {
6729
+ Phase1DhGroupNumbers: serializeAws_restJson1IntegerList(input.Phase1DhGroupNumbers, context),
6730
+ }),
6731
+ ...(input.Phase1EncryptionAlgorithms !== undefined &&
6732
+ input.Phase1EncryptionAlgorithms !== null && {
6733
+ Phase1EncryptionAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase1EncryptionAlgorithms, context),
6734
+ }),
6735
+ ...(input.Phase1IntegrityAlgorithms !== undefined &&
6736
+ input.Phase1IntegrityAlgorithms !== null && {
6737
+ Phase1IntegrityAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase1IntegrityAlgorithms, context),
6738
+ }),
6739
+ ...(input.Phase1LifetimeSeconds !== undefined &&
6740
+ input.Phase1LifetimeSeconds !== null && { Phase1LifetimeSeconds: input.Phase1LifetimeSeconds }),
6741
+ ...(input.Phase2DhGroupNumbers !== undefined &&
6742
+ input.Phase2DhGroupNumbers !== null && {
6743
+ Phase2DhGroupNumbers: serializeAws_restJson1IntegerList(input.Phase2DhGroupNumbers, context),
6744
+ }),
6745
+ ...(input.Phase2EncryptionAlgorithms !== undefined &&
6746
+ input.Phase2EncryptionAlgorithms !== null && {
6747
+ Phase2EncryptionAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase2EncryptionAlgorithms, context),
6748
+ }),
6749
+ ...(input.Phase2IntegrityAlgorithms !== undefined &&
6750
+ input.Phase2IntegrityAlgorithms !== null && {
6751
+ Phase2IntegrityAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase2IntegrityAlgorithms, context),
6752
+ }),
6753
+ ...(input.Phase2LifetimeSeconds !== undefined &&
6754
+ input.Phase2LifetimeSeconds !== null && { Phase2LifetimeSeconds: input.Phase2LifetimeSeconds }),
6755
+ ...(input.PreSharedKey !== undefined && input.PreSharedKey !== null && { PreSharedKey: input.PreSharedKey }),
6756
+ ...(input.RekeyFuzzPercentage !== undefined &&
6757
+ input.RekeyFuzzPercentage !== null && { RekeyFuzzPercentage: input.RekeyFuzzPercentage }),
6758
+ ...(input.RekeyMarginTimeSeconds !== undefined &&
6759
+ input.RekeyMarginTimeSeconds !== null && { RekeyMarginTimeSeconds: input.RekeyMarginTimeSeconds }),
6760
+ ...(input.ReplayWindowSize !== undefined &&
6761
+ input.ReplayWindowSize !== null && { ReplayWindowSize: input.ReplayWindowSize }),
6762
+ ...(input.TunnelInsideCidr !== undefined &&
6763
+ input.TunnelInsideCidr !== null && { TunnelInsideCidr: input.TunnelInsideCidr }),
6764
+ };
6765
+ };
6766
+ const serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList = (input, context) => {
6767
+ return input
6768
+ .filter((e) => e != null)
6769
+ .map((entry) => {
6770
+ if (entry === null) {
6771
+ return null;
6772
+ }
6773
+ return serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails(entry, context);
6774
+ });
6775
+ };
6776
+ const serializeAws_restJson1AwsEc2VpnConnectionRoutesDetails = (input, context) => {
6777
+ return {
6778
+ ...(input.DestinationCidrBlock !== undefined &&
6779
+ input.DestinationCidrBlock !== null && { DestinationCidrBlock: input.DestinationCidrBlock }),
6780
+ ...(input.State !== undefined && input.State !== null && { State: input.State }),
6781
+ };
6782
+ };
6783
+ const serializeAws_restJson1AwsEc2VpnConnectionRoutesList = (input, context) => {
6784
+ return input
6785
+ .filter((e) => e != null)
6786
+ .map((entry) => {
6787
+ if (entry === null) {
6788
+ return null;
6789
+ }
6790
+ return serializeAws_restJson1AwsEc2VpnConnectionRoutesDetails(entry, context);
6791
+ });
6792
+ };
6793
+ const serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails = (input, context) => {
6794
+ return {
6795
+ ...(input.AcceptedRouteCount !== undefined &&
6796
+ input.AcceptedRouteCount !== null && { AcceptedRouteCount: input.AcceptedRouteCount }),
6797
+ ...(input.CertificateArn !== undefined &&
6798
+ input.CertificateArn !== null && { CertificateArn: input.CertificateArn }),
6799
+ ...(input.LastStatusChange !== undefined &&
6800
+ input.LastStatusChange !== null && { LastStatusChange: input.LastStatusChange }),
6801
+ ...(input.OutsideIpAddress !== undefined &&
6802
+ input.OutsideIpAddress !== null && { OutsideIpAddress: input.OutsideIpAddress }),
6803
+ ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
6804
+ ...(input.StatusMessage !== undefined && input.StatusMessage !== null && { StatusMessage: input.StatusMessage }),
6805
+ };
6806
+ };
6807
+ const serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList = (input, context) => {
6808
+ return input
6809
+ .filter((e) => e != null)
6810
+ .map((entry) => {
6811
+ if (entry === null) {
6812
+ return null;
6813
+ }
6814
+ return serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails(entry, context);
6815
+ });
6816
+ };
6817
+ const serializeAws_restJson1AwsEcrContainerImageDetails = (input, context) => {
6818
+ return {
6819
+ ...(input.Architecture !== undefined && input.Architecture !== null && { Architecture: input.Architecture }),
6820
+ ...(input.ImageDigest !== undefined && input.ImageDigest !== null && { ImageDigest: input.ImageDigest }),
6821
+ ...(input.ImagePublishedAt !== undefined &&
6822
+ input.ImagePublishedAt !== null && { ImagePublishedAt: input.ImagePublishedAt }),
6823
+ ...(input.ImageTags !== undefined &&
6824
+ input.ImageTags !== null && { ImageTags: serializeAws_restJson1NonEmptyStringList(input.ImageTags, context) }),
6825
+ ...(input.RegistryId !== undefined && input.RegistryId !== null && { RegistryId: input.RegistryId }),
6826
+ ...(input.RepositoryName !== undefined &&
6827
+ input.RepositoryName !== null && { RepositoryName: input.RepositoryName }),
6828
+ };
6829
+ };
6587
6830
  const serializeAws_restJson1AwsEcsClusterClusterSettingsDetails = (input, context) => {
6588
6831
  return {
6589
6832
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
@@ -8161,6 +8404,8 @@ const serializeAws_restJson1AwsKmsKeyDetails = (input, context) => {
8161
8404
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
8162
8405
  ...(input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId }),
8163
8406
  ...(input.KeyManager !== undefined && input.KeyManager !== null && { KeyManager: input.KeyManager }),
8407
+ ...(input.KeyRotationStatus !== undefined &&
8408
+ input.KeyRotationStatus !== null && { KeyRotationStatus: input.KeyRotationStatus }),
8164
8409
  ...(input.KeyState !== undefined && input.KeyState !== null && { KeyState: input.KeyState }),
8165
8410
  ...(input.Origin !== undefined && input.Origin !== null && { Origin: input.Origin }),
8166
8411
  };
@@ -9378,10 +9623,24 @@ const serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransiti
9378
9623
  };
9379
9624
  const serializeAws_restJson1AwsS3BucketDetails = (input, context) => {
9380
9625
  return {
9626
+ ...(input.AccessControlList !== undefined &&
9627
+ input.AccessControlList !== null && { AccessControlList: input.AccessControlList }),
9381
9628
  ...(input.BucketLifecycleConfiguration !== undefined &&
9382
9629
  input.BucketLifecycleConfiguration !== null && {
9383
9630
  BucketLifecycleConfiguration: serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails(input.BucketLifecycleConfiguration, context),
9384
9631
  }),
9632
+ ...(input.BucketLoggingConfiguration !== undefined &&
9633
+ input.BucketLoggingConfiguration !== null && {
9634
+ BucketLoggingConfiguration: serializeAws_restJson1AwsS3BucketLoggingConfiguration(input.BucketLoggingConfiguration, context),
9635
+ }),
9636
+ ...(input.BucketNotificationConfiguration !== undefined &&
9637
+ input.BucketNotificationConfiguration !== null && {
9638
+ BucketNotificationConfiguration: serializeAws_restJson1AwsS3BucketNotificationConfiguration(input.BucketNotificationConfiguration, context),
9639
+ }),
9640
+ ...(input.BucketWebsiteConfiguration !== undefined &&
9641
+ input.BucketWebsiteConfiguration !== null && {
9642
+ BucketWebsiteConfiguration: serializeAws_restJson1AwsS3BucketWebsiteConfiguration(input.BucketWebsiteConfiguration, context),
9643
+ }),
9385
9644
  ...(input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt }),
9386
9645
  ...(input.OwnerId !== undefined && input.OwnerId !== null && { OwnerId: input.OwnerId }),
9387
9646
  ...(input.OwnerName !== undefined && input.OwnerName !== null && { OwnerName: input.OwnerName }),
@@ -9395,6 +9654,87 @@ const serializeAws_restJson1AwsS3BucketDetails = (input, context) => {
9395
9654
  }),
9396
9655
  };
9397
9656
  };
9657
+ const serializeAws_restJson1AwsS3BucketLoggingConfiguration = (input, context) => {
9658
+ return {
9659
+ ...(input.DestinationBucketName !== undefined &&
9660
+ input.DestinationBucketName !== null && { DestinationBucketName: input.DestinationBucketName }),
9661
+ ...(input.LogFilePrefix !== undefined && input.LogFilePrefix !== null && { LogFilePrefix: input.LogFilePrefix }),
9662
+ };
9663
+ };
9664
+ const serializeAws_restJson1AwsS3BucketNotificationConfiguration = (input, context) => {
9665
+ return {
9666
+ ...(input.Configurations !== undefined &&
9667
+ input.Configurations !== null && {
9668
+ Configurations: serializeAws_restJson1AwsS3BucketNotificationConfigurationDetails(input.Configurations, context),
9669
+ }),
9670
+ };
9671
+ };
9672
+ const serializeAws_restJson1AwsS3BucketNotificationConfigurationDetail = (input, context) => {
9673
+ return {
9674
+ ...(input.Destination !== undefined && input.Destination !== null && { Destination: input.Destination }),
9675
+ ...(input.Events !== undefined &&
9676
+ input.Events !== null && {
9677
+ Events: serializeAws_restJson1AwsS3BucketNotificationConfigurationEvents(input.Events, context),
9678
+ }),
9679
+ ...(input.Filter !== undefined &&
9680
+ input.Filter !== null && {
9681
+ Filter: serializeAws_restJson1AwsS3BucketNotificationConfigurationFilter(input.Filter, context),
9682
+ }),
9683
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
9684
+ };
9685
+ };
9686
+ const serializeAws_restJson1AwsS3BucketNotificationConfigurationDetails = (input, context) => {
9687
+ return input
9688
+ .filter((e) => e != null)
9689
+ .map((entry) => {
9690
+ if (entry === null) {
9691
+ return null;
9692
+ }
9693
+ return serializeAws_restJson1AwsS3BucketNotificationConfigurationDetail(entry, context);
9694
+ });
9695
+ };
9696
+ const serializeAws_restJson1AwsS3BucketNotificationConfigurationEvents = (input, context) => {
9697
+ return input
9698
+ .filter((e) => e != null)
9699
+ .map((entry) => {
9700
+ if (entry === null) {
9701
+ return null;
9702
+ }
9703
+ return entry;
9704
+ });
9705
+ };
9706
+ const serializeAws_restJson1AwsS3BucketNotificationConfigurationFilter = (input, context) => {
9707
+ return {
9708
+ ...(input.S3KeyFilter !== undefined &&
9709
+ input.S3KeyFilter !== null && {
9710
+ S3KeyFilter: serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter(input.S3KeyFilter, context),
9711
+ }),
9712
+ };
9713
+ };
9714
+ const serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter = (input, context) => {
9715
+ return {
9716
+ ...(input.FilterRules !== undefined &&
9717
+ input.FilterRules !== null && {
9718
+ FilterRules: serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules(input.FilterRules, context),
9719
+ }),
9720
+ };
9721
+ };
9722
+ const serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule = (input, context) => {
9723
+ return {
9724
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
9725
+ ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
9726
+ };
9727
+ };
9728
+ const serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules = (input, context) => {
9729
+ return input
9730
+ .filter((e) => e != null)
9731
+ .map((entry) => {
9732
+ if (entry === null) {
9733
+ return null;
9734
+ }
9735
+ return serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule(entry, context);
9736
+ });
9737
+ };
9398
9738
  const serializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = (input, context) => {
9399
9739
  return {
9400
9740
  ...(input.KMSMasterKeyID !== undefined &&
@@ -9428,6 +9768,69 @@ const serializeAws_restJson1AwsS3BucketServerSideEncryptionRules = (input, conte
9428
9768
  return serializeAws_restJson1AwsS3BucketServerSideEncryptionRule(entry, context);
9429
9769
  });
9430
9770
  };
9771
+ const serializeAws_restJson1AwsS3BucketWebsiteConfiguration = (input, context) => {
9772
+ return {
9773
+ ...(input.ErrorDocument !== undefined && input.ErrorDocument !== null && { ErrorDocument: input.ErrorDocument }),
9774
+ ...(input.IndexDocumentSuffix !== undefined &&
9775
+ input.IndexDocumentSuffix !== null && { IndexDocumentSuffix: input.IndexDocumentSuffix }),
9776
+ ...(input.RedirectAllRequestsTo !== undefined &&
9777
+ input.RedirectAllRequestsTo !== null && {
9778
+ RedirectAllRequestsTo: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo(input.RedirectAllRequestsTo, context),
9779
+ }),
9780
+ ...(input.RoutingRules !== undefined &&
9781
+ input.RoutingRules !== null && {
9782
+ RoutingRules: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules(input.RoutingRules, context),
9783
+ }),
9784
+ };
9785
+ };
9786
+ const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo = (input, context) => {
9787
+ return {
9788
+ ...(input.Hostname !== undefined && input.Hostname !== null && { Hostname: input.Hostname }),
9789
+ ...(input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }),
9790
+ };
9791
+ };
9792
+ const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule = (input, context) => {
9793
+ return {
9794
+ ...(input.Condition !== undefined &&
9795
+ input.Condition !== null && {
9796
+ Condition: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition(input.Condition, context),
9797
+ }),
9798
+ ...(input.Redirect !== undefined &&
9799
+ input.Redirect !== null && {
9800
+ Redirect: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect(input.Redirect, context),
9801
+ }),
9802
+ };
9803
+ };
9804
+ const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition = (input, context) => {
9805
+ return {
9806
+ ...(input.HttpErrorCodeReturnedEquals !== undefined &&
9807
+ input.HttpErrorCodeReturnedEquals !== null && { HttpErrorCodeReturnedEquals: input.HttpErrorCodeReturnedEquals }),
9808
+ ...(input.KeyPrefixEquals !== undefined &&
9809
+ input.KeyPrefixEquals !== null && { KeyPrefixEquals: input.KeyPrefixEquals }),
9810
+ };
9811
+ };
9812
+ const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect = (input, context) => {
9813
+ return {
9814
+ ...(input.Hostname !== undefined && input.Hostname !== null && { Hostname: input.Hostname }),
9815
+ ...(input.HttpRedirectCode !== undefined &&
9816
+ input.HttpRedirectCode !== null && { HttpRedirectCode: input.HttpRedirectCode }),
9817
+ ...(input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }),
9818
+ ...(input.ReplaceKeyPrefixWith !== undefined &&
9819
+ input.ReplaceKeyPrefixWith !== null && { ReplaceKeyPrefixWith: input.ReplaceKeyPrefixWith }),
9820
+ ...(input.ReplaceKeyWith !== undefined &&
9821
+ input.ReplaceKeyWith !== null && { ReplaceKeyWith: input.ReplaceKeyWith }),
9822
+ };
9823
+ };
9824
+ const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules = (input, context) => {
9825
+ return input
9826
+ .filter((e) => e != null)
9827
+ .map((entry) => {
9828
+ if (entry === null) {
9829
+ return null;
9830
+ }
9831
+ return serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule(entry, context);
9832
+ });
9833
+ };
9431
9834
  const serializeAws_restJson1AwsS3ObjectDetails = (input, context) => {
9432
9835
  return {
9433
9836
  ...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
@@ -10174,8 +10577,11 @@ const serializeAws_restJson1CustomDataIdentifiersResult = (input, context) => {
10174
10577
  };
10175
10578
  const serializeAws_restJson1Cvss = (input, context) => {
10176
10579
  return {
10580
+ ...(input.Adjustments !== undefined &&
10581
+ input.Adjustments !== null && { Adjustments: serializeAws_restJson1AdjustmentList(input.Adjustments, context) }),
10177
10582
  ...(input.BaseScore !== undefined && input.BaseScore !== null && { BaseScore: smithy_client_1.serializeFloat(input.BaseScore) }),
10178
10583
  ...(input.BaseVector !== undefined && input.BaseVector !== null && { BaseVector: input.BaseVector }),
10584
+ ...(input.Source !== undefined && input.Source !== null && { Source: input.Source }),
10179
10585
  ...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
10180
10586
  };
10181
10587
  };
@@ -10271,6 +10677,16 @@ const serializeAws_restJson1IcmpTypeCode = (input, context) => {
10271
10677
  ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
10272
10678
  };
10273
10679
  };
10680
+ const serializeAws_restJson1IntegerList = (input, context) => {
10681
+ return input
10682
+ .filter((e) => e != null)
10683
+ .map((entry) => {
10684
+ if (entry === null) {
10685
+ return null;
10686
+ }
10687
+ return entry;
10688
+ });
10689
+ };
10274
10690
  const serializeAws_restJson1IpFilter = (input, context) => {
10275
10691
  return {
10276
10692
  ...(input.Cidr !== undefined && input.Cidr !== null && { Cidr: input.Cidr }),
@@ -10721,6 +11137,10 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
10721
11137
  input.AwsAutoScalingAutoScalingGroup !== null && {
10722
11138
  AwsAutoScalingAutoScalingGroup: serializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails(input.AwsAutoScalingAutoScalingGroup, context),
10723
11139
  }),
11140
+ ...(input.AwsAutoScalingLaunchConfiguration !== undefined &&
11141
+ input.AwsAutoScalingLaunchConfiguration !== null && {
11142
+ AwsAutoScalingLaunchConfiguration: serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails(input.AwsAutoScalingLaunchConfiguration, context),
11143
+ }),
10724
11144
  ...(input.AwsCertificateManagerCertificate !== undefined &&
10725
11145
  input.AwsCertificateManagerCertificate !== null && {
10726
11146
  AwsCertificateManagerCertificate: serializeAws_restJson1AwsCertificateManagerCertificateDetails(input.AwsCertificateManagerCertificate, context),
@@ -10769,6 +11189,14 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
10769
11189
  }),
10770
11190
  ...(input.AwsEc2Vpc !== undefined &&
10771
11191
  input.AwsEc2Vpc !== null && { AwsEc2Vpc: serializeAws_restJson1AwsEc2VpcDetails(input.AwsEc2Vpc, context) }),
11192
+ ...(input.AwsEc2VpnConnection !== undefined &&
11193
+ input.AwsEc2VpnConnection !== null && {
11194
+ AwsEc2VpnConnection: serializeAws_restJson1AwsEc2VpnConnectionDetails(input.AwsEc2VpnConnection, context),
11195
+ }),
11196
+ ...(input.AwsEcrContainerImage !== undefined &&
11197
+ input.AwsEcrContainerImage !== null && {
11198
+ AwsEcrContainerImage: serializeAws_restJson1AwsEcrContainerImageDetails(input.AwsEcrContainerImage, context),
11199
+ }),
10772
11200
  ...(input.AwsEcsCluster !== undefined &&
10773
11201
  input.AwsEcsCluster !== null && {
10774
11202
  AwsEcsCluster: serializeAws_restJson1AwsEcsClusterDetails(input.AwsEcsCluster, context),
@@ -10962,7 +11390,10 @@ const serializeAws_restJson1SoftwarePackage = (input, context) => {
10962
11390
  return {
10963
11391
  ...(input.Architecture !== undefined && input.Architecture !== null && { Architecture: input.Architecture }),
10964
11392
  ...(input.Epoch !== undefined && input.Epoch !== null && { Epoch: input.Epoch }),
11393
+ ...(input.FilePath !== undefined && input.FilePath !== null && { FilePath: input.FilePath }),
10965
11394
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
11395
+ ...(input.PackageManager !== undefined &&
11396
+ input.PackageManager !== null && { PackageManager: input.PackageManager }),
10966
11397
  ...(input.Release !== undefined && input.Release !== null && { Release: input.Release }),
10967
11398
  ...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
10968
11399
  };
@@ -11219,7 +11650,7 @@ const deserializeAws_restJson1ActionLocalIpDetails = (output, context) => {
11219
11650
  };
11220
11651
  const deserializeAws_restJson1ActionLocalPortDetails = (output, context) => {
11221
11652
  return {
11222
- Port: smithy_client_1.expectInt(output.Port),
11653
+ Port: smithy_client_1.expectInt32(output.Port),
11223
11654
  PortName: smithy_client_1.expectString(output.PortName),
11224
11655
  };
11225
11656
  };
@@ -11242,7 +11673,7 @@ const deserializeAws_restJson1ActionRemoteIpDetails = (output, context) => {
11242
11673
  };
11243
11674
  const deserializeAws_restJson1ActionRemotePortDetails = (output, context) => {
11244
11675
  return {
11245
- Port: smithy_client_1.expectInt(output.Port),
11676
+ Port: smithy_client_1.expectInt32(output.Port),
11246
11677
  PortName: smithy_client_1.expectString(output.PortName),
11247
11678
  };
11248
11679
  };
@@ -11263,6 +11694,22 @@ const deserializeAws_restJson1ActionTargetList = (output, context) => {
11263
11694
  return deserializeAws_restJson1ActionTarget(entry, context);
11264
11695
  });
11265
11696
  };
11697
+ const deserializeAws_restJson1Adjustment = (output, context) => {
11698
+ return {
11699
+ Metric: smithy_client_1.expectString(output.Metric),
11700
+ Reason: smithy_client_1.expectString(output.Reason),
11701
+ };
11702
+ };
11703
+ const deserializeAws_restJson1AdjustmentList = (output, context) => {
11704
+ return (output || [])
11705
+ .filter((e) => e != null)
11706
+ .map((entry) => {
11707
+ if (entry === null) {
11708
+ return null;
11709
+ }
11710
+ return deserializeAws_restJson1Adjustment(entry, context);
11711
+ });
11712
+ };
11266
11713
  const deserializeAws_restJson1AdminAccount = (output, context) => {
11267
11714
  return {
11268
11715
  AccountId: smithy_client_1.expectString(output.AccountId),
@@ -11327,7 +11774,7 @@ const deserializeAws_restJson1AwsApiGatewayAccessLogSettings = (output, context)
11327
11774
  const deserializeAws_restJson1AwsApiGatewayCanarySettings = (output, context) => {
11328
11775
  return {
11329
11776
  DeploymentId: smithy_client_1.expectString(output.DeploymentId),
11330
- PercentTraffic: smithy_client_1.limitedParseFloat(output.PercentTraffic),
11777
+ PercentTraffic: smithy_client_1.limitedParseDouble(output.PercentTraffic),
11331
11778
  StageVariableOverrides: output.StageVariableOverrides !== undefined && output.StageVariableOverrides !== null
11332
11779
  ? deserializeAws_restJson1FieldMap(output.StageVariableOverrides, context)
11333
11780
  : undefined,
@@ -11344,7 +11791,7 @@ const deserializeAws_restJson1AwsApiGatewayEndpointConfiguration = (output, cont
11344
11791
  const deserializeAws_restJson1AwsApiGatewayMethodSettings = (output, context) => {
11345
11792
  return {
11346
11793
  CacheDataEncrypted: smithy_client_1.expectBoolean(output.CacheDataEncrypted),
11347
- CacheTtlInSeconds: smithy_client_1.expectInt(output.CacheTtlInSeconds),
11794
+ CacheTtlInSeconds: smithy_client_1.expectInt32(output.CacheTtlInSeconds),
11348
11795
  CachingEnabled: smithy_client_1.expectBoolean(output.CachingEnabled),
11349
11796
  DataTraceEnabled: smithy_client_1.expectBoolean(output.DataTraceEnabled),
11350
11797
  HttpMethod: smithy_client_1.expectString(output.HttpMethod),
@@ -11352,8 +11799,8 @@ const deserializeAws_restJson1AwsApiGatewayMethodSettings = (output, context) =>
11352
11799
  MetricsEnabled: smithy_client_1.expectBoolean(output.MetricsEnabled),
11353
11800
  RequireAuthorizationForCacheControl: smithy_client_1.expectBoolean(output.RequireAuthorizationForCacheControl),
11354
11801
  ResourcePath: smithy_client_1.expectString(output.ResourcePath),
11355
- ThrottlingBurstLimit: smithy_client_1.expectInt(output.ThrottlingBurstLimit),
11356
- ThrottlingRateLimit: smithy_client_1.limitedParseFloat(output.ThrottlingRateLimit),
11802
+ ThrottlingBurstLimit: smithy_client_1.expectInt32(output.ThrottlingBurstLimit),
11803
+ ThrottlingRateLimit: smithy_client_1.limitedParseDouble(output.ThrottlingRateLimit),
11357
11804
  UnauthorizedCacheControlHeaderStrategy: smithy_client_1.expectString(output.UnauthorizedCacheControlHeaderStrategy),
11358
11805
  };
11359
11806
  };
@@ -11379,7 +11826,7 @@ const deserializeAws_restJson1AwsApiGatewayRestApiDetails = (output, context) =>
11379
11826
  ? deserializeAws_restJson1AwsApiGatewayEndpointConfiguration(output.EndpointConfiguration, context)
11380
11827
  : undefined,
11381
11828
  Id: smithy_client_1.expectString(output.Id),
11382
- MinimumCompressionSize: smithy_client_1.expectInt(output.MinimumCompressionSize),
11829
+ MinimumCompressionSize: smithy_client_1.expectInt32(output.MinimumCompressionSize),
11383
11830
  Name: smithy_client_1.expectString(output.Name),
11384
11831
  Version: smithy_client_1.expectString(output.Version),
11385
11832
  };
@@ -11433,8 +11880,8 @@ const deserializeAws_restJson1AwsApiGatewayV2RouteSettings = (output, context) =
11433
11880
  DataTraceEnabled: smithy_client_1.expectBoolean(output.DataTraceEnabled),
11434
11881
  DetailedMetricsEnabled: smithy_client_1.expectBoolean(output.DetailedMetricsEnabled),
11435
11882
  LoggingLevel: smithy_client_1.expectString(output.LoggingLevel),
11436
- ThrottlingBurstLimit: smithy_client_1.expectInt(output.ThrottlingBurstLimit),
11437
- ThrottlingRateLimit: smithy_client_1.limitedParseFloat(output.ThrottlingRateLimit),
11883
+ ThrottlingBurstLimit: smithy_client_1.expectInt32(output.ThrottlingBurstLimit),
11884
+ ThrottlingRateLimit: smithy_client_1.limitedParseDouble(output.ThrottlingRateLimit),
11438
11885
  };
11439
11886
  };
11440
11887
  const deserializeAws_restJson1AwsApiGatewayV2StageDetails = (output, context) => {
@@ -11465,7 +11912,7 @@ const deserializeAws_restJson1AwsApiGatewayV2StageDetails = (output, context) =>
11465
11912
  const deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = (output, context) => {
11466
11913
  return {
11467
11914
  CreatedTime: smithy_client_1.expectString(output.CreatedTime),
11468
- HealthCheckGracePeriod: smithy_client_1.expectInt(output.HealthCheckGracePeriod),
11915
+ HealthCheckGracePeriod: smithy_client_1.expectInt32(output.HealthCheckGracePeriod),
11469
11916
  HealthCheckType: smithy_client_1.expectString(output.HealthCheckType),
11470
11917
  LaunchConfigurationName: smithy_client_1.expectString(output.LaunchConfigurationName),
11471
11918
  LoadBalancerNames: output.LoadBalancerNames !== undefined && output.LoadBalancerNames !== null
@@ -11473,6 +11920,71 @@ const deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = (output, c
11473
11920
  : undefined,
11474
11921
  };
11475
11922
  };
11923
+ const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails = (output, context) => {
11924
+ return {
11925
+ DeviceName: smithy_client_1.expectString(output.DeviceName),
11926
+ Ebs: output.Ebs !== undefined && output.Ebs !== null
11927
+ ? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails(output.Ebs, context)
11928
+ : undefined,
11929
+ NoDevice: smithy_client_1.expectBoolean(output.NoDevice),
11930
+ VirtualName: smithy_client_1.expectString(output.VirtualName),
11931
+ };
11932
+ };
11933
+ const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails = (output, context) => {
11934
+ return {
11935
+ DeleteOnTermination: smithy_client_1.expectBoolean(output.DeleteOnTermination),
11936
+ Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
11937
+ Iops: smithy_client_1.expectInt32(output.Iops),
11938
+ SnapshotId: smithy_client_1.expectString(output.SnapshotId),
11939
+ VolumeSize: smithy_client_1.expectInt32(output.VolumeSize),
11940
+ VolumeType: smithy_client_1.expectString(output.VolumeType),
11941
+ };
11942
+ };
11943
+ const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList = (output, context) => {
11944
+ return (output || [])
11945
+ .filter((e) => e != null)
11946
+ .map((entry) => {
11947
+ if (entry === null) {
11948
+ return null;
11949
+ }
11950
+ return deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails(entry, context);
11951
+ });
11952
+ };
11953
+ const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = (output, context) => {
11954
+ return {
11955
+ AssociatePublicIpAddress: smithy_client_1.expectBoolean(output.AssociatePublicIpAddress),
11956
+ BlockDeviceMappings: output.BlockDeviceMappings !== undefined && output.BlockDeviceMappings !== null
11957
+ ? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(output.BlockDeviceMappings, context)
11958
+ : undefined,
11959
+ ClassicLinkVpcId: smithy_client_1.expectString(output.ClassicLinkVpcId),
11960
+ ClassicLinkVpcSecurityGroups: output.ClassicLinkVpcSecurityGroups !== undefined && output.ClassicLinkVpcSecurityGroups !== null
11961
+ ? deserializeAws_restJson1NonEmptyStringList(output.ClassicLinkVpcSecurityGroups, context)
11962
+ : undefined,
11963
+ CreatedTime: smithy_client_1.expectString(output.CreatedTime),
11964
+ EbsOptimized: smithy_client_1.expectBoolean(output.EbsOptimized),
11965
+ IamInstanceProfile: smithy_client_1.expectString(output.IamInstanceProfile),
11966
+ ImageId: smithy_client_1.expectString(output.ImageId),
11967
+ InstanceMonitoring: output.InstanceMonitoring !== undefined && output.InstanceMonitoring !== null
11968
+ ? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(output.InstanceMonitoring, context)
11969
+ : undefined,
11970
+ InstanceType: smithy_client_1.expectString(output.InstanceType),
11971
+ KernelId: smithy_client_1.expectString(output.KernelId),
11972
+ KeyName: smithy_client_1.expectString(output.KeyName),
11973
+ LaunchConfigurationName: smithy_client_1.expectString(output.LaunchConfigurationName),
11974
+ PlacementTenancy: smithy_client_1.expectString(output.PlacementTenancy),
11975
+ RamdiskId: smithy_client_1.expectString(output.RamdiskId),
11976
+ SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
11977
+ ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroups, context)
11978
+ : undefined,
11979
+ SpotPrice: smithy_client_1.expectString(output.SpotPrice),
11980
+ UserData: smithy_client_1.expectString(output.UserData),
11981
+ };
11982
+ };
11983
+ const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails = (output, context) => {
11984
+ return {
11985
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
11986
+ };
11987
+ };
11476
11988
  const deserializeAws_restJson1AwsCertificateManagerCertificateDetails = (output, context) => {
11477
11989
  return {
11478
11990
  CertificateAuthorityArn: smithy_client_1.expectString(output.CertificateAuthorityArn),
@@ -11670,7 +12182,7 @@ const deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatus
11670
12182
  Items: output.Items !== undefined && output.Items !== null
11671
12183
  ? deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList(output.Items, context)
11672
12184
  : undefined,
11673
- Quantity: smithy_client_1.expectInt(output.Quantity),
12185
+ Quantity: smithy_client_1.expectInt32(output.Quantity),
11674
12186
  };
11675
12187
  };
11676
12188
  const deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList = (output, context) => {
@@ -11680,7 +12192,7 @@ const deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatus
11680
12192
  if (entry === null) {
11681
12193
  return null;
11682
12194
  }
11683
- return smithy_client_1.expectInt(entry);
12195
+ return smithy_client_1.expectInt32(entry);
11684
12196
  });
11685
12197
  };
11686
12198
  const deserializeAws_restJson1AwsCloudFrontDistributionOriginGroups = (output, context) => {
@@ -11785,7 +12297,7 @@ const deserializeAws_restJson1AwsCodeBuildProjectEnvironmentRegistryCredential =
11785
12297
  };
11786
12298
  const deserializeAws_restJson1AwsCodeBuildProjectSource = (output, context) => {
11787
12299
  return {
11788
- GitCloneDepth: smithy_client_1.expectInt(output.GitCloneDepth),
12300
+ GitCloneDepth: smithy_client_1.expectInt32(output.GitCloneDepth),
11789
12301
  InsecureSsl: smithy_client_1.expectBoolean(output.InsecureSsl),
11790
12302
  Location: smithy_client_1.expectString(output.Location),
11791
12303
  Type: smithy_client_1.expectString(output.Type),
@@ -11817,7 +12329,7 @@ const deserializeAws_restJson1AwsCorsConfiguration = (output, context) => {
11817
12329
  ExposeHeaders: output.ExposeHeaders !== undefined && output.ExposeHeaders !== null
11818
12330
  ? deserializeAws_restJson1NonEmptyStringList(output.ExposeHeaders, context)
11819
12331
  : undefined,
11820
- MaxAge: smithy_client_1.expectInt(output.MaxAge),
12332
+ MaxAge: smithy_client_1.expectInt32(output.MaxAge),
11821
12333
  };
11822
12334
  };
11823
12335
  const deserializeAws_restJson1AwsDynamoDbTableAttributeDefinition = (output, context) => {
@@ -11855,7 +12367,7 @@ const deserializeAws_restJson1AwsDynamoDbTableDetails = (output, context) => {
11855
12367
  ? deserializeAws_restJson1AwsDynamoDbTableGlobalSecondaryIndexList(output.GlobalSecondaryIndexes, context)
11856
12368
  : undefined,
11857
12369
  GlobalTableVersion: smithy_client_1.expectString(output.GlobalTableVersion),
11858
- ItemCount: smithy_client_1.expectInt(output.ItemCount),
12370
+ ItemCount: smithy_client_1.expectInt32(output.ItemCount),
11859
12371
  KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
11860
12372
  ? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
11861
12373
  : undefined,
@@ -11881,7 +12393,7 @@ const deserializeAws_restJson1AwsDynamoDbTableDetails = (output, context) => {
11881
12393
  : undefined,
11882
12394
  TableId: smithy_client_1.expectString(output.TableId),
11883
12395
  TableName: smithy_client_1.expectString(output.TableName),
11884
- TableSizeBytes: smithy_client_1.expectInt(output.TableSizeBytes),
12396
+ TableSizeBytes: smithy_client_1.expectLong(output.TableSizeBytes),
11885
12397
  TableStatus: smithy_client_1.expectString(output.TableStatus),
11886
12398
  };
11887
12399
  };
@@ -11890,9 +12402,9 @@ const deserializeAws_restJson1AwsDynamoDbTableGlobalSecondaryIndex = (output, co
11890
12402
  Backfilling: smithy_client_1.expectBoolean(output.Backfilling),
11891
12403
  IndexArn: smithy_client_1.expectString(output.IndexArn),
11892
12404
  IndexName: smithy_client_1.expectString(output.IndexName),
11893
- IndexSizeBytes: smithy_client_1.expectInt(output.IndexSizeBytes),
12405
+ IndexSizeBytes: smithy_client_1.expectLong(output.IndexSizeBytes),
11894
12406
  IndexStatus: smithy_client_1.expectString(output.IndexStatus),
11895
- ItemCount: smithy_client_1.expectInt(output.ItemCount),
12407
+ ItemCount: smithy_client_1.expectInt32(output.ItemCount),
11896
12408
  KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
11897
12409
  ? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
11898
12410
  : undefined,
@@ -11964,14 +12476,14 @@ const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughput = (output, c
11964
12476
  return {
11965
12477
  LastDecreaseDateTime: smithy_client_1.expectString(output.LastDecreaseDateTime),
11966
12478
  LastIncreaseDateTime: smithy_client_1.expectString(output.LastIncreaseDateTime),
11967
- NumberOfDecreasesToday: smithy_client_1.expectInt(output.NumberOfDecreasesToday),
11968
- ReadCapacityUnits: smithy_client_1.expectInt(output.ReadCapacityUnits),
11969
- WriteCapacityUnits: smithy_client_1.expectInt(output.WriteCapacityUnits),
12479
+ NumberOfDecreasesToday: smithy_client_1.expectInt32(output.NumberOfDecreasesToday),
12480
+ ReadCapacityUnits: smithy_client_1.expectInt32(output.ReadCapacityUnits),
12481
+ WriteCapacityUnits: smithy_client_1.expectInt32(output.WriteCapacityUnits),
11970
12482
  };
11971
12483
  };
11972
12484
  const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride = (output, context) => {
11973
12485
  return {
11974
- ReadCapacityUnits: smithy_client_1.expectInt(output.ReadCapacityUnits),
12486
+ ReadCapacityUnits: smithy_client_1.expectInt32(output.ReadCapacityUnits),
11975
12487
  };
11976
12488
  };
11977
12489
  const deserializeAws_restJson1AwsDynamoDbTableReplica = (output, context) => {
@@ -12131,7 +12643,7 @@ const deserializeAws_restJson1AwsEc2NetworkAclEntry = (output, context) => {
12131
12643
  : undefined,
12132
12644
  Protocol: smithy_client_1.expectString(output.Protocol),
12133
12645
  RuleAction: smithy_client_1.expectString(output.RuleAction),
12134
- RuleNumber: smithy_client_1.expectInt(output.RuleNumber),
12646
+ RuleNumber: smithy_client_1.expectInt32(output.RuleNumber),
12135
12647
  };
12136
12648
  };
12137
12649
  const deserializeAws_restJson1AwsEc2NetworkAclEntryList = (output, context) => {
@@ -12149,7 +12661,7 @@ const deserializeAws_restJson1AwsEc2NetworkInterfaceAttachment = (output, contex
12149
12661
  AttachTime: smithy_client_1.expectString(output.AttachTime),
12150
12662
  AttachmentId: smithy_client_1.expectString(output.AttachmentId),
12151
12663
  DeleteOnTermination: smithy_client_1.expectBoolean(output.DeleteOnTermination),
12152
- DeviceIndex: smithy_client_1.expectInt(output.DeviceIndex),
12664
+ DeviceIndex: smithy_client_1.expectInt32(output.DeviceIndex),
12153
12665
  InstanceId: smithy_client_1.expectString(output.InstanceId),
12154
12666
  InstanceOwnerId: smithy_client_1.expectString(output.InstanceOwnerId),
12155
12667
  Status: smithy_client_1.expectString(output.Status),
@@ -12238,7 +12750,7 @@ const deserializeAws_restJson1AwsEc2SecurityGroupDetails = (output, context) =>
12238
12750
  };
12239
12751
  const deserializeAws_restJson1AwsEc2SecurityGroupIpPermission = (output, context) => {
12240
12752
  return {
12241
- FromPort: smithy_client_1.expectInt(output.FromPort),
12753
+ FromPort: smithy_client_1.expectInt32(output.FromPort),
12242
12754
  IpProtocol: smithy_client_1.expectString(output.IpProtocol),
12243
12755
  IpRanges: output.IpRanges !== undefined && output.IpRanges !== null
12244
12756
  ? deserializeAws_restJson1AwsEc2SecurityGroupIpRangeList(output.IpRanges, context)
@@ -12249,7 +12761,7 @@ const deserializeAws_restJson1AwsEc2SecurityGroupIpPermission = (output, context
12249
12761
  PrefixListIds: output.PrefixListIds !== undefined && output.PrefixListIds !== null
12250
12762
  ? deserializeAws_restJson1AwsEc2SecurityGroupPrefixListIdList(output.PrefixListIds, context)
12251
12763
  : undefined,
12252
- ToPort: smithy_client_1.expectInt(output.ToPort),
12764
+ ToPort: smithy_client_1.expectInt32(output.ToPort),
12253
12765
  UserIdGroupPairs: output.UserIdGroupPairs !== undefined && output.UserIdGroupPairs !== null
12254
12766
  ? deserializeAws_restJson1AwsEc2SecurityGroupUserIdGroupPairList(output.UserIdGroupPairs, context)
12255
12767
  : undefined,
@@ -12335,7 +12847,7 @@ const deserializeAws_restJson1AwsEc2SubnetDetails = (output, context) => {
12335
12847
  AssignIpv6AddressOnCreation: smithy_client_1.expectBoolean(output.AssignIpv6AddressOnCreation),
12336
12848
  AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
12337
12849
  AvailabilityZoneId: smithy_client_1.expectString(output.AvailabilityZoneId),
12338
- AvailableIpAddressCount: smithy_client_1.expectInt(output.AvailableIpAddressCount),
12850
+ AvailableIpAddressCount: smithy_client_1.expectInt32(output.AvailableIpAddressCount),
12339
12851
  CidrBlock: smithy_client_1.expectString(output.CidrBlock),
12340
12852
  DefaultForAz: smithy_client_1.expectBoolean(output.DefaultForAz),
12341
12853
  Ipv6CidrBlockAssociationSet: output.Ipv6CidrBlockAssociationSet !== undefined && output.Ipv6CidrBlockAssociationSet !== null
@@ -12375,7 +12887,7 @@ const deserializeAws_restJson1AwsEc2VolumeDetails = (output, context) => {
12375
12887
  CreateTime: smithy_client_1.expectString(output.CreateTime),
12376
12888
  Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
12377
12889
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
12378
- Size: smithy_client_1.expectInt(output.Size),
12890
+ Size: smithy_client_1.expectInt32(output.Size),
12379
12891
  SnapshotId: smithy_client_1.expectString(output.SnapshotId),
12380
12892
  Status: smithy_client_1.expectString(output.Status),
12381
12893
  };
@@ -12392,6 +12904,127 @@ const deserializeAws_restJson1AwsEc2VpcDetails = (output, context) => {
12392
12904
  State: smithy_client_1.expectString(output.State),
12393
12905
  };
12394
12906
  };
12907
+ const deserializeAws_restJson1AwsEc2VpnConnectionDetails = (output, context) => {
12908
+ return {
12909
+ Category: smithy_client_1.expectString(output.Category),
12910
+ CustomerGatewayConfiguration: smithy_client_1.expectString(output.CustomerGatewayConfiguration),
12911
+ CustomerGatewayId: smithy_client_1.expectString(output.CustomerGatewayId),
12912
+ Options: output.Options !== undefined && output.Options !== null
12913
+ ? deserializeAws_restJson1AwsEc2VpnConnectionOptionsDetails(output.Options, context)
12914
+ : undefined,
12915
+ Routes: output.Routes !== undefined && output.Routes !== null
12916
+ ? deserializeAws_restJson1AwsEc2VpnConnectionRoutesList(output.Routes, context)
12917
+ : undefined,
12918
+ State: smithy_client_1.expectString(output.State),
12919
+ TransitGatewayId: smithy_client_1.expectString(output.TransitGatewayId),
12920
+ Type: smithy_client_1.expectString(output.Type),
12921
+ VgwTelemetry: output.VgwTelemetry !== undefined && output.VgwTelemetry !== null
12922
+ ? deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList(output.VgwTelemetry, context)
12923
+ : undefined,
12924
+ VpnConnectionId: smithy_client_1.expectString(output.VpnConnectionId),
12925
+ VpnGatewayId: smithy_client_1.expectString(output.VpnGatewayId),
12926
+ };
12927
+ };
12928
+ const deserializeAws_restJson1AwsEc2VpnConnectionOptionsDetails = (output, context) => {
12929
+ return {
12930
+ StaticRoutesOnly: smithy_client_1.expectBoolean(output.StaticRoutesOnly),
12931
+ TunnelOptions: output.TunnelOptions !== undefined && output.TunnelOptions !== null
12932
+ ? deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList(output.TunnelOptions, context)
12933
+ : undefined,
12934
+ };
12935
+ };
12936
+ const deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails = (output, context) => {
12937
+ return {
12938
+ DpdTimeoutSeconds: smithy_client_1.expectInt32(output.DpdTimeoutSeconds),
12939
+ IkeVersions: output.IkeVersions !== undefined && output.IkeVersions !== null
12940
+ ? deserializeAws_restJson1NonEmptyStringList(output.IkeVersions, context)
12941
+ : undefined,
12942
+ OutsideIpAddress: smithy_client_1.expectString(output.OutsideIpAddress),
12943
+ Phase1DhGroupNumbers: output.Phase1DhGroupNumbers !== undefined && output.Phase1DhGroupNumbers !== null
12944
+ ? deserializeAws_restJson1IntegerList(output.Phase1DhGroupNumbers, context)
12945
+ : undefined,
12946
+ Phase1EncryptionAlgorithms: output.Phase1EncryptionAlgorithms !== undefined && output.Phase1EncryptionAlgorithms !== null
12947
+ ? deserializeAws_restJson1NonEmptyStringList(output.Phase1EncryptionAlgorithms, context)
12948
+ : undefined,
12949
+ Phase1IntegrityAlgorithms: output.Phase1IntegrityAlgorithms !== undefined && output.Phase1IntegrityAlgorithms !== null
12950
+ ? deserializeAws_restJson1NonEmptyStringList(output.Phase1IntegrityAlgorithms, context)
12951
+ : undefined,
12952
+ Phase1LifetimeSeconds: smithy_client_1.expectInt32(output.Phase1LifetimeSeconds),
12953
+ Phase2DhGroupNumbers: output.Phase2DhGroupNumbers !== undefined && output.Phase2DhGroupNumbers !== null
12954
+ ? deserializeAws_restJson1IntegerList(output.Phase2DhGroupNumbers, context)
12955
+ : undefined,
12956
+ Phase2EncryptionAlgorithms: output.Phase2EncryptionAlgorithms !== undefined && output.Phase2EncryptionAlgorithms !== null
12957
+ ? deserializeAws_restJson1NonEmptyStringList(output.Phase2EncryptionAlgorithms, context)
12958
+ : undefined,
12959
+ Phase2IntegrityAlgorithms: output.Phase2IntegrityAlgorithms !== undefined && output.Phase2IntegrityAlgorithms !== null
12960
+ ? deserializeAws_restJson1NonEmptyStringList(output.Phase2IntegrityAlgorithms, context)
12961
+ : undefined,
12962
+ Phase2LifetimeSeconds: smithy_client_1.expectInt32(output.Phase2LifetimeSeconds),
12963
+ PreSharedKey: smithy_client_1.expectString(output.PreSharedKey),
12964
+ RekeyFuzzPercentage: smithy_client_1.expectInt32(output.RekeyFuzzPercentage),
12965
+ RekeyMarginTimeSeconds: smithy_client_1.expectInt32(output.RekeyMarginTimeSeconds),
12966
+ ReplayWindowSize: smithy_client_1.expectInt32(output.ReplayWindowSize),
12967
+ TunnelInsideCidr: smithy_client_1.expectString(output.TunnelInsideCidr),
12968
+ };
12969
+ };
12970
+ const deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList = (output, context) => {
12971
+ return (output || [])
12972
+ .filter((e) => e != null)
12973
+ .map((entry) => {
12974
+ if (entry === null) {
12975
+ return null;
12976
+ }
12977
+ return deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails(entry, context);
12978
+ });
12979
+ };
12980
+ const deserializeAws_restJson1AwsEc2VpnConnectionRoutesDetails = (output, context) => {
12981
+ return {
12982
+ DestinationCidrBlock: smithy_client_1.expectString(output.DestinationCidrBlock),
12983
+ State: smithy_client_1.expectString(output.State),
12984
+ };
12985
+ };
12986
+ const deserializeAws_restJson1AwsEc2VpnConnectionRoutesList = (output, context) => {
12987
+ return (output || [])
12988
+ .filter((e) => e != null)
12989
+ .map((entry) => {
12990
+ if (entry === null) {
12991
+ return null;
12992
+ }
12993
+ return deserializeAws_restJson1AwsEc2VpnConnectionRoutesDetails(entry, context);
12994
+ });
12995
+ };
12996
+ const deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails = (output, context) => {
12997
+ return {
12998
+ AcceptedRouteCount: smithy_client_1.expectInt32(output.AcceptedRouteCount),
12999
+ CertificateArn: smithy_client_1.expectString(output.CertificateArn),
13000
+ LastStatusChange: smithy_client_1.expectString(output.LastStatusChange),
13001
+ OutsideIpAddress: smithy_client_1.expectString(output.OutsideIpAddress),
13002
+ Status: smithy_client_1.expectString(output.Status),
13003
+ StatusMessage: smithy_client_1.expectString(output.StatusMessage),
13004
+ };
13005
+ };
13006
+ const deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList = (output, context) => {
13007
+ return (output || [])
13008
+ .filter((e) => e != null)
13009
+ .map((entry) => {
13010
+ if (entry === null) {
13011
+ return null;
13012
+ }
13013
+ return deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails(entry, context);
13014
+ });
13015
+ };
13016
+ const deserializeAws_restJson1AwsEcrContainerImageDetails = (output, context) => {
13017
+ return {
13018
+ Architecture: smithy_client_1.expectString(output.Architecture),
13019
+ ImageDigest: smithy_client_1.expectString(output.ImageDigest),
13020
+ ImagePublishedAt: smithy_client_1.expectString(output.ImagePublishedAt),
13021
+ ImageTags: output.ImageTags !== undefined && output.ImageTags !== null
13022
+ ? deserializeAws_restJson1NonEmptyStringList(output.ImageTags, context)
13023
+ : undefined,
13024
+ RegistryId: smithy_client_1.expectString(output.RegistryId),
13025
+ RepositoryName: smithy_client_1.expectString(output.RepositoryName),
13026
+ };
13027
+ };
12395
13028
  const deserializeAws_restJson1AwsEcsClusterClusterSettingsDetails = (output, context) => {
12396
13029
  return {
12397
13030
  Name: smithy_client_1.expectString(output.Name),
@@ -12435,9 +13068,9 @@ const deserializeAws_restJson1AwsEcsClusterConfigurationExecuteCommandConfigurat
12435
13068
  };
12436
13069
  const deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyDetails = (output, context) => {
12437
13070
  return {
12438
- Base: smithy_client_1.expectInt(output.Base),
13071
+ Base: smithy_client_1.expectInt32(output.Base),
12439
13072
  CapacityProvider: smithy_client_1.expectString(output.CapacityProvider),
12440
- Weight: smithy_client_1.expectInt(output.Weight),
13073
+ Weight: smithy_client_1.expectInt32(output.Weight),
12441
13074
  };
12442
13075
  };
12443
13076
  const deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyList = (output, context) => {
@@ -12468,9 +13101,9 @@ const deserializeAws_restJson1AwsEcsClusterDetails = (output, context) => {
12468
13101
  };
12469
13102
  const deserializeAws_restJson1AwsEcsServiceCapacityProviderStrategyDetails = (output, context) => {
12470
13103
  return {
12471
- Base: smithy_client_1.expectInt(output.Base),
13104
+ Base: smithy_client_1.expectInt32(output.Base),
12472
13105
  CapacityProvider: smithy_client_1.expectString(output.CapacityProvider),
12473
- Weight: smithy_client_1.expectInt(output.Weight),
13106
+ Weight: smithy_client_1.expectInt32(output.Weight),
12474
13107
  };
12475
13108
  };
12476
13109
  const deserializeAws_restJson1AwsEcsServiceCapacityProviderStrategyList = (output, context) => {
@@ -12494,8 +13127,8 @@ const deserializeAws_restJson1AwsEcsServiceDeploymentConfigurationDetails = (out
12494
13127
  DeploymentCircuitBreaker: output.DeploymentCircuitBreaker !== undefined && output.DeploymentCircuitBreaker !== null
12495
13128
  ? deserializeAws_restJson1AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails(output.DeploymentCircuitBreaker, context)
12496
13129
  : undefined,
12497
- MaximumPercent: smithy_client_1.expectInt(output.MaximumPercent),
12498
- MinimumHealthyPercent: smithy_client_1.expectInt(output.MinimumHealthyPercent),
13130
+ MaximumPercent: smithy_client_1.expectInt32(output.MaximumPercent),
13131
+ MinimumHealthyPercent: smithy_client_1.expectInt32(output.MinimumHealthyPercent),
12499
13132
  };
12500
13133
  };
12501
13134
  const deserializeAws_restJson1AwsEcsServiceDeploymentControllerDetails = (output, context) => {
@@ -12515,10 +13148,10 @@ const deserializeAws_restJson1AwsEcsServiceDetails = (output, context) => {
12515
13148
  DeploymentController: output.DeploymentController !== undefined && output.DeploymentController !== null
12516
13149
  ? deserializeAws_restJson1AwsEcsServiceDeploymentControllerDetails(output.DeploymentController, context)
12517
13150
  : undefined,
12518
- DesiredCount: smithy_client_1.expectInt(output.DesiredCount),
13151
+ DesiredCount: smithy_client_1.expectInt32(output.DesiredCount),
12519
13152
  EnableEcsManagedTags: smithy_client_1.expectBoolean(output.EnableEcsManagedTags),
12520
13153
  EnableExecuteCommand: smithy_client_1.expectBoolean(output.EnableExecuteCommand),
12521
- HealthCheckGracePeriodSeconds: smithy_client_1.expectInt(output.HealthCheckGracePeriodSeconds),
13154
+ HealthCheckGracePeriodSeconds: smithy_client_1.expectInt32(output.HealthCheckGracePeriodSeconds),
12522
13155
  LaunchType: smithy_client_1.expectString(output.LaunchType),
12523
13156
  LoadBalancers: output.LoadBalancers !== undefined && output.LoadBalancers !== null
12524
13157
  ? deserializeAws_restJson1AwsEcsServiceLoadBalancersList(output.LoadBalancers, context)
@@ -12548,7 +13181,7 @@ const deserializeAws_restJson1AwsEcsServiceDetails = (output, context) => {
12548
13181
  const deserializeAws_restJson1AwsEcsServiceLoadBalancersDetails = (output, context) => {
12549
13182
  return {
12550
13183
  ContainerName: smithy_client_1.expectString(output.ContainerName),
12551
- ContainerPort: smithy_client_1.expectInt(output.ContainerPort),
13184
+ ContainerPort: smithy_client_1.expectInt32(output.ContainerPort),
12552
13185
  LoadBalancerName: smithy_client_1.expectString(output.LoadBalancerName),
12553
13186
  TargetGroupArn: smithy_client_1.expectString(output.TargetGroupArn),
12554
13187
  };
@@ -12616,8 +13249,8 @@ const deserializeAws_restJson1AwsEcsServicePlacementStrategiesList = (output, co
12616
13249
  const deserializeAws_restJson1AwsEcsServiceServiceRegistriesDetails = (output, context) => {
12617
13250
  return {
12618
13251
  ContainerName: smithy_client_1.expectString(output.ContainerName),
12619
- ContainerPort: smithy_client_1.expectInt(output.ContainerPort),
12620
- Port: smithy_client_1.expectInt(output.Port),
13252
+ ContainerPort: smithy_client_1.expectInt32(output.ContainerPort),
13253
+ Port: smithy_client_1.expectInt32(output.Port),
12621
13254
  RegistryArn: smithy_client_1.expectString(output.RegistryArn),
12622
13255
  };
12623
13256
  };
@@ -12652,7 +13285,7 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails =
12652
13285
  Command: output.Command !== undefined && output.Command !== null
12653
13286
  ? deserializeAws_restJson1NonEmptyStringList(output.Command, context)
12654
13287
  : undefined,
12655
- Cpu: smithy_client_1.expectInt(output.Cpu),
13288
+ Cpu: smithy_client_1.expectInt32(output.Cpu),
12656
13289
  DependsOn: output.DependsOn !== undefined && output.DependsOn !== null
12657
13290
  ? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDependsOnList(output.DependsOn, context)
12658
13291
  : undefined,
@@ -12700,8 +13333,8 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails =
12700
13333
  LogConfiguration: output.LogConfiguration !== undefined && output.LogConfiguration !== null
12701
13334
  ? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails(output.LogConfiguration, context)
12702
13335
  : undefined,
12703
- Memory: smithy_client_1.expectInt(output.Memory),
12704
- MemoryReservation: smithy_client_1.expectInt(output.MemoryReservation),
13336
+ Memory: smithy_client_1.expectInt32(output.Memory),
13337
+ MemoryReservation: smithy_client_1.expectInt32(output.MemoryReservation),
12705
13338
  MountPoints: output.MountPoints !== undefined && output.MountPoints !== null
12706
13339
  ? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsMountPointsList(output.MountPoints, context)
12707
13340
  : undefined,
@@ -12721,8 +13354,8 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails =
12721
13354
  Secrets: output.Secrets !== undefined && output.Secrets !== null
12722
13355
  ? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsSecretsList(output.Secrets, context)
12723
13356
  : undefined,
12724
- StartTimeout: smithy_client_1.expectInt(output.StartTimeout),
12725
- StopTimeout: smithy_client_1.expectInt(output.StopTimeout),
13357
+ StartTimeout: smithy_client_1.expectInt32(output.StartTimeout),
13358
+ StopTimeout: smithy_client_1.expectInt32(output.StopTimeout),
12726
13359
  SystemControls: output.SystemControls !== undefined && output.SystemControls !== null
12727
13360
  ? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsSystemControlsList(output.SystemControls, context)
12728
13361
  : undefined,
@@ -12797,10 +13430,10 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsHealthChec
12797
13430
  Command: output.Command !== undefined && output.Command !== null
12798
13431
  ? deserializeAws_restJson1NonEmptyStringList(output.Command, context)
12799
13432
  : undefined,
12800
- Interval: smithy_client_1.expectInt(output.Interval),
12801
- Retries: smithy_client_1.expectInt(output.Retries),
12802
- StartPeriod: smithy_client_1.expectInt(output.StartPeriod),
12803
- Timeout: smithy_client_1.expectInt(output.Timeout),
13433
+ Interval: smithy_client_1.expectInt32(output.Interval),
13434
+ Retries: smithy_client_1.expectInt32(output.Retries),
13435
+ StartPeriod: smithy_client_1.expectInt32(output.StartPeriod),
13436
+ Timeout: smithy_client_1.expectInt32(output.Timeout),
12804
13437
  };
12805
13438
  };
12806
13439
  const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails = (output, context) => {
@@ -12822,9 +13455,9 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParam
12822
13455
  ? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesList(output.Devices, context)
12823
13456
  : undefined,
12824
13457
  InitProcessEnabled: smithy_client_1.expectBoolean(output.InitProcessEnabled),
12825
- MaxSwap: smithy_client_1.expectInt(output.MaxSwap),
12826
- SharedMemorySize: smithy_client_1.expectInt(output.SharedMemorySize),
12827
- Swappiness: smithy_client_1.expectInt(output.Swappiness),
13458
+ MaxSwap: smithy_client_1.expectInt32(output.MaxSwap),
13459
+ SharedMemorySize: smithy_client_1.expectInt32(output.SharedMemorySize),
13460
+ Swappiness: smithy_client_1.expectInt32(output.Swappiness),
12828
13461
  Tmpfs: output.Tmpfs !== undefined && output.Tmpfs !== null
12829
13462
  ? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList(output.Tmpfs, context)
12830
13463
  : undefined,
@@ -12855,7 +13488,7 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParam
12855
13488
  MountOptions: output.MountOptions !== undefined && output.MountOptions !== null
12856
13489
  ? deserializeAws_restJson1NonEmptyStringList(output.MountOptions, context)
12857
13490
  : undefined,
12858
- Size: smithy_client_1.expectInt(output.Size),
13491
+ Size: smithy_client_1.expectInt32(output.Size),
12859
13492
  };
12860
13493
  };
12861
13494
  const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList = (output, context) => {
@@ -12924,8 +13557,8 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsMountPoint
12924
13557
  };
12925
13558
  const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails = (output, context) => {
12926
13559
  return {
12927
- ContainerPort: smithy_client_1.expectInt(output.ContainerPort),
12928
- HostPort: smithy_client_1.expectInt(output.HostPort),
13560
+ ContainerPort: smithy_client_1.expectInt32(output.ContainerPort),
13561
+ HostPort: smithy_client_1.expectInt32(output.HostPort),
12929
13562
  Protocol: smithy_client_1.expectString(output.Protocol),
12930
13563
  };
12931
13564
  };
@@ -12994,9 +13627,9 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsSystemCont
12994
13627
  };
12995
13628
  const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails = (output, context) => {
12996
13629
  return {
12997
- HardLimit: smithy_client_1.expectInt(output.HardLimit),
13630
+ HardLimit: smithy_client_1.expectInt32(output.HardLimit),
12998
13631
  Name: smithy_client_1.expectString(output.Name),
12999
- SoftLimit: smithy_client_1.expectInt(output.SoftLimit),
13632
+ SoftLimit: smithy_client_1.expectInt32(output.SoftLimit),
13000
13633
  };
13001
13634
  };
13002
13635
  const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsUlimitsList = (output, context) => {
@@ -13153,7 +13786,7 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationD
13153
13786
  FilesystemId: smithy_client_1.expectString(output.FilesystemId),
13154
13787
  RootDirectory: smithy_client_1.expectString(output.RootDirectory),
13155
13788
  TransitEncryption: smithy_client_1.expectString(output.TransitEncryption),
13156
- TransitEncryptionPort: smithy_client_1.expectInt(output.TransitEncryptionPort),
13789
+ TransitEncryptionPort: smithy_client_1.expectInt32(output.TransitEncryptionPort),
13157
13790
  };
13158
13791
  };
13159
13792
  const deserializeAws_restJson1AwsEcsTaskDefinitionVolumesHostDetails = (output, context) => {
@@ -13279,10 +13912,10 @@ const deserializeAws_restJson1AwsElasticsearchDomainDomainEndpointOptions = (out
13279
13912
  };
13280
13913
  const deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigDetails = (output, context) => {
13281
13914
  return {
13282
- DedicatedMasterCount: smithy_client_1.expectInt(output.DedicatedMasterCount),
13915
+ DedicatedMasterCount: smithy_client_1.expectInt32(output.DedicatedMasterCount),
13283
13916
  DedicatedMasterEnabled: smithy_client_1.expectBoolean(output.DedicatedMasterEnabled),
13284
13917
  DedicatedMasterType: smithy_client_1.expectString(output.DedicatedMasterType),
13285
- InstanceCount: smithy_client_1.expectInt(output.InstanceCount),
13918
+ InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
13286
13919
  InstanceType: smithy_client_1.expectString(output.InstanceType),
13287
13920
  ZoneAwarenessConfig: output.ZoneAwarenessConfig !== undefined && output.ZoneAwarenessConfig !== null
13288
13921
  ? deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails(output.ZoneAwarenessConfig, context)
@@ -13292,7 +13925,7 @@ const deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigDe
13292
13925
  };
13293
13926
  const deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails = (output, context) => {
13294
13927
  return {
13295
- AvailabilityZoneCount: smithy_client_1.expectInt(output.AvailabilityZoneCount),
13928
+ AvailabilityZoneCount: smithy_client_1.expectInt32(output.AvailabilityZoneCount),
13296
13929
  };
13297
13930
  };
13298
13931
  const deserializeAws_restJson1AwsElasticsearchDomainEncryptionAtRestOptions = (output, context) => {
@@ -13378,13 +14011,13 @@ const deserializeAws_restJson1AwsElbLbCookieStickinessPolicies = (output, contex
13378
14011
  };
13379
14012
  const deserializeAws_restJson1AwsElbLbCookieStickinessPolicy = (output, context) => {
13380
14013
  return {
13381
- CookieExpirationPeriod: smithy_client_1.expectInt(output.CookieExpirationPeriod),
14014
+ CookieExpirationPeriod: smithy_client_1.expectLong(output.CookieExpirationPeriod),
13382
14015
  PolicyName: smithy_client_1.expectString(output.PolicyName),
13383
14016
  };
13384
14017
  };
13385
14018
  const deserializeAws_restJson1AwsElbLoadBalancerAccessLog = (output, context) => {
13386
14019
  return {
13387
- EmitInterval: smithy_client_1.expectInt(output.EmitInterval),
14020
+ EmitInterval: smithy_client_1.expectInt32(output.EmitInterval),
13388
14021
  Enabled: smithy_client_1.expectBoolean(output.Enabled),
13389
14022
  S3BucketName: smithy_client_1.expectString(output.S3BucketName),
13390
14023
  S3BucketPrefix: smithy_client_1.expectString(output.S3BucketPrefix),
@@ -13408,7 +14041,7 @@ const deserializeAws_restJson1AwsElbLoadBalancerAttributes = (output, context) =
13408
14041
  };
13409
14042
  const deserializeAws_restJson1AwsElbLoadBalancerBackendServerDescription = (output, context) => {
13410
14043
  return {
13411
- InstancePort: smithy_client_1.expectInt(output.InstancePort),
14044
+ InstancePort: smithy_client_1.expectInt32(output.InstancePort),
13412
14045
  PolicyNames: output.PolicyNames !== undefined && output.PolicyNames !== null
13413
14046
  ? deserializeAws_restJson1StringList(output.PolicyNames, context)
13414
14047
  : undefined,
@@ -13427,12 +14060,12 @@ const deserializeAws_restJson1AwsElbLoadBalancerBackendServerDescriptions = (out
13427
14060
  const deserializeAws_restJson1AwsElbLoadBalancerConnectionDraining = (output, context) => {
13428
14061
  return {
13429
14062
  Enabled: smithy_client_1.expectBoolean(output.Enabled),
13430
- Timeout: smithy_client_1.expectInt(output.Timeout),
14063
+ Timeout: smithy_client_1.expectInt32(output.Timeout),
13431
14064
  };
13432
14065
  };
13433
14066
  const deserializeAws_restJson1AwsElbLoadBalancerConnectionSettings = (output, context) => {
13434
14067
  return {
13435
- IdleTimeout: smithy_client_1.expectInt(output.IdleTimeout),
14068
+ IdleTimeout: smithy_client_1.expectInt32(output.IdleTimeout),
13436
14069
  };
13437
14070
  };
13438
14071
  const deserializeAws_restJson1AwsElbLoadBalancerCrossZoneLoadBalancing = (output, context) => {
@@ -13483,11 +14116,11 @@ const deserializeAws_restJson1AwsElbLoadBalancerDetails = (output, context) => {
13483
14116
  };
13484
14117
  const deserializeAws_restJson1AwsElbLoadBalancerHealthCheck = (output, context) => {
13485
14118
  return {
13486
- HealthyThreshold: smithy_client_1.expectInt(output.HealthyThreshold),
13487
- Interval: smithy_client_1.expectInt(output.Interval),
14119
+ HealthyThreshold: smithy_client_1.expectInt32(output.HealthyThreshold),
14120
+ Interval: smithy_client_1.expectInt32(output.Interval),
13488
14121
  Target: smithy_client_1.expectString(output.Target),
13489
- Timeout: smithy_client_1.expectInt(output.Timeout),
13490
- UnhealthyThreshold: smithy_client_1.expectInt(output.UnhealthyThreshold),
14122
+ Timeout: smithy_client_1.expectInt32(output.Timeout),
14123
+ UnhealthyThreshold: smithy_client_1.expectInt32(output.UnhealthyThreshold),
13491
14124
  };
13492
14125
  };
13493
14126
  const deserializeAws_restJson1AwsElbLoadBalancerInstance = (output, context) => {
@@ -13507,9 +14140,9 @@ const deserializeAws_restJson1AwsElbLoadBalancerInstances = (output, context) =>
13507
14140
  };
13508
14141
  const deserializeAws_restJson1AwsElbLoadBalancerListener = (output, context) => {
13509
14142
  return {
13510
- InstancePort: smithy_client_1.expectInt(output.InstancePort),
14143
+ InstancePort: smithy_client_1.expectInt32(output.InstancePort),
13511
14144
  InstanceProtocol: smithy_client_1.expectString(output.InstanceProtocol),
13512
- LoadBalancerPort: smithy_client_1.expectInt(output.LoadBalancerPort),
14145
+ LoadBalancerPort: smithy_client_1.expectInt32(output.LoadBalancerPort),
13513
14146
  Protocol: smithy_client_1.expectString(output.Protocol),
13514
14147
  SslCertificateId: smithy_client_1.expectString(output.SslCertificateId),
13515
14148
  };
@@ -13708,13 +14341,13 @@ const deserializeAws_restJson1AwsIamPermissionsBoundary = (output, context) => {
13708
14341
  };
13709
14342
  const deserializeAws_restJson1AwsIamPolicyDetails = (output, context) => {
13710
14343
  return {
13711
- AttachmentCount: smithy_client_1.expectInt(output.AttachmentCount),
14344
+ AttachmentCount: smithy_client_1.expectInt32(output.AttachmentCount),
13712
14345
  CreateDate: smithy_client_1.expectString(output.CreateDate),
13713
14346
  DefaultVersionId: smithy_client_1.expectString(output.DefaultVersionId),
13714
14347
  Description: smithy_client_1.expectString(output.Description),
13715
14348
  IsAttachable: smithy_client_1.expectBoolean(output.IsAttachable),
13716
14349
  Path: smithy_client_1.expectString(output.Path),
13717
- PermissionsBoundaryUsageCount: smithy_client_1.expectInt(output.PermissionsBoundaryUsageCount),
14350
+ PermissionsBoundaryUsageCount: smithy_client_1.expectInt32(output.PermissionsBoundaryUsageCount),
13718
14351
  PolicyId: smithy_client_1.expectString(output.PolicyId),
13719
14352
  PolicyName: smithy_client_1.expectString(output.PolicyName),
13720
14353
  PolicyVersionList: output.PolicyVersionList !== undefined && output.PolicyVersionList !== null
@@ -13750,7 +14383,7 @@ const deserializeAws_restJson1AwsIamRoleDetails = (output, context) => {
13750
14383
  InstanceProfileList: output.InstanceProfileList !== undefined && output.InstanceProfileList !== null
13751
14384
  ? deserializeAws_restJson1AwsIamInstanceProfileList(output.InstanceProfileList, context)
13752
14385
  : undefined,
13753
- MaxSessionDuration: smithy_client_1.expectInt(output.MaxSessionDuration),
14386
+ MaxSessionDuration: smithy_client_1.expectInt32(output.MaxSessionDuration),
13754
14387
  Path: smithy_client_1.expectString(output.Path),
13755
14388
  PermissionsBoundary: output.PermissionsBoundary !== undefined && output.PermissionsBoundary !== null
13756
14389
  ? deserializeAws_restJson1AwsIamPermissionsBoundary(output.PermissionsBoundary, context)
@@ -13815,10 +14448,11 @@ const deserializeAws_restJson1AwsIamUserPolicyList = (output, context) => {
13815
14448
  const deserializeAws_restJson1AwsKmsKeyDetails = (output, context) => {
13816
14449
  return {
13817
14450
  AWSAccountId: smithy_client_1.expectString(output.AWSAccountId),
13818
- CreationDate: smithy_client_1.limitedParseFloat(output.CreationDate),
14451
+ CreationDate: smithy_client_1.limitedParseDouble(output.CreationDate),
13819
14452
  Description: smithy_client_1.expectString(output.Description),
13820
14453
  KeyId: smithy_client_1.expectString(output.KeyId),
13821
14454
  KeyManager: smithy_client_1.expectString(output.KeyManager),
14455
+ KeyRotationStatus: smithy_client_1.expectBoolean(output.KeyRotationStatus),
13822
14456
  KeyState: smithy_client_1.expectString(output.KeyState),
13823
14457
  Origin: smithy_client_1.expectString(output.Origin),
13824
14458
  };
@@ -13856,11 +14490,11 @@ const deserializeAws_restJson1AwsLambdaFunctionDetails = (output, context) => {
13856
14490
  ? deserializeAws_restJson1AwsLambdaFunctionLayerList(output.Layers, context)
13857
14491
  : undefined,
13858
14492
  MasterArn: smithy_client_1.expectString(output.MasterArn),
13859
- MemorySize: smithy_client_1.expectInt(output.MemorySize),
14493
+ MemorySize: smithy_client_1.expectInt32(output.MemorySize),
13860
14494
  RevisionId: smithy_client_1.expectString(output.RevisionId),
13861
14495
  Role: smithy_client_1.expectString(output.Role),
13862
14496
  Runtime: smithy_client_1.expectString(output.Runtime),
13863
- Timeout: smithy_client_1.expectInt(output.Timeout),
14497
+ Timeout: smithy_client_1.expectInt32(output.Timeout),
13864
14498
  TracingConfig: output.TracingConfig !== undefined && output.TracingConfig !== null
13865
14499
  ? deserializeAws_restJson1AwsLambdaFunctionTracingConfig(output.TracingConfig, context)
13866
14500
  : undefined,
@@ -13889,7 +14523,7 @@ const deserializeAws_restJson1AwsLambdaFunctionEnvironmentError = (output, conte
13889
14523
  const deserializeAws_restJson1AwsLambdaFunctionLayer = (output, context) => {
13890
14524
  return {
13891
14525
  Arn: smithy_client_1.expectString(output.Arn),
13892
- CodeSize: smithy_client_1.expectInt(output.CodeSize),
14526
+ CodeSize: smithy_client_1.expectInt32(output.CodeSize),
13893
14527
  };
13894
14528
  };
13895
14529
  const deserializeAws_restJson1AwsLambdaFunctionLayerList = (output, context) => {
@@ -13924,7 +14558,7 @@ const deserializeAws_restJson1AwsLambdaLayerVersionDetails = (output, context) =
13924
14558
  ? deserializeAws_restJson1NonEmptyStringList(output.CompatibleRuntimes, context)
13925
14559
  : undefined,
13926
14560
  CreatedDate: smithy_client_1.expectString(output.CreatedDate),
13927
- Version: smithy_client_1.expectInt(output.Version),
14561
+ Version: smithy_client_1.expectLong(output.Version),
13928
14562
  };
13929
14563
  };
13930
14564
  const deserializeAws_restJson1AwsRdsDbClusterAssociatedRole = (output, context) => {
@@ -13946,14 +14580,14 @@ const deserializeAws_restJson1AwsRdsDbClusterAssociatedRoles = (output, context)
13946
14580
  const deserializeAws_restJson1AwsRdsDbClusterDetails = (output, context) => {
13947
14581
  return {
13948
14582
  ActivityStreamStatus: smithy_client_1.expectString(output.ActivityStreamStatus),
13949
- AllocatedStorage: smithy_client_1.expectInt(output.AllocatedStorage),
14583
+ AllocatedStorage: smithy_client_1.expectInt32(output.AllocatedStorage),
13950
14584
  AssociatedRoles: output.AssociatedRoles !== undefined && output.AssociatedRoles !== null
13951
14585
  ? deserializeAws_restJson1AwsRdsDbClusterAssociatedRoles(output.AssociatedRoles, context)
13952
14586
  : undefined,
13953
14587
  AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
13954
14588
  ? deserializeAws_restJson1StringList(output.AvailabilityZones, context)
13955
14589
  : undefined,
13956
- BackupRetentionPeriod: smithy_client_1.expectInt(output.BackupRetentionPeriod),
14590
+ BackupRetentionPeriod: smithy_client_1.expectInt32(output.BackupRetentionPeriod),
13957
14591
  ClusterCreateTime: smithy_client_1.expectString(output.ClusterCreateTime),
13958
14592
  CopyTagsToSnapshot: smithy_client_1.expectBoolean(output.CopyTagsToSnapshot),
13959
14593
  CrossAccountClone: smithy_client_1.expectBoolean(output.CrossAccountClone),
@@ -13988,7 +14622,7 @@ const deserializeAws_restJson1AwsRdsDbClusterDetails = (output, context) => {
13988
14622
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
13989
14623
  MasterUsername: smithy_client_1.expectString(output.MasterUsername),
13990
14624
  MultiAz: smithy_client_1.expectBoolean(output.MultiAz),
13991
- Port: smithy_client_1.expectInt(output.Port),
14625
+ Port: smithy_client_1.expectInt32(output.Port),
13992
14626
  PreferredBackupWindow: smithy_client_1.expectString(output.PreferredBackupWindow),
13993
14627
  PreferredMaintenanceWindow: smithy_client_1.expectString(output.PreferredMaintenanceWindow),
13994
14628
  ReadReplicaIdentifiers: output.ReadReplicaIdentifiers !== undefined && output.ReadReplicaIdentifiers !== null
@@ -14007,7 +14641,7 @@ const deserializeAws_restJson1AwsRdsDbClusterMember = (output, context) => {
14007
14641
  DbClusterParameterGroupStatus: smithy_client_1.expectString(output.DbClusterParameterGroupStatus),
14008
14642
  DbInstanceIdentifier: smithy_client_1.expectString(output.DbInstanceIdentifier),
14009
14643
  IsClusterWriter: smithy_client_1.expectBoolean(output.IsClusterWriter),
14010
- PromotionTier: smithy_client_1.expectInt(output.PromotionTier),
14644
+ PromotionTier: smithy_client_1.expectInt32(output.PromotionTier),
14011
14645
  };
14012
14646
  };
14013
14647
  const deserializeAws_restJson1AwsRdsDbClusterMembers = (output, context) => {
@@ -14038,7 +14672,7 @@ const deserializeAws_restJson1AwsRdsDbClusterOptionGroupMemberships = (output, c
14038
14672
  };
14039
14673
  const deserializeAws_restJson1AwsRdsDbClusterSnapshotDetails = (output, context) => {
14040
14674
  return {
14041
- AllocatedStorage: smithy_client_1.expectInt(output.AllocatedStorage),
14675
+ AllocatedStorage: smithy_client_1.expectInt32(output.AllocatedStorage),
14042
14676
  AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
14043
14677
  ? deserializeAws_restJson1StringList(output.AvailabilityZones, context)
14044
14678
  : undefined,
@@ -14051,8 +14685,8 @@ const deserializeAws_restJson1AwsRdsDbClusterSnapshotDetails = (output, context)
14051
14685
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
14052
14686
  LicenseModel: smithy_client_1.expectString(output.LicenseModel),
14053
14687
  MasterUsername: smithy_client_1.expectString(output.MasterUsername),
14054
- PercentProgress: smithy_client_1.expectInt(output.PercentProgress),
14055
- Port: smithy_client_1.expectInt(output.Port),
14688
+ PercentProgress: smithy_client_1.expectInt32(output.PercentProgress),
14689
+ Port: smithy_client_1.expectInt32(output.Port),
14056
14690
  SnapshotCreateTime: smithy_client_1.expectString(output.SnapshotCreateTime),
14057
14691
  SnapshotType: smithy_client_1.expectString(output.SnapshotType),
14058
14692
  Status: smithy_client_1.expectString(output.Status),
@@ -14097,13 +14731,13 @@ const deserializeAws_restJson1AwsRdsDbInstanceAssociatedRoles = (output, context
14097
14731
  };
14098
14732
  const deserializeAws_restJson1AwsRdsDbInstanceDetails = (output, context) => {
14099
14733
  return {
14100
- AllocatedStorage: smithy_client_1.expectInt(output.AllocatedStorage),
14734
+ AllocatedStorage: smithy_client_1.expectInt32(output.AllocatedStorage),
14101
14735
  AssociatedRoles: output.AssociatedRoles !== undefined && output.AssociatedRoles !== null
14102
14736
  ? deserializeAws_restJson1AwsRdsDbInstanceAssociatedRoles(output.AssociatedRoles, context)
14103
14737
  : undefined,
14104
14738
  AutoMinorVersionUpgrade: smithy_client_1.expectBoolean(output.AutoMinorVersionUpgrade),
14105
14739
  AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
14106
- BackupRetentionPeriod: smithy_client_1.expectInt(output.BackupRetentionPeriod),
14740
+ BackupRetentionPeriod: smithy_client_1.expectInt32(output.BackupRetentionPeriod),
14107
14741
  CACertificateIdentifier: smithy_client_1.expectString(output.CACertificateIdentifier),
14108
14742
  CharacterSetName: smithy_client_1.expectString(output.CharacterSetName),
14109
14743
  CopyTagsToSnapshot: smithy_client_1.expectBoolean(output.CopyTagsToSnapshot),
@@ -14111,7 +14745,7 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (output, context) => {
14111
14745
  DBInstanceClass: smithy_client_1.expectString(output.DBInstanceClass),
14112
14746
  DBInstanceIdentifier: smithy_client_1.expectString(output.DBInstanceIdentifier),
14113
14747
  DBName: smithy_client_1.expectString(output.DBName),
14114
- DbInstancePort: smithy_client_1.expectInt(output.DbInstancePort),
14748
+ DbInstancePort: smithy_client_1.expectInt32(output.DbInstancePort),
14115
14749
  DbInstanceStatus: smithy_client_1.expectString(output.DbInstanceStatus),
14116
14750
  DbParameterGroups: output.DbParameterGroups !== undefined && output.DbParameterGroups !== null
14117
14751
  ? deserializeAws_restJson1AwsRdsDbParameterGroups(output.DbParameterGroups, context)
@@ -14138,7 +14772,7 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (output, context) => {
14138
14772
  EnhancedMonitoringResourceArn: smithy_client_1.expectString(output.EnhancedMonitoringResourceArn),
14139
14773
  IAMDatabaseAuthenticationEnabled: smithy_client_1.expectBoolean(output.IAMDatabaseAuthenticationEnabled),
14140
14774
  InstanceCreateTime: smithy_client_1.expectString(output.InstanceCreateTime),
14141
- Iops: smithy_client_1.expectInt(output.Iops),
14775
+ Iops: smithy_client_1.expectInt32(output.Iops),
14142
14776
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
14143
14777
  LatestRestorableTime: smithy_client_1.expectString(output.LatestRestorableTime),
14144
14778
  LicenseModel: smithy_client_1.expectString(output.LicenseModel),
@@ -14146,8 +14780,8 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (output, context) => {
14146
14780
  ? deserializeAws_restJson1AwsRdsDbInstanceEndpoint(output.ListenerEndpoint, context)
14147
14781
  : undefined,
14148
14782
  MasterUsername: smithy_client_1.expectString(output.MasterUsername),
14149
- MaxAllocatedStorage: smithy_client_1.expectInt(output.MaxAllocatedStorage),
14150
- MonitoringInterval: smithy_client_1.expectInt(output.MonitoringInterval),
14783
+ MaxAllocatedStorage: smithy_client_1.expectInt32(output.MaxAllocatedStorage),
14784
+ MonitoringInterval: smithy_client_1.expectInt32(output.MonitoringInterval),
14151
14785
  MonitoringRoleArn: smithy_client_1.expectString(output.MonitoringRoleArn),
14152
14786
  MultiAz: smithy_client_1.expectBoolean(output.MultiAz),
14153
14787
  OptionGroupMemberships: output.OptionGroupMemberships !== undefined && output.OptionGroupMemberships !== null
@@ -14158,13 +14792,13 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (output, context) => {
14158
14792
  : undefined,
14159
14793
  PerformanceInsightsEnabled: smithy_client_1.expectBoolean(output.PerformanceInsightsEnabled),
14160
14794
  PerformanceInsightsKmsKeyId: smithy_client_1.expectString(output.PerformanceInsightsKmsKeyId),
14161
- PerformanceInsightsRetentionPeriod: smithy_client_1.expectInt(output.PerformanceInsightsRetentionPeriod),
14795
+ PerformanceInsightsRetentionPeriod: smithy_client_1.expectInt32(output.PerformanceInsightsRetentionPeriod),
14162
14796
  PreferredBackupWindow: smithy_client_1.expectString(output.PreferredBackupWindow),
14163
14797
  PreferredMaintenanceWindow: smithy_client_1.expectString(output.PreferredMaintenanceWindow),
14164
14798
  ProcessorFeatures: output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
14165
14799
  ? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
14166
14800
  : undefined,
14167
- PromotionTier: smithy_client_1.expectInt(output.PromotionTier),
14801
+ PromotionTier: smithy_client_1.expectInt32(output.PromotionTier),
14168
14802
  PubliclyAccessible: smithy_client_1.expectBoolean(output.PubliclyAccessible),
14169
14803
  ReadReplicaDBClusterIdentifiers: output.ReadReplicaDBClusterIdentifiers !== undefined && output.ReadReplicaDBClusterIdentifiers !== null
14170
14804
  ? deserializeAws_restJson1StringList(output.ReadReplicaDBClusterIdentifiers, context)
@@ -14190,7 +14824,7 @@ const deserializeAws_restJson1AwsRdsDbInstanceEndpoint = (output, context) => {
14190
14824
  return {
14191
14825
  Address: smithy_client_1.expectString(output.Address),
14192
14826
  HostedZoneId: smithy_client_1.expectString(output.HostedZoneId),
14193
- Port: smithy_client_1.expectInt(output.Port),
14827
+ Port: smithy_client_1.expectInt32(output.Port),
14194
14828
  };
14195
14829
  };
14196
14830
  const deserializeAws_restJson1AwsRdsDbInstanceVpcSecurityGroup = (output, context) => {
@@ -14243,21 +14877,21 @@ const deserializeAws_restJson1AwsRdsDbParameterGroups = (output, context) => {
14243
14877
  };
14244
14878
  const deserializeAws_restJson1AwsRdsDbPendingModifiedValues = (output, context) => {
14245
14879
  return {
14246
- AllocatedStorage: smithy_client_1.expectInt(output.AllocatedStorage),
14247
- BackupRetentionPeriod: smithy_client_1.expectInt(output.BackupRetentionPeriod),
14880
+ AllocatedStorage: smithy_client_1.expectInt32(output.AllocatedStorage),
14881
+ BackupRetentionPeriod: smithy_client_1.expectInt32(output.BackupRetentionPeriod),
14248
14882
  CaCertificateIdentifier: smithy_client_1.expectString(output.CaCertificateIdentifier),
14249
14883
  DbInstanceClass: smithy_client_1.expectString(output.DbInstanceClass),
14250
14884
  DbInstanceIdentifier: smithy_client_1.expectString(output.DbInstanceIdentifier),
14251
14885
  DbSubnetGroupName: smithy_client_1.expectString(output.DbSubnetGroupName),
14252
14886
  EngineVersion: smithy_client_1.expectString(output.EngineVersion),
14253
- Iops: smithy_client_1.expectInt(output.Iops),
14887
+ Iops: smithy_client_1.expectInt32(output.Iops),
14254
14888
  LicenseModel: smithy_client_1.expectString(output.LicenseModel),
14255
14889
  MasterUserPassword: smithy_client_1.expectString(output.MasterUserPassword),
14256
14890
  MultiAZ: smithy_client_1.expectBoolean(output.MultiAZ),
14257
14891
  PendingCloudWatchLogsExports: output.PendingCloudWatchLogsExports !== undefined && output.PendingCloudWatchLogsExports !== null
14258
14892
  ? deserializeAws_restJson1AwsRdsPendingCloudWatchLogsExports(output.PendingCloudWatchLogsExports, context)
14259
14893
  : undefined,
14260
- Port: smithy_client_1.expectInt(output.Port),
14894
+ Port: smithy_client_1.expectInt32(output.Port),
14261
14895
  ProcessorFeatures: output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
14262
14896
  ? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
14263
14897
  : undefined,
@@ -14282,7 +14916,7 @@ const deserializeAws_restJson1AwsRdsDbProcessorFeatures = (output, context) => {
14282
14916
  };
14283
14917
  const deserializeAws_restJson1AwsRdsDbSnapshotDetails = (output, context) => {
14284
14918
  return {
14285
- AllocatedStorage: smithy_client_1.expectInt(output.AllocatedStorage),
14919
+ AllocatedStorage: smithy_client_1.expectInt32(output.AllocatedStorage),
14286
14920
  AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
14287
14921
  DbInstanceIdentifier: smithy_client_1.expectString(output.DbInstanceIdentifier),
14288
14922
  DbSnapshotIdentifier: smithy_client_1.expectString(output.DbSnapshotIdentifier),
@@ -14292,13 +14926,13 @@ const deserializeAws_restJson1AwsRdsDbSnapshotDetails = (output, context) => {
14292
14926
  EngineVersion: smithy_client_1.expectString(output.EngineVersion),
14293
14927
  IamDatabaseAuthenticationEnabled: smithy_client_1.expectBoolean(output.IamDatabaseAuthenticationEnabled),
14294
14928
  InstanceCreateTime: smithy_client_1.expectString(output.InstanceCreateTime),
14295
- Iops: smithy_client_1.expectInt(output.Iops),
14929
+ Iops: smithy_client_1.expectInt32(output.Iops),
14296
14930
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
14297
14931
  LicenseModel: smithy_client_1.expectString(output.LicenseModel),
14298
14932
  MasterUsername: smithy_client_1.expectString(output.MasterUsername),
14299
14933
  OptionGroupName: smithy_client_1.expectString(output.OptionGroupName),
14300
- PercentProgress: smithy_client_1.expectInt(output.PercentProgress),
14301
- Port: smithy_client_1.expectInt(output.Port),
14934
+ PercentProgress: smithy_client_1.expectInt32(output.PercentProgress),
14935
+ Port: smithy_client_1.expectInt32(output.Port),
14302
14936
  ProcessorFeatures: output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
14303
14937
  ? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
14304
14938
  : undefined,
@@ -14467,8 +15101,8 @@ const deserializeAws_restJson1AwsRedshiftClusterClusterSecurityGroups = (output,
14467
15101
  const deserializeAws_restJson1AwsRedshiftClusterClusterSnapshotCopyStatus = (output, context) => {
14468
15102
  return {
14469
15103
  DestinationRegion: smithy_client_1.expectString(output.DestinationRegion),
14470
- ManualSnapshotRetentionPeriod: smithy_client_1.expectInt(output.ManualSnapshotRetentionPeriod),
14471
- RetentionPeriod: smithy_client_1.expectInt(output.RetentionPeriod),
15104
+ ManualSnapshotRetentionPeriod: smithy_client_1.expectInt32(output.ManualSnapshotRetentionPeriod),
15105
+ RetentionPeriod: smithy_client_1.expectInt32(output.RetentionPeriod),
14472
15106
  SnapshotCopyGrantName: smithy_client_1.expectString(output.SnapshotCopyGrantName),
14473
15107
  };
14474
15108
  };
@@ -14492,7 +15126,7 @@ const deserializeAws_restJson1AwsRedshiftClusterDeferredMaintenanceWindows = (ou
14492
15126
  const deserializeAws_restJson1AwsRedshiftClusterDetails = (output, context) => {
14493
15127
  return {
14494
15128
  AllowVersionUpgrade: smithy_client_1.expectBoolean(output.AllowVersionUpgrade),
14495
- AutomatedSnapshotRetentionPeriod: smithy_client_1.expectInt(output.AutomatedSnapshotRetentionPeriod),
15129
+ AutomatedSnapshotRetentionPeriod: smithy_client_1.expectInt32(output.AutomatedSnapshotRetentionPeriod),
14496
15130
  AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
14497
15131
  ClusterAvailabilityStatus: smithy_client_1.expectString(output.ClusterAvailabilityStatus),
14498
15132
  ClusterCreateTime: smithy_client_1.expectString(output.ClusterCreateTime),
@@ -14537,11 +15171,11 @@ const deserializeAws_restJson1AwsRedshiftClusterDetails = (output, context) => {
14537
15171
  : undefined,
14538
15172
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
14539
15173
  MaintenanceTrackName: smithy_client_1.expectString(output.MaintenanceTrackName),
14540
- ManualSnapshotRetentionPeriod: smithy_client_1.expectInt(output.ManualSnapshotRetentionPeriod),
15174
+ ManualSnapshotRetentionPeriod: smithy_client_1.expectInt32(output.ManualSnapshotRetentionPeriod),
14541
15175
  MasterUsername: smithy_client_1.expectString(output.MasterUsername),
14542
15176
  NextMaintenanceWindowStartTime: smithy_client_1.expectString(output.NextMaintenanceWindowStartTime),
14543
15177
  NodeType: smithy_client_1.expectString(output.NodeType),
14544
- NumberOfNodes: smithy_client_1.expectInt(output.NumberOfNodes),
15178
+ NumberOfNodes: smithy_client_1.expectInt32(output.NumberOfNodes),
14545
15179
  PendingActions: output.PendingActions !== undefined && output.PendingActions !== null
14546
15180
  ? deserializeAws_restJson1StringList(output.PendingActions, context)
14547
15181
  : undefined,
@@ -14573,7 +15207,7 @@ const deserializeAws_restJson1AwsRedshiftClusterElasticIpStatus = (output, conte
14573
15207
  const deserializeAws_restJson1AwsRedshiftClusterEndpoint = (output, context) => {
14574
15208
  return {
14575
15209
  Address: smithy_client_1.expectString(output.Address),
14576
- Port: smithy_client_1.expectInt(output.Port),
15210
+ Port: smithy_client_1.expectInt32(output.Port),
14577
15211
  };
14578
15212
  };
14579
15213
  const deserializeAws_restJson1AwsRedshiftClusterHsmStatus = (output, context) => {
@@ -14601,7 +15235,7 @@ const deserializeAws_restJson1AwsRedshiftClusterIamRoles = (output, context) =>
14601
15235
  };
14602
15236
  const deserializeAws_restJson1AwsRedshiftClusterPendingModifiedValues = (output, context) => {
14603
15237
  return {
14604
- AutomatedSnapshotRetentionPeriod: smithy_client_1.expectInt(output.AutomatedSnapshotRetentionPeriod),
15238
+ AutomatedSnapshotRetentionPeriod: smithy_client_1.expectInt32(output.AutomatedSnapshotRetentionPeriod),
14605
15239
  ClusterIdentifier: smithy_client_1.expectString(output.ClusterIdentifier),
14606
15240
  ClusterType: smithy_client_1.expectString(output.ClusterType),
14607
15241
  ClusterVersion: smithy_client_1.expectString(output.ClusterVersion),
@@ -14610,7 +15244,7 @@ const deserializeAws_restJson1AwsRedshiftClusterPendingModifiedValues = (output,
14610
15244
  MaintenanceTrackName: smithy_client_1.expectString(output.MaintenanceTrackName),
14611
15245
  MasterUserPassword: smithy_client_1.expectString(output.MasterUserPassword),
14612
15246
  NodeType: smithy_client_1.expectString(output.NodeType),
14613
- NumberOfNodes: smithy_client_1.expectInt(output.NumberOfNodes),
15247
+ NumberOfNodes: smithy_client_1.expectInt32(output.NumberOfNodes),
14614
15248
  PubliclyAccessible: smithy_client_1.expectBoolean(output.PubliclyAccessible),
14615
15249
  };
14616
15250
  };
@@ -14622,11 +15256,11 @@ const deserializeAws_restJson1AwsRedshiftClusterResizeInfo = (output, context) =
14622
15256
  };
14623
15257
  const deserializeAws_restJson1AwsRedshiftClusterRestoreStatus = (output, context) => {
14624
15258
  return {
14625
- CurrentRestoreRateInMegaBytesPerSecond: smithy_client_1.limitedParseFloat(output.CurrentRestoreRateInMegaBytesPerSecond),
14626
- ElapsedTimeInSeconds: smithy_client_1.expectInt(output.ElapsedTimeInSeconds),
14627
- EstimatedTimeToCompletionInSeconds: smithy_client_1.expectInt(output.EstimatedTimeToCompletionInSeconds),
14628
- ProgressInMegaBytes: smithy_client_1.expectInt(output.ProgressInMegaBytes),
14629
- SnapshotSizeInMegaBytes: smithy_client_1.expectInt(output.SnapshotSizeInMegaBytes),
15259
+ CurrentRestoreRateInMegaBytesPerSecond: smithy_client_1.limitedParseDouble(output.CurrentRestoreRateInMegaBytesPerSecond),
15260
+ ElapsedTimeInSeconds: smithy_client_1.expectLong(output.ElapsedTimeInSeconds),
15261
+ EstimatedTimeToCompletionInSeconds: smithy_client_1.expectLong(output.EstimatedTimeToCompletionInSeconds),
15262
+ ProgressInMegaBytes: smithy_client_1.expectLong(output.ProgressInMegaBytes),
15263
+ SnapshotSizeInMegaBytes: smithy_client_1.expectLong(output.SnapshotSizeInMegaBytes),
14630
15264
  Status: smithy_client_1.expectString(output.Status),
14631
15265
  };
14632
15266
  };
@@ -14663,7 +15297,7 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails = (
14663
15297
  };
14664
15298
  const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails = (output, context) => {
14665
15299
  return {
14666
- DaysAfterInitiation: smithy_client_1.expectInt(output.DaysAfterInitiation),
15300
+ DaysAfterInitiation: smithy_client_1.expectInt32(output.DaysAfterInitiation),
14667
15301
  };
14668
15302
  };
14669
15303
  const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesDetails = (output, context) => {
@@ -14672,13 +15306,13 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesDetail
14672
15306
  ? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails(output.AbortIncompleteMultipartUpload, context)
14673
15307
  : undefined,
14674
15308
  ExpirationDate: smithy_client_1.expectString(output.ExpirationDate),
14675
- ExpirationInDays: smithy_client_1.expectInt(output.ExpirationInDays),
15309
+ ExpirationInDays: smithy_client_1.expectInt32(output.ExpirationInDays),
14676
15310
  ExpiredObjectDeleteMarker: smithy_client_1.expectBoolean(output.ExpiredObjectDeleteMarker),
14677
15311
  Filter: output.Filter !== undefined && output.Filter !== null
14678
15312
  ? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails(output.Filter, context)
14679
15313
  : undefined,
14680
15314
  ID: smithy_client_1.expectString(output.ID),
14681
- NoncurrentVersionExpirationInDays: smithy_client_1.expectInt(output.NoncurrentVersionExpirationInDays),
15315
+ NoncurrentVersionExpirationInDays: smithy_client_1.expectInt32(output.NoncurrentVersionExpirationInDays),
14682
15316
  NoncurrentVersionTransitions: output.NoncurrentVersionTransitions !== undefined && output.NoncurrentVersionTransitions !== null
14683
15317
  ? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsList(output.NoncurrentVersionTransitions, context)
14684
15318
  : undefined,
@@ -14751,7 +15385,7 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesList =
14751
15385
  };
14752
15386
  const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails = (output, context) => {
14753
15387
  return {
14754
- Days: smithy_client_1.expectInt(output.Days),
15388
+ Days: smithy_client_1.expectInt32(output.Days),
14755
15389
  StorageClass: smithy_client_1.expectString(output.StorageClass),
14756
15390
  };
14757
15391
  };
@@ -14768,7 +15402,7 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesNoncur
14768
15402
  const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails = (output, context) => {
14769
15403
  return {
14770
15404
  Date: smithy_client_1.expectString(output.Date),
14771
- Days: smithy_client_1.expectInt(output.Days),
15405
+ Days: smithy_client_1.expectInt32(output.Days),
14772
15406
  StorageClass: smithy_client_1.expectString(output.StorageClass),
14773
15407
  };
14774
15408
  };
@@ -14784,9 +15418,19 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransi
14784
15418
  };
14785
15419
  const deserializeAws_restJson1AwsS3BucketDetails = (output, context) => {
14786
15420
  return {
15421
+ AccessControlList: smithy_client_1.expectString(output.AccessControlList),
14787
15422
  BucketLifecycleConfiguration: output.BucketLifecycleConfiguration !== undefined && output.BucketLifecycleConfiguration !== null
14788
15423
  ? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails(output.BucketLifecycleConfiguration, context)
14789
15424
  : undefined,
15425
+ BucketLoggingConfiguration: output.BucketLoggingConfiguration !== undefined && output.BucketLoggingConfiguration !== null
15426
+ ? deserializeAws_restJson1AwsS3BucketLoggingConfiguration(output.BucketLoggingConfiguration, context)
15427
+ : undefined,
15428
+ BucketNotificationConfiguration: output.BucketNotificationConfiguration !== undefined && output.BucketNotificationConfiguration !== null
15429
+ ? deserializeAws_restJson1AwsS3BucketNotificationConfiguration(output.BucketNotificationConfiguration, context)
15430
+ : undefined,
15431
+ BucketWebsiteConfiguration: output.BucketWebsiteConfiguration !== undefined && output.BucketWebsiteConfiguration !== null
15432
+ ? deserializeAws_restJson1AwsS3BucketWebsiteConfiguration(output.BucketWebsiteConfiguration, context)
15433
+ : undefined,
14790
15434
  CreatedAt: smithy_client_1.expectString(output.CreatedAt),
14791
15435
  OwnerId: smithy_client_1.expectString(output.OwnerId),
14792
15436
  OwnerName: smithy_client_1.expectString(output.OwnerName),
@@ -14798,6 +15442,81 @@ const deserializeAws_restJson1AwsS3BucketDetails = (output, context) => {
14798
15442
  : undefined,
14799
15443
  };
14800
15444
  };
15445
+ const deserializeAws_restJson1AwsS3BucketLoggingConfiguration = (output, context) => {
15446
+ return {
15447
+ DestinationBucketName: smithy_client_1.expectString(output.DestinationBucketName),
15448
+ LogFilePrefix: smithy_client_1.expectString(output.LogFilePrefix),
15449
+ };
15450
+ };
15451
+ const deserializeAws_restJson1AwsS3BucketNotificationConfiguration = (output, context) => {
15452
+ return {
15453
+ Configurations: output.Configurations !== undefined && output.Configurations !== null
15454
+ ? deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetails(output.Configurations, context)
15455
+ : undefined,
15456
+ };
15457
+ };
15458
+ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetail = (output, context) => {
15459
+ return {
15460
+ Destination: smithy_client_1.expectString(output.Destination),
15461
+ Events: output.Events !== undefined && output.Events !== null
15462
+ ? deserializeAws_restJson1AwsS3BucketNotificationConfigurationEvents(output.Events, context)
15463
+ : undefined,
15464
+ Filter: output.Filter !== undefined && output.Filter !== null
15465
+ ? deserializeAws_restJson1AwsS3BucketNotificationConfigurationFilter(output.Filter, context)
15466
+ : undefined,
15467
+ Type: smithy_client_1.expectString(output.Type),
15468
+ };
15469
+ };
15470
+ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetails = (output, context) => {
15471
+ return (output || [])
15472
+ .filter((e) => e != null)
15473
+ .map((entry) => {
15474
+ if (entry === null) {
15475
+ return null;
15476
+ }
15477
+ return deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetail(entry, context);
15478
+ });
15479
+ };
15480
+ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationEvents = (output, context) => {
15481
+ return (output || [])
15482
+ .filter((e) => e != null)
15483
+ .map((entry) => {
15484
+ if (entry === null) {
15485
+ return null;
15486
+ }
15487
+ return smithy_client_1.expectString(entry);
15488
+ });
15489
+ };
15490
+ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationFilter = (output, context) => {
15491
+ return {
15492
+ S3KeyFilter: output.S3KeyFilter !== undefined && output.S3KeyFilter !== null
15493
+ ? deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter(output.S3KeyFilter, context)
15494
+ : undefined,
15495
+ };
15496
+ };
15497
+ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter = (output, context) => {
15498
+ return {
15499
+ FilterRules: output.FilterRules !== undefined && output.FilterRules !== null
15500
+ ? deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules(output.FilterRules, context)
15501
+ : undefined,
15502
+ };
15503
+ };
15504
+ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule = (output, context) => {
15505
+ return {
15506
+ Name: smithy_client_1.expectString(output.Name),
15507
+ Value: smithy_client_1.expectString(output.Value),
15508
+ };
15509
+ };
15510
+ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules = (output, context) => {
15511
+ return (output || [])
15512
+ .filter((e) => e != null)
15513
+ .map((entry) => {
15514
+ if (entry === null) {
15515
+ return null;
15516
+ }
15517
+ return deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule(entry, context);
15518
+ });
15519
+ };
14801
15520
  const deserializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = (output, context) => {
14802
15521
  return {
14803
15522
  KMSMasterKeyID: smithy_client_1.expectString(output.KMSMasterKeyID),
@@ -14828,6 +15547,59 @@ const deserializeAws_restJson1AwsS3BucketServerSideEncryptionRules = (output, co
14828
15547
  return deserializeAws_restJson1AwsS3BucketServerSideEncryptionRule(entry, context);
14829
15548
  });
14830
15549
  };
15550
+ const deserializeAws_restJson1AwsS3BucketWebsiteConfiguration = (output, context) => {
15551
+ return {
15552
+ ErrorDocument: smithy_client_1.expectString(output.ErrorDocument),
15553
+ IndexDocumentSuffix: smithy_client_1.expectString(output.IndexDocumentSuffix),
15554
+ RedirectAllRequestsTo: output.RedirectAllRequestsTo !== undefined && output.RedirectAllRequestsTo !== null
15555
+ ? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo(output.RedirectAllRequestsTo, context)
15556
+ : undefined,
15557
+ RoutingRules: output.RoutingRules !== undefined && output.RoutingRules !== null
15558
+ ? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules(output.RoutingRules, context)
15559
+ : undefined,
15560
+ };
15561
+ };
15562
+ const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo = (output, context) => {
15563
+ return {
15564
+ Hostname: smithy_client_1.expectString(output.Hostname),
15565
+ Protocol: smithy_client_1.expectString(output.Protocol),
15566
+ };
15567
+ };
15568
+ const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule = (output, context) => {
15569
+ return {
15570
+ Condition: output.Condition !== undefined && output.Condition !== null
15571
+ ? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition(output.Condition, context)
15572
+ : undefined,
15573
+ Redirect: output.Redirect !== undefined && output.Redirect !== null
15574
+ ? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect(output.Redirect, context)
15575
+ : undefined,
15576
+ };
15577
+ };
15578
+ const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition = (output, context) => {
15579
+ return {
15580
+ HttpErrorCodeReturnedEquals: smithy_client_1.expectString(output.HttpErrorCodeReturnedEquals),
15581
+ KeyPrefixEquals: smithy_client_1.expectString(output.KeyPrefixEquals),
15582
+ };
15583
+ };
15584
+ const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect = (output, context) => {
15585
+ return {
15586
+ Hostname: smithy_client_1.expectString(output.Hostname),
15587
+ HttpRedirectCode: smithy_client_1.expectString(output.HttpRedirectCode),
15588
+ Protocol: smithy_client_1.expectString(output.Protocol),
15589
+ ReplaceKeyPrefixWith: smithy_client_1.expectString(output.ReplaceKeyPrefixWith),
15590
+ ReplaceKeyWith: smithy_client_1.expectString(output.ReplaceKeyWith),
15591
+ };
15592
+ };
15593
+ const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules = (output, context) => {
15594
+ return (output || [])
15595
+ .filter((e) => e != null)
15596
+ .map((entry) => {
15597
+ if (entry === null) {
15598
+ return null;
15599
+ }
15600
+ return deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule(entry, context);
15601
+ });
15602
+ };
14831
15603
  const deserializeAws_restJson1AwsS3ObjectDetails = (output, context) => {
14832
15604
  return {
14833
15605
  ContentType: smithy_client_1.expectString(output.ContentType),
@@ -14854,7 +15626,7 @@ const deserializeAws_restJson1AwsSecretsManagerSecretDetails = (output, context)
14854
15626
  };
14855
15627
  const deserializeAws_restJson1AwsSecretsManagerSecretRotationRules = (output, context) => {
14856
15628
  return {
14857
- AutomaticallyAfterDays: smithy_client_1.expectInt(output.AutomaticallyAfterDays),
15629
+ AutomaticallyAfterDays: smithy_client_1.expectInt32(output.AutomaticallyAfterDays),
14858
15630
  };
14859
15631
  };
14860
15632
  const deserializeAws_restJson1AwsSecurityFinding = (output, context) => {
@@ -14867,9 +15639,9 @@ const deserializeAws_restJson1AwsSecurityFinding = (output, context) => {
14867
15639
  Compliance: output.Compliance !== undefined && output.Compliance !== null
14868
15640
  ? deserializeAws_restJson1Compliance(output.Compliance, context)
14869
15641
  : undefined,
14870
- Confidence: smithy_client_1.expectInt(output.Confidence),
15642
+ Confidence: smithy_client_1.expectInt32(output.Confidence),
14871
15643
  CreatedAt: smithy_client_1.expectString(output.CreatedAt),
14872
- Criticality: smithy_client_1.expectInt(output.Criticality),
15644
+ Criticality: smithy_client_1.expectInt32(output.Criticality),
14873
15645
  Description: smithy_client_1.expectString(output.Description),
14874
15646
  FindingProviderFields: output.FindingProviderFields !== undefined && output.FindingProviderFields !== null
14875
15647
  ? deserializeAws_restJson1FindingProviderFields(output.FindingProviderFields, context)
@@ -15283,7 +16055,7 @@ const deserializeAws_restJson1AwsSnsTopicSubscriptionList = (output, context) =>
15283
16055
  const deserializeAws_restJson1AwsSqsQueueDetails = (output, context) => {
15284
16056
  return {
15285
16057
  DeadLetterTargetArn: smithy_client_1.expectString(output.DeadLetterTargetArn),
15286
- KmsDataKeyReusePeriodSeconds: smithy_client_1.expectInt(output.KmsDataKeyReusePeriodSeconds),
16058
+ KmsDataKeyReusePeriodSeconds: smithy_client_1.expectInt32(output.KmsDataKeyReusePeriodSeconds),
15287
16059
  KmsMasterKeyId: smithy_client_1.expectString(output.KmsMasterKeyId),
15288
16060
  QueueName: smithy_client_1.expectString(output.QueueName),
15289
16061
  };
@@ -15291,19 +16063,19 @@ const deserializeAws_restJson1AwsSqsQueueDetails = (output, context) => {
15291
16063
  const deserializeAws_restJson1AwsSsmComplianceSummary = (output, context) => {
15292
16064
  return {
15293
16065
  ComplianceType: smithy_client_1.expectString(output.ComplianceType),
15294
- CompliantCriticalCount: smithy_client_1.expectInt(output.CompliantCriticalCount),
15295
- CompliantHighCount: smithy_client_1.expectInt(output.CompliantHighCount),
15296
- CompliantInformationalCount: smithy_client_1.expectInt(output.CompliantInformationalCount),
15297
- CompliantLowCount: smithy_client_1.expectInt(output.CompliantLowCount),
15298
- CompliantMediumCount: smithy_client_1.expectInt(output.CompliantMediumCount),
15299
- CompliantUnspecifiedCount: smithy_client_1.expectInt(output.CompliantUnspecifiedCount),
16066
+ CompliantCriticalCount: smithy_client_1.expectInt32(output.CompliantCriticalCount),
16067
+ CompliantHighCount: smithy_client_1.expectInt32(output.CompliantHighCount),
16068
+ CompliantInformationalCount: smithy_client_1.expectInt32(output.CompliantInformationalCount),
16069
+ CompliantLowCount: smithy_client_1.expectInt32(output.CompliantLowCount),
16070
+ CompliantMediumCount: smithy_client_1.expectInt32(output.CompliantMediumCount),
16071
+ CompliantUnspecifiedCount: smithy_client_1.expectInt32(output.CompliantUnspecifiedCount),
15300
16072
  ExecutionType: smithy_client_1.expectString(output.ExecutionType),
15301
- NonCompliantCriticalCount: smithy_client_1.expectInt(output.NonCompliantCriticalCount),
15302
- NonCompliantHighCount: smithy_client_1.expectInt(output.NonCompliantHighCount),
15303
- NonCompliantInformationalCount: smithy_client_1.expectInt(output.NonCompliantInformationalCount),
15304
- NonCompliantLowCount: smithy_client_1.expectInt(output.NonCompliantLowCount),
15305
- NonCompliantMediumCount: smithy_client_1.expectInt(output.NonCompliantMediumCount),
15306
- NonCompliantUnspecifiedCount: smithy_client_1.expectInt(output.NonCompliantUnspecifiedCount),
16073
+ NonCompliantCriticalCount: smithy_client_1.expectInt32(output.NonCompliantCriticalCount),
16074
+ NonCompliantHighCount: smithy_client_1.expectInt32(output.NonCompliantHighCount),
16075
+ NonCompliantInformationalCount: smithy_client_1.expectInt32(output.NonCompliantInformationalCount),
16076
+ NonCompliantLowCount: smithy_client_1.expectInt32(output.NonCompliantLowCount),
16077
+ NonCompliantMediumCount: smithy_client_1.expectInt32(output.NonCompliantMediumCount),
16078
+ NonCompliantUnspecifiedCount: smithy_client_1.expectInt32(output.NonCompliantUnspecifiedCount),
15307
16079
  OverallSeverity: smithy_client_1.expectString(output.OverallSeverity),
15308
16080
  PatchBaselineId: smithy_client_1.expectString(output.PatchBaselineId),
15309
16081
  PatchGroup: smithy_client_1.expectString(output.PatchGroup),
@@ -15345,7 +16117,7 @@ const deserializeAws_restJson1AwsWafWebAclRule = (output, context) => {
15345
16117
  OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null
15346
16118
  ? deserializeAws_restJson1WafOverrideAction(output.OverrideAction, context)
15347
16119
  : undefined,
15348
- Priority: smithy_client_1.expectInt(output.Priority),
16120
+ Priority: smithy_client_1.expectInt32(output.Priority),
15349
16121
  RuleId: smithy_client_1.expectString(output.RuleId),
15350
16122
  Type: smithy_client_1.expectString(output.Type),
15351
16123
  };
@@ -15392,9 +16164,9 @@ const deserializeAws_restJson1CategoryList = (output, context) => {
15392
16164
  const deserializeAws_restJson1Cell = (output, context) => {
15393
16165
  return {
15394
16166
  CellReference: smithy_client_1.expectString(output.CellReference),
15395
- Column: smithy_client_1.expectInt(output.Column),
16167
+ Column: smithy_client_1.expectLong(output.Column),
15396
16168
  ColumnName: smithy_client_1.expectString(output.ColumnName),
15397
- Row: smithy_client_1.expectInt(output.Row),
16169
+ Row: smithy_client_1.expectLong(output.Row),
15398
16170
  };
15399
16171
  };
15400
16172
  const deserializeAws_restJson1Cells = (output, context) => {
@@ -15439,7 +16211,7 @@ const deserializeAws_restJson1ClassificationResult = (output, context) => {
15439
16211
  SensitiveData: output.SensitiveData !== undefined && output.SensitiveData !== null
15440
16212
  ? deserializeAws_restJson1SensitiveDataResultList(output.SensitiveData, context)
15441
16213
  : undefined,
15442
- SizeClassified: smithy_client_1.expectInt(output.SizeClassified),
16214
+ SizeClassified: smithy_client_1.expectLong(output.SizeClassified),
15443
16215
  Status: output.Status !== undefined && output.Status !== null
15444
16216
  ? deserializeAws_restJson1ClassificationStatus(output.Status, context)
15445
16217
  : undefined,
@@ -15479,7 +16251,7 @@ const deserializeAws_restJson1Country = (output, context) => {
15479
16251
  const deserializeAws_restJson1CustomDataIdentifiersDetections = (output, context) => {
15480
16252
  return {
15481
16253
  Arn: smithy_client_1.expectString(output.Arn),
15482
- Count: smithy_client_1.expectInt(output.Count),
16254
+ Count: smithy_client_1.expectLong(output.Count),
15483
16255
  Name: smithy_client_1.expectString(output.Name),
15484
16256
  Occurrences: output.Occurrences !== undefined && output.Occurrences !== null
15485
16257
  ? deserializeAws_restJson1Occurrences(output.Occurrences, context)
@@ -15501,13 +16273,17 @@ const deserializeAws_restJson1CustomDataIdentifiersResult = (output, context) =>
15501
16273
  Detections: output.Detections !== undefined && output.Detections !== null
15502
16274
  ? deserializeAws_restJson1CustomDataIdentifiersDetectionsList(output.Detections, context)
15503
16275
  : undefined,
15504
- TotalCount: smithy_client_1.expectInt(output.TotalCount),
16276
+ TotalCount: smithy_client_1.expectLong(output.TotalCount),
15505
16277
  };
15506
16278
  };
15507
16279
  const deserializeAws_restJson1Cvss = (output, context) => {
15508
16280
  return {
15509
- BaseScore: smithy_client_1.limitedParseFloat(output.BaseScore),
16281
+ Adjustments: output.Adjustments !== undefined && output.Adjustments !== null
16282
+ ? deserializeAws_restJson1AdjustmentList(output.Adjustments, context)
16283
+ : undefined,
16284
+ BaseScore: smithy_client_1.limitedParseDouble(output.BaseScore),
15510
16285
  BaseVector: smithy_client_1.expectString(output.BaseVector),
16286
+ Source: smithy_client_1.expectString(output.Source),
15511
16287
  Version: smithy_client_1.expectString(output.Version),
15512
16288
  };
15513
16289
  };
@@ -15551,7 +16327,7 @@ const deserializeAws_restJson1DateFilterList = (output, context) => {
15551
16327
  const deserializeAws_restJson1DateRange = (output, context) => {
15552
16328
  return {
15553
16329
  Unit: smithy_client_1.expectString(output.Unit),
15554
- Value: smithy_client_1.expectInt(output.Value),
16330
+ Value: smithy_client_1.expectInt32(output.Value),
15555
16331
  };
15556
16332
  };
15557
16333
  const deserializeAws_restJson1DnsRequestAction = (output, context) => {
@@ -15574,8 +16350,8 @@ const deserializeAws_restJson1FieldMap = (output, context) => {
15574
16350
  };
15575
16351
  const deserializeAws_restJson1FindingProviderFields = (output, context) => {
15576
16352
  return {
15577
- Confidence: smithy_client_1.expectInt(output.Confidence),
15578
- Criticality: smithy_client_1.expectInt(output.Criticality),
16353
+ Confidence: smithy_client_1.expectInt32(output.Confidence),
16354
+ Criticality: smithy_client_1.expectInt32(output.Criticality),
15579
16355
  RelatedFindings: output.RelatedFindings !== undefined && output.RelatedFindings !== null
15580
16356
  ? deserializeAws_restJson1RelatedFindingList(output.RelatedFindings, context)
15581
16357
  : undefined,
@@ -15595,14 +16371,14 @@ const deserializeAws_restJson1FindingProviderSeverity = (output, context) => {
15595
16371
  };
15596
16372
  const deserializeAws_restJson1GeoLocation = (output, context) => {
15597
16373
  return {
15598
- Lat: smithy_client_1.limitedParseFloat(output.Lat),
15599
- Lon: smithy_client_1.limitedParseFloat(output.Lon),
16374
+ Lat: smithy_client_1.limitedParseDouble(output.Lat),
16375
+ Lon: smithy_client_1.limitedParseDouble(output.Lon),
15600
16376
  };
15601
16377
  };
15602
16378
  const deserializeAws_restJson1IcmpTypeCode = (output, context) => {
15603
16379
  return {
15604
- Code: smithy_client_1.expectInt(output.Code),
15605
- Type: smithy_client_1.expectInt(output.Type),
16380
+ Code: smithy_client_1.expectInt32(output.Code),
16381
+ Type: smithy_client_1.expectInt32(output.Type),
15606
16382
  };
15607
16383
  };
15608
16384
  const deserializeAws_restJson1ImportFindingsError = (output, context) => {
@@ -15653,7 +16429,7 @@ const deserializeAws_restJson1InsightResults = (output, context) => {
15653
16429
  };
15654
16430
  const deserializeAws_restJson1InsightResultValue = (output, context) => {
15655
16431
  return {
15656
- Count: smithy_client_1.expectInt(output.Count),
16432
+ Count: smithy_client_1.expectInt32(output.Count),
15657
16433
  GroupByAttributeValue: smithy_client_1.expectString(output.GroupByAttributeValue),
15658
16434
  };
15659
16435
  };
@@ -15667,6 +16443,16 @@ const deserializeAws_restJson1InsightResultValueList = (output, context) => {
15667
16443
  return deserializeAws_restJson1InsightResultValue(entry, context);
15668
16444
  });
15669
16445
  };
16446
+ const deserializeAws_restJson1IntegerList = (output, context) => {
16447
+ return (output || [])
16448
+ .filter((e) => e != null)
16449
+ .map((entry) => {
16450
+ if (entry === null) {
16451
+ return null;
16452
+ }
16453
+ return smithy_client_1.expectInt32(entry);
16454
+ });
16455
+ };
15670
16456
  const deserializeAws_restJson1IntegrationTypeList = (output, context) => {
15671
16457
  return (output || [])
15672
16458
  .filter((e) => e != null)
@@ -15681,7 +16467,9 @@ const deserializeAws_restJson1Invitation = (output, context) => {
15681
16467
  return {
15682
16468
  AccountId: smithy_client_1.expectString(output.AccountId),
15683
16469
  InvitationId: smithy_client_1.expectString(output.InvitationId),
15684
- InvitedAt: output.InvitedAt !== undefined && output.InvitedAt !== null ? new Date(output.InvitedAt) : undefined,
16470
+ InvitedAt: output.InvitedAt !== undefined && output.InvitedAt !== null
16471
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.InvitedAt))
16472
+ : undefined,
15685
16473
  MemberStatus: smithy_client_1.expectString(output.MemberStatus),
15686
16474
  };
15687
16475
  };
@@ -15712,7 +16500,7 @@ const deserializeAws_restJson1IpFilterList = (output, context) => {
15712
16500
  };
15713
16501
  const deserializeAws_restJson1IpOrganizationDetails = (output, context) => {
15714
16502
  return {
15715
- Asn: smithy_client_1.expectInt(output.Asn),
16503
+ Asn: smithy_client_1.expectInt32(output.Asn),
15716
16504
  AsnOrg: smithy_client_1.expectString(output.AsnOrg),
15717
16505
  Isp: smithy_client_1.expectString(output.Isp),
15718
16506
  Org: smithy_client_1.expectString(output.Org),
@@ -15796,10 +16584,14 @@ const deserializeAws_restJson1Member = (output, context) => {
15796
16584
  AccountId: smithy_client_1.expectString(output.AccountId),
15797
16585
  AdministratorId: smithy_client_1.expectString(output.AdministratorId),
15798
16586
  Email: smithy_client_1.expectString(output.Email),
15799
- InvitedAt: output.InvitedAt !== undefined && output.InvitedAt !== null ? new Date(output.InvitedAt) : undefined,
16587
+ InvitedAt: output.InvitedAt !== undefined && output.InvitedAt !== null
16588
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.InvitedAt))
16589
+ : undefined,
15800
16590
  MasterId: smithy_client_1.expectString(output.MasterId),
15801
16591
  MemberStatus: smithy_client_1.expectString(output.MemberStatus),
15802
- UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null ? new Date(output.UpdatedAt) : undefined,
16592
+ UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
16593
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.UpdatedAt))
16594
+ : undefined,
15803
16595
  };
15804
16596
  };
15805
16597
  const deserializeAws_restJson1MemberList = (output, context) => {
@@ -15817,7 +16609,7 @@ const deserializeAws_restJson1Network = (output, context) => {
15817
16609
  DestinationDomain: smithy_client_1.expectString(output.DestinationDomain),
15818
16610
  DestinationIpV4: smithy_client_1.expectString(output.DestinationIpV4),
15819
16611
  DestinationIpV6: smithy_client_1.expectString(output.DestinationIpV6),
15820
- DestinationPort: smithy_client_1.expectInt(output.DestinationPort),
16612
+ DestinationPort: smithy_client_1.expectInt32(output.DestinationPort),
15821
16613
  Direction: smithy_client_1.expectString(output.Direction),
15822
16614
  OpenPortRange: output.OpenPortRange !== undefined && output.OpenPortRange !== null
15823
16615
  ? deserializeAws_restJson1PortRange(output.OpenPortRange, context)
@@ -15827,7 +16619,7 @@ const deserializeAws_restJson1Network = (output, context) => {
15827
16619
  SourceIpV4: smithy_client_1.expectString(output.SourceIpV4),
15828
16620
  SourceIpV6: smithy_client_1.expectString(output.SourceIpV6),
15829
16621
  SourceMac: smithy_client_1.expectString(output.SourceMac),
15830
- SourcePort: smithy_client_1.expectInt(output.SourcePort),
16622
+ SourcePort: smithy_client_1.expectInt32(output.SourcePort),
15831
16623
  };
15832
16624
  };
15833
16625
  const deserializeAws_restJson1NetworkConnectionAction = (output, context) => {
@@ -15908,9 +16700,9 @@ const deserializeAws_restJson1Note = (output, context) => {
15908
16700
  };
15909
16701
  const deserializeAws_restJson1NumberFilter = (output, context) => {
15910
16702
  return {
15911
- Eq: smithy_client_1.limitedParseFloat(output.Eq),
15912
- Gte: smithy_client_1.limitedParseFloat(output.Gte),
15913
- Lte: smithy_client_1.limitedParseFloat(output.Lte),
16703
+ Eq: smithy_client_1.limitedParseDouble(output.Eq),
16704
+ Gte: smithy_client_1.limitedParseDouble(output.Gte),
16705
+ Lte: smithy_client_1.limitedParseDouble(output.Lte),
15914
16706
  };
15915
16707
  };
15916
16708
  const deserializeAws_restJson1NumberFilterList = (output, context) => {
@@ -15950,7 +16742,7 @@ const deserializeAws_restJson1Page = (output, context) => {
15950
16742
  OffsetRange: output.OffsetRange !== undefined && output.OffsetRange !== null
15951
16743
  ? deserializeAws_restJson1Range(output.OffsetRange, context)
15952
16744
  : undefined,
15953
- PageNumber: smithy_client_1.expectInt(output.PageNumber),
16745
+ PageNumber: smithy_client_1.expectLong(output.PageNumber),
15954
16746
  };
15955
16747
  };
15956
16748
  const deserializeAws_restJson1Pages = (output, context) => {
@@ -15965,13 +16757,13 @@ const deserializeAws_restJson1Pages = (output, context) => {
15965
16757
  };
15966
16758
  const deserializeAws_restJson1PatchSummary = (output, context) => {
15967
16759
  return {
15968
- FailedCount: smithy_client_1.expectInt(output.FailedCount),
16760
+ FailedCount: smithy_client_1.expectInt32(output.FailedCount),
15969
16761
  Id: smithy_client_1.expectString(output.Id),
15970
- InstalledCount: smithy_client_1.expectInt(output.InstalledCount),
15971
- InstalledOtherCount: smithy_client_1.expectInt(output.InstalledOtherCount),
15972
- InstalledPendingReboot: smithy_client_1.expectInt(output.InstalledPendingReboot),
15973
- InstalledRejectedCount: smithy_client_1.expectInt(output.InstalledRejectedCount),
15974
- MissingCount: smithy_client_1.expectInt(output.MissingCount),
16762
+ InstalledCount: smithy_client_1.expectInt32(output.InstalledCount),
16763
+ InstalledOtherCount: smithy_client_1.expectInt32(output.InstalledOtherCount),
16764
+ InstalledPendingReboot: smithy_client_1.expectInt32(output.InstalledPendingReboot),
16765
+ InstalledRejectedCount: smithy_client_1.expectInt32(output.InstalledRejectedCount),
16766
+ MissingCount: smithy_client_1.expectInt32(output.MissingCount),
15975
16767
  Operation: smithy_client_1.expectString(output.Operation),
15976
16768
  OperationEndTime: smithy_client_1.expectString(output.OperationEndTime),
15977
16769
  OperationStartTime: smithy_client_1.expectString(output.OperationStartTime),
@@ -16011,14 +16803,14 @@ const deserializeAws_restJson1PortProbeDetailList = (output, context) => {
16011
16803
  };
16012
16804
  const deserializeAws_restJson1PortRange = (output, context) => {
16013
16805
  return {
16014
- Begin: smithy_client_1.expectInt(output.Begin),
16015
- End: smithy_client_1.expectInt(output.End),
16806
+ Begin: smithy_client_1.expectInt32(output.Begin),
16807
+ End: smithy_client_1.expectInt32(output.End),
16016
16808
  };
16017
16809
  };
16018
16810
  const deserializeAws_restJson1PortRangeFromTo = (output, context) => {
16019
16811
  return {
16020
- From: smithy_client_1.expectInt(output.From),
16021
- To: smithy_client_1.expectInt(output.To),
16812
+ From: smithy_client_1.expectInt32(output.From),
16813
+ To: smithy_client_1.expectInt32(output.To),
16022
16814
  };
16023
16815
  };
16024
16816
  const deserializeAws_restJson1PortRangeList = (output, context) => {
@@ -16035,9 +16827,9 @@ const deserializeAws_restJson1ProcessDetails = (output, context) => {
16035
16827
  return {
16036
16828
  LaunchedAt: smithy_client_1.expectString(output.LaunchedAt),
16037
16829
  Name: smithy_client_1.expectString(output.Name),
16038
- ParentPid: smithy_client_1.expectInt(output.ParentPid),
16830
+ ParentPid: smithy_client_1.expectInt32(output.ParentPid),
16039
16831
  Path: smithy_client_1.expectString(output.Path),
16040
- Pid: smithy_client_1.expectInt(output.Pid),
16832
+ Pid: smithy_client_1.expectInt32(output.Pid),
16041
16833
  TerminatedAt: smithy_client_1.expectString(output.TerminatedAt),
16042
16834
  };
16043
16835
  };
@@ -16080,9 +16872,9 @@ const deserializeAws_restJson1ProductSubscriptionArnList = (output, context) =>
16080
16872
  };
16081
16873
  const deserializeAws_restJson1Range = (output, context) => {
16082
16874
  return {
16083
- End: smithy_client_1.expectInt(output.End),
16084
- Start: smithy_client_1.expectInt(output.Start),
16085
- StartColumn: smithy_client_1.expectInt(output.StartColumn),
16875
+ End: smithy_client_1.expectLong(output.End),
16876
+ Start: smithy_client_1.expectLong(output.Start),
16877
+ StartColumn: smithy_client_1.expectLong(output.StartColumn),
16086
16878
  };
16087
16879
  };
16088
16880
  const deserializeAws_restJson1Ranges = (output, context) => {
@@ -16104,7 +16896,7 @@ const deserializeAws_restJson1Recommendation = (output, context) => {
16104
16896
  const deserializeAws_restJson1_Record = (output, context) => {
16105
16897
  return {
16106
16898
  JsonPath: smithy_client_1.expectString(output.JsonPath),
16107
- RecordIndex: smithy_client_1.expectInt(output.RecordIndex),
16899
+ RecordIndex: smithy_client_1.expectLong(output.RecordIndex),
16108
16900
  };
16109
16901
  };
16110
16902
  const deserializeAws_restJson1Records = (output, context) => {
@@ -16185,6 +16977,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
16185
16977
  AwsAutoScalingAutoScalingGroup: output.AwsAutoScalingAutoScalingGroup !== undefined && output.AwsAutoScalingAutoScalingGroup !== null
16186
16978
  ? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails(output.AwsAutoScalingAutoScalingGroup, context)
16187
16979
  : undefined,
16980
+ AwsAutoScalingLaunchConfiguration: output.AwsAutoScalingLaunchConfiguration !== undefined && output.AwsAutoScalingLaunchConfiguration !== null
16981
+ ? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails(output.AwsAutoScalingLaunchConfiguration, context)
16982
+ : undefined,
16188
16983
  AwsCertificateManagerCertificate: output.AwsCertificateManagerCertificate !== undefined && output.AwsCertificateManagerCertificate !== null
16189
16984
  ? deserializeAws_restJson1AwsCertificateManagerCertificateDetails(output.AwsCertificateManagerCertificate, context)
16190
16985
  : undefined,
@@ -16224,6 +17019,12 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
16224
17019
  AwsEc2Vpc: output.AwsEc2Vpc !== undefined && output.AwsEc2Vpc !== null
16225
17020
  ? deserializeAws_restJson1AwsEc2VpcDetails(output.AwsEc2Vpc, context)
16226
17021
  : undefined,
17022
+ AwsEc2VpnConnection: output.AwsEc2VpnConnection !== undefined && output.AwsEc2VpnConnection !== null
17023
+ ? deserializeAws_restJson1AwsEc2VpnConnectionDetails(output.AwsEc2VpnConnection, context)
17024
+ : undefined,
17025
+ AwsEcrContainerImage: output.AwsEcrContainerImage !== undefined && output.AwsEcrContainerImage !== null
17026
+ ? deserializeAws_restJson1AwsEcrContainerImageDetails(output.AwsEcrContainerImage, context)
17027
+ : undefined,
16227
17028
  AwsEcsCluster: output.AwsEcsCluster !== undefined && output.AwsEcsCluster !== null
16228
17029
  ? deserializeAws_restJson1AwsEcsClusterDetails(output.AwsEcsCluster, context)
16229
17030
  : undefined,
@@ -16357,7 +17158,7 @@ const deserializeAws_restJson1SecurityGroups = (output, context) => {
16357
17158
  };
16358
17159
  const deserializeAws_restJson1SensitiveDataDetections = (output, context) => {
16359
17160
  return {
16360
- Count: smithy_client_1.expectInt(output.Count),
17161
+ Count: smithy_client_1.expectLong(output.Count),
16361
17162
  Occurrences: output.Occurrences !== undefined && output.Occurrences !== null
16362
17163
  ? deserializeAws_restJson1Occurrences(output.Occurrences, context)
16363
17164
  : undefined,
@@ -16380,7 +17181,7 @@ const deserializeAws_restJson1SensitiveDataResult = (output, context) => {
16380
17181
  Detections: output.Detections !== undefined && output.Detections !== null
16381
17182
  ? deserializeAws_restJson1SensitiveDataDetectionsList(output.Detections, context)
16382
17183
  : undefined,
16383
- TotalCount: smithy_client_1.expectInt(output.TotalCount),
17184
+ TotalCount: smithy_client_1.expectLong(output.TotalCount),
16384
17185
  };
16385
17186
  };
16386
17187
  const deserializeAws_restJson1SensitiveDataResultList = (output, context) => {
@@ -16396,16 +17197,18 @@ const deserializeAws_restJson1SensitiveDataResultList = (output, context) => {
16396
17197
  const deserializeAws_restJson1Severity = (output, context) => {
16397
17198
  return {
16398
17199
  Label: smithy_client_1.expectString(output.Label),
16399
- Normalized: smithy_client_1.expectInt(output.Normalized),
17200
+ Normalized: smithy_client_1.expectInt32(output.Normalized),
16400
17201
  Original: smithy_client_1.expectString(output.Original),
16401
- Product: smithy_client_1.limitedParseFloat(output.Product),
17202
+ Product: smithy_client_1.limitedParseDouble(output.Product),
16402
17203
  };
16403
17204
  };
16404
17205
  const deserializeAws_restJson1SoftwarePackage = (output, context) => {
16405
17206
  return {
16406
17207
  Architecture: smithy_client_1.expectString(output.Architecture),
16407
17208
  Epoch: smithy_client_1.expectString(output.Epoch),
17209
+ FilePath: smithy_client_1.expectString(output.FilePath),
16408
17210
  Name: smithy_client_1.expectString(output.Name),
17211
+ PackageManager: smithy_client_1.expectString(output.PackageManager),
16409
17212
  Release: smithy_client_1.expectString(output.Release),
16410
17213
  Version: smithy_client_1.expectString(output.Version),
16411
17214
  };
@@ -16443,7 +17246,7 @@ const deserializeAws_restJson1StandardsControl = (output, context) => {
16443
17246
  ControlId: smithy_client_1.expectString(output.ControlId),
16444
17247
  ControlStatus: smithy_client_1.expectString(output.ControlStatus),
16445
17248
  ControlStatusUpdatedAt: output.ControlStatusUpdatedAt !== undefined && output.ControlStatusUpdatedAt !== null
16446
- ? new Date(output.ControlStatusUpdatedAt)
17249
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ControlStatusUpdatedAt))
16447
17250
  : undefined,
16448
17251
  Description: smithy_client_1.expectString(output.Description),
16449
17252
  DisabledReason: smithy_client_1.expectString(output.DisabledReason),