@aws-sdk/client-ec2 3.257.0 → 3.258.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 (268) hide show
  1. package/dist-cjs/EC2.js +135 -0
  2. package/dist-cjs/commands/AssociateIpamResourceDiscoveryCommand.js +46 -0
  3. package/dist-cjs/commands/CreateClientVpnRouteCommand.js +2 -1
  4. package/dist-cjs/commands/CreateCoipCidrCommand.js +1 -2
  5. package/dist-cjs/commands/CreateIpamResourceDiscoveryCommand.js +46 -0
  6. package/dist-cjs/commands/CreateRouteTableCommand.js +2 -1
  7. package/dist-cjs/commands/CreateSecurityGroupCommand.js +3 -3
  8. package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
  9. package/dist-cjs/commands/CreateSnapshotsCommand.js +1 -2
  10. package/dist-cjs/commands/DeleteIpamResourceDiscoveryCommand.js +46 -0
  11. package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +2 -1
  12. package/dist-cjs/commands/DeleteTransitGatewayConnectPeerCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteTransitGatewayMulticastDomainCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteTransitGatewayPeeringAttachmentCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteTransitGatewayPolicyTableCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteTransitGatewayPrefixListReferenceCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteTransitGatewayRouteCommand.js +1 -2
  18. package/dist-cjs/commands/DescribeInstanceStatusCommand.js +2 -1
  19. package/dist-cjs/commands/DescribeInstanceTypeOfferingsCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeInstanceTypesCommand.js +1 -2
  21. package/dist-cjs/commands/DescribeIpamResourceDiscoveriesCommand.js +46 -0
  22. package/dist-cjs/commands/DescribeIpamResourceDiscoveryAssociationsCommand.js +46 -0
  23. package/dist-cjs/commands/DescribeVpcAttributeCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeVpcClassicLinkCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeVpcClassicLinkDnsSupportCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeVpcEndpointConnectionNotificationsCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeVpcEndpointConnectionsCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +1 -2
  29. package/dist-cjs/commands/DescribeVpcEndpointsCommand.js +3 -3
  30. package/dist-cjs/commands/DisassociateIpamResourceDiscoveryCommand.js +46 -0
  31. package/dist-cjs/commands/GetIpamDiscoveredAccountsCommand.js +46 -0
  32. package/dist-cjs/commands/GetIpamDiscoveredResourceCidrsCommand.js +46 -0
  33. package/dist-cjs/commands/ModifyClientVpnEndpointCommand.js +3 -3
  34. package/dist-cjs/commands/ModifyDefaultCreditSpecificationCommand.js +3 -3
  35. package/dist-cjs/commands/ModifyEbsDefaultKmsKeyIdCommand.js +3 -3
  36. package/dist-cjs/commands/ModifyFleetCommand.js +3 -3
  37. package/dist-cjs/commands/ModifyFpgaImageAttributeCommand.js +3 -3
  38. package/dist-cjs/commands/ModifyHostsCommand.js +3 -3
  39. package/dist-cjs/commands/ModifyIdFormatCommand.js +2 -2
  40. package/dist-cjs/commands/ModifyIdentityIdFormatCommand.js +2 -2
  41. package/dist-cjs/commands/ModifyImageAttributeCommand.js +2 -2
  42. package/dist-cjs/commands/ModifyInstanceAttributeCommand.js +2 -2
  43. package/dist-cjs/commands/ModifyInstanceCapacityReservationAttributesCommand.js +3 -3
  44. package/dist-cjs/commands/ModifyIpamResourceDiscoveryCommand.js +46 -0
  45. package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.js +3 -3
  46. package/dist-cjs/commands/WithdrawByoipCidrCommand.js +3 -3
  47. package/dist-cjs/commands/index.js +9 -0
  48. package/dist-cjs/endpoint/ruleset.js +3 -3
  49. package/dist-cjs/models/index.js +1 -0
  50. package/dist-cjs/models/models_0.js +37 -29
  51. package/dist-cjs/models/models_1.js +61 -51
  52. package/dist-cjs/models/models_2.js +59 -54
  53. package/dist-cjs/models/models_3.js +55 -63
  54. package/dist-cjs/models/models_4.js +79 -70
  55. package/dist-cjs/models/models_5.js +112 -111
  56. package/dist-cjs/models/models_6.js +119 -22
  57. package/dist-cjs/models/models_7.js +19 -0
  58. package/dist-cjs/pagination/DescribeIpamResourceDiscoveriesPaginator.js +36 -0
  59. package/dist-cjs/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.js +36 -0
  60. package/dist-cjs/pagination/GetIpamDiscoveredAccountsPaginator.js +36 -0
  61. package/dist-cjs/pagination/GetIpamDiscoveredResourceCidrsPaginator.js +36 -0
  62. package/dist-cjs/pagination/index.js +4 -0
  63. package/dist-cjs/protocols/Aws_ec2.js +997 -24
  64. package/dist-cjs/runtimeConfig.browser.js +0 -3
  65. package/dist-cjs/runtimeConfig.js +0 -3
  66. package/dist-cjs/runtimeConfig.shared.js +3 -0
  67. package/dist-es/EC2.js +135 -0
  68. package/dist-es/commands/AssociateIpamResourceDiscoveryCommand.js +42 -0
  69. package/dist-es/commands/CreateClientVpnRouteCommand.js +2 -1
  70. package/dist-es/commands/CreateCoipCidrCommand.js +1 -2
  71. package/dist-es/commands/CreateIpamResourceDiscoveryCommand.js +42 -0
  72. package/dist-es/commands/CreateRouteTableCommand.js +2 -1
  73. package/dist-es/commands/CreateSecurityGroupCommand.js +1 -1
  74. package/dist-es/commands/CreateSnapshotCommand.js +1 -1
  75. package/dist-es/commands/CreateSnapshotsCommand.js +1 -2
  76. package/dist-es/commands/DeleteIpamResourceDiscoveryCommand.js +42 -0
  77. package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +2 -1
  78. package/dist-es/commands/DeleteTransitGatewayConnectPeerCommand.js +1 -1
  79. package/dist-es/commands/DeleteTransitGatewayMulticastDomainCommand.js +1 -1
  80. package/dist-es/commands/DeleteTransitGatewayPeeringAttachmentCommand.js +1 -1
  81. package/dist-es/commands/DeleteTransitGatewayPolicyTableCommand.js +1 -1
  82. package/dist-es/commands/DeleteTransitGatewayPrefixListReferenceCommand.js +1 -1
  83. package/dist-es/commands/DeleteTransitGatewayRouteCommand.js +1 -2
  84. package/dist-es/commands/DescribeInstanceStatusCommand.js +2 -1
  85. package/dist-es/commands/DescribeInstanceTypeOfferingsCommand.js +1 -1
  86. package/dist-es/commands/DescribeInstanceTypesCommand.js +1 -2
  87. package/dist-es/commands/DescribeIpamResourceDiscoveriesCommand.js +42 -0
  88. package/dist-es/commands/DescribeIpamResourceDiscoveryAssociationsCommand.js +42 -0
  89. package/dist-es/commands/DescribeVpcAttributeCommand.js +1 -1
  90. package/dist-es/commands/DescribeVpcClassicLinkCommand.js +1 -1
  91. package/dist-es/commands/DescribeVpcClassicLinkDnsSupportCommand.js +1 -1
  92. package/dist-es/commands/DescribeVpcEndpointConnectionNotificationsCommand.js +1 -1
  93. package/dist-es/commands/DescribeVpcEndpointConnectionsCommand.js +1 -1
  94. package/dist-es/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +1 -2
  95. package/dist-es/commands/DescribeVpcEndpointsCommand.js +1 -1
  96. package/dist-es/commands/DisassociateIpamResourceDiscoveryCommand.js +42 -0
  97. package/dist-es/commands/GetIpamDiscoveredAccountsCommand.js +42 -0
  98. package/dist-es/commands/GetIpamDiscoveredResourceCidrsCommand.js +42 -0
  99. package/dist-es/commands/ModifyClientVpnEndpointCommand.js +1 -1
  100. package/dist-es/commands/ModifyDefaultCreditSpecificationCommand.js +1 -1
  101. package/dist-es/commands/ModifyEbsDefaultKmsKeyIdCommand.js +1 -1
  102. package/dist-es/commands/ModifyFleetCommand.js +1 -1
  103. package/dist-es/commands/ModifyFpgaImageAttributeCommand.js +1 -1
  104. package/dist-es/commands/ModifyHostsCommand.js +1 -1
  105. package/dist-es/commands/ModifyIdFormatCommand.js +1 -1
  106. package/dist-es/commands/ModifyIdentityIdFormatCommand.js +1 -1
  107. package/dist-es/commands/ModifyImageAttributeCommand.js +1 -1
  108. package/dist-es/commands/ModifyInstanceAttributeCommand.js +1 -1
  109. package/dist-es/commands/ModifyInstanceCapacityReservationAttributesCommand.js +1 -1
  110. package/dist-es/commands/ModifyIpamResourceDiscoveryCommand.js +42 -0
  111. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.js +1 -1
  112. package/dist-es/commands/WithdrawByoipCidrCommand.js +1 -1
  113. package/dist-es/commands/index.js +9 -0
  114. package/dist-es/endpoint/ruleset.js +3 -3
  115. package/dist-es/models/index.js +1 -0
  116. package/dist-es/models/models_0.js +28 -19
  117. package/dist-es/models/models_1.js +48 -38
  118. package/dist-es/models/models_2.js +44 -36
  119. package/dist-es/models/models_3.js +37 -49
  120. package/dist-es/models/models_4.js +61 -48
  121. package/dist-es/models/models_5.js +81 -80
  122. package/dist-es/models/models_6.js +86 -12
  123. package/dist-es/models/models_7.js +12 -0
  124. package/dist-es/pagination/DescribeIpamResourceDiscoveriesPaginator.js +32 -0
  125. package/dist-es/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.js +32 -0
  126. package/dist-es/pagination/GetIpamDiscoveredAccountsPaginator.js +32 -0
  127. package/dist-es/pagination/GetIpamDiscoveredResourceCidrsPaginator.js +32 -0
  128. package/dist-es/pagination/index.js +4 -0
  129. package/dist-es/protocols/Aws_ec2.js +955 -0
  130. package/dist-es/runtimeConfig.browser.js +0 -3
  131. package/dist-es/runtimeConfig.js +0 -3
  132. package/dist-es/runtimeConfig.shared.js +3 -0
  133. package/dist-types/EC2.d.ts +67 -4
  134. package/dist-types/EC2Client.d.ts +11 -2
  135. package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +1 -1
  136. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +37 -0
  137. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +2 -1
  138. package/dist-types/commands/CreateCoipCidrCommand.d.ts +1 -2
  139. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +37 -0
  140. package/dist-types/commands/CreateRouteTableCommand.d.ts +2 -1
  141. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  142. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  143. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -2
  144. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +37 -0
  145. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +2 -1
  146. package/dist-types/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
  147. package/dist-types/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
  148. package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  149. package/dist-types/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +1 -1
  150. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  151. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -2
  152. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
  153. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  154. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -2
  155. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +37 -0
  156. package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +37 -0
  157. package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
  158. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
  159. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  160. package/dist-types/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  161. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -1
  162. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +1 -2
  163. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -1
  164. package/dist-types/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +37 -0
  165. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +37 -0
  166. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +37 -0
  167. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  168. package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +1 -1
  169. package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +1 -1
  170. package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  171. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  172. package/dist-types/commands/ModifyFpgaImageAttributeCommand.d.ts +1 -1
  173. package/dist-types/commands/ModifyHostsCommand.d.ts +1 -1
  174. package/dist-types/commands/ModifyIdFormatCommand.d.ts +1 -1
  175. package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
  176. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +1 -1
  177. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
  178. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
  179. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +37 -0
  180. package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +2 -2
  181. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
  182. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -1
  183. package/dist-types/commands/index.d.ts +9 -0
  184. package/dist-types/models/index.d.ts +1 -0
  185. package/dist-types/models/models_0.d.ts +160 -89
  186. package/dist-types/models/models_1.d.ts +262 -294
  187. package/dist-types/models/models_2.d.ts +316 -166
  188. package/dist-types/models/models_3.d.ts +169 -441
  189. package/dist-types/models/models_4.d.ts +1328 -1301
  190. package/dist-types/models/models_5.d.ts +3670 -3659
  191. package/dist-types/models/models_6.d.ts +803 -80
  192. package/dist-types/models/models_7.d.ts +72 -0
  193. package/dist-types/pagination/DescribeIpamResourceDiscoveriesPaginator.d.ts +4 -0
  194. package/dist-types/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.d.ts +4 -0
  195. package/dist-types/pagination/GetIpamDiscoveredAccountsPaginator.d.ts +4 -0
  196. package/dist-types/pagination/GetIpamDiscoveredResourceCidrsPaginator.d.ts +4 -0
  197. package/dist-types/pagination/index.d.ts +4 -0
  198. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  199. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  200. package/dist-types/runtimeConfig.d.ts +2 -2
  201. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  202. package/dist-types/ts3.4/EC2.d.ts +165 -0
  203. package/dist-types/ts3.4/EC2Client.d.ts +54 -0
  204. package/dist-types/ts3.4/commands/AssociateIpamResourceDiscoveryCommand.d.ts +41 -0
  205. package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +2 -4
  206. package/dist-types/ts3.4/commands/CreateCoipCidrCommand.d.ts +4 -2
  207. package/dist-types/ts3.4/commands/CreateIpamResourceDiscoveryCommand.d.ts +41 -0
  208. package/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +2 -4
  209. package/dist-types/ts3.4/commands/CreateSecurityGroupCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/CreateSnapshotsCommand.d.ts +4 -2
  212. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +41 -0
  213. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +2 -4
  214. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
  215. package/dist-types/ts3.4/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
  216. package/dist-types/ts3.4/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  217. package/dist-types/ts3.4/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +1 -1
  218. package/dist-types/ts3.4/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  219. package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +4 -2
  220. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +2 -4
  221. package/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  222. package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +4 -2
  223. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +41 -0
  224. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +41 -0
  225. package/dist-types/ts3.4/commands/DescribeVpcAttributeCommand.d.ts +1 -1
  226. package/dist-types/ts3.4/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
  227. package/dist-types/ts3.4/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  228. package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  229. package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -1
  230. package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +4 -2
  231. package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +1 -1
  232. package/dist-types/ts3.4/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +41 -0
  233. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +41 -0
  234. package/dist-types/ts3.4/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +41 -0
  235. package/dist-types/ts3.4/commands/ModifyClientVpnEndpointCommand.d.ts +1 -1
  236. package/dist-types/ts3.4/commands/ModifyDefaultCreditSpecificationCommand.d.ts +1 -1
  237. package/dist-types/ts3.4/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  238. package/dist-types/ts3.4/commands/ModifyFleetCommand.d.ts +1 -1
  239. package/dist-types/ts3.4/commands/ModifyFpgaImageAttributeCommand.d.ts +1 -1
  240. package/dist-types/ts3.4/commands/ModifyHostsCommand.d.ts +1 -1
  241. package/dist-types/ts3.4/commands/ModifyIdFormatCommand.d.ts +1 -1
  242. package/dist-types/ts3.4/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
  243. package/dist-types/ts3.4/commands/ModifyImageAttributeCommand.d.ts +1 -1
  244. package/dist-types/ts3.4/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
  245. package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
  246. package/dist-types/ts3.4/commands/ModifyIpamResourceDiscoveryCommand.d.ts +41 -0
  247. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
  248. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +1 -1
  249. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  250. package/dist-types/ts3.4/models/index.d.ts +1 -0
  251. package/dist-types/ts3.4/models/models_0.d.ts +49 -33
  252. package/dist-types/ts3.4/models/models_1.d.ts +86 -87
  253. package/dist-types/ts3.4/models/models_2.d.ts +103 -83
  254. package/dist-types/ts3.4/models/models_3.d.ts +90 -91
  255. package/dist-types/ts3.4/models/models_4.d.ts +131 -145
  256. package/dist-types/ts3.4/models/models_5.d.ts +237 -259
  257. package/dist-types/ts3.4/models/models_6.d.ts +271 -32
  258. package/dist-types/ts3.4/models/models_7.d.ts +31 -0
  259. package/dist-types/ts3.4/pagination/DescribeIpamResourceDiscoveriesPaginator.d.ts +11 -0
  260. package/dist-types/ts3.4/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.d.ts +11 -0
  261. package/dist-types/ts3.4/pagination/GetIpamDiscoveredAccountsPaginator.d.ts +11 -0
  262. package/dist-types/ts3.4/pagination/GetIpamDiscoveredResourceCidrsPaginator.d.ts +11 -0
  263. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  264. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +108 -0
  265. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  266. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  267. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  268. package/package.json +4 -5
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeIpamResourceDiscoveryAssociationsRequestFilterSensitiveLog, DescribeIpamResourceDiscoveryAssociationsResultFilterSensitiveLog, } from "../models/models_4";
5
+ import { deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand, serializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand, } from "../protocols/Aws_ec2";
6
+ export class DescribeIpamResourceDiscoveryAssociationsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeIpamResourceDiscoveryAssociationsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "EC2Client";
25
+ const commandName = "DescribeIpamResourceDiscoveryAssociationsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: DescribeIpamResourceDiscoveryAssociationsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: DescribeIpamResourceDiscoveryAssociationsResultFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_ec2DescribeIpamResourceDiscoveryAssociationsCommand(output, context);
41
+ }
42
+ }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeVpcAttributeRequestFilterSensitiveLog, DescribeVpcAttributeResultFilterSensitiveLog, } from "../models/models_4";
4
+ import { DescribeVpcAttributeRequestFilterSensitiveLog, DescribeVpcAttributeResultFilterSensitiveLog, } from "../models/models_5";
5
5
  import { deserializeAws_ec2DescribeVpcAttributeCommand, serializeAws_ec2DescribeVpcAttributeCommand, } from "../protocols/Aws_ec2";
