@aws-sdk/client-ec2 3.121.0 → 3.130.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 (249) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/EC2.js +150 -0
  3. package/dist-cjs/commands/AssociateTransitGatewayPolicyTableCommand.js +36 -0
  4. package/dist-cjs/commands/CreateTransitGatewayCommand.js +2 -1
  5. package/dist-cjs/commands/CreateTransitGatewayPolicyTableCommand.js +36 -0
  6. package/dist-cjs/commands/CreateTransitGatewayRouteTableAnnouncementCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteTransitGatewayPolicyTableCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.js +36 -0
  9. package/dist-cjs/commands/DescribeClientVpnConnectionsCommand.js +2 -1
  10. package/dist-cjs/commands/DescribeClientVpnEndpointsCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeNetworkInsightsAnalysesCommand.js +2 -1
  12. package/dist-cjs/commands/DescribeNetworkInsightsPathsCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeNetworkInterfaceAttributeCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeNetworkInterfacePermissionsCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeNetworkInterfacesCommand.js +3 -3
  16. package/dist-cjs/commands/DescribePlacementGroupsCommand.js +3 -3
  17. package/dist-cjs/commands/DescribePrefixListsCommand.js +3 -3
  18. package/dist-cjs/commands/DescribePrincipalIdFormatCommand.js +1 -2
  19. package/dist-cjs/commands/DescribeTransitGatewayPolicyTablesCommand.js +36 -0
  20. package/dist-cjs/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.js +36 -0
  21. package/dist-cjs/commands/DisassociateTransitGatewayPolicyTableCommand.js +36 -0
  22. package/dist-cjs/commands/ExportImageCommand.js +3 -3
  23. package/dist-cjs/commands/ExportTransitGatewayRoutesCommand.js +3 -3
  24. package/dist-cjs/commands/GetAssociatedEnclaveCertificateIamRolesCommand.js +3 -3
  25. package/dist-cjs/commands/GetAssociatedIpv6PoolCidrsCommand.js +3 -3
  26. package/dist-cjs/commands/GetCapacityReservationUsageCommand.js +3 -3
  27. package/dist-cjs/commands/GetCoipPoolUsageCommand.js +3 -3
  28. package/dist-cjs/commands/GetConsoleOutputCommand.js +3 -3
  29. package/dist-cjs/commands/GetConsoleScreenshotCommand.js +3 -3
  30. package/dist-cjs/commands/GetDefaultCreditSpecificationCommand.js +3 -3
  31. package/dist-cjs/commands/GetEbsDefaultKmsKeyIdCommand.js +1 -2
  32. package/dist-cjs/commands/GetTransitGatewayPolicyTableAssociationsCommand.js +36 -0
  33. package/dist-cjs/commands/GetTransitGatewayPolicyTableEntriesCommand.js +36 -0
  34. package/dist-cjs/commands/RegisterInstanceEventNotificationAttributesCommand.js +3 -3
  35. package/dist-cjs/commands/RegisterTransitGatewayMulticastGroupMembersCommand.js +3 -3
  36. package/dist-cjs/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.js +3 -3
  37. package/dist-cjs/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.js +3 -3
  38. package/dist-cjs/commands/RejectTransitGatewayPeeringAttachmentCommand.js +3 -3
  39. package/dist-cjs/commands/RejectTransitGatewayVpcAttachmentCommand.js +3 -3
  40. package/dist-cjs/commands/RejectVpcEndpointConnectionsCommand.js +3 -3
  41. package/dist-cjs/commands/RejectVpcPeeringConnectionCommand.js +3 -3
  42. package/dist-cjs/commands/ReleaseAddressCommand.js +2 -2
  43. package/dist-cjs/commands/ReleaseHostsCommand.js +3 -3
  44. package/dist-cjs/commands/ReleaseIpamPoolAllocationCommand.js +3 -3
  45. package/dist-cjs/commands/ReplaceIamInstanceProfileAssociationCommand.js +3 -3
  46. package/dist-cjs/commands/ReplaceNetworkAclAssociationCommand.js +3 -3
  47. package/dist-cjs/commands/ReplaceNetworkAclEntryCommand.js +2 -2
  48. package/dist-cjs/commands/ReplaceRouteCommand.js +2 -2
  49. package/dist-cjs/commands/ReplaceRouteTableAssociationCommand.js +3 -3
  50. package/dist-cjs/commands/index.js +10 -0
  51. package/dist-cjs/models/models_0.js +35 -36
  52. package/dist-cjs/models/models_1.js +36 -24
  53. package/dist-cjs/models/models_2.js +111 -96
  54. package/dist-cjs/models/models_3.js +96 -114
  55. package/dist-cjs/models/models_4.js +150 -150
  56. package/dist-cjs/models/models_5.js +192 -198
  57. package/dist-cjs/models/models_6.js +195 -2
  58. package/dist-cjs/pagination/DescribeTransitGatewayPolicyTablesPaginator.js +36 -0
  59. package/dist-cjs/pagination/DescribeTransitGatewayRouteTableAnnouncementsPaginator.js +36 -0
  60. package/dist-cjs/pagination/GetTransitGatewayPolicyTableAssociationsPaginator.js +36 -0
  61. package/dist-cjs/pagination/index.js +3 -0
  62. package/dist-cjs/protocols/Aws_ec2.js +1080 -21
  63. package/dist-es/EC2.js +150 -0
  64. package/dist-es/commands/AssociateTransitGatewayPolicyTableCommand.js +39 -0
  65. package/dist-es/commands/CreateTransitGatewayCommand.js +2 -1
  66. package/dist-es/commands/CreateTransitGatewayPolicyTableCommand.js +39 -0
  67. package/dist-es/commands/CreateTransitGatewayRouteTableAnnouncementCommand.js +39 -0
  68. package/dist-es/commands/DeleteTransitGatewayPolicyTableCommand.js +39 -0
  69. package/dist-es/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.js +39 -0
  70. package/dist-es/commands/DescribeClientVpnConnectionsCommand.js +2 -1
  71. package/dist-es/commands/DescribeClientVpnEndpointsCommand.js +1 -1
  72. package/dist-es/commands/DescribeNetworkInsightsAnalysesCommand.js +2 -1
  73. package/dist-es/commands/DescribeNetworkInsightsPathsCommand.js +1 -1
  74. package/dist-es/commands/DescribeNetworkInterfaceAttributeCommand.js +1 -1
  75. package/dist-es/commands/DescribeNetworkInterfacePermissionsCommand.js +1 -1
  76. package/dist-es/commands/DescribeNetworkInterfacesCommand.js +1 -1
  77. package/dist-es/commands/DescribePlacementGroupsCommand.js +1 -1
  78. package/dist-es/commands/DescribePrefixListsCommand.js +1 -1
  79. package/dist-es/commands/DescribePrincipalIdFormatCommand.js +1 -2
  80. package/dist-es/commands/DescribeTransitGatewayPolicyTablesCommand.js +39 -0
  81. package/dist-es/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.js +39 -0
  82. package/dist-es/commands/DisassociateTransitGatewayPolicyTableCommand.js +39 -0
  83. package/dist-es/commands/ExportImageCommand.js +1 -1
  84. package/dist-es/commands/ExportTransitGatewayRoutesCommand.js +1 -1
  85. package/dist-es/commands/GetAssociatedEnclaveCertificateIamRolesCommand.js +1 -1
  86. package/dist-es/commands/GetAssociatedIpv6PoolCidrsCommand.js +1 -1
  87. package/dist-es/commands/GetCapacityReservationUsageCommand.js +1 -1
  88. package/dist-es/commands/GetCoipPoolUsageCommand.js +1 -1
  89. package/dist-es/commands/GetConsoleOutputCommand.js +1 -1
  90. package/dist-es/commands/GetConsoleScreenshotCommand.js +1 -1
  91. package/dist-es/commands/GetDefaultCreditSpecificationCommand.js +1 -1
  92. package/dist-es/commands/GetEbsDefaultKmsKeyIdCommand.js +1 -2
  93. package/dist-es/commands/GetTransitGatewayPolicyTableAssociationsCommand.js +39 -0
  94. package/dist-es/commands/GetTransitGatewayPolicyTableEntriesCommand.js +39 -0
  95. package/dist-es/commands/RegisterInstanceEventNotificationAttributesCommand.js +1 -1
  96. package/dist-es/commands/RegisterTransitGatewayMulticastGroupMembersCommand.js +1 -1
  97. package/dist-es/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.js +1 -1
  98. package/dist-es/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.js +1 -1
  99. package/dist-es/commands/RejectTransitGatewayPeeringAttachmentCommand.js +1 -1
  100. package/dist-es/commands/RejectTransitGatewayVpcAttachmentCommand.js +1 -1
  101. package/dist-es/commands/RejectVpcEndpointConnectionsCommand.js +1 -1
  102. package/dist-es/commands/RejectVpcPeeringConnectionCommand.js +1 -1
  103. package/dist-es/commands/ReleaseAddressCommand.js +1 -1
  104. package/dist-es/commands/ReleaseHostsCommand.js +1 -1
  105. package/dist-es/commands/ReleaseIpamPoolAllocationCommand.js +1 -1
  106. package/dist-es/commands/ReplaceIamInstanceProfileAssociationCommand.js +1 -1
  107. package/dist-es/commands/ReplaceNetworkAclAssociationCommand.js +1 -1
  108. package/dist-es/commands/ReplaceNetworkAclEntryCommand.js +1 -1
  109. package/dist-es/commands/ReplaceRouteCommand.js +1 -1
  110. package/dist-es/commands/ReplaceRouteTableAssociationCommand.js +1 -1
  111. package/dist-es/commands/index.js +10 -0
  112. package/dist-es/models/models_0.js +21 -26
  113. package/dist-es/models/models_1.js +26 -12
  114. package/dist-es/models/models_2.js +77 -60
  115. package/dist-es/models/models_3.js +60 -72
  116. package/dist-es/models/models_4.js +96 -96
  117. package/dist-es/models/models_5.js +124 -128
  118. package/dist-es/models/models_6.js +128 -0
  119. package/dist-es/pagination/DescribeTransitGatewayPolicyTablesPaginator.js +75 -0
  120. package/dist-es/pagination/DescribeTransitGatewayRouteTableAnnouncementsPaginator.js +75 -0
  121. package/dist-es/pagination/GetTransitGatewayPolicyTableAssociationsPaginator.js +75 -0
  122. package/dist-es/pagination/index.js +3 -0
  123. package/dist-es/protocols/Aws_ec2.js +1387 -208
  124. package/dist-types/EC2.d.ts +73 -2
  125. package/dist-types/EC2Client.d.ts +12 -2
  126. package/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +35 -0
  127. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +2 -1
  128. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +3 -2
  129. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +35 -0
  130. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +35 -0
  131. package/dist-types/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +35 -0
  132. package/dist-types/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.d.ts +35 -0
  133. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  134. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -1
  135. package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +2 -1
  136. package/dist-types/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
  137. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
  138. package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -1
  139. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
  140. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +1 -1
  141. package/dist-types/commands/DescribePrefixListsCommand.d.ts +1 -1
  142. package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +1 -2
  143. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +35 -0
  144. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +35 -0
  145. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +35 -0
  146. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  147. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  148. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  149. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  150. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  151. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  152. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
  153. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  154. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  155. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  156. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +35 -0
  157. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +35 -0
  158. package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  159. package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  160. package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
  161. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  162. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  163. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  164. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  165. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  166. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  167. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  168. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  169. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  170. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  171. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  172. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  173. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  174. package/dist-types/commands/index.d.ts +10 -0
  175. package/dist-types/models/models_0.d.ts +86 -68
  176. package/dist-types/models/models_1.d.ts +69 -112
  177. package/dist-types/models/models_2.d.ts +352 -462
  178. package/dist-types/models/models_3.d.ts +6282 -6748
  179. package/dist-types/models/models_4.d.ts +6282 -5860
  180. package/dist-types/models/models_5.d.ts +4656 -4507
  181. package/dist-types/models/models_6.d.ts +678 -5
  182. package/dist-types/pagination/DescribeTransitGatewayPolicyTablesPaginator.d.ts +4 -0
  183. package/dist-types/pagination/DescribeTransitGatewayRouteTableAnnouncementsPaginator.d.ts +4 -0
  184. package/dist-types/pagination/GetTransitGatewayPolicyTableAssociationsPaginator.d.ts +4 -0
  185. package/dist-types/pagination/index.d.ts +3 -0
  186. package/dist-types/protocols/Aws_ec2.d.ts +30 -0
  187. package/dist-types/ts3.4/EC2.d.ts +50 -0
  188. package/dist-types/ts3.4/EC2Client.d.ts +12 -2
  189. package/dist-types/ts3.4/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/CreateTransitGatewayCommand.d.ts +2 -1
  191. package/dist-types/ts3.4/commands/CreateTransitGatewayPolicyTableCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  196. package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +2 -1
  198. package/dist-types/ts3.4/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
  199. package/dist-types/ts3.4/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
  200. package/dist-types/ts3.4/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -1
  201. package/dist-types/ts3.4/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
  202. package/dist-types/ts3.4/commands/DescribePlacementGroupsCommand.d.ts +1 -1
  203. package/dist-types/ts3.4/commands/DescribePrefixListsCommand.d.ts +1 -1
  204. package/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +1 -2
  205. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +17 -0
  207. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +17 -0
  208. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  212. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  213. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  214. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
  215. package/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  216. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  217. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  218. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +17 -0
  219. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +17 -0
  220. package/dist-types/ts3.4/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  221. package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  222. package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
  223. package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  224. package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  225. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  226. package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  227. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  228. package/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  229. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  230. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  231. package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  232. package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  233. package/dist-types/ts3.4/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  234. package/dist-types/ts3.4/commands/ReplaceRouteCommand.d.ts +1 -1
  235. package/dist-types/ts3.4/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  236. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  237. package/dist-types/ts3.4/models/models_0.d.ts +54 -41
  238. package/dist-types/ts3.4/models/models_1.d.ts +42 -63
  239. package/dist-types/ts3.4/models/models_2.d.ts +211 -244
  240. package/dist-types/ts3.4/models/models_3.d.ts +244 -349
  241. package/dist-types/ts3.4/models/models_4.d.ts +431 -316
  242. package/dist-types/ts3.4/models/models_5.d.ts +412 -380
  243. package/dist-types/ts3.4/models/models_6.d.ts +380 -5
  244. package/dist-types/ts3.4/pagination/DescribeTransitGatewayPolicyTablesPaginator.d.ts +4 -0
  245. package/dist-types/ts3.4/pagination/DescribeTransitGatewayRouteTableAnnouncementsPaginator.d.ts +4 -0
  246. package/dist-types/ts3.4/pagination/GetTransitGatewayPolicyTableAssociationsPaginator.d.ts +4 -0
  247. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  248. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +30 -0
  249. package/package.json +28 -28
