@aws-sdk/client-ec2 3.300.0 → 3.303.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 (649) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +30 -0
  3. package/dist-cjs/commands/GetVpnTunnelReplacementStatusCommand.js +45 -0
  4. package/dist-cjs/commands/ReplaceVpnTunnelCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist-cjs/models/models_0.js +1126 -1192
  8. package/dist-cjs/models/models_1.js +397 -469
  9. package/dist-cjs/models/models_2.js +280 -336
  10. package/dist-cjs/models/models_3.js +241 -286
  11. package/dist-cjs/models/models_4.js +197 -235
  12. package/dist-cjs/models/models_5.js +77 -91
  13. package/dist-cjs/models/models_6.js +65 -79
  14. package/dist-cjs/protocols/Aws_ec2.js +180 -15
  15. package/dist-es/EC2.js +30 -0
  16. package/dist-es/commands/GetVpnTunnelReplacementStatusCommand.js +41 -0
  17. package/dist-es/commands/ReplaceVpnTunnelCommand.js +41 -0
  18. package/dist-es/commands/index.js +2 -0
  19. package/dist-es/endpoint/ruleset.js +3 -3
  20. package/dist-es/models/models_0.js +1126 -1192
  21. package/dist-es/models/models_1.js +397 -469
  22. package/dist-es/models/models_2.js +280 -336
  23. package/dist-es/models/models_3.js +241 -286
  24. package/dist-es/models/models_4.js +197 -235
  25. package/dist-es/models/models_5.js +77 -91
  26. package/dist-es/models/models_6.js +65 -79
  27. package/dist-es/protocols/Aws_ec2.js +161 -0
  28. package/dist-types/EC2.d.ts +16 -0
  29. package/dist-types/EC2Client.d.ts +4 -2
  30. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +5 -5
  31. package/dist-types/commands/AcceptReservedInstancesExchangeQuoteCommand.d.ts +4 -4
  32. package/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -2
  33. package/dist-types/commands/AcceptTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  34. package/dist-types/commands/AcceptTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  35. package/dist-types/commands/AcceptVpcEndpointConnectionsCommand.d.ts +2 -2
  36. package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +1 -1
  37. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +1 -1
  38. package/dist-types/commands/AllocateAddressCommand.d.ts +5 -5
  39. package/dist-types/commands/AllocateHostsCommand.d.ts +5 -5
  40. package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +2 -2
  41. package/dist-types/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.d.ts +2 -2
  42. package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +3 -3
  43. package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +3 -3
  44. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +2 -2
  45. package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
  46. package/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +1 -1
  47. package/dist-types/commands/AssociateDhcpOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/AssociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
  49. package/dist-types/commands/AssociateIamInstanceProfileCommand.d.ts +2 -2
  50. package/dist-types/commands/AssociateInstanceEventWindowCommand.d.ts +6 -6
  51. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +5 -5
  52. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +3 -3
  53. package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
  54. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +1 -1
  55. package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +2 -2
  56. package/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  57. package/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
  58. package/dist-types/commands/AssociateTrunkInterfaceCommand.d.ts +1 -1
  59. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +1 -1
  60. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
  61. package/dist-types/commands/AttachInternetGatewayCommand.d.ts +1 -1
  62. package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +3 -3
  63. package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +1 -1
  64. package/dist-types/commands/AttachVolumeCommand.d.ts +1 -1
  65. package/dist-types/commands/AttachVpnGatewayCommand.d.ts +1 -1
  66. package/dist-types/commands/AuthorizeClientVpnIngressCommand.d.ts +1 -1
  67. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +15 -15
  68. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +15 -15
  69. package/dist-types/commands/BundleInstanceCommand.d.ts +3 -3
  70. package/dist-types/commands/CancelBundleTaskCommand.d.ts +1 -1
  71. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +1 -1
  72. package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +2 -2
  73. package/dist-types/commands/CancelConversionTaskCommand.d.ts +1 -1
  74. package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -1
  75. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +1 -1
  76. package/dist-types/commands/CancelImportTaskCommand.d.ts +1 -1
  77. package/dist-types/commands/CancelReservedInstancesListingCommand.d.ts +1 -1
  78. package/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +2 -2
  79. package/dist-types/commands/CancelSpotInstanceRequestsCommand.d.ts +2 -2
  80. package/dist-types/commands/ConfirmProductInstanceCommand.d.ts +1 -1
  81. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  82. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  83. package/dist-types/commands/CopySnapshotCommand.d.ts +5 -5
  84. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +5 -5
  85. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +7 -7
  86. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +5 -5
  87. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +15 -15
  88. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateCoipCidrCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateCoipPoolCommand.d.ts +5 -5
  91. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +5 -5
  92. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +8 -8
  95. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +5 -5
  96. package/dist-types/commands/CreateFleetCommand.d.ts +35 -35
  97. package/dist-types/commands/CreateFlowLogsCommand.d.ts +7 -7
  98. package/dist-types/commands/CreateFpgaImageCommand.d.ts +6 -6
  99. package/dist-types/commands/CreateImageCommand.d.ts +8 -8
  100. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +7 -7
  101. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +6 -6
  102. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +5 -5
  103. package/dist-types/commands/CreateIpamCommand.d.ts +7 -7
  104. package/dist-types/commands/CreateIpamPoolCommand.d.ts +7 -7
  105. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +7 -7
  106. package/dist-types/commands/CreateIpamScopeCommand.d.ts +5 -5
  107. package/dist-types/commands/CreateKeyPairCommand.d.ts +5 -5
  108. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +61 -61
  109. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +59 -59
  110. package/dist-types/commands/CreateLocalGatewayRouteCommand.d.ts +1 -1
  111. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +5 -5
  112. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +5 -5
  113. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +5 -5
  114. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +7 -7
  115. package/dist-types/commands/CreateNatGatewayCommand.d.ts +7 -7
  116. package/dist-types/commands/CreateNetworkAclCommand.d.ts +5 -5
  117. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +3 -3
  118. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +44 -109
  119. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +7 -7
  120. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +14 -14
  121. package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -1
  122. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +5 -5
  123. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +5 -5
  124. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +5 -5
  125. package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +3 -3
  126. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +5 -5
  127. package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
  128. package/dist-types/commands/CreateRouteTableCommand.d.ts +5 -5
  129. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +5 -5
  130. package/dist-types/commands/CreateSnapshotCommand.d.ts +5 -5
  131. package/dist-types/commands/CreateSnapshotsCommand.d.ts +7 -7
  132. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
  133. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +3 -3
  134. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +5 -5
  135. package/dist-types/commands/CreateSubnetCommand.d.ts +5 -5
  136. package/dist-types/commands/CreateTagsCommand.d.ts +4 -4
  137. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +5 -5
  138. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +2 -2
  139. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +5 -5
  140. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +5 -5
  141. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +7 -7
  142. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +6 -6
  143. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +7 -7
  144. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +6 -6
  145. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +6 -6
  146. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +5 -5
  147. package/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  148. package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  149. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +5 -5
  150. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +5 -5
  151. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +7 -7
  152. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +9 -9
  153. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +5 -5
  154. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +5 -5
  155. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +7 -7
  156. package/dist-types/commands/CreateVolumeCommand.d.ts +5 -5
  157. package/dist-types/commands/CreateVpcCommand.d.ts +5 -5
  158. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +9 -9
  159. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -2
  160. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +6 -6
  161. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +5 -5
  162. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +25 -24
  163. package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
  164. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +5 -5
  165. package/dist-types/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
  166. package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
  167. package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -1
  168. package/dist-types/commands/DeleteCoipCidrCommand.d.ts +1 -1
  169. package/dist-types/commands/DeleteCoipPoolCommand.d.ts +1 -1
  170. package/dist-types/commands/DeleteCustomerGatewayCommand.d.ts +1 -1
  171. package/dist-types/commands/DeleteDhcpOptionsCommand.d.ts +1 -1
  172. package/dist-types/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +1 -1
  173. package/dist-types/commands/DeleteFleetsCommand.d.ts +2 -2
  174. package/dist-types/commands/DeleteFlowLogsCommand.d.ts +2 -2
  175. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +1 -1
  176. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  177. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  178. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  179. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  180. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  181. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  182. package/dist-types/commands/DeleteKeyPairCommand.d.ts +1 -1
  183. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  184. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -2
  185. package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  186. package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -1
  187. package/dist-types/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  188. package/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  189. package/dist-types/commands/DeleteManagedPrefixListCommand.d.ts +1 -1
  190. package/dist-types/commands/DeleteNatGatewayCommand.d.ts +1 -1
  191. package/dist-types/commands/DeleteNetworkAclCommand.d.ts +1 -1
  192. package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
  193. package/dist-types/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  194. package/dist-types/commands/DeleteNetworkInsightsAccessScopeCommand.d.ts +1 -1
  195. package/dist-types/commands/DeleteNetworkInsightsAnalysisCommand.d.ts +1 -1
  196. package/dist-types/commands/DeleteNetworkInsightsPathCommand.d.ts +1 -1
  197. package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
  198. package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
  199. package/dist-types/commands/DeletePlacementGroupCommand.d.ts +1 -1
  200. package/dist-types/commands/DeletePublicIpv4PoolCommand.d.ts +1 -1
  201. package/dist-types/commands/DeleteQueuedReservedInstancesCommand.d.ts +2 -2
  202. package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
  203. package/dist-types/commands/DeleteRouteTableCommand.d.ts +1 -1
  204. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
  205. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  206. package/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  207. package/dist-types/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
  208. package/dist-types/commands/DeleteSubnetCommand.d.ts +1 -1
  209. package/dist-types/commands/DeleteTagsCommand.d.ts +4 -4
  210. package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -1
  211. package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
  212. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -1
  213. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  214. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  215. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -1
  216. package/dist-types/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
  217. package/dist-types/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
  218. package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  219. package/dist-types/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +1 -1
  220. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  221. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  222. package/dist-types/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  223. package/dist-types/commands/DeleteTransitGatewayRouteTableCommand.d.ts +1 -1
  224. package/dist-types/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  225. package/dist-types/commands/DeleteVerifiedAccessEndpointCommand.d.ts +1 -1
  226. package/dist-types/commands/DeleteVerifiedAccessGroupCommand.d.ts +1 -1
  227. package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +1 -1
  228. package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +1 -1
  229. package/dist-types/commands/DeleteVolumeCommand.d.ts +1 -1
  230. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -1
  231. package/dist-types/commands/DeleteVpcEndpointConnectionNotificationsCommand.d.ts +2 -2
  232. package/dist-types/commands/DeleteVpcEndpointServiceConfigurationsCommand.d.ts +2 -2
  233. package/dist-types/commands/DeleteVpcEndpointsCommand.d.ts +2 -2
  234. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
  235. package/dist-types/commands/DeleteVpnConnectionCommand.d.ts +1 -1
  236. package/dist-types/commands/DeleteVpnConnectionRouteCommand.d.ts +1 -1
  237. package/dist-types/commands/DeleteVpnGatewayCommand.d.ts +1 -1
  238. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +1 -1
  239. package/dist-types/commands/DeprovisionIpamPoolCidrCommand.d.ts +1 -1
  240. package/dist-types/commands/DeprovisionPublicIpv4PoolCidrCommand.d.ts +1 -1
  241. package/dist-types/commands/DeregisterImageCommand.d.ts +1 -1
  242. package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +3 -3
  243. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -2
  244. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -2
  245. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +2 -2
  246. package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +2 -2
  247. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +2 -2
  248. package/dist-types/commands/DescribeAddressesCommand.d.ts +6 -6
  249. package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -1
  250. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +6 -6
  251. package/dist-types/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +4 -4
  252. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +5 -5
  253. package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +1 -1
  254. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +5 -5
  255. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +5 -5
  256. package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +5 -5
  257. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +5 -5
  258. package/dist-types/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +4 -4
  259. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +4 -4
  260. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +5 -5
  261. package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +4 -4
  262. package/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +4 -4
  263. package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +5 -5
  264. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +2 -2
  265. package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +5 -5
  266. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +5 -5
  267. package/dist-types/commands/DescribeEgressOnlyInternetGatewaysCommand.d.ts +5 -5
  268. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +5 -5
  269. package/dist-types/commands/DescribeExportImageTasksCommand.d.ts +5 -5
  270. package/dist-types/commands/DescribeExportTasksCommand.d.ts +5 -5
  271. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +5 -5
  272. package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +4 -4
  273. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +1 -1
  274. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +4 -4
  275. package/dist-types/commands/DescribeFleetsCommand.d.ts +5 -5
  276. package/dist-types/commands/DescribeFlowLogsCommand.d.ts +5 -5
  277. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +1 -1
  278. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +6 -6
  279. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -4
  280. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +5 -5
  281. package/dist-types/commands/DescribeHostsCommand.d.ts +5 -5
  282. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +5 -5
  283. package/dist-types/commands/DescribeIdFormatCommand.d.ts +1 -1
  284. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  285. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  286. package/dist-types/commands/DescribeImagesCommand.d.ts +7 -7
  287. package/dist-types/commands/DescribeImportImageTasksCommand.d.ts +5 -5
  288. package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +5 -5
  289. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  290. package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +5 -5
  291. package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  292. package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +5 -5
  293. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +5 -5
  294. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +4 -4
  295. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +5 -5
  296. package/dist-types/commands/DescribeInstancesCommand.d.ts +5 -5
  297. package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +5 -5
  298. package/dist-types/commands/DescribeIpamPoolsCommand.d.ts +4 -4
  299. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +4 -4
  300. package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +4 -4
  301. package/dist-types/commands/DescribeIpamScopesCommand.d.ts +4 -4
  302. package/dist-types/commands/DescribeIpamsCommand.d.ts +4 -4
  303. package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +5 -5
  304. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +6 -6
  305. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +5 -5
  306. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +6 -6
  307. package/dist-types/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.d.ts +5 -5
  308. package/dist-types/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.d.ts +5 -5
  309. package/dist-types/commands/DescribeLocalGatewayRouteTablesCommand.d.ts +5 -5
  310. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +5 -5
  311. package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +5 -5
  312. package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +5 -5
  313. package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +4 -4
  314. package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +4 -4
  315. package/dist-types/commands/DescribeNatGatewaysCommand.d.ts +5 -5
  316. package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +5 -5
  317. package/dist-types/commands/DescribeNetworkInsightsAccessScopeAnalysesCommand.d.ts +5 -5
  318. package/dist-types/commands/DescribeNetworkInsightsAccessScopesCommand.d.ts +5 -5
  319. package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +5 -5
  320. package/dist-types/commands/DescribeNetworkInsightsPathsCommand.d.ts +5 -5
  321. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
  322. package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +5 -5
  323. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +5 -5
  324. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +6 -6
  325. package/dist-types/commands/DescribePrefixListsCommand.d.ts +5 -5
  326. package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +2 -2
  327. package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +5 -5
  328. package/dist-types/commands/DescribeRegionsCommand.d.ts +5 -5
  329. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +5 -5
  330. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +5 -5
  331. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +4 -4
  332. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +5 -5
  333. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +5 -5
  334. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +5 -5
  335. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +7 -7
  336. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +6 -6
  337. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +2 -2
  338. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +5 -5
  339. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +6 -6
  340. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  341. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -4
  342. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +7 -7
  343. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
  344. package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  345. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
  346. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  347. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +5 -5
  348. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +6 -6
  349. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  350. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +5 -5
  351. package/dist-types/commands/DescribeSubnetsCommand.d.ts +5 -5
  352. package/dist-types/commands/DescribeTagsCommand.d.ts +4 -4
  353. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +5 -5
  354. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +5 -5
  355. package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +5 -5
  356. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +5 -5
  357. package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +5 -5
  358. package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +5 -5
  359. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +5 -5
  360. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +5 -5
  361. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +5 -5
  362. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +5 -5
  363. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +5 -5
  364. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +5 -5
  365. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +5 -5
  366. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +5 -5
  367. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +5 -5
  368. package/dist-types/commands/DescribeVerifiedAccessGroupsCommand.d.ts +5 -5
  369. package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +5 -5
  370. package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +5 -5
  371. package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +5 -5
  372. package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
  373. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +5 -5
  374. package/dist-types/commands/DescribeVolumesCommand.d.ts +5 -5
  375. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +5 -5
  376. package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
  377. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +5 -5
  378. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
  379. package/dist-types/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +4 -4
  380. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +4 -4
  381. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +5 -5
  382. package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +4 -4
  383. package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +4 -4
  384. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +5 -5
  385. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +5 -5
  386. package/dist-types/commands/DescribeVpcsCommand.d.ts +5 -5
  387. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +5 -5
  388. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +5 -5
  389. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -1
  390. package/dist-types/commands/DetachInternetGatewayCommand.d.ts +1 -1
  391. package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
  392. package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +1 -1
  393. package/dist-types/commands/DetachVolumeCommand.d.ts +1 -1
  394. package/dist-types/commands/DetachVpnGatewayCommand.d.ts +1 -1
  395. package/dist-types/commands/DisableAddressTransferCommand.d.ts +1 -1
  396. package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  397. package/dist-types/commands/DisableEbsEncryptionByDefaultCommand.d.ts +1 -1
  398. package/dist-types/commands/DisableFastLaunchCommand.d.ts +1 -1
  399. package/dist-types/commands/DisableFastSnapshotRestoresCommand.d.ts +3 -3
  400. package/dist-types/commands/DisableImageDeprecationCommand.d.ts +1 -1
  401. package/dist-types/commands/DisableIpamOrganizationAdminAccountCommand.d.ts +1 -1
  402. package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
  403. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  404. package/dist-types/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
  405. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
  406. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  407. package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
  408. package/dist-types/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +1 -1
  409. package/dist-types/commands/DisassociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
  410. package/dist-types/commands/DisassociateIamInstanceProfileCommand.d.ts +1 -1
  411. package/dist-types/commands/DisassociateInstanceEventWindowCommand.d.ts +6 -6
  412. package/dist-types/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +1 -1
  413. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +2 -2
  414. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  415. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
  416. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +2 -2
  417. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  418. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  419. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  420. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  421. package/dist-types/commands/EnableAddressTransferCommand.d.ts +1 -1
  422. package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  423. package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  424. package/dist-types/commands/EnableFastLaunchCommand.d.ts +3 -3
  425. package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +3 -3
  426. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -1
  427. package/dist-types/commands/EnableIpamOrganizationAdminAccountCommand.d.ts +1 -1
  428. package/dist-types/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +1 -1
  429. package/dist-types/commands/EnableSerialConsoleAccessCommand.d.ts +1 -1
  430. package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  431. package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  432. package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
  433. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  434. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  435. package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  436. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
  437. package/dist-types/commands/ExportImageCommand.d.ts +6 -6
  438. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +4 -4
  439. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  440. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  441. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +3 -3
  442. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  443. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +4 -4
  444. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
  445. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  446. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  447. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  448. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  449. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +4 -4
  450. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  451. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +2 -2
  452. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +21 -21
  453. package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +1 -1
  454. package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +1 -1
  455. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -4
  456. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +4 -4
  457. package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +4 -4
  458. package/dist-types/commands/GetIpamPoolCidrsCommand.d.ts +4 -4
  459. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +5 -5
  460. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  461. package/dist-types/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
  462. package/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +1 -1
  463. package/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +1 -1
  464. package/dist-types/commands/GetNetworkInsightsAccessScopeContentCommand.d.ts +1 -1
  465. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  466. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +4 -4
  467. package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
  468. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +24 -24
  469. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +4 -4
  470. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +4 -4
  471. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -4
  472. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +4 -4
  473. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -4
  474. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +4 -4
  475. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +4 -4
  476. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +4 -4
  477. package/dist-types/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  478. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  479. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
  480. package/dist-types/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
  481. package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +65 -0
  482. package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  483. package/dist-types/commands/ImportImageCommand.d.ts +11 -11
  484. package/dist-types/commands/ImportInstanceCommand.d.ts +10 -10
  485. package/dist-types/commands/ImportKeyPairCommand.d.ts +5 -5
  486. package/dist-types/commands/ImportSnapshotCommand.d.ts +9 -9
  487. package/dist-types/commands/ImportVolumeCommand.d.ts +3 -3
  488. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  489. package/dist-types/commands/ListSnapshotsInRecycleBinCommand.d.ts +2 -2
  490. package/dist-types/commands/ModifyAddressAttributeCommand.d.ts +1 -1
  491. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  492. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  493. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  494. package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +7 -7
  495. package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +1 -1
  496. package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  497. package/dist-types/commands/ModifyFleetCommand.d.ts +26 -26
  498. package/dist-types/commands/ModifyFpgaImageAttributeCommand.d.ts +7 -7
  499. package/dist-types/commands/ModifyHostsCommand.d.ts +2 -2
  500. package/dist-types/commands/ModifyIdFormatCommand.d.ts +1 -1
  501. package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
  502. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +10 -10
  503. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +8 -8
  504. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +3 -3
  505. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +3 -3
  506. package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  507. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +3 -3
  508. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
  509. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  510. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  511. package/dist-types/commands/ModifyIpamCommand.d.ts +5 -5
  512. package/dist-types/commands/ModifyIpamPoolCommand.d.ts +3 -3
  513. package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
  514. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +5 -5
  515. package/dist-types/commands/ModifyIpamScopeCommand.d.ts +1 -1
  516. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  517. package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  518. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +5 -5
  519. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +7 -7
  520. package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  521. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -4
  522. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +4 -4
  523. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +6 -6
  524. package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
  525. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +24 -24
  526. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +4 -8
  527. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +2 -2
  528. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +3 -3
  529. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +2 -2
  530. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +3 -3
  531. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  532. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +3 -3
  533. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +4 -4
  534. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  535. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  536. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  537. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  538. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +5 -5
  539. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -2
  540. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +2 -2
  541. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  542. package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +2 -2
  543. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +5 -5
  544. package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +2 -2
  545. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +3 -5
  546. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  547. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +2 -2
  548. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +2 -2
  549. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  550. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  551. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  552. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  553. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +20 -18
  554. package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -2
  555. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  556. package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  557. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +6 -6
  558. package/dist-types/commands/ProvisionIpamPoolCidrCommand.d.ts +2 -2
  559. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -1
  560. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +6 -6
  561. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +2 -2
  562. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +3 -3
  563. package/dist-types/commands/RebootInstancesCommand.d.ts +2 -2
  564. package/dist-types/commands/RegisterImageCommand.d.ts +5 -5
  565. package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +3 -3
  566. package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -2
  567. package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -2
  568. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -2
  569. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  570. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  571. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +2 -2
  572. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  573. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  574. package/dist-types/commands/ReleaseHostsCommand.d.ts +2 -2
  575. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  576. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +2 -2
  577. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  578. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +3 -3
  579. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  580. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  581. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  582. package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +66 -0
  583. package/dist-types/commands/ReportInstanceStatusCommand.d.ts +3 -3
  584. package/dist-types/commands/RequestSpotFleetCommand.d.ts +61 -61
  585. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +25 -25
  586. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  587. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  588. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  589. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  590. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  591. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  592. package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  593. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  594. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
  595. package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  596. package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  597. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -1
  598. package/dist-types/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  599. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +12 -12
  600. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +12 -12
  601. package/dist-types/commands/RunInstancesCommand.d.ts +41 -41
  602. package/dist-types/commands/RunScheduledInstancesCommand.d.ts +15 -15
  603. package/dist-types/commands/SearchLocalGatewayRoutesCommand.d.ts +4 -4
  604. package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +4 -4
  605. package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +4 -4
  606. package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
  607. package/dist-types/commands/StartInstancesCommand.d.ts +4 -3
  608. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +6 -6
  609. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +8 -9
  610. package/dist-types/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +1 -1
  611. package/dist-types/commands/StopInstancesCommand.d.ts +2 -2
  612. package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  613. package/dist-types/commands/TerminateInstancesCommand.d.ts +2 -2
  614. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +3 -3
  615. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +3 -3
  616. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +2 -2
  617. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -2
  618. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +13 -13
  619. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +13 -13
  620. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -1
  621. package/dist-types/commands/index.d.ts +2 -0
  622. package/dist-types/models/models_0.d.ts +1464 -1134
  623. package/dist-types/models/models_1.d.ts +757 -397
  624. package/dist-types/models/models_2.d.ts +568 -280
  625. package/dist-types/models/models_3.d.ts +466 -241
  626. package/dist-types/models/models_4.d.ts +387 -197
  627. package/dist-types/models/models_5.d.ts +212 -191
  628. package/dist-types/models/models_6.d.ts +290 -159
  629. package/dist-types/models/models_7.d.ts +95 -3
  630. package/dist-types/protocols/Aws_ec2.d.ts +6 -0
  631. package/dist-types/ts3.4/EC2.d.ts +34 -0
  632. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  633. package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +41 -0
  634. package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
  635. package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +37 -0
  636. package/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +2 -4
  637. package/dist-types/ts3.4/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  638. package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +4 -2
  639. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  640. package/dist-types/ts3.4/models/models_0.d.ts +1244 -1126
  641. package/dist-types/ts3.4/models/models_1.d.ts +523 -397
  642. package/dist-types/ts3.4/models/models_2.d.ts +381 -280
  643. package/dist-types/ts3.4/models/models_3.d.ts +324 -241
  644. package/dist-types/ts3.4/models/models_4.d.ts +261 -197
  645. package/dist-types/ts3.4/models/models_5.d.ts +123 -101
  646. package/dist-types/ts3.4/models/models_6.d.ts +126 -91
  647. package/dist-types/ts3.4/models/models_7.d.ts +37 -3
  648. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  649. package/package.json +36 -36