6
6
  export class DescribeVpcAttributeCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeVpcClassicLinkRequestFilterSensitiveLog, DescribeVpcClassicLinkResultFilterSensitiveLog, } from "../models/models_4";
4
+ import { DescribeVpcClassicLinkRequestFilterSensitiveLog, DescribeVpcClassicLinkResultFilterSensitiveLog, } from "../models/models_5";
5
5
  import { deserializeAws_ec2DescribeVpcClassicLinkCommand, serializeAws_ec2DescribeVpcClassicLinkCommand, } from "../protocols/Aws_ec2";
6
6
  export class DescribeVpcClassicLinkCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeVpcClassicLinkDnsSupportRequestFilterSensitiveLog, DescribeVpcClassicLinkDnsSupportResultFilterSensitiveLog, } from "../models/models_4";
4
+ import { DescribeVpcClassicLinkDnsSupportRequestFilterSensitiveLog, DescribeVpcClassicLinkDnsSupportResultFilterSensitiveLog, } from "../models/models_5";
5
5
  import { deserializeAws_ec2DescribeVpcClassicLinkDnsSupportCommand, serializeAws_ec2DescribeVpcClassicLinkDnsSupportCommand, } from "../protocols/Aws_ec2";
6
6
  export class DescribeVpcClassicLinkDnsSupportCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeVpcEndpointConnectionNotificationsRequestFilterSensitiveLog, DescribeVpcEndpointConnectionNotificationsResultFilterSensitiveLog, } from "../models/models_4";
