@aws-sdk/client-vpc-lattice 3.303.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 (315) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +628 -0
  3. package/dist-cjs/VPCLattice.js +787 -0
  4. package/dist-cjs/VPCLatticeClient.js +40 -0
  5. package/dist-cjs/commands/BatchUpdateRuleCommand.js +45 -0
  6. package/dist-cjs/commands/CreateAccessLogSubscriptionCommand.js +45 -0
  7. package/dist-cjs/commands/CreateListenerCommand.js +45 -0
  8. package/dist-cjs/commands/CreateRuleCommand.js +45 -0
  9. package/dist-cjs/commands/CreateServiceCommand.js +45 -0
  10. package/dist-cjs/commands/CreateServiceNetworkCommand.js +45 -0
  11. package/dist-cjs/commands/CreateServiceNetworkServiceAssociationCommand.js +45 -0
  12. package/dist-cjs/commands/CreateServiceNetworkVpcAssociationCommand.js +45 -0
  13. package/dist-cjs/commands/CreateTargetGroupCommand.js +45 -0
  14. package/dist-cjs/commands/DeleteAccessLogSubscriptionCommand.js +45 -0
  15. package/dist-cjs/commands/DeleteAuthPolicyCommand.js +45 -0
  16. package/dist-cjs/commands/DeleteListenerCommand.js +45 -0
  17. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +45 -0
  18. package/dist-cjs/commands/DeleteRuleCommand.js +45 -0
  19. package/dist-cjs/commands/DeleteServiceCommand.js +45 -0
  20. package/dist-cjs/commands/DeleteServiceNetworkCommand.js +45 -0
  21. package/dist-cjs/commands/DeleteServiceNetworkServiceAssociationCommand.js +45 -0
  22. package/dist-cjs/commands/DeleteServiceNetworkVpcAssociationCommand.js +45 -0
  23. package/dist-cjs/commands/DeleteTargetGroupCommand.js +45 -0
  24. package/dist-cjs/commands/DeregisterTargetsCommand.js +45 -0
  25. package/dist-cjs/commands/GetAccessLogSubscriptionCommand.js +45 -0
  26. package/dist-cjs/commands/GetAuthPolicyCommand.js +45 -0
  27. package/dist-cjs/commands/GetListenerCommand.js +45 -0
  28. package/dist-cjs/commands/GetResourcePolicyCommand.js +45 -0
  29. package/dist-cjs/commands/GetRuleCommand.js +45 -0
  30. package/dist-cjs/commands/GetServiceCommand.js +45 -0
  31. package/dist-cjs/commands/GetServiceNetworkCommand.js +45 -0
  32. package/dist-cjs/commands/GetServiceNetworkServiceAssociationCommand.js +45 -0
  33. package/dist-cjs/commands/GetServiceNetworkVpcAssociationCommand.js +45 -0
  34. package/dist-cjs/commands/GetTargetGroupCommand.js +45 -0
  35. package/dist-cjs/commands/ListAccessLogSubscriptionsCommand.js +45 -0
  36. package/dist-cjs/commands/ListListenersCommand.js +45 -0
  37. package/dist-cjs/commands/ListRulesCommand.js +45 -0
  38. package/dist-cjs/commands/ListServiceNetworkServiceAssociationsCommand.js +45 -0
  39. package/dist-cjs/commands/ListServiceNetworkVpcAssociationsCommand.js +45 -0
  40. package/dist-cjs/commands/ListServiceNetworksCommand.js +45 -0
  41. package/dist-cjs/commands/ListServicesCommand.js +45 -0
  42. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  43. package/dist-cjs/commands/ListTargetGroupsCommand.js +45 -0
  44. package/dist-cjs/commands/ListTargetsCommand.js +45 -0
  45. package/dist-cjs/commands/PutAuthPolicyCommand.js +45 -0
  46. package/dist-cjs/commands/PutResourcePolicyCommand.js +45 -0
  47. package/dist-cjs/commands/RegisterTargetsCommand.js +45 -0
  48. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  49. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  50. package/dist-cjs/commands/UpdateAccessLogSubscriptionCommand.js +45 -0
  51. package/dist-cjs/commands/UpdateListenerCommand.js +45 -0
  52. package/dist-cjs/commands/UpdateRuleCommand.js +45 -0
  53. package/dist-cjs/commands/UpdateServiceCommand.js +45 -0
  54. package/dist-cjs/commands/UpdateServiceNetworkCommand.js +45 -0
  55. package/dist-cjs/commands/UpdateServiceNetworkVpcAssociationCommand.js +45 -0
  56. package/dist-cjs/commands/UpdateTargetGroupCommand.js +45 -0
  57. package/dist-cjs/commands/index.js +55 -0
  58. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  59. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  60. package/dist-cjs/endpoint/ruleset.js +7 -0
  61. package/dist-cjs/index.js +11 -0
  62. package/dist-cjs/models/VPCLatticeServiceException.js +11 -0
  63. package/dist-cjs/models/index.js +4 -0
  64. package/dist-cjs/models/models_0.js +240 -0
  65. package/dist-cjs/pagination/Interfaces.js +2 -0
  66. package/dist-cjs/pagination/ListAccessLogSubscriptionsPaginator.js +29 -0
  67. package/dist-cjs/pagination/ListListenersPaginator.js +29 -0
  68. package/dist-cjs/pagination/ListRulesPaginator.js +29 -0
  69. package/dist-cjs/pagination/ListServiceNetworkServiceAssociationsPaginator.js +29 -0
  70. package/dist-cjs/pagination/ListServiceNetworkVpcAssociationsPaginator.js +29 -0
  71. package/dist-cjs/pagination/ListServiceNetworksPaginator.js +29 -0
  72. package/dist-cjs/pagination/ListServicesPaginator.js +29 -0
  73. package/dist-cjs/pagination/ListTargetGroupsPaginator.js +29 -0
  74. package/dist-cjs/pagination/ListTargetsPaginator.js +29 -0
  75. package/dist-cjs/pagination/index.js +13 -0
  76. package/dist-cjs/protocols/Aws_restJson1.js +4911 -0
  77. package/dist-cjs/runtimeConfig.browser.js +39 -0
  78. package/dist-cjs/runtimeConfig.js +48 -0
  79. package/dist-cjs/runtimeConfig.native.js +15 -0
  80. package/dist-cjs/runtimeConfig.shared.js +21 -0
  81. package/dist-es/VPCLattice.js +783 -0
  82. package/dist-es/VPCLatticeClient.js +36 -0
  83. package/dist-es/commands/BatchUpdateRuleCommand.js +41 -0
  84. package/dist-es/commands/CreateAccessLogSubscriptionCommand.js +41 -0
  85. package/dist-es/commands/CreateListenerCommand.js +41 -0
  86. package/dist-es/commands/CreateRuleCommand.js +41 -0
  87. package/dist-es/commands/CreateServiceCommand.js +41 -0
  88. package/dist-es/commands/CreateServiceNetworkCommand.js +41 -0
  89. package/dist-es/commands/CreateServiceNetworkServiceAssociationCommand.js +41 -0
  90. package/dist-es/commands/CreateServiceNetworkVpcAssociationCommand.js +41 -0
  91. package/dist-es/commands/CreateTargetGroupCommand.js +41 -0
  92. package/dist-es/commands/DeleteAccessLogSubscriptionCommand.js +41 -0
  93. package/dist-es/commands/DeleteAuthPolicyCommand.js +41 -0
  94. package/dist-es/commands/DeleteListenerCommand.js +41 -0
  95. package/dist-es/commands/DeleteResourcePolicyCommand.js +41 -0
  96. package/dist-es/commands/DeleteRuleCommand.js +41 -0
  97. package/dist-es/commands/DeleteServiceCommand.js +41 -0
  98. package/dist-es/commands/DeleteServiceNetworkCommand.js +41 -0
  99. package/dist-es/commands/DeleteServiceNetworkServiceAssociationCommand.js +41 -0
  100. package/dist-es/commands/DeleteServiceNetworkVpcAssociationCommand.js +41 -0
  101. package/dist-es/commands/DeleteTargetGroupCommand.js +41 -0
  102. package/dist-es/commands/DeregisterTargetsCommand.js +41 -0
  103. package/dist-es/commands/GetAccessLogSubscriptionCommand.js +41 -0
  104. package/dist-es/commands/GetAuthPolicyCommand.js +41 -0
  105. package/dist-es/commands/GetListenerCommand.js +41 -0
  106. package/dist-es/commands/GetResourcePolicyCommand.js +41 -0
  107. package/dist-es/commands/GetRuleCommand.js +41 -0
  108. package/dist-es/commands/GetServiceCommand.js +41 -0
  109. package/dist-es/commands/GetServiceNetworkCommand.js +41 -0
  110. package/dist-es/commands/GetServiceNetworkServiceAssociationCommand.js +41 -0
  111. package/dist-es/commands/GetServiceNetworkVpcAssociationCommand.js +41 -0
  112. package/dist-es/commands/GetTargetGroupCommand.js +41 -0
  113. package/dist-es/commands/ListAccessLogSubscriptionsCommand.js +41 -0
  114. package/dist-es/commands/ListListenersCommand.js +41 -0
  115. package/dist-es/commands/ListRulesCommand.js +41 -0
  116. package/dist-es/commands/ListServiceNetworkServiceAssociationsCommand.js +41 -0
  117. package/dist-es/commands/ListServiceNetworkVpcAssociationsCommand.js +41 -0
  118. package/dist-es/commands/ListServiceNetworksCommand.js +41 -0
  119. package/dist-es/commands/ListServicesCommand.js +41 -0
  120. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  121. package/dist-es/commands/ListTargetGroupsCommand.js +41 -0
  122. package/dist-es/commands/ListTargetsCommand.js +41 -0
  123. package/dist-es/commands/PutAuthPolicyCommand.js +41 -0
  124. package/dist-es/commands/PutResourcePolicyCommand.js +41 -0
  125. package/dist-es/commands/RegisterTargetsCommand.js +41 -0
  126. package/dist-es/commands/TagResourceCommand.js +41 -0
  127. package/dist-es/commands/UntagResourceCommand.js +41 -0
  128. package/dist-es/commands/UpdateAccessLogSubscriptionCommand.js +41 -0
  129. package/dist-es/commands/UpdateListenerCommand.js +41 -0
  130. package/dist-es/commands/UpdateRuleCommand.js +41 -0
  131. package/dist-es/commands/UpdateServiceCommand.js +41 -0
  132. package/dist-es/commands/UpdateServiceNetworkCommand.js +41 -0
  133. package/dist-es/commands/UpdateServiceNetworkVpcAssociationCommand.js +41 -0
  134. package/dist-es/commands/UpdateTargetGroupCommand.js +41 -0
  135. package/dist-es/commands/index.js +52 -0
  136. package/dist-es/endpoint/EndpointParameters.js +8 -0
  137. package/dist-es/endpoint/endpointResolver.js +8 -0
  138. package/dist-es/endpoint/ruleset.js +4 -0
  139. package/dist-es/index.js +6 -0
  140. package/dist-es/models/VPCLatticeServiceException.js +7 -0
  141. package/dist-es/models/index.js +1 -0
  142. package/dist-es/models/models_0.js +230 -0
  143. package/dist-es/pagination/Interfaces.js +1 -0
  144. package/dist-es/pagination/ListAccessLogSubscriptionsPaginator.js +25 -0
  145. package/dist-es/pagination/ListListenersPaginator.js +25 -0
  146. package/dist-es/pagination/ListRulesPaginator.js +25 -0
  147. package/dist-es/pagination/ListServiceNetworkServiceAssociationsPaginator.js +25 -0
  148. package/dist-es/pagination/ListServiceNetworkVpcAssociationsPaginator.js +25 -0
  149. package/dist-es/pagination/ListServiceNetworksPaginator.js +25 -0
  150. package/dist-es/pagination/ListServicesPaginator.js +25 -0
  151. package/dist-es/pagination/ListTargetGroupsPaginator.js +25 -0
  152. package/dist-es/pagination/ListTargetsPaginator.js +25 -0
  153. package/dist-es/pagination/index.js +10 -0
  154. package/dist-es/protocols/Aws_restJson1.js +4802 -0
  155. package/dist-es/runtimeConfig.browser.js +34 -0
  156. package/dist-es/runtimeConfig.js +43 -0
  157. package/dist-es/runtimeConfig.native.js +11 -0
  158. package/dist-es/runtimeConfig.shared.js +17 -0
  159. package/dist-types/VPCLattice.d.ts +506 -0
  160. package/dist-types/VPCLatticeClient.d.ts +217 -0
  161. package/dist-types/commands/BatchUpdateRuleCommand.d.ts +127 -0
  162. package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +93 -0
  163. package/dist-types/commands/CreateListenerCommand.d.ts +109 -0
  164. package/dist-types/commands/CreateRuleCommand.d.ts +132 -0
  165. package/dist-types/commands/CreateServiceCommand.d.ts +96 -0
  166. package/dist-types/commands/CreateServiceNetworkCommand.d.ts +94 -0
  167. package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +95 -0
  168. package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +103 -0
  169. package/dist-types/commands/CreateTargetGroupCommand.d.ts +115 -0
  170. package/dist-types/commands/DeleteAccessLogSubscriptionCommand.d.ts +79 -0
  171. package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +82 -0
  172. package/dist-types/commands/DeleteListenerCommand.d.ts +84 -0
  173. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +79 -0
  174. package/dist-types/commands/DeleteRuleCommand.d.ts +90 -0
  175. package/dist-types/commands/DeleteServiceCommand.d.ts +87 -0
  176. package/dist-types/commands/DeleteServiceNetworkCommand.d.ts +87 -0
  177. package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +84 -0
  178. package/dist-types/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +84 -0
  179. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +81 -0
  180. package/dist-types/commands/DeregisterTargetsCommand.d.ts +89 -0
  181. package/dist-types/commands/GetAccessLogSubscriptionCommand.d.ts +79 -0
  182. package/dist-types/commands/GetAuthPolicyCommand.d.ts +80 -0
  183. package/dist-types/commands/GetListenerCommand.d.ts +80 -0
  184. package/dist-types/commands/GetResourcePolicyCommand.d.ts +80 -0
  185. package/dist-types/commands/GetRuleCommand.d.ts +83 -0
  186. package/dist-types/commands/GetServiceCommand.d.ts +79 -0
  187. package/dist-types/commands/GetServiceNetworkCommand.d.ts +79 -0
  188. package/dist-types/commands/GetServiceNetworkServiceAssociationCommand.d.ts +80 -0
  189. package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +79 -0
  190. package/dist-types/commands/GetTargetGroupCommand.d.ts +76 -0
  191. package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +75 -0
  192. package/dist-types/commands/ListListenersCommand.d.ts +81 -0
  193. package/dist-types/commands/ListRulesCommand.d.ts +82 -0
  194. package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +86 -0
  195. package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +81 -0
  196. package/dist-types/commands/ListServiceNetworksCommand.d.ts +78 -0
  197. package/dist-types/commands/ListServicesCommand.d.ts +77 -0
  198. package/dist-types/commands/ListTagsForResourceCommand.d.ts +73 -0
  199. package/dist-types/commands/ListTargetGroupsCommand.d.ts +80 -0
  200. package/dist-types/commands/ListTargetsCommand.d.ts +88 -0
  201. package/dist-types/commands/PutAuthPolicyCommand.d.ts +80 -0
  202. package/dist-types/commands/PutResourcePolicyCommand.d.ts +82 -0
  203. package/dist-types/commands/RegisterTargetsCommand.d.ts +93 -0
  204. package/dist-types/commands/TagResourceCommand.d.ts +82 -0
  205. package/dist-types/commands/UntagResourceCommand.d.ts +76 -0
  206. package/dist-types/commands/UpdateAccessLogSubscriptionCommand.d.ts +84 -0
  207. package/dist-types/commands/UpdateListenerCommand.d.ts +97 -0
  208. package/dist-types/commands/UpdateRuleCommand.d.ts +123 -0
  209. package/dist-types/commands/UpdateServiceCommand.d.ts +85 -0
  210. package/dist-types/commands/UpdateServiceNetworkCommand.d.ts +84 -0
  211. package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +87 -0
  212. package/dist-types/commands/UpdateTargetGroupCommand.d.ts +94 -0
  213. package/dist-types/commands/index.d.ts +52 -0
  214. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  215. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  216. package/dist-types/endpoint/ruleset.d.ts +2 -0
  217. package/dist-types/index.d.ts +6 -0
  218. package/dist-types/models/VPCLatticeServiceException.d.ts +12 -0
  219. package/dist-types/models/index.d.ts +1 -0
  220. package/dist-types/models/models_0.d.ts +3439 -0
  221. package/dist-types/pagination/Interfaces.d.ts +8 -0
  222. package/dist-types/pagination/ListAccessLogSubscriptionsPaginator.d.ts +7 -0
  223. package/dist-types/pagination/ListListenersPaginator.d.ts +7 -0
  224. package/dist-types/pagination/ListRulesPaginator.d.ts +7 -0
  225. package/dist-types/pagination/ListServiceNetworkServiceAssociationsPaginator.d.ts +7 -0
  226. package/dist-types/pagination/ListServiceNetworkVpcAssociationsPaginator.d.ts +7 -0
  227. package/dist-types/pagination/ListServiceNetworksPaginator.d.ts +7 -0
  228. package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
  229. package/dist-types/pagination/ListTargetGroupsPaginator.d.ts +7 -0
  230. package/dist-types/pagination/ListTargetsPaginator.d.ts +7 -0
  231. package/dist-types/pagination/index.d.ts +10 -0
  232. package/dist-types/protocols/Aws_restJson1.d.ts +158 -0
  233. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  234. package/dist-types/runtimeConfig.d.ts +42 -0
  235. package/dist-types/runtimeConfig.native.d.ts +41 -0
  236. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  237. package/dist-types/ts3.4/VPCLattice.d.ts +936 -0
  238. package/dist-types/ts3.4/VPCLatticeClient.d.ts +424 -0
  239. package/dist-types/ts3.4/commands/BatchUpdateRuleCommand.d.ts +37 -0
  240. package/dist-types/ts3.4/commands/CreateAccessLogSubscriptionCommand.d.ts +41 -0
  241. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +37 -0
  242. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +34 -0
  243. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +37 -0
  244. package/dist-types/ts3.4/commands/CreateServiceNetworkCommand.d.ts +41 -0
  245. package/dist-types/ts3.4/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +41 -0
  246. package/dist-types/ts3.4/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +41 -0
  247. package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +38 -0
  248. package/dist-types/ts3.4/commands/DeleteAccessLogSubscriptionCommand.d.ts +41 -0
  249. package/dist-types/ts3.4/commands/DeleteAuthPolicyCommand.d.ts +37 -0
  250. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +37 -0
  251. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
  252. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +34 -0
  253. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +37 -0
  254. package/dist-types/ts3.4/commands/DeleteServiceNetworkCommand.d.ts +41 -0
  255. package/dist-types/ts3.4/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +41 -0
  256. package/dist-types/ts3.4/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +41 -0
  257. package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +38 -0
  258. package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +38 -0
  259. package/dist-types/ts3.4/commands/GetAccessLogSubscriptionCommand.d.ts +41 -0
  260. package/dist-types/ts3.4/commands/GetAuthPolicyCommand.d.ts +37 -0
  261. package/dist-types/ts3.4/commands/GetListenerCommand.d.ts +34 -0
  262. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
  263. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +34 -0
  264. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +34 -0
  265. package/dist-types/ts3.4/commands/GetServiceNetworkCommand.d.ts +38 -0
  266. package/dist-types/ts3.4/commands/GetServiceNetworkServiceAssociationCommand.d.ts +41 -0
  267. package/dist-types/ts3.4/commands/GetServiceNetworkVpcAssociationCommand.d.ts +41 -0
  268. package/dist-types/ts3.4/commands/GetTargetGroupCommand.d.ts +37 -0
  269. package/dist-types/ts3.4/commands/ListAccessLogSubscriptionsCommand.d.ts +41 -0
  270. package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +37 -0
  271. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +34 -0
  272. package/dist-types/ts3.4/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +41 -0
  273. package/dist-types/ts3.4/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +41 -0
  274. package/dist-types/ts3.4/commands/ListServiceNetworksCommand.d.ts +38 -0
  275. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +34 -0
  276. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  277. package/dist-types/ts3.4/commands/ListTargetGroupsCommand.d.ts +37 -0
  278. package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +34 -0
  279. package/dist-types/ts3.4/commands/PutAuthPolicyCommand.d.ts +37 -0
  280. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
  281. package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +37 -0
  282. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  283. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  284. package/dist-types/ts3.4/commands/UpdateAccessLogSubscriptionCommand.d.ts +41 -0
  285. package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +37 -0
  286. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +34 -0
  287. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +37 -0
  288. package/dist-types/ts3.4/commands/UpdateServiceNetworkCommand.d.ts +41 -0
  289. package/dist-types/ts3.4/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +41 -0
  290. package/dist-types/ts3.4/commands/UpdateTargetGroupCommand.d.ts +38 -0
  291. package/dist-types/ts3.4/commands/index.d.ts +52 -0
  292. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  293. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  294. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  295. package/dist-types/ts3.4/index.d.ts +6 -0
  296. package/dist-types/ts3.4/models/VPCLatticeServiceException.d.ts +7 -0
  297. package/dist-types/ts3.4/models/index.d.ts +1 -0
  298. package/dist-types/ts3.4/models/models_0.d.ts +1022 -0
  299. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  300. package/dist-types/ts3.4/pagination/ListAccessLogSubscriptionsPaginator.d.ts +11 -0
  301. package/dist-types/ts3.4/pagination/ListListenersPaginator.d.ts +11 -0
  302. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +11 -0
  303. package/dist-types/ts3.4/pagination/ListServiceNetworkServiceAssociationsPaginator.d.ts +11 -0
  304. package/dist-types/ts3.4/pagination/ListServiceNetworkVpcAssociationsPaginator.d.ts +11 -0
  305. package/dist-types/ts3.4/pagination/ListServiceNetworksPaginator.d.ts +11 -0
  306. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
  307. package/dist-types/ts3.4/pagination/ListTargetGroupsPaginator.d.ts +11 -0
  308. package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +11 -0
  309. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  310. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +629 -0
  311. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  312. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  313. package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
  314. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
  315. package/package.json +100 -0
