@aws-sdk/client-direct-connect 3.35.0 → 3.38.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 (464) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/DirectConnect.js +60 -9
  4. package/dist-cjs/DirectConnectClient.js +0 -14
  5. package/dist-cjs/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +0 -25
  6. package/dist-cjs/commands/AllocateConnectionOnInterconnectCommand.js +0 -32
  7. package/dist-cjs/commands/AllocateHostedConnectionCommand.js +0 -30
  8. package/dist-cjs/commands/AllocatePrivateVirtualInterfaceCommand.js +0 -27
  9. package/dist-cjs/commands/AllocatePublicVirtualInterfaceCommand.js +0 -30
  10. package/dist-cjs/commands/AllocateTransitVirtualInterfaceCommand.js +0 -27
  11. package/dist-cjs/commands/AssociateConnectionWithLagCommand.js +0 -38
  12. package/dist-cjs/commands/AssociateHostedConnectionCommand.js +0 -32
  13. package/dist-cjs/commands/AssociateMacSecKeyCommand.js +0 -27
  14. package/dist-cjs/commands/AssociateVirtualInterfaceCommand.js +0 -34
  15. package/dist-cjs/commands/ConfirmConnectionCommand.js +0 -27
  16. package/dist-cjs/commands/ConfirmCustomerAgreementCommand.js +36 -0
  17. package/dist-cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js +0 -28
  18. package/dist-cjs/commands/ConfirmPublicVirtualInterfaceCommand.js +0 -27
  19. package/dist-cjs/commands/ConfirmTransitVirtualInterfaceCommand.js +0 -27
  20. package/dist-cjs/commands/CreateBGPPeerCommand.js +0 -31
  21. package/dist-cjs/commands/CreateConnectionCommand.js +0 -33
  22. package/dist-cjs/commands/CreateDirectConnectGatewayAssociationCommand.js +0 -26
  23. package/dist-cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +0 -26
  24. package/dist-cjs/commands/CreateDirectConnectGatewayCommand.js +0 -30
  25. package/dist-cjs/commands/CreateInterconnectCommand.js +0 -40
  26. package/dist-cjs/commands/CreateLagCommand.js +0 -42
  27. package/dist-cjs/commands/CreatePrivateVirtualInterfaceCommand.js +0 -35
  28. package/dist-cjs/commands/CreatePublicVirtualInterfaceCommand.js +0 -28
  29. package/dist-cjs/commands/CreateTransitVirtualInterfaceCommand.js +0 -34
  30. package/dist-cjs/commands/DeleteBGPPeerCommand.js +0 -26
  31. package/dist-cjs/commands/DeleteConnectionCommand.js +0 -28
  32. package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js +0 -26
  33. package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +0 -25
  34. package/dist-cjs/commands/DeleteDirectConnectGatewayCommand.js +0 -27
  35. package/dist-cjs/commands/DeleteInterconnectCommand.js +0 -29
  36. package/dist-cjs/commands/DeleteLagCommand.js +0 -26
  37. package/dist-cjs/commands/DeleteVirtualInterfaceCommand.js +0 -25
  38. package/dist-cjs/commands/DescribeConnectionLoaCommand.js +0 -32
  39. package/dist-cjs/commands/DescribeConnectionsCommand.js +0 -25
  40. package/dist-cjs/commands/DescribeConnectionsOnInterconnectCommand.js +0 -31
  41. package/dist-cjs/commands/DescribeCustomerMetadataCommand.js +36 -0
  42. package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +0 -25
  43. package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js +0 -47
  44. package/dist-cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +0 -29
  45. package/dist-cjs/commands/DescribeDirectConnectGatewaysCommand.js +0 -25
  46. package/dist-cjs/commands/DescribeHostedConnectionsCommand.js +0 -29
  47. package/dist-cjs/commands/DescribeInterconnectLoaCommand.js +0 -31
  48. package/dist-cjs/commands/DescribeInterconnectsCommand.js +0 -25
  49. package/dist-cjs/commands/DescribeLagsCommand.js +0 -25
  50. package/dist-cjs/commands/DescribeLoaCommand.js +0 -28
  51. package/dist-cjs/commands/DescribeLocationsCommand.js +0 -26
  52. package/dist-cjs/commands/DescribeRouterConfigurationCommand.js +36 -0
  53. package/dist-cjs/commands/DescribeTagsCommand.js +0 -25
  54. package/dist-cjs/commands/DescribeVirtualGatewaysCommand.js +0 -26
  55. package/dist-cjs/commands/DescribeVirtualInterfacesCommand.js +0 -29
  56. package/dist-cjs/commands/DisassociateConnectionFromLagCommand.js +0 -34
  57. package/dist-cjs/commands/DisassociateMacSecKeyCommand.js +0 -25
  58. package/dist-cjs/commands/ListVirtualInterfaceTestHistoryCommand.js +0 -25
  59. package/dist-cjs/commands/StartBgpFailoverTestCommand.js +0 -28
  60. package/dist-cjs/commands/StopBgpFailoverTestCommand.js +0 -25
  61. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  62. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  63. package/dist-cjs/commands/UpdateConnectionCommand.js +0 -34
  64. package/dist-cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js +0 -26
  65. package/dist-cjs/commands/UpdateDirectConnectGatewayCommand.js +36 -0
  66. package/dist-cjs/commands/UpdateLagCommand.js +0 -47
  67. package/dist-cjs/commands/UpdateVirtualInterfaceAttributesCommand.js +0 -31
  68. package/dist-cjs/commands/index.js +66 -0
  69. package/dist-cjs/endpoints.js +1 -2
  70. package/dist-cjs/index.js +3 -62
  71. package/dist-cjs/models/index.js +0 -1
  72. package/dist-cjs/models/models_0.js +63 -376
  73. package/dist-cjs/protocols/Aws_json1_1.js +339 -9
  74. package/dist-cjs/runtimeConfig.browser.js +1 -6
  75. package/dist-cjs/runtimeConfig.js +2 -7
  76. package/dist-cjs/runtimeConfig.native.js +0 -4
  77. package/dist-cjs/runtimeConfig.shared.js +0 -4
  78. package/dist-es/DirectConnect.js +60 -1
  79. package/dist-es/DirectConnectClient.js +0 -1
  80. package/dist-es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +0 -1
  81. package/dist-es/commands/AllocateConnectionOnInterconnectCommand.js +0 -1
  82. package/dist-es/commands/AllocateHostedConnectionCommand.js +0 -1
  83. package/dist-es/commands/AllocatePrivateVirtualInterfaceCommand.js +0 -1
  84. package/dist-es/commands/AllocatePublicVirtualInterfaceCommand.js +0 -1
  85. package/dist-es/commands/AllocateTransitVirtualInterfaceCommand.js +0 -1
  86. package/dist-es/commands/AssociateConnectionWithLagCommand.js +0 -1
  87. package/dist-es/commands/AssociateHostedConnectionCommand.js +0 -1
  88. package/dist-es/commands/AssociateMacSecKeyCommand.js +0 -1
  89. package/dist-es/commands/AssociateVirtualInterfaceCommand.js +0 -1
  90. package/dist-es/commands/ConfirmConnectionCommand.js +0 -1
  91. package/dist-es/commands/ConfirmCustomerAgreementCommand.js +39 -0
  92. package/dist-es/commands/ConfirmPrivateVirtualInterfaceCommand.js +0 -1
  93. package/dist-es/commands/ConfirmPublicVirtualInterfaceCommand.js +0 -1
  94. package/dist-es/commands/ConfirmTransitVirtualInterfaceCommand.js +0 -1
  95. package/dist-es/commands/CreateBGPPeerCommand.js +0 -1
  96. package/dist-es/commands/CreateConnectionCommand.js +0 -1
  97. package/dist-es/commands/CreateDirectConnectGatewayAssociationCommand.js +0 -1
  98. package/dist-es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +0 -1
  99. package/dist-es/commands/CreateDirectConnectGatewayCommand.js +0 -1
  100. package/dist-es/commands/CreateInterconnectCommand.js +0 -1
  101. package/dist-es/commands/CreateLagCommand.js +0 -1
  102. package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js +0 -1
  103. package/dist-es/commands/CreatePublicVirtualInterfaceCommand.js +0 -1
  104. package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js +0 -1
  105. package/dist-es/commands/DeleteBGPPeerCommand.js +0 -1
  106. package/dist-es/commands/DeleteConnectionCommand.js +0 -1
  107. package/dist-es/commands/DeleteDirectConnectGatewayAssociationCommand.js +0 -1
  108. package/dist-es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +0 -1
  109. package/dist-es/commands/DeleteDirectConnectGatewayCommand.js +0 -1
  110. package/dist-es/commands/DeleteInterconnectCommand.js +0 -1
  111. package/dist-es/commands/DeleteLagCommand.js +0 -1
  112. package/dist-es/commands/DeleteVirtualInterfaceCommand.js +0 -1
  113. package/dist-es/commands/DescribeConnectionLoaCommand.js +0 -1
  114. package/dist-es/commands/DescribeConnectionsCommand.js +0 -1
  115. package/dist-es/commands/DescribeConnectionsOnInterconnectCommand.js +0 -1
  116. package/dist-es/commands/DescribeCustomerMetadataCommand.js +39 -0
  117. package/dist-es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +0 -1
  118. package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +0 -1
  119. package/dist-es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +0 -1
  120. package/dist-es/commands/DescribeDirectConnectGatewaysCommand.js +0 -1
  121. package/dist-es/commands/DescribeHostedConnectionsCommand.js +0 -1
  122. package/dist-es/commands/DescribeInterconnectLoaCommand.js +0 -1
  123. package/dist-es/commands/DescribeInterconnectsCommand.js +0 -1
  124. package/dist-es/commands/DescribeLagsCommand.js +0 -1
  125. package/dist-es/commands/DescribeLoaCommand.js +0 -1
  126. package/dist-es/commands/DescribeLocationsCommand.js +0 -1
  127. package/dist-es/commands/DescribeRouterConfigurationCommand.js +39 -0
  128. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  129. package/dist-es/commands/DescribeVirtualGatewaysCommand.js +0 -1
  130. package/dist-es/commands/DescribeVirtualInterfacesCommand.js +0 -1
  131. package/dist-es/commands/DisassociateConnectionFromLagCommand.js +0 -1
  132. package/dist-es/commands/DisassociateMacSecKeyCommand.js +0 -1
  133. package/dist-es/commands/ListVirtualInterfaceTestHistoryCommand.js +0 -1
  134. package/dist-es/commands/StartBgpFailoverTestCommand.js +0 -1
  135. package/dist-es/commands/StopBgpFailoverTestCommand.js +0 -1
  136. package/dist-es/commands/TagResourceCommand.js +0 -1
  137. package/dist-es/commands/UntagResourceCommand.js +0 -1
  138. package/dist-es/commands/UpdateConnectionCommand.js +0 -1
  139. package/dist-es/commands/UpdateDirectConnectGatewayAssociationCommand.js +0 -1
  140. package/dist-es/commands/UpdateDirectConnectGatewayCommand.js +39 -0
  141. package/dist-es/commands/UpdateLagCommand.js +0 -1
  142. package/dist-es/commands/UpdateVirtualInterfaceAttributesCommand.js +0 -1
  143. package/dist-es/commands/index.js +63 -0
  144. package/dist-es/endpoints.js +1 -2
  145. package/dist-es/index.js +3 -62
  146. package/dist-es/models/index.js +0 -1
  147. package/dist-es/models/models_0.js +42 -1
  148. package/dist-es/protocols/Aws_json1_1.js +369 -1
  149. package/dist-es/runtimeConfig.browser.js +1 -2
  150. package/dist-es/runtimeConfig.js +2 -3
  151. package/dist-es/runtimeConfig.native.js +0 -1
  152. package/dist-es/runtimeConfig.shared.js +0 -1
  153. package/dist-types/DirectConnect.d.ts +51 -19
  154. package/dist-types/DirectConnectClient.d.ts +8 -4
  155. package/dist-types/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +1 -1
  156. package/dist-types/commands/AllocatePublicVirtualInterfaceCommand.d.ts +2 -2
  157. package/dist-types/commands/AllocateTransitVirtualInterfaceCommand.d.ts +2 -2
  158. package/dist-types/commands/ConfirmCustomerAgreementCommand.d.ts +37 -0
  159. package/dist-types/commands/ConfirmPrivateVirtualInterfaceCommand.d.ts +1 -1
  160. package/dist-types/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +1 -1
  161. package/dist-types/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +1 -1
  162. package/dist-types/commands/CreateDirectConnectGatewayAssociationProposalCommand.d.ts +1 -1
  163. package/dist-types/commands/CreateDirectConnectGatewayCommand.d.ts +2 -2
  164. package/dist-types/commands/CreateLagCommand.d.ts +1 -1
  165. package/dist-types/commands/CreatePrivateVirtualInterfaceCommand.d.ts +1 -1
  166. package/dist-types/commands/DescribeCustomerMetadataCommand.d.ts +35 -0
  167. package/dist-types/commands/DescribeInterconnectsCommand.d.ts +1 -1
  168. package/dist-types/commands/DescribeLocationsCommand.d.ts +1 -1
  169. package/dist-types/commands/DescribeRouterConfigurationCommand.d.ts +37 -0
  170. package/dist-types/commands/DescribeVirtualGatewaysCommand.d.ts +1 -1
  171. package/dist-types/commands/DescribeVirtualInterfacesCommand.d.ts +1 -1
  172. package/dist-types/commands/UpdateDirectConnectGatewayCommand.d.ts +35 -0
  173. package/dist-types/commands/index.d.ts +63 -0
  174. package/dist-types/index.d.ts +3 -61
  175. package/dist-types/models/models_0.d.ts +209 -23
  176. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  177. package/dist-types/ts3.4/DirectConnect.d.ts +80 -442
  178. package/dist-types/ts3.4/DirectConnectClient.d.ts +30 -96
  179. package/dist-types/ts3.4/commands/AcceptDirectConnectGatewayAssociationProposalCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/AllocateConnectionOnInterconnectCommand.d.ts +2 -27
  181. package/dist-types/ts3.4/commands/AllocateHostedConnectionCommand.d.ts +2 -25
  182. package/dist-types/ts3.4/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +2 -22
  183. package/dist-types/ts3.4/commands/AllocatePublicVirtualInterfaceCommand.d.ts +2 -25
  184. package/dist-types/ts3.4/commands/AllocateTransitVirtualInterfaceCommand.d.ts +2 -22
  185. package/dist-types/ts3.4/commands/AssociateConnectionWithLagCommand.d.ts +2 -33
  186. package/dist-types/ts3.4/commands/AssociateHostedConnectionCommand.d.ts +2 -27
  187. package/dist-types/ts3.4/commands/AssociateMacSecKeyCommand.d.ts +2 -22
  188. package/dist-types/ts3.4/commands/AssociateVirtualInterfaceCommand.d.ts +2 -29
  189. package/dist-types/ts3.4/commands/ConfirmConnectionCommand.d.ts +2 -22
  190. package/dist-types/ts3.4/commands/ConfirmCustomerAgreementCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/ConfirmPrivateVirtualInterfaceCommand.d.ts +2 -23
  192. package/dist-types/ts3.4/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +2 -22
  193. package/dist-types/ts3.4/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +2 -22
  194. package/dist-types/ts3.4/commands/CreateBGPPeerCommand.d.ts +2 -26
  195. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +2 -28
  196. package/dist-types/ts3.4/commands/CreateDirectConnectGatewayAssociationCommand.d.ts +2 -21
  197. package/dist-types/ts3.4/commands/CreateDirectConnectGatewayAssociationProposalCommand.d.ts +2 -21
  198. package/dist-types/ts3.4/commands/CreateDirectConnectGatewayCommand.d.ts +2 -25
  199. package/dist-types/ts3.4/commands/CreateInterconnectCommand.d.ts +2 -35
  200. package/dist-types/ts3.4/commands/CreateLagCommand.d.ts +2 -37
  201. package/dist-types/ts3.4/commands/CreatePrivateVirtualInterfaceCommand.d.ts +2 -30
  202. package/dist-types/ts3.4/commands/CreatePublicVirtualInterfaceCommand.d.ts +2 -23
  203. package/dist-types/ts3.4/commands/CreateTransitVirtualInterfaceCommand.d.ts +2 -29
  204. package/dist-types/ts3.4/commands/DeleteBGPPeerCommand.d.ts +2 -21
  205. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -23
  206. package/dist-types/ts3.4/commands/DeleteDirectConnectGatewayAssociationCommand.d.ts +2 -21
  207. package/dist-types/ts3.4/commands/DeleteDirectConnectGatewayAssociationProposalCommand.d.ts +2 -20
  208. package/dist-types/ts3.4/commands/DeleteDirectConnectGatewayCommand.d.ts +2 -22
  209. package/dist-types/ts3.4/commands/DeleteInterconnectCommand.d.ts +2 -24
  210. package/dist-types/ts3.4/commands/DeleteLagCommand.d.ts +2 -21
  211. package/dist-types/ts3.4/commands/DeleteVirtualInterfaceCommand.d.ts +2 -20
  212. package/dist-types/ts3.4/commands/DescribeConnectionLoaCommand.d.ts +2 -27
  213. package/dist-types/ts3.4/commands/DescribeConnectionsCommand.d.ts +2 -20
  214. package/dist-types/ts3.4/commands/DescribeConnectionsOnInterconnectCommand.d.ts +2 -26
  215. package/dist-types/ts3.4/commands/DescribeCustomerMetadataCommand.d.ts +17 -0
  216. package/dist-types/ts3.4/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.d.ts +2 -20
  217. package/dist-types/ts3.4/commands/DescribeDirectConnectGatewayAssociationsCommand.d.ts +2 -42
  218. package/dist-types/ts3.4/commands/DescribeDirectConnectGatewayAttachmentsCommand.d.ts +2 -24
  219. package/dist-types/ts3.4/commands/DescribeDirectConnectGatewaysCommand.d.ts +2 -20
  220. package/dist-types/ts3.4/commands/DescribeHostedConnectionsCommand.d.ts +2 -24
  221. package/dist-types/ts3.4/commands/DescribeInterconnectLoaCommand.d.ts +2 -26
  222. package/dist-types/ts3.4/commands/DescribeInterconnectsCommand.d.ts +2 -20
  223. package/dist-types/ts3.4/commands/DescribeLagsCommand.d.ts +2 -20
  224. package/dist-types/ts3.4/commands/DescribeLoaCommand.d.ts +2 -23
  225. package/dist-types/ts3.4/commands/DescribeLocationsCommand.d.ts +2 -21
  226. package/dist-types/ts3.4/commands/DescribeRouterConfigurationCommand.d.ts +17 -0
  227. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -20
  228. package/dist-types/ts3.4/commands/DescribeVirtualGatewaysCommand.d.ts +2 -21
  229. package/dist-types/ts3.4/commands/DescribeVirtualInterfacesCommand.d.ts +2 -24
  230. package/dist-types/ts3.4/commands/DisassociateConnectionFromLagCommand.d.ts +2 -29
  231. package/dist-types/ts3.4/commands/DisassociateMacSecKeyCommand.d.ts +2 -20
  232. package/dist-types/ts3.4/commands/ListVirtualInterfaceTestHistoryCommand.d.ts +2 -20
  233. package/dist-types/ts3.4/commands/StartBgpFailoverTestCommand.d.ts +2 -23
  234. package/dist-types/ts3.4/commands/StopBgpFailoverTestCommand.d.ts +2 -20
  235. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  236. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  237. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +2 -29
  238. package/dist-types/ts3.4/commands/UpdateDirectConnectGatewayAssociationCommand.d.ts +2 -21
  239. package/dist-types/ts3.4/commands/UpdateDirectConnectGatewayCommand.d.ts +17 -0
  240. package/dist-types/ts3.4/commands/UpdateLagCommand.d.ts +2 -42
  241. package/dist-types/ts3.4/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +2 -26
  242. package/dist-types/ts3.4/commands/index.d.ts +63 -0
  243. package/dist-types/ts3.4/index.d.ts +3 -61
  244. package/dist-types/ts3.4/models/models_0.d.ts +676 -2289
  245. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  246. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  247. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  248. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  249. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  250. package/package.json +33 -30
  251. package/dist-cjs/DirectConnect.js.map +0 -1
  252. package/dist-cjs/DirectConnectClient.js.map +0 -1
  253. package/dist-cjs/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  254. package/dist-cjs/commands/AllocateConnectionOnInterconnectCommand.js.map +0 -1
  255. package/dist-cjs/commands/AllocateHostedConnectionCommand.js.map +0 -1
  256. package/dist-cjs/commands/AllocatePrivateVirtualInterfaceCommand.js.map +0 -1
  257. package/dist-cjs/commands/AllocatePublicVirtualInterfaceCommand.js.map +0 -1
  258. package/dist-cjs/commands/AllocateTransitVirtualInterfaceCommand.js.map +0 -1
  259. package/dist-cjs/commands/AssociateConnectionWithLagCommand.js.map +0 -1
  260. package/dist-cjs/commands/AssociateHostedConnectionCommand.js.map +0 -1
  261. package/dist-cjs/commands/AssociateMacSecKeyCommand.js.map +0 -1
  262. package/dist-cjs/commands/AssociateVirtualInterfaceCommand.js.map +0 -1
  263. package/dist-cjs/commands/ConfirmConnectionCommand.js.map +0 -1
  264. package/dist-cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js.map +0 -1
  265. package/dist-cjs/commands/ConfirmPublicVirtualInterfaceCommand.js.map +0 -1
  266. package/dist-cjs/commands/ConfirmTransitVirtualInterfaceCommand.js.map +0 -1
  267. package/dist-cjs/commands/CreateBGPPeerCommand.js.map +0 -1
  268. package/dist-cjs/commands/CreateConnectionCommand.js.map +0 -1
  269. package/dist-cjs/commands/CreateDirectConnectGatewayAssociationCommand.js.map +0 -1
  270. package/dist-cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  271. package/dist-cjs/commands/CreateDirectConnectGatewayCommand.js.map +0 -1
  272. package/dist-cjs/commands/CreateInterconnectCommand.js.map +0 -1
  273. package/dist-cjs/commands/CreateLagCommand.js.map +0 -1
  274. package/dist-cjs/commands/CreatePrivateVirtualInterfaceCommand.js.map +0 -1
  275. package/dist-cjs/commands/CreatePublicVirtualInterfaceCommand.js.map +0 -1
  276. package/dist-cjs/commands/CreateTransitVirtualInterfaceCommand.js.map +0 -1
  277. package/dist-cjs/commands/DeleteBGPPeerCommand.js.map +0 -1
  278. package/dist-cjs/commands/DeleteConnectionCommand.js.map +0 -1
  279. package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js.map +0 -1
  280. package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  281. package/dist-cjs/commands/DeleteDirectConnectGatewayCommand.js.map +0 -1
  282. package/dist-cjs/commands/DeleteInterconnectCommand.js.map +0 -1
  283. package/dist-cjs/commands/DeleteLagCommand.js.map +0 -1
  284. package/dist-cjs/commands/DeleteVirtualInterfaceCommand.js.map +0 -1
  285. package/dist-cjs/commands/DescribeConnectionLoaCommand.js.map +0 -1
  286. package/dist-cjs/commands/DescribeConnectionsCommand.js.map +0 -1
  287. package/dist-cjs/commands/DescribeConnectionsOnInterconnectCommand.js.map +0 -1
  288. package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js.map +0 -1
  289. package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js.map +0 -1
  290. package/dist-cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js.map +0 -1
  291. package/dist-cjs/commands/DescribeDirectConnectGatewaysCommand.js.map +0 -1
  292. package/dist-cjs/commands/DescribeHostedConnectionsCommand.js.map +0 -1
  293. package/dist-cjs/commands/DescribeInterconnectLoaCommand.js.map +0 -1
  294. package/dist-cjs/commands/DescribeInterconnectsCommand.js.map +0 -1
  295. package/dist-cjs/commands/DescribeLagsCommand.js.map +0 -1
  296. package/dist-cjs/commands/DescribeLoaCommand.js.map +0 -1
  297. package/dist-cjs/commands/DescribeLocationsCommand.js.map +0 -1
  298. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  299. package/dist-cjs/commands/DescribeVirtualGatewaysCommand.js.map +0 -1
  300. package/dist-cjs/commands/DescribeVirtualInterfacesCommand.js.map +0 -1
  301. package/dist-cjs/commands/DisassociateConnectionFromLagCommand.js.map +0 -1
  302. package/dist-cjs/commands/DisassociateMacSecKeyCommand.js.map +0 -1
  303. package/dist-cjs/commands/ListVirtualInterfaceTestHistoryCommand.js.map +0 -1
  304. package/dist-cjs/commands/StartBgpFailoverTestCommand.js.map +0 -1
  305. package/dist-cjs/commands/StopBgpFailoverTestCommand.js.map +0 -1
  306. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  307. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  308. package/dist-cjs/commands/UpdateConnectionCommand.js.map +0 -1
  309. package/dist-cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js.map +0 -1
  310. package/dist-cjs/commands/UpdateLagCommand.js.map +0 -1
  311. package/dist-cjs/commands/UpdateVirtualInterfaceAttributesCommand.js.map +0 -1
  312. package/dist-cjs/endpoints.js.map +0 -1
  313. package/dist-cjs/index.js.map +0 -1
  314. package/dist-cjs/models/index.js.map +0 -1
  315. package/dist-cjs/models/models_0.js.map +0 -1
  316. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  317. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  318. package/dist-cjs/runtimeConfig.js.map +0 -1
  319. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  320. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  321. package/dist-es/DirectConnect.js.map +0 -1
  322. package/dist-es/DirectConnectClient.js.map +0 -1
  323. package/dist-es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  324. package/dist-es/commands/AllocateConnectionOnInterconnectCommand.js.map +0 -1
  325. package/dist-es/commands/AllocateHostedConnectionCommand.js.map +0 -1
  326. package/dist-es/commands/AllocatePrivateVirtualInterfaceCommand.js.map +0 -1
  327. package/dist-es/commands/AllocatePublicVirtualInterfaceCommand.js.map +0 -1
  328. package/dist-es/commands/AllocateTransitVirtualInterfaceCommand.js.map +0 -1
  329. package/dist-es/commands/AssociateConnectionWithLagCommand.js.map +0 -1
  330. package/dist-es/commands/AssociateHostedConnectionCommand.js.map +0 -1
  331. package/dist-es/commands/AssociateMacSecKeyCommand.js.map +0 -1
  332. package/dist-es/commands/AssociateVirtualInterfaceCommand.js.map +0 -1
  333. package/dist-es/commands/ConfirmConnectionCommand.js.map +0 -1
  334. package/dist-es/commands/ConfirmPrivateVirtualInterfaceCommand.js.map +0 -1
  335. package/dist-es/commands/ConfirmPublicVirtualInterfaceCommand.js.map +0 -1
  336. package/dist-es/commands/ConfirmTransitVirtualInterfaceCommand.js.map +0 -1
  337. package/dist-es/commands/CreateBGPPeerCommand.js.map +0 -1
  338. package/dist-es/commands/CreateConnectionCommand.js.map +0 -1
  339. package/dist-es/commands/CreateDirectConnectGatewayAssociationCommand.js.map +0 -1
  340. package/dist-es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  341. package/dist-es/commands/CreateDirectConnectGatewayCommand.js.map +0 -1
  342. package/dist-es/commands/CreateInterconnectCommand.js.map +0 -1
  343. package/dist-es/commands/CreateLagCommand.js.map +0 -1
  344. package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js.map +0 -1
  345. package/dist-es/commands/CreatePublicVirtualInterfaceCommand.js.map +0 -1
  346. package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js.map +0 -1
  347. package/dist-es/commands/DeleteBGPPeerCommand.js.map +0 -1
  348. package/dist-es/commands/DeleteConnectionCommand.js.map +0 -1
  349. package/dist-es/commands/DeleteDirectConnectGatewayAssociationCommand.js.map +0 -1
  350. package/dist-es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  351. package/dist-es/commands/DeleteDirectConnectGatewayCommand.js.map +0 -1
  352. package/dist-es/commands/DeleteInterconnectCommand.js.map +0 -1
  353. package/dist-es/commands/DeleteLagCommand.js.map +0 -1
  354. package/dist-es/commands/DeleteVirtualInterfaceCommand.js.map +0 -1
  355. package/dist-es/commands/DescribeConnectionLoaCommand.js.map +0 -1
  356. package/dist-es/commands/DescribeConnectionsCommand.js.map +0 -1
  357. package/dist-es/commands/DescribeConnectionsOnInterconnectCommand.js.map +0 -1
  358. package/dist-es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js.map +0 -1
  359. package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js.map +0 -1
  360. package/dist-es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js.map +0 -1
  361. package/dist-es/commands/DescribeDirectConnectGatewaysCommand.js.map +0 -1
  362. package/dist-es/commands/DescribeHostedConnectionsCommand.js.map +0 -1
  363. package/dist-es/commands/DescribeInterconnectLoaCommand.js.map +0 -1
  364. package/dist-es/commands/DescribeInterconnectsCommand.js.map +0 -1
  365. package/dist-es/commands/DescribeLagsCommand.js.map +0 -1
  366. package/dist-es/commands/DescribeLoaCommand.js.map +0 -1
  367. package/dist-es/commands/DescribeLocationsCommand.js.map +0 -1
  368. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  369. package/dist-es/commands/DescribeVirtualGatewaysCommand.js.map +0 -1
  370. package/dist-es/commands/DescribeVirtualInterfacesCommand.js.map +0 -1
  371. package/dist-es/commands/DisassociateConnectionFromLagCommand.js.map +0 -1
  372. package/dist-es/commands/DisassociateMacSecKeyCommand.js.map +0 -1
  373. package/dist-es/commands/ListVirtualInterfaceTestHistoryCommand.js.map +0 -1
  374. package/dist-es/commands/StartBgpFailoverTestCommand.js.map +0 -1
  375. package/dist-es/commands/StopBgpFailoverTestCommand.js.map +0 -1
  376. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  377. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  378. package/dist-es/commands/UpdateConnectionCommand.js.map +0 -1
  379. package/dist-es/commands/UpdateDirectConnectGatewayAssociationCommand.js.map +0 -1
  380. package/dist-es/commands/UpdateLagCommand.js.map +0 -1
  381. package/dist-es/commands/UpdateVirtualInterfaceAttributesCommand.js.map +0 -1
  382. package/dist-es/endpoints.js.map +0 -1
  383. package/dist-es/index.js.map +0 -1
  384. package/dist-es/models/index.js.map +0 -1
  385. package/dist-es/models/models_0.js.map +0 -1
  386. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  387. package/dist-es/runtimeConfig.browser.js.map +0 -1
  388. package/dist-es/runtimeConfig.js.map +0 -1
  389. package/dist-es/runtimeConfig.native.js.map +0 -1
  390. package/dist-es/runtimeConfig.shared.js.map +0 -1
  391. package/jest.config.js +0 -4
  392. package/src/DirectConnect.ts +0 -2415
  393. package/src/DirectConnectClient.ts +0 -541
  394. package/src/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts +0 -110
  395. package/src/commands/AllocateConnectionOnInterconnectCommand.ts +0 -108
  396. package/src/commands/AllocateHostedConnectionCommand.ts +0 -100
  397. package/src/commands/AllocatePrivateVirtualInterfaceCommand.ts +0 -103
  398. package/src/commands/AllocatePublicVirtualInterfaceCommand.ts +0 -106
  399. package/src/commands/AllocateTransitVirtualInterfaceCommand.ts +0 -105
  400. package/src/commands/AssociateConnectionWithLagCommand.ts +0 -111
  401. package/src/commands/AssociateHostedConnectionCommand.ts +0 -105
  402. package/src/commands/AssociateMacSecKeyCommand.ts +0 -97
  403. package/src/commands/AssociateVirtualInterfaceCommand.ts +0 -107
  404. package/src/commands/ConfirmConnectionCommand.ts +0 -97
  405. package/src/commands/ConfirmPrivateVirtualInterfaceCommand.ts +0 -106
  406. package/src/commands/ConfirmPublicVirtualInterfaceCommand.ts +0 -102
  407. package/src/commands/ConfirmTransitVirtualInterfaceCommand.ts +0 -105
  408. package/src/commands/CreateBGPPeerCommand.ts +0 -101
  409. package/src/commands/CreateConnectionCommand.ts +0 -103
  410. package/src/commands/CreateDirectConnectGatewayAssociationCommand.ts +0 -108
  411. package/src/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts +0 -111
  412. package/src/commands/CreateDirectConnectGatewayCommand.ts +0 -103
  413. package/src/commands/CreateInterconnectCommand.ts +0 -110
  414. package/src/commands/CreateLagCommand.ts +0 -109
  415. package/src/commands/CreatePrivateVirtualInterfaceCommand.ts +0 -108
  416. package/src/commands/CreatePublicVirtualInterfaceCommand.ts +0 -101
  417. package/src/commands/CreateTransitVirtualInterfaceCommand.ts +0 -109
  418. package/src/commands/DeleteBGPPeerCommand.ts +0 -96
  419. package/src/commands/DeleteConnectionCommand.ts +0 -98
  420. package/src/commands/DeleteDirectConnectGatewayAssociationCommand.ts +0 -108
  421. package/src/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts +0 -110
  422. package/src/commands/DeleteDirectConnectGatewayCommand.ts +0 -100
  423. package/src/commands/DeleteInterconnectCommand.ts +0 -99
  424. package/src/commands/DeleteLagCommand.ts +0 -93
  425. package/src/commands/DeleteVirtualInterfaceCommand.ts +0 -95
  426. package/src/commands/DescribeConnectionLoaCommand.ts +0 -102
  427. package/src/commands/DescribeConnectionsCommand.ts +0 -95
  428. package/src/commands/DescribeConnectionsOnInterconnectCommand.ts +0 -107
  429. package/src/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts +0 -110
  430. package/src/commands/DescribeDirectConnectGatewayAssociationsCommand.ts +0 -132
  431. package/src/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts +0 -114
  432. package/src/commands/DescribeDirectConnectGatewaysCommand.ts +0 -100
  433. package/src/commands/DescribeHostedConnectionsCommand.ts +0 -102
  434. package/src/commands/DescribeInterconnectLoaCommand.ts +0 -101
  435. package/src/commands/DescribeInterconnectsCommand.ts +0 -95
  436. package/src/commands/DescribeLagsCommand.ts +0 -95
  437. package/src/commands/DescribeLoaCommand.ts +0 -98
  438. package/src/commands/DescribeLocationsCommand.ts +0 -96
  439. package/src/commands/DescribeTagsCommand.ts +0 -95
  440. package/src/commands/DescribeVirtualGatewaysCommand.ts +0 -96
  441. package/src/commands/DescribeVirtualInterfacesCommand.ts +0 -102
  442. package/src/commands/DisassociateConnectionFromLagCommand.ts +0 -107
  443. package/src/commands/DisassociateMacSecKeyCommand.ts +0 -95
  444. package/src/commands/ListVirtualInterfaceTestHistoryCommand.ts +0 -103
  445. package/src/commands/StartBgpFailoverTestCommand.ts +0 -98
  446. package/src/commands/StopBgpFailoverTestCommand.ts +0 -95
  447. package/src/commands/TagResourceCommand.ts +0 -96
  448. package/src/commands/UntagResourceCommand.ts +0 -95
  449. package/src/commands/UpdateConnectionCommand.ts +0 -104
  450. package/src/commands/UpdateDirectConnectGatewayAssociationCommand.ts +0 -108
  451. package/src/commands/UpdateLagCommand.ts +0 -114
  452. package/src/commands/UpdateVirtualInterfaceAttributesCommand.ts +0 -107
  453. package/src/endpoints.ts +0 -86
  454. package/src/index.ts +0 -62
  455. package/src/models/index.ts +0 -1
  456. package/src/models/models_0.ts +0 -4211
  457. package/src/protocols/Aws_json1_1.ts +0 -6999
  458. package/src/runtimeConfig.browser.ts +0 -41
  459. package/src/runtimeConfig.native.ts +0 -17
  460. package/src/runtimeConfig.shared.ts +0 -17
  461. package/src/runtimeConfig.ts +0 -46
  462. package/tsconfig.es.json +0 -10
  463. package/tsconfig.json +0 -33
  464. package/tsconfig.types.json +0 -9
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
15
- import { DescribeLoaRequest, Loa } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeLoaCommand,
18
- serializeAws_json1_1DescribeLoaCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeLoaCommandInput extends DescribeLoaRequest {}
22
- export interface DescribeLoaCommandOutput extends Loa, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG).</p>
26
- * <p>The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing
27
- * your cross connect to Amazon Web Services at the colocation facility. For more information, see <a href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/Colocation.html">Requesting Cross Connects at Direct Connect Locations</a>
28
- * in the <i>Direct Connect User Guide</i>.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { DirectConnectClient, DescribeLoaCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
33
- * // const { DirectConnectClient, DescribeLoaCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
34
- * const client = new DirectConnectClient(config);
35
- * const command = new DescribeLoaCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DescribeLoaCommandInput} for command's `input` shape.
40
- * @see {@link DescribeLoaCommandOutput} for command's `response` shape.
41
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DescribeLoaCommand extends $Command<
45
- DescribeLoaCommandInput,
46
- DescribeLoaCommandOutput,
47
- DirectConnectClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DescribeLoaCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: DirectConnectClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<DescribeLoaCommandInput, DescribeLoaCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "DirectConnectClient";
72
- const commandName = "DescribeLoaCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DescribeLoaRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: Loa.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: DescribeLoaCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1DescribeLoaCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeLoaCommandOutput> {
93
- return deserializeAws_json1_1DescribeLoaCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
15
- import { Locations } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeLocationsCommand,
18
- serializeAws_json1_1DescribeLocationsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeLocationsCommandInput {}
22
- export interface DescribeLocationsCommandOutput extends Locations, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the Direct Connect locations in the current Region. These are the locations that can be selected when calling
26
- * <a>CreateConnection</a> or <a>CreateInterconnect</a>.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DirectConnectClient, DescribeLocationsCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
31
- * // const { DirectConnectClient, DescribeLocationsCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
32
- * const client = new DirectConnectClient(config);
33
- * const command = new DescribeLocationsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeLocationsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeLocationsCommandOutput} for command's `response` shape.
39
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeLocationsCommand extends $Command<
43
- DescribeLocationsCommandInput,
44
- DescribeLocationsCommandOutput,
45
- DirectConnectClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeLocationsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: DirectConnectClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeLocationsCommandInput, DescribeLocationsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "DirectConnectClient";
70
- const commandName = "DescribeLocationsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: (input: any) => input,
76
- outputFilterSensitiveLog: Locations.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DescribeLocationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeLocationsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeLocationsCommandOutput> {
91
- return deserializeAws_json1_1DescribeLocationsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
15
- import { DescribeTagsRequest, DescribeTagsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeTagsCommand,
18
- serializeAws_json1_1DescribeTagsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeTagsCommandInput extends DescribeTagsRequest {}
22
- export interface DescribeTagsCommandOutput extends DescribeTagsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the tags associated with the specified Direct Connect resources.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DirectConnectClient, DescribeTagsCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
30
- * // const { DirectConnectClient, DescribeTagsCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
31
- * const client = new DirectConnectClient(config);
32
- * const command = new DescribeTagsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeTagsCommandInput} for command's `input` shape.
37
- * @see {@link DescribeTagsCommandOutput} for command's `response` shape.
38
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeTagsCommand extends $Command<
42
- DescribeTagsCommandInput,
43
- DescribeTagsCommandOutput,
44
- DirectConnectClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeTagsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: DirectConnectClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeTagsCommandInput, DescribeTagsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "DirectConnectClient";
69
- const commandName = "DescribeTagsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeTagsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeTagsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeTagsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeTagsCommandOutput> {
90
- return deserializeAws_json1_1DescribeTagsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
15
- import { VirtualGateways } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeVirtualGatewaysCommand,
18
- serializeAws_json1_1DescribeVirtualGatewaysCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeVirtualGatewaysCommandInput {}
22
- export interface DescribeVirtualGatewaysCommandOutput extends VirtualGateways, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the virtual private gateways owned by the account.</p>
26
- * <p>You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DirectConnectClient, DescribeVirtualGatewaysCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
31
- * // const { DirectConnectClient, DescribeVirtualGatewaysCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
32
- * const client = new DirectConnectClient(config);
33
- * const command = new DescribeVirtualGatewaysCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeVirtualGatewaysCommandInput} for command's `input` shape.
38
- * @see {@link DescribeVirtualGatewaysCommandOutput} for command's `response` shape.
39
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeVirtualGatewaysCommand extends $Command<
43
- DescribeVirtualGatewaysCommandInput,
44
- DescribeVirtualGatewaysCommandOutput,
45
- DirectConnectClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeVirtualGatewaysCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: DirectConnectClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeVirtualGatewaysCommandInput, DescribeVirtualGatewaysCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "DirectConnectClient";
70
- const commandName = "DescribeVirtualGatewaysCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: (input: any) => input,
76
- outputFilterSensitiveLog: VirtualGateways.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DescribeVirtualGatewaysCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeVirtualGatewaysCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeVirtualGatewaysCommandOutput> {
91
- return deserializeAws_json1_1DescribeVirtualGatewaysCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,102 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
15
- import { DescribeVirtualInterfacesRequest, VirtualInterfaces } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeVirtualInterfacesCommand,
18
- serializeAws_json1_1DescribeVirtualInterfacesCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeVirtualInterfacesCommandInput extends DescribeVirtualInterfacesRequest {}
22
- export interface DescribeVirtualInterfacesCommandOutput extends VirtualInterfaces, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Displays all virtual interfaces for an account. Virtual interfaces deleted fewer
26
- * than 15 minutes before you make the request are also returned. If you specify a
27
- * connection ID, only the virtual interfaces associated with the connection are returned.
28
- * If you specify a virtual interface ID, then only a single virtual interface is returned.</p>
29
- * <p>A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { DirectConnectClient, DescribeVirtualInterfacesCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
34
- * // const { DirectConnectClient, DescribeVirtualInterfacesCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
35
- * const client = new DirectConnectClient(config);
36
- * const command = new DescribeVirtualInterfacesCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DescribeVirtualInterfacesCommandInput} for command's `input` shape.
41
- * @see {@link DescribeVirtualInterfacesCommandOutput} for command's `response` shape.
42
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DescribeVirtualInterfacesCommand extends $Command<
46
- DescribeVirtualInterfacesCommandInput,
47
- DescribeVirtualInterfacesCommandOutput,
48
- DirectConnectClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DescribeVirtualInterfacesCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: DirectConnectClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DescribeVirtualInterfacesCommandInput, DescribeVirtualInterfacesCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "DirectConnectClient";
73
- const commandName = "DescribeVirtualInterfacesCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DescribeVirtualInterfacesRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: VirtualInterfaces.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: DescribeVirtualInterfacesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1DescribeVirtualInterfacesCommand(input, context);
91
- }
92
-
93
- private deserialize(
94
- output: __HttpResponse,
95
- context: __SerdeContext
96
- ): Promise<DescribeVirtualInterfacesCommandOutput> {
97
- return deserializeAws_json1_1DescribeVirtualInterfacesCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,107 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
15
- import { Connection, DisassociateConnectionFromLagRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DisassociateConnectionFromLagCommand,
18
- serializeAws_json1_1DisassociateConnectionFromLagCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DisassociateConnectionFromLagCommandInput extends DisassociateConnectionFromLagRequest {}
22
- export interface DisassociateConnectionFromLagCommandOutput extends Connection, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Disassociates a connection from a link aggregation group (LAG). The connection is
26
- * interrupted and re-established as a standalone connection (the connection is not
27
- * deleted; to delete the connection, use the <a>DeleteConnection</a> request).
28
- * If the LAG has associated virtual interfaces or hosted connections, they remain
29
- * associated with the LAG. A disassociated connection owned by an Direct Connect Partner is
30
- * automatically converted to an interconnect.</p>
31
- * <p>If disassociating the connection would cause the LAG to fall below its setting for
32
- * minimum number of operational connections, the request fails, except when it's the last
33
- * member of the LAG. If all connections are disassociated, the LAG continues to exist as
34
- * an empty LAG with no physical connections. </p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { DirectConnectClient, DisassociateConnectionFromLagCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
39
- * // const { DirectConnectClient, DisassociateConnectionFromLagCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
40
- * const client = new DirectConnectClient(config);
41
- * const command = new DisassociateConnectionFromLagCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link DisassociateConnectionFromLagCommandInput} for command's `input` shape.
46
- * @see {@link DisassociateConnectionFromLagCommandOutput} for command's `response` shape.
47
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class DisassociateConnectionFromLagCommand extends $Command<
51
- DisassociateConnectionFromLagCommandInput,
52
- DisassociateConnectionFromLagCommandOutput,
53
- DirectConnectClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: DisassociateConnectionFromLagCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: DirectConnectClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<DisassociateConnectionFromLagCommandInput, DisassociateConnectionFromLagCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "DirectConnectClient";
78
- const commandName = "DisassociateConnectionFromLagCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: DisassociateConnectionFromLagRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: Connection.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(input: DisassociateConnectionFromLagCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
95
- return serializeAws_json1_1DisassociateConnectionFromLagCommand(input, context);
96
- }
97
-
98
- private deserialize(
99
- output: __HttpResponse,
100
- context: __SerdeContext
101
- ): Promise<DisassociateConnectionFromLagCommandOutput> {
102
- return deserializeAws_json1_1DisassociateConnectionFromLagCommand(output, context);
103
- }
104
-
105
- // Start section: command_body_extra
106
- // End section: command_body_extra
107
- }