4
+ import { DescribeVpcEndpointConnectionNotificationsRequestFilterSensitiveLog, DescribeVpcEndpointConnectionNotificationsResultFilterSensitiveLog, } from "../models/models_5";
5
5
  import { deserializeAws_ec2DescribeVpcEndpointConnectionNotificationsCommand, serializeAws_ec2DescribeVpcEndpointConnectionNotificationsCommand, } from "../protocols/Aws_ec2";
6
6
  export class DescribeVpcEndpointConnectionNotificationsCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeVpcEndpointConnectionsRequestFilterSensitiveLog, DescribeVpcEndpointConnectionsResultFilterSensitiveLog, } from "../models/models_4";
4
+ import { DescribeVpcEndpointConnectionsRequestFilterSensitiveLog, DescribeVpcEndpointConnectionsResultFilterSensitiveLog, } from "../models/models_5";
5
5
  import { deserializeAws_ec2DescribeVpcEndpointConnectionsCommand, serializeAws_ec2DescribeVpcEndpointConnectionsCommand, } from "../protocols/Aws_ec2";
6
6
  export class DescribeVpcEndpointConnectionsCommand extends $Command {
7
7
  constructor(input) {
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeVpcEndpointServiceConfigurationsRequestFilterSensitiveLog, } from "../models/models_4";
5
- import { DescribeVpcEndpointServiceConfigurationsResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { DescribeVpcEndpointServiceConfigurationsRequestFilterSensitiveLog, DescribeVpcEndpointServiceConfigurationsResultFilterSensitiveLog, } from "../models/models_5";
6
5
  import { deserializeAws_ec2DescribeVpcEndpointServiceConfigurationsCommand, serializeAws_ec2DescribeVpcEndpointServiceConfigurationsCommand, } from "../protocols/Aws_ec2";
7
6
  export class DescribeVpcEndpointServiceConfigurationsCommand extends $Command {
8
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeVpcEndpointsRequestFilterSensitiveLog, DescribeVpcEndpointsResultFilterSensitiveLog, } from "../models/models_4";
4
+ import { DescribeVpcEndpointsRequestFilterSensitiveLog, DescribeVpcEndpointsResultFilterSensitiveLog, } from "../models/models_5";
5
5
  import { deserializeAws_ec2DescribeVpcEndpointsCommand, serializeAws_ec2DescribeVpcEndpointsCommand, } from "../protocols/Aws_ec2";
6
6
  export class DescribeVpcEndpointsCommand extends $Command {
7
7
  constructor(input) {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DisassociateIpamResourceDiscoveryRequestFilterSensitiveLog, DisassociateIpamResourceDiscoveryResultFilterSensitiveLog, } from "../models/models_5";
5
+ import { deserializeAws_ec2DisassociateIpamResourceDiscoveryCommand, serializeAws_ec2DisassociateIpamResourceDiscoveryCommand, } from "../protocols/Aws_ec2";
6
+ export class DisassociateIpamResourceDiscoveryCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateIpamResourceDiscoveryCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "EC2Client";
25
+ const commandName = "DisassociateIpamResourceDiscoveryCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: DisassociateIpamResourceDiscoveryRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: DisassociateIpamResourceDiscoveryResultFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_ec2DisassociateIpamResourceDiscoveryCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_ec2DisassociateIpamResourceDiscoveryCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetIpamDiscoveredAccountsRequestFilterSensitiveLog, GetIpamDiscoveredAccountsResultFilterSensitiveLog, } from "../models/models_5";
5
+ import { deserializeAws_ec2GetIpamDiscoveredAccountsCommand, serializeAws_ec2GetIpamDiscoveredAccountsCommand, } from "../protocols/Aws_ec2";
6
+ export class GetIpamDiscoveredAccountsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetIpamDiscoveredAccountsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "EC2Client";
25
+ const commandName = "GetIpamDiscoveredAccountsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: GetIpamDiscoveredAccountsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: GetIpamDiscoveredAccountsResultFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_ec2GetIpamDiscoveredAccountsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_ec2GetIpamDiscoveredAccountsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetIpamDiscoveredResourceCidrsRequestFilterSensitiveLog, GetIpamDiscoveredResourceCidrsResultFilterSensitiveLog, } from "../models/models_5";
5
+ import { deserializeAws_ec2GetIpamDiscoveredResourceCidrsCommand, serializeAws_ec2GetIpamDiscoveredResourceCidrsCommand, } from "../protocols/Aws_ec2";
6
+ export class GetIpamDiscoveredResourceCidrsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetIpamDiscoveredResourceCidrsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "EC2Client";
25
+ const commandName = "GetIpamDiscoveredResourceCidrsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: GetIpamDiscoveredResourceCidrsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: GetIpamDiscoveredResourceCidrsResultFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_ec2GetIpamDiscoveredResourceCidrsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_ec2GetIpamDiscoveredResourceCidrsCommand(output, context);
41
+ }
42
+ }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyClientVpnEndpointRequestFilterSensitiveLog, ModifyClientVpnEndpointResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { ModifyClientVpnEndpointRequestFilterSensitiveLog, ModifyClientVpnEndpointResultFilterSensitiveLog, } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyClientVpnEndpointCommand, serializeAws_ec2ModifyClientVpnEndpointCommand, } from "../protocols/Aws_ec2";
6
6
  export class ModifyClientVpnEndpointCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyDefaultCreditSpecificationRequestFilterSensitiveLog, ModifyDefaultCreditSpecificationResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { ModifyDefaultCreditSpecificationRequestFilterSensitiveLog, ModifyDefaultCreditSpecificationResultFilterSensitiveLog, } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyDefaultCreditSpecificationCommand, serializeAws_ec2ModifyDefaultCreditSpecificationCommand, } from "../protocols/Aws_ec2";