@@ -0,0 +1,783 @@
1
+ import { BatchUpdateRuleCommand, } from "./commands/BatchUpdateRuleCommand";
2
+ import { CreateAccessLogSubscriptionCommand, } from "./commands/CreateAccessLogSubscriptionCommand";
3
+ import { CreateListenerCommand, } from "./commands/CreateListenerCommand";
4
+ import { CreateRuleCommand } from "./commands/CreateRuleCommand";
5
+ import { CreateServiceCommand, } from "./commands/CreateServiceCommand";
6
+ import { CreateServiceNetworkCommand, } from "./commands/CreateServiceNetworkCommand";
7
+ import { CreateServiceNetworkServiceAssociationCommand, } from "./commands/CreateServiceNetworkServiceAssociationCommand";
8
+ import { CreateServiceNetworkVpcAssociationCommand, } from "./commands/CreateServiceNetworkVpcAssociationCommand";
9
+ import { CreateTargetGroupCommand, } from "./commands/CreateTargetGroupCommand";
10
+ import { DeleteAccessLogSubscriptionCommand, } from "./commands/DeleteAccessLogSubscriptionCommand";
11
+ import { DeleteAuthPolicyCommand, } from "./commands/DeleteAuthPolicyCommand";
12
+ import { DeleteListenerCommand, } from "./commands/DeleteListenerCommand";
13
+ import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
14
+ import { DeleteRuleCommand } from "./commands/DeleteRuleCommand";
15
+ import { DeleteServiceCommand, } from "./commands/DeleteServiceCommand";
16
+ import { DeleteServiceNetworkCommand, } from "./commands/DeleteServiceNetworkCommand";
17
+ import { DeleteServiceNetworkServiceAssociationCommand, } from "./commands/DeleteServiceNetworkServiceAssociationCommand";
18
+ import { DeleteServiceNetworkVpcAssociationCommand, } from "./commands/DeleteServiceNetworkVpcAssociationCommand";
19
+ import { DeleteTargetGroupCommand, } from "./commands/DeleteTargetGroupCommand";
20
+ import { DeregisterTargetsCommand, } from "./commands/DeregisterTargetsCommand";
21
+ import { GetAccessLogSubscriptionCommand, } from "./commands/GetAccessLogSubscriptionCommand";
22
+ import { GetAuthPolicyCommand, } from "./commands/GetAuthPolicyCommand";
23
+ import { GetListenerCommand } from "./commands/GetListenerCommand";
24
+ import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
25
+ import { GetRuleCommand } from "./commands/GetRuleCommand";
26
+ import { GetServiceCommand } from "./commands/GetServiceCommand";
27
+ import { GetServiceNetworkCommand, } from "./commands/GetServiceNetworkCommand";
28
+ import { GetServiceNetworkServiceAssociationCommand, } from "./commands/GetServiceNetworkServiceAssociationCommand";
29
+ import { GetServiceNetworkVpcAssociationCommand, } from "./commands/GetServiceNetworkVpcAssociationCommand";
30
+ import { GetTargetGroupCommand, } from "./commands/GetTargetGroupCommand";
31
+ import { ListAccessLogSubscriptionsCommand, } from "./commands/ListAccessLogSubscriptionsCommand";
32
+ import { ListListenersCommand, } from "./commands/ListListenersCommand";
33
+ import { ListRulesCommand } from "./commands/ListRulesCommand";
34
+ import { ListServiceNetworksCommand, } from "./commands/ListServiceNetworksCommand";
35
+ import { ListServiceNetworkServiceAssociationsCommand, } from "./commands/ListServiceNetworkServiceAssociationsCommand";
36
+ import { ListServiceNetworkVpcAssociationsCommand, } from "./commands/ListServiceNetworkVpcAssociationsCommand";
37
+ import { ListServicesCommand, } from "./commands/ListServicesCommand";
38
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
39
+ import { ListTargetGroupsCommand, } from "./commands/ListTargetGroupsCommand";
40
+ import { ListTargetsCommand } from "./commands/ListTargetsCommand";
41
+ import { PutAuthPolicyCommand, } from "./commands/PutAuthPolicyCommand";
42
+ import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
43
+ import { RegisterTargetsCommand, } from "./commands/RegisterTargetsCommand";
44
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
45
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
46
+ import { UpdateAccessLogSubscriptionCommand, } from "./commands/UpdateAccessLogSubscriptionCommand";
47
+ import { UpdateListenerCommand, } from "./commands/UpdateListenerCommand";
48
+ import { UpdateRuleCommand } from "./commands/UpdateRuleCommand";
49
+ import { UpdateServiceCommand, } from "./commands/UpdateServiceCommand";
50
+ import { UpdateServiceNetworkCommand, } from "./commands/UpdateServiceNetworkCommand";
51
+ import { UpdateServiceNetworkVpcAssociationCommand, } from "./commands/UpdateServiceNetworkVpcAssociationCommand";
52
+ import { UpdateTargetGroupCommand, } from "./commands/UpdateTargetGroupCommand";
53
+ import { VPCLatticeClient } from "./VPCLatticeClient";
54
+ export class VPCLattice extends VPCLatticeClient {
55
+ batchUpdateRule(args, optionsOrCb, cb) {
56
+ const command = new BatchUpdateRuleCommand(args);
57
+ if (typeof optionsOrCb === "function") {
58
+ this.send(command, optionsOrCb);
59
+ }
60
+ else if (typeof cb === "function") {
61
+ if (typeof optionsOrCb !== "object")
62
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
63
+ this.send(command, optionsOrCb || {}, cb);
64
+ }
65
+ else {
66
+ return this.send(command, optionsOrCb);
67
+ }
68
+ }
69
+ createAccessLogSubscription(args, optionsOrCb, cb) {
70
+ const command = new CreateAccessLogSubscriptionCommand(args);
71
+ if (typeof optionsOrCb === "function") {
72
+ this.send(command, optionsOrCb);
73
+ }
74
+ else if (typeof cb === "function") {
75
+ if (typeof optionsOrCb !== "object")
76
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
77
+ this.send(command, optionsOrCb || {}, cb);
78
+ }
79
+ else {
80
+ return this.send(command, optionsOrCb);
81
+ }
82
+ }
83
+ createListener(args, optionsOrCb, cb) {
84
+ const command = new CreateListenerCommand(args);
85
+ if (typeof optionsOrCb === "function") {
86
+ this.send(command, optionsOrCb);
87
+ }
88
+ else if (typeof cb === "function") {
89
+ if (typeof optionsOrCb !== "object")
90
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
91
+ this.send(command, optionsOrCb || {}, cb);
92
+ }
93
+ else {
94
+ return this.send(command, optionsOrCb);
95
+ }
96
+ }
97
+ createRule(args, optionsOrCb, cb) {
98
+ const command = new CreateRuleCommand(args);
99
+ if (typeof optionsOrCb === "function") {
100
+ this.send(command, optionsOrCb);
101
+ }
102
+ else if (typeof cb === "function") {
103
+ if (typeof optionsOrCb !== "object")
104
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
105
+ this.send(command, optionsOrCb || {}, cb);
106
+ }
107
+ else {
108
+ return this.send(command, optionsOrCb);
109
+ }
110
+ }
111
+ createService(args, optionsOrCb, cb) {
112
+ const command = new CreateServiceCommand(args);
113
+ if (typeof optionsOrCb === "function") {
114
+ this.send(command, optionsOrCb);
115
+ }
116
+ else if (typeof cb === "function") {
117
+ if (typeof optionsOrCb !== "object")
118
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
119
+ this.send(command, optionsOrCb || {}, cb);
120
+ }
121
+ else {
122
+ return this.send(command, optionsOrCb);
123
+ }
124
+ }
125
+ createServiceNetwork(args, optionsOrCb, cb) {
126
+ const command = new CreateServiceNetworkCommand(args);
127
+ if (typeof optionsOrCb === "function") {
128
+ this.send(command, optionsOrCb);
129
+ }
130
+ else if (typeof cb === "function") {
131
+ if (typeof optionsOrCb !== "object")
132
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
133
+ this.send(command, optionsOrCb || {}, cb);
134
+ }
135
+ else {
136
+ return this.send(command, optionsOrCb);
137
+ }
138
+ }
139
+ createServiceNetworkServiceAssociation(args, optionsOrCb, cb) {
140
+ const command = new CreateServiceNetworkServiceAssociationCommand(args);
141
+ if (typeof optionsOrCb === "function") {
142
+ this.send(command, optionsOrCb);
143
+ }
144
+ else if (typeof cb === "function") {
145
+ if (typeof optionsOrCb !== "object")
146
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
147
+ this.send(command, optionsOrCb || {}, cb);
148
+ }
149
+ else {
150
+ return this.send(command, optionsOrCb);
151
+ }
152
+ }
153
+ createServiceNetworkVpcAssociation(args, optionsOrCb, cb) {
154
+ const command = new CreateServiceNetworkVpcAssociationCommand(args);
155
+ if (typeof optionsOrCb === "function") {
156
+ this.send(command, optionsOrCb);
157
+ }
158
+ else if (typeof cb === "function") {
159
+ if (typeof optionsOrCb !== "object")
160
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
161
+ this.send(command, optionsOrCb || {}, cb);
162
+ }
163
+ else {
164
+ return this.send(command, optionsOrCb);
165
+ }
166
+ }
167
+ createTargetGroup(args, optionsOrCb, cb) {
168
+ const command = new CreateTargetGroupCommand(args);
169
+ if (typeof optionsOrCb === "function") {
170
+ this.send(command, optionsOrCb);
171
+ }
172
+ else if (typeof cb === "function") {
173
+ if (typeof optionsOrCb !== "object")
174
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
175
+ this.send(command, optionsOrCb || {}, cb);
176
+ }
177
+ else {
178
+ return this.send(command, optionsOrCb);
179
+ }
180
+ }
181
+ deleteAccessLogSubscription(args, optionsOrCb, cb) {
182
+ const command = new DeleteAccessLogSubscriptionCommand(args);
183
+ if (typeof optionsOrCb === "function") {
184
+ this.send(command, optionsOrCb);
185
+ }
186
+ else if (typeof cb === "function") {
187
+ if (typeof optionsOrCb !== "object")
188
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
189
+ this.send(command, optionsOrCb || {}, cb);
190
+ }
191
+ else {
192
+ return this.send(command, optionsOrCb);
193
+ }
194
+ }
195
+ deleteAuthPolicy(args, optionsOrCb, cb) {
196
+ const command = new DeleteAuthPolicyCommand(args);
197
+ if (typeof optionsOrCb === "function") {
198
+ this.send(command, optionsOrCb);
199
+ }
200
+ else if (typeof cb === "function") {
201
+ if (typeof optionsOrCb !== "object")
202
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
203
+ this.send(command, optionsOrCb || {}, cb);
204
+ }
205
+ else {
206
+ return this.send(command, optionsOrCb);
207
+ }
208
+ }
209
+ deleteListener(args, optionsOrCb, cb) {
210
+ const command = new DeleteListenerCommand(args);
211
+ if (typeof optionsOrCb === "function") {
212
+ this.send(command, optionsOrCb);
213
+ }
214
+ else if (typeof cb === "function") {
215
+ if (typeof optionsOrCb !== "object")
216
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
217
+ this.send(command, optionsOrCb || {}, cb);
218
+ }
219
+ else {
220
+ return this.send(command, optionsOrCb);
221
+ }
222
+ }
223
+ deleteResourcePolicy(args, optionsOrCb, cb) {
224
+ const command = new DeleteResourcePolicyCommand(args);
225
+ if (typeof optionsOrCb === "function") {
226
+ this.send(command, optionsOrCb);
227
+ }
228
+ else if (typeof cb === "function") {
229
+ if (typeof optionsOrCb !== "object")
230
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
231
+ this.send(command, optionsOrCb || {}, cb);
232
+ }
233
+ else {
234
+ return this.send(command, optionsOrCb);
235
+ }
236
+ }
237
+ deleteRule(args, optionsOrCb, cb) {
238
+ const command = new DeleteRuleCommand(args);
239
+ if (typeof optionsOrCb === "function") {
240
+ this.send(command, optionsOrCb);
241
+ }
242
+ else if (typeof cb === "function") {
243
+ if (typeof optionsOrCb !== "object")
244
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
245
+ this.send(command, optionsOrCb || {}, cb);
246
+ }
247
+ else {
248
+ return this.send(command, optionsOrCb);
249
+ }
250
+ }
251
+ deleteService(args, optionsOrCb, cb) {
252
+ const command = new DeleteServiceCommand(args);
253
+ if (typeof optionsOrCb === "function") {
254
+ this.send(command, optionsOrCb);
255
+ }
256
+ else if (typeof cb === "function") {
257
+ if (typeof optionsOrCb !== "object")
258
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
259
+ this.send(command, optionsOrCb || {}, cb);
260
+ }
261
+ else {
262
+ return this.send(command, optionsOrCb);
263
+ }
264
+ }
265
+ deleteServiceNetwork(args, optionsOrCb, cb) {
266
+ const command = new DeleteServiceNetworkCommand(args);
267
+ if (typeof optionsOrCb === "function") {
268
+ this.send(command, optionsOrCb);
269
+ }
270
+ else if (typeof cb === "function") {
271
+ if (typeof optionsOrCb !== "object")
272
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
273
+ this.send(command, optionsOrCb || {}, cb);
274
+ }
275
+ else {
276
+ return this.send(command, optionsOrCb);
277
+ }
278
+ }
279
+ deleteServiceNetworkServiceAssociation(args, optionsOrCb, cb) {
280
+ const command = new DeleteServiceNetworkServiceAssociationCommand(args);
281
+ if (typeof optionsOrCb === "function") {
282
+ this.send(command, optionsOrCb);
283
+ }
284
+ else if (typeof cb === "function") {
285
+ if (typeof optionsOrCb !== "object")
286
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
287
+ this.send(command, optionsOrCb || {}, cb);
288
+ }
289
+ else {
290
+ return this.send(command, optionsOrCb);
291
+ }
292
+ }
293
+ deleteServiceNetworkVpcAssociation(args, optionsOrCb, cb) {
294
+ const command = new DeleteServiceNetworkVpcAssociationCommand(args);
295
+ if (typeof optionsOrCb === "function") {
296
+ this.send(command, optionsOrCb);
297
+ }
298
+ else if (typeof cb === "function") {
299
+ if (typeof optionsOrCb !== "object")
300
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
301
+ this.send(command, optionsOrCb || {}, cb);
302
+ }
303
+ else {
304
+ return this.send(command, optionsOrCb);
305
+ }
306
+ }
307
+ deleteTargetGroup(args, optionsOrCb, cb) {
308
+ const command = new DeleteTargetGroupCommand(args);
309
+ if (typeof optionsOrCb === "function") {
310
+ this.send(command, optionsOrCb);
311
+ }
312
+ else if (typeof cb === "function") {
313
+ if (typeof optionsOrCb !== "object")
314
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
315
+ this.send(command, optionsOrCb || {}, cb);
316
+ }
317
+ else {
318
+ return this.send(command, optionsOrCb);
319
+ }
320
+ }
321
+ deregisterTargets(args, optionsOrCb, cb) {
322
+ const command = new DeregisterTargetsCommand(args);
323
+ if (typeof optionsOrCb === "function") {
324
+ this.send(command, optionsOrCb);
325
+ }
326
+ else if (typeof cb === "function") {
327
+ if (typeof optionsOrCb !== "object")
328
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
329
+ this.send(command, optionsOrCb || {}, cb);
330
+ }
331
+ else {
332
+ return this.send(command, optionsOrCb);
333
+ }
334
+ }
335
+ getAccessLogSubscription(args, optionsOrCb, cb) {
336
+ const command = new GetAccessLogSubscriptionCommand(args);
337
+ if (typeof optionsOrCb === "function") {
338
+ this.send(command, optionsOrCb);
339
+ }
340
+ else if (typeof cb === "function") {
341
+ if (typeof optionsOrCb !== "object")
342
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
343
+ this.send(command, optionsOrCb || {}, cb);
344
+ }
345
+ else {
346
+ return this.send(command, optionsOrCb);
347
+ }
348
+ }
349
+ getAuthPolicy(args, optionsOrCb, cb) {
350
+ const command = new GetAuthPolicyCommand(args);
351
+ if (typeof optionsOrCb === "function") {
352
+ this.send(command, optionsOrCb);
353
+ }
354
+ else if (typeof cb === "function") {
355
+ if (typeof optionsOrCb !== "object")
356
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
357
+ this.send(command, optionsOrCb || {}, cb);
358
+ }
359
+ else {
360
+ return this.send(command, optionsOrCb);
361
+ }
362
+ }
363
+ getListener(args, optionsOrCb, cb) {
364
+ const command = new GetListenerCommand(args);
365
+ if (typeof optionsOrCb === "function") {
366
+ this.send(command, optionsOrCb);
367
+ }
368
+ else if (typeof cb === "function") {
369
+ if (typeof optionsOrCb !== "object")
370
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
371
+ this.send(command, optionsOrCb || {}, cb);
372
+ }
373
+ else {
374
+ return this.send(command, optionsOrCb);
375
+ }
376
+ }
377
+ getResourcePolicy(args, optionsOrCb, cb) {
378
+ const command = new GetResourcePolicyCommand(args);
379
+ if (typeof optionsOrCb === "function") {
380
+ this.send(command, optionsOrCb);
381
+ }
382
+ else if (typeof cb === "function") {
383
+ if (typeof optionsOrCb !== "object")
384
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
385
+ this.send(command, optionsOrCb || {}, cb);
386
+ }
387
+ else {
388
+ return this.send(command, optionsOrCb);
389
+ }
390
+ }
391
+ getRule(args, optionsOrCb, cb) {
392
+ const command = new GetRuleCommand(args);
393
+ if (typeof optionsOrCb === "function") {
394
+ this.send(command, optionsOrCb);
395
+ }
396
+ else if (typeof cb === "function") {
397
+ if (typeof optionsOrCb !== "object")
398
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
399
+ this.send(command, optionsOrCb || {}, cb);
400
+ }
401
+ else {
402
+ return this.send(command, optionsOrCb);
403
+ }
404
+ }
405
+ getService(args, optionsOrCb, cb) {
406
+ const command = new GetServiceCommand(args);
407
+ if (typeof optionsOrCb === "function") {
408
+ this.send(command, optionsOrCb);
409
+ }
410
+ else if (typeof cb === "function") {
411
+ if (typeof optionsOrCb !== "object")
412
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
413
+ this.send(command, optionsOrCb || {}, cb);
414
+ }
415
+ else {
416
+ return this.send(command, optionsOrCb);
417
+ }
418
+ }
419
+ getServiceNetwork(args, optionsOrCb, cb) {
420
+ const command = new GetServiceNetworkCommand(args);
421
+ if (typeof optionsOrCb === "function") {
422
+ this.send(command, optionsOrCb);
423
+ }
424
+ else if (typeof cb === "function") {
425
+ if (typeof optionsOrCb !== "object")
426
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
427
+ this.send(command, optionsOrCb || {}, cb);
428
+ }
429
+ else {
430
+ return this.send(command, optionsOrCb);
431
+ }
432
+ }
433
+ getServiceNetworkServiceAssociation(args, optionsOrCb, cb) {
434
+ const command = new GetServiceNetworkServiceAssociationCommand(args);
435
+ if (typeof optionsOrCb === "function") {
436
+ this.send(command, optionsOrCb);
437
+ }
438
+ else if (typeof cb === "function") {
439
+ if (typeof optionsOrCb !== "object")
440
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
441
+ this.send(command, optionsOrCb || {}, cb);
442
+ }
443
+ else {
444
+ return this.send(command, optionsOrCb);
445
+ }
446
+ }
447
+ getServiceNetworkVpcAssociation(args, optionsOrCb, cb) {
448
+ const command = new GetServiceNetworkVpcAssociationCommand(args);
449
+ if (typeof optionsOrCb === "function") {
450
+ this.send(command, optionsOrCb);
451
+ }
452
+ else if (typeof cb === "function") {
453
+ if (typeof optionsOrCb !== "object")
454
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
455
+ this.send(command, optionsOrCb || {}, cb);
456
+ }
457
+ else {
458
+ return this.send(command, optionsOrCb);
459
+ }
460
+ }
461
+ getTargetGroup(args, optionsOrCb, cb) {
462
+ const command = new GetTargetGroupCommand(args);
463
+ if (typeof optionsOrCb === "function") {
464
+ this.send(command, optionsOrCb);
465
+ }
466
+ else if (typeof cb === "function") {
467
+ if (typeof optionsOrCb !== "object")
468
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
469
+ this.send(command, optionsOrCb || {}, cb);
470
+ }
471
+ else {
472
+ return this.send(command, optionsOrCb);
473
+ }
474
+ }
475
+ listAccessLogSubscriptions(args, optionsOrCb, cb) {
476
+ const command = new ListAccessLogSubscriptionsCommand(args);
477
+ if (typeof optionsOrCb === "function") {
478
+ this.send(command, optionsOrCb);
479
+ }
480
+ else if (typeof cb === "function") {
481
+ if (typeof optionsOrCb !== "object")
482
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
483
+ this.send(command, optionsOrCb || {}, cb);
484
+ }
485
+ else {
486
+ return this.send(command, optionsOrCb);
487
+ }
488
+ }
489
+ listListeners(args, optionsOrCb, cb) {
490
+ const command = new ListListenersCommand(args);
491
+ if (typeof optionsOrCb === "function") {
492
+ this.send(command, optionsOrCb);
493
+ }
494
+ else if (typeof cb === "function") {
495
+ if (typeof optionsOrCb !== "object")
496
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
497
+ this.send(command, optionsOrCb || {}, cb);
498
+ }
499
+ else {
500
+ return this.send(command, optionsOrCb);
501
+ }
502
+ }
503
+ listRules(args, optionsOrCb, cb) {
504
+ const command = new ListRulesCommand(args);
505
+ if (typeof optionsOrCb === "function") {
506
+ this.send(command, optionsOrCb);
507
+ }
508
+ else if (typeof cb === "function") {
509
+ if (typeof optionsOrCb !== "object")
510
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
511
+ this.send(command, optionsOrCb || {}, cb);
512
+ }
513
+ else {
514
+ return this.send(command, optionsOrCb);
515
+ }
516
+ }
517
+ listServiceNetworks(args, optionsOrCb, cb) {
518
+ const command = new ListServiceNetworksCommand(args);
519
+ if (typeof optionsOrCb === "function") {
520
+ this.send(command, optionsOrCb);
521
+ }
522
+ else if (typeof cb === "function") {
523
+ if (typeof optionsOrCb !== "object")
524
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
525
+ this.send(command, optionsOrCb || {}, cb);
526
+ }
527
+ else {
528
+ return this.send(command, optionsOrCb);
529
+ }
530
+ }
531
+ listServiceNetworkServiceAssociations(args, optionsOrCb, cb) {
532
+ const command = new ListServiceNetworkServiceAssociationsCommand(args);
533
+ if (typeof optionsOrCb === "function") {
534
+ this.send(command, optionsOrCb);
535
+ }
536
+ else if (typeof cb === "function") {
537
+ if (typeof optionsOrCb !== "object")
538
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
539
+ this.send(command, optionsOrCb || {}, cb);
540
+ }
541
+ else {
542
+ return this.send(command, optionsOrCb);
543
+ }
544
+ }
545
+ listServiceNetworkVpcAssociations(args, optionsOrCb, cb) {
546
+ const command = new ListServiceNetworkVpcAssociationsCommand(args);
547
+ if (typeof optionsOrCb === "function") {
548
+ this.send(command, optionsOrCb);
549
+ }
550
+ else if (typeof cb === "function") {
551
+ if (typeof optionsOrCb !== "object")
552
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
553
+ this.send(command, optionsOrCb || {}, cb);
554
+ }
555
+ else {
556
+ return this.send(command, optionsOrCb);
557
+ }
558
+ }
559
+ listServices(args, optionsOrCb, cb) {
560
+ const command = new ListServicesCommand(args);
561
+ if (typeof optionsOrCb === "function") {
562
+ this.send(command, optionsOrCb);
563
+ }
564
+ else if (typeof cb === "function") {
565
+ if (typeof optionsOrCb !== "object")
566
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
567
+ this.send(command, optionsOrCb || {}, cb);
568
+ }
569
+ else {
570
+ return this.send(command, optionsOrCb);
571
+ }
572
+ }
573
+ listTagsForResource(args, optionsOrCb, cb) {
574
+ const command = new ListTagsForResourceCommand(args);
575
+ if (typeof optionsOrCb === "function") {
576
+ this.send(command, optionsOrCb);
577
+ }
578
+ else if (typeof cb === "function") {
579
+ if (typeof optionsOrCb !== "object")
580
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
581
+ this.send(command, optionsOrCb || {}, cb);
582
+ }
583
+ else {
584
+ return this.send(command, optionsOrCb);
585
+ }
586
+ }
587
+ listTargetGroups(args, optionsOrCb, cb) {
588
+ const command = new ListTargetGroupsCommand(args);
589
+ if (typeof optionsOrCb === "function") {
590
+ this.send(command, optionsOrCb);
591
+ }
592
+ else if (typeof cb === "function") {
593
+ if (typeof optionsOrCb !== "object")
594
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
595
+ this.send(command, optionsOrCb || {}, cb);
596
+ }
597
+ else {
598
+ return this.send(command, optionsOrCb);
599
+ }
600
+ }
601
+ listTargets(args, optionsOrCb, cb) {
602
+ const command = new ListTargetsCommand(args);
603
+ if (typeof optionsOrCb === "function") {
604
+ this.send(command, optionsOrCb);
605
+ }
606
+ else if (typeof cb === "function") {
607
+ if (typeof optionsOrCb !== "object")
608
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
609
+ this.send(command, optionsOrCb || {}, cb);
610
+ }
611
+ else {
612
+ return this.send(command, optionsOrCb);
613
+ }
614
+ }
615
+ putAuthPolicy(args, optionsOrCb, cb) {
616
+ const command = new PutAuthPolicyCommand(args);
617
+ if (typeof optionsOrCb === "function") {
618
+ this.send(command, optionsOrCb);
619
+ }
620
+ else if (typeof cb === "function") {
621
+ if (typeof optionsOrCb !== "object")
622
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
623
+ this.send(command, optionsOrCb || {}, cb);
624
+ }
625
+ else {
626
+ return this.send(command, optionsOrCb);
627
+ }
628
+ }
629
+ putResourcePolicy(args, optionsOrCb, cb) {
630
+ const command = new PutResourcePolicyCommand(args);
631
+ if (typeof optionsOrCb === "function") {
632
+ this.send(command, optionsOrCb);
633
+ }
634
+ else if (typeof cb === "function") {
635
+ if (typeof optionsOrCb !== "object")
636
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
637
+ this.send(command, optionsOrCb || {}, cb);
638
+ }
639
+ else {
640
+ return this.send(command, optionsOrCb);
641
+ }
642
+ }
643
+ registerTargets(args, optionsOrCb, cb) {
644
+ const command = new RegisterTargetsCommand(args);
645
+ if (typeof optionsOrCb === "function") {
646
+ this.send(command, optionsOrCb);
647
+ }
648
+ else if (typeof cb === "function") {
649
+ if (typeof optionsOrCb !== "object")
650
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
651
+ this.send(command, optionsOrCb || {}, cb);
652
+ }
653
+ else {
654
+ return this.send(command, optionsOrCb);
655
+ }
656
+ }
657
+ tagResource(args, optionsOrCb, cb) {
658
+ const command = new TagResourceCommand(args);
659
+ if (typeof optionsOrCb === "function") {
660
+ this.send(command, optionsOrCb);
661
+ }
662
+ else if (typeof cb === "function") {
663
+ if (typeof optionsOrCb !== "object")
664
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
665
+ this.send(command, optionsOrCb || {}, cb);
666
+ }
667
+ else {
668
+ return this.send(command, optionsOrCb);
669
+ }
670
+ }
671
+ untagResource(args, optionsOrCb, cb) {
672
+ const command = new UntagResourceCommand(args);
673
+ if (typeof optionsOrCb === "function") {
674
+ this.send(command, optionsOrCb);
675
+ }
676
+ else if (typeof cb === "function") {
677
+ if (typeof optionsOrCb !== "object")
678
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
679
+ this.send(command, optionsOrCb || {}, cb);
680
+ }
681
+ else {
682
+ return this.send(command, optionsOrCb);
683
+ }
684
+ }
685
+ updateAccessLogSubscription(args, optionsOrCb, cb) {
686
+ const command = new UpdateAccessLogSubscriptionCommand(args);
687
+ if (typeof optionsOrCb === "function") {
688
+ this.send(command, optionsOrCb);
689
+ }
690
+ else if (typeof cb === "function") {
691
+ if (typeof optionsOrCb !== "object")
692
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
693
+ this.send(command, optionsOrCb || {}, cb);
694
+ }
695
+ else {
696
+ return this.send(command, optionsOrCb);
697
+ }
698
+ }
699
+ updateListener(args, optionsOrCb, cb) {
700
+ const command = new UpdateListenerCommand(args);
701
+ if (typeof optionsOrCb === "function") {
702
+ this.send(command, optionsOrCb);
703
+ }
704
+ else if (typeof cb === "function") {
705
+ if (typeof optionsOrCb !== "object")
706
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
707
+ this.send(command, optionsOrCb || {}, cb);
708
+ }
709
+ else {
710
+ return this.send(command, optionsOrCb);
711
+ }
712
+ }
713
+ updateRule(args, optionsOrCb, cb) {
714
+ const command = new UpdateRuleCommand(args);
715
+ if (typeof optionsOrCb === "function") {
716
+ this.send(command, optionsOrCb);
717
+ }
718
+ else if (typeof cb === "function") {
719
+ if (typeof optionsOrCb !== "object")
720
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
721
+ this.send(command, optionsOrCb || {}, cb);
722
+ }
723
+ else {
724
+ return this.send(command, optionsOrCb);
725
+ }
726
+ }
727
+ updateService(args, optionsOrCb, cb) {
728
+ const command = new UpdateServiceCommand(args);
729
+ if (typeof optionsOrCb === "function") {
730
+ this.send(command, optionsOrCb);
731
+ }
732
+ else if (typeof cb === "function") {
733
+ if (typeof optionsOrCb !== "object")
734
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
735
+ this.send(command, optionsOrCb || {}, cb);
736
+ }
737
+ else {
738
+ return this.send(command, optionsOrCb);
739
+ }
740
+ }
741
+ updateServiceNetwork(args, optionsOrCb, cb) {
742
+ const command = new UpdateServiceNetworkCommand(args);
743
+ if (typeof optionsOrCb === "function") {
744
+ this.send(command, optionsOrCb);
745
+ }
746
+ else if (typeof cb === "function") {
747
+ if (typeof optionsOrCb !== "object")
748
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
749
+ this.send(command, optionsOrCb || {}, cb);
750
+ }
751
+ else {
752
+ return this.send(command, optionsOrCb);
753
+ }
754
+ }
755
+ updateServiceNetworkVpcAssociation(args, optionsOrCb, cb) {
756
+ const command = new UpdateServiceNetworkVpcAssociationCommand(args);
757
+ if (typeof optionsOrCb === "function") {
758
+ this.send(command, optionsOrCb);
759
+ }
760
+ else if (typeof cb === "function") {
761
+ if (typeof optionsOrCb !== "object")
762
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
763
+ this.send(command, optionsOrCb || {}, cb);
764
+ }
765
+ else {
766
+ return this.send(command, optionsOrCb);
767
+ }
768
+ }
769
+ updateTargetGroup(args, optionsOrCb, cb) {
770
+ const command = new UpdateTargetGroupCommand(args);
771
+ if (typeof optionsOrCb === "function") {
772
+ this.send(command, optionsOrCb);
773
+ }
774
+ else if (typeof cb === "function") {
775
+ if (typeof optionsOrCb !== "object")
776
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
777
+ this.send(command, optionsOrCb || {}, cb);
778
+ }
779
+ else {
780
+ return this.send(command, optionsOrCb);
781
+ }
782
+ }
783
+ }