@aws-sdk/client-securityhub 3.231.0 → 3.234.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.
Files changed (97) hide show
  1. package/dist-cjs/commands/DescribeStandardsCommand.js +3 -3
  2. package/dist-cjs/commands/DescribeStandardsControlsCommand.js +3 -3
  3. package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +3 -3
  4. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +3 -3
  5. package/dist-cjs/commands/DisableSecurityHubCommand.js +3 -3
  6. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +3 -3
  7. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +3 -3
  8. package/dist-cjs/commands/DisassociateMembersCommand.js +3 -3
  9. package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +3 -3
  10. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +3 -3
  11. package/dist-cjs/commands/EnableSecurityHubCommand.js +3 -3
  12. package/dist-cjs/commands/GetAdministratorAccountCommand.js +3 -3
  13. package/dist-cjs/commands/GetEnabledStandardsCommand.js +3 -3
  14. package/dist-cjs/commands/GetFindingAggregatorCommand.js +3 -3
  15. package/dist-cjs/commands/GetFindingsCommand.js +3 -3
  16. package/dist-cjs/commands/GetInsightResultsCommand.js +3 -3
  17. package/dist-cjs/commands/GetInsightsCommand.js +3 -3
  18. package/dist-cjs/commands/GetInvitationsCountCommand.js +3 -3
  19. package/dist-cjs/commands/GetMasterAccountCommand.js +3 -3
  20. package/dist-cjs/commands/GetMembersCommand.js +3 -3
  21. package/dist-cjs/endpoint/ruleset.js +0 -9
  22. package/dist-cjs/models/models_0.js +144 -144
  23. package/dist-cjs/models/models_1.js +213 -217
  24. package/dist-cjs/models/models_2.js +214 -1
  25. package/dist-cjs/protocols/Aws_restJson1.js +1465 -139
  26. package/dist-es/commands/DescribeStandardsCommand.js +1 -1
  27. package/dist-es/commands/DescribeStandardsControlsCommand.js +1 -1
  28. package/dist-es/commands/DisableImportFindingsForProductCommand.js +1 -1
  29. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +1 -1
  30. package/dist-es/commands/DisableSecurityHubCommand.js +1 -1
  31. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +1 -1
  32. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +1 -1
  33. package/dist-es/commands/DisassociateMembersCommand.js +1 -1
  34. package/dist-es/commands/EnableImportFindingsForProductCommand.js +1 -1
  35. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +1 -1
  36. package/dist-es/commands/EnableSecurityHubCommand.js +1 -1
  37. package/dist-es/commands/GetAdministratorAccountCommand.js +1 -1
  38. package/dist-es/commands/GetEnabledStandardsCommand.js +1 -1
  39. package/dist-es/commands/GetFindingAggregatorCommand.js +1 -1
  40. package/dist-es/commands/GetFindingsCommand.js +1 -1
  41. package/dist-es/commands/GetInsightResultsCommand.js +1 -1
  42. package/dist-es/commands/GetInsightsCommand.js +1 -1
  43. package/dist-es/commands/GetInvitationsCountCommand.js +1 -1
  44. package/dist-es/commands/GetMasterAccountCommand.js +1 -1
  45. package/dist-es/commands/GetMembersCommand.js +1 -1
  46. package/dist-es/endpoint/ruleset.js +0 -9
  47. package/dist-es/models/models_0.js +105 -105
  48. package/dist-es/models/models_1.js +156 -162
  49. package/dist-es/models/models_2.js +162 -0
  50. package/dist-es/protocols/Aws_restJson1.js +1465 -139
  51. package/dist-types/commands/DescribeStandardsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +1 -1
  53. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +1 -1
  54. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -1
  55. package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -1
  57. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -1
  58. package/dist-types/commands/DisassociateMembersCommand.d.ts +1 -1
  59. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +1 -1
  60. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
  61. package/dist-types/commands/EnableSecurityHubCommand.d.ts +1 -1
  62. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
  63. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +1 -1
  64. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +1 -1
  65. package/dist-types/commands/GetFindingsCommand.d.ts +1 -1
  66. package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
  67. package/dist-types/commands/GetInsightsCommand.d.ts +1 -1
  68. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
  69. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
  70. package/dist-types/commands/GetMembersCommand.d.ts +1 -1
  71. package/dist-types/models/models_0.d.ts +3542 -3212
  72. package/dist-types/models/models_1.d.ts +6120 -5310
  73. package/dist-types/models/models_2.d.ts +788 -1
  74. package/dist-types/ts3.4/commands/DescribeStandardsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DescribeStandardsControlsCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DisableImportFindingsForProductCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DisableSecurityHubCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/EnableImportFindingsForProductCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/EnableSecurityHubCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetEnabledStandardsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetFindingAggregatorCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/models/models_0.d.ts +323 -319
  95. package/dist-types/ts3.4/models/models_1.d.ts +475 -336
  96. package/dist-types/ts3.4/models/models_2.d.ts +326 -3
  97. package/package.json +7 -7
@@ -5200,6 +5200,461 @@ const serializeAws_restJson1AwsEc2InstanceNetworkInterfacesList = (input, contex
5200
5200
  return serializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails(entry, context);
5201
5201
  });
5202
5202
  };