@@ -1,85 +1,71 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_4";
3
3
  import { DiskImageDetailFilterSensitiveLog, } from "./models_5";
4
- export var ModifyAvailabilityZoneOptInStatus;
5
- (function (ModifyAvailabilityZoneOptInStatus) {
6
- ModifyAvailabilityZoneOptInStatus["not_opted_in"] = "not-opted-in";
7
- ModifyAvailabilityZoneOptInStatus["opted_in"] = "opted-in";
8
- })(ModifyAvailabilityZoneOptInStatus || (ModifyAvailabilityZoneOptInStatus = {}));
9
- export var OperationType;
10
- (function (OperationType) {
11
- OperationType["add"] = "add";
12
- OperationType["remove"] = "remove";
13
- })(OperationType || (OperationType = {}));
14
- export var UnsuccessfulInstanceCreditSpecificationErrorCode;
15
- (function (UnsuccessfulInstanceCreditSpecificationErrorCode) {
16
- UnsuccessfulInstanceCreditSpecificationErrorCode["INCORRECT_INSTANCE_STATE"] = "IncorrectInstanceState";
17
- UnsuccessfulInstanceCreditSpecificationErrorCode["INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED"] = "InstanceCreditSpecification.NotSupported";
18
- UnsuccessfulInstanceCreditSpecificationErrorCode["INSTANCE_NOT_FOUND"] = "InvalidInstanceID.NotFound";
19
- UnsuccessfulInstanceCreditSpecificationErrorCode["INVALID_INSTANCE_ID"] = "InvalidInstanceID.Malformed";
20
- })(UnsuccessfulInstanceCreditSpecificationErrorCode || (UnsuccessfulInstanceCreditSpecificationErrorCode = {}));
21
- export var HostTenancy;
22
- (function (HostTenancy) {
23
- HostTenancy["dedicated"] = "dedicated";
24
- HostTenancy["host"] = "host";
25
- })(HostTenancy || (HostTenancy = {}));
26
- export var TargetStorageTier;
27
- (function (TargetStorageTier) {
28
- TargetStorageTier["archive"] = "archive";
29
- })(TargetStorageTier || (TargetStorageTier = {}));
30
- export var TrafficMirrorFilterRuleField;
31
- (function (TrafficMirrorFilterRuleField) {
32
- TrafficMirrorFilterRuleField["description"] = "description";
33
- TrafficMirrorFilterRuleField["destination_port_range"] = "destination-port-range";
34
- TrafficMirrorFilterRuleField["protocol"] = "protocol";
35
- TrafficMirrorFilterRuleField["source_port_range"] = "source-port-range";
36
- })(TrafficMirrorFilterRuleField || (TrafficMirrorFilterRuleField = {}));
37
- export var TrafficMirrorSessionField;
38
- (function (TrafficMirrorSessionField) {
39
- TrafficMirrorSessionField["description"] = "description";
40
- TrafficMirrorSessionField["packet_length"] = "packet-length";
41
- TrafficMirrorSessionField["virtual_network_id"] = "virtual-network-id";
42
- })(TrafficMirrorSessionField || (TrafficMirrorSessionField = {}));
43
- export var VpcTenancy;
44
- (function (VpcTenancy) {
45
- VpcTenancy["default"] = "default";
46
- })(VpcTenancy || (VpcTenancy = {}));
47
- export var Status;
48
- (function (Status) {
49
- Status["inClassic"] = "InClassic";
50
- Status["inVpc"] = "InVpc";
51
- Status["moveInProgress"] = "MoveInProgress";
52
- })(Status || (Status = {}));
53
- export var ReportInstanceReasonCodes;
54
- (function (ReportInstanceReasonCodes) {
55
- ReportInstanceReasonCodes["instance_stuck_in_state"] = "instance-stuck-in-state";
56
- ReportInstanceReasonCodes["not_accepting_credentials"] = "not-accepting-credentials";
57
- ReportInstanceReasonCodes["other"] = "other";
58
- ReportInstanceReasonCodes["password_not_available"] = "password-not-available";
59
- ReportInstanceReasonCodes["performance_ebs_volume"] = "performance-ebs-volume";
60
- ReportInstanceReasonCodes["performance_instance_store"] = "performance-instance-store";
61
- ReportInstanceReasonCodes["performance_network"] = "performance-network";
62
- ReportInstanceReasonCodes["performance_other"] = "performance-other";
63
- ReportInstanceReasonCodes["unresponsive"] = "unresponsive";
64
- })(ReportInstanceReasonCodes || (ReportInstanceReasonCodes = {}));
65
- export var ReportStatusType;
66
- (function (ReportStatusType) {
67
- ReportStatusType["impaired"] = "impaired";
68
- ReportStatusType["ok"] = "ok";
69
- })(ReportStatusType || (ReportStatusType = {}));
70
- export var ResetFpgaImageAttributeName;
71
- (function (ResetFpgaImageAttributeName) {
72
- ResetFpgaImageAttributeName["loadPermission"] = "loadPermission";
73
- })(ResetFpgaImageAttributeName || (ResetFpgaImageAttributeName = {}));
74
- export var ResetImageAttributeName;
75
- (function (ResetImageAttributeName) {
76
- ResetImageAttributeName["launchPermission"] = "launchPermission";
77
- })(ResetImageAttributeName || (ResetImageAttributeName = {}));
78
- export var MembershipType;
79
- (function (MembershipType) {
80
- MembershipType["igmp"] = "igmp";
81
- MembershipType["static"] = "static";
82
- })(MembershipType || (MembershipType = {}));
4
+ export const ModifyAvailabilityZoneOptInStatus = {
5
+ not_opted_in: "not-opted-in",
6
+ opted_in: "opted-in",
7
+ };
8
+ export const OperationType = {
9
+ add: "add",
10
+ remove: "remove",
11
+ };
12
+ export const UnsuccessfulInstanceCreditSpecificationErrorCode = {
13
+ INCORRECT_INSTANCE_STATE: "IncorrectInstanceState",
14
+ INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported",
15
+ INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound",
16
+ INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed",
17
+ };
18
+ export const HostTenancy = {
19
+ dedicated: "dedicated",
20
+ host: "host",
21
+ };
22
+ export const TargetStorageTier = {
23
+ archive: "archive",
24
+ };
25
+ export const TrafficMirrorFilterRuleField = {
26
+ description: "description",
27
+ destination_port_range: "destination-port-range",
28
+ protocol: "protocol",
29
+ source_port_range: "source-port-range",
30
+ };
31
+ export const TrafficMirrorSessionField = {
32
+ description: "description",
33
+ packet_length: "packet-length",
34
+ virtual_network_id: "virtual-network-id",
35
+ };
36
+ export const VpcTenancy = {
37
+ default: "default",
38
+ };
39
+ export const Status = {
40
+ inClassic: "InClassic",
41
+ inVpc: "InVpc",
42
+ moveInProgress: "MoveInProgress",
43
+ };
44
+ export const ReportInstanceReasonCodes = {
45
+ instance_stuck_in_state: "instance-stuck-in-state",
46
+ not_accepting_credentials: "not-accepting-credentials",
47
+ other: "other",
48
+ password_not_available: "password-not-available",
49
+ performance_ebs_volume: "performance-ebs-volume",
50
+ performance_instance_store: "performance-instance-store",
51
+ performance_network: "performance-network",
52
+ performance_other: "performance-other",
53
+ unresponsive: "unresponsive",
54
+ };
55
+ export const ReportStatusType = {
56
+ impaired: "impaired",
57
+ ok: "ok",
58
+ };
59
+ export const ResetFpgaImageAttributeName = {
60
+ loadPermission: "loadPermission",
61
+ };
62
+ export const ResetImageAttributeName = {
63
+ launchPermission: "launchPermission",
64
+ };
65
+ export const MembershipType = {
66
+ igmp: "igmp",
67
+ static: "static",
68
+ };
83
69
  export const ImportVolumeRequestFilterSensitiveLog = (obj) => ({
84
70
  ...obj,
85
71
  ...(obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) }),