package/dist-es/EC2.js CHANGED
@@ -21,6 +21,7 @@ import { AssociateInstanceEventWindowCommand, } from "./commands/AssociateInstan
21
21
  import { AssociateRouteTableCommand, } from "./commands/AssociateRouteTableCommand";
22
22
  import { AssociateSubnetCidrBlockCommand, } from "./commands/AssociateSubnetCidrBlockCommand";
23
23
  import { AssociateTransitGatewayMulticastDomainCommand, } from "./commands/AssociateTransitGatewayMulticastDomainCommand";
24
+ import { AssociateTransitGatewayPolicyTableCommand, } from "./commands/AssociateTransitGatewayPolicyTableCommand";
24
25
  import { AssociateTransitGatewayRouteTableCommand, } from "./commands/AssociateTransitGatewayRouteTableCommand";
25
26
  import { AssociateTrunkInterfaceCommand, } from "./commands/AssociateTrunkInterfaceCommand";
26
27
  import { AssociateVpcCidrBlockCommand, } from "./commands/AssociateVpcCidrBlockCommand";
@@ -103,8 +104,10 @@ import { CreateTransitGatewayConnectCommand, } from "./commands/CreateTransitGat
103
104
  import { CreateTransitGatewayConnectPeerCommand, } from "./commands/CreateTransitGatewayConnectPeerCommand";
