@aws-sdk/client-direct-connect 3.32.0 → 3.36.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 (508) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/DirectConnect.js +1 -2
  3. package/{dist/cjs → dist-cjs}/DirectConnectClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/AllocateConnectionOnInterconnectCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/AllocateHostedConnectionCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/AllocatePrivateVirtualInterfaceCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/AllocatePublicVirtualInterfaceCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/AllocateTransitVirtualInterfaceCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/AssociateConnectionWithLagCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/AssociateHostedConnectionCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/AssociateMacSecKeyCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/AssociateVirtualInterfaceCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/ConfirmConnectionCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/ConfirmPrivateVirtualInterfaceCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/ConfirmPublicVirtualInterfaceCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/ConfirmTransitVirtualInterfaceCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/CreateBGPPeerCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/CreateConnectionCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/CreateDirectConnectGatewayAssociationCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/CreateDirectConnectGatewayCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/CreateInterconnectCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/CreateLagCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/CreatePrivateVirtualInterfaceCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/CreatePublicVirtualInterfaceCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/CreateTransitVirtualInterfaceCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/DeleteBGPPeerCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/DeleteConnectionCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/DeleteDirectConnectGatewayAssociationCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/DeleteDirectConnectGatewayCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/DeleteInterconnectCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/DeleteLagCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/DeleteVirtualInterfaceCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/DescribeConnectionLoaCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/DescribeConnectionsCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/commands/DescribeConnectionsOnInterconnectCommand.js +2 -3
  39. package/{dist/cjs → dist-cjs}/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +2 -3
  40. package/{dist/cjs → dist-cjs}/commands/DescribeDirectConnectGatewayAssociationsCommand.js +2 -3
  41. package/{dist/cjs → dist-cjs}/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +2 -3
  42. package/{dist/cjs → dist-cjs}/commands/DescribeDirectConnectGatewaysCommand.js +2 -3
  43. package/{dist/cjs → dist-cjs}/commands/DescribeHostedConnectionsCommand.js +2 -3
  44. package/{dist/cjs → dist-cjs}/commands/DescribeInterconnectLoaCommand.js +2 -3
  45. package/{dist/cjs → dist-cjs}/commands/DescribeInterconnectsCommand.js +2 -3
  46. package/{dist/cjs → dist-cjs}/commands/DescribeLagsCommand.js +2 -3
  47. package/{dist/cjs → dist-cjs}/commands/DescribeLoaCommand.js +2 -3
  48. package/{dist/cjs → dist-cjs}/commands/DescribeLocationsCommand.js +2 -3
  49. package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -3
  50. package/{dist/cjs → dist-cjs}/commands/DescribeVirtualGatewaysCommand.js +2 -3
  51. package/{dist/cjs → dist-cjs}/commands/DescribeVirtualInterfacesCommand.js +2 -3
  52. package/{dist/cjs → dist-cjs}/commands/DisassociateConnectionFromLagCommand.js +2 -3
  53. package/{dist/cjs → dist-cjs}/commands/DisassociateMacSecKeyCommand.js +2 -3
  54. package/{dist/cjs → dist-cjs}/commands/ListVirtualInterfaceTestHistoryCommand.js +2 -3
  55. package/{dist/cjs → dist-cjs}/commands/StartBgpFailoverTestCommand.js +2 -3
  56. package/{dist/cjs → dist-cjs}/commands/StopBgpFailoverTestCommand.js +2 -3
  57. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  58. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  59. package/{dist/cjs → dist-cjs}/commands/UpdateConnectionCommand.js +2 -3
  60. package/{dist/cjs → dist-cjs}/commands/UpdateDirectConnectGatewayAssociationCommand.js +2 -3
  61. package/{dist/cjs → dist-cjs}/commands/UpdateLagCommand.js +2 -3
  62. package/{dist/cjs → dist-cjs}/commands/UpdateVirtualInterfaceAttributesCommand.js +2 -3
  63. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  64. package/{dist/cjs → dist-cjs}/index.js +0 -1
  65. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  66. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  67. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  68. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  69. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  70. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  71. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  72. package/{dist/es → dist-es}/DirectConnect.js +2 -11
  73. package/{dist/es → dist-es}/DirectConnectClient.js +2 -16
  74. package/{dist/es → dist-es}/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +4 -30
  75. package/{dist/es → dist-es}/commands/AllocateConnectionOnInterconnectCommand.js +4 -37
  76. package/{dist/es → dist-es}/commands/AllocateHostedConnectionCommand.js +4 -35
  77. package/{dist/es → dist-es}/commands/AllocatePrivateVirtualInterfaceCommand.js +4 -32
  78. package/{dist/es → dist-es}/commands/AllocatePublicVirtualInterfaceCommand.js +4 -35
  79. package/{dist/es → dist-es}/commands/AllocateTransitVirtualInterfaceCommand.js +4 -32
  80. package/dist-es/commands/AssociateConnectionWithLagCommand.js +39 -0
  81. package/{dist/es → dist-es}/commands/AssociateHostedConnectionCommand.js +4 -37
  82. package/{dist/es → dist-es}/commands/AssociateMacSecKeyCommand.js +4 -32
  83. package/dist-es/commands/AssociateVirtualInterfaceCommand.js +39 -0
  84. package/{dist/es → dist-es}/commands/ConfirmConnectionCommand.js +4 -32
  85. package/{dist/es → dist-es}/commands/ConfirmPrivateVirtualInterfaceCommand.js +4 -33
  86. package/{dist/es → dist-es}/commands/ConfirmPublicVirtualInterfaceCommand.js +4 -32
  87. package/{dist/es → dist-es}/commands/ConfirmTransitVirtualInterfaceCommand.js +4 -32
  88. package/dist-es/commands/CreateBGPPeerCommand.js +39 -0
  89. package/dist-es/commands/CreateConnectionCommand.js +39 -0
  90. package/{dist/es → dist-es}/commands/CreateDirectConnectGatewayAssociationCommand.js +4 -31
  91. package/{dist/es → dist-es}/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +4 -31
  92. package/{dist/es → dist-es}/commands/CreateDirectConnectGatewayCommand.js +4 -35
  93. package/dist-es/commands/CreateInterconnectCommand.js +39 -0
  94. package/dist-es/commands/CreateLagCommand.js +39 -0
  95. package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js +39 -0
  96. package/{dist/es → dist-es}/commands/CreatePublicVirtualInterfaceCommand.js +4 -33
  97. package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js +39 -0
  98. package/{dist/es → dist-es}/commands/DeleteBGPPeerCommand.js +4 -31
  99. package/{dist/es → dist-es}/commands/DeleteConnectionCommand.js +4 -33
  100. package/{dist/es → dist-es}/commands/DeleteDirectConnectGatewayAssociationCommand.js +4 -31
  101. package/{dist/es → dist-es}/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +4 -30
  102. package/{dist/es → dist-es}/commands/DeleteDirectConnectGatewayCommand.js +4 -32
  103. package/{dist/es → dist-es}/commands/DeleteInterconnectCommand.js +4 -34
  104. package/{dist/es → dist-es}/commands/DeleteLagCommand.js +4 -31
  105. package/{dist/es → dist-es}/commands/DeleteVirtualInterfaceCommand.js +4 -30
  106. package/{dist/es → dist-es}/commands/DescribeConnectionLoaCommand.js +4 -37
  107. package/{dist/es → dist-es}/commands/DescribeConnectionsCommand.js +4 -30
  108. package/{dist/es → dist-es}/commands/DescribeConnectionsOnInterconnectCommand.js +4 -36
  109. package/{dist/es → dist-es}/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +4 -30
  110. package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +39 -0
  111. package/{dist/es → dist-es}/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +4 -34
  112. package/{dist/es → dist-es}/commands/DescribeDirectConnectGatewaysCommand.js +4 -30
  113. package/{dist/es → dist-es}/commands/DescribeHostedConnectionsCommand.js +4 -34
  114. package/{dist/es → dist-es}/commands/DescribeInterconnectLoaCommand.js +4 -36
  115. package/{dist/es → dist-es}/commands/DescribeInterconnectsCommand.js +4 -30
  116. package/{dist/es → dist-es}/commands/DescribeLagsCommand.js +4 -30
  117. package/{dist/es → dist-es}/commands/DescribeLoaCommand.js +4 -33
  118. package/{dist/es → dist-es}/commands/DescribeLocationsCommand.js +4 -31
  119. package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +4 -30
  120. package/{dist/es → dist-es}/commands/DescribeVirtualGatewaysCommand.js +4 -31
  121. package/{dist/es → dist-es}/commands/DescribeVirtualInterfacesCommand.js +4 -34
  122. package/dist-es/commands/DisassociateConnectionFromLagCommand.js +39 -0
  123. package/{dist/es → dist-es}/commands/DisassociateMacSecKeyCommand.js +4 -30
  124. package/{dist/es → dist-es}/commands/ListVirtualInterfaceTestHistoryCommand.js +4 -30
  125. package/{dist/es → dist-es}/commands/StartBgpFailoverTestCommand.js +4 -33
  126. package/{dist/es → dist-es}/commands/StopBgpFailoverTestCommand.js +4 -30
  127. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
  128. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  129. package/{dist/es → dist-es}/commands/UpdateConnectionCommand.js +4 -39
  130. package/{dist/es → dist-es}/commands/UpdateDirectConnectGatewayAssociationCommand.js +4 -31
  131. package/dist-es/commands/UpdateLagCommand.js +39 -0
  132. package/{dist/es → dist-es}/commands/UpdateVirtualInterfaceAttributesCommand.js +4 -36
  133. package/{dist/es → dist-es}/endpoints.js +1 -2
  134. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  135. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  136. package/{dist/es → dist-es}/models/models_0.js +0 -373
  137. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +979 -985
  138. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  139. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  140. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  141. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  142. package/{dist/types → dist-types}/DirectConnect.d.ts +2 -2
  143. package/{dist/types → dist-types}/DirectConnectClient.d.ts +8 -8
  144. package/{dist/types → dist-types}/commands/AcceptDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/AllocateConnectionOnInterconnectCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/AllocateHostedConnectionCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/AllocatePublicVirtualInterfaceCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/AllocateTransitVirtualInterfaceCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/AssociateConnectionWithLagCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/AssociateHostedConnectionCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/AssociateMacSecKeyCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/AssociateVirtualInterfaceCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/ConfirmConnectionCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/ConfirmPrivateVirtualInterfaceCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/CreateBGPPeerCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/commands/CreateConnectionCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/commands/CreateDirectConnectGatewayAssociationCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/CreateDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/CreateDirectConnectGatewayCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/CreateInterconnectCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/CreateLagCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/CreatePrivateVirtualInterfaceCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/CreatePublicVirtualInterfaceCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/CreateTransitVirtualInterfaceCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/DeleteBGPPeerCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/DeleteConnectionCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/DeleteDirectConnectGatewayAssociationCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/DeleteDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/DeleteDirectConnectGatewayCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/DeleteInterconnectCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/DeleteLagCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/DeleteVirtualInterfaceCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/commands/DescribeConnectionLoaCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/commands/DescribeConnectionsCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/DescribeConnectionsOnInterconnectCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/commands/DescribeDirectConnectGatewayAssociationsCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/commands/DescribeDirectConnectGatewayAttachmentsCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/commands/DescribeDirectConnectGatewaysCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/commands/DescribeHostedConnectionsCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/commands/DescribeInterconnectLoaCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/commands/DescribeInterconnectsCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/commands/DescribeLagsCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/commands/DescribeLoaCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/commands/DescribeLocationsCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/commands/DescribeVirtualGatewaysCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/commands/DescribeVirtualInterfacesCommand.d.ts +2 -2
  192. package/{dist/types → dist-types}/commands/DisassociateConnectionFromLagCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/commands/DisassociateMacSecKeyCommand.d.ts +2 -2
  194. package/{dist/types → dist-types}/commands/ListVirtualInterfaceTestHistoryCommand.d.ts +2 -2
  195. package/{dist/types → dist-types}/commands/StartBgpFailoverTestCommand.d.ts +2 -2
  196. package/{dist/types → dist-types}/commands/StopBgpFailoverTestCommand.d.ts +2 -2
  197. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  198. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  199. package/{dist/types → dist-types}/commands/UpdateConnectionCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/commands/UpdateDirectConnectGatewayAssociationCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/commands/UpdateLagCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  204. package/{index.ts → dist-types/index.d.ts} +0 -0
  205. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  206. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  207. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  208. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  209. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
  210. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  211. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  212. package/{dist/types → dist-types}/ts3.4/DirectConnect.d.ts +2 -2
  213. package/{dist/types → dist-types}/ts3.4/DirectConnectClient.d.ts +8 -8
  214. package/{dist/types → dist-types}/ts3.4/commands/AcceptDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/ts3.4/commands/AllocateConnectionOnInterconnectCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/ts3.4/commands/AllocateHostedConnectionCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/ts3.4/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/ts3.4/commands/AllocatePublicVirtualInterfaceCommand.d.ts +2 -2
  219. package/{dist/types → dist-types}/ts3.4/commands/AllocateTransitVirtualInterfaceCommand.d.ts +2 -2
  220. package/{dist/types → dist-types}/ts3.4/commands/AssociateConnectionWithLagCommand.d.ts +2 -2
  221. package/{dist/types → dist-types}/ts3.4/commands/AssociateHostedConnectionCommand.d.ts +2 -2
  222. package/{dist/types → dist-types}/ts3.4/commands/AssociateMacSecKeyCommand.d.ts +2 -2
  223. package/{dist/types → dist-types}/ts3.4/commands/AssociateVirtualInterfaceCommand.d.ts +2 -2
  224. package/{dist/types → dist-types}/ts3.4/commands/ConfirmConnectionCommand.d.ts +2 -2
  225. package/{dist/types → dist-types}/ts3.4/commands/ConfirmPrivateVirtualInterfaceCommand.d.ts +2 -2
  226. package/{dist/types → dist-types}/ts3.4/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +2 -2
  227. package/{dist/types → dist-types}/ts3.4/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +2 -2
  228. package/{dist/types → dist-types}/ts3.4/commands/CreateBGPPeerCommand.d.ts +2 -2
  229. package/{dist/types → dist-types}/ts3.4/commands/CreateConnectionCommand.d.ts +2 -2
  230. package/{dist/types → dist-types}/ts3.4/commands/CreateDirectConnectGatewayAssociationCommand.d.ts +2 -2
  231. package/{dist/types → dist-types}/ts3.4/commands/CreateDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
  232. package/{dist/types → dist-types}/ts3.4/commands/CreateDirectConnectGatewayCommand.d.ts +2 -2
  233. package/{dist/types → dist-types}/ts3.4/commands/CreateInterconnectCommand.d.ts +2 -2
  234. package/{dist/types → dist-types}/ts3.4/commands/CreateLagCommand.d.ts +2 -2
  235. package/{dist/types → dist-types}/ts3.4/commands/CreatePrivateVirtualInterfaceCommand.d.ts +2 -2
  236. package/{dist/types → dist-types}/ts3.4/commands/CreatePublicVirtualInterfaceCommand.d.ts +2 -2
  237. package/{dist/types → dist-types}/ts3.4/commands/CreateTransitVirtualInterfaceCommand.d.ts +2 -2
  238. package/{dist/types → dist-types}/ts3.4/commands/DeleteBGPPeerCommand.d.ts +2 -2
  239. package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -2
  240. package/{dist/types → dist-types}/ts3.4/commands/DeleteDirectConnectGatewayAssociationCommand.d.ts +2 -2
  241. package/{dist/types → dist-types}/ts3.4/commands/DeleteDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
  242. package/{dist/types → dist-types}/ts3.4/commands/DeleteDirectConnectGatewayCommand.d.ts +2 -2
  243. package/{dist/types → dist-types}/ts3.4/commands/DeleteInterconnectCommand.d.ts +2 -2
  244. package/{dist/types → dist-types}/ts3.4/commands/DeleteLagCommand.d.ts +2 -2
  245. package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualInterfaceCommand.d.ts +2 -2
  246. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectionLoaCommand.d.ts +2 -2
  247. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectionsCommand.d.ts +2 -2
  248. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectionsOnInterconnectCommand.d.ts +2 -2
  249. package/{dist/types → dist-types}/ts3.4/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.d.ts +2 -2
  250. package/{dist/types → dist-types}/ts3.4/commands/DescribeDirectConnectGatewayAssociationsCommand.d.ts +2 -2
  251. package/{dist/types → dist-types}/ts3.4/commands/DescribeDirectConnectGatewayAttachmentsCommand.d.ts +2 -2
  252. package/{dist/types → dist-types}/ts3.4/commands/DescribeDirectConnectGatewaysCommand.d.ts +2 -2
  253. package/{dist/types → dist-types}/ts3.4/commands/DescribeHostedConnectionsCommand.d.ts +2 -2
  254. package/{dist/types → dist-types}/ts3.4/commands/DescribeInterconnectLoaCommand.d.ts +2 -2
  255. package/{dist/types → dist-types}/ts3.4/commands/DescribeInterconnectsCommand.d.ts +2 -2
  256. package/{dist/types → dist-types}/ts3.4/commands/DescribeLagsCommand.d.ts +2 -2
  257. package/{dist/types → dist-types}/ts3.4/commands/DescribeLoaCommand.d.ts +2 -2
  258. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationsCommand.d.ts +2 -2
  259. package/{dist/types → dist-types}/ts3.4/commands/DescribeTagsCommand.d.ts +2 -2
  260. package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualGatewaysCommand.d.ts +2 -2
  261. package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualInterfacesCommand.d.ts +2 -2
  262. package/{dist/types → dist-types}/ts3.4/commands/DisassociateConnectionFromLagCommand.d.ts +2 -2
  263. package/{dist/types → dist-types}/ts3.4/commands/DisassociateMacSecKeyCommand.d.ts +2 -2
  264. package/{dist/types → dist-types}/ts3.4/commands/ListVirtualInterfaceTestHistoryCommand.d.ts +2 -2
  265. package/{dist/types → dist-types}/ts3.4/commands/StartBgpFailoverTestCommand.d.ts +2 -2
  266. package/{dist/types → dist-types}/ts3.4/commands/StopBgpFailoverTestCommand.d.ts +2 -2
  267. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  268. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  269. package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectionCommand.d.ts +2 -2
  270. package/{dist/types → dist-types}/ts3.4/commands/UpdateDirectConnectGatewayAssociationCommand.d.ts +2 -2
  271. package/{dist/types → dist-types}/ts3.4/commands/UpdateLagCommand.d.ts +2 -2
  272. package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +2 -2
  273. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  274. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  275. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  276. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  277. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  278. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  279. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
  280. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  281. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  282. package/package.json +52 -49
  283. package/DirectConnect.ts +0 -2414
  284. package/DirectConnectClient.ts +0 -540
  285. package/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts +0 -109
  286. package/commands/AllocateConnectionOnInterconnectCommand.ts +0 -107
  287. package/commands/AllocateHostedConnectionCommand.ts +0 -99
  288. package/commands/AllocatePrivateVirtualInterfaceCommand.ts +0 -102
  289. package/commands/AllocatePublicVirtualInterfaceCommand.ts +0 -105
  290. package/commands/AllocateTransitVirtualInterfaceCommand.ts +0 -104
  291. package/commands/AssociateConnectionWithLagCommand.ts +0 -110
  292. package/commands/AssociateHostedConnectionCommand.ts +0 -104
  293. package/commands/AssociateMacSecKeyCommand.ts +0 -96
  294. package/commands/AssociateVirtualInterfaceCommand.ts +0 -106
  295. package/commands/ConfirmConnectionCommand.ts +0 -96
  296. package/commands/ConfirmPrivateVirtualInterfaceCommand.ts +0 -105
  297. package/commands/ConfirmPublicVirtualInterfaceCommand.ts +0 -101
  298. package/commands/ConfirmTransitVirtualInterfaceCommand.ts +0 -104
  299. package/commands/CreateBGPPeerCommand.ts +0 -100
  300. package/commands/CreateConnectionCommand.ts +0 -102
  301. package/commands/CreateDirectConnectGatewayAssociationCommand.ts +0 -107
  302. package/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts +0 -110
  303. package/commands/CreateDirectConnectGatewayCommand.ts +0 -102
  304. package/commands/CreateInterconnectCommand.ts +0 -109
  305. package/commands/CreateLagCommand.ts +0 -108
  306. package/commands/CreatePrivateVirtualInterfaceCommand.ts +0 -107
  307. package/commands/CreatePublicVirtualInterfaceCommand.ts +0 -100
  308. package/commands/CreateTransitVirtualInterfaceCommand.ts +0 -108
  309. package/commands/DeleteBGPPeerCommand.ts +0 -95
  310. package/commands/DeleteConnectionCommand.ts +0 -97
  311. package/commands/DeleteDirectConnectGatewayAssociationCommand.ts +0 -107
  312. package/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts +0 -109
  313. package/commands/DeleteDirectConnectGatewayCommand.ts +0 -99
  314. package/commands/DeleteInterconnectCommand.ts +0 -98
  315. package/commands/DeleteLagCommand.ts +0 -92
  316. package/commands/DeleteVirtualInterfaceCommand.ts +0 -94
  317. package/commands/DescribeConnectionLoaCommand.ts +0 -101
  318. package/commands/DescribeConnectionsCommand.ts +0 -94
  319. package/commands/DescribeConnectionsOnInterconnectCommand.ts +0 -106
  320. package/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts +0 -109
  321. package/commands/DescribeDirectConnectGatewayAssociationsCommand.ts +0 -131
  322. package/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts +0 -113
  323. package/commands/DescribeDirectConnectGatewaysCommand.ts +0 -99
  324. package/commands/DescribeHostedConnectionsCommand.ts +0 -101
  325. package/commands/DescribeInterconnectLoaCommand.ts +0 -100
  326. package/commands/DescribeInterconnectsCommand.ts +0 -94
  327. package/commands/DescribeLagsCommand.ts +0 -94
  328. package/commands/DescribeLoaCommand.ts +0 -97
  329. package/commands/DescribeLocationsCommand.ts +0 -95
  330. package/commands/DescribeTagsCommand.ts +0 -94
  331. package/commands/DescribeVirtualGatewaysCommand.ts +0 -95
  332. package/commands/DescribeVirtualInterfacesCommand.ts +0 -101
  333. package/commands/DisassociateConnectionFromLagCommand.ts +0 -106
  334. package/commands/DisassociateMacSecKeyCommand.ts +0 -94
  335. package/commands/ListVirtualInterfaceTestHistoryCommand.ts +0 -102
  336. package/commands/StartBgpFailoverTestCommand.ts +0 -97
  337. package/commands/StopBgpFailoverTestCommand.ts +0 -94
  338. package/commands/TagResourceCommand.ts +0 -95
  339. package/commands/UntagResourceCommand.ts +0 -94
  340. package/commands/UpdateConnectionCommand.ts +0 -103
  341. package/commands/UpdateDirectConnectGatewayAssociationCommand.ts +0 -107
  342. package/commands/UpdateLagCommand.ts +0 -113
  343. package/commands/UpdateVirtualInterfaceAttributesCommand.ts +0 -106
  344. package/dist/cjs/DirectConnect.js.map +0 -1
  345. package/dist/cjs/DirectConnectClient.js.map +0 -1
  346. package/dist/cjs/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  347. package/dist/cjs/commands/AllocateConnectionOnInterconnectCommand.js.map +0 -1
  348. package/dist/cjs/commands/AllocateHostedConnectionCommand.js.map +0 -1
  349. package/dist/cjs/commands/AllocatePrivateVirtualInterfaceCommand.js.map +0 -1
  350. package/dist/cjs/commands/AllocatePublicVirtualInterfaceCommand.js.map +0 -1
  351. package/dist/cjs/commands/AllocateTransitVirtualInterfaceCommand.js.map +0 -1
  352. package/dist/cjs/commands/AssociateConnectionWithLagCommand.js.map +0 -1
  353. package/dist/cjs/commands/AssociateHostedConnectionCommand.js.map +0 -1
  354. package/dist/cjs/commands/AssociateMacSecKeyCommand.js.map +0 -1
  355. package/dist/cjs/commands/AssociateVirtualInterfaceCommand.js.map +0 -1
  356. package/dist/cjs/commands/ConfirmConnectionCommand.js.map +0 -1
  357. package/dist/cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js.map +0 -1
  358. package/dist/cjs/commands/ConfirmPublicVirtualInterfaceCommand.js.map +0 -1
  359. package/dist/cjs/commands/ConfirmTransitVirtualInterfaceCommand.js.map +0 -1
  360. package/dist/cjs/commands/CreateBGPPeerCommand.js.map +0 -1
  361. package/dist/cjs/commands/CreateConnectionCommand.js.map +0 -1
  362. package/dist/cjs/commands/CreateDirectConnectGatewayAssociationCommand.js.map +0 -1
  363. package/dist/cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  364. package/dist/cjs/commands/CreateDirectConnectGatewayCommand.js.map +0 -1
  365. package/dist/cjs/commands/CreateInterconnectCommand.js.map +0 -1
  366. package/dist/cjs/commands/CreateLagCommand.js.map +0 -1
  367. package/dist/cjs/commands/CreatePrivateVirtualInterfaceCommand.js.map +0 -1
  368. package/dist/cjs/commands/CreatePublicVirtualInterfaceCommand.js.map +0 -1
  369. package/dist/cjs/commands/CreateTransitVirtualInterfaceCommand.js.map +0 -1
  370. package/dist/cjs/commands/DeleteBGPPeerCommand.js.map +0 -1
  371. package/dist/cjs/commands/DeleteConnectionCommand.js.map +0 -1
  372. package/dist/cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js.map +0 -1
  373. package/dist/cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  374. package/dist/cjs/commands/DeleteDirectConnectGatewayCommand.js.map +0 -1
  375. package/dist/cjs/commands/DeleteInterconnectCommand.js.map +0 -1
  376. package/dist/cjs/commands/DeleteLagCommand.js.map +0 -1
  377. package/dist/cjs/commands/DeleteVirtualInterfaceCommand.js.map +0 -1
  378. package/dist/cjs/commands/DescribeConnectionLoaCommand.js.map +0 -1
  379. package/dist/cjs/commands/DescribeConnectionsCommand.js.map +0 -1
  380. package/dist/cjs/commands/DescribeConnectionsOnInterconnectCommand.js.map +0 -1
  381. package/dist/cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js.map +0 -1
  382. package/dist/cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js.map +0 -1
  383. package/dist/cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js.map +0 -1
  384. package/dist/cjs/commands/DescribeDirectConnectGatewaysCommand.js.map +0 -1
  385. package/dist/cjs/commands/DescribeHostedConnectionsCommand.js.map +0 -1
  386. package/dist/cjs/commands/DescribeInterconnectLoaCommand.js.map +0 -1
  387. package/dist/cjs/commands/DescribeInterconnectsCommand.js.map +0 -1
  388. package/dist/cjs/commands/DescribeLagsCommand.js.map +0 -1
  389. package/dist/cjs/commands/DescribeLoaCommand.js.map +0 -1
  390. package/dist/cjs/commands/DescribeLocationsCommand.js.map +0 -1
  391. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  392. package/dist/cjs/commands/DescribeVirtualGatewaysCommand.js.map +0 -1
  393. package/dist/cjs/commands/DescribeVirtualInterfacesCommand.js.map +0 -1
  394. package/dist/cjs/commands/DisassociateConnectionFromLagCommand.js.map +0 -1
  395. package/dist/cjs/commands/DisassociateMacSecKeyCommand.js.map +0 -1
  396. package/dist/cjs/commands/ListVirtualInterfaceTestHistoryCommand.js.map +0 -1
  397. package/dist/cjs/commands/StartBgpFailoverTestCommand.js.map +0 -1
  398. package/dist/cjs/commands/StopBgpFailoverTestCommand.js.map +0 -1
  399. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  400. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  401. package/dist/cjs/commands/UpdateConnectionCommand.js.map +0 -1
  402. package/dist/cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js.map +0 -1
  403. package/dist/cjs/commands/UpdateLagCommand.js.map +0 -1
  404. package/dist/cjs/commands/UpdateVirtualInterfaceAttributesCommand.js.map +0 -1
  405. package/dist/cjs/endpoints.js.map +0 -1
  406. package/dist/cjs/index.js.map +0 -1
  407. package/dist/cjs/models/index.js.map +0 -1
  408. package/dist/cjs/models/models_0.js.map +0 -1
  409. package/dist/cjs/package.json +0 -91
  410. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  411. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  412. package/dist/cjs/runtimeConfig.js.map +0 -1
  413. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  414. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  415. package/dist/es/DirectConnect.js.map +0 -1
  416. package/dist/es/DirectConnectClient.js.map +0 -1
  417. package/dist/es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  418. package/dist/es/commands/AllocateConnectionOnInterconnectCommand.js.map +0 -1
  419. package/dist/es/commands/AllocateHostedConnectionCommand.js.map +0 -1
  420. package/dist/es/commands/AllocatePrivateVirtualInterfaceCommand.js.map +0 -1
  421. package/dist/es/commands/AllocatePublicVirtualInterfaceCommand.js.map +0 -1
  422. package/dist/es/commands/AllocateTransitVirtualInterfaceCommand.js.map +0 -1
  423. package/dist/es/commands/AssociateConnectionWithLagCommand.js +0 -78
  424. package/dist/es/commands/AssociateConnectionWithLagCommand.js.map +0 -1
  425. package/dist/es/commands/AssociateHostedConnectionCommand.js.map +0 -1
  426. package/dist/es/commands/AssociateMacSecKeyCommand.js.map +0 -1
  427. package/dist/es/commands/AssociateVirtualInterfaceCommand.js +0 -74
  428. package/dist/es/commands/AssociateVirtualInterfaceCommand.js.map +0 -1
  429. package/dist/es/commands/ConfirmConnectionCommand.js.map +0 -1
  430. package/dist/es/commands/ConfirmPrivateVirtualInterfaceCommand.js.map +0 -1
  431. package/dist/es/commands/ConfirmPublicVirtualInterfaceCommand.js.map +0 -1
  432. package/dist/es/commands/ConfirmTransitVirtualInterfaceCommand.js.map +0 -1
  433. package/dist/es/commands/CreateBGPPeerCommand.js +0 -71
  434. package/dist/es/commands/CreateBGPPeerCommand.js.map +0 -1
  435. package/dist/es/commands/CreateConnectionCommand.js +0 -73
  436. package/dist/es/commands/CreateConnectionCommand.js.map +0 -1
  437. package/dist/es/commands/CreateDirectConnectGatewayAssociationCommand.js.map +0 -1
  438. package/dist/es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  439. package/dist/es/commands/CreateDirectConnectGatewayCommand.js.map +0 -1
  440. package/dist/es/commands/CreateInterconnectCommand.js +0 -80
  441. package/dist/es/commands/CreateInterconnectCommand.js.map +0 -1
  442. package/dist/es/commands/CreateLagCommand.js +0 -82
  443. package/dist/es/commands/CreateLagCommand.js.map +0 -1
  444. package/dist/es/commands/CreatePrivateVirtualInterfaceCommand.js +0 -75
  445. package/dist/es/commands/CreatePrivateVirtualInterfaceCommand.js.map +0 -1
  446. package/dist/es/commands/CreatePublicVirtualInterfaceCommand.js.map +0 -1
  447. package/dist/es/commands/CreateTransitVirtualInterfaceCommand.js +0 -74
  448. package/dist/es/commands/CreateTransitVirtualInterfaceCommand.js.map +0 -1
  449. package/dist/es/commands/DeleteBGPPeerCommand.js.map +0 -1
  450. package/dist/es/commands/DeleteConnectionCommand.js.map +0 -1
  451. package/dist/es/commands/DeleteDirectConnectGatewayAssociationCommand.js.map +0 -1
  452. package/dist/es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
  453. package/dist/es/commands/DeleteDirectConnectGatewayCommand.js.map +0 -1
  454. package/dist/es/commands/DeleteInterconnectCommand.js.map +0 -1
  455. package/dist/es/commands/DeleteLagCommand.js.map +0 -1
  456. package/dist/es/commands/DeleteVirtualInterfaceCommand.js.map +0 -1
  457. package/dist/es/commands/DescribeConnectionLoaCommand.js.map +0 -1
  458. package/dist/es/commands/DescribeConnectionsCommand.js.map +0 -1
  459. package/dist/es/commands/DescribeConnectionsOnInterconnectCommand.js.map +0 -1
  460. package/dist/es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js.map +0 -1
  461. package/dist/es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +0 -87
  462. package/dist/es/commands/DescribeDirectConnectGatewayAssociationsCommand.js.map +0 -1
  463. package/dist/es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js.map +0 -1
  464. package/dist/es/commands/DescribeDirectConnectGatewaysCommand.js.map +0 -1
  465. package/dist/es/commands/DescribeHostedConnectionsCommand.js.map +0 -1
  466. package/dist/es/commands/DescribeInterconnectLoaCommand.js.map +0 -1
  467. package/dist/es/commands/DescribeInterconnectsCommand.js.map +0 -1
  468. package/dist/es/commands/DescribeLagsCommand.js.map +0 -1
  469. package/dist/es/commands/DescribeLoaCommand.js.map +0 -1
  470. package/dist/es/commands/DescribeLocationsCommand.js.map +0 -1
  471. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  472. package/dist/es/commands/DescribeVirtualGatewaysCommand.js.map +0 -1
  473. package/dist/es/commands/DescribeVirtualInterfacesCommand.js.map +0 -1
  474. package/dist/es/commands/DisassociateConnectionFromLagCommand.js +0 -74
  475. package/dist/es/commands/DisassociateConnectionFromLagCommand.js.map +0 -1
  476. package/dist/es/commands/DisassociateMacSecKeyCommand.js.map +0 -1
  477. package/dist/es/commands/ListVirtualInterfaceTestHistoryCommand.js.map +0 -1
  478. package/dist/es/commands/StartBgpFailoverTestCommand.js.map +0 -1
  479. package/dist/es/commands/StopBgpFailoverTestCommand.js.map +0 -1
  480. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  481. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  482. package/dist/es/commands/UpdateConnectionCommand.js.map +0 -1
  483. package/dist/es/commands/UpdateDirectConnectGatewayAssociationCommand.js.map +0 -1
  484. package/dist/es/commands/UpdateLagCommand.js +0 -87
  485. package/dist/es/commands/UpdateLagCommand.js.map +0 -1
  486. package/dist/es/commands/UpdateVirtualInterfaceAttributesCommand.js.map +0 -1
  487. package/dist/es/endpoints.js.map +0 -1
  488. package/dist/es/index.js +0 -63
  489. package/dist/es/index.js.map +0 -1
  490. package/dist/es/models/index.js +0 -2
  491. package/dist/es/models/index.js.map +0 -1
  492. package/dist/es/models/models_0.js.map +0 -1
  493. package/dist/es/package.json +0 -91
  494. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  495. package/dist/es/runtimeConfig.browser.js.map +0 -1
  496. package/dist/es/runtimeConfig.js.map +0 -1
  497. package/dist/es/runtimeConfig.native.js.map +0 -1
  498. package/dist/es/runtimeConfig.shared.js.map +0 -1
  499. package/endpoints.ts +0 -86
  500. package/jest.config.js +0 -4
  501. package/models/models_0.ts +0 -4211
  502. package/protocols/Aws_json1_1.ts +0 -6998
  503. package/runtimeConfig.browser.ts +0 -40
  504. package/runtimeConfig.native.ts +0 -16
  505. package/runtimeConfig.shared.ts +0 -16
  506. package/runtimeConfig.ts +0 -45
  507. package/tsconfig.es.json +0 -12
  508. package/tsconfig.json +0 -32