@@ -5415,6 +5415,18 @@ export const serializeAws_ec2GetVpnConnectionDeviceTypesCommand = async (input,
5415
5415
  });
5416
5416
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
5417
5417
  };
5418
+ export const serializeAws_ec2GetVpnTunnelReplacementStatusCommand = async (input, context) => {
5419
+ const headers = {
5420
+ "content-type": "application/x-www-form-urlencoded",
5421
+ };
5422
+ let body;
5423
+ body = buildFormUrlencodedString({
5424
+ ...serializeAws_ec2GetVpnTunnelReplacementStatusRequest(input, context),
5425
+ Action: "GetVpnTunnelReplacementStatus",
5426
+ Version: "2016-11-15",
5427
+ });
5428
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5429
+ };
5418
5430
  export const serializeAws_ec2ImportClientVpnClientCertificateRevocationListCommand = async (input, context) => {
5419
5431
  const headers = {
5420
5432
  "content-type": "application/x-www-form-urlencoded",
@@ -6615,6 +6627,18 @@ export const serializeAws_ec2ReplaceTransitGatewayRouteCommand = async (input, c
6615
6627
  });
6616
6628
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
6617
6629
  };
6630
+ export const serializeAws_ec2ReplaceVpnTunnelCommand = async (input, context) => {
6631
+ const headers = {
6632
+ "content-type": "application/x-www-form-urlencoded",
6633
+ };
6634
+ let body;
6635
+ body = buildFormUrlencodedString({
6636
+ ...serializeAws_ec2ReplaceVpnTunnelRequest(input, context),
6637
+ Action: "ReplaceVpnTunnel",
6638
+ Version: "2016-11-15",
6639
+ });
6640
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
6641
+ };
6618
6642
  export const serializeAws_ec2ReportInstanceStatusCommand = async (input, context) => {
6619
6643
  const headers = {
6620
6644
  "content-type": "application/x-www-form-urlencoded",
@@ -19140,6 +19164,33 @@ const deserializeAws_ec2GetVpnConnectionDeviceTypesCommandError = async (output,
19140
19164
  errorCode,
19141
19165
  });
19142
19166
  };
19167
+ export const deserializeAws_ec2GetVpnTunnelReplacementStatusCommand = async (output, context) => {
19168
+ if (output.statusCode >= 300) {
19169
+ return deserializeAws_ec2GetVpnTunnelReplacementStatusCommandError(output, context);
19170
+ }
19171
+ const data = await parseBody(output.body, context);
19172
+ let contents = {};
19173
+ contents = deserializeAws_ec2GetVpnTunnelReplacementStatusResult(data, context);
19174
+ const response = {
19175
+ $metadata: deserializeMetadata(output),
19176
+ ...contents,
19177
+ };
19178
+ return Promise.resolve(response);
19179
+ };
19180
+ const deserializeAws_ec2GetVpnTunnelReplacementStatusCommandError = async (output, context) => {
19181
+ const parsedOutput = {
19182
+ ...output,
19183
+ body: await parseErrorBody(output.body, context),
19184
+ };
19185
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
19186
+ const parsedBody = parsedOutput.body;
19187
+ throwDefaultError({
19188
+ output,
19189
+ parsedBody: parsedBody.Errors.Error,
19190
+ exceptionCtor: __BaseException,
19191
+ errorCode,
19192
+ });
19193
+ };
19143
19194
  export const deserializeAws_ec2ImportClientVpnClientCertificateRevocationListCommand = async (output, context) => {
19144
19195
  if (output.statusCode >= 300) {
19145
19196
  return deserializeAws_ec2ImportClientVpnClientCertificateRevocationListCommandError(output, context);
@@ -21801,6 +21852,33 @@ const deserializeAws_ec2ReplaceTransitGatewayRouteCommandError = async (output,
21801
21852
  errorCode,
21802
21853
  });
21803
21854
  };
