@aws-sdk/client-ec2 3.38.0 → 3.39.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 (226) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/EC2.js +30 -0
  3. package/dist-cjs/commands/CreateFleetCommand.js +2 -1
  4. package/dist-cjs/commands/CreateFlowLogsCommand.js +3 -3
  5. package/dist-cjs/commands/CreateFpgaImageCommand.js +3 -3
  6. package/dist-cjs/commands/CreateImageCommand.js +3 -3
  7. package/dist-cjs/commands/CreateVpcEndpointServiceConfigurationCommand.js +3 -3
  8. package/dist-cjs/commands/CreateVpcPeeringConnectionCommand.js +3 -3
  9. package/dist-cjs/commands/CreateVpnConnectionCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeHostsCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeIamInstanceProfileAssociationsCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeIdFormatCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeIdentityIdFormatCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeImageAttributeCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeImportImageTasksCommand.js +1 -2
  17. package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeTrafficMirrorFiltersCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeTrafficMirrorSessionsCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeTrafficMirrorTargetsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeTransitGatewayAttachmentsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeTransitGatewayConnectPeersCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeTransitGatewayConnectsCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeTransitGatewayMulticastDomainsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeTransitGatewayRouteTablesCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeTransitGatewaysCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeTrunkInterfaceAssociationsCommand.js +1 -2
  30. package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +36 -0
  31. package/dist-cjs/commands/GetSpotPlacementScoresCommand.js +36 -0
  32. package/dist-cjs/commands/ModifyInstanceCreditSpecificationCommand.js +2 -1
  33. package/dist-cjs/commands/ModifyInstanceEventStartTimeCommand.js +3 -3
  34. package/dist-cjs/commands/ModifyInstanceEventWindowCommand.js +3 -3
  35. package/dist-cjs/commands/ModifyInstanceMetadataOptionsCommand.js +3 -3
  36. package/dist-cjs/commands/ModifyInstancePlacementCommand.js +3 -3
  37. package/dist-cjs/commands/ModifyLaunchTemplateCommand.js +3 -3
  38. package/dist-cjs/commands/ModifyManagedPrefixListCommand.js +3 -3
  39. package/dist-cjs/commands/ModifyNetworkInterfaceAttributeCommand.js +2 -2
  40. package/dist-cjs/commands/ModifyReservedInstancesCommand.js +3 -3
  41. package/dist-cjs/commands/ModifySecurityGroupRulesCommand.js +3 -3
  42. package/dist-cjs/commands/ModifySnapshotAttributeCommand.js +2 -2
  43. package/dist-cjs/commands/ModifySpotFleetRequestCommand.js +3 -3
  44. package/dist-cjs/commands/ModifySubnetAttributeCommand.js +2 -2
  45. package/dist-cjs/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +3 -3
  46. package/dist-cjs/commands/index.js +2 -0
  47. package/dist-cjs/endpoints.js +5 -0
  48. package/dist-cjs/models/models_0.js +143 -107
  49. package/dist-cjs/models/models_1.js +141 -169
  50. package/dist-cjs/models/models_2.js +170 -126
  51. package/dist-cjs/models/models_3.js +126 -174
  52. package/dist-cjs/models/models_4.js +216 -205
  53. package/dist-cjs/models/models_5.js +204 -4
  54. package/dist-cjs/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +35 -0
  55. package/dist-cjs/pagination/GetSpotPlacementScoresPaginator.js +35 -0
  56. package/dist-cjs/pagination/index.js +2 -0
  57. package/dist-cjs/protocols/Aws_ec2.js +2098 -902
  58. package/dist-es/EC2.js +30 -0
  59. package/dist-es/commands/CreateFleetCommand.js +2 -1
  60. package/dist-es/commands/CreateFlowLogsCommand.js +1 -1
  61. package/dist-es/commands/CreateFpgaImageCommand.js +1 -1
  62. package/dist-es/commands/CreateImageCommand.js +1 -1
  63. package/dist-es/commands/CreateVpcEndpointServiceConfigurationCommand.js +1 -1
  64. package/dist-es/commands/CreateVpcPeeringConnectionCommand.js +1 -1
  65. package/dist-es/commands/CreateVpnConnectionCommand.js +1 -2
  66. package/dist-es/commands/DescribeHostsCommand.js +2 -1
  67. package/dist-es/commands/DescribeIamInstanceProfileAssociationsCommand.js +1 -1
  68. package/dist-es/commands/DescribeIdFormatCommand.js +1 -1
  69. package/dist-es/commands/DescribeIdentityIdFormatCommand.js +1 -1
  70. package/dist-es/commands/DescribeImageAttributeCommand.js +1 -1
  71. package/dist-es/commands/DescribeImagesCommand.js +1 -1
  72. package/dist-es/commands/DescribeImportImageTasksCommand.js +1 -2
  73. package/dist-es/commands/DescribeTagsCommand.js +1 -1
  74. package/dist-es/commands/DescribeTrafficMirrorFiltersCommand.js +1 -1
  75. package/dist-es/commands/DescribeTrafficMirrorSessionsCommand.js +1 -1
  76. package/dist-es/commands/DescribeTrafficMirrorTargetsCommand.js +1 -1
  77. package/dist-es/commands/DescribeTransitGatewayAttachmentsCommand.js +1 -1
  78. package/dist-es/commands/DescribeTransitGatewayConnectPeersCommand.js +1 -1
  79. package/dist-es/commands/DescribeTransitGatewayConnectsCommand.js +1 -1
  80. package/dist-es/commands/DescribeTransitGatewayMulticastDomainsCommand.js +1 -1
  81. package/dist-es/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +1 -1
  82. package/dist-es/commands/DescribeTransitGatewayRouteTablesCommand.js +1 -1
  83. package/dist-es/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +1 -1
  84. package/dist-es/commands/DescribeTransitGatewaysCommand.js +1 -1
  85. package/dist-es/commands/DescribeTrunkInterfaceAssociationsCommand.js +1 -2
  86. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +39 -0
  87. package/dist-es/commands/GetSpotPlacementScoresCommand.js +39 -0
  88. package/dist-es/commands/ModifyInstanceCreditSpecificationCommand.js +2 -1
  89. package/dist-es/commands/ModifyInstanceEventStartTimeCommand.js +1 -1
  90. package/dist-es/commands/ModifyInstanceEventWindowCommand.js +1 -1
  91. package/dist-es/commands/ModifyInstanceMetadataOptionsCommand.js +1 -1
  92. package/dist-es/commands/ModifyInstancePlacementCommand.js +1 -1
  93. package/dist-es/commands/ModifyLaunchTemplateCommand.js +1 -1
  94. package/dist-es/commands/ModifyManagedPrefixListCommand.js +1 -1
  95. package/dist-es/commands/ModifyNetworkInterfaceAttributeCommand.js +1 -1
  96. package/dist-es/commands/ModifyReservedInstancesCommand.js +1 -1
  97. package/dist-es/commands/ModifySecurityGroupRulesCommand.js +1 -1
  98. package/dist-es/commands/ModifySnapshotAttributeCommand.js +1 -1
  99. package/dist-es/commands/ModifySpotFleetRequestCommand.js +1 -1
  100. package/dist-es/commands/ModifySubnetAttributeCommand.js +1 -1
  101. package/dist-es/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +1 -1
  102. package/dist-es/commands/index.js +2 -0
  103. package/dist-es/endpoints.js +5 -0
  104. package/dist-es/models/models_0.js +115 -74
  105. package/dist-es/models/models_1.js +94 -116
  106. package/dist-es/models/models_2.js +116 -80
  107. package/dist-es/models/models_3.js +80 -112
  108. package/dist-es/models/models_4.js +140 -135
  109. package/dist-es/models/models_5.js +135 -0
  110. package/dist-es/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +74 -0
  111. package/dist-es/pagination/GetSpotPlacementScoresPaginator.js +74 -0
  112. package/dist-es/pagination/index.js +2 -0
  113. package/dist-es/protocols/Aws_ec2.js +2638 -1274
  114. package/dist-types/EC2.d.ts +30 -0
  115. package/dist-types/EC2Client.d.ts +4 -2
  116. package/dist-types/commands/CreateFleetCommand.d.ts +2 -1
  117. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  118. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  119. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  120. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  121. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  122. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -2
  123. package/dist-types/commands/DescribeHostsCommand.d.ts +2 -1
  124. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeIdFormatCommand.d.ts +1 -1
  126. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  127. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  128. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
  129. package/dist-types/commands/DescribeImportImageTasksCommand.d.ts +1 -2
  130. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  131. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  132. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
  133. package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  134. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  135. package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  136. package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  137. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
  138. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  139. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  140. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  141. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  142. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -2
  143. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +44 -0
  144. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +42 -0
  145. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
  146. package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  147. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  148. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  149. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  150. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  151. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  152. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  153. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  154. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  155. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  156. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  157. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  158. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  159. package/dist-types/commands/index.d.ts +2 -0
  160. package/dist-types/models/models_0.d.ts +582 -606
  161. package/dist-types/models/models_1.d.ts +4828 -4562
  162. package/dist-types/models/models_2.d.ts +4595 -4712
  163. package/dist-types/models/models_3.d.ts +7089 -7188
  164. package/dist-types/models/models_4.d.ts +4833 -4433
  165. package/dist-types/models/models_5.d.ts +841 -5
  166. package/dist-types/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
  167. package/dist-types/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
  168. package/dist-types/pagination/index.d.ts +2 -0
  169. package/dist-types/protocols/Aws_ec2.d.ts +6 -0
  170. package/dist-types/ts3.4/EC2.d.ts +10 -0
  171. package/dist-types/ts3.4/EC2Client.d.ts +4 -2
  172. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +2 -1
  173. package/dist-types/ts3.4/commands/CreateFlowLogsCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/CreateFpgaImageCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +1 -2
  179. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +2 -1
  180. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/DescribeImportImageTasksCommand.d.ts +1 -2
  186. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  193. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
  194. package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  195. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  196. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  198. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -2
  199. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
  202. package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  203. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  204. package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  206. package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  207. package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  208. package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  212. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  213. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  214. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  215. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  216. package/dist-types/ts3.4/models/models_0.d.ts +227 -253
  217. package/dist-types/ts3.4/models/models_1.d.ts +366 -345
  218. package/dist-types/ts3.4/models/models_2.d.ts +354 -334
  219. package/dist-types/ts3.4/models/models_3.d.ts +341 -382
  220. package/dist-types/ts3.4/models/models_4.d.ts +488 -425
  221. package/dist-types/ts3.4/models/models_5.d.ts +420 -5
  222. package/dist-types/ts3.4/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
  223. package/dist-types/ts3.4/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
  224. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  225. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +6 -0
  226. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/10/28 ([#2955](https://github.com/aws/aws-sdk-js-v3/issues/2955)) ([378d161](https://github.com/aws/aws-sdk-js-v3/commit/378d16166de49b06263291001986715d9533cadf))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
18
 
8
19
 
package/dist-cjs/EC2.js CHANGED
@@ -348,12 +348,14 @@ const GetEbsEncryptionByDefaultCommand_1 = require("./commands/GetEbsEncryptionB
348
348
  const GetFlowLogsIntegrationTemplateCommand_1 = require("./commands/GetFlowLogsIntegrationTemplateCommand");
349
349
  const GetGroupsForCapacityReservationCommand_1 = require("./commands/GetGroupsForCapacityReservationCommand");
350
350
  const GetHostReservationPurchasePreviewCommand_1 = require("./commands/GetHostReservationPurchasePreviewCommand");
351
+ const GetInstanceTypesFromInstanceRequirementsCommand_1 = require("./commands/GetInstanceTypesFromInstanceRequirementsCommand");
351
352
  const GetLaunchTemplateDataCommand_1 = require("./commands/GetLaunchTemplateDataCommand");
352
353
  const GetManagedPrefixListAssociationsCommand_1 = require("./commands/GetManagedPrefixListAssociationsCommand");
353
354
  const GetManagedPrefixListEntriesCommand_1 = require("./commands/GetManagedPrefixListEntriesCommand");
354
355
  const GetPasswordDataCommand_1 = require("./commands/GetPasswordDataCommand");
355
356
  const GetReservedInstancesExchangeQuoteCommand_1 = require("./commands/GetReservedInstancesExchangeQuoteCommand");
356
357
  const GetSerialConsoleAccessStatusCommand_1 = require("./commands/GetSerialConsoleAccessStatusCommand");
358
+ const GetSpotPlacementScoresCommand_1 = require("./commands/GetSpotPlacementScoresCommand");
357
359
  const GetSubnetCidrReservationsCommand_1 = require("./commands/GetSubnetCidrReservationsCommand");
358
360
  const GetTransitGatewayAttachmentPropagationsCommand_1 = require("./commands/GetTransitGatewayAttachmentPropagationsCommand");
359
361
  const GetTransitGatewayMulticastDomainAssociationsCommand_1 = require("./commands/GetTransitGatewayMulticastDomainAssociationsCommand");
@@ -5332,6 +5334,20 @@ class EC2 extends EC2Client_1.EC2Client {
5332
5334
  return this.send(command, optionsOrCb);
5333
5335
  }
5334
5336
  }
5337
+ getInstanceTypesFromInstanceRequirements(args, optionsOrCb, cb) {
5338
+ const command = new GetInstanceTypesFromInstanceRequirementsCommand_1.GetInstanceTypesFromInstanceRequirementsCommand(args);
5339
+ if (typeof optionsOrCb === "function") {
5340
+ this.send(command, optionsOrCb);
5341
+ }
5342
+ else if (typeof cb === "function") {
5343
+ if (typeof optionsOrCb !== "object")
5344
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
5345
+ this.send(command, optionsOrCb || {}, cb);
5346
+ }
5347
+ else {
5348
+ return this.send(command, optionsOrCb);
5349
+ }
5350
+ }
5335
5351
  getLaunchTemplateData(args, optionsOrCb, cb) {
5336
5352
  const command = new GetLaunchTemplateDataCommand_1.GetLaunchTemplateDataCommand(args);
5337
5353
  if (typeof optionsOrCb === "function") {
@@ -5416,6 +5432,20 @@ class EC2 extends EC2Client_1.EC2Client {
5416
5432
  return this.send(command, optionsOrCb);
5417
5433
  }
5418
5434
  }
5435
+ getSpotPlacementScores(args, optionsOrCb, cb) {
5436
+ const command = new GetSpotPlacementScoresCommand_1.GetSpotPlacementScoresCommand(args);
5437
+ if (typeof optionsOrCb === "function") {
5438
+ this.send(command, optionsOrCb);
5439
+ }
5440
+ else if (typeof cb === "function") {
5441
+ if (typeof optionsOrCb !== "object")
5442
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
5443
+ this.send(command, optionsOrCb || {}, cb);
5444
+ }
5445
+ else {
5446
+ return this.send(command, optionsOrCb);
5447
+ }
5448
+ }
5419
5449
  getSubnetCidrReservations(args, optionsOrCb, cb) {
5420
5450
  const command = new GetSubnetCidrReservationsCommand_1.GetSubnetCidrReservationsCommand(args);
5421
5451
  if (typeof optionsOrCb === "function") {
@@ -4,6 +4,7 @@ exports.CreateFleetCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
7
8
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
9
  class CreateFleetCommand extends smithy_client_1.Command {
9
10
  constructor(input) {
@@ -21,7 +22,7 @@ class CreateFleetCommand extends smithy_client_1.Command {
21
22
  clientName,
22
23
  commandName,
23
24
  inputFilterSensitiveLog: models_0_1.CreateFleetRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.CreateFleetResult.filterSensitiveLog,
25
+ outputFilterSensitiveLog: models_1_1.CreateFleetResult.filterSensitiveLog,
25
26
  };
26
27
  const { requestHandler } = configuration;
27
28
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateFlowLogsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class CreateFlowLogsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class CreateFlowLogsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.CreateFlowLogsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.CreateFlowLogsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.CreateFlowLogsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.CreateFlowLogsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateFpgaImageCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class CreateFpgaImageCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class CreateFpgaImageCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.CreateFpgaImageRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.CreateFpgaImageResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.CreateFpgaImageRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.CreateFpgaImageResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateImageCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class CreateImageCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class CreateImageCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.CreateImageRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.CreateImageResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.CreateImageRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.CreateImageResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateVpcEndpointServiceConfigurationCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_1_1 = require("../models/models_1");
6
+ const models_2_1 = require("../models/models_2");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class CreateVpcEndpointServiceConfigurationCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class CreateVpcEndpointServiceConfigurationCommand extends smithy_client_1.Comma
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_1_1.CreateVpcEndpointServiceConfigurationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_1_1.CreateVpcEndpointServiceConfigurationResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_2_1.CreateVpcEndpointServiceConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_2_1.CreateVpcEndpointServiceConfigurationResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateVpcPeeringConnectionCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_1_1 = require("../models/models_1");
6
+ const models_2_1 = require("../models/models_2");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class CreateVpcPeeringConnectionCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class CreateVpcPeeringConnectionCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_1_1.CreateVpcPeeringConnectionRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_1_1.CreateVpcPeeringConnectionResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_2_1.CreateVpcPeeringConnectionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_2_1.CreateVpcPeeringConnectionResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateVpnConnectionCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_1_1 = require("../models/models_1");
7
6
  const models_2_1 = require("../models/models_2");
8
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
9
8
  class CreateVpnConnectionCommand extends smithy_client_1.Command {
@@ -21,7 +20,7 @@ class CreateVpnConnectionCommand extends smithy_client_1.Command {
21
20
  logger,
22
21
  clientName,
23
22
  commandName,
24
- inputFilterSensitiveLog: models_1_1.CreateVpnConnectionRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_2_1.CreateVpnConnectionRequest.filterSensitiveLog,
25
24
  outputFilterSensitiveLog: models_2_1.CreateVpnConnectionResult.filterSensitiveLog,
26
25
  };
27
26
  const { requestHandler } = configuration;
@@ -4,6 +4,7 @@ exports.DescribeHostsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_2_1 = require("../models/models_2");
7
+ const models_3_1 = require("../models/models_3");
7
8
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
9
  class DescribeHostsCommand extends smithy_client_1.Command {
9
10
  constructor(input) {
@@ -21,7 +22,7 @@ class DescribeHostsCommand extends smithy_client_1.Command {
21
22
  clientName,
22
23
  commandName,
23
24
  inputFilterSensitiveLog: models_2_1.DescribeHostsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_2_1.DescribeHostsResult.filterSensitiveLog,
25
+ outputFilterSensitiveLog: models_3_1.DescribeHostsResult.filterSensitiveLog,
25
26
  };
26
27
  const { requestHandler } = configuration;
27
28
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeIamInstanceProfileAssociationsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_2_1 = require("../models/models_2");
6
+ const models_3_1 = require("../models/models_3");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeIamInstanceProfileAssociationsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeIamInstanceProfileAssociationsCommand extends smithy_client_1.Comm
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_2_1.DescribeIamInstanceProfileAssociationsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_2_1.DescribeIamInstanceProfileAssociationsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_3_1.DescribeIamInstanceProfileAssociationsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_3_1.DescribeIamInstanceProfileAssociationsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeIdFormatCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_2_1 = require("../models/models_2");
6
+ const models_3_1 = require("../models/models_3");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeIdFormatCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeIdFormatCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_2_1.DescribeIdFormatRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_2_1.DescribeIdFormatResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_3_1.DescribeIdFormatRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_3_1.DescribeIdFormatResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeIdentityIdFormatCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_2_1 = require("../models/models_2");
6
+ const models_3_1 = require("../models/models_3");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeIdentityIdFormatCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeIdentityIdFormatCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_2_1.DescribeIdentityIdFormatRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_2_1.DescribeIdentityIdFormatResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_3_1.DescribeIdentityIdFormatRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_3_1.DescribeIdentityIdFormatResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeImageAttributeCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_2_1 = require("../models/models_2");
6
+ const models_3_1 = require("../models/models_3");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeImageAttributeCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeImageAttributeCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_2_1.DescribeImageAttributeRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_2_1.ImageAttribute.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_3_1.DescribeImageAttributeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_3_1.ImageAttribute.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeImagesCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_2_1 = require("../models/models_2");
6
+ const models_3_1 = require("../models/models_3");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeImagesCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeImagesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_2_1.DescribeImagesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_2_1.DescribeImagesResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_3_1.DescribeImagesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_3_1.DescribeImagesResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeImportImageTasksCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_2_1 = require("../models/models_2");
7
6
  const models_3_1 = require("../models/models_3");
8
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
9
8
  class DescribeImportImageTasksCommand extends smithy_client_1.Command {
@@ -21,7 +20,7 @@ class DescribeImportImageTasksCommand extends smithy_client_1.Command {
21
20
  logger,
22
21
  clientName,
23
22
  commandName,
24
- inputFilterSensitiveLog: models_2_1.DescribeImportImageTasksRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_3_1.DescribeImportImageTasksRequest.filterSensitiveLog,
25
24
  outputFilterSensitiveLog: models_3_1.DescribeImportImageTasksResult.filterSensitiveLog,
26
25
  };
27
26
  const { requestHandler } = configuration;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTagsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTagsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTagsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTagsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTagsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTagsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTagsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTrafficMirrorFiltersCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTrafficMirrorFiltersCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTrafficMirrorFiltersCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTrafficMirrorFiltersRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTrafficMirrorFiltersResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTrafficMirrorFiltersRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTrafficMirrorFiltersResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTrafficMirrorSessionsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTrafficMirrorSessionsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTrafficMirrorSessionsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTrafficMirrorSessionsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTrafficMirrorSessionsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTrafficMirrorSessionsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTrafficMirrorSessionsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTrafficMirrorTargetsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTrafficMirrorTargetsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTrafficMirrorTargetsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTrafficMirrorTargetsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTrafficMirrorTargetsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTrafficMirrorTargetsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTrafficMirrorTargetsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTransitGatewayAttachmentsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTransitGatewayAttachmentsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTransitGatewayAttachmentsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTransitGatewayAttachmentsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTransitGatewayAttachmentsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTransitGatewayAttachmentsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTransitGatewayAttachmentsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTransitGatewayConnectPeersCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTransitGatewayConnectPeersCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTransitGatewayConnectPeersCommand extends smithy_client_1.Command
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTransitGatewayConnectPeersRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTransitGatewayConnectPeersResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTransitGatewayConnectPeersRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTransitGatewayConnectPeersResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTransitGatewayConnectsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTransitGatewayConnectsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTransitGatewayConnectsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTransitGatewayConnectsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTransitGatewayConnectsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTransitGatewayConnectsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTransitGatewayConnectsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTransitGatewayMulticastDomainsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTransitGatewayMulticastDomainsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTransitGatewayMulticastDomainsCommand extends smithy_client_1.Comm
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTransitGatewayMulticastDomainsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTransitGatewayMulticastDomainsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTransitGatewayMulticastDomainsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTransitGatewayMulticastDomainsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTransitGatewayPeeringAttachmentsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTransitGatewayPeeringAttachmentsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTransitGatewayPeeringAttachmentsCommand extends smithy_client_1.Co
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTransitGatewayPeeringAttachmentsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTransitGatewayPeeringAttachmentsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTransitGatewayPeeringAttachmentsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTransitGatewayPeeringAttachmentsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTransitGatewayRouteTablesCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTransitGatewayRouteTablesCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTransitGatewayRouteTablesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTransitGatewayRouteTablesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTransitGatewayRouteTablesResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTransitGatewayRouteTablesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTransitGatewayRouteTablesResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTransitGatewayVpcAttachmentsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTransitGatewayVpcAttachmentsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTransitGatewayVpcAttachmentsCommand extends smithy_client_1.Comman
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTransitGatewayVpcAttachmentsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTransitGatewayVpcAttachmentsResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTransitGatewayVpcAttachmentsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTransitGatewayVpcAttachmentsResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTransitGatewaysCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_3_1 = require("../models/models_3");
6
+ const models_4_1 = require("../models/models_4");
7
7
  const Aws_ec2_1 = require("../protocols/Aws_ec2");
8
8
  class DescribeTransitGatewaysCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class DescribeTransitGatewaysCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_3_1.DescribeTransitGatewaysRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_3_1.DescribeTransitGatewaysResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_4_1.DescribeTransitGatewaysRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_4_1.DescribeTransitGatewaysResult.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);