104
105
  import { CreateTransitGatewayMulticastDomainCommand, } from "./commands/CreateTransitGatewayMulticastDomainCommand";
105
106
  import { CreateTransitGatewayPeeringAttachmentCommand, } from "./commands/CreateTransitGatewayPeeringAttachmentCommand";
107
+ import { CreateTransitGatewayPolicyTableCommand, } from "./commands/CreateTransitGatewayPolicyTableCommand";
106
108
  import { CreateTransitGatewayPrefixListReferenceCommand, } from "./commands/CreateTransitGatewayPrefixListReferenceCommand";
107
109
  import { CreateTransitGatewayRouteCommand, } from "./commands/CreateTransitGatewayRouteCommand";
110
+ import { CreateTransitGatewayRouteTableAnnouncementCommand, } from "./commands/CreateTransitGatewayRouteTableAnnouncementCommand";
108
111
  import { CreateTransitGatewayRouteTableCommand, } from "./commands/CreateTransitGatewayRouteTableCommand";
109
112
  import { CreateTransitGatewayVpcAttachmentCommand, } from "./commands/CreateTransitGatewayVpcAttachmentCommand";
110
113
  import { CreateVolumeCommand, } from "./commands/CreateVolumeCommand";
@@ -165,8 +168,10 @@ import { DeleteTransitGatewayConnectCommand, } from "./commands/DeleteTransitGat
165
168
  import { DeleteTransitGatewayConnectPeerCommand, } from "./commands/DeleteTransitGatewayConnectPeerCommand";
166
169
  import { DeleteTransitGatewayMulticastDomainCommand, } from "./commands/DeleteTransitGatewayMulticastDomainCommand";
167
170
  import { DeleteTransitGatewayPeeringAttachmentCommand, } from "./commands/DeleteTransitGatewayPeeringAttachmentCommand";
171
+ import { DeleteTransitGatewayPolicyTableCommand, } from "./commands/DeleteTransitGatewayPolicyTableCommand";
168
172
  import { DeleteTransitGatewayPrefixListReferenceCommand, } from "./commands/DeleteTransitGatewayPrefixListReferenceCommand";
169
173
  import { DeleteTransitGatewayRouteCommand, } from "./commands/DeleteTransitGatewayRouteCommand";
174
+ import { DeleteTransitGatewayRouteTableAnnouncementCommand, } from "./commands/DeleteTransitGatewayRouteTableAnnouncementCommand";
170
175
  import { DeleteTransitGatewayRouteTableCommand, } from "./commands/DeleteTransitGatewayRouteTableCommand";
171
176
  import { DeleteTransitGatewayVpcAttachmentCommand, } from "./commands/DeleteTransitGatewayVpcAttachmentCommand";
172
177
  import { DeleteVolumeCommand, } from "./commands/DeleteVolumeCommand";
@@ -297,6 +302,8 @@ import { DescribeTransitGatewayConnectPeersCommand, } from "./commands/DescribeT
297
302
  import { DescribeTransitGatewayConnectsCommand, } from "./commands/DescribeTransitGatewayConnectsCommand";
298
303
  import { DescribeTransitGatewayMulticastDomainsCommand, } from "./commands/DescribeTransitGatewayMulticastDomainsCommand";
299
304
  import { DescribeTransitGatewayPeeringAttachmentsCommand, } from "./commands/DescribeTransitGatewayPeeringAttachmentsCommand";
305
+ import { DescribeTransitGatewayPolicyTablesCommand, } from "./commands/DescribeTransitGatewayPolicyTablesCommand";
306
+ import { DescribeTransitGatewayRouteTableAnnouncementsCommand, } from "./commands/DescribeTransitGatewayRouteTableAnnouncementsCommand";
300
307
  import { DescribeTransitGatewayRouteTablesCommand, } from "./commands/DescribeTransitGatewayRouteTablesCommand";
301
308
  import { DescribeTransitGatewaysCommand, } from "./commands/DescribeTransitGatewaysCommand";
302
309
  import { DescribeTransitGatewayVpcAttachmentsCommand, } from "./commands/DescribeTransitGatewayVpcAttachmentsCommand";
@@ -341,6 +348,7 @@ import { DisassociateInstanceEventWindowCommand, } from "./commands/Disassociate
341
348
  import { DisassociateRouteTableCommand, } from "./commands/DisassociateRouteTableCommand";
342
349
  import { DisassociateSubnetCidrBlockCommand, } from "./commands/DisassociateSubnetCidrBlockCommand";
343
350
  import { DisassociateTransitGatewayMulticastDomainCommand, } from "./commands/DisassociateTransitGatewayMulticastDomainCommand";
351
+ import { DisassociateTransitGatewayPolicyTableCommand, } from "./commands/DisassociateTransitGatewayPolicyTableCommand";
344
352
  import { DisassociateTransitGatewayRouteTableCommand, } from "./commands/DisassociateTransitGatewayRouteTableCommand";
345
353
  import { DisassociateTrunkInterfaceCommand, } from "./commands/DisassociateTrunkInterfaceCommand";
346
354
  import { DisassociateVpcCidrBlockCommand, } from "./commands/DisassociateVpcCidrBlockCommand";
@@ -389,6 +397,8 @@ import { GetSpotPlacementScoresCommand, } from "./commands/GetSpotPlacementScore
389
397
  import { GetSubnetCidrReservationsCommand, } from "./commands/GetSubnetCidrReservationsCommand";
390
398
  import { GetTransitGatewayAttachmentPropagationsCommand, } from "./commands/GetTransitGatewayAttachmentPropagationsCommand";
391
399
  import { GetTransitGatewayMulticastDomainAssociationsCommand, } from "./commands/GetTransitGatewayMulticastDomainAssociationsCommand";
400
+ import { GetTransitGatewayPolicyTableAssociationsCommand, } from "./commands/GetTransitGatewayPolicyTableAssociationsCommand";
401
+ import { GetTransitGatewayPolicyTableEntriesCommand, } from "./commands/GetTransitGatewayPolicyTableEntriesCommand";
392
402
  import { GetTransitGatewayPrefixListReferencesCommand, } from "./commands/GetTransitGatewayPrefixListReferencesCommand";
393
403
  import { GetTransitGatewayRouteTableAssociationsCommand, } from "./commands/GetTransitGatewayRouteTableAssociationsCommand";