21855
+ export const deserializeAws_ec2ReplaceVpnTunnelCommand = async (output, context) => {
21856
+ if (output.statusCode >= 300) {
21857
+ return deserializeAws_ec2ReplaceVpnTunnelCommandError(output, context);
21858
+ }
21859
+ const data = await parseBody(output.body, context);
21860
+ let contents = {};
21861
+ contents = deserializeAws_ec2ReplaceVpnTunnelResult(data, context);
21862
+ const response = {
21863
+ $metadata: deserializeMetadata(output),
21864
+ ...contents,
21865
+ };
21866
+ return Promise.resolve(response);
21867
+ };
21868
+ const deserializeAws_ec2ReplaceVpnTunnelCommandError = async (output, context) => {
21869
+ const parsedOutput = {
21870
+ ...output,
21871
+ body: await parseErrorBody(output.body, context),
21872
+ };
21873
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
21874
+ const parsedBody = parsedOutput.body;
21875
+ throwDefaultError({
21876
+ output,
21877
+ parsedBody: parsedBody.Errors.Error,
21878
+ exceptionCtor: __BaseException,
21879
+ errorCode,
21880
+ });
21881
+ };
21804
21882
  export const deserializeAws_ec2ReportInstanceStatusCommand = async (output, context) => {
21805
21883
  if (output.statusCode >= 300) {
21806
21884
  return deserializeAws_ec2ReportInstanceStatusCommandError(output, context);
@@ -35252,6 +35330,19 @@ const serializeAws_ec2GetVpnConnectionDeviceTypesRequest = (input, context) => {
35252
35330
  }
35253
35331
  return entries;
35254
35332
  };
35333
+ const serializeAws_ec2GetVpnTunnelReplacementStatusRequest = (input, context) => {
35334
+ const entries = {};
35335
+ if (input.VpnConnectionId != null) {
35336
+ entries["VpnConnectionId"] = input.VpnConnectionId;
35337
+ }
35338
+ if (input.VpnTunnelOutsideIpAddress != null) {
35339
+ entries["VpnTunnelOutsideIpAddress"] = input.VpnTunnelOutsideIpAddress;
35340
+ }
35341
+ if (input.DryRun != null) {
35342
+ entries["DryRun"] = input.DryRun;
35343
+ }
35344
+ return entries;
35345
+ };
35255
35346
  const serializeAws_ec2GroupIdentifier = (input, context) => {
35256
35347
  const entries = {};
35257
35348
  if (input.GroupName != null) {
@@ -39772,6 +39863,9 @@ const serializeAws_ec2ModifyVpnTunnelOptionsRequest = (input, context) => {
39772
39863
  if (input.DryRun != null) {
39773
39864
  entries["DryRun"] = input.DryRun;
39774
39865
  }
39866
+ if (input.SkipTunnelReplacement != null) {
39867
+ entries["SkipTunnelReplacement"] = input.SkipTunnelReplacement;
39868
+ }
39775
39869
  return entries;
39776
39870
  };
39777
39871
  const serializeAws_ec2ModifyVpnTunnelOptionsSpecification = (input, context) => {
@@ -39886,6 +39980,9 @@ const serializeAws_ec2ModifyVpnTunnelOptionsSpecification = (input, context) =>
39886
39980
  entries[loc] = value;
39887
39981
  });
39888
39982
  }
39983
+ if (input.EnableTunnelLifecycleControl != null) {
39984
+ entries["EnableTunnelLifecycleControl"] = input.EnableTunnelLifecycleControl;
39985
+ }
39889
39986
  return entries;
39890
39987
  };