6
6
  export class ModifyDefaultCreditSpecificationCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyEbsDefaultKmsKeyIdRequestFilterSensitiveLog, ModifyEbsDefaultKmsKeyIdResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { ModifyEbsDefaultKmsKeyIdRequestFilterSensitiveLog, ModifyEbsDefaultKmsKeyIdResultFilterSensitiveLog, } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand, serializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand, } from "../protocols/Aws_ec2";
6
6
  export class ModifyEbsDefaultKmsKeyIdCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyFleetRequestFilterSensitiveLog, ModifyFleetResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { ModifyFleetRequestFilterSensitiveLog, ModifyFleetResultFilterSensitiveLog, } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyFleetCommand, serializeAws_ec2ModifyFleetCommand } from "../protocols/Aws_ec2";
6
6
  export class ModifyFleetCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyFpgaImageAttributeRequestFilterSensitiveLog, ModifyFpgaImageAttributeResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { ModifyFpgaImageAttributeRequestFilterSensitiveLog, ModifyFpgaImageAttributeResultFilterSensitiveLog, } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyFpgaImageAttributeCommand, serializeAws_ec2ModifyFpgaImageAttributeCommand, } from "../protocols/Aws_ec2";
6
6
  export class ModifyFpgaImageAttributeCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyHostsRequestFilterSensitiveLog, ModifyHostsResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { ModifyHostsRequestFilterSensitiveLog, ModifyHostsResultFilterSensitiveLog, } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyHostsCommand, serializeAws_ec2ModifyHostsCommand } from "../protocols/Aws_ec2";