5203
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails = (input, context) => {
5204
+ return {
5205
+ ...(input.DeviceName != null && { DeviceName: input.DeviceName }),
5206
+ ...(input.Ebs != null && {
5207
+ Ebs: serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails(input.Ebs, context),
5208
+ }),
5209
+ ...(input.NoDevice != null && { NoDevice: input.NoDevice }),
5210
+ ...(input.VirtualName != null && { VirtualName: input.VirtualName }),
5211
+ };
5212
+ };
5213
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails = (input, context) => {
5214
+ return {
5215
+ ...(input.DeleteOnTermination != null && { DeleteOnTermination: input.DeleteOnTermination }),
5216
+ ...(input.Encrypted != null && { Encrypted: input.Encrypted }),
5217
+ ...(input.Iops != null && { Iops: input.Iops }),
5218
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
5219
+ ...(input.SnapshotId != null && { SnapshotId: input.SnapshotId }),
5220
+ ...(input.Throughput != null && { Throughput: input.Throughput }),
5221
+ ...(input.VolumeSize != null && { VolumeSize: input.VolumeSize }),
5222
+ ...(input.VolumeType != null && { VolumeType: input.VolumeType }),
5223
+ };
5224
+ };
5225
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetList = (input, context) => {
5226
+ return input
5227
+ .filter((e) => e != null)
5228
+ .map((entry) => {
5229
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails(entry, context);
5230
+ });
5231
+ };
5232
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails = (input, context) => {
5233
+ return {
5234
+ ...(input.CapacityReservationId != null && { CapacityReservationId: input.CapacityReservationId }),
5235
+ ...(input.CapacityReservationResourceGroupArn != null && {
5236
+ CapacityReservationResourceGroupArn: input.CapacityReservationResourceGroupArn,
5237
+ }),
5238
+ };
5239
+ };
5240
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails = (input, context) => {
5241
+ return {
5242
+ ...(input.CapacityReservationPreference != null && {
5243
+ CapacityReservationPreference: input.CapacityReservationPreference,
5244
+ }),
5245
+ ...(input.CapacityReservationTarget != null && {
5246
+ CapacityReservationTarget: serializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails(input.CapacityReservationTarget, context),
5247
+ }),
5248
+ };
5249
+ };
5250
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataCpuOptionsDetails = (input, context) => {
5251
+ return {
5252
+ ...(input.CoreCount != null && { CoreCount: input.CoreCount }),
5253
+ ...(input.ThreadsPerCore != null && { ThreadsPerCore: input.ThreadsPerCore }),
5254
+ };
5255
+ };
5256
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataCreditSpecificationDetails = (input, context) => {
5257
+ return {
5258
+ ...(input.CpuCredits != null && { CpuCredits: input.CpuCredits }),
5259
+ };
5260
+ };
5261
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataDetails = (input, context) => {
5262
+ return {
5263
+ ...(input.BlockDeviceMappingSet != null && {
5264
+ BlockDeviceMappingSet: serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetList(input.BlockDeviceMappingSet, context),
5265
+ }),
5266
+ ...(input.CapacityReservationSpecification != null && {
5267
+ CapacityReservationSpecification: serializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails(input.CapacityReservationSpecification, context),
5268
+ }),
5269
+ ...(input.CpuOptions != null && {
5270
+ CpuOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataCpuOptionsDetails(input.CpuOptions, context),
5271
+ }),
5272
+ ...(input.CreditSpecification != null && {
5273
+ CreditSpecification: serializeAws_restJson1AwsEc2LaunchTemplateDataCreditSpecificationDetails(input.CreditSpecification, context),
5274
+ }),
5275
+ ...(input.DisableApiStop != null && { DisableApiStop: input.DisableApiStop }),
5276
+ ...(input.DisableApiTermination != null && { DisableApiTermination: input.DisableApiTermination }),
5277
+ ...(input.EbsOptimized != null && { EbsOptimized: input.EbsOptimized }),
5278
+ ...(input.ElasticGpuSpecificationSet != null && {
5279
+ ElasticGpuSpecificationSet: serializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList(input.ElasticGpuSpecificationSet, context),
5280
+ }),
5281
+ ...(input.ElasticInferenceAcceleratorSet != null && {
5282
+ ElasticInferenceAcceleratorSet: serializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList(input.ElasticInferenceAcceleratorSet, context),
5283
+ }),
5284
+ ...(input.EnclaveOptions != null && {
5285
+ EnclaveOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataEnclaveOptionsDetails(input.EnclaveOptions, context),
5286
+ }),
5287
+ ...(input.HibernationOptions != null && {
5288
+ HibernationOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataHibernationOptionsDetails(input.HibernationOptions, context),
5289
+ }),
5290
+ ...(input.IamInstanceProfile != null && {
5291
+ IamInstanceProfile: serializeAws_restJson1AwsEc2LaunchTemplateDataIamInstanceProfileDetails(input.IamInstanceProfile, context),
5292
+ }),
5293
+ ...(input.ImageId != null && { ImageId: input.ImageId }),
5294
+ ...(input.InstanceInitiatedShutdownBehavior != null && {
5295
+ InstanceInitiatedShutdownBehavior: input.InstanceInitiatedShutdownBehavior,
5296
+ }),
5297
+ ...(input.InstanceMarketOptions != null && {
5298
+ InstanceMarketOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails(input.InstanceMarketOptions, context),
5299
+ }),
5300
+ ...(input.InstanceRequirements != null && {
5301
+ InstanceRequirements: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsDetails(input.InstanceRequirements, context),
5302
+ }),
5303
+ ...(input.InstanceType != null && { InstanceType: input.InstanceType }),
5304
+ ...(input.KernelId != null && { KernelId: input.KernelId }),
5305
+ ...(input.KeyName != null && { KeyName: input.KeyName }),
5306
+ ...(input.LicenseSet != null && {
5307
+ LicenseSet: serializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetList(input.LicenseSet, context),
5308
+ }),
5309
+ ...(input.MaintenanceOptions != null && {
5310
+ MaintenanceOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataMaintenanceOptionsDetails(input.MaintenanceOptions, context),
5311
+ }),
5312
+ ...(input.MetadataOptions != null && {
5313
+ MetadataOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataMetadataOptionsDetails(input.MetadataOptions, context),
5314
+ }),
5315
+ ...(input.Monitoring != null && {
5316
+ Monitoring: serializeAws_restJson1AwsEc2LaunchTemplateDataMonitoringDetails(input.Monitoring, context),
5317
+ }),
5318
+ ...(input.NetworkInterfaceSet != null && {
5319
+ NetworkInterfaceSet: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetList(input.NetworkInterfaceSet, context),
5320
+ }),
5321
+ ...(input.Placement != null && {
5322
+ Placement: serializeAws_restJson1AwsEc2LaunchTemplateDataPlacementDetails(input.Placement, context),
5323
+ }),
5324
+ ...(input.PrivateDnsNameOptions != null && {
5325
+ PrivateDnsNameOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails(input.PrivateDnsNameOptions, context),
5326
+ }),
5327
+ ...(input.RamDiskId != null && { RamDiskId: input.RamDiskId }),
5328
+ ...(input.SecurityGroupIdSet != null && {
5329
+ SecurityGroupIdSet: serializeAws_restJson1NonEmptyStringList(input.SecurityGroupIdSet, context),
5330
+ }),
5331
+ ...(input.SecurityGroupSet != null && {
5332
+ SecurityGroupSet: serializeAws_restJson1NonEmptyStringList(input.SecurityGroupSet, context),
5333
+ }),
5334
+ ...(input.UserData != null && { UserData: input.UserData }),
5335
+ };
5336
+ };
5337
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails = (input, context) => {
5338
+ return {
5339
+ ...(input.Type != null && { Type: input.Type }),
5340
+ };
5341
+ };
5342
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList = (input, context) => {
5343
+ return input
5344
+ .filter((e) => e != null)
5345
+ .map((entry) => {
5346
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails(entry, context);
5347
+ });
5348
+ };
5349
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails = (input, context) => {
5350
+ return {
5351
+ ...(input.Count != null && { Count: input.Count }),
5352
+ ...(input.Type != null && { Type: input.Type }),
5353
+ };
5354
+ };
5355
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList = (input, context) => {
5356
+ return input
5357
+ .filter((e) => e != null)
5358
+ .map((entry) => {
5359
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails(entry, context);
5360
+ });
5361
+ };
5362
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataEnclaveOptionsDetails = (input, context) => {
5363
+ return {
5364
+ ...(input.Enabled != null && { Enabled: input.Enabled }),
5365
+ };
5366
+ };
5367
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataHibernationOptionsDetails = (input, context) => {
5368
+ return {
5369
+ ...(input.Configured != null && { Configured: input.Configured }),
5370
+ };
5371
+ };
5372
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataIamInstanceProfileDetails = (input, context) => {
5373
+ return {
5374
+ ...(input.Arn != null && { Arn: input.Arn }),
5375
+ ...(input.Name != null && { Name: input.Name }),
5376
+ };
5377
+ };
5378
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails = (input, context) => {
5379
+ return {
5380
+ ...(input.MarketType != null && { MarketType: input.MarketType }),
5381
+ ...(input.SpotOptions != null && {
5382
+ SpotOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails(input.SpotOptions, context),
5383
+ }),
5384
+ };
5385
+ };
5386
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails = (input, context) => {
5387
+ return {
5388
+ ...(input.BlockDurationMinutes != null && { BlockDurationMinutes: input.BlockDurationMinutes }),
5389
+ ...(input.InstanceInterruptionBehavior != null && {
5390
+ InstanceInterruptionBehavior: input.InstanceInterruptionBehavior,
5391
+ }),
5392
+ ...(input.MaxPrice != null && { MaxPrice: input.MaxPrice }),
5393
+ ...(input.SpotInstanceType != null && { SpotInstanceType: input.SpotInstanceType }),
5394
+ ...(input.ValidUntil != null && { ValidUntil: input.ValidUntil }),
5395
+ };
5396
+ };
5397
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails = (input, context) => {
5398
+ return {
5399
+ ...(input.Max != null && { Max: input.Max }),
5400
+ ...(input.Min != null && { Min: input.Min }),
5401
+ };
5402
+ };
5403
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails = (input, context) => {
5404
+ return {
5405
+ ...(input.Max != null && { Max: input.Max }),
5406
+ ...(input.Min != null && { Min: input.Min }),
5407
+ };
5408
+ };
5409
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails = (input, context) => {
5410
+ return {
5411
+ ...(input.Max != null && { Max: input.Max }),
5412
+ ...(input.Min != null && { Min: input.Min }),
5413
+ };
5414
+ };
5415
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsDetails = (input, context) => {
5416
+ return {
5417
+ ...(input.AcceleratorCount != null && {
5418
+ AcceleratorCount: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails(input.AcceleratorCount, context),
5419
+ }),
5420
+ ...(input.AcceleratorManufacturers != null && {
5421
+ AcceleratorManufacturers: serializeAws_restJson1NonEmptyStringList(input.AcceleratorManufacturers, context),
5422
+ }),
5423
+ ...(input.AcceleratorNames != null && {
5424
+ AcceleratorNames: serializeAws_restJson1NonEmptyStringList(input.AcceleratorNames, context),
5425
+ }),
5426
+ ...(input.AcceleratorTotalMemoryMiB != null && {
5427
+ AcceleratorTotalMemoryMiB: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails(input.AcceleratorTotalMemoryMiB, context),
5428
+ }),
5429
+ ...(input.AcceleratorTypes != null && {
5430
+ AcceleratorTypes: serializeAws_restJson1NonEmptyStringList(input.AcceleratorTypes, context),
5431
+ }),
5432
+ ...(input.BareMetal != null && { BareMetal: input.BareMetal }),
5433
+ ...(input.BaselineEbsBandwidthMbps != null && {
5434
+ BaselineEbsBandwidthMbps: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails(input.BaselineEbsBandwidthMbps, context),
5435
+ }),
5436
+ ...(input.BurstablePerformance != null && { BurstablePerformance: input.BurstablePerformance }),
5437
+ ...(input.CpuManufacturers != null && {
5438
+ CpuManufacturers: serializeAws_restJson1NonEmptyStringList(input.CpuManufacturers, context),
5439
+ }),
5440
+ ...(input.ExcludedInstanceTypes != null && {
5441
+ ExcludedInstanceTypes: serializeAws_restJson1NonEmptyStringList(input.ExcludedInstanceTypes, context),
5442
+ }),
5443
+ ...(input.InstanceGenerations != null && {
5444
+ InstanceGenerations: serializeAws_restJson1NonEmptyStringList(input.InstanceGenerations, context),
5445
+ }),
5446
+ ...(input.LocalStorage != null && { LocalStorage: input.LocalStorage }),
5447
+ ...(input.LocalStorageTypes != null && {
5448
+ LocalStorageTypes: serializeAws_restJson1NonEmptyStringList(input.LocalStorageTypes, context),
5449
+ }),
5450
+ ...(input.MemoryGiBPerVCpu != null && {
5451
+ MemoryGiBPerVCpu: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails(input.MemoryGiBPerVCpu, context),
5452
+ }),
5453
+ ...(input.MemoryMiB != null && {
5454
+ MemoryMiB: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails(input.MemoryMiB, context),
5455
+ }),
5456
+ ...(input.NetworkInterfaceCount != null && {
5457
+ NetworkInterfaceCount: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails(input.NetworkInterfaceCount, context),
5458
+ }),
5459
+ ...(input.OnDemandMaxPricePercentageOverLowestPrice != null && {
5460
+ OnDemandMaxPricePercentageOverLowestPrice: input.OnDemandMaxPricePercentageOverLowestPrice,
5461
+ }),
5462
+ ...(input.RequireHibernateSupport != null && { RequireHibernateSupport: input.RequireHibernateSupport }),
5463
+ ...(input.SpotMaxPricePercentageOverLowestPrice != null && {
5464
+ SpotMaxPricePercentageOverLowestPrice: input.SpotMaxPricePercentageOverLowestPrice,
5465
+ }),
5466
+ ...(input.TotalLocalStorageGB != null && {
5467
+ TotalLocalStorageGB: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(input.TotalLocalStorageGB, context),
5468
+ }),
5469
+ ...(input.VCpuCount != null && {
5470
+ VCpuCount: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails(input.VCpuCount, context),
5471
+ }),
5472
+ };
5473
+ };
5474
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails = (input, context) => {
5475
+ return {
5476
+ ...(input.Max != null && { Max: (0, smithy_client_1.serializeFloat)(input.Max) }),
5477
+ ...(input.Min != null && { Min: (0, smithy_client_1.serializeFloat)(input.Min) }),
5478
+ };
5479
+ };
5480
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails = (input, context) => {
5481
+ return {
5482
+ ...(input.Max != null && { Max: input.Max }),
5483
+ ...(input.Min != null && { Min: input.Min }),
5484
+ };
5485
+ };
5486
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails = (input, context) => {
5487
+ return {
5488
+ ...(input.Max != null && { Max: input.Max }),
5489
+ ...(input.Min != null && { Min: input.Min }),
5490
+ };
5491
+ };
5492
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails = (input, context) => {
5493
+ return {
5494
+ ...(input.Max != null && { Max: (0, smithy_client_1.serializeFloat)(input.Max) }),
5495
+ ...(input.Min != null && { Min: (0, smithy_client_1.serializeFloat)(input.Min) }),
5496
+ };
5497
+ };
5498
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails = (input, context) => {
5499
+ return {
5500
+ ...(input.Max != null && { Max: input.Max }),
5501
+ ...(input.Min != null && { Min: input.Min }),
5502
+ };
5503
+ };
5504
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetDetails = (input, context) => {
5505
+ return {
5506
+ ...(input.LicenseConfigurationArn != null && { LicenseConfigurationArn: input.LicenseConfigurationArn }),
5507
+ };
5508
+ };
5509
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetList = (input, context) => {
5510
+ return input
5511
+ .filter((e) => e != null)
5512
+ .map((entry) => {
5513
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetDetails(entry, context);
5514
+ });
5515
+ };
5516
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataMaintenanceOptionsDetails = (input, context) => {
5517
+ return {
5518
+ ...(input.AutoRecovery != null && { AutoRecovery: input.AutoRecovery }),
5519
+ };
5520
+ };
5521
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataMetadataOptionsDetails = (input, context) => {
5522
+ return {
5523
+ ...(input.HttpEndpoint != null && { HttpEndpoint: input.HttpEndpoint }),
5524
+ ...(input.HttpProtocolIpv6 != null && { HttpProtocolIpv6: input.HttpProtocolIpv6 }),
5525
+ ...(input.HttpPutResponseHopLimit != null && { HttpPutResponseHopLimit: input.HttpPutResponseHopLimit }),
5526
+ ...(input.HttpTokens != null && { HttpTokens: input.HttpTokens }),
5527
+ ...(input.InstanceMetadataTags != null && { InstanceMetadataTags: input.InstanceMetadataTags }),
5528
+ };
5529
+ };
5530
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataMonitoringDetails = (input, context) => {
5531
+ return {
5532
+ ...(input.Enabled != null && { Enabled: input.Enabled }),
5533
+ };
5534
+ };
5535
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails = (input, context) => {
5536
+ return {
5537
+ ...(input.AssociateCarrierIpAddress != null && { AssociateCarrierIpAddress: input.AssociateCarrierIpAddress }),
5538
+ ...(input.AssociatePublicIpAddress != null && { AssociatePublicIpAddress: input.AssociatePublicIpAddress }),
5539
+ ...(input.DeleteOnTermination != null && { DeleteOnTermination: input.DeleteOnTermination }),
5540
+ ...(input.Description != null && { Description: input.Description }),
5541
+ ...(input.DeviceIndex != null && { DeviceIndex: input.DeviceIndex }),
5542
+ ...(input.Groups != null && { Groups: serializeAws_restJson1NonEmptyStringList(input.Groups, context) }),
5543
+ ...(input.InterfaceType != null && { InterfaceType: input.InterfaceType }),
5544
+ ...(input.Ipv4PrefixCount != null && { Ipv4PrefixCount: input.Ipv4PrefixCount }),
5545
+ ...(input.Ipv4Prefixes != null && {
5546
+ Ipv4Prefixes: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList(input.Ipv4Prefixes, context),
5547
+ }),
5548
+ ...(input.Ipv6AddressCount != null && { Ipv6AddressCount: input.Ipv6AddressCount }),
5549
+ ...(input.Ipv6Addresses != null && {
5550
+ Ipv6Addresses: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList(input.Ipv6Addresses, context),
5551
+ }),
5552
+ ...(input.Ipv6PrefixCount != null && { Ipv6PrefixCount: input.Ipv6PrefixCount }),
5553
+ ...(input.Ipv6Prefixes != null && {
5554
+ Ipv6Prefixes: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList(input.Ipv6Prefixes, context),
5555
+ }),
5556
+ ...(input.NetworkCardIndex != null && { NetworkCardIndex: input.NetworkCardIndex }),
5557
+ ...(input.NetworkInterfaceId != null && { NetworkInterfaceId: input.NetworkInterfaceId }),
5558
+ ...(input.PrivateIpAddress != null && { PrivateIpAddress: input.PrivateIpAddress }),
5559
+ ...(input.PrivateIpAddresses != null && {
5560
+ PrivateIpAddresses: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList(input.PrivateIpAddresses, context),
5561
+ }),
5562
+ ...(input.SecondaryPrivateIpAddressCount != null && {
5563
+ SecondaryPrivateIpAddressCount: input.SecondaryPrivateIpAddressCount,
5564
+ }),
5565
+ ...(input.SubnetId != null && { SubnetId: input.SubnetId }),
5566
+ };
5567
+ };
5568
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails = (input, context) => {
5569
+ return {
5570
+ ...(input.Ipv4Prefix != null && { Ipv4Prefix: input.Ipv4Prefix }),
5571
+ };
5572
+ };
5573
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList = (input, context) => {
5574
+ return input
5575
+ .filter((e) => e != null)
5576
+ .map((entry) => {
5577
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails(entry, context);
5578
+ });
5579
+ };
5580
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails = (input, context) => {
5581
+ return {
5582
+ ...(input.Ipv6Address != null && { Ipv6Address: input.Ipv6Address }),
5583
+ };
5584
+ };
5585
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList = (input, context) => {
5586
+ return input
5587
+ .filter((e) => e != null)
5588
+ .map((entry) => {
5589
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails(entry, context);
5590
+ });
5591
+ };
5592
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails = (input, context) => {
5593
+ return {
5594
+ ...(input.Ipv6Prefix != null && { Ipv6Prefix: input.Ipv6Prefix }),
5595
+ };
5596
+ };
5597
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList = (input, context) => {
5598
+ return input
5599
+ .filter((e) => e != null)
5600
+ .map((entry) => {
5601
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails(entry, context);
5602
+ });
5603
+ };
5604
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetList = (input, context) => {
5605
+ return input
5606
+ .filter((e) => e != null)
5607
+ .map((entry) => {
5608
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails(entry, context);
5609
+ });
5610
+ };
5611
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails = (input, context) => {
5612
+ return {
5613
+ ...(input.Primary != null && { Primary: input.Primary }),
5614
+ ...(input.PrivateIpAddress != null && { PrivateIpAddress: input.PrivateIpAddress }),
5615
+ };
5616
+ };
5617
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList = (input, context) => {
5618
+ return input
5619
+ .filter((e) => e != null)
5620
+ .map((entry) => {
5621
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails(entry, context);
5622
+ });
5623
+ };
5624
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataPlacementDetails = (input, context) => {
5625
+ return {
5626
+ ...(input.Affinity != null && { Affinity: input.Affinity }),
5627
+ ...(input.AvailabilityZone != null && { AvailabilityZone: input.AvailabilityZone }),
5628
+ ...(input.GroupName != null && { GroupName: input.GroupName }),
5629
+ ...(input.HostId != null && { HostId: input.HostId }),
5630
+ ...(input.HostResourceGroupArn != null && { HostResourceGroupArn: input.HostResourceGroupArn }),
5631
+ ...(input.PartitionNumber != null && { PartitionNumber: input.PartitionNumber }),
5632
+ ...(input.SpreadDomain != null && { SpreadDomain: input.SpreadDomain }),
5633
+ ...(input.Tenancy != null && { Tenancy: input.Tenancy }),
5634
+ };
5635
+ };
5636
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails = (input, context) => {
5637
+ return {
5638
+ ...(input.EnableResourceNameDnsAAAARecord != null && {
5639
+ EnableResourceNameDnsAAAARecord: input.EnableResourceNameDnsAAAARecord,
5640
+ }),
5641
+ ...(input.EnableResourceNameDnsARecord != null && {
5642
+ EnableResourceNameDnsARecord: input.EnableResourceNameDnsARecord,
5643
+ }),
5644
+ ...(input.HostnameType != null && { HostnameType: input.HostnameType }),
5645
+ };
5646
+ };
5647
+ const serializeAws_restJson1AwsEc2LaunchTemplateDetails = (input, context) => {
5648
+ return {
5649
+ ...(input.DefaultVersionNumber != null && { DefaultVersionNumber: input.DefaultVersionNumber }),
5650
+ ...(input.Id != null && { Id: input.Id }),
5651
+ ...(input.LatestVersionNumber != null && { LatestVersionNumber: input.LatestVersionNumber }),
5652
+ ...(input.LaunchTemplateData != null && {
5653
+ LaunchTemplateData: serializeAws_restJson1AwsEc2LaunchTemplateDataDetails(input.LaunchTemplateData, context),
5654
+ }),
5655
+ ...(input.LaunchTemplateName != null && { LaunchTemplateName: input.LaunchTemplateName }),
5656
+ };
5657
+ };
5203
5658
  const serializeAws_restJson1AwsEc2NetworkAclAssociation = (input, context) => {
5204
5659
  return {
5205
5660
  ...(input.NetworkAclAssociationId != null && { NetworkAclAssociationId: input.NetworkAclAssociationId }),
@@ -8561,19 +9016,60 @@ const serializeAws_restJson1AwsS3ObjectDetails = (input, context) => {
8561
9016
  ...(input.VersionId != null && { VersionId: input.VersionId }),
8562
9017
  };
8563
9018
  };
8564
- const serializeAws_restJson1AwsSecretsManagerSecretDetails = (input, context) => {
9019
+ const serializeAws_restJson1AwsSageMakerNotebookInstanceDetails = (input, context) => {
8565
9020
  return {
8566
- ...(input.Deleted != null && { Deleted: input.Deleted }),
8567
- ...(input.Description != null && { Description: input.Description }),
8568
- ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
8569
- ...(input.Name != null && { Name: input.Name }),
8570
- ...(input.RotationEnabled != null && { RotationEnabled: input.RotationEnabled }),
8571
- ...(input.RotationLambdaArn != null && { RotationLambdaArn: input.RotationLambdaArn }),
8572
- ...(input.RotationOccurredWithinFrequency != null && {
8573
- RotationOccurredWithinFrequency: input.RotationOccurredWithinFrequency,
9021
+ ...(input.AcceleratorTypes != null && {
9022
+ AcceleratorTypes: serializeAws_restJson1NonEmptyStringList(input.AcceleratorTypes, context),
8574
9023
  }),
8575
- ...(input.RotationRules != null && {
8576
- RotationRules: serializeAws_restJson1AwsSecretsManagerSecretRotationRules(input.RotationRules, context),
9024
+ ...(input.AdditionalCodeRepositories != null && {
9025
+ AdditionalCodeRepositories: serializeAws_restJson1NonEmptyStringList(input.AdditionalCodeRepositories, context),
9026
+ }),
9027
+ ...(input.DefaultCodeRepository != null && { DefaultCodeRepository: input.DefaultCodeRepository }),
9028
+ ...(input.DirectInternetAccess != null && { DirectInternetAccess: input.DirectInternetAccess }),
9029
+ ...(input.FailureReason != null && { FailureReason: input.FailureReason }),
9030
+ ...(input.InstanceMetadataServiceConfiguration != null && {
9031
+ InstanceMetadataServiceConfiguration: serializeAws_restJson1AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails(input.InstanceMetadataServiceConfiguration, context),
9032
+ }),
9033
+ ...(input.InstanceType != null && { InstanceType: input.InstanceType }),
9034
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
9035
+ ...(input.NetworkInterfaceId != null && { NetworkInterfaceId: input.NetworkInterfaceId }),
9036
+ ...(input.NotebookInstanceArn != null && { NotebookInstanceArn: input.NotebookInstanceArn }),
9037
+ ...(input.NotebookInstanceLifecycleConfigName != null && {
9038
+ NotebookInstanceLifecycleConfigName: input.NotebookInstanceLifecycleConfigName,
9039
+ }),
9040
+ ...(input.NotebookInstanceName != null && { NotebookInstanceName: input.NotebookInstanceName }),
9041
+ ...(input.NotebookInstanceStatus != null && { NotebookInstanceStatus: input.NotebookInstanceStatus }),
9042
+ ...(input.PlatformIdentifier != null && { PlatformIdentifier: input.PlatformIdentifier }),
9043
+ ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
9044
+ ...(input.RootAccess != null && { RootAccess: input.RootAccess }),
9045
+ ...(input.SecurityGroups != null && {
9046
+ SecurityGroups: serializeAws_restJson1NonEmptyStringList(input.SecurityGroups, context),
9047
+ }),
9048
+ ...(input.SubnetId != null && { SubnetId: input.SubnetId }),
9049
+ ...(input.Url != null && { Url: input.Url }),
9050
+ ...(input.VolumeSizeInGB != null && { VolumeSizeInGB: input.VolumeSizeInGB }),
9051
+ };
9052
+ };
9053
+ const serializeAws_restJson1AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails = (input, context) => {
9054
+ return {
9055
+ ...(input.MinimumInstanceMetadataServiceVersion != null && {
9056
+ MinimumInstanceMetadataServiceVersion: input.MinimumInstanceMetadataServiceVersion,
9057
+ }),
9058
+ };
9059
+ };
9060
+ const serializeAws_restJson1AwsSecretsManagerSecretDetails = (input, context) => {
9061
+ return {
9062
+ ...(input.Deleted != null && { Deleted: input.Deleted }),
9063
+ ...(input.Description != null && { Description: input.Description }),
9064
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
9065
+ ...(input.Name != null && { Name: input.Name }),
9066
+ ...(input.RotationEnabled != null && { RotationEnabled: input.RotationEnabled }),
9067
+ ...(input.RotationLambdaArn != null && { RotationLambdaArn: input.RotationLambdaArn }),
9068
+ ...(input.RotationOccurredWithinFrequency != null && {
9069
+ RotationOccurredWithinFrequency: input.RotationOccurredWithinFrequency,
9070
+ }),
9071
+ ...(input.RotationRules != null && {
9072
+ RotationRules: serializeAws_restJson1AwsSecretsManagerSecretRotationRules(input.RotationRules, context),
8577
9073
  }),
8578
9074
  };
8579
9075
  };
@@ -9202,6 +9698,150 @@ const serializeAws_restJson1AwsWafRulePredicateListDetails = (input, context) =>
9202
9698
  ...(input.Type != null && { Type: input.Type }),
9203
9699
  };
9204
9700
  };
9701
+ const serializeAws_restJson1AwsWafv2ActionAllowDetails = (input, context) => {
9702
+ return {
9703
+ ...(input.CustomRequestHandling != null && {
9704
+ CustomRequestHandling: serializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(input.CustomRequestHandling, context),
9705
+ }),
9706
+ };
9707
+ };
9708
+ const serializeAws_restJson1AwsWafv2ActionBlockDetails = (input, context) => {
9709
+ return {
9710
+ ...(input.CustomResponse != null && {
9711
+ CustomResponse: serializeAws_restJson1AwsWafv2CustomResponseDetails(input.CustomResponse, context),
9712
+ }),
9713
+ };
9714
+ };
9715
+ const serializeAws_restJson1AwsWafv2CustomHttpHeader = (input, context) => {
9716
+ return {
9717
+ ...(input.Name != null && { Name: input.Name }),
9718
+ ...(input.Value != null && { Value: input.Value }),
9719
+ };
9720
+ };
9721
+ const serializeAws_restJson1AwsWafv2CustomRequestHandlingDetails = (input, context) => {
9722
+ return {
9723
+ ...(input.InsertHeaders != null && {
9724
+ InsertHeaders: serializeAws_restJson1AwsWafv2InsertHeadersList(input.InsertHeaders, context),
9725
+ }),
9726
+ };
9727
+ };
9728
+ const serializeAws_restJson1AwsWafv2CustomResponseDetails = (input, context) => {
9729
+ return {
9730
+ ...(input.CustomResponseBodyKey != null && { CustomResponseBodyKey: input.CustomResponseBodyKey }),
9731
+ ...(input.ResponseCode != null && { ResponseCode: input.ResponseCode }),
9732
+ ...(input.ResponseHeaders != null && {
9733
+ ResponseHeaders: serializeAws_restJson1AwsWafv2InsertHeadersList(input.ResponseHeaders, context),
9734
+ }),
9735
+ };
9736
+ };
9737
+ const serializeAws_restJson1AwsWafv2InsertHeadersList = (input, context) => {
9738
+ return input
9739
+ .filter((e) => e != null)
9740
+ .map((entry) => {
9741
+ return serializeAws_restJson1AwsWafv2CustomHttpHeader(entry, context);
9742
+ });
9743
+ };
9744
+ const serializeAws_restJson1AwsWafv2RuleGroupDetails = (input, context) => {
9745
+ return {
9746
+ ...(input.Arn != null && { Arn: input.Arn }),
9747
+ ...(input.Capacity != null && { Capacity: input.Capacity }),
9748
+ ...(input.Description != null && { Description: input.Description }),
9749
+ ...(input.Id != null && { Id: input.Id }),
9750
+ ...(input.Name != null && { Name: input.Name }),
9751
+ ...(input.Rules != null && { Rules: serializeAws_restJson1AwsWafv2RulesList(input.Rules, context) }),
9752
+ ...(input.Scope != null && { Scope: input.Scope }),
9753
+ ...(input.VisibilityConfig != null && {
9754
+ VisibilityConfig: serializeAws_restJson1AwsWafv2VisibilityConfigDetails(input.VisibilityConfig, context),
9755
+ }),
9756
+ };
9757
+ };
9758
+ const serializeAws_restJson1AwsWafv2RulesActionCaptchaDetails = (input, context) => {
9759
+ return {
9760
+ ...(input.CustomRequestHandling != null && {
9761
+ CustomRequestHandling: serializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(input.CustomRequestHandling, context),
9762
+ }),
9763
+ };
9764
+ };
9765
+ const serializeAws_restJson1AwsWafv2RulesActionCountDetails = (input, context) => {
9766
+ return {
9767
+ ...(input.CustomRequestHandling != null && {
9768
+ CustomRequestHandling: serializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(input.CustomRequestHandling, context),
9769
+ }),
9770
+ };
9771
+ };
9772
+ const serializeAws_restJson1AwsWafv2RulesActionDetails = (input, context) => {
9773
+ return {
9774
+ ...(input.Allow != null && { Allow: serializeAws_restJson1AwsWafv2ActionAllowDetails(input.Allow, context) }),
9775
+ ...(input.Block != null && { Block: serializeAws_restJson1AwsWafv2ActionBlockDetails(input.Block, context) }),
9776
+ ...(input.Captcha != null && {
9777
+ Captcha: serializeAws_restJson1AwsWafv2RulesActionCaptchaDetails(input.Captcha, context),
9778
+ }),
9779
+ ...(input.Count != null && { Count: serializeAws_restJson1AwsWafv2RulesActionCountDetails(input.Count, context) }),
9780
+ };
9781
+ };
9782
+ const serializeAws_restJson1AwsWafv2RulesDetails = (input, context) => {
9783
+ return {
9784
+ ...(input.Action != null && { Action: serializeAws_restJson1AwsWafv2RulesActionDetails(input.Action, context) }),
9785
+ ...(input.Name != null && { Name: input.Name }),
9786
+ ...(input.OverrideAction != null && { OverrideAction: input.OverrideAction }),
9787
+ ...(input.Priority != null && { Priority: input.Priority }),
9788
+ ...(input.VisibilityConfig != null && {
9789
+ VisibilityConfig: serializeAws_restJson1AwsWafv2VisibilityConfigDetails(input.VisibilityConfig, context),
9790
+ }),
9791
+ };
9792
+ };
9793
+ const serializeAws_restJson1AwsWafv2RulesList = (input, context) => {
9794
+ return input
9795
+ .filter((e) => e != null)
9796
+ .map((entry) => {
9797
+ return serializeAws_restJson1AwsWafv2RulesDetails(entry, context);
9798
+ });
9799
+ };
9800
+ const serializeAws_restJson1AwsWafv2VisibilityConfigDetails = (input, context) => {
9801
+ return {
9802
+ ...(input.CloudWatchMetricsEnabled != null && { CloudWatchMetricsEnabled: input.CloudWatchMetricsEnabled }),
9803
+ ...(input.MetricName != null && { MetricName: input.MetricName }),
9804
+ ...(input.SampledRequestsEnabled != null && { SampledRequestsEnabled: input.SampledRequestsEnabled }),
9805
+ };
9806
+ };
9807
+ const serializeAws_restJson1AwsWafv2WebAclActionDetails = (input, context) => {
9808
+ return {
9809
+ ...(input.Allow != null && { Allow: serializeAws_restJson1AwsWafv2ActionAllowDetails(input.Allow, context) }),
9810
+ ...(input.Block != null && { Block: serializeAws_restJson1AwsWafv2ActionBlockDetails(input.Block, context) }),
9811
+ };
9812
+ };
9813
+ const serializeAws_restJson1AwsWafv2WebAclCaptchaConfigDetails = (input, context) => {
9814
+ return {
9815
+ ...(input.ImmunityTimeProperty != null && {
9816
+ ImmunityTimeProperty: serializeAws_restJson1AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails(input.ImmunityTimeProperty, context),
9817
+ }),
9818
+ };
9819
+ };
9820
+ const serializeAws_restJson1AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails = (input, context) => {
9821
+ return {
9822
+ ...(input.ImmunityTime != null && { ImmunityTime: input.ImmunityTime }),
9823
+ };
9824
+ };
9825
+ const serializeAws_restJson1AwsWafv2WebAclDetails = (input, context) => {
9826
+ return {
9827
+ ...(input.Arn != null && { Arn: input.Arn }),
9828
+ ...(input.Capacity != null && { Capacity: input.Capacity }),
9829
+ ...(input.CaptchaConfig != null && {
9830
+ CaptchaConfig: serializeAws_restJson1AwsWafv2WebAclCaptchaConfigDetails(input.CaptchaConfig, context),
9831
+ }),
9832
+ ...(input.DefaultAction != null && {
9833
+ DefaultAction: serializeAws_restJson1AwsWafv2WebAclActionDetails(input.DefaultAction, context),
9834
+ }),
9835
+ ...(input.Description != null && { Description: input.Description }),
9836
+ ...(input.Id != null && { Id: input.Id }),
9837
+ ...(input.ManagedbyFirewallManager != null && { ManagedbyFirewallManager: input.ManagedbyFirewallManager }),
9838
+ ...(input.Name != null && { Name: input.Name }),
9839
+ ...(input.Rules != null && { Rules: serializeAws_restJson1AwsWafv2RulesList(input.Rules, context) }),
9840
+ ...(input.VisibilityConfig != null && {
9841
+ VisibilityConfig: serializeAws_restJson1AwsWafv2VisibilityConfigDetails(input.VisibilityConfig, context),
9842
+ }),
9843
+ };
9844
+ };
9205
9845
  const serializeAws_restJson1AwsWafWebAclDetails = (input, context) => {
9206
9846
  return {
9207
9847
  ...(input.DefaultAction != null && { DefaultAction: input.DefaultAction }),
@@ -9934,6 +10574,9 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
9934
10574
  ...(input.AwsEc2Instance != null && {
9935
10575
  AwsEc2Instance: serializeAws_restJson1AwsEc2InstanceDetails(input.AwsEc2Instance, context),
9936
10576
  }),
10577
+ ...(input.AwsEc2LaunchTemplate != null && {
10578
+ AwsEc2LaunchTemplate: serializeAws_restJson1AwsEc2LaunchTemplateDetails(input.AwsEc2LaunchTemplate, context),
10579
+ }),
9937
10580
  ...(input.AwsEc2NetworkAcl != null && {
9938
10581
  AwsEc2NetworkAcl: serializeAws_restJson1AwsEc2NetworkAclDetails(input.AwsEc2NetworkAcl, context),
9939
10582
  }),
@@ -10062,6 +10705,9 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
10062
10705
  ...(input.AwsS3Object != null && {
10063
10706
  AwsS3Object: serializeAws_restJson1AwsS3ObjectDetails(input.AwsS3Object, context),
10064
10707
  }),
10708
+ ...(input.AwsSageMakerNotebookInstance != null && {
10709
+ AwsSageMakerNotebookInstance: serializeAws_restJson1AwsSageMakerNotebookInstanceDetails(input.AwsSageMakerNotebookInstance, context),
10710
+ }),
10065
10711
  ...(input.AwsSecretsManagerSecret != null && {
10066
10712
  AwsSecretsManagerSecret: serializeAws_restJson1AwsSecretsManagerSecretDetails(input.AwsSecretsManagerSecret, context),
10067
10713
  }),
@@ -10096,6 +10742,12 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
10096
10742
  ...(input.AwsWafWebAcl != null && {
10097
10743
  AwsWafWebAcl: serializeAws_restJson1AwsWafWebAclDetails(input.AwsWafWebAcl, context),
10098
10744
  }),
10745
+ ...(input.AwsWafv2RuleGroup != null && {
10746
+ AwsWafv2RuleGroup: serializeAws_restJson1AwsWafv2RuleGroupDetails(input.AwsWafv2RuleGroup, context),
10747
+ }),
10748
+ ...(input.AwsWafv2WebAcl != null && {
10749
+ AwsWafv2WebAcl: serializeAws_restJson1AwsWafv2WebAclDetails(input.AwsWafv2WebAcl, context),
10750
+ }),
10099
10751
  ...(input.AwsXrayEncryptionConfig != null && {
10100
10752
  AwsXrayEncryptionConfig: serializeAws_restJson1AwsXrayEncryptionConfigDetails(input.AwsXrayEncryptionConfig, context),
10101
10753
  }),
@@ -11963,193 +12615,666 @@ const deserializeAws_restJson1AwsDynamoDbTableGlobalSecondaryIndexList = (output
11963
12615
  });
11964
12616
  return retVal;
11965
12617
  };
11966
- const deserializeAws_restJson1AwsDynamoDbTableKeySchema = (output, context) => {
12618
+ const deserializeAws_restJson1AwsDynamoDbTableKeySchema = (output, context) => {
12619
+ return {
12620
+ AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
12621
+ KeyType: (0, smithy_client_1.expectString)(output.KeyType),
12622
+ };
12623
+ };
12624
+ const deserializeAws_restJson1AwsDynamoDbTableKeySchemaList = (output, context) => {
12625
+ const retVal = (output || [])
12626
+ .filter((e) => e != null)
12627
+ .map((entry) => {
12628
+ if (entry === null) {
12629
+ return null;
12630
+ }
12631
+ return deserializeAws_restJson1AwsDynamoDbTableKeySchema(entry, context);
12632
+ });
12633
+ return retVal;
12634
+ };
12635
+ const deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndex = (output, context) => {
12636
+ return {
12637
+ IndexArn: (0, smithy_client_1.expectString)(output.IndexArn),
12638
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
12639
+ KeySchema: output.KeySchema != null
12640
+ ? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
12641
+ : undefined,
12642
+ Projection: output.Projection != null
12643
+ ? deserializeAws_restJson1AwsDynamoDbTableProjection(output.Projection, context)
12644
+ : undefined,
12645
+ };
12646
+ };
12647
+ const deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndexList = (output, context) => {
12648
+ const retVal = (output || [])
12649
+ .filter((e) => e != null)
12650
+ .map((entry) => {
12651
+ if (entry === null) {
12652
+ return null;
12653
+ }
12654
+ return deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndex(entry, context);
12655
+ });
12656
+ return retVal;
12657
+ };
12658
+ const deserializeAws_restJson1AwsDynamoDbTableProjection = (output, context) => {
12659
+ return {
12660
+ NonKeyAttributes: output.NonKeyAttributes != null
12661
+ ? deserializeAws_restJson1StringList(output.NonKeyAttributes, context)
12662
+ : undefined,
12663
+ ProjectionType: (0, smithy_client_1.expectString)(output.ProjectionType),
12664
+ };
12665
+ };
12666
+ const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughput = (output, context) => {
12667
+ return {
12668
+ LastDecreaseDateTime: (0, smithy_client_1.expectString)(output.LastDecreaseDateTime),
12669
+ LastIncreaseDateTime: (0, smithy_client_1.expectString)(output.LastIncreaseDateTime),
12670
+ NumberOfDecreasesToday: (0, smithy_client_1.expectInt32)(output.NumberOfDecreasesToday),
12671
+ ReadCapacityUnits: (0, smithy_client_1.expectInt32)(output.ReadCapacityUnits),
12672
+ WriteCapacityUnits: (0, smithy_client_1.expectInt32)(output.WriteCapacityUnits),
12673
+ };
12674
+ };
12675
+ const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride = (output, context) => {
12676
+ return {
12677
+ ReadCapacityUnits: (0, smithy_client_1.expectInt32)(output.ReadCapacityUnits),
12678
+ };
12679
+ };
12680
+ const deserializeAws_restJson1AwsDynamoDbTableReplica = (output, context) => {
12681
+ return {
12682
+ GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
12683
+ ? deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndexList(output.GlobalSecondaryIndexes, context)
12684
+ : undefined,
12685
+ KmsMasterKeyId: (0, smithy_client_1.expectString)(output.KmsMasterKeyId),
12686
+ ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
12687
+ ? deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
12688
+ : undefined,
12689
+ RegionName: (0, smithy_client_1.expectString)(output.RegionName),
12690
+ ReplicaStatus: (0, smithy_client_1.expectString)(output.ReplicaStatus),
12691
+ ReplicaStatusDescription: (0, smithy_client_1.expectString)(output.ReplicaStatusDescription),
12692
+ };
12693
+ };
12694
+ const deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndex = (output, context) => {
12695
+ return {
12696
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
12697
+ ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
12698
+ ? deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
12699
+ : undefined,
12700
+ };
12701
+ };
12702
+ const deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndexList = (output, context) => {
12703
+ const retVal = (output || [])
12704
+ .filter((e) => e != null)
12705
+ .map((entry) => {
12706
+ if (entry === null) {
12707
+ return null;
12708
+ }
12709
+ return deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndex(entry, context);
12710
+ });
12711
+ return retVal;
12712
+ };
12713
+ const deserializeAws_restJson1AwsDynamoDbTableReplicaList = (output, context) => {
12714
+ const retVal = (output || [])
12715
+ .filter((e) => e != null)
12716
+ .map((entry) => {
12717
+ if (entry === null) {
12718
+ return null;
12719
+ }
12720
+ return deserializeAws_restJson1AwsDynamoDbTableReplica(entry, context);
12721
+ });
12722
+ return retVal;
12723
+ };
12724
+ const deserializeAws_restJson1AwsDynamoDbTableRestoreSummary = (output, context) => {
12725
+ return {
12726
+ RestoreDateTime: (0, smithy_client_1.expectString)(output.RestoreDateTime),
12727
+ RestoreInProgress: (0, smithy_client_1.expectBoolean)(output.RestoreInProgress),
12728
+ SourceBackupArn: (0, smithy_client_1.expectString)(output.SourceBackupArn),
12729
+ SourceTableArn: (0, smithy_client_1.expectString)(output.SourceTableArn),
12730
+ };
12731
+ };
12732
+ const deserializeAws_restJson1AwsDynamoDbTableSseDescription = (output, context) => {
12733
+ return {
12734
+ InaccessibleEncryptionDateTime: (0, smithy_client_1.expectString)(output.InaccessibleEncryptionDateTime),
12735
+ KmsMasterKeyArn: (0, smithy_client_1.expectString)(output.KmsMasterKeyArn),
12736
+ SseType: (0, smithy_client_1.expectString)(output.SseType),
12737
+ Status: (0, smithy_client_1.expectString)(output.Status),
12738
+ };
12739
+ };
12740
+ const deserializeAws_restJson1AwsDynamoDbTableStreamSpecification = (output, context) => {
12741
+ return {
12742
+ StreamEnabled: (0, smithy_client_1.expectBoolean)(output.StreamEnabled),
12743
+ StreamViewType: (0, smithy_client_1.expectString)(output.StreamViewType),
12744
+ };
12745
+ };
12746
+ const deserializeAws_restJson1AwsEc2EipDetails = (output, context) => {
12747
+ return {
12748
+ AllocationId: (0, smithy_client_1.expectString)(output.AllocationId),
12749
+ AssociationId: (0, smithy_client_1.expectString)(output.AssociationId),
12750
+ Domain: (0, smithy_client_1.expectString)(output.Domain),
12751
+ InstanceId: (0, smithy_client_1.expectString)(output.InstanceId),
12752
+ NetworkBorderGroup: (0, smithy_client_1.expectString)(output.NetworkBorderGroup),
12753
+ NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
12754
+ NetworkInterfaceOwnerId: (0, smithy_client_1.expectString)(output.NetworkInterfaceOwnerId),
12755
+ PrivateIpAddress: (0, smithy_client_1.expectString)(output.PrivateIpAddress),
12756
+ PublicIp: (0, smithy_client_1.expectString)(output.PublicIp),
12757
+ PublicIpv4Pool: (0, smithy_client_1.expectString)(output.PublicIpv4Pool),
12758
+ };
12759
+ };
12760
+ const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
12761
+ return {
12762
+ IamInstanceProfileArn: (0, smithy_client_1.expectString)(output.IamInstanceProfileArn),
12763
+ ImageId: (0, smithy_client_1.expectString)(output.ImageId),
12764
+ IpV4Addresses: output.IpV4Addresses != null ? deserializeAws_restJson1StringList(output.IpV4Addresses, context) : undefined,
12765
+ IpV6Addresses: output.IpV6Addresses != null ? deserializeAws_restJson1StringList(output.IpV6Addresses, context) : undefined,
12766
+ KeyName: (0, smithy_client_1.expectString)(output.KeyName),
12767
+ LaunchedAt: (0, smithy_client_1.expectString)(output.LaunchedAt),
12768
+ MetadataOptions: output.MetadataOptions != null
12769
+ ? deserializeAws_restJson1AwsEc2InstanceMetadataOptions(output.MetadataOptions, context)
12770
+ : undefined,
12771
+ NetworkInterfaces: output.NetworkInterfaces != null
12772
+ ? deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(output.NetworkInterfaces, context)
12773
+ : undefined,
12774
+ SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
12775
+ Type: (0, smithy_client_1.expectString)(output.Type),
12776
+ VirtualizationType: (0, smithy_client_1.expectString)(output.VirtualizationType),
12777
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
12778
+ };
12779
+ };
12780
+ const deserializeAws_restJson1AwsEc2InstanceMetadataOptions = (output, context) => {
12781
+ return {
12782
+ HttpEndpoint: (0, smithy_client_1.expectString)(output.HttpEndpoint),
12783
+ HttpProtocolIpv6: (0, smithy_client_1.expectString)(output.HttpProtocolIpv6),
12784
+ HttpPutResponseHopLimit: (0, smithy_client_1.expectInt32)(output.HttpPutResponseHopLimit),
12785
+ HttpTokens: (0, smithy_client_1.expectString)(output.HttpTokens),
12786
+ InstanceMetadataTags: (0, smithy_client_1.expectString)(output.InstanceMetadataTags),
12787
+ };
12788
+ };
12789
+ const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (output, context) => {
12790
+ return {
12791
+ NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
12792
+ };
12793
+ };
12794
+ const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList = (output, context) => {
12795
+ const retVal = (output || [])
12796
+ .filter((e) => e != null)
12797
+ .map((entry) => {
12798
+ if (entry === null) {
12799
+ return null;
12800
+ }
12801
+ return deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails(entry, context);
12802
+ });
12803
+ return retVal;
12804
+ };
12805
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails = (output, context) => {
12806
+ return {
12807
+ DeviceName: (0, smithy_client_1.expectString)(output.DeviceName),
12808
+ Ebs: output.Ebs != null
12809
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails(output.Ebs, context)
12810
+ : undefined,
12811
+ NoDevice: (0, smithy_client_1.expectString)(output.NoDevice),
12812
+ VirtualName: (0, smithy_client_1.expectString)(output.VirtualName),
12813
+ };
12814
+ };
12815
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails = (output, context) => {
12816
+ return {
12817
+ DeleteOnTermination: (0, smithy_client_1.expectBoolean)(output.DeleteOnTermination),
12818
+ Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
12819
+ Iops: (0, smithy_client_1.expectInt32)(output.Iops),
12820
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
12821
+ SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
12822
+ Throughput: (0, smithy_client_1.expectInt32)(output.Throughput),
12823
+ VolumeSize: (0, smithy_client_1.expectInt32)(output.VolumeSize),
12824
+ VolumeType: (0, smithy_client_1.expectString)(output.VolumeType),
12825
+ };
12826
+ };
12827
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetList = (output, context) => {
12828
+ const retVal = (output || [])
12829
+ .filter((e) => e != null)
12830
+ .map((entry) => {
12831
+ if (entry === null) {
12832
+ return null;
12833
+ }
12834
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails(entry, context);
12835
+ });
12836
+ return retVal;
12837
+ };
12838
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails = (output, context) => {
12839
+ return {
12840
+ CapacityReservationId: (0, smithy_client_1.expectString)(output.CapacityReservationId),
12841
+ CapacityReservationResourceGroupArn: (0, smithy_client_1.expectString)(output.CapacityReservationResourceGroupArn),
12842
+ };
12843
+ };
12844
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails = (output, context) => {
12845
+ return {
12846
+ CapacityReservationPreference: (0, smithy_client_1.expectString)(output.CapacityReservationPreference),
12847
+ CapacityReservationTarget: output.CapacityReservationTarget != null
12848
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails(output.CapacityReservationTarget, context)
12849
+ : undefined,
12850
+ };
12851
+ };
12852
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataCpuOptionsDetails = (output, context) => {
12853
+ return {
12854
+ CoreCount: (0, smithy_client_1.expectInt32)(output.CoreCount),
12855
+ ThreadsPerCore: (0, smithy_client_1.expectInt32)(output.ThreadsPerCore),
12856
+ };
12857
+ };
12858
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataCreditSpecificationDetails = (output, context) => {
12859
+ return {
12860
+ CpuCredits: (0, smithy_client_1.expectString)(output.CpuCredits),
12861
+ };
12862
+ };
12863
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataDetails = (output, context) => {
12864
+ return {
12865
+ BlockDeviceMappingSet: output.BlockDeviceMappingSet != null
12866
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetList(output.BlockDeviceMappingSet, context)
12867
+ : undefined,
12868
+ CapacityReservationSpecification: output.CapacityReservationSpecification != null
12869
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails(output.CapacityReservationSpecification, context)
12870
+ : undefined,
12871
+ CpuOptions: output.CpuOptions != null
12872
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataCpuOptionsDetails(output.CpuOptions, context)
12873
+ : undefined,
12874
+ CreditSpecification: output.CreditSpecification != null
12875
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataCreditSpecificationDetails(output.CreditSpecification, context)
12876
+ : undefined,
12877
+ DisableApiStop: (0, smithy_client_1.expectBoolean)(output.DisableApiStop),
12878
+ DisableApiTermination: (0, smithy_client_1.expectBoolean)(output.DisableApiTermination),
12879
+ EbsOptimized: (0, smithy_client_1.expectBoolean)(output.EbsOptimized),
12880
+ ElasticGpuSpecificationSet: output.ElasticGpuSpecificationSet != null
12881
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList(output.ElasticGpuSpecificationSet, context)
12882
+ : undefined,
12883
+ ElasticInferenceAcceleratorSet: output.ElasticInferenceAcceleratorSet != null
12884
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList(output.ElasticInferenceAcceleratorSet, context)
12885
+ : undefined,
12886
+ EnclaveOptions: output.EnclaveOptions != null
12887
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataEnclaveOptionsDetails(output.EnclaveOptions, context)
12888
+ : undefined,
12889
+ HibernationOptions: output.HibernationOptions != null
12890
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataHibernationOptionsDetails(output.HibernationOptions, context)
12891
+ : undefined,
12892
+ IamInstanceProfile: output.IamInstanceProfile != null
12893
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataIamInstanceProfileDetails(output.IamInstanceProfile, context)
12894
+ : undefined,
12895
+ ImageId: (0, smithy_client_1.expectString)(output.ImageId),
12896
+ InstanceInitiatedShutdownBehavior: (0, smithy_client_1.expectString)(output.InstanceInitiatedShutdownBehavior),
12897
+ InstanceMarketOptions: output.InstanceMarketOptions != null
12898
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails(output.InstanceMarketOptions, context)
12899
+ : undefined,
12900
+ InstanceRequirements: output.InstanceRequirements != null
12901
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsDetails(output.InstanceRequirements, context)
12902
+ : undefined,
12903
+ InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
12904
+ KernelId: (0, smithy_client_1.expectString)(output.KernelId),
12905
+ KeyName: (0, smithy_client_1.expectString)(output.KeyName),
12906
+ LicenseSet: output.LicenseSet != null
12907
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetList(output.LicenseSet, context)
12908
+ : undefined,
12909
+ MaintenanceOptions: output.MaintenanceOptions != null
12910
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataMaintenanceOptionsDetails(output.MaintenanceOptions, context)
12911
+ : undefined,
12912
+ MetadataOptions: output.MetadataOptions != null
12913
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataMetadataOptionsDetails(output.MetadataOptions, context)
12914
+ : undefined,
12915
+ Monitoring: output.Monitoring != null
12916
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataMonitoringDetails(output.Monitoring, context)
12917
+ : undefined,
12918
+ NetworkInterfaceSet: output.NetworkInterfaceSet != null
12919
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetList(output.NetworkInterfaceSet, context)
12920
+ : undefined,
12921
+ Placement: output.Placement != null
12922
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataPlacementDetails(output.Placement, context)
12923
+ : undefined,
12924
+ PrivateDnsNameOptions: output.PrivateDnsNameOptions != null
12925
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails(output.PrivateDnsNameOptions, context)
12926
+ : undefined,
12927
+ RamDiskId: (0, smithy_client_1.expectString)(output.RamDiskId),
12928
+ SecurityGroupIdSet: output.SecurityGroupIdSet != null
12929
+ ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroupIdSet, context)
12930
+ : undefined,
12931
+ SecurityGroupSet: output.SecurityGroupSet != null
12932
+ ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroupSet, context)
12933
+ : undefined,
12934
+ UserData: (0, smithy_client_1.expectString)(output.UserData),
12935
+ };
12936
+ };
12937
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails = (output, context) => {
12938
+ return {
12939
+ Type: (0, smithy_client_1.expectString)(output.Type),
12940
+ };
12941
+ };
12942
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList = (output, context) => {
12943
+ const retVal = (output || [])
12944
+ .filter((e) => e != null)
12945
+ .map((entry) => {
12946
+ if (entry === null) {
12947
+ return null;
12948
+ }
12949
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails(entry, context);
12950
+ });
12951
+ return retVal;
12952
+ };
12953
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails = (output, context) => {
12954
+ return {
12955
+ Count: (0, smithy_client_1.expectInt32)(output.Count),
12956
+ Type: (0, smithy_client_1.expectString)(output.Type),
12957
+ };
12958
+ };
12959
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList = (output, context) => {
12960
+ const retVal = (output || [])
12961
+ .filter((e) => e != null)
12962
+ .map((entry) => {
12963
+ if (entry === null) {
12964
+ return null;
12965
+ }
12966
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails(entry, context);
12967
+ });
12968
+ return retVal;
12969
+ };
12970
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataEnclaveOptionsDetails = (output, context) => {
12971
+ return {
12972
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
12973
+ };
12974
+ };
12975
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataHibernationOptionsDetails = (output, context) => {
12976
+ return {
12977
+ Configured: (0, smithy_client_1.expectBoolean)(output.Configured),
12978
+ };
12979
+ };
12980
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataIamInstanceProfileDetails = (output, context) => {
12981
+ return {
12982
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
12983
+ Name: (0, smithy_client_1.expectString)(output.Name),
12984
+ };
12985
+ };
12986
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails = (output, context) => {
12987
+ return {
12988
+ MarketType: (0, smithy_client_1.expectString)(output.MarketType),
12989
+ SpotOptions: output.SpotOptions != null
12990
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails(output.SpotOptions, context)
12991
+ : undefined,
12992
+ };
12993
+ };
12994
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails = (output, context) => {
12995
+ return {
12996
+ BlockDurationMinutes: (0, smithy_client_1.expectInt32)(output.BlockDurationMinutes),
12997
+ InstanceInterruptionBehavior: (0, smithy_client_1.expectString)(output.InstanceInterruptionBehavior),
12998
+ MaxPrice: (0, smithy_client_1.expectString)(output.MaxPrice),
12999
+ SpotInstanceType: (0, smithy_client_1.expectString)(output.SpotInstanceType),
13000
+ ValidUntil: (0, smithy_client_1.expectString)(output.ValidUntil),
13001
+ };
13002
+ };
13003
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails = (output, context) => {
13004
+ return {
13005
+ Max: (0, smithy_client_1.expectInt32)(output.Max),
13006
+ Min: (0, smithy_client_1.expectInt32)(output.Min),
13007
+ };
13008
+ };
13009
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails = (output, context) => {
13010
+ return {
13011
+ Max: (0, smithy_client_1.expectInt32)(output.Max),
13012
+ Min: (0, smithy_client_1.expectInt32)(output.Min),
13013
+ };
13014
+ };
13015
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails = (output, context) => {
13016
+ return {
13017
+ Max: (0, smithy_client_1.expectInt32)(output.Max),
13018
+ Min: (0, smithy_client_1.expectInt32)(output.Min),
13019
+ };
13020
+ };
13021
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsDetails = (output, context) => {
13022
+ return {
13023
+ AcceleratorCount: output.AcceleratorCount != null
13024
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails(output.AcceleratorCount, context)
13025
+ : undefined,
13026
+ AcceleratorManufacturers: output.AcceleratorManufacturers != null
13027
+ ? deserializeAws_restJson1NonEmptyStringList(output.AcceleratorManufacturers, context)
13028
+ : undefined,
13029
+ AcceleratorNames: output.AcceleratorNames != null
13030
+ ? deserializeAws_restJson1NonEmptyStringList(output.AcceleratorNames, context)
13031
+ : undefined,
13032
+ AcceleratorTotalMemoryMiB: output.AcceleratorTotalMemoryMiB != null
13033
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails(output.AcceleratorTotalMemoryMiB, context)
13034
+ : undefined,
13035
+ AcceleratorTypes: output.AcceleratorTypes != null
13036
+ ? deserializeAws_restJson1NonEmptyStringList(output.AcceleratorTypes, context)
13037
+ : undefined,
13038
+ BareMetal: (0, smithy_client_1.expectString)(output.BareMetal),
13039
+ BaselineEbsBandwidthMbps: output.BaselineEbsBandwidthMbps != null
13040
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails(output.BaselineEbsBandwidthMbps, context)
13041
+ : undefined,
13042
+ BurstablePerformance: (0, smithy_client_1.expectString)(output.BurstablePerformance),
13043
+ CpuManufacturers: output.CpuManufacturers != null
13044
+ ? deserializeAws_restJson1NonEmptyStringList(output.CpuManufacturers, context)
13045
+ : undefined,
13046
+ ExcludedInstanceTypes: output.ExcludedInstanceTypes != null
13047
+ ? deserializeAws_restJson1NonEmptyStringList(output.ExcludedInstanceTypes, context)
13048
+ : undefined,
13049
+ InstanceGenerations: output.InstanceGenerations != null
13050
+ ? deserializeAws_restJson1NonEmptyStringList(output.InstanceGenerations, context)
13051
+ : undefined,
13052
+ LocalStorage: (0, smithy_client_1.expectString)(output.LocalStorage),
13053
+ LocalStorageTypes: output.LocalStorageTypes != null
13054
+ ? deserializeAws_restJson1NonEmptyStringList(output.LocalStorageTypes, context)
13055
+ : undefined,
13056
+ MemoryGiBPerVCpu: output.MemoryGiBPerVCpu != null
13057
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails(output.MemoryGiBPerVCpu, context)
13058
+ : undefined,
13059
+ MemoryMiB: output.MemoryMiB != null
13060
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails(output.MemoryMiB, context)
13061
+ : undefined,
13062
+ NetworkInterfaceCount: output.NetworkInterfaceCount != null
13063
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails(output.NetworkInterfaceCount, context)
13064
+ : undefined,
13065
+ OnDemandMaxPricePercentageOverLowestPrice: (0, smithy_client_1.expectInt32)(output.OnDemandMaxPricePercentageOverLowestPrice),
13066
+ RequireHibernateSupport: (0, smithy_client_1.expectBoolean)(output.RequireHibernateSupport),
13067
+ SpotMaxPricePercentageOverLowestPrice: (0, smithy_client_1.expectInt32)(output.SpotMaxPricePercentageOverLowestPrice),
13068
+ TotalLocalStorageGB: output.TotalLocalStorageGB != null
13069
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(output.TotalLocalStorageGB, context)
13070
+ : undefined,
13071
+ VCpuCount: output.VCpuCount != null
13072
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails(output.VCpuCount, context)
13073
+ : undefined,
13074
+ };
13075
+ };
13076
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails = (output, context) => {
13077
+ return {
13078
+ Max: (0, smithy_client_1.limitedParseDouble)(output.Max),
13079
+ Min: (0, smithy_client_1.limitedParseDouble)(output.Min),
13080
+ };
13081
+ };
13082
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails = (output, context) => {
13083
+ return {
13084
+ Max: (0, smithy_client_1.expectInt32)(output.Max),
13085
+ Min: (0, smithy_client_1.expectInt32)(output.Min),
13086
+ };
13087
+ };
13088
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails = (output, context) => {
13089
+ return {
13090
+ Max: (0, smithy_client_1.expectInt32)(output.Max),
13091
+ Min: (0, smithy_client_1.expectInt32)(output.Min),
13092
+ };
13093
+ };
13094
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails = (output, context) => {
13095
+ return {
13096
+ Max: (0, smithy_client_1.limitedParseDouble)(output.Max),
13097
+ Min: (0, smithy_client_1.limitedParseDouble)(output.Min),
13098
+ };
13099
+ };
13100
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails = (output, context) => {
13101
+ return {
13102
+ Max: (0, smithy_client_1.expectInt32)(output.Max),
13103
+ Min: (0, smithy_client_1.expectInt32)(output.Min),
13104
+ };
13105
+ };
13106
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetDetails = (output, context) => {
13107
+ return {
13108
+ LicenseConfigurationArn: (0, smithy_client_1.expectString)(output.LicenseConfigurationArn),
13109
+ };
13110
+ };
13111
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetList = (output, context) => {
13112
+ const retVal = (output || [])
13113
+ .filter((e) => e != null)
13114
+ .map((entry) => {
13115
+ if (entry === null) {
13116
+ return null;
13117
+ }
13118
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetDetails(entry, context);
13119
+ });
13120
+ return retVal;
13121
+ };
13122
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataMaintenanceOptionsDetails = (output, context) => {
13123
+ return {
13124
+ AutoRecovery: (0, smithy_client_1.expectString)(output.AutoRecovery),
13125
+ };
13126
+ };
13127
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataMetadataOptionsDetails = (output, context) => {
13128
+ return {
13129
+ HttpEndpoint: (0, smithy_client_1.expectString)(output.HttpEndpoint),
13130
+ HttpProtocolIpv6: (0, smithy_client_1.expectString)(output.HttpProtocolIpv6),
13131
+ HttpPutResponseHopLimit: (0, smithy_client_1.expectInt32)(output.HttpPutResponseHopLimit),
13132
+ HttpTokens: (0, smithy_client_1.expectString)(output.HttpTokens),
13133
+ InstanceMetadataTags: (0, smithy_client_1.expectString)(output.InstanceMetadataTags),
13134
+ };
13135
+ };
13136
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataMonitoringDetails = (output, context) => {
13137
+ return {
13138
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
13139
+ };
13140
+ };
13141
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails = (output, context) => {
13142
+ return {
13143
+ AssociateCarrierIpAddress: (0, smithy_client_1.expectBoolean)(output.AssociateCarrierIpAddress),
13144
+ AssociatePublicIpAddress: (0, smithy_client_1.expectBoolean)(output.AssociatePublicIpAddress),
13145
+ DeleteOnTermination: (0, smithy_client_1.expectBoolean)(output.DeleteOnTermination),
13146
+ Description: (0, smithy_client_1.expectString)(output.Description),
13147
+ DeviceIndex: (0, smithy_client_1.expectInt32)(output.DeviceIndex),
13148
+ Groups: output.Groups != null ? deserializeAws_restJson1NonEmptyStringList(output.Groups, context) : undefined,
13149
+ InterfaceType: (0, smithy_client_1.expectString)(output.InterfaceType),
13150
+ Ipv4PrefixCount: (0, smithy_client_1.expectInt32)(output.Ipv4PrefixCount),
13151
+ Ipv4Prefixes: output.Ipv4Prefixes != null
13152
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList(output.Ipv4Prefixes, context)
13153
+ : undefined,
13154
+ Ipv6AddressCount: (0, smithy_client_1.expectInt32)(output.Ipv6AddressCount),
13155
+ Ipv6Addresses: output.Ipv6Addresses != null
13156
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList(output.Ipv6Addresses, context)
13157
+ : undefined,
13158
+ Ipv6PrefixCount: (0, smithy_client_1.expectInt32)(output.Ipv6PrefixCount),
13159
+ Ipv6Prefixes: output.Ipv6Prefixes != null
13160
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList(output.Ipv6Prefixes, context)
13161
+ : undefined,
13162
+ NetworkCardIndex: (0, smithy_client_1.expectInt32)(output.NetworkCardIndex),
13163
+ NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
13164
+ PrivateIpAddress: (0, smithy_client_1.expectString)(output.PrivateIpAddress),
13165
+ PrivateIpAddresses: output.PrivateIpAddresses != null
13166
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList(output.PrivateIpAddresses, context)
13167
+ : undefined,
13168
+ SecondaryPrivateIpAddressCount: (0, smithy_client_1.expectInt32)(output.SecondaryPrivateIpAddressCount),
13169
+ SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
13170
+ };
13171
+ };
13172
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails = (output, context) => {
11967
13173
  return {
11968
- AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
11969
- KeyType: (0, smithy_client_1.expectString)(output.KeyType),
13174
+ Ipv4Prefix: (0, smithy_client_1.expectString)(output.Ipv4Prefix),
11970
13175
  };
11971
13176
  };
11972
- const deserializeAws_restJson1AwsDynamoDbTableKeySchemaList = (output, context) => {
13177
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList = (output, context) => {
11973
13178
  const retVal = (output || [])
11974
13179
  .filter((e) => e != null)
11975
13180
  .map((entry) => {
11976
13181
  if (entry === null) {
11977
13182
  return null;
11978
13183
  }
11979
- return deserializeAws_restJson1AwsDynamoDbTableKeySchema(entry, context);
13184
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails(entry, context);
11980
13185
  });
11981
13186
  return retVal;
11982
13187
  };
11983
- const deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndex = (output, context) => {
13188
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails = (output, context) => {
11984
13189
  return {
11985
- IndexArn: (0, smithy_client_1.expectString)(output.IndexArn),
11986
- IndexName: (0, smithy_client_1.expectString)(output.IndexName),
11987
- KeySchema: output.KeySchema != null
11988
- ? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
11989
- : undefined,
11990
- Projection: output.Projection != null
11991
- ? deserializeAws_restJson1AwsDynamoDbTableProjection(output.Projection, context)
11992
- : undefined,
13190
+ Ipv6Address: (0, smithy_client_1.expectString)(output.Ipv6Address),
11993
13191
  };
11994
13192
  };
11995
- const deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndexList = (output, context) => {
13193
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList = (output, context) => {
11996
13194
  const retVal = (output || [])
11997
13195
  .filter((e) => e != null)
11998
13196
  .map((entry) => {
11999
13197
  if (entry === null) {
12000
13198
  return null;
12001
13199
  }
12002
- return deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndex(entry, context);
13200
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails(entry, context);
12003
13201
  });
12004
13202
  return retVal;
12005
13203
  };
12006
- const deserializeAws_restJson1AwsDynamoDbTableProjection = (output, context) => {
12007
- return {
12008
- NonKeyAttributes: output.NonKeyAttributes != null
12009
- ? deserializeAws_restJson1StringList(output.NonKeyAttributes, context)
12010
- : undefined,
12011
- ProjectionType: (0, smithy_client_1.expectString)(output.ProjectionType),
12012
- };
12013
- };
12014
- const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughput = (output, context) => {
12015
- return {
12016
- LastDecreaseDateTime: (0, smithy_client_1.expectString)(output.LastDecreaseDateTime),
12017
- LastIncreaseDateTime: (0, smithy_client_1.expectString)(output.LastIncreaseDateTime),
12018
- NumberOfDecreasesToday: (0, smithy_client_1.expectInt32)(output.NumberOfDecreasesToday),
12019
- ReadCapacityUnits: (0, smithy_client_1.expectInt32)(output.ReadCapacityUnits),
12020
- WriteCapacityUnits: (0, smithy_client_1.expectInt32)(output.WriteCapacityUnits),
12021
- };
12022
- };
12023
- const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride = (output, context) => {
12024
- return {
12025
- ReadCapacityUnits: (0, smithy_client_1.expectInt32)(output.ReadCapacityUnits),
12026
- };
12027
- };
12028
- const deserializeAws_restJson1AwsDynamoDbTableReplica = (output, context) => {
12029
- return {
12030
- GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
12031
- ? deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndexList(output.GlobalSecondaryIndexes, context)
12032
- : undefined,
12033
- KmsMasterKeyId: (0, smithy_client_1.expectString)(output.KmsMasterKeyId),
12034
- ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
12035
- ? deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
12036
- : undefined,
12037
- RegionName: (0, smithy_client_1.expectString)(output.RegionName),
12038
- ReplicaStatus: (0, smithy_client_1.expectString)(output.ReplicaStatus),
12039
- ReplicaStatusDescription: (0, smithy_client_1.expectString)(output.ReplicaStatusDescription),
12040
- };
12041
- };
12042
- const deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndex = (output, context) => {
13204
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails = (output, context) => {
12043
13205
  return {
12044
- IndexName: (0, smithy_client_1.expectString)(output.IndexName),
12045
- ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
12046
- ? deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
12047
- : undefined,
13206
+ Ipv6Prefix: (0, smithy_client_1.expectString)(output.Ipv6Prefix),
12048
13207
  };
12049
13208
  };
12050
- const deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndexList = (output, context) => {
13209
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList = (output, context) => {
12051
13210
  const retVal = (output || [])
12052
13211
  .filter((e) => e != null)
12053
13212
  .map((entry) => {
12054
13213
  if (entry === null) {
12055
13214
  return null;
12056
13215
  }
12057
- return deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndex(entry, context);
13216
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails(entry, context);
12058
13217
  });
12059
13218
  return retVal;
12060
13219
  };
12061
- const deserializeAws_restJson1AwsDynamoDbTableReplicaList = (output, context) => {
13220
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetList = (output, context) => {
12062
13221
  const retVal = (output || [])
12063
13222
  .filter((e) => e != null)
12064
13223
  .map((entry) => {
12065
13224
  if (entry === null) {
12066
13225
  return null;
12067
13226
  }
12068
- return deserializeAws_restJson1AwsDynamoDbTableReplica(entry, context);
13227
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails(entry, context);
12069
13228
  });
12070
13229
  return retVal;
12071
13230
  };
12072
- const deserializeAws_restJson1AwsDynamoDbTableRestoreSummary = (output, context) => {
13231
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails = (output, context) => {
12073
13232
  return {
12074
- RestoreDateTime: (0, smithy_client_1.expectString)(output.RestoreDateTime),
12075
- RestoreInProgress: (0, smithy_client_1.expectBoolean)(output.RestoreInProgress),
12076
- SourceBackupArn: (0, smithy_client_1.expectString)(output.SourceBackupArn),
12077
- SourceTableArn: (0, smithy_client_1.expectString)(output.SourceTableArn),
13233
+ Primary: (0, smithy_client_1.expectBoolean)(output.Primary),
13234
+ PrivateIpAddress: (0, smithy_client_1.expectString)(output.PrivateIpAddress),
12078
13235
  };
12079
13236
  };
12080
- const deserializeAws_restJson1AwsDynamoDbTableSseDescription = (output, context) => {
12081
- return {
12082
- InaccessibleEncryptionDateTime: (0, smithy_client_1.expectString)(output.InaccessibleEncryptionDateTime),
12083
- KmsMasterKeyArn: (0, smithy_client_1.expectString)(output.KmsMasterKeyArn),
12084
- SseType: (0, smithy_client_1.expectString)(output.SseType),
12085
- Status: (0, smithy_client_1.expectString)(output.Status),
12086
- };
13237
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList = (output, context) => {
13238
+ const retVal = (output || [])
13239
+ .filter((e) => e != null)
13240
+ .map((entry) => {
13241
+ if (entry === null) {
13242
+ return null;
13243
+ }
13244
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails(entry, context);
13245
+ });
13246
+ return retVal;
12087
13247
  };
12088
- const deserializeAws_restJson1AwsDynamoDbTableStreamSpecification = (output, context) => {
13248
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataPlacementDetails = (output, context) => {
12089
13249
  return {
12090
- StreamEnabled: (0, smithy_client_1.expectBoolean)(output.StreamEnabled),
12091
- StreamViewType: (0, smithy_client_1.expectString)(output.StreamViewType),
13250
+ Affinity: (0, smithy_client_1.expectString)(output.Affinity),
13251
+ AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
13252
+ GroupName: (0, smithy_client_1.expectString)(output.GroupName),
13253
+ HostId: (0, smithy_client_1.expectString)(output.HostId),
13254
+ HostResourceGroupArn: (0, smithy_client_1.expectString)(output.HostResourceGroupArn),
13255
+ PartitionNumber: (0, smithy_client_1.expectInt32)(output.PartitionNumber),
13256
+ SpreadDomain: (0, smithy_client_1.expectString)(output.SpreadDomain),
13257
+ Tenancy: (0, smithy_client_1.expectString)(output.Tenancy),
12092
13258
  };
12093
13259
  };
12094
- const deserializeAws_restJson1AwsEc2EipDetails = (output, context) => {
13260
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails = (output, context) => {
12095
13261
  return {
12096
- AllocationId: (0, smithy_client_1.expectString)(output.AllocationId),
12097
- AssociationId: (0, smithy_client_1.expectString)(output.AssociationId),
12098
- Domain: (0, smithy_client_1.expectString)(output.Domain),
12099
- InstanceId: (0, smithy_client_1.expectString)(output.InstanceId),
12100
- NetworkBorderGroup: (0, smithy_client_1.expectString)(output.NetworkBorderGroup),
12101
- NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
12102
- NetworkInterfaceOwnerId: (0, smithy_client_1.expectString)(output.NetworkInterfaceOwnerId),
12103
- PrivateIpAddress: (0, smithy_client_1.expectString)(output.PrivateIpAddress),
12104
- PublicIp: (0, smithy_client_1.expectString)(output.PublicIp),
12105
- PublicIpv4Pool: (0, smithy_client_1.expectString)(output.PublicIpv4Pool),
13262
+ EnableResourceNameDnsAAAARecord: (0, smithy_client_1.expectBoolean)(output.EnableResourceNameDnsAAAARecord),
13263
+ EnableResourceNameDnsARecord: (0, smithy_client_1.expectBoolean)(output.EnableResourceNameDnsARecord),
13264
+ HostnameType: (0, smithy_client_1.expectString)(output.HostnameType),
12106
13265
  };
12107
13266
  };
12108
- const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
13267
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDetails = (output, context) => {
12109
13268
  return {
12110
- IamInstanceProfileArn: (0, smithy_client_1.expectString)(output.IamInstanceProfileArn),
12111
- ImageId: (0, smithy_client_1.expectString)(output.ImageId),
12112
- IpV4Addresses: output.IpV4Addresses != null ? deserializeAws_restJson1StringList(output.IpV4Addresses, context) : undefined,
12113
- IpV6Addresses: output.IpV6Addresses != null ? deserializeAws_restJson1StringList(output.IpV6Addresses, context) : undefined,
12114
- KeyName: (0, smithy_client_1.expectString)(output.KeyName),
12115
- LaunchedAt: (0, smithy_client_1.expectString)(output.LaunchedAt),
12116
- MetadataOptions: output.MetadataOptions != null
12117
- ? deserializeAws_restJson1AwsEc2InstanceMetadataOptions(output.MetadataOptions, context)
12118
- : undefined,
12119
- NetworkInterfaces: output.NetworkInterfaces != null
12120
- ? deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(output.NetworkInterfaces, context)
13269
+ DefaultVersionNumber: (0, smithy_client_1.expectLong)(output.DefaultVersionNumber),
13270
+ Id: (0, smithy_client_1.expectString)(output.Id),
13271
+ LatestVersionNumber: (0, smithy_client_1.expectLong)(output.LatestVersionNumber),
13272
+ LaunchTemplateData: output.LaunchTemplateData != null
13273
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataDetails(output.LaunchTemplateData, context)
12121
13274
  : undefined,
12122
- SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
12123
- Type: (0, smithy_client_1.expectString)(output.Type),
12124
- VirtualizationType: (0, smithy_client_1.expectString)(output.VirtualizationType),
12125
- VpcId: (0, smithy_client_1.expectString)(output.VpcId),
12126
- };
12127
- };
12128
- const deserializeAws_restJson1AwsEc2InstanceMetadataOptions = (output, context) => {
12129
- return {
12130
- HttpEndpoint: (0, smithy_client_1.expectString)(output.HttpEndpoint),
12131
- HttpProtocolIpv6: (0, smithy_client_1.expectString)(output.HttpProtocolIpv6),
12132
- HttpPutResponseHopLimit: (0, smithy_client_1.expectInt32)(output.HttpPutResponseHopLimit),
12133
- HttpTokens: (0, smithy_client_1.expectString)(output.HttpTokens),
12134
- InstanceMetadataTags: (0, smithy_client_1.expectString)(output.InstanceMetadataTags),
12135
- };
12136
- };
12137
- const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (output, context) => {
12138
- return {
12139
- NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
13275
+ LaunchTemplateName: (0, smithy_client_1.expectString)(output.LaunchTemplateName),
12140
13276
  };
12141
13277
  };
12142
- const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList = (output, context) => {
12143
- const retVal = (output || [])
12144
- .filter((e) => e != null)
12145
- .map((entry) => {
12146
- if (entry === null) {
12147
- return null;
12148
- }
12149
- return deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails(entry, context);
12150
- });
12151
- return retVal;
12152
- };
12153
13278
  const deserializeAws_restJson1AwsEc2NetworkAclAssociation = (output, context) => {
12154
13279
  return {
12155
13280
  NetworkAclAssociationId: (0, smithy_client_1.expectString)(output.NetworkAclAssociationId),
@@ -15775,6 +16900,43 @@ const deserializeAws_restJson1AwsS3ObjectDetails = (output, context) => {
15775
16900
  VersionId: (0, smithy_client_1.expectString)(output.VersionId),
15776
16901
  };
15777
16902
  };
16903
+ const deserializeAws_restJson1AwsSageMakerNotebookInstanceDetails = (output, context) => {
16904
+ return {
16905
+ AcceleratorTypes: output.AcceleratorTypes != null
16906
+ ? deserializeAws_restJson1NonEmptyStringList(output.AcceleratorTypes, context)
16907
+ : undefined,
16908
+ AdditionalCodeRepositories: output.AdditionalCodeRepositories != null
16909
+ ? deserializeAws_restJson1NonEmptyStringList(output.AdditionalCodeRepositories, context)
16910
+ : undefined,
16911
+ DefaultCodeRepository: (0, smithy_client_1.expectString)(output.DefaultCodeRepository),
16912
+ DirectInternetAccess: (0, smithy_client_1.expectString)(output.DirectInternetAccess),
16913
+ FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
16914
+ InstanceMetadataServiceConfiguration: output.InstanceMetadataServiceConfiguration != null
16915
+ ? deserializeAws_restJson1AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails(output.InstanceMetadataServiceConfiguration, context)
16916
+ : undefined,
16917
+ InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
16918
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
16919
+ NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
16920
+ NotebookInstanceArn: (0, smithy_client_1.expectString)(output.NotebookInstanceArn),
16921
+ NotebookInstanceLifecycleConfigName: (0, smithy_client_1.expectString)(output.NotebookInstanceLifecycleConfigName),
16922
+ NotebookInstanceName: (0, smithy_client_1.expectString)(output.NotebookInstanceName),
16923
+ NotebookInstanceStatus: (0, smithy_client_1.expectString)(output.NotebookInstanceStatus),
16924
+ PlatformIdentifier: (0, smithy_client_1.expectString)(output.PlatformIdentifier),
16925
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
16926
+ RootAccess: (0, smithy_client_1.expectString)(output.RootAccess),
16927
+ SecurityGroups: output.SecurityGroups != null
16928
+ ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroups, context)
16929
+ : undefined,
16930
+ SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
16931
+ Url: (0, smithy_client_1.expectString)(output.Url),
16932
+ VolumeSizeInGB: (0, smithy_client_1.expectInt32)(output.VolumeSizeInGB),
16933
+ };
16934
+ };
16935
+ const deserializeAws_restJson1AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails = (output, context) => {
16936
+ return {
16937
+ MinimumInstanceMetadataServiceVersion: (0, smithy_client_1.expectString)(output.MinimumInstanceMetadataServiceVersion),
16938
+ };
16939
+ };
15778
16940
  const deserializeAws_restJson1AwsSecretsManagerSecretDetails = (output, context) => {
15779
16941
  return {
15780
16942
  Deleted: (0, smithy_client_1.expectBoolean)(output.Deleted),
@@ -16411,6 +17573,158 @@ const deserializeAws_restJson1AwsWafRulePredicateListDetails = (output, context)
16411
17573
  Type: (0, smithy_client_1.expectString)(output.Type),
16412
17574
  };
16413
17575
  };
17576
+ const deserializeAws_restJson1AwsWafv2ActionAllowDetails = (output, context) => {
17577
+ return {
17578
+ CustomRequestHandling: output.CustomRequestHandling != null
17579
+ ? deserializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(output.CustomRequestHandling, context)
17580
+ : undefined,
17581
+ };
17582
+ };
17583
+ const deserializeAws_restJson1AwsWafv2ActionBlockDetails = (output, context) => {
17584
+ return {
17585
+ CustomResponse: output.CustomResponse != null
17586
+ ? deserializeAws_restJson1AwsWafv2CustomResponseDetails(output.CustomResponse, context)
17587
+ : undefined,
17588
+ };
17589
+ };
17590
+ const deserializeAws_restJson1AwsWafv2CustomHttpHeader = (output, context) => {
17591
+ return {
17592
+ Name: (0, smithy_client_1.expectString)(output.Name),
17593
+ Value: (0, smithy_client_1.expectString)(output.Value),
17594
+ };
17595
+ };
17596
+ const deserializeAws_restJson1AwsWafv2CustomRequestHandlingDetails = (output, context) => {
17597
+ return {
17598
+ InsertHeaders: output.InsertHeaders != null
17599
+ ? deserializeAws_restJson1AwsWafv2InsertHeadersList(output.InsertHeaders, context)
17600
+ : undefined,
17601
+ };
17602
+ };
17603
+ const deserializeAws_restJson1AwsWafv2CustomResponseDetails = (output, context) => {
17604
+ return {
17605
+ CustomResponseBodyKey: (0, smithy_client_1.expectString)(output.CustomResponseBodyKey),
17606
+ ResponseCode: (0, smithy_client_1.expectInt32)(output.ResponseCode),
17607
+ ResponseHeaders: output.ResponseHeaders != null
17608
+ ? deserializeAws_restJson1AwsWafv2InsertHeadersList(output.ResponseHeaders, context)
17609
+ : undefined,
17610
+ };
17611
+ };
17612
+ const deserializeAws_restJson1AwsWafv2InsertHeadersList = (output, context) => {
17613
+ const retVal = (output || [])
17614
+ .filter((e) => e != null)
17615
+ .map((entry) => {
17616
+ if (entry === null) {
17617
+ return null;
17618
+ }
17619
+ return deserializeAws_restJson1AwsWafv2CustomHttpHeader(entry, context);
17620
+ });
17621
+ return retVal;
17622
+ };
17623
+ const deserializeAws_restJson1AwsWafv2RuleGroupDetails = (output, context) => {
17624
+ return {
17625
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
17626
+ Capacity: (0, smithy_client_1.expectLong)(output.Capacity),
17627
+ Description: (0, smithy_client_1.expectString)(output.Description),
17628
+ Id: (0, smithy_client_1.expectString)(output.Id),
17629
+ Name: (0, smithy_client_1.expectString)(output.Name),
17630
+ Rules: output.Rules != null ? deserializeAws_restJson1AwsWafv2RulesList(output.Rules, context) : undefined,
17631
+ Scope: (0, smithy_client_1.expectString)(output.Scope),
17632
+ VisibilityConfig: output.VisibilityConfig != null
17633
+ ? deserializeAws_restJson1AwsWafv2VisibilityConfigDetails(output.VisibilityConfig, context)
17634
+ : undefined,
17635
+ };
17636
+ };
17637
+ const deserializeAws_restJson1AwsWafv2RulesActionCaptchaDetails = (output, context) => {
17638
+ return {
17639
+ CustomRequestHandling: output.CustomRequestHandling != null
17640
+ ? deserializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(output.CustomRequestHandling, context)
17641
+ : undefined,
17642
+ };
17643
+ };
17644
+ const deserializeAws_restJson1AwsWafv2RulesActionCountDetails = (output, context) => {
17645
+ return {
17646
+ CustomRequestHandling: output.CustomRequestHandling != null
17647
+ ? deserializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(output.CustomRequestHandling, context)
17648
+ : undefined,
17649
+ };
17650
+ };
17651
+ const deserializeAws_restJson1AwsWafv2RulesActionDetails = (output, context) => {
17652
+ return {
17653
+ Allow: output.Allow != null ? deserializeAws_restJson1AwsWafv2ActionAllowDetails(output.Allow, context) : undefined,
17654
+ Block: output.Block != null ? deserializeAws_restJson1AwsWafv2ActionBlockDetails(output.Block, context) : undefined,
17655
+ Captcha: output.Captcha != null
17656
+ ? deserializeAws_restJson1AwsWafv2RulesActionCaptchaDetails(output.Captcha, context)
17657
+ : undefined,
17658
+ Count: output.Count != null ? deserializeAws_restJson1AwsWafv2RulesActionCountDetails(output.Count, context) : undefined,
17659
+ };
17660
+ };
17661
+ const deserializeAws_restJson1AwsWafv2RulesDetails = (output, context) => {
17662
+ return {
17663
+ Action: output.Action != null ? deserializeAws_restJson1AwsWafv2RulesActionDetails(output.Action, context) : undefined,
17664
+ Name: (0, smithy_client_1.expectString)(output.Name),
17665
+ OverrideAction: (0, smithy_client_1.expectString)(output.OverrideAction),
17666
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
17667
+ VisibilityConfig: output.VisibilityConfig != null
17668
+ ? deserializeAws_restJson1AwsWafv2VisibilityConfigDetails(output.VisibilityConfig, context)
17669
+ : undefined,
17670
+ };
17671
+ };
17672
+ const deserializeAws_restJson1AwsWafv2RulesList = (output, context) => {
17673
+ const retVal = (output || [])
17674
+ .filter((e) => e != null)
17675
+ .map((entry) => {
17676
+ if (entry === null) {
17677
+ return null;
17678
+ }
17679
+ return deserializeAws_restJson1AwsWafv2RulesDetails(entry, context);
17680
+ });
17681
+ return retVal;
17682
+ };
17683
+ const deserializeAws_restJson1AwsWafv2VisibilityConfigDetails = (output, context) => {
17684
+ return {
17685
+ CloudWatchMetricsEnabled: (0, smithy_client_1.expectBoolean)(output.CloudWatchMetricsEnabled),
17686
+ MetricName: (0, smithy_client_1.expectString)(output.MetricName),
17687
+ SampledRequestsEnabled: (0, smithy_client_1.expectBoolean)(output.SampledRequestsEnabled),
17688
+ };
17689
+ };
17690
+ const deserializeAws_restJson1AwsWafv2WebAclActionDetails = (output, context) => {
17691
+ return {
17692
+ Allow: output.Allow != null ? deserializeAws_restJson1AwsWafv2ActionAllowDetails(output.Allow, context) : undefined,
17693
+ Block: output.Block != null ? deserializeAws_restJson1AwsWafv2ActionBlockDetails(output.Block, context) : undefined,
17694
+ };
17695
+ };
17696
+ const deserializeAws_restJson1AwsWafv2WebAclCaptchaConfigDetails = (output, context) => {
17697
+ return {
17698
+ ImmunityTimeProperty: output.ImmunityTimeProperty != null
17699
+ ? deserializeAws_restJson1AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails(output.ImmunityTimeProperty, context)
17700
+ : undefined,
17701
+ };
17702
+ };
17703
+ const deserializeAws_restJson1AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails = (output, context) => {
17704
+ return {
17705
+ ImmunityTime: (0, smithy_client_1.expectLong)(output.ImmunityTime),
17706
+ };
17707
+ };
17708
+ const deserializeAws_restJson1AwsWafv2WebAclDetails = (output, context) => {
17709
+ return {
17710
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
17711
+ Capacity: (0, smithy_client_1.expectLong)(output.Capacity),
17712
+ CaptchaConfig: output.CaptchaConfig != null
17713
+ ? deserializeAws_restJson1AwsWafv2WebAclCaptchaConfigDetails(output.CaptchaConfig, context)
17714
+ : undefined,
17715
+ DefaultAction: output.DefaultAction != null
17716
+ ? deserializeAws_restJson1AwsWafv2WebAclActionDetails(output.DefaultAction, context)
17717
+ : undefined,
17718
+ Description: (0, smithy_client_1.expectString)(output.Description),
17719
+ Id: (0, smithy_client_1.expectString)(output.Id),
17720
+ ManagedbyFirewallManager: (0, smithy_client_1.expectBoolean)(output.ManagedbyFirewallManager),
17721
+ Name: (0, smithy_client_1.expectString)(output.Name),
17722
+ Rules: output.Rules != null ? deserializeAws_restJson1AwsWafv2RulesList(output.Rules, context) : undefined,
17723
+ VisibilityConfig: output.VisibilityConfig != null
17724
+ ? deserializeAws_restJson1AwsWafv2VisibilityConfigDetails(output.VisibilityConfig, context)
17725
+ : undefined,
17726
+ };
17727
+ };
16414
17728
  const deserializeAws_restJson1AwsWafWebAclDetails = (output, context) => {
16415
17729
  return {
16416
17730
  DefaultAction: (0, smithy_client_1.expectString)(output.DefaultAction),
@@ -17433,6 +18747,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
17433
18747
  AwsEc2Instance: output.AwsEc2Instance != null
17434
18748
  ? deserializeAws_restJson1AwsEc2InstanceDetails(output.AwsEc2Instance, context)
17435
18749
  : undefined,
18750
+ AwsEc2LaunchTemplate: output.AwsEc2LaunchTemplate != null
18751
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDetails(output.AwsEc2LaunchTemplate, context)
18752
+ : undefined,
17436
18753
  AwsEc2NetworkAcl: output.AwsEc2NetworkAcl != null
17437
18754
  ? deserializeAws_restJson1AwsEc2NetworkAclDetails(output.AwsEc2NetworkAcl, context)
17438
18755
  : undefined,
@@ -17555,6 +18872,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
17555
18872
  : undefined,
17556
18873
  AwsS3Bucket: output.AwsS3Bucket != null ? deserializeAws_restJson1AwsS3BucketDetails(output.AwsS3Bucket, context) : undefined,
17557
18874
  AwsS3Object: output.AwsS3Object != null ? deserializeAws_restJson1AwsS3ObjectDetails(output.AwsS3Object, context) : undefined,
18875
+ AwsSageMakerNotebookInstance: output.AwsSageMakerNotebookInstance != null
18876
+ ? deserializeAws_restJson1AwsSageMakerNotebookInstanceDetails(output.AwsSageMakerNotebookInstance, context)
18877
+ : undefined,
17558
18878
  AwsSecretsManagerSecret: output.AwsSecretsManagerSecret != null
17559
18879
  ? deserializeAws_restJson1AwsSecretsManagerSecretDetails(output.AwsSecretsManagerSecret, context)
17560
18880
  : undefined,
@@ -17585,6 +18905,12 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
17585
18905
  AwsWafWebAcl: output.AwsWafWebAcl != null
17586
18906
  ? deserializeAws_restJson1AwsWafWebAclDetails(output.AwsWafWebAcl, context)
17587
18907
  : undefined,
18908
+ AwsWafv2RuleGroup: output.AwsWafv2RuleGroup != null
18909
+ ? deserializeAws_restJson1AwsWafv2RuleGroupDetails(output.AwsWafv2RuleGroup, context)
18910
+ : undefined,
18911
+ AwsWafv2WebAcl: output.AwsWafv2WebAcl != null
18912
+ ? deserializeAws_restJson1AwsWafv2WebAclDetails(output.AwsWafv2WebAcl, context)
18913
+ : undefined,
17588
18914
  AwsXrayEncryptionConfig: output.AwsXrayEncryptionConfig != null
17589
18915
  ? deserializeAws_restJson1AwsXrayEncryptionConfigDetails(output.AwsXrayEncryptionConfig, context)
17590
18916
  : undefined,