39891
39988
  const serializeAws_ec2MonitorInstancesRequest = (input, context) => {
@@ -41417,6 +41514,22 @@ const serializeAws_ec2ReplaceTransitGatewayRouteRequest = (input, context) => {
41417
41514
  }
41418
41515
  return entries;
41419
41516
  };
41517
+ const serializeAws_ec2ReplaceVpnTunnelRequest = (input, context) => {
41518
+ const entries = {};
41519
+ if (input.VpnConnectionId != null) {
41520
+ entries["VpnConnectionId"] = input.VpnConnectionId;
41521
+ }
41522
+ if (input.VpnTunnelOutsideIpAddress != null) {
41523
+ entries["VpnTunnelOutsideIpAddress"] = input.VpnTunnelOutsideIpAddress;
41524
+ }
41525
+ if (input.ApplyPendingMaintenance != null) {
41526
+ entries["ApplyPendingMaintenance"] = input.ApplyPendingMaintenance;
41527
+ }
41528
+ if (input.DryRun != null) {
41529
+ entries["DryRun"] = input.DryRun;
41530
+ }
41531
+ return entries;
41532
+ };
41420
41533
  const serializeAws_ec2ReportInstanceStatusRequest = (input, context) => {
41421
41534
  const entries = {};
41422
41535
  if (input.Description != null) {
@@ -44995,6 +45108,9 @@ const serializeAws_ec2VpnTunnelOptionsSpecification = (input, context) => {
44995
45108
  entries[loc] = value;
44996
45109
  });
44997
45110
  }