394
404
  import { GetTransitGatewayRouteTablePropagationsCommand, } from "./commands/GetTransitGatewayRouteTablePropagationsCommand";
@@ -836,6 +846,20 @@ var EC2 = (function (_super) {
836
846
  return this.send(command, optionsOrCb);
837
847
  }
838
848
  };
849
+ EC2.prototype.associateTransitGatewayPolicyTable = function (args, optionsOrCb, cb) {
850
+ var command = new AssociateTransitGatewayPolicyTableCommand(args);
851
+ if (typeof optionsOrCb === "function") {
852
+ this.send(command, optionsOrCb);
853
+ }
854
+ else if (typeof cb === "function") {
855
+ if (typeof optionsOrCb !== "object")
856
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
857
+ this.send(command, optionsOrCb || {}, cb);
858
+ }
859
+ else {
860
+ return this.send(command, optionsOrCb);
861
+ }
862
+ };
839
863
  EC2.prototype.associateTransitGatewayRouteTable = function (args, optionsOrCb, cb) {
840
864
  var command = new AssociateTransitGatewayRouteTableCommand(args);
841
865
  if (typeof optionsOrCb === "function") {
@@ -1984,6 +2008,20 @@ var EC2 = (function (_super) {
1984
2008
  return this.send(command, optionsOrCb);
1985
2009
  }
1986
2010
  };
2011
+ EC2.prototype.createTransitGatewayPolicyTable = function (args, optionsOrCb, cb) {
2012
+ var command = new CreateTransitGatewayPolicyTableCommand(args);
2013
+ if (typeof optionsOrCb === "function") {
2014
+ this.send(command, optionsOrCb);
2015
+ }
2016
+ else if (typeof cb === "function") {
2017
+ if (typeof optionsOrCb !== "object")
2018
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2019
+ this.send(command, optionsOrCb || {}, cb);
2020
+ }
2021
+ else {
2022
+ return this.send(command, optionsOrCb);
2023
+ }
2024
+ };
1987
2025
  EC2.prototype.createTransitGatewayPrefixListReference = function (args, optionsOrCb, cb) {
1988
2026
  var command = new CreateTransitGatewayPrefixListReferenceCommand(args);
1989
2027
  if (typeof optionsOrCb === "function") {
@@ -2026,6 +2064,20 @@ var EC2 = (function (_super) {
2026
2064
  return this.send(command, optionsOrCb);
2027
2065
  }
2028
2066
  };
2067
+ EC2.prototype.createTransitGatewayRouteTableAnnouncement = function (args, optionsOrCb, cb) {
2068
+ var command = new CreateTransitGatewayRouteTableAnnouncementCommand(args);
2069
+ if (typeof optionsOrCb === "function") {
2070
+ this.send(command, optionsOrCb);
2071
+ }
2072
+ else if (typeof cb === "function") {
2073
+ if (typeof optionsOrCb !== "object")
2074
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2075
+ this.send(command, optionsOrCb || {}, cb);
2076
+ }
2077
+ else {
2078
+ return this.send(command, optionsOrCb);
2079
+ }
2080
+ };
2029
2081
  EC2.prototype.createTransitGatewayVpcAttachment = function (args, optionsOrCb, cb) {
2030
2082
  var command = new CreateTransitGatewayVpcAttachmentCommand(args);
2031
2083
  if (typeof optionsOrCb === "function") {
@@ -2852,6 +2904,20 @@ var EC2 = (function (_super) {
2852
2904
  return this.send(command, optionsOrCb);
2853
2905
  }
2854
2906
  };
2907
+ EC2.prototype.deleteTransitGatewayPolicyTable = function (args, optionsOrCb, cb) {
2908
+ var command = new DeleteTransitGatewayPolicyTableCommand(args);
2909
+ if (typeof optionsOrCb === "function") {
2910
+ this.send(command, optionsOrCb);
2911
+ }
2912
+ else if (typeof cb === "function") {
2913
+ if (typeof optionsOrCb !== "object")
2914
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2915
+ this.send(command, optionsOrCb || {}, cb);
2916
+ }
2917
+ else {
2918
+ return this.send(command, optionsOrCb);
2919
+ }
2920
+ };
2855
2921
  EC2.prototype.deleteTransitGatewayPrefixListReference = function (args, optionsOrCb, cb) {
2856
2922
  var command = new DeleteTransitGatewayPrefixListReferenceCommand(args);
2857
2923
  if (typeof optionsOrCb === "function") {
@@ -2894,6 +2960,20 @@ var EC2 = (function (_super) {
2894
2960
  return this.send(command, optionsOrCb);
2895
2961
  }
2896
2962
  };
2963
+ EC2.prototype.deleteTransitGatewayRouteTableAnnouncement = function (args, optionsOrCb, cb) {
2964
+ var command = new DeleteTransitGatewayRouteTableAnnouncementCommand(args);
2965
+ if (typeof optionsOrCb === "function") {
2966
+ this.send(command, optionsOrCb);
2967
+ }
2968
+ else if (typeof cb === "function") {
2969
+ if (typeof optionsOrCb !== "object")
2970
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2971
+ this.send(command, optionsOrCb || {}, cb);
2972
+ }
2973
+ else {
2974
+ return this.send(command, optionsOrCb);
2975
+ }
2976
+ };
2897
2977
  EC2.prototype.deleteTransitGatewayVpcAttachment = function (args, optionsOrCb, cb) {
2898
2978
  var command = new DeleteTransitGatewayVpcAttachmentCommand(args);
2899
2979
  if (typeof optionsOrCb === "function") {
@@ -4700,6 +4780,34 @@ var EC2 = (function (_super) {
4700
4780
  return this.send(command, optionsOrCb);
4701
4781
  }
4702
4782
  };
4783
+ EC2.prototype.describeTransitGatewayPolicyTables = function (args, optionsOrCb, cb) {
4784
+ var command = new DescribeTransitGatewayPolicyTablesCommand(args);
4785
+ if (typeof optionsOrCb === "function") {
4786
+ this.send(command, optionsOrCb);
4787
+ }
4788
+ else if (typeof cb === "function") {
4789
+ if (typeof optionsOrCb !== "object")
4790
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
4791
+ this.send(command, optionsOrCb || {}, cb);
4792
+ }
4793
+ else {
4794
+ return this.send(command, optionsOrCb);
4795
+ }
4796
+ };
4797
+ EC2.prototype.describeTransitGatewayRouteTableAnnouncements = function (args, optionsOrCb, cb) {
4798
+ var command = new DescribeTransitGatewayRouteTableAnnouncementsCommand(args);
4799
+ if (typeof optionsOrCb === "function") {
4800
+ this.send(command, optionsOrCb);
4801
+ }
4802
+ else if (typeof cb === "function") {
4803
+ if (typeof optionsOrCb !== "object")
4804
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
4805
+ this.send(command, optionsOrCb || {}, cb);
4806
+ }
4807
+ else {
4808
+ return this.send(command, optionsOrCb);
4809
+ }
4810
+ };
4703
4811
  EC2.prototype.describeTransitGatewayRouteTables = function (args, optionsOrCb, cb) {
4704
4812
  var command = new DescribeTransitGatewayRouteTablesCommand(args);
4705
4813
  if (typeof optionsOrCb === "function") {
@@ -5316,6 +5424,20 @@ var EC2 = (function (_super) {
5316
5424
  return this.send(command, optionsOrCb);
5317
5425
  }
5318
5426
  };
5427
+ EC2.prototype.disassociateTransitGatewayPolicyTable = function (args, optionsOrCb, cb) {
5428
+ var command = new DisassociateTransitGatewayPolicyTableCommand(args);
5429
+ if (typeof optionsOrCb === "function") {
5430
+ this.send(command, optionsOrCb);
5431
+ }
5432
+ else if (typeof cb === "function") {
5433
+ if (typeof optionsOrCb !== "object")
5434
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
5435
+ this.send(command, optionsOrCb || {}, cb);
5436
+ }
5437
+ else {
5438
+ return this.send(command, optionsOrCb);
5439
+ }
5440
+ };
5319
5441
  EC2.prototype.disassociateTransitGatewayRouteTable = function (args, optionsOrCb, cb) {
5320
5442
  var command = new DisassociateTransitGatewayRouteTableCommand(args);
5321
5443
  if (typeof optionsOrCb === "function") {
@@ -5988,6 +6110,34 @@ var EC2 = (function (_super) {
5988
6110
  return this.send(command, optionsOrCb);
5989
6111
  }
5990
6112
  };
6113
+ EC2.prototype.getTransitGatewayPolicyTableAssociations = function (args, optionsOrCb, cb) {
6114
+ var command = new GetTransitGatewayPolicyTableAssociationsCommand(args);
6115
+ if (typeof optionsOrCb === "function") {
6116
+ this.send(command, optionsOrCb);
6117
+ }
6118
+ else if (typeof cb === "function") {
6119
+ if (typeof optionsOrCb !== "object")
6120
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
6121
+ this.send(command, optionsOrCb || {}, cb);
6122
+ }
6123
+ else {
6124
+ return this.send(command, optionsOrCb);
6125
+ }
6126
+ };
6127
+ EC2.prototype.getTransitGatewayPolicyTableEntries = function (args, optionsOrCb, cb) {
6128
+ var command = new GetTransitGatewayPolicyTableEntriesCommand(args);
6129
+ if (typeof optionsOrCb === "function") {
6130
+ this.send(command, optionsOrCb);
6131
+ }
6132
+ else if (typeof cb === "function") {
6133
+ if (typeof optionsOrCb !== "object")
6134
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
6135
+ this.send(command, optionsOrCb || {}, cb);
6136
+ }
6137
+ else {
6138
+ return this.send(command, optionsOrCb);
6139
+ }
6140
+ };
5991
6141
  EC2.prototype.getTransitGatewayPrefixListReferences = function (args, optionsOrCb, cb) {
5992
6142
  var command = new GetTransitGatewayPrefixListReferencesCommand(args);
5993
6143
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { AssociateTransitGatewayPolicyTableRequest, AssociateTransitGatewayPolicyTableResult, } from "../models/models_0";
5
+ import { deserializeAws_ec2AssociateTransitGatewayPolicyTableCommand, serializeAws_ec2AssociateTransitGatewayPolicyTableCommand, } from "../protocols/Aws_ec2";
6
+ var AssociateTransitGatewayPolicyTableCommand = (function (_super) {
7
+ __extends(AssociateTransitGatewayPolicyTableCommand, _super);
8
+ function AssociateTransitGatewayPolicyTableCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ AssociateTransitGatewayPolicyTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "AssociateTransitGatewayPolicyTableCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: AssociateTransitGatewayPolicyTableRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: AssociateTransitGatewayPolicyTableResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociateTransitGatewayPolicyTableCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2AssociateTransitGatewayPolicyTableCommand(input, context);
33
+ };
34
+ AssociateTransitGatewayPolicyTableCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2AssociateTransitGatewayPolicyTableCommand(output, context);
36
+ };
37
+ return AssociateTransitGatewayPolicyTableCommand;
38
+ }($Command));
39
+ export { AssociateTransitGatewayPolicyTableCommand };
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateTransitGatewayRequest, CreateTransitGatewayResult } from "../models/models_1";
4
+ import { CreateTransitGatewayRequest } from "../models/models_1";
5
+ import { CreateTransitGatewayResult } from "../models/models_2";
5
6
  import { deserializeAws_ec2CreateTransitGatewayCommand, serializeAws_ec2CreateTransitGatewayCommand, } from "../protocols/Aws_ec2";
6
7
  var CreateTransitGatewayCommand = (function (_super) {
7
8
  __extends(CreateTransitGatewayCommand, _super);
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateTransitGatewayPolicyTableRequest, CreateTransitGatewayPolicyTableResult } from "../models/models_2";
5
+ import { deserializeAws_ec2CreateTransitGatewayPolicyTableCommand, serializeAws_ec2CreateTransitGatewayPolicyTableCommand, } from "../protocols/Aws_ec2";
6
+ var CreateTransitGatewayPolicyTableCommand = (function (_super) {
7
+ __extends(CreateTransitGatewayPolicyTableCommand, _super);
8
+ function CreateTransitGatewayPolicyTableCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateTransitGatewayPolicyTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "CreateTransitGatewayPolicyTableCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateTransitGatewayPolicyTableRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateTransitGatewayPolicyTableResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateTransitGatewayPolicyTableCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2CreateTransitGatewayPolicyTableCommand(input, context);
33
+ };
34
+ CreateTransitGatewayPolicyTableCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2CreateTransitGatewayPolicyTableCommand(output, context);
36
+ };
37
+ return CreateTransitGatewayPolicyTableCommand;
38
+ }($Command));
39
+ export { CreateTransitGatewayPolicyTableCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateTransitGatewayRouteTableAnnouncementRequest, CreateTransitGatewayRouteTableAnnouncementResult, } from "../models/models_2";
5
+ import { deserializeAws_ec2CreateTransitGatewayRouteTableAnnouncementCommand, serializeAws_ec2CreateTransitGatewayRouteTableAnnouncementCommand, } from "../protocols/Aws_ec2";
6
+ var CreateTransitGatewayRouteTableAnnouncementCommand = (function (_super) {
7
+ __extends(CreateTransitGatewayRouteTableAnnouncementCommand, _super);
8
+ function CreateTransitGatewayRouteTableAnnouncementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateTransitGatewayRouteTableAnnouncementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "CreateTransitGatewayRouteTableAnnouncementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateTransitGatewayRouteTableAnnouncementRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateTransitGatewayRouteTableAnnouncementResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateTransitGatewayRouteTableAnnouncementCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2CreateTransitGatewayRouteTableAnnouncementCommand(input, context);
33
+ };
34
+ CreateTransitGatewayRouteTableAnnouncementCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2CreateTransitGatewayRouteTableAnnouncementCommand(output, context);
36
+ };
37
+ return CreateTransitGatewayRouteTableAnnouncementCommand;
38
+ }($Command));
39
+ export { CreateTransitGatewayRouteTableAnnouncementCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteTransitGatewayPolicyTableRequest, DeleteTransitGatewayPolicyTableResult } from "../models/models_2";
5
+ import { deserializeAws_ec2DeleteTransitGatewayPolicyTableCommand, serializeAws_ec2DeleteTransitGatewayPolicyTableCommand, } from "../protocols/Aws_ec2";
6
+ var DeleteTransitGatewayPolicyTableCommand = (function (_super) {
7
+ __extends(DeleteTransitGatewayPolicyTableCommand, _super);
8
+ function DeleteTransitGatewayPolicyTableCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteTransitGatewayPolicyTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "DeleteTransitGatewayPolicyTableCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteTransitGatewayPolicyTableRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteTransitGatewayPolicyTableResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteTransitGatewayPolicyTableCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2DeleteTransitGatewayPolicyTableCommand(input, context);
33
+ };
34
+ DeleteTransitGatewayPolicyTableCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2DeleteTransitGatewayPolicyTableCommand(output, context);
36
+ };
37
+ return DeleteTransitGatewayPolicyTableCommand;
38
+ }($Command));
39
+ export { DeleteTransitGatewayPolicyTableCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteTransitGatewayRouteTableAnnouncementRequest, DeleteTransitGatewayRouteTableAnnouncementResult, } from "../models/models_2";
5
+ import { deserializeAws_ec2DeleteTransitGatewayRouteTableAnnouncementCommand, serializeAws_ec2DeleteTransitGatewayRouteTableAnnouncementCommand, } from "../protocols/Aws_ec2";
6
+ var DeleteTransitGatewayRouteTableAnnouncementCommand = (function (_super) {
7
+ __extends(DeleteTransitGatewayRouteTableAnnouncementCommand, _super);
8
+ function DeleteTransitGatewayRouteTableAnnouncementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteTransitGatewayRouteTableAnnouncementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "DeleteTransitGatewayRouteTableAnnouncementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteTransitGatewayRouteTableAnnouncementRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteTransitGatewayRouteTableAnnouncementResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteTransitGatewayRouteTableAnnouncementCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2DeleteTransitGatewayRouteTableAnnouncementCommand(input, context);
33
+ };
34
+ DeleteTransitGatewayRouteTableAnnouncementCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2DeleteTransitGatewayRouteTableAnnouncementCommand(output, context);
36
+ };
37
+ return DeleteTransitGatewayRouteTableAnnouncementCommand;
38
+ }($Command));
39
+ export { DeleteTransitGatewayRouteTableAnnouncementCommand };
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeClientVpnConnectionsRequest, DescribeClientVpnConnectionsResult } from "../models/models_2";
4
+ import { DescribeClientVpnConnectionsRequest } from "../models/models_2";
5
+ import { DescribeClientVpnConnectionsResult } from "../models/models_3";
5
6
  import { deserializeAws_ec2DescribeClientVpnConnectionsCommand, serializeAws_ec2DescribeClientVpnConnectionsCommand, } from "../protocols/Aws_ec2";
6
7
  var DescribeClientVpnConnectionsCommand = (function (_super) {
7
8
  __extends(DescribeClientVpnConnectionsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeClientVpnEndpointsRequest, DescribeClientVpnEndpointsResult } from "../models/models_2";
4
+ import { DescribeClientVpnEndpointsRequest, DescribeClientVpnEndpointsResult } from "../models/models_3";
5
5
  import { deserializeAws_ec2DescribeClientVpnEndpointsCommand, serializeAws_ec2DescribeClientVpnEndpointsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeClientVpnEndpointsCommand = (function (_super) {
7
7
  __extends(DescribeClientVpnEndpointsCommand, _super);
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeNetworkInsightsAnalysesRequest, DescribeNetworkInsightsAnalysesResult } from "../models/models_3";
4
+ import { DescribeNetworkInsightsAnalysesRequest } from "../models/models_3";
5
+ import { DescribeNetworkInsightsAnalysesResult } from "../models/models_4";
5
6
  import { deserializeAws_ec2DescribeNetworkInsightsAnalysesCommand, serializeAws_ec2DescribeNetworkInsightsAnalysesCommand, } from "../protocols/Aws_ec2";
6
7
  var DescribeNetworkInsightsAnalysesCommand = (function (_super) {
7
8
  __extends(DescribeNetworkInsightsAnalysesCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeNetworkInsightsPathsRequest, DescribeNetworkInsightsPathsResult } from "../models/models_3";
4
+ import { DescribeNetworkInsightsPathsRequest, DescribeNetworkInsightsPathsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeNetworkInsightsPathsCommand, serializeAws_ec2DescribeNetworkInsightsPathsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeNetworkInsightsPathsCommand = (function (_super) {
7
7
  __extends(DescribeNetworkInsightsPathsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeNetworkInterfaceAttributeRequest, DescribeNetworkInterfaceAttributeResult } from "../models/models_3";
4
+ import { DescribeNetworkInterfaceAttributeRequest, DescribeNetworkInterfaceAttributeResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeNetworkInterfaceAttributeCommand, serializeAws_ec2DescribeNetworkInterfaceAttributeCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeNetworkInterfaceAttributeCommand = (function (_super) {
7
7
  __extends(DescribeNetworkInterfaceAttributeCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeNetworkInterfacePermissionsRequest, DescribeNetworkInterfacePermissionsResult, } from "../models/models_3";
4
+ import { DescribeNetworkInterfacePermissionsRequest, DescribeNetworkInterfacePermissionsResult, } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeNetworkInterfacePermissionsCommand, serializeAws_ec2DescribeNetworkInterfacePermissionsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeNetworkInterfacePermissionsCommand = (function (_super) {
7
7
  __extends(DescribeNetworkInterfacePermissionsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeNetworkInterfacesRequest, DescribeNetworkInterfacesResult } from "../models/models_3";
4
+ import { DescribeNetworkInterfacesRequest, DescribeNetworkInterfacesResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeNetworkInterfacesCommand, serializeAws_ec2DescribeNetworkInterfacesCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeNetworkInterfacesCommand = (function (_super) {
7
7
  __extends(DescribeNetworkInterfacesCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribePlacementGroupsRequest, DescribePlacementGroupsResult } from "../models/models_3";
4
+ import { DescribePlacementGroupsRequest, DescribePlacementGroupsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribePlacementGroupsCommand, serializeAws_ec2DescribePlacementGroupsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribePlacementGroupsCommand = (function (_super) {
7
7
  __extends(DescribePlacementGroupsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribePrefixListsRequest, DescribePrefixListsResult } from "../models/models_3";
4
+ import { DescribePrefixListsRequest, DescribePrefixListsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribePrefixListsCommand, serializeAws_ec2DescribePrefixListsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribePrefixListsCommand = (function (_super) {
7
7
  __extends(DescribePrefixListsCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribePrincipalIdFormatRequest } from "../models/models_3";
5
- import { DescribePrincipalIdFormatResult } from "../models/models_4";
4
+ import { DescribePrincipalIdFormatRequest, DescribePrincipalIdFormatResult } from "../models/models_4";
6
5
  import { deserializeAws_ec2DescribePrincipalIdFormatCommand, serializeAws_ec2DescribePrincipalIdFormatCommand, } from "../protocols/Aws_ec2";
7
6
  var DescribePrincipalIdFormatCommand = (function (_super) {
8
7
  __extends(DescribePrincipalIdFormatCommand, _super);
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeTransitGatewayPolicyTablesRequest, DescribeTransitGatewayPolicyTablesResult, } from "../models/models_4";
5
+ import { deserializeAws_ec2DescribeTransitGatewayPolicyTablesCommand, serializeAws_ec2DescribeTransitGatewayPolicyTablesCommand, } from "../protocols/Aws_ec2";
6
+ var DescribeTransitGatewayPolicyTablesCommand = (function (_super) {
7
+ __extends(DescribeTransitGatewayPolicyTablesCommand, _super);
8
+ function DescribeTransitGatewayPolicyTablesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeTransitGatewayPolicyTablesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "DescribeTransitGatewayPolicyTablesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeTransitGatewayPolicyTablesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeTransitGatewayPolicyTablesResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeTransitGatewayPolicyTablesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2DescribeTransitGatewayPolicyTablesCommand(input, context);
33
+ };
34
+ DescribeTransitGatewayPolicyTablesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2DescribeTransitGatewayPolicyTablesCommand(output, context);
36
+ };
37
+ return DescribeTransitGatewayPolicyTablesCommand;
38
+ }($Command));
39
+ export { DescribeTransitGatewayPolicyTablesCommand };