6
6
  export class ModifyHostsCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyIdFormatRequestFilterSensitiveLog } from "../models/models_5";
4
+ import { ModifyIdFormatRequestFilterSensitiveLog } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyIdFormatCommand, serializeAws_ec2ModifyIdFormatCommand } from "../protocols/Aws_ec2";
6
6
  export class ModifyIdFormatCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyIdentityIdFormatRequestFilterSensitiveLog } from "../models/models_5";
4
+ import { ModifyIdentityIdFormatRequestFilterSensitiveLog } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyIdentityIdFormatCommand, serializeAws_ec2ModifyIdentityIdFormatCommand, } from "../protocols/Aws_ec2";
6
6
  export class ModifyIdentityIdFormatCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyImageAttributeRequestFilterSensitiveLog } from "../models/models_5";
4
+ import { ModifyImageAttributeRequestFilterSensitiveLog } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyImageAttributeCommand, serializeAws_ec2ModifyImageAttributeCommand, } from "../protocols/Aws_ec2";
6
6
  export class ModifyImageAttributeCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyInstanceAttributeRequestFilterSensitiveLog } from "../models/models_5";
4
+ import { ModifyInstanceAttributeRequestFilterSensitiveLog } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyInstanceAttributeCommand, serializeAws_ec2ModifyInstanceAttributeCommand, } from "../protocols/Aws_ec2";
6
6
  export class ModifyInstanceAttributeCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyInstanceCapacityReservationAttributesRequestFilterSensitiveLog, ModifyInstanceCapacityReservationAttributesResultFilterSensitiveLog, } from "../models/models_5";
4
+ import { ModifyInstanceCapacityReservationAttributesRequestFilterSensitiveLog, ModifyInstanceCapacityReservationAttributesResultFilterSensitiveLog, } from "../models/models_6";
5
5
  import { deserializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand, serializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand, } from "../protocols/Aws_ec2";
6
6
  export class ModifyInstanceCapacityReservationAttributesCommand extends $Command {
7
7
  constructor(input) {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ModifyIpamResourceDiscoveryRequestFilterSensitiveLog, ModifyIpamResourceDiscoveryResultFilterSensitiveLog, } from "../models/models_6";
5
+ import { deserializeAws_ec2ModifyIpamResourceDiscoveryCommand, serializeAws_ec2ModifyIpamResourceDiscoveryCommand, } from "../protocols/Aws_ec2";
6
+ export class ModifyIpamResourceDiscoveryCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ModifyIpamResourceDiscoveryCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "EC2Client";
25
+ const commandName = "ModifyIpamResourceDiscoveryCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ModifyIpamResourceDiscoveryRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ModifyIpamResourceDiscoveryResultFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_ec2ModifyIpamResourceDiscoveryCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_ec2ModifyIpamResourceDiscoveryCommand(output, context);
41
+ }
42
+ }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateSecurityGroupRuleDescriptionsIngressRequestFilterSensitiveLog, UpdateSecurityGroupRuleDescriptionsIngressResultFilterSensitiveLog, } from "../models/models_6";
4
+ import { UpdateSecurityGroupRuleDescriptionsIngressRequestFilterSensitiveLog, UpdateSecurityGroupRuleDescriptionsIngressResultFilterSensitiveLog, } from "../models/models_7";
5
5
  import { deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand, serializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand, } from "../protocols/Aws_ec2";
6
6
  export class UpdateSecurityGroupRuleDescriptionsIngressCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { WithdrawByoipCidrRequestFilterSensitiveLog, WithdrawByoipCidrResultFilterSensitiveLog, } from "../models/models_6";
4
+ import { WithdrawByoipCidrRequestFilterSensitiveLog, WithdrawByoipCidrResultFilterSensitiveLog, } from "../models/models_7";
5
5
  import { deserializeAws_ec2WithdrawByoipCidrCommand, serializeAws_ec2WithdrawByoipCidrCommand, } from "../protocols/Aws_ec2";
6
6
  export class WithdrawByoipCidrCommand extends $Command {
7
7
  constructor(input) {
@@ -18,6 +18,7 @@ export * from "./AssociateDhcpOptionsCommand";
18
18
  export * from "./AssociateEnclaveCertificateIamRoleCommand";
19
19
  export * from "./AssociateIamInstanceProfileCommand";
20
20
  export * from "./AssociateInstanceEventWindowCommand";
21
+ export * from "./AssociateIpamResourceDiscoveryCommand";
21
22
  export * from "./AssociateRouteTableCommand";
22
23
  export * from "./AssociateSubnetCidrBlockCommand";
23
24
  export * from "./AssociateTransitGatewayMulticastDomainCommand";
@@ -70,6 +71,7 @@ export * from "./CreateInstanceExportTaskCommand";
70
71
  export * from "./CreateInternetGatewayCommand";
71
72
  export * from "./CreateIpamCommand";
72
73
  export * from "./CreateIpamPoolCommand";
74
+ export * from "./CreateIpamResourceDiscoveryCommand";
73
75
  export * from "./CreateIpamScopeCommand";
74
76
  export * from "./CreateKeyPairCommand";
75
77
  export * from "./CreateLaunchTemplateCommand";
@@ -144,6 +146,7 @@ export * from "./DeleteInstanceEventWindowCommand";
144
146
  export * from "./DeleteInternetGatewayCommand";
145
147
  export * from "./DeleteIpamCommand";
146
148
  export * from "./DeleteIpamPoolCommand";
149
+ export * from "./DeleteIpamResourceDiscoveryCommand";
147
150
  export * from "./DeleteIpamScopeCommand";
148
151
  export * from "./DeleteKeyPairCommand";
149
152
  export * from "./DeleteLaunchTemplateCommand";
@@ -262,6 +265,8 @@ export * from "./DescribeInstanceTypesCommand";
262
265
  export * from "./DescribeInstancesCommand";
263
266
  export * from "./DescribeInternetGatewaysCommand";
264
267
  export * from "./DescribeIpamPoolsCommand";
268
+ export * from "./DescribeIpamResourceDiscoveriesCommand";
269
+ export * from "./DescribeIpamResourceDiscoveryAssociationsCommand";
265
270
  export * from "./DescribeIpamScopesCommand";
266
271
  export * from "./DescribeIpamsCommand";
267
272
  export * from "./DescribeIpv6PoolsCommand";
@@ -373,6 +378,7 @@ export * from "./DisassociateClientVpnTargetNetworkCommand";
373
378
  export * from "./DisassociateEnclaveCertificateIamRoleCommand";
374
379
  export * from "./DisassociateIamInstanceProfileCommand";
375
380
  export * from "./DisassociateInstanceEventWindowCommand";
381
+ export * from "./DisassociateIpamResourceDiscoveryCommand";
376
382
  export * from "./DisassociateRouteTableCommand";
377
383
  export * from "./DisassociateSubnetCidrBlockCommand";
378
384
  export * from "./DisassociateTransitGatewayMulticastDomainCommand";
@@ -414,6 +420,8 @@ export * from "./GetHostReservationPurchasePreviewCommand";
414
420
  export * from "./GetInstanceTypesFromInstanceRequirementsCommand";
415
421
  export * from "./GetInstanceUefiDataCommand";
416
422
  export * from "./GetIpamAddressHistoryCommand";
423
+ export * from "./GetIpamDiscoveredAccountsCommand";
424
+ export * from "./GetIpamDiscoveredResourceCidrsCommand";
417
425
  export * from "./GetIpamPoolAllocationsCommand";
418
426
  export * from "./GetIpamPoolCidrsCommand";
419
427
  export * from "./GetIpamResourceCidrsCommand";
@@ -470,6 +478,7 @@ export * from "./ModifyInstancePlacementCommand";
470
478
  export * from "./ModifyIpamCommand";
471
479
  export * from "./ModifyIpamPoolCommand";
472
480
  export * from "./ModifyIpamResourceCidrCommand";
481
+ export * from "./ModifyIpamResourceDiscoveryCommand";
473
482
  export * from "./ModifyIpamScopeCommand";
474
483
  export * from "./ModifyLaunchTemplateCommand";
475
484
  export * from "./ModifyLocalGatewayRouteCommand";
@@ -1,4 +1,4 @@
1
- const t = "fn", u = "argv", v = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [v]: d }, p = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [o, "supportsDualStack"] }] }, q = { "url": "https://ec2.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: h, [u]: [o, "name"] }] }], endpoint: q, type: g }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
1
+ const u = "fn", v = "argv", w = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [w]: "Region" }, l = { [w]: "Endpoint" }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, n = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, o = {}, p = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [{ [w]: d }, "supportsFIPS"] }] }, q = { [w]: d }, r = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [q, "supportsDualStack"] }] }, s = [m], t = [n];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [k], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [l] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: i, [v]: ["aws-us-gov", { [u]: h, [v]: [q, "name"] }] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: i, [v]: [k, "us-gov-east-1"] }], endpoint: { url: "https://ec2.us-gov-east-1.amazonaws.com", properties: o, headers: o }, type: g }, { conditions: [{ [u]: i, [v]: [k, "us-gov-west-1"] }], endpoint: { url: "https://ec2.us-gov-west-1.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }] };
4
4
  export const ruleSet = _data;
@@ -5,3 +5,4 @@ export * from "./models_3";
5
5
  export * from "./models_4";
6
6
  export * from "./models_5";
7
7
  export * from "./models_6";
8
+ export * from "./models_7";
@@ -49,6 +49,8 @@ export var ResourceType;
49
49
  ResourceType["internet_gateway"] = "internet-gateway";
50
50
  ResourceType["ipam"] = "ipam";
51
51
  ResourceType["ipam_pool"] = "ipam-pool";
52
+ ResourceType["ipam_resource_discovery"] = "ipam-resource-discovery";
53
+ ResourceType["ipam_resource_discovery_association"] = "ipam-resource-discovery-association";
52
54
  ResourceType["ipam_scope"] = "ipam-scope";
53
55
  ResourceType["ipv4pool_ec2"] = "ipv4pool-ec2";
54
56
  ResourceType["ipv6pool_ec2"] = "ipv6pool-ec2";
@@ -318,6 +320,23 @@ export var WeekDay;
318
320
  WeekDay["tuesday"] = "tuesday";
319
321
  WeekDay["wednesday"] = "wednesday";
320
322
  })(WeekDay || (WeekDay = {}));