45111
+ if (input.EnableTunnelLifecycleControl != null) {
45112
+ entries["EnableTunnelLifecycleControl"] = input.EnableTunnelLifecycleControl;
45113
+ }
44998
45114
  return entries;
44999
45115
  };
45000
45116
  const serializeAws_ec2VpnTunnelOptionsSpecificationsList = (input, context) => {
@@ -53137,6 +53253,28 @@ const deserializeAws_ec2GetVpnConnectionDeviceTypesResult = (output, context) =>
53137
53253
  }
53138
53254
  return contents;
53139
53255
  };
53256
+ const deserializeAws_ec2GetVpnTunnelReplacementStatusResult = (output, context) => {
53257
+ const contents = {};
53258
+ if (output["vpnConnectionId"] !== undefined) {
53259
+ contents.VpnConnectionId = __expectString(output["vpnConnectionId"]);
53260
+ }
53261
+ if (output["transitGatewayId"] !== undefined) {
53262
+ contents.TransitGatewayId = __expectString(output["transitGatewayId"]);
53263
+ }
53264
+ if (output["customerGatewayId"] !== undefined) {
53265
+ contents.CustomerGatewayId = __expectString(output["customerGatewayId"]);
53266
+ }
53267
+ if (output["vpnGatewayId"] !== undefined) {
53268
+ contents.VpnGatewayId = __expectString(output["vpnGatewayId"]);
53269
+ }
53270
+ if (output["vpnTunnelOutsideIpAddress"] !== undefined) {
53271
+ contents.VpnTunnelOutsideIpAddress = __expectString(output["vpnTunnelOutsideIpAddress"]);
53272
+ }
53273
+ if (output["maintenanceDetails"] !== undefined) {
53274
+ contents.MaintenanceDetails = deserializeAws_ec2MaintenanceDetails(output["maintenanceDetails"], context);
53275
+ }
53276
+ return contents;
53277
+ };
53140
53278
  const deserializeAws_ec2GpuDeviceInfo = (output, context) => {
53141
53279
  const contents = {};
53142
53280
  if (output["name"] !== undefined) {
@@ -57122,6 +57260,19 @@ const deserializeAws_ec2LocalStorageTypeSet = (output, context) => {
57122
57260
  return __expectString(entry);
57123
57261
  });
57124
57262
  };
57263
+ const deserializeAws_ec2MaintenanceDetails = (output, context) => {
57264
+ const contents = {};
57265
+ if (output["pendingMaintenance"] !== undefined) {
57266
+ contents.PendingMaintenance = __expectString(output["pendingMaintenance"]);
57267
+ }
57268
+ if (output["maintenanceAutoAppliedAfter"] !== undefined) {
57269
+ contents.MaintenanceAutoAppliedAfter = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["maintenanceAutoAppliedAfter"]));
57270
+ }
57271
+ if (output["lastMaintenanceApplied"] !== undefined) {
57272
+ contents.LastMaintenanceApplied = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["lastMaintenanceApplied"]));
57273
+ }
57274
+ return contents;
57275
+ };
57125
57276
  const deserializeAws_ec2ManagedPrefixList = (output, context) => {
57126
57277
  const contents = {};
57127
57278
  if (output["prefixListId"] !== undefined) {
@@ -59597,6 +59748,13 @@ const deserializeAws_ec2ReplaceTransitGatewayRouteResult = (output, context) =>
59597
59748
  }
59598
59749
  return contents;
59599
59750
  };
