@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,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 { DisassociateMacSecKeyRequest, DisassociateMacSecKeyResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DisassociateMacSecKeyCommand,
18
- serializeAws_json1_1DisassociateMacSecKeyCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DisassociateMacSecKeyCommandInput extends DisassociateMacSecKeyRequest {}
22
- export interface DisassociateMacSecKeyCommandOutput extends DisassociateMacSecKeyResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DirectConnectClient, DisassociateMacSecKeyCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
30
- * // const { DirectConnectClient, DisassociateMacSecKeyCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
31
- * const client = new DirectConnectClient(config);
32
- * const command = new DisassociateMacSecKeyCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DisassociateMacSecKeyCommandInput} for command's `input` shape.
37
- * @see {@link DisassociateMacSecKeyCommandOutput} for command's `response` shape.
38
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DisassociateMacSecKeyCommand extends $Command<
42
- DisassociateMacSecKeyCommandInput,
43
- DisassociateMacSecKeyCommandOutput,
44
- DirectConnectClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DisassociateMacSecKeyCommandInput) {
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<DisassociateMacSecKeyCommandInput, DisassociateMacSecKeyCommandOutput> {
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 = "DisassociateMacSecKeyCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DisassociateMacSecKeyRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DisassociateMacSecKeyResponse.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: DisassociateMacSecKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DisassociateMacSecKeyCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisassociateMacSecKeyCommandOutput> {
90
- return deserializeAws_json1_1DisassociateMacSecKeyCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,103 +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 { ListVirtualInterfaceTestHistoryRequest, ListVirtualInterfaceTestHistoryResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommand,
18
- serializeAws_json1_1ListVirtualInterfaceTestHistoryCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListVirtualInterfaceTestHistoryCommandInput extends ListVirtualInterfaceTestHistoryRequest {}
22
- export interface ListVirtualInterfaceTestHistoryCommandOutput
23
- extends ListVirtualInterfaceTestHistoryResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Lists the virtual interface failover test history.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { DirectConnectClient, ListVirtualInterfaceTestHistoryCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
32
- * // const { DirectConnectClient, ListVirtualInterfaceTestHistoryCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
33
- * const client = new DirectConnectClient(config);
34
- * const command = new ListVirtualInterfaceTestHistoryCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link ListVirtualInterfaceTestHistoryCommandInput} for command's `input` shape.
39
- * @see {@link ListVirtualInterfaceTestHistoryCommandOutput} for command's `response` shape.
40
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class ListVirtualInterfaceTestHistoryCommand extends $Command<
44
- ListVirtualInterfaceTestHistoryCommandInput,
45
- ListVirtualInterfaceTestHistoryCommandOutput,
46
- DirectConnectClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: ListVirtualInterfaceTestHistoryCommandInput) {
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<ListVirtualInterfaceTestHistoryCommandInput, ListVirtualInterfaceTestHistoryCommandOutput> {
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 = "ListVirtualInterfaceTestHistoryCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: ListVirtualInterfaceTestHistoryRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: ListVirtualInterfaceTestHistoryResponse.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(
88
- input: ListVirtualInterfaceTestHistoryCommandInput,
89
- context: __SerdeContext
90
- ): Promise<__HttpRequest> {
91
- return serializeAws_json1_1ListVirtualInterfaceTestHistoryCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<ListVirtualInterfaceTestHistoryCommandOutput> {
98
- return deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -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 { StartBgpFailoverTestRequest, StartBgpFailoverTestResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1StartBgpFailoverTestCommand,
18
- serializeAws_json1_1StartBgpFailoverTestCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface StartBgpFailoverTestCommandInput extends StartBgpFailoverTestRequest {}
22
- export interface StartBgpFailoverTestCommandOutput extends StartBgpFailoverTestResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <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>
26
- * <p>You can run the test on public, private, transit, and hosted virtual interfaces.</p>
27
- * <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>
28
- * <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>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { DirectConnectClient, StartBgpFailoverTestCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
33
- * // const { DirectConnectClient, StartBgpFailoverTestCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
34
- * const client = new DirectConnectClient(config);
35
- * const command = new StartBgpFailoverTestCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link StartBgpFailoverTestCommandInput} for command's `input` shape.
40
- * @see {@link StartBgpFailoverTestCommandOutput} for command's `response` shape.
41
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class StartBgpFailoverTestCommand extends $Command<
45
- StartBgpFailoverTestCommandInput,
46
- StartBgpFailoverTestCommandOutput,
47
- DirectConnectClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: StartBgpFailoverTestCommandInput) {
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<StartBgpFailoverTestCommandInput, StartBgpFailoverTestCommandOutput> {
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 = "StartBgpFailoverTestCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: StartBgpFailoverTestRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: StartBgpFailoverTestResponse.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: StartBgpFailoverTestCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1StartBgpFailoverTestCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartBgpFailoverTestCommandOutput> {
93
- return deserializeAws_json1_1StartBgpFailoverTestCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -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 { StopBgpFailoverTestRequest, StopBgpFailoverTestResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1StopBgpFailoverTestCommand,
18
- serializeAws_json1_1StopBgpFailoverTestCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface StopBgpFailoverTestCommandInput extends StopBgpFailoverTestRequest {}
22
- export interface StopBgpFailoverTestCommandOutput extends StopBgpFailoverTestResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Stops the virtual interface failover test.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DirectConnectClient, StopBgpFailoverTestCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
30
- * // const { DirectConnectClient, StopBgpFailoverTestCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
31
- * const client = new DirectConnectClient(config);
32
- * const command = new StopBgpFailoverTestCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link StopBgpFailoverTestCommandInput} for command's `input` shape.
37
- * @see {@link StopBgpFailoverTestCommandOutput} for command's `response` shape.
38
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class StopBgpFailoverTestCommand extends $Command<
42
- StopBgpFailoverTestCommandInput,
43
- StopBgpFailoverTestCommandOutput,
44
- DirectConnectClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: StopBgpFailoverTestCommandInput) {
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<StopBgpFailoverTestCommandInput, StopBgpFailoverTestCommandOutput> {
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 = "StopBgpFailoverTestCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: StopBgpFailoverTestRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: StopBgpFailoverTestResponse.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: StopBgpFailoverTestCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1StopBgpFailoverTestCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopBgpFailoverTestCommandOutput> {
90
- return deserializeAws_json1_1StopBgpFailoverTestCommand(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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1TagResourceCommand,
18
- serializeAws_json1_1TagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Adds the specified tags to the specified Direct Connect resource. Each resource can have a maximum of 50 tags.</p>
26
- * <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>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { DirectConnectClient, TagResourceCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
31
- * // const { DirectConnectClient, TagResourceCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
32
- * const client = new DirectConnectClient(config);
33
- * const command = new TagResourceCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link TagResourceCommandInput} for command's `input` shape.
38
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
39
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class TagResourceCommand extends $Command<
43
- TagResourceCommandInput,
44
- TagResourceCommandOutput,
45
- DirectConnectClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: TagResourceCommandInput) {
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<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "TagResourceCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1TagResourceCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
91
- return deserializeAws_json1_1TagResourceCommand(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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UntagResourceCommand,
18
- serializeAws_json1_1UntagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes one or more tags from the specified Direct Connect resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DirectConnectClient, UntagResourceCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
30
- * // const { DirectConnectClient, UntagResourceCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
31
- * const client = new DirectConnectClient(config);
32
- * const command = new UntagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
37
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UntagResourceCommand extends $Command<
42
- UntagResourceCommandInput,
43
- UntagResourceCommandOutput,
44
- DirectConnectClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UntagResourceCommandInput) {
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
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 = "UntagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UntagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
90
- return deserializeAws_json1_1UntagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }