@aws-sdk/client-securityhub 3.229.0 → 3.232.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 +5 -5
@@ -5083,6 +5083,461 @@ const serializeAws_restJson1AwsEc2InstanceNetworkInterfacesList = (input, contex
5083
5083
  return serializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails(entry, context);
5084
5084
  });
5085
5085
  };
5086
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails = (input, context) => {
5087
+ return {
5088
+ ...(input.DeviceName != null && { DeviceName: input.DeviceName }),
5089
+ ...(input.Ebs != null && {
5090
+ Ebs: serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails(input.Ebs, context),
5091
+ }),
5092
+ ...(input.NoDevice != null && { NoDevice: input.NoDevice }),
5093
+ ...(input.VirtualName != null && { VirtualName: input.VirtualName }),
5094
+ };
5095
+ };
5096
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails = (input, context) => {
5097
+ return {
5098
+ ...(input.DeleteOnTermination != null && { DeleteOnTermination: input.DeleteOnTermination }),
5099
+ ...(input.Encrypted != null && { Encrypted: input.Encrypted }),
5100
+ ...(input.Iops != null && { Iops: input.Iops }),
5101
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
5102
+ ...(input.SnapshotId != null && { SnapshotId: input.SnapshotId }),
5103
+ ...(input.Throughput != null && { Throughput: input.Throughput }),
5104
+ ...(input.VolumeSize != null && { VolumeSize: input.VolumeSize }),
5105
+ ...(input.VolumeType != null && { VolumeType: input.VolumeType }),
5106
+ };
5107
+ };
5108
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetList = (input, context) => {
5109
+ return input
5110
+ .filter((e) => e != null)
5111
+ .map((entry) => {
5112
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails(entry, context);
5113
+ });
5114
+ };
5115
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails = (input, context) => {
5116
+ return {
5117
+ ...(input.CapacityReservationId != null && { CapacityReservationId: input.CapacityReservationId }),
5118
+ ...(input.CapacityReservationResourceGroupArn != null && {
5119
+ CapacityReservationResourceGroupArn: input.CapacityReservationResourceGroupArn,
5120
+ }),
5121
+ };
5122
+ };
5123
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails = (input, context) => {
5124
+ return {
5125
+ ...(input.CapacityReservationPreference != null && {
5126
+ CapacityReservationPreference: input.CapacityReservationPreference,
5127
+ }),
5128
+ ...(input.CapacityReservationTarget != null && {
5129
+ CapacityReservationTarget: serializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails(input.CapacityReservationTarget, context),
5130
+ }),
5131
+ };
5132
+ };
5133
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataCpuOptionsDetails = (input, context) => {
5134
+ return {
5135
+ ...(input.CoreCount != null && { CoreCount: input.CoreCount }),
5136
+ ...(input.ThreadsPerCore != null && { ThreadsPerCore: input.ThreadsPerCore }),
5137
+ };
5138
+ };
5139
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataCreditSpecificationDetails = (input, context) => {
5140
+ return {
5141
+ ...(input.CpuCredits != null && { CpuCredits: input.CpuCredits }),
5142
+ };
5143
+ };
5144
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataDetails = (input, context) => {
5145
+ return {
5146
+ ...(input.BlockDeviceMappingSet != null && {
5147
+ BlockDeviceMappingSet: serializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetList(input.BlockDeviceMappingSet, context),
5148
+ }),
5149
+ ...(input.CapacityReservationSpecification != null && {
5150
+ CapacityReservationSpecification: serializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails(input.CapacityReservationSpecification, context),
5151
+ }),
5152
+ ...(input.CpuOptions != null && {
5153
+ CpuOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataCpuOptionsDetails(input.CpuOptions, context),
5154
+ }),
5155
+ ...(input.CreditSpecification != null && {
5156
+ CreditSpecification: serializeAws_restJson1AwsEc2LaunchTemplateDataCreditSpecificationDetails(input.CreditSpecification, context),
5157
+ }),
5158
+ ...(input.DisableApiStop != null && { DisableApiStop: input.DisableApiStop }),
5159
+ ...(input.DisableApiTermination != null && { DisableApiTermination: input.DisableApiTermination }),
5160
+ ...(input.EbsOptimized != null && { EbsOptimized: input.EbsOptimized }),
5161
+ ...(input.ElasticGpuSpecificationSet != null && {
5162
+ ElasticGpuSpecificationSet: serializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList(input.ElasticGpuSpecificationSet, context),
5163
+ }),
5164
+ ...(input.ElasticInferenceAcceleratorSet != null && {
5165
+ ElasticInferenceAcceleratorSet: serializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList(input.ElasticInferenceAcceleratorSet, context),
5166
+ }),
5167
+ ...(input.EnclaveOptions != null && {
5168
+ EnclaveOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataEnclaveOptionsDetails(input.EnclaveOptions, context),
5169
+ }),
5170
+ ...(input.HibernationOptions != null && {
5171
+ HibernationOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataHibernationOptionsDetails(input.HibernationOptions, context),
5172
+ }),
5173
+ ...(input.IamInstanceProfile != null && {
5174
+ IamInstanceProfile: serializeAws_restJson1AwsEc2LaunchTemplateDataIamInstanceProfileDetails(input.IamInstanceProfile, context),
5175
+ }),
5176
+ ...(input.ImageId != null && { ImageId: input.ImageId }),
5177
+ ...(input.InstanceInitiatedShutdownBehavior != null && {
5178
+ InstanceInitiatedShutdownBehavior: input.InstanceInitiatedShutdownBehavior,
5179
+ }),
5180
+ ...(input.InstanceMarketOptions != null && {
5181
+ InstanceMarketOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails(input.InstanceMarketOptions, context),
5182
+ }),
5183
+ ...(input.InstanceRequirements != null && {
5184
+ InstanceRequirements: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsDetails(input.InstanceRequirements, context),
5185
+ }),
5186
+ ...(input.InstanceType != null && { InstanceType: input.InstanceType }),
5187
+ ...(input.KernelId != null && { KernelId: input.KernelId }),
5188
+ ...(input.KeyName != null && { KeyName: input.KeyName }),
5189
+ ...(input.LicenseSet != null && {
5190
+ LicenseSet: serializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetList(input.LicenseSet, context),
5191
+ }),
5192
+ ...(input.MaintenanceOptions != null && {
5193
+ MaintenanceOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataMaintenanceOptionsDetails(input.MaintenanceOptions, context),
5194
+ }),
5195
+ ...(input.MetadataOptions != null && {
5196
+ MetadataOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataMetadataOptionsDetails(input.MetadataOptions, context),
5197
+ }),
5198
+ ...(input.Monitoring != null && {
5199
+ Monitoring: serializeAws_restJson1AwsEc2LaunchTemplateDataMonitoringDetails(input.Monitoring, context),
5200
+ }),
5201
+ ...(input.NetworkInterfaceSet != null && {
5202
+ NetworkInterfaceSet: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetList(input.NetworkInterfaceSet, context),
5203
+ }),
5204
+ ...(input.Placement != null && {
5205
+ Placement: serializeAws_restJson1AwsEc2LaunchTemplateDataPlacementDetails(input.Placement, context),
5206
+ }),
5207
+ ...(input.PrivateDnsNameOptions != null && {
5208
+ PrivateDnsNameOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails(input.PrivateDnsNameOptions, context),
5209
+ }),
5210
+ ...(input.RamDiskId != null && { RamDiskId: input.RamDiskId }),
5211
+ ...(input.SecurityGroupIdSet != null && {
5212
+ SecurityGroupIdSet: serializeAws_restJson1NonEmptyStringList(input.SecurityGroupIdSet, context),
5213
+ }),
5214
+ ...(input.SecurityGroupSet != null && {
5215
+ SecurityGroupSet: serializeAws_restJson1NonEmptyStringList(input.SecurityGroupSet, context),
5216
+ }),
5217
+ ...(input.UserData != null && { UserData: input.UserData }),
5218
+ };
5219
+ };
5220
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails = (input, context) => {
5221
+ return {
5222
+ ...(input.Type != null && { Type: input.Type }),
5223
+ };
5224
+ };
5225
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList = (input, context) => {
5226
+ return input
5227
+ .filter((e) => e != null)
5228
+ .map((entry) => {
5229
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails(entry, context);
5230
+ });
5231
+ };
5232
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails = (input, context) => {
5233
+ return {
5234
+ ...(input.Count != null && { Count: input.Count }),
5235
+ ...(input.Type != null && { Type: input.Type }),
5236
+ };
5237
+ };
5238
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList = (input, context) => {
5239
+ return input
5240
+ .filter((e) => e != null)
5241
+ .map((entry) => {
5242
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails(entry, context);
5243
+ });
5244
+ };
5245
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataEnclaveOptionsDetails = (input, context) => {
5246
+ return {
5247
+ ...(input.Enabled != null && { Enabled: input.Enabled }),
5248
+ };
5249
+ };
5250
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataHibernationOptionsDetails = (input, context) => {
5251
+ return {
5252
+ ...(input.Configured != null && { Configured: input.Configured }),
5253
+ };
5254
+ };
5255
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataIamInstanceProfileDetails = (input, context) => {
5256
+ return {
5257
+ ...(input.Arn != null && { Arn: input.Arn }),
5258
+ ...(input.Name != null && { Name: input.Name }),
5259
+ };
5260
+ };
5261
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails = (input, context) => {
5262
+ return {
5263
+ ...(input.MarketType != null && { MarketType: input.MarketType }),
5264
+ ...(input.SpotOptions != null && {
5265
+ SpotOptions: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails(input.SpotOptions, context),
5266
+ }),
5267
+ };
5268
+ };
5269
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails = (input, context) => {
5270
+ return {
5271
+ ...(input.BlockDurationMinutes != null && { BlockDurationMinutes: input.BlockDurationMinutes }),
5272
+ ...(input.InstanceInterruptionBehavior != null && {
5273
+ InstanceInterruptionBehavior: input.InstanceInterruptionBehavior,
5274
+ }),
5275
+ ...(input.MaxPrice != null && { MaxPrice: input.MaxPrice }),
5276
+ ...(input.SpotInstanceType != null && { SpotInstanceType: input.SpotInstanceType }),
5277
+ ...(input.ValidUntil != null && { ValidUntil: input.ValidUntil }),
5278
+ };
5279
+ };
5280
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails = (input, context) => {
5281
+ return {
5282
+ ...(input.Max != null && { Max: input.Max }),
5283
+ ...(input.Min != null && { Min: input.Min }),
5284
+ };
5285
+ };
5286
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails = (input, context) => {
5287
+ return {
5288
+ ...(input.Max != null && { Max: input.Max }),
5289
+ ...(input.Min != null && { Min: input.Min }),
5290
+ };
5291
+ };
5292
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails = (input, context) => {
5293
+ return {
5294
+ ...(input.Max != null && { Max: input.Max }),
5295
+ ...(input.Min != null && { Min: input.Min }),
5296
+ };
5297
+ };
5298
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsDetails = (input, context) => {
5299
+ return {
5300
+ ...(input.AcceleratorCount != null && {
5301
+ AcceleratorCount: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails(input.AcceleratorCount, context),
5302
+ }),
5303
+ ...(input.AcceleratorManufacturers != null && {
5304
+ AcceleratorManufacturers: serializeAws_restJson1NonEmptyStringList(input.AcceleratorManufacturers, context),
5305
+ }),
5306
+ ...(input.AcceleratorNames != null && {
5307
+ AcceleratorNames: serializeAws_restJson1NonEmptyStringList(input.AcceleratorNames, context),
5308
+ }),
5309
+ ...(input.AcceleratorTotalMemoryMiB != null && {
5310
+ AcceleratorTotalMemoryMiB: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails(input.AcceleratorTotalMemoryMiB, context),
5311
+ }),
5312
+ ...(input.AcceleratorTypes != null && {
5313
+ AcceleratorTypes: serializeAws_restJson1NonEmptyStringList(input.AcceleratorTypes, context),
5314
+ }),
5315
+ ...(input.BareMetal != null && { BareMetal: input.BareMetal }),
5316
+ ...(input.BaselineEbsBandwidthMbps != null && {
5317
+ BaselineEbsBandwidthMbps: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails(input.BaselineEbsBandwidthMbps, context),
5318
+ }),
5319
+ ...(input.BurstablePerformance != null && { BurstablePerformance: input.BurstablePerformance }),
5320
+ ...(input.CpuManufacturers != null && {
5321
+ CpuManufacturers: serializeAws_restJson1NonEmptyStringList(input.CpuManufacturers, context),
5322
+ }),
5323
+ ...(input.ExcludedInstanceTypes != null && {
5324
+ ExcludedInstanceTypes: serializeAws_restJson1NonEmptyStringList(input.ExcludedInstanceTypes, context),
5325
+ }),
5326
+ ...(input.InstanceGenerations != null && {
5327
+ InstanceGenerations: serializeAws_restJson1NonEmptyStringList(input.InstanceGenerations, context),
5328
+ }),
5329
+ ...(input.LocalStorage != null && { LocalStorage: input.LocalStorage }),
5330
+ ...(input.LocalStorageTypes != null && {
5331
+ LocalStorageTypes: serializeAws_restJson1NonEmptyStringList(input.LocalStorageTypes, context),
5332
+ }),
5333
+ ...(input.MemoryGiBPerVCpu != null && {
5334
+ MemoryGiBPerVCpu: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails(input.MemoryGiBPerVCpu, context),
5335
+ }),
5336
+ ...(input.MemoryMiB != null && {
5337
+ MemoryMiB: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails(input.MemoryMiB, context),
5338
+ }),
5339
+ ...(input.NetworkInterfaceCount != null && {
5340
+ NetworkInterfaceCount: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails(input.NetworkInterfaceCount, context),
5341
+ }),
5342
+ ...(input.OnDemandMaxPricePercentageOverLowestPrice != null && {
5343
+ OnDemandMaxPricePercentageOverLowestPrice: input.OnDemandMaxPricePercentageOverLowestPrice,
5344
+ }),
5345
+ ...(input.RequireHibernateSupport != null && { RequireHibernateSupport: input.RequireHibernateSupport }),
5346
+ ...(input.SpotMaxPricePercentageOverLowestPrice != null && {
5347
+ SpotMaxPricePercentageOverLowestPrice: input.SpotMaxPricePercentageOverLowestPrice,
5348
+ }),
5349
+ ...(input.TotalLocalStorageGB != null && {
5350
+ TotalLocalStorageGB: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(input.TotalLocalStorageGB, context),
5351
+ }),
5352
+ ...(input.VCpuCount != null && {
5353
+ VCpuCount: serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails(input.VCpuCount, context),
5354
+ }),
5355
+ };
5356
+ };
5357
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails = (input, context) => {
5358
+ return {
5359
+ ...(input.Max != null && { Max: __serializeFloat(input.Max) }),
5360
+ ...(input.Min != null && { Min: __serializeFloat(input.Min) }),
5361
+ };
5362
+ };
5363
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails = (input, context) => {
5364
+ return {
5365
+ ...(input.Max != null && { Max: input.Max }),
5366
+ ...(input.Min != null && { Min: input.Min }),
5367
+ };
5368
+ };
5369
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails = (input, context) => {
5370
+ return {
5371
+ ...(input.Max != null && { Max: input.Max }),
5372
+ ...(input.Min != null && { Min: input.Min }),
5373
+ };
5374
+ };
5375
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails = (input, context) => {
5376
+ return {
5377
+ ...(input.Max != null && { Max: __serializeFloat(input.Max) }),
5378
+ ...(input.Min != null && { Min: __serializeFloat(input.Min) }),
5379
+ };
5380
+ };
5381
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails = (input, context) => {
5382
+ return {
5383
+ ...(input.Max != null && { Max: input.Max }),
5384
+ ...(input.Min != null && { Min: input.Min }),
5385
+ };
5386
+ };
5387
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetDetails = (input, context) => {
5388
+ return {
5389
+ ...(input.LicenseConfigurationArn != null && { LicenseConfigurationArn: input.LicenseConfigurationArn }),
5390
+ };
5391
+ };
5392
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetList = (input, context) => {
5393
+ return input
5394
+ .filter((e) => e != null)
5395
+ .map((entry) => {
5396
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetDetails(entry, context);
5397
+ });
5398
+ };
5399
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataMaintenanceOptionsDetails = (input, context) => {
5400
+ return {
5401
+ ...(input.AutoRecovery != null && { AutoRecovery: input.AutoRecovery }),
5402
+ };
5403
+ };
5404
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataMetadataOptionsDetails = (input, context) => {
5405
+ return {
5406
+ ...(input.HttpEndpoint != null && { HttpEndpoint: input.HttpEndpoint }),
5407
+ ...(input.HttpProtocolIpv6 != null && { HttpProtocolIpv6: input.HttpProtocolIpv6 }),
5408
+ ...(input.HttpPutResponseHopLimit != null && { HttpPutResponseHopLimit: input.HttpPutResponseHopLimit }),
5409
+ ...(input.HttpTokens != null && { HttpTokens: input.HttpTokens }),
5410
+ ...(input.InstanceMetadataTags != null && { InstanceMetadataTags: input.InstanceMetadataTags }),
5411
+ };
5412
+ };
5413
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataMonitoringDetails = (input, context) => {
5414
+ return {
5415
+ ...(input.Enabled != null && { Enabled: input.Enabled }),
5416
+ };
5417
+ };
5418
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails = (input, context) => {
5419
+ return {
5420
+ ...(input.AssociateCarrierIpAddress != null && { AssociateCarrierIpAddress: input.AssociateCarrierIpAddress }),
5421
+ ...(input.AssociatePublicIpAddress != null && { AssociatePublicIpAddress: input.AssociatePublicIpAddress }),
5422
+ ...(input.DeleteOnTermination != null && { DeleteOnTermination: input.DeleteOnTermination }),
5423
+ ...(input.Description != null && { Description: input.Description }),
5424
+ ...(input.DeviceIndex != null && { DeviceIndex: input.DeviceIndex }),
5425
+ ...(input.Groups != null && { Groups: serializeAws_restJson1NonEmptyStringList(input.Groups, context) }),
5426
+ ...(input.InterfaceType != null && { InterfaceType: input.InterfaceType }),
5427
+ ...(input.Ipv4PrefixCount != null && { Ipv4PrefixCount: input.Ipv4PrefixCount }),
5428
+ ...(input.Ipv4Prefixes != null && {
5429
+ Ipv4Prefixes: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList(input.Ipv4Prefixes, context),
5430
+ }),
5431
+ ...(input.Ipv6AddressCount != null && { Ipv6AddressCount: input.Ipv6AddressCount }),
5432
+ ...(input.Ipv6Addresses != null && {
5433
+ Ipv6Addresses: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList(input.Ipv6Addresses, context),
5434
+ }),
5435
+ ...(input.Ipv6PrefixCount != null && { Ipv6PrefixCount: input.Ipv6PrefixCount }),
5436
+ ...(input.Ipv6Prefixes != null && {
5437
+ Ipv6Prefixes: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList(input.Ipv6Prefixes, context),
5438
+ }),
5439
+ ...(input.NetworkCardIndex != null && { NetworkCardIndex: input.NetworkCardIndex }),
5440
+ ...(input.NetworkInterfaceId != null && { NetworkInterfaceId: input.NetworkInterfaceId }),
5441
+ ...(input.PrivateIpAddress != null && { PrivateIpAddress: input.PrivateIpAddress }),
5442
+ ...(input.PrivateIpAddresses != null && {
5443
+ PrivateIpAddresses: serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList(input.PrivateIpAddresses, context),
5444
+ }),
5445
+ ...(input.SecondaryPrivateIpAddressCount != null && {
5446
+ SecondaryPrivateIpAddressCount: input.SecondaryPrivateIpAddressCount,
5447
+ }),
5448
+ ...(input.SubnetId != null && { SubnetId: input.SubnetId }),
5449
+ };
5450
+ };
5451
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails = (input, context) => {
5452
+ return {
5453
+ ...(input.Ipv4Prefix != null && { Ipv4Prefix: input.Ipv4Prefix }),
5454
+ };
5455
+ };
5456
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList = (input, context) => {
5457
+ return input
5458
+ .filter((e) => e != null)
5459
+ .map((entry) => {
5460
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails(entry, context);
5461
+ });
5462
+ };
5463
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails = (input, context) => {
5464
+ return {
5465
+ ...(input.Ipv6Address != null && { Ipv6Address: input.Ipv6Address }),
5466
+ };
5467
+ };
5468
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList = (input, context) => {
5469
+ return input
5470
+ .filter((e) => e != null)
5471
+ .map((entry) => {
5472
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails(entry, context);
5473
+ });
5474
+ };
5475
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails = (input, context) => {
5476
+ return {
5477
+ ...(input.Ipv6Prefix != null && { Ipv6Prefix: input.Ipv6Prefix }),
5478
+ };
5479
+ };
5480
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList = (input, context) => {
5481
+ return input
5482
+ .filter((e) => e != null)
5483
+ .map((entry) => {
5484
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails(entry, context);
5485
+ });
5486
+ };
5487
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetList = (input, context) => {
5488
+ return input
5489
+ .filter((e) => e != null)
5490
+ .map((entry) => {
5491
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails(entry, context);
5492
+ });
5493
+ };
5494
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails = (input, context) => {
5495
+ return {
5496
+ ...(input.Primary != null && { Primary: input.Primary }),
5497
+ ...(input.PrivateIpAddress != null && { PrivateIpAddress: input.PrivateIpAddress }),
5498
+ };
5499
+ };
5500
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList = (input, context) => {
5501
+ return input
5502
+ .filter((e) => e != null)
5503
+ .map((entry) => {
5504
+ return serializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails(entry, context);
5505
+ });
5506
+ };
5507
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataPlacementDetails = (input, context) => {
5508
+ return {
5509
+ ...(input.Affinity != null && { Affinity: input.Affinity }),
5510
+ ...(input.AvailabilityZone != null && { AvailabilityZone: input.AvailabilityZone }),
5511
+ ...(input.GroupName != null && { GroupName: input.GroupName }),
5512
+ ...(input.HostId != null && { HostId: input.HostId }),
5513
+ ...(input.HostResourceGroupArn != null && { HostResourceGroupArn: input.HostResourceGroupArn }),
5514
+ ...(input.PartitionNumber != null && { PartitionNumber: input.PartitionNumber }),
5515
+ ...(input.SpreadDomain != null && { SpreadDomain: input.SpreadDomain }),
5516
+ ...(input.Tenancy != null && { Tenancy: input.Tenancy }),
5517
+ };
5518
+ };
5519
+ const serializeAws_restJson1AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails = (input, context) => {
5520
+ return {
5521
+ ...(input.EnableResourceNameDnsAAAARecord != null && {
5522
+ EnableResourceNameDnsAAAARecord: input.EnableResourceNameDnsAAAARecord,
5523
+ }),
5524
+ ...(input.EnableResourceNameDnsARecord != null && {
5525
+ EnableResourceNameDnsARecord: input.EnableResourceNameDnsARecord,
5526
+ }),
5527
+ ...(input.HostnameType != null && { HostnameType: input.HostnameType }),
5528
+ };
5529
+ };
5530
+ const serializeAws_restJson1AwsEc2LaunchTemplateDetails = (input, context) => {
5531
+ return {
5532
+ ...(input.DefaultVersionNumber != null && { DefaultVersionNumber: input.DefaultVersionNumber }),
5533
+ ...(input.Id != null && { Id: input.Id }),
5534
+ ...(input.LatestVersionNumber != null && { LatestVersionNumber: input.LatestVersionNumber }),
5535
+ ...(input.LaunchTemplateData != null && {
5536
+ LaunchTemplateData: serializeAws_restJson1AwsEc2LaunchTemplateDataDetails(input.LaunchTemplateData, context),
5537
+ }),
5538
+ ...(input.LaunchTemplateName != null && { LaunchTemplateName: input.LaunchTemplateName }),
5539
+ };
5540
+ };
5086
5541
  const serializeAws_restJson1AwsEc2NetworkAclAssociation = (input, context) => {
5087
5542
  return {
5088
5543
  ...(input.NetworkAclAssociationId != null && { NetworkAclAssociationId: input.NetworkAclAssociationId }),
@@ -8444,19 +8899,60 @@ const serializeAws_restJson1AwsS3ObjectDetails = (input, context) => {
8444
8899
  ...(input.VersionId != null && { VersionId: input.VersionId }),
8445
8900
  };
8446
8901
  };
8447
- const serializeAws_restJson1AwsSecretsManagerSecretDetails = (input, context) => {
8902
+ const serializeAws_restJson1AwsSageMakerNotebookInstanceDetails = (input, context) => {
8448
8903
  return {
8449
- ...(input.Deleted != null && { Deleted: input.Deleted }),
8450
- ...(input.Description != null && { Description: input.Description }),
8451
- ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
8452
- ...(input.Name != null && { Name: input.Name }),
8453
- ...(input.RotationEnabled != null && { RotationEnabled: input.RotationEnabled }),
8454
- ...(input.RotationLambdaArn != null && { RotationLambdaArn: input.RotationLambdaArn }),
8455
- ...(input.RotationOccurredWithinFrequency != null && {
8456
- RotationOccurredWithinFrequency: input.RotationOccurredWithinFrequency,
8904
+ ...(input.AcceleratorTypes != null && {
8905
+ AcceleratorTypes: serializeAws_restJson1NonEmptyStringList(input.AcceleratorTypes, context),
8457
8906
  }),
8458
- ...(input.RotationRules != null && {
8459
- RotationRules: serializeAws_restJson1AwsSecretsManagerSecretRotationRules(input.RotationRules, context),
8907
+ ...(input.AdditionalCodeRepositories != null && {
8908
+ AdditionalCodeRepositories: serializeAws_restJson1NonEmptyStringList(input.AdditionalCodeRepositories, context),
8909
+ }),
8910
+ ...(input.DefaultCodeRepository != null && { DefaultCodeRepository: input.DefaultCodeRepository }),
8911
+ ...(input.DirectInternetAccess != null && { DirectInternetAccess: input.DirectInternetAccess }),
8912
+ ...(input.FailureReason != null && { FailureReason: input.FailureReason }),
8913
+ ...(input.InstanceMetadataServiceConfiguration != null && {
8914
+ InstanceMetadataServiceConfiguration: serializeAws_restJson1AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails(input.InstanceMetadataServiceConfiguration, context),
8915
+ }),
8916
+ ...(input.InstanceType != null && { InstanceType: input.InstanceType }),
8917
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
8918
+ ...(input.NetworkInterfaceId != null && { NetworkInterfaceId: input.NetworkInterfaceId }),
8919
+ ...(input.NotebookInstanceArn != null && { NotebookInstanceArn: input.NotebookInstanceArn }),
8920
+ ...(input.NotebookInstanceLifecycleConfigName != null && {
8921
+ NotebookInstanceLifecycleConfigName: input.NotebookInstanceLifecycleConfigName,
8922
+ }),
8923
+ ...(input.NotebookInstanceName != null && { NotebookInstanceName: input.NotebookInstanceName }),
8924
+ ...(input.NotebookInstanceStatus != null && { NotebookInstanceStatus: input.NotebookInstanceStatus }),
8925
+ ...(input.PlatformIdentifier != null && { PlatformIdentifier: input.PlatformIdentifier }),
8926
+ ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
8927
+ ...(input.RootAccess != null && { RootAccess: input.RootAccess }),
8928
+ ...(input.SecurityGroups != null && {
8929
+ SecurityGroups: serializeAws_restJson1NonEmptyStringList(input.SecurityGroups, context),
8930
+ }),
8931
+ ...(input.SubnetId != null && { SubnetId: input.SubnetId }),
8932
+ ...(input.Url != null && { Url: input.Url }),
8933
+ ...(input.VolumeSizeInGB != null && { VolumeSizeInGB: input.VolumeSizeInGB }),
8934
+ };
8935
+ };
8936
+ const serializeAws_restJson1AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails = (input, context) => {
8937
+ return {
8938
+ ...(input.MinimumInstanceMetadataServiceVersion != null && {
8939
+ MinimumInstanceMetadataServiceVersion: input.MinimumInstanceMetadataServiceVersion,
8940
+ }),
8941
+ };
8942
+ };
8943
+ const serializeAws_restJson1AwsSecretsManagerSecretDetails = (input, context) => {
8944
+ return {
8945
+ ...(input.Deleted != null && { Deleted: input.Deleted }),
8946
+ ...(input.Description != null && { Description: input.Description }),
8947
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
8948
+ ...(input.Name != null && { Name: input.Name }),
8949
+ ...(input.RotationEnabled != null && { RotationEnabled: input.RotationEnabled }),
8950
+ ...(input.RotationLambdaArn != null && { RotationLambdaArn: input.RotationLambdaArn }),
8951
+ ...(input.RotationOccurredWithinFrequency != null && {
8952
+ RotationOccurredWithinFrequency: input.RotationOccurredWithinFrequency,
8953
+ }),
8954
+ ...(input.RotationRules != null && {
8955
+ RotationRules: serializeAws_restJson1AwsSecretsManagerSecretRotationRules(input.RotationRules, context),
8460
8956
  }),
8461
8957
  };
8462
8958
  };
@@ -9085,6 +9581,150 @@ const serializeAws_restJson1AwsWafRulePredicateListDetails = (input, context) =>
9085
9581
  ...(input.Type != null && { Type: input.Type }),
9086
9582
  };
9087
9583
  };
9584
+ const serializeAws_restJson1AwsWafv2ActionAllowDetails = (input, context) => {
9585
+ return {
9586
+ ...(input.CustomRequestHandling != null && {
9587
+ CustomRequestHandling: serializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(input.CustomRequestHandling, context),
9588
+ }),
9589
+ };
9590
+ };
9591
+ const serializeAws_restJson1AwsWafv2ActionBlockDetails = (input, context) => {
9592
+ return {
9593
+ ...(input.CustomResponse != null && {
9594
+ CustomResponse: serializeAws_restJson1AwsWafv2CustomResponseDetails(input.CustomResponse, context),
9595
+ }),
9596
+ };
9597
+ };
9598
+ const serializeAws_restJson1AwsWafv2CustomHttpHeader = (input, context) => {
9599
+ return {
9600
+ ...(input.Name != null && { Name: input.Name }),
9601
+ ...(input.Value != null && { Value: input.Value }),
9602
+ };
9603
+ };
9604
+ const serializeAws_restJson1AwsWafv2CustomRequestHandlingDetails = (input, context) => {
9605
+ return {
9606
+ ...(input.InsertHeaders != null && {
9607
+ InsertHeaders: serializeAws_restJson1AwsWafv2InsertHeadersList(input.InsertHeaders, context),
9608
+ }),
9609
+ };
9610
+ };
9611
+ const serializeAws_restJson1AwsWafv2CustomResponseDetails = (input, context) => {
9612
+ return {
9613
+ ...(input.CustomResponseBodyKey != null && { CustomResponseBodyKey: input.CustomResponseBodyKey }),
9614
+ ...(input.ResponseCode != null && { ResponseCode: input.ResponseCode }),
9615
+ ...(input.ResponseHeaders != null && {
9616
+ ResponseHeaders: serializeAws_restJson1AwsWafv2InsertHeadersList(input.ResponseHeaders, context),
9617
+ }),
9618
+ };
9619
+ };
9620
+ const serializeAws_restJson1AwsWafv2InsertHeadersList = (input, context) => {
9621
+ return input
9622
+ .filter((e) => e != null)
9623
+ .map((entry) => {
9624
+ return serializeAws_restJson1AwsWafv2CustomHttpHeader(entry, context);
9625
+ });
9626
+ };
9627
+ const serializeAws_restJson1AwsWafv2RuleGroupDetails = (input, context) => {
9628
+ return {
9629
+ ...(input.Arn != null && { Arn: input.Arn }),
9630
+ ...(input.Capacity != null && { Capacity: input.Capacity }),
9631
+ ...(input.Description != null && { Description: input.Description }),
9632
+ ...(input.Id != null && { Id: input.Id }),
9633
+ ...(input.Name != null && { Name: input.Name }),
9634
+ ...(input.Rules != null && { Rules: serializeAws_restJson1AwsWafv2RulesList(input.Rules, context) }),
9635
+ ...(input.Scope != null && { Scope: input.Scope }),
9636
+ ...(input.VisibilityConfig != null && {
9637
+ VisibilityConfig: serializeAws_restJson1AwsWafv2VisibilityConfigDetails(input.VisibilityConfig, context),
9638
+ }),
9639
+ };
9640
+ };
9641
+ const serializeAws_restJson1AwsWafv2RulesActionCaptchaDetails = (input, context) => {
9642
+ return {
9643
+ ...(input.CustomRequestHandling != null && {
9644
+ CustomRequestHandling: serializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(input.CustomRequestHandling, context),
9645
+ }),
9646
+ };
9647
+ };
9648
+ const serializeAws_restJson1AwsWafv2RulesActionCountDetails = (input, context) => {
9649
+ return {
9650
+ ...(input.CustomRequestHandling != null && {
9651
+ CustomRequestHandling: serializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(input.CustomRequestHandling, context),
9652
+ }),
9653
+ };
9654
+ };
9655
+ const serializeAws_restJson1AwsWafv2RulesActionDetails = (input, context) => {
9656
+ return {
9657
+ ...(input.Allow != null && { Allow: serializeAws_restJson1AwsWafv2ActionAllowDetails(input.Allow, context) }),
9658
+ ...(input.Block != null && { Block: serializeAws_restJson1AwsWafv2ActionBlockDetails(input.Block, context) }),
9659
+ ...(input.Captcha != null && {
9660
+ Captcha: serializeAws_restJson1AwsWafv2RulesActionCaptchaDetails(input.Captcha, context),
9661
+ }),
9662
+ ...(input.Count != null && { Count: serializeAws_restJson1AwsWafv2RulesActionCountDetails(input.Count, context) }),
9663
+ };
9664
+ };
9665
+ const serializeAws_restJson1AwsWafv2RulesDetails = (input, context) => {
9666
+ return {
9667
+ ...(input.Action != null && { Action: serializeAws_restJson1AwsWafv2RulesActionDetails(input.Action, context) }),
9668
+ ...(input.Name != null && { Name: input.Name }),
9669
+ ...(input.OverrideAction != null && { OverrideAction: input.OverrideAction }),
9670
+ ...(input.Priority != null && { Priority: input.Priority }),
9671
+ ...(input.VisibilityConfig != null && {
9672
+ VisibilityConfig: serializeAws_restJson1AwsWafv2VisibilityConfigDetails(input.VisibilityConfig, context),
9673
+ }),
9674
+ };
9675
+ };
9676
+ const serializeAws_restJson1AwsWafv2RulesList = (input, context) => {
9677
+ return input
9678
+ .filter((e) => e != null)
9679
+ .map((entry) => {
9680
+ return serializeAws_restJson1AwsWafv2RulesDetails(entry, context);
9681
+ });
9682
+ };
9683
+ const serializeAws_restJson1AwsWafv2VisibilityConfigDetails = (input, context) => {
9684
+ return {
9685
+ ...(input.CloudWatchMetricsEnabled != null && { CloudWatchMetricsEnabled: input.CloudWatchMetricsEnabled }),
9686
+ ...(input.MetricName != null && { MetricName: input.MetricName }),
9687
+ ...(input.SampledRequestsEnabled != null && { SampledRequestsEnabled: input.SampledRequestsEnabled }),
9688
+ };
9689
+ };
9690
+ const serializeAws_restJson1AwsWafv2WebAclActionDetails = (input, context) => {
9691
+ return {
9692
+ ...(input.Allow != null && { Allow: serializeAws_restJson1AwsWafv2ActionAllowDetails(input.Allow, context) }),
9693
+ ...(input.Block != null && { Block: serializeAws_restJson1AwsWafv2ActionBlockDetails(input.Block, context) }),
9694
+ };
9695
+ };
9696
+ const serializeAws_restJson1AwsWafv2WebAclCaptchaConfigDetails = (input, context) => {
9697
+ return {
9698
+ ...(input.ImmunityTimeProperty != null && {
9699
+ ImmunityTimeProperty: serializeAws_restJson1AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails(input.ImmunityTimeProperty, context),
9700
+ }),
9701
+ };
9702
+ };
9703
+ const serializeAws_restJson1AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails = (input, context) => {
9704
+ return {
9705
+ ...(input.ImmunityTime != null && { ImmunityTime: input.ImmunityTime }),
9706
+ };
9707
+ };
9708
+ const serializeAws_restJson1AwsWafv2WebAclDetails = (input, context) => {
9709
+ return {
9710
+ ...(input.Arn != null && { Arn: input.Arn }),
9711
+ ...(input.Capacity != null && { Capacity: input.Capacity }),
9712
+ ...(input.CaptchaConfig != null && {
9713
+ CaptchaConfig: serializeAws_restJson1AwsWafv2WebAclCaptchaConfigDetails(input.CaptchaConfig, context),
9714
+ }),
9715
+ ...(input.DefaultAction != null && {
9716
+ DefaultAction: serializeAws_restJson1AwsWafv2WebAclActionDetails(input.DefaultAction, context),
9717
+ }),
9718
+ ...(input.Description != null && { Description: input.Description }),
9719
+ ...(input.Id != null && { Id: input.Id }),
9720
+ ...(input.ManagedbyFirewallManager != null && { ManagedbyFirewallManager: input.ManagedbyFirewallManager }),
9721
+ ...(input.Name != null && { Name: input.Name }),
9722
+ ...(input.Rules != null && { Rules: serializeAws_restJson1AwsWafv2RulesList(input.Rules, context) }),
9723
+ ...(input.VisibilityConfig != null && {
9724
+ VisibilityConfig: serializeAws_restJson1AwsWafv2VisibilityConfigDetails(input.VisibilityConfig, context),
9725
+ }),
9726
+ };
9727
+ };
9088
9728
  const serializeAws_restJson1AwsWafWebAclDetails = (input, context) => {
9089
9729
  return {
9090
9730
  ...(input.DefaultAction != null && { DefaultAction: input.DefaultAction }),
@@ -9817,6 +10457,9 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
9817
10457
  ...(input.AwsEc2Instance != null && {
9818
10458
  AwsEc2Instance: serializeAws_restJson1AwsEc2InstanceDetails(input.AwsEc2Instance, context),
9819
10459
  }),
10460
+ ...(input.AwsEc2LaunchTemplate != null && {
10461
+ AwsEc2LaunchTemplate: serializeAws_restJson1AwsEc2LaunchTemplateDetails(input.AwsEc2LaunchTemplate, context),
10462
+ }),
9820
10463
  ...(input.AwsEc2NetworkAcl != null && {
9821
10464
  AwsEc2NetworkAcl: serializeAws_restJson1AwsEc2NetworkAclDetails(input.AwsEc2NetworkAcl, context),
9822
10465
  }),
@@ -9945,6 +10588,9 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
9945
10588
  ...(input.AwsS3Object != null && {
9946
10589
  AwsS3Object: serializeAws_restJson1AwsS3ObjectDetails(input.AwsS3Object, context),
9947
10590
  }),
10591
+ ...(input.AwsSageMakerNotebookInstance != null && {
10592
+ AwsSageMakerNotebookInstance: serializeAws_restJson1AwsSageMakerNotebookInstanceDetails(input.AwsSageMakerNotebookInstance, context),
10593
+ }),
9948
10594
  ...(input.AwsSecretsManagerSecret != null && {
9949
10595
  AwsSecretsManagerSecret: serializeAws_restJson1AwsSecretsManagerSecretDetails(input.AwsSecretsManagerSecret, context),
9950
10596
  }),
@@ -9979,6 +10625,12 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
9979
10625
  ...(input.AwsWafWebAcl != null && {
9980
10626
  AwsWafWebAcl: serializeAws_restJson1AwsWafWebAclDetails(input.AwsWafWebAcl, context),
9981
10627
  }),
10628
+ ...(input.AwsWafv2RuleGroup != null && {
10629
+ AwsWafv2RuleGroup: serializeAws_restJson1AwsWafv2RuleGroupDetails(input.AwsWafv2RuleGroup, context),
10630
+ }),
10631
+ ...(input.AwsWafv2WebAcl != null && {
10632
+ AwsWafv2WebAcl: serializeAws_restJson1AwsWafv2WebAclDetails(input.AwsWafv2WebAcl, context),
10633
+ }),
9982
10634
  ...(input.AwsXrayEncryptionConfig != null && {
9983
10635
  AwsXrayEncryptionConfig: serializeAws_restJson1AwsXrayEncryptionConfigDetails(input.AwsXrayEncryptionConfig, context),
9984
10636
  }),
@@ -11846,193 +12498,666 @@ const deserializeAws_restJson1AwsDynamoDbTableGlobalSecondaryIndexList = (output
11846
12498
  });
11847
12499
  return retVal;
11848
12500
  };
11849
- const deserializeAws_restJson1AwsDynamoDbTableKeySchema = (output, context) => {
12501
+ const deserializeAws_restJson1AwsDynamoDbTableKeySchema = (output, context) => {
12502
+ return {
12503
+ AttributeName: __expectString(output.AttributeName),
12504
+ KeyType: __expectString(output.KeyType),
12505
+ };
12506
+ };
12507
+ const deserializeAws_restJson1AwsDynamoDbTableKeySchemaList = (output, context) => {
12508
+ const retVal = (output || [])
12509
+ .filter((e) => e != null)
12510
+ .map((entry) => {
12511
+ if (entry === null) {
12512
+ return null;
12513
+ }
12514
+ return deserializeAws_restJson1AwsDynamoDbTableKeySchema(entry, context);
12515
+ });
12516
+ return retVal;
12517
+ };
12518
+ const deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndex = (output, context) => {
12519
+ return {
12520
+ IndexArn: __expectString(output.IndexArn),
12521
+ IndexName: __expectString(output.IndexName),
12522
+ KeySchema: output.KeySchema != null
12523
+ ? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
12524
+ : undefined,
12525
+ Projection: output.Projection != null
12526
+ ? deserializeAws_restJson1AwsDynamoDbTableProjection(output.Projection, context)
12527
+ : undefined,
12528
+ };
12529
+ };
12530
+ const deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndexList = (output, context) => {
12531
+ const retVal = (output || [])
12532
+ .filter((e) => e != null)
12533
+ .map((entry) => {
12534
+ if (entry === null) {
12535
+ return null;
12536
+ }
12537
+ return deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndex(entry, context);
12538
+ });
12539
+ return retVal;
12540
+ };
12541
+ const deserializeAws_restJson1AwsDynamoDbTableProjection = (output, context) => {
12542
+ return {
12543
+ NonKeyAttributes: output.NonKeyAttributes != null
12544
+ ? deserializeAws_restJson1StringList(output.NonKeyAttributes, context)
12545
+ : undefined,
12546
+ ProjectionType: __expectString(output.ProjectionType),
12547
+ };
12548
+ };
12549
+ const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughput = (output, context) => {
12550
+ return {
12551
+ LastDecreaseDateTime: __expectString(output.LastDecreaseDateTime),
12552
+ LastIncreaseDateTime: __expectString(output.LastIncreaseDateTime),
12553
+ NumberOfDecreasesToday: __expectInt32(output.NumberOfDecreasesToday),
12554
+ ReadCapacityUnits: __expectInt32(output.ReadCapacityUnits),
12555
+ WriteCapacityUnits: __expectInt32(output.WriteCapacityUnits),
12556
+ };
12557
+ };
12558
+ const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride = (output, context) => {
12559
+ return {
12560
+ ReadCapacityUnits: __expectInt32(output.ReadCapacityUnits),
12561
+ };
12562
+ };
12563
+ const deserializeAws_restJson1AwsDynamoDbTableReplica = (output, context) => {
12564
+ return {
12565
+ GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
12566
+ ? deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndexList(output.GlobalSecondaryIndexes, context)
12567
+ : undefined,
12568
+ KmsMasterKeyId: __expectString(output.KmsMasterKeyId),
12569
+ ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
12570
+ ? deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
12571
+ : undefined,
12572
+ RegionName: __expectString(output.RegionName),
12573
+ ReplicaStatus: __expectString(output.ReplicaStatus),
12574
+ ReplicaStatusDescription: __expectString(output.ReplicaStatusDescription),
12575
+ };
12576
+ };
12577
+ const deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndex = (output, context) => {
12578
+ return {
12579
+ IndexName: __expectString(output.IndexName),
12580
+ ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
12581
+ ? deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
12582
+ : undefined,
12583
+ };
12584
+ };
12585
+ const deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndexList = (output, context) => {
12586
+ const retVal = (output || [])
12587
+ .filter((e) => e != null)
12588
+ .map((entry) => {
12589
+ if (entry === null) {
12590
+ return null;
12591
+ }
12592
+ return deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndex(entry, context);
12593
+ });
12594
+ return retVal;
12595
+ };
12596
+ const deserializeAws_restJson1AwsDynamoDbTableReplicaList = (output, context) => {
12597
+ const retVal = (output || [])
12598
+ .filter((e) => e != null)
12599
+ .map((entry) => {
12600
+ if (entry === null) {
12601
+ return null;
12602
+ }
12603
+ return deserializeAws_restJson1AwsDynamoDbTableReplica(entry, context);
12604
+ });
12605
+ return retVal;
12606
+ };
12607
+ const deserializeAws_restJson1AwsDynamoDbTableRestoreSummary = (output, context) => {
12608
+ return {
12609
+ RestoreDateTime: __expectString(output.RestoreDateTime),
12610
+ RestoreInProgress: __expectBoolean(output.RestoreInProgress),
12611
+ SourceBackupArn: __expectString(output.SourceBackupArn),
12612
+ SourceTableArn: __expectString(output.SourceTableArn),
12613
+ };
12614
+ };
12615
+ const deserializeAws_restJson1AwsDynamoDbTableSseDescription = (output, context) => {
12616
+ return {
12617
+ InaccessibleEncryptionDateTime: __expectString(output.InaccessibleEncryptionDateTime),
12618
+ KmsMasterKeyArn: __expectString(output.KmsMasterKeyArn),
12619
+ SseType: __expectString(output.SseType),
12620
+ Status: __expectString(output.Status),
12621
+ };
12622
+ };
12623
+ const deserializeAws_restJson1AwsDynamoDbTableStreamSpecification = (output, context) => {
12624
+ return {
12625
+ StreamEnabled: __expectBoolean(output.StreamEnabled),
12626
+ StreamViewType: __expectString(output.StreamViewType),
12627
+ };
12628
+ };
12629
+ const deserializeAws_restJson1AwsEc2EipDetails = (output, context) => {
12630
+ return {
12631
+ AllocationId: __expectString(output.AllocationId),
12632
+ AssociationId: __expectString(output.AssociationId),
12633
+ Domain: __expectString(output.Domain),
12634
+ InstanceId: __expectString(output.InstanceId),
12635
+ NetworkBorderGroup: __expectString(output.NetworkBorderGroup),
12636
+ NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
12637
+ NetworkInterfaceOwnerId: __expectString(output.NetworkInterfaceOwnerId),
12638
+ PrivateIpAddress: __expectString(output.PrivateIpAddress),
12639
+ PublicIp: __expectString(output.PublicIp),
12640
+ PublicIpv4Pool: __expectString(output.PublicIpv4Pool),
12641
+ };
12642
+ };
12643
+ const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
12644
+ return {
12645
+ IamInstanceProfileArn: __expectString(output.IamInstanceProfileArn),
12646
+ ImageId: __expectString(output.ImageId),
12647
+ IpV4Addresses: output.IpV4Addresses != null ? deserializeAws_restJson1StringList(output.IpV4Addresses, context) : undefined,
12648
+ IpV6Addresses: output.IpV6Addresses != null ? deserializeAws_restJson1StringList(output.IpV6Addresses, context) : undefined,
12649
+ KeyName: __expectString(output.KeyName),
12650
+ LaunchedAt: __expectString(output.LaunchedAt),
12651
+ MetadataOptions: output.MetadataOptions != null
12652
+ ? deserializeAws_restJson1AwsEc2InstanceMetadataOptions(output.MetadataOptions, context)
12653
+ : undefined,
12654
+ NetworkInterfaces: output.NetworkInterfaces != null
12655
+ ? deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(output.NetworkInterfaces, context)
12656
+ : undefined,
12657
+ SubnetId: __expectString(output.SubnetId),
12658
+ Type: __expectString(output.Type),
12659
+ VirtualizationType: __expectString(output.VirtualizationType),
12660
+ VpcId: __expectString(output.VpcId),
12661
+ };
12662
+ };
12663
+ const deserializeAws_restJson1AwsEc2InstanceMetadataOptions = (output, context) => {
12664
+ return {
12665
+ HttpEndpoint: __expectString(output.HttpEndpoint),
12666
+ HttpProtocolIpv6: __expectString(output.HttpProtocolIpv6),
12667
+ HttpPutResponseHopLimit: __expectInt32(output.HttpPutResponseHopLimit),
12668
+ HttpTokens: __expectString(output.HttpTokens),
12669
+ InstanceMetadataTags: __expectString(output.InstanceMetadataTags),
12670
+ };
12671
+ };
12672
+ const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (output, context) => {
12673
+ return {
12674
+ NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
12675
+ };
12676
+ };
12677
+ const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList = (output, context) => {
12678
+ const retVal = (output || [])
12679
+ .filter((e) => e != null)
12680
+ .map((entry) => {
12681
+ if (entry === null) {
12682
+ return null;
12683
+ }
12684
+ return deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails(entry, context);
12685
+ });
12686
+ return retVal;
12687
+ };
12688
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails = (output, context) => {
12689
+ return {
12690
+ DeviceName: __expectString(output.DeviceName),
12691
+ Ebs: output.Ebs != null
12692
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails(output.Ebs, context)
12693
+ : undefined,
12694
+ NoDevice: __expectString(output.NoDevice),
12695
+ VirtualName: __expectString(output.VirtualName),
12696
+ };
12697
+ };
12698
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails = (output, context) => {
12699
+ return {
12700
+ DeleteOnTermination: __expectBoolean(output.DeleteOnTermination),
12701
+ Encrypted: __expectBoolean(output.Encrypted),
12702
+ Iops: __expectInt32(output.Iops),
12703
+ KmsKeyId: __expectString(output.KmsKeyId),
12704
+ SnapshotId: __expectString(output.SnapshotId),
12705
+ Throughput: __expectInt32(output.Throughput),
12706
+ VolumeSize: __expectInt32(output.VolumeSize),
12707
+ VolumeType: __expectString(output.VolumeType),
12708
+ };
12709
+ };
12710
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetList = (output, context) => {
12711
+ const retVal = (output || [])
12712
+ .filter((e) => e != null)
12713
+ .map((entry) => {
12714
+ if (entry === null) {
12715
+ return null;
12716
+ }
12717
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails(entry, context);
12718
+ });
12719
+ return retVal;
12720
+ };
12721
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails = (output, context) => {
12722
+ return {
12723
+ CapacityReservationId: __expectString(output.CapacityReservationId),
12724
+ CapacityReservationResourceGroupArn: __expectString(output.CapacityReservationResourceGroupArn),
12725
+ };
12726
+ };
12727
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails = (output, context) => {
12728
+ return {
12729
+ CapacityReservationPreference: __expectString(output.CapacityReservationPreference),
12730
+ CapacityReservationTarget: output.CapacityReservationTarget != null
12731
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails(output.CapacityReservationTarget, context)
12732
+ : undefined,
12733
+ };
12734
+ };
12735
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataCpuOptionsDetails = (output, context) => {
12736
+ return {
12737
+ CoreCount: __expectInt32(output.CoreCount),
12738
+ ThreadsPerCore: __expectInt32(output.ThreadsPerCore),
12739
+ };
12740
+ };
12741
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataCreditSpecificationDetails = (output, context) => {
12742
+ return {
12743
+ CpuCredits: __expectString(output.CpuCredits),
12744
+ };
12745
+ };
12746
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataDetails = (output, context) => {
12747
+ return {
12748
+ BlockDeviceMappingSet: output.BlockDeviceMappingSet != null
12749
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataBlockDeviceMappingSetList(output.BlockDeviceMappingSet, context)
12750
+ : undefined,
12751
+ CapacityReservationSpecification: output.CapacityReservationSpecification != null
12752
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails(output.CapacityReservationSpecification, context)
12753
+ : undefined,
12754
+ CpuOptions: output.CpuOptions != null
12755
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataCpuOptionsDetails(output.CpuOptions, context)
12756
+ : undefined,
12757
+ CreditSpecification: output.CreditSpecification != null
12758
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataCreditSpecificationDetails(output.CreditSpecification, context)
12759
+ : undefined,
12760
+ DisableApiStop: __expectBoolean(output.DisableApiStop),
12761
+ DisableApiTermination: __expectBoolean(output.DisableApiTermination),
12762
+ EbsOptimized: __expectBoolean(output.EbsOptimized),
12763
+ ElasticGpuSpecificationSet: output.ElasticGpuSpecificationSet != null
12764
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList(output.ElasticGpuSpecificationSet, context)
12765
+ : undefined,
12766
+ ElasticInferenceAcceleratorSet: output.ElasticInferenceAcceleratorSet != null
12767
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList(output.ElasticInferenceAcceleratorSet, context)
12768
+ : undefined,
12769
+ EnclaveOptions: output.EnclaveOptions != null
12770
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataEnclaveOptionsDetails(output.EnclaveOptions, context)
12771
+ : undefined,
12772
+ HibernationOptions: output.HibernationOptions != null
12773
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataHibernationOptionsDetails(output.HibernationOptions, context)
12774
+ : undefined,
12775
+ IamInstanceProfile: output.IamInstanceProfile != null
12776
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataIamInstanceProfileDetails(output.IamInstanceProfile, context)
12777
+ : undefined,
12778
+ ImageId: __expectString(output.ImageId),
12779
+ InstanceInitiatedShutdownBehavior: __expectString(output.InstanceInitiatedShutdownBehavior),
12780
+ InstanceMarketOptions: output.InstanceMarketOptions != null
12781
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails(output.InstanceMarketOptions, context)
12782
+ : undefined,
12783
+ InstanceRequirements: output.InstanceRequirements != null
12784
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsDetails(output.InstanceRequirements, context)
12785
+ : undefined,
12786
+ InstanceType: __expectString(output.InstanceType),
12787
+ KernelId: __expectString(output.KernelId),
12788
+ KeyName: __expectString(output.KeyName),
12789
+ LicenseSet: output.LicenseSet != null
12790
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetList(output.LicenseSet, context)
12791
+ : undefined,
12792
+ MaintenanceOptions: output.MaintenanceOptions != null
12793
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataMaintenanceOptionsDetails(output.MaintenanceOptions, context)
12794
+ : undefined,
12795
+ MetadataOptions: output.MetadataOptions != null
12796
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataMetadataOptionsDetails(output.MetadataOptions, context)
12797
+ : undefined,
12798
+ Monitoring: output.Monitoring != null
12799
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataMonitoringDetails(output.Monitoring, context)
12800
+ : undefined,
12801
+ NetworkInterfaceSet: output.NetworkInterfaceSet != null
12802
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetList(output.NetworkInterfaceSet, context)
12803
+ : undefined,
12804
+ Placement: output.Placement != null
12805
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataPlacementDetails(output.Placement, context)
12806
+ : undefined,
12807
+ PrivateDnsNameOptions: output.PrivateDnsNameOptions != null
12808
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails(output.PrivateDnsNameOptions, context)
12809
+ : undefined,
12810
+ RamDiskId: __expectString(output.RamDiskId),
12811
+ SecurityGroupIdSet: output.SecurityGroupIdSet != null
12812
+ ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroupIdSet, context)
12813
+ : undefined,
12814
+ SecurityGroupSet: output.SecurityGroupSet != null
12815
+ ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroupSet, context)
12816
+ : undefined,
12817
+ UserData: __expectString(output.UserData),
12818
+ };
12819
+ };
12820
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails = (output, context) => {
12821
+ return {
12822
+ Type: __expectString(output.Type),
12823
+ };
12824
+ };
12825
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList = (output, context) => {
12826
+ const retVal = (output || [])
12827
+ .filter((e) => e != null)
12828
+ .map((entry) => {
12829
+ if (entry === null) {
12830
+ return null;
12831
+ }
12832
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails(entry, context);
12833
+ });
12834
+ return retVal;
12835
+ };
12836
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails = (output, context) => {
12837
+ return {
12838
+ Count: __expectInt32(output.Count),
12839
+ Type: __expectString(output.Type),
12840
+ };
12841
+ };
12842
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList = (output, context) => {
12843
+ const retVal = (output || [])
12844
+ .filter((e) => e != null)
12845
+ .map((entry) => {
12846
+ if (entry === null) {
12847
+ return null;
12848
+ }
12849
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails(entry, context);
12850
+ });
12851
+ return retVal;
12852
+ };
12853
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataEnclaveOptionsDetails = (output, context) => {
12854
+ return {
12855
+ Enabled: __expectBoolean(output.Enabled),
12856
+ };
12857
+ };
12858
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataHibernationOptionsDetails = (output, context) => {
12859
+ return {
12860
+ Configured: __expectBoolean(output.Configured),
12861
+ };
12862
+ };
12863
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataIamInstanceProfileDetails = (output, context) => {
12864
+ return {
12865
+ Arn: __expectString(output.Arn),
12866
+ Name: __expectString(output.Name),
12867
+ };
12868
+ };
12869
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails = (output, context) => {
12870
+ return {
12871
+ MarketType: __expectString(output.MarketType),
12872
+ SpotOptions: output.SpotOptions != null
12873
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails(output.SpotOptions, context)
12874
+ : undefined,
12875
+ };
12876
+ };
12877
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails = (output, context) => {
12878
+ return {
12879
+ BlockDurationMinutes: __expectInt32(output.BlockDurationMinutes),
12880
+ InstanceInterruptionBehavior: __expectString(output.InstanceInterruptionBehavior),
12881
+ MaxPrice: __expectString(output.MaxPrice),
12882
+ SpotInstanceType: __expectString(output.SpotInstanceType),
12883
+ ValidUntil: __expectString(output.ValidUntil),
12884
+ };
12885
+ };
12886
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails = (output, context) => {
12887
+ return {
12888
+ Max: __expectInt32(output.Max),
12889
+ Min: __expectInt32(output.Min),
12890
+ };
12891
+ };
12892
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails = (output, context) => {
12893
+ return {
12894
+ Max: __expectInt32(output.Max),
12895
+ Min: __expectInt32(output.Min),
12896
+ };
12897
+ };
12898
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails = (output, context) => {
12899
+ return {
12900
+ Max: __expectInt32(output.Max),
12901
+ Min: __expectInt32(output.Min),
12902
+ };
12903
+ };
12904
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsDetails = (output, context) => {
12905
+ return {
12906
+ AcceleratorCount: output.AcceleratorCount != null
12907
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails(output.AcceleratorCount, context)
12908
+ : undefined,
12909
+ AcceleratorManufacturers: output.AcceleratorManufacturers != null
12910
+ ? deserializeAws_restJson1NonEmptyStringList(output.AcceleratorManufacturers, context)
12911
+ : undefined,
12912
+ AcceleratorNames: output.AcceleratorNames != null
12913
+ ? deserializeAws_restJson1NonEmptyStringList(output.AcceleratorNames, context)
12914
+ : undefined,
12915
+ AcceleratorTotalMemoryMiB: output.AcceleratorTotalMemoryMiB != null
12916
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails(output.AcceleratorTotalMemoryMiB, context)
12917
+ : undefined,
12918
+ AcceleratorTypes: output.AcceleratorTypes != null
12919
+ ? deserializeAws_restJson1NonEmptyStringList(output.AcceleratorTypes, context)
12920
+ : undefined,
12921
+ BareMetal: __expectString(output.BareMetal),
12922
+ BaselineEbsBandwidthMbps: output.BaselineEbsBandwidthMbps != null
12923
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails(output.BaselineEbsBandwidthMbps, context)
12924
+ : undefined,
12925
+ BurstablePerformance: __expectString(output.BurstablePerformance),
12926
+ CpuManufacturers: output.CpuManufacturers != null
12927
+ ? deserializeAws_restJson1NonEmptyStringList(output.CpuManufacturers, context)
12928
+ : undefined,
12929
+ ExcludedInstanceTypes: output.ExcludedInstanceTypes != null
12930
+ ? deserializeAws_restJson1NonEmptyStringList(output.ExcludedInstanceTypes, context)
12931
+ : undefined,
12932
+ InstanceGenerations: output.InstanceGenerations != null
12933
+ ? deserializeAws_restJson1NonEmptyStringList(output.InstanceGenerations, context)
12934
+ : undefined,
12935
+ LocalStorage: __expectString(output.LocalStorage),
12936
+ LocalStorageTypes: output.LocalStorageTypes != null
12937
+ ? deserializeAws_restJson1NonEmptyStringList(output.LocalStorageTypes, context)
12938
+ : undefined,
12939
+ MemoryGiBPerVCpu: output.MemoryGiBPerVCpu != null
12940
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails(output.MemoryGiBPerVCpu, context)
12941
+ : undefined,
12942
+ MemoryMiB: output.MemoryMiB != null
12943
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails(output.MemoryMiB, context)
12944
+ : undefined,
12945
+ NetworkInterfaceCount: output.NetworkInterfaceCount != null
12946
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails(output.NetworkInterfaceCount, context)
12947
+ : undefined,
12948
+ OnDemandMaxPricePercentageOverLowestPrice: __expectInt32(output.OnDemandMaxPricePercentageOverLowestPrice),
12949
+ RequireHibernateSupport: __expectBoolean(output.RequireHibernateSupport),
12950
+ SpotMaxPricePercentageOverLowestPrice: __expectInt32(output.SpotMaxPricePercentageOverLowestPrice),
12951
+ TotalLocalStorageGB: output.TotalLocalStorageGB != null
12952
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(output.TotalLocalStorageGB, context)
12953
+ : undefined,
12954
+ VCpuCount: output.VCpuCount != null
12955
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails(output.VCpuCount, context)
12956
+ : undefined,
12957
+ };
12958
+ };
12959
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails = (output, context) => {
12960
+ return {
12961
+ Max: __limitedParseDouble(output.Max),
12962
+ Min: __limitedParseDouble(output.Min),
12963
+ };
12964
+ };
12965
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails = (output, context) => {
12966
+ return {
12967
+ Max: __expectInt32(output.Max),
12968
+ Min: __expectInt32(output.Min),
12969
+ };
12970
+ };
12971
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails = (output, context) => {
12972
+ return {
12973
+ Max: __expectInt32(output.Max),
12974
+ Min: __expectInt32(output.Min),
12975
+ };
12976
+ };
12977
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails = (output, context) => {
12978
+ return {
12979
+ Max: __limitedParseDouble(output.Max),
12980
+ Min: __limitedParseDouble(output.Min),
12981
+ };
12982
+ };
12983
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails = (output, context) => {
12984
+ return {
12985
+ Max: __expectInt32(output.Max),
12986
+ Min: __expectInt32(output.Min),
12987
+ };
12988
+ };
12989
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetDetails = (output, context) => {
12990
+ return {
12991
+ LicenseConfigurationArn: __expectString(output.LicenseConfigurationArn),
12992
+ };
12993
+ };
12994
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetList = (output, context) => {
12995
+ const retVal = (output || [])
12996
+ .filter((e) => e != null)
12997
+ .map((entry) => {
12998
+ if (entry === null) {
12999
+ return null;
13000
+ }
13001
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataLicenseSetDetails(entry, context);
13002
+ });
13003
+ return retVal;
13004
+ };
13005
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataMaintenanceOptionsDetails = (output, context) => {
13006
+ return {
13007
+ AutoRecovery: __expectString(output.AutoRecovery),
13008
+ };
13009
+ };
13010
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataMetadataOptionsDetails = (output, context) => {
13011
+ return {
13012
+ HttpEndpoint: __expectString(output.HttpEndpoint),
13013
+ HttpProtocolIpv6: __expectString(output.HttpProtocolIpv6),
13014
+ HttpPutResponseHopLimit: __expectInt32(output.HttpPutResponseHopLimit),
13015
+ HttpTokens: __expectString(output.HttpTokens),
13016
+ InstanceMetadataTags: __expectString(output.InstanceMetadataTags),
13017
+ };
13018
+ };
13019
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataMonitoringDetails = (output, context) => {
13020
+ return {
13021
+ Enabled: __expectBoolean(output.Enabled),
13022
+ };
13023
+ };
13024
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails = (output, context) => {
13025
+ return {
13026
+ AssociateCarrierIpAddress: __expectBoolean(output.AssociateCarrierIpAddress),
13027
+ AssociatePublicIpAddress: __expectBoolean(output.AssociatePublicIpAddress),
13028
+ DeleteOnTermination: __expectBoolean(output.DeleteOnTermination),
13029
+ Description: __expectString(output.Description),
13030
+ DeviceIndex: __expectInt32(output.DeviceIndex),
13031
+ Groups: output.Groups != null ? deserializeAws_restJson1NonEmptyStringList(output.Groups, context) : undefined,
13032
+ InterfaceType: __expectString(output.InterfaceType),
13033
+ Ipv4PrefixCount: __expectInt32(output.Ipv4PrefixCount),
13034
+ Ipv4Prefixes: output.Ipv4Prefixes != null
13035
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList(output.Ipv4Prefixes, context)
13036
+ : undefined,
13037
+ Ipv6AddressCount: __expectInt32(output.Ipv6AddressCount),
13038
+ Ipv6Addresses: output.Ipv6Addresses != null
13039
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList(output.Ipv6Addresses, context)
13040
+ : undefined,
13041
+ Ipv6PrefixCount: __expectInt32(output.Ipv6PrefixCount),
13042
+ Ipv6Prefixes: output.Ipv6Prefixes != null
13043
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList(output.Ipv6Prefixes, context)
13044
+ : undefined,
13045
+ NetworkCardIndex: __expectInt32(output.NetworkCardIndex),
13046
+ NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
13047
+ PrivateIpAddress: __expectString(output.PrivateIpAddress),
13048
+ PrivateIpAddresses: output.PrivateIpAddresses != null
13049
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList(output.PrivateIpAddresses, context)
13050
+ : undefined,
13051
+ SecondaryPrivateIpAddressCount: __expectInt32(output.SecondaryPrivateIpAddressCount),
13052
+ SubnetId: __expectString(output.SubnetId),
13053
+ };
13054
+ };
13055
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails = (output, context) => {
11850
13056
  return {
11851
- AttributeName: __expectString(output.AttributeName),
11852
- KeyType: __expectString(output.KeyType),
13057
+ Ipv4Prefix: __expectString(output.Ipv4Prefix),
11853
13058
  };
11854
13059
  };
11855
- const deserializeAws_restJson1AwsDynamoDbTableKeySchemaList = (output, context) => {
13060
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList = (output, context) => {
11856
13061
  const retVal = (output || [])
11857
13062
  .filter((e) => e != null)
11858
13063
  .map((entry) => {
11859
13064
  if (entry === null) {
11860
13065
  return null;
11861
13066
  }
11862
- return deserializeAws_restJson1AwsDynamoDbTableKeySchema(entry, context);
13067
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails(entry, context);
11863
13068
  });
11864
13069
  return retVal;
11865
13070
  };
11866
- const deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndex = (output, context) => {
13071
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails = (output, context) => {
11867
13072
  return {
11868
- IndexArn: __expectString(output.IndexArn),
11869
- IndexName: __expectString(output.IndexName),
11870
- KeySchema: output.KeySchema != null
11871
- ? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
11872
- : undefined,
11873
- Projection: output.Projection != null
11874
- ? deserializeAws_restJson1AwsDynamoDbTableProjection(output.Projection, context)
11875
- : undefined,
13073
+ Ipv6Address: __expectString(output.Ipv6Address),
11876
13074
  };
11877
13075
  };
11878
- const deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndexList = (output, context) => {
13076
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList = (output, context) => {
11879
13077
  const retVal = (output || [])
11880
13078
  .filter((e) => e != null)
11881
13079
  .map((entry) => {
11882
13080
  if (entry === null) {
11883
13081
  return null;
11884
13082
  }
11885
- return deserializeAws_restJson1AwsDynamoDbTableLocalSecondaryIndex(entry, context);
13083
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails(entry, context);
11886
13084
  });
11887
13085
  return retVal;
11888
13086
  };
11889
- const deserializeAws_restJson1AwsDynamoDbTableProjection = (output, context) => {
11890
- return {
11891
- NonKeyAttributes: output.NonKeyAttributes != null
11892
- ? deserializeAws_restJson1StringList(output.NonKeyAttributes, context)
11893
- : undefined,
11894
- ProjectionType: __expectString(output.ProjectionType),
11895
- };
11896
- };
11897
- const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughput = (output, context) => {
11898
- return {
11899
- LastDecreaseDateTime: __expectString(output.LastDecreaseDateTime),
11900
- LastIncreaseDateTime: __expectString(output.LastIncreaseDateTime),
11901
- NumberOfDecreasesToday: __expectInt32(output.NumberOfDecreasesToday),
11902
- ReadCapacityUnits: __expectInt32(output.ReadCapacityUnits),
11903
- WriteCapacityUnits: __expectInt32(output.WriteCapacityUnits),
11904
- };
11905
- };
11906
- const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride = (output, context) => {
11907
- return {
11908
- ReadCapacityUnits: __expectInt32(output.ReadCapacityUnits),
11909
- };
11910
- };
11911
- const deserializeAws_restJson1AwsDynamoDbTableReplica = (output, context) => {
11912
- return {
11913
- GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
11914
- ? deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndexList(output.GlobalSecondaryIndexes, context)
11915
- : undefined,
11916
- KmsMasterKeyId: __expectString(output.KmsMasterKeyId),
11917
- ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
11918
- ? deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
11919
- : undefined,
11920
- RegionName: __expectString(output.RegionName),
11921
- ReplicaStatus: __expectString(output.ReplicaStatus),
11922
- ReplicaStatusDescription: __expectString(output.ReplicaStatusDescription),
11923
- };
11924
- };
11925
- const deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndex = (output, context) => {
13087
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails = (output, context) => {
11926
13088
  return {
11927
- IndexName: __expectString(output.IndexName),
11928
- ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
11929
- ? deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
11930
- : undefined,
13089
+ Ipv6Prefix: __expectString(output.Ipv6Prefix),
11931
13090
  };
11932
13091
  };
11933
- const deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndexList = (output, context) => {
13092
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList = (output, context) => {
11934
13093
  const retVal = (output || [])
11935
13094
  .filter((e) => e != null)
11936
13095
  .map((entry) => {
11937
13096
  if (entry === null) {
11938
13097
  return null;
11939
13098
  }
11940
- return deserializeAws_restJson1AwsDynamoDbTableReplicaGlobalSecondaryIndex(entry, context);
13099
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails(entry, context);
11941
13100
  });
11942
13101
  return retVal;
11943
13102
  };
11944
- const deserializeAws_restJson1AwsDynamoDbTableReplicaList = (output, context) => {
13103
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetList = (output, context) => {
11945
13104
  const retVal = (output || [])
11946
13105
  .filter((e) => e != null)
11947
13106
  .map((entry) => {
11948
13107
  if (entry === null) {
11949
13108
  return null;
11950
13109
  }
11951
- return deserializeAws_restJson1AwsDynamoDbTableReplica(entry, context);
13110
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails(entry, context);
11952
13111
  });
11953
13112
  return retVal;
11954
13113
  };
11955
- const deserializeAws_restJson1AwsDynamoDbTableRestoreSummary = (output, context) => {
13114
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails = (output, context) => {
11956
13115
  return {
11957
- RestoreDateTime: __expectString(output.RestoreDateTime),
11958
- RestoreInProgress: __expectBoolean(output.RestoreInProgress),
11959
- SourceBackupArn: __expectString(output.SourceBackupArn),
11960
- SourceTableArn: __expectString(output.SourceTableArn),
13116
+ Primary: __expectBoolean(output.Primary),
13117
+ PrivateIpAddress: __expectString(output.PrivateIpAddress),
11961
13118
  };
11962
13119
  };
11963
- const deserializeAws_restJson1AwsDynamoDbTableSseDescription = (output, context) => {
11964
- return {
11965
- InaccessibleEncryptionDateTime: __expectString(output.InaccessibleEncryptionDateTime),
11966
- KmsMasterKeyArn: __expectString(output.KmsMasterKeyArn),
11967
- SseType: __expectString(output.SseType),
11968
- Status: __expectString(output.Status),
11969
- };
13120
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList = (output, context) => {
13121
+ const retVal = (output || [])
13122
+ .filter((e) => e != null)
13123
+ .map((entry) => {
13124
+ if (entry === null) {
13125
+ return null;
13126
+ }
13127
+ return deserializeAws_restJson1AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails(entry, context);
13128
+ });
13129
+ return retVal;
11970
13130
  };
11971
- const deserializeAws_restJson1AwsDynamoDbTableStreamSpecification = (output, context) => {
13131
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataPlacementDetails = (output, context) => {
11972
13132
  return {
11973
- StreamEnabled: __expectBoolean(output.StreamEnabled),
11974
- StreamViewType: __expectString(output.StreamViewType),
13133
+ Affinity: __expectString(output.Affinity),
13134
+ AvailabilityZone: __expectString(output.AvailabilityZone),
13135
+ GroupName: __expectString(output.GroupName),
13136
+ HostId: __expectString(output.HostId),
13137
+ HostResourceGroupArn: __expectString(output.HostResourceGroupArn),
13138
+ PartitionNumber: __expectInt32(output.PartitionNumber),
13139
+ SpreadDomain: __expectString(output.SpreadDomain),
13140
+ Tenancy: __expectString(output.Tenancy),
11975
13141
  };
11976
13142
  };
11977
- const deserializeAws_restJson1AwsEc2EipDetails = (output, context) => {
13143
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails = (output, context) => {
11978
13144
  return {
11979
- AllocationId: __expectString(output.AllocationId),
11980
- AssociationId: __expectString(output.AssociationId),
11981
- Domain: __expectString(output.Domain),
11982
- InstanceId: __expectString(output.InstanceId),
11983
- NetworkBorderGroup: __expectString(output.NetworkBorderGroup),
11984
- NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
11985
- NetworkInterfaceOwnerId: __expectString(output.NetworkInterfaceOwnerId),
11986
- PrivateIpAddress: __expectString(output.PrivateIpAddress),
11987
- PublicIp: __expectString(output.PublicIp),
11988
- PublicIpv4Pool: __expectString(output.PublicIpv4Pool),
13145
+ EnableResourceNameDnsAAAARecord: __expectBoolean(output.EnableResourceNameDnsAAAARecord),
13146
+ EnableResourceNameDnsARecord: __expectBoolean(output.EnableResourceNameDnsARecord),
13147
+ HostnameType: __expectString(output.HostnameType),
11989
13148
  };
11990
13149
  };
11991
- const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
13150
+ const deserializeAws_restJson1AwsEc2LaunchTemplateDetails = (output, context) => {
11992
13151
  return {
11993
- IamInstanceProfileArn: __expectString(output.IamInstanceProfileArn),
11994
- ImageId: __expectString(output.ImageId),
11995
- IpV4Addresses: output.IpV4Addresses != null ? deserializeAws_restJson1StringList(output.IpV4Addresses, context) : undefined,
11996
- IpV6Addresses: output.IpV6Addresses != null ? deserializeAws_restJson1StringList(output.IpV6Addresses, context) : undefined,
11997
- KeyName: __expectString(output.KeyName),
11998
- LaunchedAt: __expectString(output.LaunchedAt),
11999
- MetadataOptions: output.MetadataOptions != null
12000
- ? deserializeAws_restJson1AwsEc2InstanceMetadataOptions(output.MetadataOptions, context)
12001
- : undefined,
12002
- NetworkInterfaces: output.NetworkInterfaces != null
12003
- ? deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(output.NetworkInterfaces, context)
13152
+ DefaultVersionNumber: __expectLong(output.DefaultVersionNumber),
13153
+ Id: __expectString(output.Id),
13154
+ LatestVersionNumber: __expectLong(output.LatestVersionNumber),
13155
+ LaunchTemplateData: output.LaunchTemplateData != null
13156
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDataDetails(output.LaunchTemplateData, context)
12004
13157
  : undefined,
12005
- SubnetId: __expectString(output.SubnetId),
12006
- Type: __expectString(output.Type),
12007
- VirtualizationType: __expectString(output.VirtualizationType),
12008
- VpcId: __expectString(output.VpcId),
12009
- };
12010
- };
12011
- const deserializeAws_restJson1AwsEc2InstanceMetadataOptions = (output, context) => {
12012
- return {
12013
- HttpEndpoint: __expectString(output.HttpEndpoint),
12014
- HttpProtocolIpv6: __expectString(output.HttpProtocolIpv6),
12015
- HttpPutResponseHopLimit: __expectInt32(output.HttpPutResponseHopLimit),
12016
- HttpTokens: __expectString(output.HttpTokens),
12017
- InstanceMetadataTags: __expectString(output.InstanceMetadataTags),
12018
- };
12019
- };
12020
- const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (output, context) => {
12021
- return {
12022
- NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
13158
+ LaunchTemplateName: __expectString(output.LaunchTemplateName),
12023
13159
  };
12024
13160
  };
12025
- const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList = (output, context) => {
12026
- const retVal = (output || [])
12027
- .filter((e) => e != null)
12028
- .map((entry) => {
12029
- if (entry === null) {
12030
- return null;
12031
- }
12032
- return deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails(entry, context);
12033
- });
12034
- return retVal;
12035
- };
12036
13161
  const deserializeAws_restJson1AwsEc2NetworkAclAssociation = (output, context) => {
12037
13162
  return {
12038
13163
  NetworkAclAssociationId: __expectString(output.NetworkAclAssociationId),
@@ -15658,6 +16783,43 @@ const deserializeAws_restJson1AwsS3ObjectDetails = (output, context) => {
15658
16783
  VersionId: __expectString(output.VersionId),
15659
16784
  };
15660
16785
  };
16786
+ const deserializeAws_restJson1AwsSageMakerNotebookInstanceDetails = (output, context) => {
16787
+ return {
16788
+ AcceleratorTypes: output.AcceleratorTypes != null
16789
+ ? deserializeAws_restJson1NonEmptyStringList(output.AcceleratorTypes, context)
16790
+ : undefined,
16791
+ AdditionalCodeRepositories: output.AdditionalCodeRepositories != null
16792
+ ? deserializeAws_restJson1NonEmptyStringList(output.AdditionalCodeRepositories, context)
16793
+ : undefined,
16794
+ DefaultCodeRepository: __expectString(output.DefaultCodeRepository),
16795
+ DirectInternetAccess: __expectString(output.DirectInternetAccess),
16796
+ FailureReason: __expectString(output.FailureReason),
16797
+ InstanceMetadataServiceConfiguration: output.InstanceMetadataServiceConfiguration != null
16798
+ ? deserializeAws_restJson1AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails(output.InstanceMetadataServiceConfiguration, context)
16799
+ : undefined,
16800
+ InstanceType: __expectString(output.InstanceType),
16801
+ KmsKeyId: __expectString(output.KmsKeyId),
16802
+ NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
16803
+ NotebookInstanceArn: __expectString(output.NotebookInstanceArn),
16804
+ NotebookInstanceLifecycleConfigName: __expectString(output.NotebookInstanceLifecycleConfigName),
16805
+ NotebookInstanceName: __expectString(output.NotebookInstanceName),
16806
+ NotebookInstanceStatus: __expectString(output.NotebookInstanceStatus),
16807
+ PlatformIdentifier: __expectString(output.PlatformIdentifier),
16808
+ RoleArn: __expectString(output.RoleArn),
16809
+ RootAccess: __expectString(output.RootAccess),
16810
+ SecurityGroups: output.SecurityGroups != null
16811
+ ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroups, context)
16812
+ : undefined,
16813
+ SubnetId: __expectString(output.SubnetId),
16814
+ Url: __expectString(output.Url),
16815
+ VolumeSizeInGB: __expectInt32(output.VolumeSizeInGB),
16816
+ };
16817
+ };
16818
+ const deserializeAws_restJson1AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails = (output, context) => {
16819
+ return {
16820
+ MinimumInstanceMetadataServiceVersion: __expectString(output.MinimumInstanceMetadataServiceVersion),
16821
+ };
16822
+ };
15661
16823
  const deserializeAws_restJson1AwsSecretsManagerSecretDetails = (output, context) => {
15662
16824
  return {
15663
16825
  Deleted: __expectBoolean(output.Deleted),
@@ -16294,6 +17456,158 @@ const deserializeAws_restJson1AwsWafRulePredicateListDetails = (output, context)
16294
17456
  Type: __expectString(output.Type),
16295
17457
  };
16296
17458
  };
17459
+ const deserializeAws_restJson1AwsWafv2ActionAllowDetails = (output, context) => {
17460
+ return {
17461
+ CustomRequestHandling: output.CustomRequestHandling != null
17462
+ ? deserializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(output.CustomRequestHandling, context)
17463
+ : undefined,
17464
+ };
17465
+ };
17466
+ const deserializeAws_restJson1AwsWafv2ActionBlockDetails = (output, context) => {
17467
+ return {
17468
+ CustomResponse: output.CustomResponse != null
17469
+ ? deserializeAws_restJson1AwsWafv2CustomResponseDetails(output.CustomResponse, context)
17470
+ : undefined,
17471
+ };
17472
+ };
17473
+ const deserializeAws_restJson1AwsWafv2CustomHttpHeader = (output, context) => {
17474
+ return {
17475
+ Name: __expectString(output.Name),
17476
+ Value: __expectString(output.Value),
17477
+ };
17478
+ };
17479
+ const deserializeAws_restJson1AwsWafv2CustomRequestHandlingDetails = (output, context) => {
17480
+ return {
17481
+ InsertHeaders: output.InsertHeaders != null
17482
+ ? deserializeAws_restJson1AwsWafv2InsertHeadersList(output.InsertHeaders, context)
17483
+ : undefined,
17484
+ };
17485
+ };
17486
+ const deserializeAws_restJson1AwsWafv2CustomResponseDetails = (output, context) => {
17487
+ return {
17488
+ CustomResponseBodyKey: __expectString(output.CustomResponseBodyKey),
17489
+ ResponseCode: __expectInt32(output.ResponseCode),
17490
+ ResponseHeaders: output.ResponseHeaders != null
17491
+ ? deserializeAws_restJson1AwsWafv2InsertHeadersList(output.ResponseHeaders, context)
17492
+ : undefined,
17493
+ };
17494
+ };
17495
+ const deserializeAws_restJson1AwsWafv2InsertHeadersList = (output, context) => {
17496
+ const retVal = (output || [])
17497
+ .filter((e) => e != null)
17498
+ .map((entry) => {
17499
+ if (entry === null) {
17500
+ return null;
17501
+ }
17502
+ return deserializeAws_restJson1AwsWafv2CustomHttpHeader(entry, context);
17503
+ });
17504
+ return retVal;
17505
+ };
17506
+ const deserializeAws_restJson1AwsWafv2RuleGroupDetails = (output, context) => {
17507
+ return {
17508
+ Arn: __expectString(output.Arn),
17509
+ Capacity: __expectLong(output.Capacity),
17510
+ Description: __expectString(output.Description),
17511
+ Id: __expectString(output.Id),
17512
+ Name: __expectString(output.Name),
17513
+ Rules: output.Rules != null ? deserializeAws_restJson1AwsWafv2RulesList(output.Rules, context) : undefined,
17514
+ Scope: __expectString(output.Scope),
17515
+ VisibilityConfig: output.VisibilityConfig != null
17516
+ ? deserializeAws_restJson1AwsWafv2VisibilityConfigDetails(output.VisibilityConfig, context)
17517
+ : undefined,
17518
+ };
17519
+ };
17520
+ const deserializeAws_restJson1AwsWafv2RulesActionCaptchaDetails = (output, context) => {
17521
+ return {
17522
+ CustomRequestHandling: output.CustomRequestHandling != null
17523
+ ? deserializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(output.CustomRequestHandling, context)
17524
+ : undefined,
17525
+ };
17526
+ };
17527
+ const deserializeAws_restJson1AwsWafv2RulesActionCountDetails = (output, context) => {
17528
+ return {
17529
+ CustomRequestHandling: output.CustomRequestHandling != null
17530
+ ? deserializeAws_restJson1AwsWafv2CustomRequestHandlingDetails(output.CustomRequestHandling, context)
17531
+ : undefined,
17532
+ };
17533
+ };
17534
+ const deserializeAws_restJson1AwsWafv2RulesActionDetails = (output, context) => {
17535
+ return {
17536
+ Allow: output.Allow != null ? deserializeAws_restJson1AwsWafv2ActionAllowDetails(output.Allow, context) : undefined,
17537
+ Block: output.Block != null ? deserializeAws_restJson1AwsWafv2ActionBlockDetails(output.Block, context) : undefined,
17538
+ Captcha: output.Captcha != null
17539
+ ? deserializeAws_restJson1AwsWafv2RulesActionCaptchaDetails(output.Captcha, context)
17540
+ : undefined,
17541
+ Count: output.Count != null ? deserializeAws_restJson1AwsWafv2RulesActionCountDetails(output.Count, context) : undefined,
17542
+ };
17543
+ };
17544
+ const deserializeAws_restJson1AwsWafv2RulesDetails = (output, context) => {
17545
+ return {
17546
+ Action: output.Action != null ? deserializeAws_restJson1AwsWafv2RulesActionDetails(output.Action, context) : undefined,
17547
+ Name: __expectString(output.Name),
17548
+ OverrideAction: __expectString(output.OverrideAction),
17549
+ Priority: __expectInt32(output.Priority),
17550
+ VisibilityConfig: output.VisibilityConfig != null
17551
+ ? deserializeAws_restJson1AwsWafv2VisibilityConfigDetails(output.VisibilityConfig, context)
17552
+ : undefined,
17553
+ };
17554
+ };
17555
+ const deserializeAws_restJson1AwsWafv2RulesList = (output, context) => {
17556
+ const retVal = (output || [])
17557
+ .filter((e) => e != null)
17558
+ .map((entry) => {
17559
+ if (entry === null) {
17560
+ return null;
17561
+ }
17562
+ return deserializeAws_restJson1AwsWafv2RulesDetails(entry, context);
17563
+ });
17564
+ return retVal;
17565
+ };
17566
+ const deserializeAws_restJson1AwsWafv2VisibilityConfigDetails = (output, context) => {
17567
+ return {
17568
+ CloudWatchMetricsEnabled: __expectBoolean(output.CloudWatchMetricsEnabled),
17569
+ MetricName: __expectString(output.MetricName),
17570
+ SampledRequestsEnabled: __expectBoolean(output.SampledRequestsEnabled),
17571
+ };
17572
+ };
17573
+ const deserializeAws_restJson1AwsWafv2WebAclActionDetails = (output, context) => {
17574
+ return {
17575
+ Allow: output.Allow != null ? deserializeAws_restJson1AwsWafv2ActionAllowDetails(output.Allow, context) : undefined,
17576
+ Block: output.Block != null ? deserializeAws_restJson1AwsWafv2ActionBlockDetails(output.Block, context) : undefined,
17577
+ };
17578
+ };
17579
+ const deserializeAws_restJson1AwsWafv2WebAclCaptchaConfigDetails = (output, context) => {
17580
+ return {
17581
+ ImmunityTimeProperty: output.ImmunityTimeProperty != null
17582
+ ? deserializeAws_restJson1AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails(output.ImmunityTimeProperty, context)
17583
+ : undefined,
17584
+ };
17585
+ };
17586
+ const deserializeAws_restJson1AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails = (output, context) => {
17587
+ return {
17588
+ ImmunityTime: __expectLong(output.ImmunityTime),
17589
+ };
17590
+ };
17591
+ const deserializeAws_restJson1AwsWafv2WebAclDetails = (output, context) => {
17592
+ return {
17593
+ Arn: __expectString(output.Arn),
17594
+ Capacity: __expectLong(output.Capacity),
17595
+ CaptchaConfig: output.CaptchaConfig != null
17596
+ ? deserializeAws_restJson1AwsWafv2WebAclCaptchaConfigDetails(output.CaptchaConfig, context)
17597
+ : undefined,
17598
+ DefaultAction: output.DefaultAction != null
17599
+ ? deserializeAws_restJson1AwsWafv2WebAclActionDetails(output.DefaultAction, context)
17600
+ : undefined,
17601
+ Description: __expectString(output.Description),
17602
+ Id: __expectString(output.Id),
17603
+ ManagedbyFirewallManager: __expectBoolean(output.ManagedbyFirewallManager),
17604
+ Name: __expectString(output.Name),
17605
+ Rules: output.Rules != null ? deserializeAws_restJson1AwsWafv2RulesList(output.Rules, context) : undefined,
17606
+ VisibilityConfig: output.VisibilityConfig != null
17607
+ ? deserializeAws_restJson1AwsWafv2VisibilityConfigDetails(output.VisibilityConfig, context)
17608
+ : undefined,
17609
+ };
17610
+ };
16297
17611
  const deserializeAws_restJson1AwsWafWebAclDetails = (output, context) => {
16298
17612
  return {
16299
17613
  DefaultAction: __expectString(output.DefaultAction),
@@ -17316,6 +18630,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
17316
18630
  AwsEc2Instance: output.AwsEc2Instance != null
17317
18631
  ? deserializeAws_restJson1AwsEc2InstanceDetails(output.AwsEc2Instance, context)
17318
18632
  : undefined,
18633
+ AwsEc2LaunchTemplate: output.AwsEc2LaunchTemplate != null
18634
+ ? deserializeAws_restJson1AwsEc2LaunchTemplateDetails(output.AwsEc2LaunchTemplate, context)
18635
+ : undefined,
17319
18636
  AwsEc2NetworkAcl: output.AwsEc2NetworkAcl != null
17320
18637
  ? deserializeAws_restJson1AwsEc2NetworkAclDetails(output.AwsEc2NetworkAcl, context)
17321
18638
  : undefined,
@@ -17438,6 +18755,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
17438
18755
  : undefined,
17439
18756
  AwsS3Bucket: output.AwsS3Bucket != null ? deserializeAws_restJson1AwsS3BucketDetails(output.AwsS3Bucket, context) : undefined,
17440
18757
  AwsS3Object: output.AwsS3Object != null ? deserializeAws_restJson1AwsS3ObjectDetails(output.AwsS3Object, context) : undefined,
18758
+ AwsSageMakerNotebookInstance: output.AwsSageMakerNotebookInstance != null
18759
+ ? deserializeAws_restJson1AwsSageMakerNotebookInstanceDetails(output.AwsSageMakerNotebookInstance, context)
18760
+ : undefined,
17441
18761
  AwsSecretsManagerSecret: output.AwsSecretsManagerSecret != null
17442
18762
  ? deserializeAws_restJson1AwsSecretsManagerSecretDetails(output.AwsSecretsManagerSecret, context)
17443
18763
  : undefined,
@@ -17468,6 +18788,12 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
17468
18788
  AwsWafWebAcl: output.AwsWafWebAcl != null
17469
18789
  ? deserializeAws_restJson1AwsWafWebAclDetails(output.AwsWafWebAcl, context)
17470
18790
  : undefined,
18791
+ AwsWafv2RuleGroup: output.AwsWafv2RuleGroup != null
18792
+ ? deserializeAws_restJson1AwsWafv2RuleGroupDetails(output.AwsWafv2RuleGroup, context)
18793
+ : undefined,
18794
+ AwsWafv2WebAcl: output.AwsWafv2WebAcl != null
18795
+ ? deserializeAws_restJson1AwsWafv2WebAclDetails(output.AwsWafv2WebAcl, context)
18796
+ : undefined,
17471
18797
  AwsXrayEncryptionConfig: output.AwsXrayEncryptionConfig != null
17472
18798
  ? deserializeAws_restJson1AwsXrayEncryptionConfigDetails(output.AwsXrayEncryptionConfig, context)
17473
18799
  : undefined,