59751
+ const deserializeAws_ec2ReplaceVpnTunnelResult = (output, context) => {
59752
+ const contents = {};
59753
+ if (output["return"] !== undefined) {
59754
+ contents.Return = __parseBoolean(output["return"]);
59755
+ }
59756
+ return contents;
59757
+ };
59600
59758
  const deserializeAws_ec2RequestSpotFleetResponse = (output, context) => {
59601
59759
  const contents = {};
59602
59760
  if (output["spotFleetRequestId"] !== undefined) {
@@ -63600,6 +63758,9 @@ const deserializeAws_ec2TunnelOption = (output, context) => {
63600
63758
  if (output["logOptions"] !== undefined) {
63601
63759
  contents.LogOptions = deserializeAws_ec2VpnTunnelLogOptions(output["logOptions"], context);
63602
63760
  }
63761
+ if (output["enableTunnelLifecycleControl"] !== undefined) {
63762
+ contents.EnableTunnelLifecycleControl = __parseBoolean(output["enableTunnelLifecycleControl"]);
63763
+ }
63603
63764
  return contents;
63604
63765
  };
63605
63766
  const deserializeAws_ec2TunnelOptionsList = (output, context) => {
@@ -450,6 +450,7 @@ import { GetVerifiedAccessEndpointPolicyCommandInput, GetVerifiedAccessEndpointP
450
450
  import { GetVerifiedAccessGroupPolicyCommandInput, GetVerifiedAccessGroupPolicyCommandOutput } from "./commands/GetVerifiedAccessGroupPolicyCommand";
451
451
  import { GetVpnConnectionDeviceSampleConfigurationCommandInput, GetVpnConnectionDeviceSampleConfigurationCommandOutput } from "./commands/GetVpnConnectionDeviceSampleConfigurationCommand";
452
452
  import { GetVpnConnectionDeviceTypesCommandInput, GetVpnConnectionDeviceTypesCommandOutput } from "./commands/GetVpnConnectionDeviceTypesCommand";
453
+ import { GetVpnTunnelReplacementStatusCommandInput, GetVpnTunnelReplacementStatusCommandOutput } from "./commands/GetVpnTunnelReplacementStatusCommand";
453
454
  import { ImportClientVpnClientCertificateRevocationListCommandInput, ImportClientVpnClientCertificateRevocationListCommandOutput } from "./commands/ImportClientVpnClientCertificateRevocationListCommand";
454
455
  import { ImportImageCommandInput, ImportImageCommandOutput } from "./commands/ImportImageCommand";
455
456
  import { ImportInstanceCommandInput, ImportInstanceCommandOutput } from "./commands/ImportInstanceCommand";
@@ -550,6 +551,7 @@ import { ReplaceNetworkAclEntryCommandInput, ReplaceNetworkAclEntryCommandOutput
550
551
  import { ReplaceRouteCommandInput, ReplaceRouteCommandOutput } from "./commands/ReplaceRouteCommand";
551
552
  import { ReplaceRouteTableAssociationCommandInput, ReplaceRouteTableAssociationCommandOutput } from "./commands/ReplaceRouteTableAssociationCommand";
552
553
  import { ReplaceTransitGatewayRouteCommandInput, ReplaceTransitGatewayRouteCommandOutput } from "./commands/ReplaceTransitGatewayRouteCommand";
554
+ import { ReplaceVpnTunnelCommandInput, ReplaceVpnTunnelCommandOutput } from "./commands/ReplaceVpnTunnelCommand";
553
555
  import { ReportInstanceStatusCommandInput, ReportInstanceStatusCommandOutput } from "./commands/ReportInstanceStatusCommand";
554
556
  import { RequestSpotFleetCommandInput, RequestSpotFleetCommandOutput } from "./commands/RequestSpotFleetCommand";
555
557
  import { RequestSpotInstancesCommandInput, RequestSpotInstancesCommandOutput } from "./commands/RequestSpotInstancesCommand";
@@ -5431,6 +5433,13 @@ export declare class EC2 extends EC2Client {
5431
5433
  getVpnConnectionDeviceTypes(args: GetVpnConnectionDeviceTypesCommandInput, options?: __HttpHandlerOptions): Promise<GetVpnConnectionDeviceTypesCommandOutput>;
5432
5434
  getVpnConnectionDeviceTypes(args: GetVpnConnectionDeviceTypesCommandInput, cb: (err: any, data?: GetVpnConnectionDeviceTypesCommandOutput) => void): void;
5433
5435
  getVpnConnectionDeviceTypes(args: GetVpnConnectionDeviceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVpnConnectionDeviceTypesCommandOutput) => void): void;
5436
+ /**
5437
+ * @public
5438
+ * <p>Get details of available tunnel endpoint maintenance.</p>
5439
+ */
5440
+ getVpnTunnelReplacementStatus(args: GetVpnTunnelReplacementStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetVpnTunnelReplacementStatusCommandOutput>;
5441
+ getVpnTunnelReplacementStatus(args: GetVpnTunnelReplacementStatusCommandInput, cb: (err: any, data?: GetVpnTunnelReplacementStatusCommandOutput) => void): void;
5442
+ getVpnTunnelReplacementStatus(args: GetVpnTunnelReplacementStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVpnTunnelReplacementStatusCommandOutput) => void): void;
5434
5443
  /**
5435
5444
  * @public
5436
5445
  * <p>Uploads a client certificate revocation list to the specified Client VPN endpoint. Uploading a client certificate revocation list overwrites the existing client certificate revocation list.</p>
@@ -6700,6 +6709,13 @@ export declare class EC2 extends EC2Client {
6700
6709
  replaceTransitGatewayRoute(args: ReplaceTransitGatewayRouteCommandInput, options?: __HttpHandlerOptions): Promise<ReplaceTransitGatewayRouteCommandOutput>;
6701
6710
  replaceTransitGatewayRoute(args: ReplaceTransitGatewayRouteCommandInput, cb: (err: any, data?: ReplaceTransitGatewayRouteCommandOutput) => void): void;
6702
6711
  replaceTransitGatewayRoute(args: ReplaceTransitGatewayRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReplaceTransitGatewayRouteCommandOutput) => void): void;
6712
+ /**
6713
+ * @public
6714
+ * <p>Trigger replacement of specified VPN tunnel.</p>
6715
+ */
6716
+ replaceVpnTunnel(args: ReplaceVpnTunnelCommandInput, options?: __HttpHandlerOptions): Promise<ReplaceVpnTunnelCommandOutput>;
6717
+ replaceVpnTunnel(args: ReplaceVpnTunnelCommandInput, cb: (err: any, data?: ReplaceVpnTunnelCommandOutput) => void): void;
6718
+ replaceVpnTunnel(args: ReplaceVpnTunnelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReplaceVpnTunnelCommandOutput) => void): void;
6703
6719
  /**
6704
6720
  * @public
6705
6721
  * <p>Submits feedback about the status of an instance. The instance must be in the