@@ -1,102 +0,0 @@
1
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
2
- import { ListVirtualInterfaceTestHistoryRequest, ListVirtualInterfaceTestHistoryResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommand,
5
- serializeAws_json1_1ListVirtualInterfaceTestHistoryCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListVirtualInterfaceTestHistoryCommandInput extends ListVirtualInterfaceTestHistoryRequest {}
21
- export interface ListVirtualInterfaceTestHistoryCommandOutput
22
- extends ListVirtualInterfaceTestHistoryResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Lists the virtual interface failover test history.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DirectConnectClient, ListVirtualInterfaceTestHistoryCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
31
- * // const { DirectConnectClient, ListVirtualInterfaceTestHistoryCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
32
- * const client = new DirectConnectClient(config);
33
- * const command = new ListVirtualInterfaceTestHistoryCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListVirtualInterfaceTestHistoryCommandInput} for command's `input` shape.
38
- * @see {@link ListVirtualInterfaceTestHistoryCommandOutput} for command's `response` shape.
39
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListVirtualInterfaceTestHistoryCommand extends $Command<
43
- ListVirtualInterfaceTestHistoryCommandInput,
44
- ListVirtualInterfaceTestHistoryCommandOutput,
45
- DirectConnectClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListVirtualInterfaceTestHistoryCommandInput) {
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<ListVirtualInterfaceTestHistoryCommandInput, ListVirtualInterfaceTestHistoryCommandOutput> {
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 = "ListVirtualInterfaceTestHistoryCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListVirtualInterfaceTestHistoryRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListVirtualInterfaceTestHistoryResponse.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(
87
- input: ListVirtualInterfaceTestHistoryCommandInput,
88
- context: __SerdeContext
89
- ): Promise<__HttpRequest> {
90
- return serializeAws_json1_1ListVirtualInterfaceTestHistoryCommand(input, context);
91
- }
92
-
93
- private deserialize(
94
- output: __HttpResponse,
95
- context: __SerdeContext
96
- ): Promise<ListVirtualInterfaceTestHistoryCommandOutput> {
97
- return deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,97 +0,0 @@
1
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
2
- import { StartBgpFailoverTestRequest, StartBgpFailoverTestResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1StartBgpFailoverTestCommand,
5
- serializeAws_json1_1StartBgpFailoverTestCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface StartBgpFailoverTestCommandInput extends StartBgpFailoverTestRequest {}
21
- export interface StartBgpFailoverTestCommandOutput extends StartBgpFailoverTestResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Starts the virtual interface failover test that verifies your configuration meets your resiliency requirements by placing the BGP peering session in the DOWN state. You can then send traffic to verify that there are no outages.</p>
25
- * <p>You can run the test on public, private, transit, and hosted virtual interfaces.</p>
26
- * <p>You can use <a href="https://docs.aws.amazon.com/directconnect/latest/APIReference/API_ListVirtualInterfaceTestHistory.html">ListVirtualInterfaceTestHistory</a> to view the virtual interface test history.</p>
27
- * <p>If you need to stop the test before the test interval completes, use <a href="https://docs.aws.amazon.com/directconnect/latest/APIReference/API_StopBgpFailoverTest.html">StopBgpFailoverTest</a>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { DirectConnectClient, StartBgpFailoverTestCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
32
- * // const { DirectConnectClient, StartBgpFailoverTestCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
33
- * const client = new DirectConnectClient(config);
34
- * const command = new StartBgpFailoverTestCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link StartBgpFailoverTestCommandInput} for command's `input` shape.
39
- * @see {@link StartBgpFailoverTestCommandOutput} for command's `response` shape.
40
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class StartBgpFailoverTestCommand extends $Command<
44
- StartBgpFailoverTestCommandInput,
45
- StartBgpFailoverTestCommandOutput,
46
- DirectConnectClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: StartBgpFailoverTestCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: DirectConnectClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<StartBgpFailoverTestCommandInput, StartBgpFailoverTestCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "DirectConnectClient";
71
- const commandName = "StartBgpFailoverTestCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: StartBgpFailoverTestRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: StartBgpFailoverTestResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: StartBgpFailoverTestCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1StartBgpFailoverTestCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartBgpFailoverTestCommandOutput> {
92
- return deserializeAws_json1_1StartBgpFailoverTestCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,94 +0,0 @@
1
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
2
- import { StopBgpFailoverTestRequest, StopBgpFailoverTestResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1StopBgpFailoverTestCommand,
5
- serializeAws_json1_1StopBgpFailoverTestCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface StopBgpFailoverTestCommandInput extends StopBgpFailoverTestRequest {}
21
- export interface StopBgpFailoverTestCommandOutput extends StopBgpFailoverTestResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Stops the virtual interface failover test.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DirectConnectClient, StopBgpFailoverTestCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
29
- * // const { DirectConnectClient, StopBgpFailoverTestCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
30
- * const client = new DirectConnectClient(config);
31
- * const command = new StopBgpFailoverTestCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link StopBgpFailoverTestCommandInput} for command's `input` shape.
36
- * @see {@link StopBgpFailoverTestCommandOutput} for command's `response` shape.
37
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class StopBgpFailoverTestCommand extends $Command<
41
- StopBgpFailoverTestCommandInput,
42
- StopBgpFailoverTestCommandOutput,
43
- DirectConnectClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: StopBgpFailoverTestCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: DirectConnectClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<StopBgpFailoverTestCommandInput, StopBgpFailoverTestCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "DirectConnectClient";
68
- const commandName = "StopBgpFailoverTestCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: StopBgpFailoverTestRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: StopBgpFailoverTestResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: StopBgpFailoverTestCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1StopBgpFailoverTestCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopBgpFailoverTestCommandOutput> {
89
- return deserializeAws_json1_1StopBgpFailoverTestCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
2
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1TagResourceCommand,
5
- serializeAws_json1_1TagResourceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface TagResourceCommandInput extends TagResourceRequest {}
21
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds the specified tags to the specified Direct Connect resource. Each resource can have a maximum of 50 tags.</p>
25
- * <p>Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DirectConnectClient, TagResourceCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
30
- * // const { DirectConnectClient, TagResourceCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
31
- * const client = new DirectConnectClient(config);
32
- * const command = new TagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link TagResourceCommandInput} for command's `input` shape.
37
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class TagResourceCommand extends $Command<
42
- TagResourceCommandInput,
43
- TagResourceCommandOutput,
44
- DirectConnectClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: TagResourceCommandInput) {
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<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "TagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1TagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
90
- return deserializeAws_json1_1TagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,94 +0,0 @@
1
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
2
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1UntagResourceCommand,
5
- serializeAws_json1_1UntagResourceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
21
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Removes one or more tags from the specified Direct Connect resource.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DirectConnectClient, UntagResourceCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
29
- * // const { DirectConnectClient, UntagResourceCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
30
- * const client = new DirectConnectClient(config);
31
- * const command = new UntagResourceCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
36
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
37
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class UntagResourceCommand extends $Command<
41
- UntagResourceCommandInput,
42
- UntagResourceCommandOutput,
43
- DirectConnectClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: UntagResourceCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: DirectConnectClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "DirectConnectClient";
68
- const commandName = "UntagResourceCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1UntagResourceCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
89
- return deserializeAws_json1_1UntagResourceCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,103 +0,0 @@
1
- import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
2
- import { Connection, UpdateConnectionRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1UpdateConnectionCommand,
5
- serializeAws_json1_1UpdateConnectionCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface UpdateConnectionCommandInput extends UpdateConnectionRequest {}
21
- export interface UpdateConnectionCommandOutput extends Connection, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Updates the Direct Connect dedicated connection configuration.</p>
25
- * <p>You can update the following parameters for a connection:</p>
26
- * <ul>
27
- * <li>
28
- * <p>The connection name</p>
29
- * </li>
30
- * <li>
31
- * <p>The connection's MAC Security (MACsec) encryption mode.</p>
32
- * </li>
33
- * </ul>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { DirectConnectClient, UpdateConnectionCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
38
- * // const { DirectConnectClient, UpdateConnectionCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
39
- * const client = new DirectConnectClient(config);
40
- * const command = new UpdateConnectionCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link UpdateConnectionCommandInput} for command's `input` shape.
45
- * @see {@link UpdateConnectionCommandOutput} for command's `response` shape.
46
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class UpdateConnectionCommand extends $Command<
50
- UpdateConnectionCommandInput,
51
- UpdateConnectionCommandOutput,
52
- DirectConnectClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: UpdateConnectionCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: DirectConnectClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<UpdateConnectionCommandInput, UpdateConnectionCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "DirectConnectClient";
77
- const commandName = "UpdateConnectionCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: UpdateConnectionRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: Connection.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: UpdateConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1UpdateConnectionCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateConnectionCommandOutput> {
98
- return deserializeAws_json1_1UpdateConnectionCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }