@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,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
+ export class UntagResourceCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "VPCLatticeClient";
24
+ const commandName = "UntagResourceCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UntagResourceCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UntagResourceCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1UpdateAccessLogSubscriptionCommand, serializeAws_restJson1UpdateAccessLogSubscriptionCommand, } from "../protocols/Aws_restJson1";
5
+ export class UpdateAccessLogSubscriptionCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAccessLogSubscriptionCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "VPCLatticeClient";
24
+ const commandName = "UpdateAccessLogSubscriptionCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateAccessLogSubscriptionCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateAccessLogSubscriptionCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1UpdateListenerCommand, serializeAws_restJson1UpdateListenerCommand, } from "../protocols/Aws_restJson1";
5
+ export class UpdateListenerCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateListenerCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "VPCLatticeClient";
24
+ const commandName = "UpdateListenerCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateListenerCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateListenerCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1UpdateRuleCommand, serializeAws_restJson1UpdateRuleCommand, } from "../protocols/Aws_restJson1";
5
+ export class UpdateRuleCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRuleCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "VPCLatticeClient";
24
+ const commandName = "UpdateRuleCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateRuleCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateRuleCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1UpdateServiceCommand, serializeAws_restJson1UpdateServiceCommand, } from "../protocols/Aws_restJson1";
5
+ export class UpdateServiceCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateServiceCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "VPCLatticeClient";
24
+ const commandName = "UpdateServiceCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateServiceCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateServiceCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1UpdateServiceNetworkCommand, serializeAws_restJson1UpdateServiceNetworkCommand, } from "../protocols/Aws_restJson1";
5
+ export class UpdateServiceNetworkCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateServiceNetworkCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "VPCLatticeClient";
24
+ const commandName = "UpdateServiceNetworkCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateServiceNetworkCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateServiceNetworkCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand, serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand, } from "../protocols/Aws_restJson1";
5
+ export class UpdateServiceNetworkVpcAssociationCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateServiceNetworkVpcAssociationCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "VPCLatticeClient";
24
+ const commandName = "UpdateServiceNetworkVpcAssociationCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1UpdateTargetGroupCommand, serializeAws_restJson1UpdateTargetGroupCommand, } from "../protocols/Aws_restJson1";
5
+ export class UpdateTargetGroupCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateTargetGroupCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "VPCLatticeClient";
24
+ const commandName = "UpdateTargetGroupCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateTargetGroupCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateTargetGroupCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,52 @@
1
+ export * from "./BatchUpdateRuleCommand";
2
+ export * from "./CreateAccessLogSubscriptionCommand";
3
+ export * from "./CreateListenerCommand";
4
+ export * from "./CreateRuleCommand";
5
+ export * from "./CreateServiceCommand";
6
+ export * from "./CreateServiceNetworkCommand";
7
+ export * from "./CreateServiceNetworkServiceAssociationCommand";
8
+ export * from "./CreateServiceNetworkVpcAssociationCommand";
9
+ export * from "./CreateTargetGroupCommand";
10
+ export * from "./DeleteAccessLogSubscriptionCommand";
11
+ export * from "./DeleteAuthPolicyCommand";
12
+ export * from "./DeleteListenerCommand";
13
+ export * from "./DeleteResourcePolicyCommand";
14
+ export * from "./DeleteRuleCommand";
15
+ export * from "./DeleteServiceCommand";
16
+ export * from "./DeleteServiceNetworkCommand";
17
+ export * from "./DeleteServiceNetworkServiceAssociationCommand";
18
+ export * from "./DeleteServiceNetworkVpcAssociationCommand";
19
+ export * from "./DeleteTargetGroupCommand";
20
+ export * from "./DeregisterTargetsCommand";
21
+ export * from "./GetAccessLogSubscriptionCommand";
22
+ export * from "./GetAuthPolicyCommand";
23
+ export * from "./GetListenerCommand";
24
+ export * from "./GetResourcePolicyCommand";
25
+ export * from "./GetRuleCommand";
26
+ export * from "./GetServiceCommand";
27
+ export * from "./GetServiceNetworkCommand";
28
+ export * from "./GetServiceNetworkServiceAssociationCommand";
29
+ export * from "./GetServiceNetworkVpcAssociationCommand";
30
+ export * from "./GetTargetGroupCommand";
31
+ export * from "./ListAccessLogSubscriptionsCommand";
32
+ export * from "./ListListenersCommand";
33
+ export * from "./ListRulesCommand";
34
+ export * from "./ListServiceNetworkServiceAssociationsCommand";
35
+ export * from "./ListServiceNetworkVpcAssociationsCommand";
36
+ export * from "./ListServiceNetworksCommand";
37
+ export * from "./ListServicesCommand";
38
+ export * from "./ListTagsForResourceCommand";
39
+ export * from "./ListTargetGroupsCommand";
40
+ export * from "./ListTargetsCommand";
41
+ export * from "./PutAuthPolicyCommand";
42
+ export * from "./PutResourcePolicyCommand";
43
+ export * from "./RegisterTargetsCommand";
44
+ export * from "./TagResourceCommand";
45
+ export * from "./UntagResourceCommand";
46
+ export * from "./UpdateAccessLogSubscriptionCommand";
47
+ export * from "./UpdateListenerCommand";
48
+ export * from "./UpdateRuleCommand";
49
+ export * from "./UpdateServiceCommand";
50
+ export * from "./UpdateServiceNetworkCommand";
51
+ export * from "./UpdateServiceNetworkVpcAssociationCommand";
52
+ export * from "./UpdateTargetGroupCommand";
@@ -0,0 +1,8 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "vpc-lattice",
7
+ };
8
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@aws-sdk/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };
@@ -0,0 +1,4 @@
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://vpc-lattice-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://vpc-lattice-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://vpc-lattice.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://vpc-lattice.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1,6 @@
1
+ export * from "./VPCLattice";
2
+ export * from "./VPCLatticeClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { VPCLatticeServiceException } from "./models/VPCLatticeServiceException";
@@ -0,0 +1,7 @@
1
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export class VPCLatticeServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, VPCLatticeServiceException.prototype);
6
+ }
7
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,230 @@
1
+ import { VPCLatticeServiceException as __BaseException } from "./VPCLatticeServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "AccessDeniedException",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "AccessDeniedException";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ constructor(opts) {
16
+ super({
17
+ name: "ConflictException",
18
+ $fault: "client",
19
+ ...opts,
20
+ });
21
+ this.name = "ConflictException";
22
+ this.$fault = "client";
23
+ Object.setPrototypeOf(this, ConflictException.prototype);
24
+ this.resourceId = opts.resourceId;
25
+ this.resourceType = opts.resourceType;
26
+ }
27
+ }
28
+ export class InternalServerException extends __BaseException {
29
+ constructor(opts) {
30
+ super({
31
+ name: "InternalServerException",
32
+ $fault: "server",
33
+ ...opts,
34
+ });
35
+ this.name = "InternalServerException";
36
+ this.$fault = "server";
37
+ this.$retryable = {};
38
+ Object.setPrototypeOf(this, InternalServerException.prototype);
39
+ this.retryAfterSeconds = opts.retryAfterSeconds;
40
+ }
41
+ }
42
+ export class ResourceNotFoundException extends __BaseException {
43
+ constructor(opts) {
44
+ super({
45
+ name: "ResourceNotFoundException",
46
+ $fault: "client",
47
+ ...opts,
48
+ });
49
+ this.name = "ResourceNotFoundException";
50
+ this.$fault = "client";
51
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
52
+ this.resourceId = opts.resourceId;
53
+ this.resourceType = opts.resourceType;
54
+ }
55
+ }
56
+ export class ThrottlingException extends __BaseException {
57
+ constructor(opts) {
58
+ super({
59
+ name: "ThrottlingException",
60
+ $fault: "client",
61
+ ...opts,
62
+ });
63
+ this.name = "ThrottlingException";
64
+ this.$fault = "client";
65
+ this.$retryable = {
66
+ throttling: true,
67
+ };
68
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
69
+ this.serviceCode = opts.serviceCode;
70
+ this.quotaCode = opts.quotaCode;
71
+ this.retryAfterSeconds = opts.retryAfterSeconds;
72
+ }
73
+ }
74
+ export const ValidationExceptionReason = {
75
+ CANNOT_PARSE: "cannotParse",
76
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
77
+ OTHER: "other",
78
+ UNKNOWN_OPERATION: "unknownOperation",
79
+ };
80
+ export class ValidationException extends __BaseException {
81
+ constructor(opts) {
82
+ super({
83
+ name: "ValidationException",
84
+ $fault: "client",
85
+ ...opts,
86
+ });
87
+ this.name = "ValidationException";
88
+ this.$fault = "client";
89
+ Object.setPrototypeOf(this, ValidationException.prototype);
90
+ this.reason = opts.reason;
91
+ this.fieldList = opts.fieldList;
92
+ }
93
+ }
94
+ export const AuthPolicyState = {
95
+ Active: "Active",
96
+ Inactive: "Inactive",
97
+ };
98
+ export const AuthType = {
99
+ AWS_IAM: "AWS_IAM",
100
+ NONE: "NONE",
101
+ };
102
+ export var RuleAction;
103
+ (function (RuleAction) {
104
+ RuleAction.visit = (value, visitor) => {
105
+ if (value.forward !== undefined)
106
+ return visitor.forward(value.forward);
107
+ if (value.fixedResponse !== undefined)
108
+ return visitor.fixedResponse(value.fixedResponse);
109
+ return visitor._(value.$unknown[0], value.$unknown[1]);
110
+ };
111
+ })(RuleAction || (RuleAction = {}));
112
+ export var HeaderMatchType;
113
+ (function (HeaderMatchType) {
114
+ HeaderMatchType.visit = (value, visitor) => {
115
+ if (value.exact !== undefined)
116
+ return visitor.exact(value.exact);
117
+ if (value.prefix !== undefined)
118
+ return visitor.prefix(value.prefix);
119
+ if (value.contains !== undefined)
120
+ return visitor.contains(value.contains);
121
+ return visitor._(value.$unknown[0], value.$unknown[1]);
122
+ };
123
+ })(HeaderMatchType || (HeaderMatchType = {}));
124
+ export var PathMatchType;
125
+ (function (PathMatchType) {
126
+ PathMatchType.visit = (value, visitor) => {
127
+ if (value.exact !== undefined)
128
+ return visitor.exact(value.exact);
129
+ if (value.prefix !== undefined)
130
+ return visitor.prefix(value.prefix);
131
+ return visitor._(value.$unknown[0], value.$unknown[1]);
132
+ };
133
+ })(PathMatchType || (PathMatchType = {}));
134
+ export var RuleMatch;
135
+ (function (RuleMatch) {
136
+ RuleMatch.visit = (value, visitor) => {
137
+ if (value.httpMatch !== undefined)
138
+ return visitor.httpMatch(value.httpMatch);
139
+ return visitor._(value.$unknown[0], value.$unknown[1]);
140
+ };
141
+ })(RuleMatch || (RuleMatch = {}));
142
+ export const ListenerProtocol = {
143
+ HTTP: "HTTP",
144
+ HTTPS: "HTTPS",
145
+ };
146
+ export class ServiceQuotaExceededException extends __BaseException {
147
+ constructor(opts) {
148
+ super({
149
+ name: "ServiceQuotaExceededException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ this.name = "ServiceQuotaExceededException";
154
+ this.$fault = "client";
155
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
156
+ this.resourceId = opts.resourceId;
157
+ this.resourceType = opts.resourceType;
158
+ this.serviceCode = opts.serviceCode;
159
+ this.quotaCode = opts.quotaCode;
160
+ }
161
+ }
162
+ export const ServiceStatus = {
163
+ ACTIVE: "ACTIVE",
164
+ CREATE_FAILED: "CREATE_FAILED",
165
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
166
+ DELETE_FAILED: "DELETE_FAILED",
167
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
168
+ };
169
+ export const ServiceNetworkServiceAssociationStatus = {
170
+ ACTIVE: "ACTIVE",
171
+ CREATE_FAILED: "CREATE_FAILED",
172
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
173
+ DELETE_FAILED: "DELETE_FAILED",
174
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
175
+ };
176
+ export const ServiceNetworkVpcAssociationStatus = {
177
+ ACTIVE: "ACTIVE",
178
+ CREATE_FAILED: "CREATE_FAILED",
179
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
180
+ DELETE_FAILED: "DELETE_FAILED",
181
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
182
+ UPDATE_FAILED: "UPDATE_FAILED",
183
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
184
+ };
185
+ export var Matcher;
186
+ (function (Matcher) {
187
+ Matcher.visit = (value, visitor) => {
188
+ if (value.httpCode !== undefined)
189
+ return visitor.httpCode(value.httpCode);
190
+ return visitor._(value.$unknown[0], value.$unknown[1]);
191
+ };
192
+ })(Matcher || (Matcher = {}));
193
+ export const TargetGroupProtocol = {
194
+ HTTP: "HTTP",
195
+ HTTPS: "HTTPS",
196
+ };
197
+ export const HealthCheckProtocolVersion = {
198
+ HTTP1: "HTTP1",
199
+ HTTP2: "HTTP2",
200
+ };
201
+ export const IpAddressType = {
202
+ IPV4: "IPV4",
203
+ IPV6: "IPV6",
204
+ };
205
+ export const TargetGroupProtocolVersion = {
206
+ GRPC: "GRPC",
207
+ HTTP1: "HTTP1",
208
+ HTTP2: "HTTP2",
209
+ };
210
+ export const TargetGroupType = {
211
+ ALB: "ALB",
212
+ INSTANCE: "INSTANCE",
213
+ IP: "IP",
214
+ LAMBDA: "LAMBDA",
215
+ };
216
+ export const TargetGroupStatus = {
217
+ ACTIVE: "ACTIVE",
218
+ CREATE_FAILED: "CREATE_FAILED",
219
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
220
+ DELETE_FAILED: "DELETE_FAILED",
221
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
222
+ };
223
+ export const TargetStatus = {
224
+ DRAINING: "DRAINING",
225
+ HEALTHY: "HEALTHY",
226
+ INITIAL: "INITIAL",
227
+ UNAVAILABLE: "UNAVAILABLE",
228
+ UNHEALTHY: "UNHEALTHY",
229
+ UNUSED: "UNUSED",
230
+ };