323
+ export var IpamAssociatedResourceDiscoveryStatus;
324
+ (function (IpamAssociatedResourceDiscoveryStatus) {
325
+ IpamAssociatedResourceDiscoveryStatus["ACTIVE"] = "active";
326
+ IpamAssociatedResourceDiscoveryStatus["NOT_FOUND"] = "not-found";
327
+ })(IpamAssociatedResourceDiscoveryStatus || (IpamAssociatedResourceDiscoveryStatus = {}));
328
+ export var IpamResourceDiscoveryAssociationState;
329
+ (function (IpamResourceDiscoveryAssociationState) {
330
+ IpamResourceDiscoveryAssociationState["ASSOCIATE_COMPLETE"] = "associate-complete";
331
+ IpamResourceDiscoveryAssociationState["ASSOCIATE_FAILED"] = "associate-failed";
332
+ IpamResourceDiscoveryAssociationState["ASSOCIATE_IN_PROGRESS"] = "associate-in-progress";
333
+ IpamResourceDiscoveryAssociationState["DISASSOCIATE_COMPLETE"] = "disassociate-complete";
334
+ IpamResourceDiscoveryAssociationState["DISASSOCIATE_FAILED"] = "disassociate-failed";
335
+ IpamResourceDiscoveryAssociationState["DISASSOCIATE_IN_PROGRESS"] = "disassociate-in-progress";
336
+ IpamResourceDiscoveryAssociationState["ISOLATE_COMPLETE"] = "isolate-complete";
337
+ IpamResourceDiscoveryAssociationState["ISOLATE_IN_PROGRESS"] = "isolate-in-progress";
338
+ IpamResourceDiscoveryAssociationState["RESTORE_IN_PROGRESS"] = "restore-in-progress";
339
+ })(IpamResourceDiscoveryAssociationState || (IpamResourceDiscoveryAssociationState = {}));
321
340
  export var RouteTableAssociationStateCode;
322
341
  (function (RouteTableAssociationStateCode) {
323
342
  RouteTableAssociationStateCode["associated"] = "associated";
@@ -1161,13 +1180,6 @@ export var ClientVpnEndpointStatusCode;
1161
1180
  ClientVpnEndpointStatusCode["deleting"] = "deleting";
1162
1181
  ClientVpnEndpointStatusCode["pending_associate"] = "pending-associate";
1163
1182
  })(ClientVpnEndpointStatusCode || (ClientVpnEndpointStatusCode = {}));
1164
- export var ClientVpnRouteStatusCode;
1165
- (function (ClientVpnRouteStatusCode) {
1166
- ClientVpnRouteStatusCode["active"] = "active";
1167
- ClientVpnRouteStatusCode["creating"] = "creating";
1168
- ClientVpnRouteStatusCode["deleting"] = "deleting";
1169
- ClientVpnRouteStatusCode["failed"] = "failed";
1170
- })(ClientVpnRouteStatusCode || (ClientVpnRouteStatusCode = {}));
1171
1183
  export const AcceleratorCountFilterSensitiveLog = (obj) => ({
1172
1184
  ...obj,
1173
1185
  });
@@ -1495,6 +1507,15 @@ export const InstanceEventWindowFilterSensitiveLog = (obj) => ({
1495
1507
  export const AssociateInstanceEventWindowResultFilterSensitiveLog = (obj) => ({
1496
1508
  ...obj,
1497
1509
  });
1510
+ export const AssociateIpamResourceDiscoveryRequestFilterSensitiveLog = (obj) => ({
1511
+ ...obj,
1512
+ });
1513
+ export const IpamResourceDiscoveryAssociationFilterSensitiveLog = (obj) => ({
1514
+ ...obj,
1515
+ });
1516
+ export const AssociateIpamResourceDiscoveryResultFilterSensitiveLog = (obj) => ({
1517
+ ...obj,
1518
+ });
1498
1519
  export const AssociateRouteTableRequestFilterSensitiveLog = (obj) => ({
1499
1520
  ...obj,
1500
1521
  });
@@ -1855,15 +1876,3 @@ export const CreateClientVpnEndpointResultFilterSensitiveLog = (obj) => ({
1855
1876
  export const CreateClientVpnRouteRequestFilterSensitiveLog = (obj) => ({
1856
1877
  ...obj,
1857
1878
  });
1858
- export const ClientVpnRouteStatusFilterSensitiveLog = (obj) => ({
1859
- ...obj,
1860
- });
1861
- export const CreateClientVpnRouteResultFilterSensitiveLog = (obj) => ({
1862
- ...obj,
1863
- });
1864
- export const CreateCoipCidrRequestFilterSensitiveLog = (obj) => ({
1865
- ...obj,
1866
- });
1867
- export const CoipCidrFilterSensitiveLog = (obj) => ({
1868
- ...obj,
1869
- });