@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,3439 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { VPCLatticeServiceException as __BaseException } from "./VPCLatticeServiceException";
3
+ /**
4
+ * @public
5
+ * <p>The user does not have sufficient access to perform this action.</p>
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * @public
17
+ * <p>The request conflicts with the current state of the resource. Updating or deleting a
18
+ * resource can cause an inconsistent state.</p>
19
+ */
20
+ export declare class ConflictException extends __BaseException {
21
+ readonly name: "ConflictException";
22
+ readonly $fault: "client";
23
+ /**
24
+ * <p>The resource ID.</p>
25
+ */
26
+ resourceId: string | undefined;
27
+ /**
28
+ * <p>The resource type.</p>
29
+ */
30
+ resourceType: string | undefined;
31
+ /**
32
+ * @internal
33
+ */
34
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
35
+ }
36
+ /**
37
+ * @public
38
+ */
39
+ export interface CreateAccessLogSubscriptionRequest {
40
+ /**
41
+ * <p>A unique, case-sensitive identifier that you provide to ensure
42
+ * the idempotency of the request. If you retry a request that completed successfully using
43
+ * the same client token and parameters, the retry succeeds without performing any actions.
44
+ * If the parameters aren't identical, the retry fails.</p>
45
+ */
46
+ clientToken?: string;
47
+ /**
48
+ * <p>The ID or Amazon Resource Name (ARN) of the service network or service.</p>
49
+ */
50
+ resourceIdentifier: string | undefined;
51
+ /**
52
+ * <p>The Amazon Resource Name (ARN) of the destination. The supported destination types are
53
+ * CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.</p>
54
+ */
55
+ destinationArn: string | undefined;
56
+ /**
57
+ * <p>The tags for the access log subscription.</p>
58
+ */
59
+ tags?: Record<string, string>;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface CreateAccessLogSubscriptionResponse {
65
+ /**
66
+ * <p>The ID of the access log subscription.</p>
67
+ */
68
+ id: string | undefined;
69
+ /**
70
+ * <p>The Amazon Resource Name (ARN) of the access log subscription.</p>
71
+ */
72
+ arn: string | undefined;
73
+ /**
74
+ * <p>The ID of the service network or service.</p>
75
+ */
76
+ resourceId: string | undefined;
77
+ /**
78
+ * <p>The Amazon Resource Name (ARN) of the service network or service.</p>
79
+ */
80
+ resourceArn: string | undefined;
81
+ /**
82
+ * <p>The Amazon Resource Name (ARN) of the log destination.</p>
83
+ */
84
+ destinationArn: string | undefined;
85
+ }
86
+ /**
87
+ * @public
88
+ * <p>An unexpected error occurred while processing the request.</p>
89
+ */
90
+ export declare class InternalServerException extends __BaseException {
91
+ readonly name: "InternalServerException";
92
+ readonly $fault: "server";
93
+ $retryable: {};
94
+ /**
95
+ * <p>The number of seconds to wait before retrying.</p>
96
+ */
97
+ retryAfterSeconds?: number;
98
+ /**
99
+ * @internal
100
+ */
101
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
102
+ }
103
+ /**
104
+ * @public
105
+ * <p>The request references a resource that does not exist.</p>
106
+ */
107
+ export declare class ResourceNotFoundException extends __BaseException {
108
+ readonly name: "ResourceNotFoundException";
109
+ readonly $fault: "client";
110
+ /**
111
+ * <p>The resource ID.</p>
112
+ */
113
+ resourceId: string | undefined;
114
+ /**
115
+ * <p>The resource type.</p>
116
+ */
117
+ resourceType: string | undefined;
118
+ /**
119
+ * @internal
120
+ */
121
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
122
+ }
123
+ /**
124
+ * @public
125
+ * <p>The limit on the number of requests per second was exceeded.</p>
126
+ */
127
+ export declare class ThrottlingException extends __BaseException {
128
+ readonly name: "ThrottlingException";
129
+ readonly $fault: "client";
130
+ $retryable: {
131
+ throttling: boolean;
132
+ };
133
+ /**
134
+ * <p>The service code.</p>
135
+ */
136
+ serviceCode?: string;
137
+ /**
138
+ * <p>The ID of the service quota that was exceeded.</p>
139
+ */
140
+ quotaCode?: string;
141
+ /**
142
+ * <p>The number of seconds to wait before retrying.</p>
143
+ */
144
+ retryAfterSeconds?: number;
145
+ /**
146
+ * @internal
147
+ */
148
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
149
+ }
150
+ /**
151
+ * @public
152
+ * <p>Describes a validation failure.</p>
153
+ */
154
+ export interface ValidationExceptionField {
155
+ /**
156
+ * <p>The name of the validation exception.</p>
157
+ */
158
+ name: string | undefined;
159
+ /**
160
+ * <p>Additional details about why the validation failed.</p>
161
+ */
162
+ message: string | undefined;
163
+ }
164
+ /**
165
+ * @public
166
+ * @enum
167
+ */
168
+ export declare const ValidationExceptionReason: {
169
+ readonly CANNOT_PARSE: "cannotParse";
170
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
171
+ readonly OTHER: "other";
172
+ readonly UNKNOWN_OPERATION: "unknownOperation";
173
+ };
174
+ /**
175
+ * @public
176
+ */
177
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
178
+ /**
179
+ * @public
180
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services
181
+ * service.</p>
182
+ */
183
+ export declare class ValidationException extends __BaseException {
184
+ readonly name: "ValidationException";
185
+ readonly $fault: "client";
186
+ /**
187
+ * <p>The reason.</p>
188
+ */
189
+ reason: ValidationExceptionReason | string | undefined;
190
+ /**
191
+ * <p>The fields that failed validation.</p>
192
+ */
193
+ fieldList?: ValidationExceptionField[];
194
+ /**
195
+ * @internal
196
+ */
197
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
198
+ }
199
+ /**
200
+ * @public
201
+ */
202
+ export interface DeleteAccessLogSubscriptionRequest {
203
+ /**
204
+ * <p>The ID or Amazon Resource Name (ARN) of the access log subscription.</p>
205
+ */
206
+ accessLogSubscriptionIdentifier: string | undefined;
207
+ }
208
+ /**
209
+ * @public
210
+ */
211
+ export interface DeleteAccessLogSubscriptionResponse {
212
+ }
213
+ /**
214
+ * @public
215
+ */
216
+ export interface GetAccessLogSubscriptionRequest {
217
+ /**
218
+ * <p>The ID or Amazon Resource Name (ARN) of the access log subscription.</p>
219
+ */
220
+ accessLogSubscriptionIdentifier: string | undefined;
221
+ }
222
+ /**
223
+ * @public
224
+ */
225
+ export interface GetAccessLogSubscriptionResponse {
226
+ /**
227
+ * <p>The ID of the access log subscription.</p>
228
+ */
229
+ id: string | undefined;
230
+ /**
231
+ * <p>The Amazon Resource Name (ARN) of the access log subscription.</p>
232
+ */
233
+ arn: string | undefined;
234
+ /**
235
+ * <p>The ID of the service network or service.</p>
236
+ */
237
+ resourceId: string | undefined;
238
+ /**
239
+ * <p>The Amazon Resource Name (ARN) of the service network or service.</p>
240
+ */
241
+ resourceArn: string | undefined;
242
+ /**
243
+ * <p>The Amazon Resource Name (ARN) of the access log destination.</p>
244
+ */
245
+ destinationArn: string | undefined;
246
+ /**
247
+ * <p>The date and time that the access log subscription was created, specified in ISO-8601
248
+ * format.</p>
249
+ */
250
+ createdAt: Date | undefined;
251
+ /**
252
+ * <p>The date and time that the access log subscription was last updated, specified in ISO-8601
253
+ * format.</p>
254
+ */
255
+ lastUpdatedAt: Date | undefined;
256
+ }
257
+ /**
258
+ * @public
259
+ */
260
+ export interface ListAccessLogSubscriptionsRequest {
261
+ /**
262
+ * <p>The ID or Amazon Resource Name (ARN) of the service network or service.</p>
263
+ */
264
+ resourceIdentifier: string | undefined;
265
+ /**
266
+ * <p>The maximum number of results to return.</p>
267
+ */
268
+ maxResults?: number;
269
+ /**
270
+ * <p>A pagination token for the next page of results.</p>
271
+ */
272
+ nextToken?: string;
273
+ }
274
+ /**
275
+ * @public
276
+ * <p>Summary information about an access log subscription.</p>
277
+ */
278
+ export interface AccessLogSubscriptionSummary {
279
+ /**
280
+ * <p>The ID of the access log subscription.</p>
281
+ */
282
+ id: string | undefined;
283
+ /**
284
+ * <p>The Amazon Resource Name (ARN) of the access log subscription</p>
285
+ */
286
+ arn: string | undefined;
287
+ /**
288
+ * <p>The ID of the service or service network.</p>
289
+ */
290
+ resourceId: string | undefined;
291
+ /**
292
+ * <p>The Amazon Resource Name (ARN) of the service or service network.</p>
293
+ */
294
+ resourceArn: string | undefined;
295
+ /**
296
+ * <p>The Amazon Resource Name (ARN) of the destination.</p>
297
+ */
298
+ destinationArn: string | undefined;
299
+ /**
300
+ * <p>The date and time that the access log subscription was created, specified in ISO-8601
301
+ * format.</p>
302
+ */
303
+ createdAt: Date | undefined;
304
+ /**
305
+ * <p>The date and time that the access log subscription was last updated, specified in ISO-8601
306
+ * format.</p>
307
+ */
308
+ lastUpdatedAt: Date | undefined;
309
+ }
310
+ /**
311
+ * @public
312
+ */
313
+ export interface ListAccessLogSubscriptionsResponse {
314
+ /**
315
+ * <p>The access log subscriptions.</p>
316
+ */
317
+ items: AccessLogSubscriptionSummary[] | undefined;
318
+ /**
319
+ * <p>A pagination token for the next page of results.</p>
320
+ */
321
+ nextToken?: string;
322
+ }
323
+ /**
324
+ * @public
325
+ */
326
+ export interface UpdateAccessLogSubscriptionRequest {
327
+ /**
328
+ * <p>The ID or Amazon Resource Name (ARN) of the access log subscription.</p>
329
+ */
330
+ accessLogSubscriptionIdentifier: string | undefined;
331
+ /**
332
+ * <p>The Amazon Resource Name (ARN) of the access log destination.</p>
333
+ */
334
+ destinationArn: string | undefined;
335
+ }
336
+ /**
337
+ * @public
338
+ */
339
+ export interface UpdateAccessLogSubscriptionResponse {
340
+ /**
341
+ * <p>The ID of the access log subscription.</p>
342
+ */
343
+ id: string | undefined;
344
+ /**
345
+ * <p>The Amazon Resource Name (ARN) of the access log subscription.</p>
346
+ */
347
+ arn: string | undefined;
348
+ /**
349
+ * <p>The ID of the resource.</p>
350
+ */
351
+ resourceId: string | undefined;
352
+ /**
353
+ * <p>The Amazon Resource Name (ARN) of the access log subscription.</p>
354
+ */
355
+ resourceArn: string | undefined;
356
+ /**
357
+ * <p>The Amazon Resource Name (ARN) of the access log destination.</p>
358
+ */
359
+ destinationArn: string | undefined;
360
+ }
361
+ /**
362
+ * @public
363
+ * @enum
364
+ */
365
+ export declare const AuthPolicyState: {
366
+ readonly Active: "Active";
367
+ readonly Inactive: "Inactive";
368
+ };
369
+ /**
370
+ * @public
371
+ */
372
+ export type AuthPolicyState = (typeof AuthPolicyState)[keyof typeof AuthPolicyState];
373
+ /**
374
+ * @public
375
+ * @enum
376
+ */
377
+ export declare const AuthType: {
378
+ readonly AWS_IAM: "AWS_IAM";
379
+ readonly NONE: "NONE";
380
+ };
381
+ /**
382
+ * @public
383
+ */
384
+ export type AuthType = (typeof AuthType)[keyof typeof AuthType];
385
+ /**
386
+ * @public
387
+ * <p>Information about an action that returns a custom HTTP response. </p>
388
+ */
389
+ export interface FixedResponseAction {
390
+ /**
391
+ * <p>The HTTP response code.</p>
392
+ */
393
+ statusCode: number | undefined;
394
+ }
395
+ /**
396
+ * @public
397
+ * <p>Describes the weight of a target group.</p>
398
+ */
399
+ export interface WeightedTargetGroup {
400
+ /**
401
+ * <p>The ID or Amazon Resource Name (ARN) of the target group.</p>
402
+ */
403
+ targetGroupIdentifier: string | undefined;
404
+ /**
405
+ * <p>Only required if you specify multiple target groups for a forward action. The "weight"
406
+ * determines how requests are distributed to the target group. For example, if you specify two
407
+ * target groups, each with a weight of 10, each target group receives half the requests. If you
408
+ * specify two target groups, one with a weight of 10 and the other with a weight of 20, the target
409
+ * group with a weight of 20 receives twice as many requests as the other target group. If there's
410
+ * only one target group specified, then the default value is 100.</p>
411
+ */
412
+ weight?: number;
413
+ }
414
+ /**
415
+ * @public
416
+ * <p>Describes a forward action. You can use forward actions to route requests to one or more
417
+ * target groups.
418
+ * </p>
419
+ */
420
+ export interface ForwardAction {
421
+ /**
422
+ * <p>The target groups. Traffic matching the rule is forwarded to the specified target groups.
423
+ * With forward actions, you can assign a weight that controls the prioritization and selection of
424
+ * each target group. This means that requests are distributed to individual target groups based on
425
+ * their weights. For example, if two target groups have the same weight, each target group receives
426
+ * half of the traffic.</p>
427
+ * <p>The default value is 1. This means that if only one target group is provided, there is no
428
+ * need to set the weight; 100% of traffic will go to that target group.</p>
429
+ */
430
+ targetGroups: WeightedTargetGroup[] | undefined;
431
+ }
432
+ /**
433
+ * @public
434
+ * <p>Describes the action for a rule. Each rule must include exactly one of the following types
435
+ * of actions: <code>forward </code>or <code>fixed-response</code>, and it must be the last action
436
+ * to be performed.</p>
437
+ */
438
+ export type RuleAction = RuleAction.FixedResponseMember | RuleAction.ForwardMember | RuleAction.$UnknownMember;
439
+ /**
440
+ * @public
441
+ */
442
+ export declare namespace RuleAction {
443
+ /**
444
+ * <p>The forward action. Traffic that matches the rule is forwarded to the specified target
445
+ * groups.</p>
446
+ */
447
+ interface ForwardMember {
448
+ forward: ForwardAction;
449
+ fixedResponse?: never;
450
+ $unknown?: never;
451
+ }
452
+ /**
453
+ * <p> Describes the rule action that returns a custom HTTP response. </p>
454
+ */
455
+ interface FixedResponseMember {
456
+ forward?: never;
457
+ fixedResponse: FixedResponseAction;
458
+ $unknown?: never;
459
+ }
460
+ interface $UnknownMember {
461
+ forward?: never;
462
+ fixedResponse?: never;
463
+ $unknown: [string, any];
464
+ }
465
+ interface Visitor<T> {
466
+ forward: (value: ForwardAction) => T;
467
+ fixedResponse: (value: FixedResponseAction) => T;
468
+ _: (name: string, value: any) => T;
469
+ }
470
+ const visit: <T>(value: RuleAction, visitor: Visitor<T>) => T;
471
+ }
472
+ /**
473
+ * @public
474
+ * <p>Describes a header match type. Only one can be provided.</p>
475
+ */
476
+ export type HeaderMatchType = HeaderMatchType.ContainsMember | HeaderMatchType.ExactMember | HeaderMatchType.PrefixMember | HeaderMatchType.$UnknownMember;
477
+ /**
478
+ * @public
479
+ */
480
+ export declare namespace HeaderMatchType {
481
+ /**
482
+ * <p>Specifies an exact type match.</p>
483
+ */
484
+ interface ExactMember {
485
+ exact: string;
486
+ prefix?: never;
487
+ contains?: never;
488
+ $unknown?: never;
489
+ }
490
+ /**
491
+ * <p>Specifies a prefix type match. Matches the value with the prefix.</p>
492
+ */
493
+ interface PrefixMember {
494
+ exact?: never;
495
+ prefix: string;
496
+ contains?: never;
497
+ $unknown?: never;
498
+ }
499
+ /**
500
+ * <p>Specifies a contains type match.</p>
501
+ */
502
+ interface ContainsMember {
503
+ exact?: never;
504
+ prefix?: never;
505
+ contains: string;
506
+ $unknown?: never;
507
+ }
508
+ interface $UnknownMember {
509
+ exact?: never;
510
+ prefix?: never;
511
+ contains?: never;
512
+ $unknown: [string, any];
513
+ }
514
+ interface Visitor<T> {
515
+ exact: (value: string) => T;
516
+ prefix: (value: string) => T;
517
+ contains: (value: string) => T;
518
+ _: (name: string, value: any) => T;
519
+ }
520
+ const visit: <T>(value: HeaderMatchType, visitor: Visitor<T>) => T;
521
+ }
522
+ /**
523
+ * @public
524
+ * <p>Describes the constraints for a header match. Matches incoming requests with rule based on
525
+ * request header value before applying rule action.</p>
526
+ */
527
+ export interface HeaderMatch {
528
+ /**
529
+ * <p>The name of the header.</p>
530
+ */
531
+ name: string | undefined;
532
+ /**
533
+ * <p>The header match type.</p>
534
+ */
535
+ match: HeaderMatchType | undefined;
536
+ /**
537
+ * <p>Indicates whether the match is case sensitive. Defaults to false.</p>
538
+ */
539
+ caseSensitive?: boolean;
540
+ }
541
+ /**
542
+ * @public
543
+ * <p>Describes a path match type. Each rule can include only one of the following types of
544
+ * paths.</p>
545
+ */
546
+ export type PathMatchType = PathMatchType.ExactMember | PathMatchType.PrefixMember | PathMatchType.$UnknownMember;
547
+ /**
548
+ * @public
549
+ */
550
+ export declare namespace PathMatchType {
551
+ /**
552
+ * <p>An exact match of the path.</p>
553
+ */
554
+ interface ExactMember {
555
+ exact: string;
556
+ prefix?: never;
557
+ $unknown?: never;
558
+ }
559
+ /**
560
+ * <p>A prefix match of the path.</p>
561
+ */
562
+ interface PrefixMember {
563
+ exact?: never;
564
+ prefix: string;
565
+ $unknown?: never;
566
+ }
567
+ interface $UnknownMember {
568
+ exact?: never;
569
+ prefix?: never;
570
+ $unknown: [string, any];
571
+ }
572
+ interface Visitor<T> {
573
+ exact: (value: string) => T;
574
+ prefix: (value: string) => T;
575
+ _: (name: string, value: any) => T;
576
+ }
577
+ const visit: <T>(value: PathMatchType, visitor: Visitor<T>) => T;
578
+ }
579
+ /**
580
+ * @public
581
+ * <p>Describes the conditions that can be applied when matching a path for incoming
582
+ * requests.</p>
583
+ */
584
+ export interface PathMatch {
585
+ /**
586
+ * <p>The type of path match.</p>
587
+ */
588
+ match: PathMatchType | undefined;
589
+ /**
590
+ * <p>Indicates whether the match is case sensitive. Defaults to false.</p>
591
+ */
592
+ caseSensitive?: boolean;
593
+ }
594
+ /**
595
+ * @public
596
+ * <p>Describes criteria that can be applied to incoming requests.</p>
597
+ */
598
+ export interface HttpMatch {
599
+ /**
600
+ * <p>The HTTP method type.</p>
601
+ */
602
+ method?: string;
603
+ /**
604
+ * <p>The path match.</p>
605
+ */
606
+ pathMatch?: PathMatch;
607
+ /**
608
+ * <p>The header matches. Matches incoming requests with rule based on request header value before
609
+ * applying rule action.</p>
610
+ */
611
+ headerMatches?: HeaderMatch[];
612
+ }
613
+ /**
614
+ * @public
615
+ * <p>Describes a rule match.</p>
616
+ */
617
+ export type RuleMatch = RuleMatch.HttpMatchMember | RuleMatch.$UnknownMember;
618
+ /**
619
+ * @public
620
+ */
621
+ export declare namespace RuleMatch {
622
+ /**
623
+ * <p>The HTTP criteria that a rule must match.</p>
624
+ */
625
+ interface HttpMatchMember {
626
+ httpMatch: HttpMatch;
627
+ $unknown?: never;
628
+ }
629
+ interface $UnknownMember {
630
+ httpMatch?: never;
631
+ $unknown: [string, any];
632
+ }
633
+ interface Visitor<T> {
634
+ httpMatch: (value: HttpMatch) => T;
635
+ _: (name: string, value: any) => T;
636
+ }
637
+ const visit: <T>(value: RuleMatch, visitor: Visitor<T>) => T;
638
+ }
639
+ /**
640
+ * @public
641
+ * <p>Represents an object when updating a rule.</p>
642
+ */
643
+ export interface RuleUpdate {
644
+ /**
645
+ * <p>The ID or Amazon Resource Name (ARN) of the rule.</p>
646
+ */
647
+ ruleIdentifier: string | undefined;
648
+ /**
649
+ * <p>The rule match.</p>
650
+ */
651
+ match?: RuleMatch;
652
+ /**
653
+ * <p>The rule priority. A listener can't have multiple rules with the same priority.</p>
654
+ */
655
+ priority?: number;
656
+ /**
657
+ * <p>The rule action.</p>
658
+ */
659
+ action?: RuleAction;
660
+ }
661
+ /**
662
+ * @public
663
+ */
664
+ export interface BatchUpdateRuleRequest {
665
+ /**
666
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
667
+ */
668
+ serviceIdentifier: string | undefined;
669
+ /**
670
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
671
+ */
672
+ listenerIdentifier: string | undefined;
673
+ /**
674
+ * <p>The rules for the specified listener.</p>
675
+ */
676
+ rules: RuleUpdate[] | undefined;
677
+ }
678
+ /**
679
+ * @public
680
+ * <p>Describes a successful rule update.</p>
681
+ */
682
+ export interface RuleUpdateSuccess {
683
+ /**
684
+ * <p>The Amazon Resource Name (ARN) of the listener.</p>
685
+ */
686
+ arn?: string;
687
+ /**
688
+ * <p>The ID of the listener.</p>
689
+ */
690
+ id?: string;
691
+ /**
692
+ * <p>The name of the listener.</p>
693
+ */
694
+ name?: string;
695
+ /**
696
+ * <p>Indicates whether this is the default rule.</p>
697
+ */
698
+ isDefault?: boolean;
699
+ /**
700
+ * <p>The rule match.</p>
701
+ */
702
+ match?: RuleMatch;
703
+ /**
704
+ * <p>The rule priority.</p>
705
+ */
706
+ priority?: number;
707
+ /**
708
+ * <p>The action for the default rule.</p>
709
+ */
710
+ action?: RuleAction;
711
+ }
712
+ /**
713
+ * @public
714
+ * <p>Describes a rule update that failed.</p>
715
+ */
716
+ export interface RuleUpdateFailure {
717
+ /**
718
+ * <p>The ID or Amazon Resource Name (ARN) of the rule.</p>
719
+ */
720
+ ruleIdentifier?: string;
721
+ /**
722
+ * <p>The failure code.</p>
723
+ */
724
+ failureCode?: string;
725
+ /**
726
+ * <p>The failure message.</p>
727
+ */
728
+ failureMessage?: string;
729
+ }
730
+ /**
731
+ * @public
732
+ */
733
+ export interface BatchUpdateRuleResponse {
734
+ /**
735
+ * <p>The rules that were successfully updated.</p>
736
+ */
737
+ successful?: RuleUpdateSuccess[];
738
+ /**
739
+ * <p>The rules that the operation couldn't update.</p>
740
+ */
741
+ unsuccessful?: RuleUpdateFailure[];
742
+ }
743
+ /**
744
+ * @public
745
+ * @enum
746
+ */
747
+ export declare const ListenerProtocol: {
748
+ /**
749
+ * Indicates HTTP protocol
750
+ */
751
+ readonly HTTP: "HTTP";
752
+ /**
753
+ * Indicates HTTPS protocol
754
+ */
755
+ readonly HTTPS: "HTTPS";
756
+ };
757
+ /**
758
+ * @public
759
+ */
760
+ export type ListenerProtocol = (typeof ListenerProtocol)[keyof typeof ListenerProtocol];
761
+ /**
762
+ * @public
763
+ */
764
+ export interface CreateListenerRequest {
765
+ /**
766
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
767
+ */
768
+ serviceIdentifier: string | undefined;
769
+ /**
770
+ * <p>The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a
771
+ * hyphen as the first or last character, or immediately after another hyphen.</p>
772
+ */
773
+ name: string | undefined;
774
+ /**
775
+ * <p>The listener protocol HTTP or HTTPS.</p>
776
+ */
777
+ protocol: ListenerProtocol | string | undefined;
778
+ /**
779
+ * <p>The listener port. You can specify a value from <code>1</code> to <code>65535</code>. For
780
+ * HTTP, the default is <code>80</code>. For HTTPS, the default is <code>443</code>.</p>
781
+ */
782
+ port?: number;
783
+ /**
784
+ * <p>The action for the default rule. Each listener has a default rule. Each rule consists of a
785
+ * priority, one or more actions, and one or more conditions. The default rule is the rule that's
786
+ * used if no other rules match. Each rule must include exactly one of the following types of
787
+ * actions: <code>forward </code>or <code>fixed-response</code>, and it must be the last action to
788
+ * be performed. </p>
789
+ */
790
+ defaultAction: RuleAction | undefined;
791
+ /**
792
+ * <p>A unique, case-sensitive identifier that you provide to ensure
793
+ * the idempotency of the request. If you retry a request that completed successfully using
794
+ * the same client token and parameters, the retry succeeds without performing any actions.
795
+ * If the parameters aren't identical, the retry fails.</p>
796
+ */
797
+ clientToken?: string;
798
+ /**
799
+ * <p>The tags for the listener.</p>
800
+ */
801
+ tags?: Record<string, string>;
802
+ }
803
+ /**
804
+ * @public
805
+ */
806
+ export interface CreateListenerResponse {
807
+ /**
808
+ * <p>The Amazon Resource Name (ARN) of the listener.</p>
809
+ */
810
+ arn?: string;
811
+ /**
812
+ * <p>The ID of the listener.</p>
813
+ */
814
+ id?: string;
815
+ /**
816
+ * <p>The name of the listener.</p>
817
+ */
818
+ name?: string;
819
+ /**
820
+ * <p>The protocol of the listener.</p>
821
+ */
822
+ protocol?: ListenerProtocol | string;
823
+ /**
824
+ * <p>The port number of the listener.</p>
825
+ */
826
+ port?: number;
827
+ /**
828
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
829
+ */
830
+ serviceArn?: string;
831
+ /**
832
+ * <p>The ID of the service.</p>
833
+ */
834
+ serviceId?: string;
835
+ /**
836
+ * <p>The action for the default rule.</p>
837
+ */
838
+ defaultAction?: RuleAction;
839
+ }
840
+ /**
841
+ * @public
842
+ * <p>The request would cause a service quota to be exceeded.</p>
843
+ */
844
+ export declare class ServiceQuotaExceededException extends __BaseException {
845
+ readonly name: "ServiceQuotaExceededException";
846
+ readonly $fault: "client";
847
+ /**
848
+ * <p>The resource ID.</p>
849
+ */
850
+ resourceId?: string;
851
+ /**
852
+ * <p>The resource type.</p>
853
+ */
854
+ resourceType: string | undefined;
855
+ /**
856
+ * <p>The service code.</p>
857
+ */
858
+ serviceCode: string | undefined;
859
+ /**
860
+ * <p>The ID of the service quota that was exceeded.</p>
861
+ */
862
+ quotaCode: string | undefined;
863
+ /**
864
+ * @internal
865
+ */
866
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
867
+ }
868
+ /**
869
+ * @public
870
+ */
871
+ export interface CreateRuleRequest {
872
+ /**
873
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
874
+ */
875
+ serviceIdentifier: string | undefined;
876
+ /**
877
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
878
+ */
879
+ listenerIdentifier: string | undefined;
880
+ /**
881
+ * <p>The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a
882
+ * hyphen as the first or last character, or immediately after another hyphen.</p>
883
+ */
884
+ name: string | undefined;
885
+ /**
886
+ * <p>The rule match.</p>
887
+ */
888
+ match: RuleMatch | undefined;
889
+ /**
890
+ * <p>The priority assigned to the rule. Each rule for a specific listener must have a unique
891
+ * priority. The lower the priority number the higher the priority.</p>
892
+ */
893
+ priority: number | undefined;
894
+ /**
895
+ * <p>The action for the default rule.</p>
896
+ */
897
+ action: RuleAction | undefined;
898
+ /**
899
+ * <p>A unique, case-sensitive identifier that you provide to ensure
900
+ * the idempotency of the request. If you retry a request that completed successfully using
901
+ * the same client token and parameters, the retry succeeds without performing any actions.
902
+ * If the parameters aren't identical, the retry fails.</p>
903
+ */
904
+ clientToken?: string;
905
+ /**
906
+ * <p>The tags for the rule.</p>
907
+ */
908
+ tags?: Record<string, string>;
909
+ }
910
+ /**
911
+ * @public
912
+ */
913
+ export interface CreateRuleResponse {
914
+ /**
915
+ * <p>The Amazon Resource Name (ARN) of the rule.</p>
916
+ */
917
+ arn?: string;
918
+ /**
919
+ * <p>The ID of the rule.</p>
920
+ */
921
+ id?: string;
922
+ /**
923
+ * <p>The name of the rule.</p>
924
+ */
925
+ name?: string;
926
+ /**
927
+ * <p>The rule match. The <code>RuleMatch</code> must be an <code>HttpMatch</code>. This means
928
+ * that the rule should be an exact match on HTTP constraints which are made up of the HTTP method,
929
+ * path, and header.</p>
930
+ */
931
+ match?: RuleMatch;
932
+ /**
933
+ * <p>The priority assigned to the rule. The lower the priority number the higher the
934
+ * priority.</p>
935
+ */
936
+ priority?: number;
937
+ /**
938
+ * <p>The rule action. Each rule must include exactly one of the following types of actions:
939
+ * <code>forward </code>or <code>fixed-response</code>, and it must be the last action to be
940
+ * performed.</p>
941
+ */
942
+ action?: RuleAction;
943
+ }
944
+ /**
945
+ * @public
946
+ */
947
+ export interface CreateServiceRequest {
948
+ /**
949
+ * <p>A unique, case-sensitive identifier that you provide to ensure
950
+ * the idempotency of the request. If you retry a request that completed successfully using
951
+ * the same client token and parameters, the retry succeeds without performing any actions.
952
+ * If the parameters aren't identical, the retry fails.</p>
953
+ */
954
+ clientToken?: string;
955
+ /**
956
+ * <p>The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a
957
+ * hyphen as the first or last character, or immediately after another hyphen.</p>
958
+ */
959
+ name: string | undefined;
960
+ /**
961
+ * <p>The tags for the service.</p>
962
+ */
963
+ tags?: Record<string, string>;
964
+ /**
965
+ * <p>The custom domain name of the service.</p>
966
+ */
967
+ customDomainName?: string;
968
+ /**
969
+ * <p>The Amazon Resource Name (ARN) of the certificate.</p>
970
+ */
971
+ certificateArn?: string;
972
+ /**
973
+ * <p>The type of IAM policy.</p>
974
+ * <ul>
975
+ * <li>
976
+ * <p>
977
+ * <code>NONE</code>: The resource does not use an IAM policy. This is the default.</p>
978
+ * </li>
979
+ * <li>
980
+ * <p>
981
+ * <code>AWS_IAM</code>: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.</p>
982
+ * </li>
983
+ * </ul>
984
+ */
985
+ authType?: AuthType | string;
986
+ }
987
+ /**
988
+ * @public
989
+ * <p>Describes the DNS information of a service.</p>
990
+ */
991
+ export interface DnsEntry {
992
+ /**
993
+ * <p>The domain name of the service.</p>
994
+ */
995
+ domainName?: string;
996
+ /**
997
+ * <p>The ID of the hosted zone.</p>
998
+ */
999
+ hostedZoneId?: string;
1000
+ }
1001
+ /**
1002
+ * @public
1003
+ * @enum
1004
+ */
1005
+ export declare const ServiceStatus: {
1006
+ /**
1007
+ * Service is active.
1008
+ */
1009
+ readonly ACTIVE: "ACTIVE";
1010
+ /**
1011
+ * Service creation failed
1012
+ */
1013
+ readonly CREATE_FAILED: "CREATE_FAILED";
1014
+ /**
1015
+ * Service creation in progress.
1016
+ */
1017
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1018
+ /**
1019
+ * Service deletion failed.
1020
+ */
1021
+ readonly DELETE_FAILED: "DELETE_FAILED";
1022
+ /**
1023
+ * Service deletion in progress
1024
+ */
1025
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1026
+ };
1027
+ /**
1028
+ * @public
1029
+ */
1030
+ export type ServiceStatus = (typeof ServiceStatus)[keyof typeof ServiceStatus];
1031
+ /**
1032
+ * @public
1033
+ */
1034
+ export interface CreateServiceResponse {
1035
+ /**
1036
+ * <p>The ID of the service.</p>
1037
+ */
1038
+ id?: string;
1039
+ /**
1040
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
1041
+ */
1042
+ arn?: string;
1043
+ /**
1044
+ * <p>The name of the service.</p>
1045
+ */
1046
+ name?: string;
1047
+ /**
1048
+ * <p>The custom domain name of the service.</p>
1049
+ */
1050
+ customDomainName?: string;
1051
+ /**
1052
+ * <p>The Amazon Resource Name (ARN) of the certificate.</p>
1053
+ */
1054
+ certificateArn?: string;
1055
+ /**
1056
+ * <p>The status. If the status is <code>CREATE_FAILED</code>, you will have to delete and
1057
+ * recreate the service.</p>
1058
+ */
1059
+ status?: ServiceStatus | string;
1060
+ /**
1061
+ * <p>The type of IAM policy.</p>
1062
+ */
1063
+ authType?: AuthType | string;
1064
+ /**
1065
+ * <p>The public DNS name of the service.</p>
1066
+ */
1067
+ dnsEntry?: DnsEntry;
1068
+ }
1069
+ /**
1070
+ * @public
1071
+ */
1072
+ export interface CreateServiceNetworkRequest {
1073
+ /**
1074
+ * <p>A unique, case-sensitive identifier that you provide to ensure
1075
+ * the idempotency of the request. If you retry a request that completed successfully using
1076
+ * the same client token and parameters, the retry succeeds without performing any actions.
1077
+ * If the parameters aren't identical, the retry fails.</p>
1078
+ */
1079
+ clientToken?: string;
1080
+ /**
1081
+ * <p>The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a
1082
+ * hyphen as the first or last character, or immediately after another hyphen.</p>
1083
+ */
1084
+ name: string | undefined;
1085
+ /**
1086
+ * <p>The type of IAM policy.</p>
1087
+ * <ul>
1088
+ * <li>
1089
+ * <p>
1090
+ * <code>NONE</code>: The resource does not use an IAM policy. This is the default.</p>
1091
+ * </li>
1092
+ * <li>
1093
+ * <p>
1094
+ * <code>AWS_IAM</code>: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.</p>
1095
+ * </li>
1096
+ * </ul>
1097
+ */
1098
+ authType?: AuthType | string;
1099
+ /**
1100
+ * <p>The tags for the service network.</p>
1101
+ */
1102
+ tags?: Record<string, string>;
1103
+ }
1104
+ /**
1105
+ * @public
1106
+ */
1107
+ export interface CreateServiceNetworkResponse {
1108
+ /**
1109
+ * <p>The ID of the service network.</p>
1110
+ */
1111
+ id?: string;
1112
+ /**
1113
+ * <p>The name of the service network.</p>
1114
+ */
1115
+ name?: string;
1116
+ /**
1117
+ * <p>The Amazon Resource Name (ARN) of the service network.</p>
1118
+ */
1119
+ arn?: string;
1120
+ /**
1121
+ * <p>The type of IAM policy.</p>
1122
+ */
1123
+ authType?: AuthType | string;
1124
+ }
1125
+ /**
1126
+ * @public
1127
+ */
1128
+ export interface CreateServiceNetworkServiceAssociationRequest {
1129
+ /**
1130
+ * <p>A unique, case-sensitive identifier that you provide to ensure
1131
+ * the idempotency of the request. If you retry a request that completed successfully using
1132
+ * the same client token and parameters, the retry succeeds without performing any actions.
1133
+ * If the parameters aren't identical, the retry fails.</p>
1134
+ */
1135
+ clientToken?: string;
1136
+ /**
1137
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
1138
+ */
1139
+ serviceIdentifier: string | undefined;
1140
+ /**
1141
+ * <p>The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN if the
1142
+ * resources specified in the operation are in different accounts.</p>
1143
+ */
1144
+ serviceNetworkIdentifier: string | undefined;
1145
+ /**
1146
+ * <p>The tags for the association.</p>
1147
+ */
1148
+ tags?: Record<string, string>;
1149
+ }
1150
+ /**
1151
+ * @public
1152
+ * @enum
1153
+ */
1154
+ export declare const ServiceNetworkServiceAssociationStatus: {
1155
+ /**
1156
+ * ServiceNetwork and Service association is active
1157
+ */
1158
+ readonly ACTIVE: "ACTIVE";
1159
+ /**
1160
+ * ServiceNetwork and Service association creation failed.
1161
+ */
1162
+ readonly CREATE_FAILED: "CREATE_FAILED";
1163
+ /**
1164
+ * ServiceNetwork and Service association creation in progress
1165
+ */
1166
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1167
+ /**
1168
+ * ServiceNetwork and Service association deletion failed
1169
+ */
1170
+ readonly DELETE_FAILED: "DELETE_FAILED";
1171
+ /**
1172
+ * ServiceNetwork and Service association deletion in progress
1173
+ */
1174
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1175
+ };
1176
+ /**
1177
+ * @public
1178
+ */
1179
+ export type ServiceNetworkServiceAssociationStatus = (typeof ServiceNetworkServiceAssociationStatus)[keyof typeof ServiceNetworkServiceAssociationStatus];
1180
+ /**
1181
+ * @public
1182
+ */
1183
+ export interface CreateServiceNetworkServiceAssociationResponse {
1184
+ /**
1185
+ * <p>The ID of the association.</p>
1186
+ */
1187
+ id?: string;
1188
+ /**
1189
+ * <p>The operation's status.</p>
1190
+ */
1191
+ status?: ServiceNetworkServiceAssociationStatus | string;
1192
+ /**
1193
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
1194
+ */
1195
+ arn?: string;
1196
+ /**
1197
+ * <p>The account that created the association.</p>
1198
+ */
1199
+ createdBy?: string;
1200
+ /**
1201
+ * <p>The custom domain name of the service.</p>
1202
+ */
1203
+ customDomainName?: string;
1204
+ /**
1205
+ * <p>The DNS name of the service.</p>
1206
+ */
1207
+ dnsEntry?: DnsEntry;
1208
+ }
1209
+ /**
1210
+ * @public
1211
+ */
1212
+ export interface CreateServiceNetworkVpcAssociationRequest {
1213
+ /**
1214
+ * <p>A unique, case-sensitive identifier that you provide to ensure
1215
+ * the idempotency of the request. If you retry a request that completed successfully using
1216
+ * the same client token and parameters, the retry succeeds without performing any actions.
1217
+ * If the parameters aren't identical, the retry fails.</p>
1218
+ */
1219
+ clientToken?: string;
1220
+ /**
1221
+ * <p>The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the
1222
+ * resources specified in the operation are in different accounts.</p>
1223
+ */
1224
+ serviceNetworkIdentifier: string | undefined;
1225
+ /**
1226
+ * <p>The ID of the VPC.</p>
1227
+ */
1228
+ vpcIdentifier: string | undefined;
1229
+ /**
1230
+ * <p>The IDs of the security groups. Security groups aren't added by default. You can add a
1231
+ * security group to apply network level controls to control which resources in a VPC are allowed to
1232
+ * access the service network and its services. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html">Control traffic to
1233
+ * resources using security groups</a> in the <i>Amazon VPC User
1234
+ * Guide</i>.</p>
1235
+ */
1236
+ securityGroupIds?: string[];
1237
+ /**
1238
+ * <p>The tags for the association.</p>
1239
+ */
1240
+ tags?: Record<string, string>;
1241
+ }
1242
+ /**
1243
+ * @public
1244
+ * @enum
1245
+ */
1246
+ export declare const ServiceNetworkVpcAssociationStatus: {
1247
+ /**
1248
+ * ServiceNetwork and Vpc association is active
1249
+ */
1250
+ readonly ACTIVE: "ACTIVE";
1251
+ /**
1252
+ * ServiceNetwork and Vpc association creation failed.
1253
+ */
1254
+ readonly CREATE_FAILED: "CREATE_FAILED";
1255
+ /**
1256
+ * ServiceNetwork and Vpc association creation in progress
1257
+ */
1258
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1259
+ /**
1260
+ * ServiceNetwork and Vpc association deletion failed
1261
+ */
1262
+ readonly DELETE_FAILED: "DELETE_FAILED";
1263
+ /**
1264
+ * ServiceNetwork and Vpc association deletion in progress
1265
+ */
1266
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1267
+ /**
1268
+ * ServiceNetwork and Vpc association update failed
1269
+ */
1270
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
1271
+ /**
1272
+ * ServiceNetwork and Vpc association update in progress
1273
+ */
1274
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
1275
+ };
1276
+ /**
1277
+ * @public
1278
+ */
1279
+ export type ServiceNetworkVpcAssociationStatus = (typeof ServiceNetworkVpcAssociationStatus)[keyof typeof ServiceNetworkVpcAssociationStatus];
1280
+ /**
1281
+ * @public
1282
+ */
1283
+ export interface CreateServiceNetworkVpcAssociationResponse {
1284
+ /**
1285
+ * <p>The ID of the association.</p>
1286
+ */
1287
+ id?: string;
1288
+ /**
1289
+ * <p>The operation's status.</p>
1290
+ */
1291
+ status?: ServiceNetworkVpcAssociationStatus | string;
1292
+ /**
1293
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
1294
+ */
1295
+ arn?: string;
1296
+ /**
1297
+ * <p>The account that created the association.</p>
1298
+ */
1299
+ createdBy?: string;
1300
+ /**
1301
+ * <p>The IDs of the security groups.</p>
1302
+ */
1303
+ securityGroupIds?: string[];
1304
+ }
1305
+ /**
1306
+ * @public
1307
+ * <p>The codes to use when checking for a successful response from a target for health
1308
+ * checks.</p>
1309
+ */
1310
+ export type Matcher = Matcher.HttpCodeMember | Matcher.$UnknownMember;
1311
+ /**
1312
+ * @public
1313
+ */
1314
+ export declare namespace Matcher {
1315
+ /**
1316
+ * <p>The HTTP code to use when checking for a successful response from a target.</p>
1317
+ */
1318
+ interface HttpCodeMember {
1319
+ httpCode: string;
1320
+ $unknown?: never;
1321
+ }
1322
+ interface $UnknownMember {
1323
+ httpCode?: never;
1324
+ $unknown: [string, any];
1325
+ }
1326
+ interface Visitor<T> {
1327
+ httpCode: (value: string) => T;
1328
+ _: (name: string, value: any) => T;
1329
+ }
1330
+ const visit: <T>(value: Matcher, visitor: Visitor<T>) => T;
1331
+ }
1332
+ /**
1333
+ * @public
1334
+ * @enum
1335
+ */
1336
+ export declare const TargetGroupProtocol: {
1337
+ /**
1338
+ * Indicates HTTP protocol
1339
+ */
1340
+ readonly HTTP: "HTTP";
1341
+ /**
1342
+ * Indicates HTTPS protocol
1343
+ */
1344
+ readonly HTTPS: "HTTPS";
1345
+ };
1346
+ /**
1347
+ * @public
1348
+ */
1349
+ export type TargetGroupProtocol = (typeof TargetGroupProtocol)[keyof typeof TargetGroupProtocol];
1350
+ /**
1351
+ * @public
1352
+ * @enum
1353
+ */
1354
+ export declare const HealthCheckProtocolVersion: {
1355
+ /**
1356
+ * Indicates use of HTTP/1.1 to send requests to target
1357
+ */
1358
+ readonly HTTP1: "HTTP1";
1359
+ /**
1360
+ * Indicates use of HTTP/2 to send requests to target
1361
+ */
1362
+ readonly HTTP2: "HTTP2";
1363
+ };
1364
+ /**
1365
+ * @public
1366
+ */
1367
+ export type HealthCheckProtocolVersion = (typeof HealthCheckProtocolVersion)[keyof typeof HealthCheckProtocolVersion];
1368
+ /**
1369
+ * @public
1370
+ * <p>The health check configuration of a target group. Health check configurations aren't used
1371
+ * for <code>LAMBDA</code> and <code>ALB</code> target groups.</p>
1372
+ */
1373
+ export interface HealthCheckConfig {
1374
+ /**
1375
+ * <p>Indicates whether health checking is enabled.</p>
1376
+ */
1377
+ enabled?: boolean;
1378
+ /**
1379
+ * <p>The protocol used when performing health checks on targets. The possible protocols are
1380
+ * <code>HTTP</code> and <code>HTTPS</code>. The default is <code>HTTP</code>.</p>
1381
+ */
1382
+ protocol?: TargetGroupProtocol | string;
1383
+ /**
1384
+ * <p>The protocol version used when performing health checks on targets. The possible protocol
1385
+ * versions are <code>HTTP1</code> and <code>HTTP2</code>.</p>
1386
+ */
1387
+ protocolVersion?: HealthCheckProtocolVersion | string;
1388
+ /**
1389
+ * <p>The port used when performing health checks on targets. The default setting is the port that
1390
+ * a target receives traffic on.</p>
1391
+ */
1392
+ port?: number;
1393
+ /**
1394
+ * <p>The destination for health checks on the targets. If the protocol version is
1395
+ * <code>HTTP/1.1</code> or <code>HTTP/2</code>, specify a valid URI (for example,
1396
+ * <code>/path?query</code>). The default path is <code>/</code>. Health checks are not supported
1397
+ * if the protocol version is <code>gRPC</code>, however, you can choose <code>HTTP/1.1</code> or
1398
+ * <code>HTTP/2</code> and specify a valid URI.</p>
1399
+ */
1400
+ path?: string;
1401
+ /**
1402
+ * <p>The approximate amount of time, in seconds, between health checks of an individual target.
1403
+ * The range is 5–300 seconds. The default is 30 seconds.</p>
1404
+ */
1405
+ healthCheckIntervalSeconds?: number;
1406
+ /**
1407
+ * <p>The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is
1408
+ * 1–120 seconds. The default is 5 seconds.</p>
1409
+ */
1410
+ healthCheckTimeoutSeconds?: number;
1411
+ /**
1412
+ * <p>The number of consecutive successful health checks required before considering an unhealthy
1413
+ * target healthy. The range is 2–10. The default is 5.</p>
1414
+ */
1415
+ healthyThresholdCount?: number;
1416
+ /**
1417
+ * <p>The number of consecutive failed health checks required before considering a target
1418
+ * unhealthy. The range is 2–10. The default is 2.</p>
1419
+ */
1420
+ unhealthyThresholdCount?: number;
1421
+ /**
1422
+ * <p>The codes to use when checking for a successful response from a target. These are called
1423
+ * <i>Success codes</i> in the console.</p>
1424
+ */
1425
+ matcher?: Matcher;
1426
+ }
1427
+ /**
1428
+ * @public
1429
+ * @enum
1430
+ */
1431
+ export declare const IpAddressType: {
1432
+ /**
1433
+ * Indicates IPv4 address type
1434
+ */
1435
+ readonly IPV4: "IPV4";
1436
+ /**
1437
+ * Indicates IPv6 address type
1438
+ */
1439
+ readonly IPV6: "IPV6";
1440
+ };
1441
+ /**
1442
+ * @public
1443
+ */
1444
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
1445
+ /**
1446
+ * @public
1447
+ * @enum
1448
+ */
1449
+ export declare const TargetGroupProtocolVersion: {
1450
+ /**
1451
+ * Indicates use of gRPC to send requests to target
1452
+ */
1453
+ readonly GRPC: "GRPC";
1454
+ /**
1455
+ * Indicates use of HTTP/1.1 to send requests to target
1456
+ */
1457
+ readonly HTTP1: "HTTP1";
1458
+ /**
1459
+ * Indicates use of HTTP/2 to send requests to target
1460
+ */
1461
+ readonly HTTP2: "HTTP2";
1462
+ };
1463
+ /**
1464
+ * @public
1465
+ */
1466
+ export type TargetGroupProtocolVersion = (typeof TargetGroupProtocolVersion)[keyof typeof TargetGroupProtocolVersion];
1467
+ /**
1468
+ * @public
1469
+ * <p>Describes the configuration of a target group. Lambda functions don't support target group
1470
+ * configuration.</p>
1471
+ */
1472
+ export interface TargetGroupConfig {
1473
+ /**
1474
+ * <p>The port on which the targets are listening. For HTTP, the default is <code>80</code>. For
1475
+ * HTTPS, the default is <code>443</code>
1476
+ * </p>
1477
+ */
1478
+ port: number | undefined;
1479
+ /**
1480
+ * <p>The protocol to use for routing traffic to the targets. Default is the protocol of a target
1481
+ * group.</p>
1482
+ */
1483
+ protocol: TargetGroupProtocol | string | undefined;
1484
+ /**
1485
+ * <p>The protocol version. Default value is <code>HTTP1</code>.</p>
1486
+ */
1487
+ protocolVersion?: TargetGroupProtocolVersion | string;
1488
+ /**
1489
+ * <p>The type of IP address used for the target group. The possible values are <code>ipv4</code> and <code>ipv6</code>.
1490
+ * This is an optional parameter. If not specified, the IP address type defaults to <code>ipv4</code>.</p>
1491
+ */
1492
+ ipAddressType?: IpAddressType | string;
1493
+ /**
1494
+ * <p>The ID of the VPC.</p>
1495
+ */
1496
+ vpcIdentifier: string | undefined;
1497
+ /**
1498
+ * <p>The health check configuration.</p>
1499
+ */
1500
+ healthCheck?: HealthCheckConfig;
1501
+ }
1502
+ /**
1503
+ * @public
1504
+ * @enum
1505
+ */
1506
+ export declare const TargetGroupType: {
1507
+ /**
1508
+ * Indicates target in this target group is an ALB
1509
+ */
1510
+ readonly ALB: "ALB";
1511
+ /**
1512
+ * Indicates targets in this target group are EC2 instances
1513
+ */
1514
+ readonly INSTANCE: "INSTANCE";
1515
+ /**
1516
+ * Indicates targets in this target group are IP
1517
+ */
1518
+ readonly IP: "IP";
1519
+ /**
1520
+ * Indicates targets in this target group are Lambda
1521
+ */
1522
+ readonly LAMBDA: "LAMBDA";
1523
+ };
1524
+ /**
1525
+ * @public
1526
+ */
1527
+ export type TargetGroupType = (typeof TargetGroupType)[keyof typeof TargetGroupType];
1528
+ /**
1529
+ * @public
1530
+ */
1531
+ export interface CreateTargetGroupRequest {
1532
+ /**
1533
+ * <p>The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a
1534
+ * hyphen as the first or last character, or immediately after another hyphen.</p>
1535
+ */
1536
+ name: string | undefined;
1537
+ /**
1538
+ * <p>The type of target group.</p>
1539
+ */
1540
+ type: TargetGroupType | string | undefined;
1541
+ /**
1542
+ * <p>The target group configuration. If <code>type</code> is set to <code>LAMBDA</code>, this
1543
+ * parameter doesn't apply.</p>
1544
+ */
1545
+ config?: TargetGroupConfig;
1546
+ /**
1547
+ * <p>A unique, case-sensitive identifier that you provide to ensure
1548
+ * the idempotency of the request. If you retry a request that completed successfully using
1549
+ * the same client token and parameters, the retry succeeds without performing any actions.
1550
+ * If the parameters aren't identical, the retry fails.</p>
1551
+ */
1552
+ clientToken?: string;
1553
+ /**
1554
+ * <p>The tags for the target group.</p>
1555
+ */
1556
+ tags?: Record<string, string>;
1557
+ }
1558
+ /**
1559
+ * @public
1560
+ * @enum
1561
+ */
1562
+ export declare const TargetGroupStatus: {
1563
+ /**
1564
+ * TargetGroup is active
1565
+ */
1566
+ readonly ACTIVE: "ACTIVE";
1567
+ /**
1568
+ * TargetGroup creation failed.
1569
+ */
1570
+ readonly CREATE_FAILED: "CREATE_FAILED";
1571
+ /**
1572
+ * TargetGroup creation in progress
1573
+ */
1574
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1575
+ /**
1576
+ * TargetGroup deletion failed
1577
+ */
1578
+ readonly DELETE_FAILED: "DELETE_FAILED";
1579
+ /**
1580
+ * TargetGroup deletion in progress
1581
+ */
1582
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1583
+ };
1584
+ /**
1585
+ * @public
1586
+ */
1587
+ export type TargetGroupStatus = (typeof TargetGroupStatus)[keyof typeof TargetGroupStatus];
1588
+ /**
1589
+ * @public
1590
+ */
1591
+ export interface CreateTargetGroupResponse {
1592
+ /**
1593
+ * <p>The ID of the target group.</p>
1594
+ */
1595
+ id?: string;
1596
+ /**
1597
+ * <p>The Amazon Resource Name (ARN) of the target group.</p>
1598
+ */
1599
+ arn?: string;
1600
+ /**
1601
+ * <p>The name of the target group.</p>
1602
+ */
1603
+ name?: string;
1604
+ /**
1605
+ * <p>The type of target group.</p>
1606
+ */
1607
+ type?: TargetGroupType | string;
1608
+ /**
1609
+ * <p>The target group configuration. If <code>type</code> is set to <code>LAMBDA</code>, this
1610
+ * parameter doesn't apply.</p>
1611
+ */
1612
+ config?: TargetGroupConfig;
1613
+ /**
1614
+ * <p>The operation's status. You can retry the operation if the status is
1615
+ * <code>CREATE_FAILED</code>. However, if you retry it while the status is
1616
+ * <code>CREATE_IN_PROGRESS</code>, there is no change in the status. </p>
1617
+ */
1618
+ status?: TargetGroupStatus | string;
1619
+ }
1620
+ /**
1621
+ * @public
1622
+ */
1623
+ export interface DeleteAuthPolicyRequest {
1624
+ /**
1625
+ * <p>The ID or Amazon Resource Name (ARN) of the resource.</p>
1626
+ */
1627
+ resourceIdentifier: string | undefined;
1628
+ }
1629
+ /**
1630
+ * @public
1631
+ */
1632
+ export interface DeleteAuthPolicyResponse {
1633
+ }
1634
+ /**
1635
+ * @public
1636
+ */
1637
+ export interface DeleteListenerRequest {
1638
+ /**
1639
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
1640
+ */
1641
+ serviceIdentifier: string | undefined;
1642
+ /**
1643
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
1644
+ */
1645
+ listenerIdentifier: string | undefined;
1646
+ }
1647
+ /**
1648
+ * @public
1649
+ */
1650
+ export interface DeleteListenerResponse {
1651
+ }
1652
+ /**
1653
+ * @public
1654
+ */
1655
+ export interface DeleteResourcePolicyRequest {
1656
+ /**
1657
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
1658
+ */
1659
+ resourceArn: string | undefined;
1660
+ }
1661
+ /**
1662
+ * @public
1663
+ */
1664
+ export interface DeleteResourcePolicyResponse {
1665
+ }
1666
+ /**
1667
+ * @public
1668
+ */
1669
+ export interface DeleteRuleRequest {
1670
+ /**
1671
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
1672
+ */
1673
+ serviceIdentifier: string | undefined;
1674
+ /**
1675
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
1676
+ */
1677
+ listenerIdentifier: string | undefined;
1678
+ /**
1679
+ * <p>The ID or Amazon Resource Name (ARN) of the rule.</p>
1680
+ */
1681
+ ruleIdentifier: string | undefined;
1682
+ }
1683
+ /**
1684
+ * @public
1685
+ */
1686
+ export interface DeleteRuleResponse {
1687
+ }
1688
+ /**
1689
+ * @public
1690
+ */
1691
+ export interface DeleteServiceRequest {
1692
+ /**
1693
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
1694
+ */
1695
+ serviceIdentifier: string | undefined;
1696
+ }
1697
+ /**
1698
+ * @public
1699
+ */
1700
+ export interface DeleteServiceResponse {
1701
+ /**
1702
+ * <p>The ID of the service.</p>
1703
+ */
1704
+ id?: string;
1705
+ /**
1706
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
1707
+ */
1708
+ arn?: string;
1709
+ /**
1710
+ * <p>The name of the service.</p>
1711
+ */
1712
+ name?: string;
1713
+ /**
1714
+ * <p>The status. You can retry the operation if the status is <code>DELETE_FAILED</code>.
1715
+ * However, if you retry it while the status is <code>DELETE_IN_PROGRESS</code>, the status doesn't
1716
+ * change.</p>
1717
+ */
1718
+ status?: ServiceStatus | string;
1719
+ }
1720
+ /**
1721
+ * @public
1722
+ */
1723
+ export interface DeleteServiceNetworkRequest {
1724
+ /**
1725
+ * <p>The Amazon Resource Name (ARN) or ID of the service network.</p>
1726
+ */
1727
+ serviceNetworkIdentifier: string | undefined;
1728
+ }
1729
+ /**
1730
+ * @public
1731
+ */
1732
+ export interface DeleteServiceNetworkResponse {
1733
+ }
1734
+ /**
1735
+ * @public
1736
+ */
1737
+ export interface DeleteServiceNetworkServiceAssociationRequest {
1738
+ /**
1739
+ * <p>The ID or Amazon Resource Name (ARN) of the association.</p>
1740
+ */
1741
+ serviceNetworkServiceAssociationIdentifier: string | undefined;
1742
+ }
1743
+ /**
1744
+ * @public
1745
+ */
1746
+ export interface DeleteServiceNetworkServiceAssociationResponse {
1747
+ /**
1748
+ * <p>The ID of the association.</p>
1749
+ */
1750
+ id?: string;
1751
+ /**
1752
+ * <p>The operation's status. You can retry the operation if the status is
1753
+ * <code>DELETE_FAILED</code>. However, if you retry it when the status is
1754
+ * <code>DELETE_IN_PROGRESS</code>, there is no change in the status.</p>
1755
+ */
1756
+ status?: ServiceNetworkServiceAssociationStatus | string;
1757
+ /**
1758
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
1759
+ */
1760
+ arn?: string;
1761
+ }
1762
+ /**
1763
+ * @public
1764
+ */
1765
+ export interface DeleteServiceNetworkVpcAssociationRequest {
1766
+ /**
1767
+ * <p>The ID or Amazon Resource Name (ARN) of the association.</p>
1768
+ */
1769
+ serviceNetworkVpcAssociationIdentifier: string | undefined;
1770
+ }
1771
+ /**
1772
+ * @public
1773
+ */
1774
+ export interface DeleteServiceNetworkVpcAssociationResponse {
1775
+ /**
1776
+ * <p>The ID of the association.</p>
1777
+ */
1778
+ id?: string;
1779
+ /**
1780
+ * <p>The status. You can retry the operation if the status is <code>DELETE_FAILED</code>.
1781
+ * However, if you retry it when the status is <code>DELETE_IN_PROGRESS</code>, there is no change
1782
+ * in the status.</p>
1783
+ */
1784
+ status?: ServiceNetworkVpcAssociationStatus | string;
1785
+ /**
1786
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
1787
+ */
1788
+ arn?: string;
1789
+ }
1790
+ /**
1791
+ * @public
1792
+ */
1793
+ export interface DeleteTargetGroupRequest {
1794
+ /**
1795
+ * <p>The ID or Amazon Resource Name (ARN) of the target group.</p>
1796
+ */
1797
+ targetGroupIdentifier: string | undefined;
1798
+ }
1799
+ /**
1800
+ * @public
1801
+ */
1802
+ export interface DeleteTargetGroupResponse {
1803
+ /**
1804
+ * <p>The ID of the target group.</p>
1805
+ */
1806
+ id?: string;
1807
+ /**
1808
+ * <p>The Amazon Resource Name (ARN) of the target group.</p>
1809
+ */
1810
+ arn?: string;
1811
+ /**
1812
+ * <p>The status. You can retry the operation if the status is <code>DELETE_FAILED</code>.
1813
+ * However, if you retry it while the status is <code>DELETE_IN_PROGRESS</code>, the status doesn't
1814
+ * change.</p>
1815
+ */
1816
+ status?: TargetGroupStatus | string;
1817
+ }
1818
+ /**
1819
+ * @public
1820
+ * <p>Describes a target.</p>
1821
+ */
1822
+ export interface Target {
1823
+ /**
1824
+ * <p>The ID of the target. If the target type of the target group is <code>INSTANCE</code>, this
1825
+ * is an instance ID. If the target type is <code>IP</code> , this is an IP address. If the target
1826
+ * type is <code>LAMBDA</code>, this is the ARN of the Lambda function. If the target type is
1827
+ * <code>ALB</code>, this is the ARN of the Application Load Balancer.</p>
1828
+ */
1829
+ id: string | undefined;
1830
+ /**
1831
+ * <p>The port on which the target is listening. For HTTP, the default is <code>80</code>. For
1832
+ * HTTPS, the default is <code>443</code>.</p>
1833
+ */
1834
+ port?: number;
1835
+ }
1836
+ /**
1837
+ * @public
1838
+ */
1839
+ export interface DeregisterTargetsRequest {
1840
+ /**
1841
+ * <p>The ID or Amazon Resource Name (ARN) of the target group.</p>
1842
+ */
1843
+ targetGroupIdentifier: string | undefined;
1844
+ /**
1845
+ * <p>The targets to deregister.</p>
1846
+ */
1847
+ targets: Target[] | undefined;
1848
+ }
1849
+ /**
1850
+ * @public
1851
+ * <p>Describes a target failure.</p>
1852
+ */
1853
+ export interface TargetFailure {
1854
+ /**
1855
+ * <p>The ID of the target. If the target type of the target group is <code>INSTANCE</code>, this
1856
+ * is an instance ID. If the target type is <code>IP</code> , this is an IP address. If the target
1857
+ * type is <code>LAMBDA</code>, this is the ARN of the Lambda function. If the target type is
1858
+ * <code>ALB</code>, this is the ARN of the Application Load Balancer.</p>
1859
+ */
1860
+ id?: string;
1861
+ /**
1862
+ * <p>The port on which the target is listening. This parameter doesn't apply if the target is a
1863
+ * Lambda function.</p>
1864
+ */
1865
+ port?: number;
1866
+ /**
1867
+ * <p>The failure code.</p>
1868
+ */
1869
+ failureCode?: string;
1870
+ /**
1871
+ * <p>The failure message.</p>
1872
+ */
1873
+ failureMessage?: string;
1874
+ }
1875
+ /**
1876
+ * @public
1877
+ */
1878
+ export interface DeregisterTargetsResponse {
1879
+ /**
1880
+ * <p>The targets that were successfully deregistered.</p>
1881
+ */
1882
+ successful?: Target[];
1883
+ /**
1884
+ * <p>The targets that the operation couldn't deregister.</p>
1885
+ */
1886
+ unsuccessful?: TargetFailure[];
1887
+ }
1888
+ /**
1889
+ * @public
1890
+ */
1891
+ export interface GetAuthPolicyRequest {
1892
+ /**
1893
+ * <p>The ID or Amazon Resource Name (ARN) of the service network or service.</p>
1894
+ */
1895
+ resourceIdentifier: string | undefined;
1896
+ }
1897
+ /**
1898
+ * @public
1899
+ */
1900
+ export interface GetAuthPolicyResponse {
1901
+ /**
1902
+ * <p>The auth policy.</p>
1903
+ */
1904
+ policy?: string;
1905
+ /**
1906
+ * <p>The state of the auth policy. The auth policy is only active when the auth type is set to
1907
+ * <code>Amazon Web Services_IAM</code>. If you provide a policy, then authentication and
1908
+ * authorization decisions are made based on this policy and the client's IAM policy. If the auth
1909
+ * type is <code>NONE</code>, then any auth policy you provide will remain inactive. For more
1910
+ * information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service
1911
+ * network</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
1912
+ */
1913
+ state?: AuthPolicyState | string;
1914
+ /**
1915
+ * <p>The date and time that the auth policy was created, specified in ISO-8601 format.</p>
1916
+ */
1917
+ createdAt?: Date;
1918
+ /**
1919
+ * <p>The date and time that the auth policy was last updated, specified in ISO-8601
1920
+ * format.</p>
1921
+ */
1922
+ lastUpdatedAt?: Date;
1923
+ }
1924
+ /**
1925
+ * @public
1926
+ */
1927
+ export interface GetListenerRequest {
1928
+ /**
1929
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
1930
+ */
1931
+ serviceIdentifier: string | undefined;
1932
+ /**
1933
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
1934
+ */
1935
+ listenerIdentifier: string | undefined;
1936
+ }
1937
+ /**
1938
+ * @public
1939
+ */
1940
+ export interface GetListenerResponse {
1941
+ /**
1942
+ * <p>The Amazon Resource Name (ARN) of the listener.</p>
1943
+ */
1944
+ arn?: string;
1945
+ /**
1946
+ * <p>The ID of the listener.</p>
1947
+ */
1948
+ id?: string;
1949
+ /**
1950
+ * <p>The name of the listener.</p>
1951
+ */
1952
+ name?: string;
1953
+ /**
1954
+ * <p>The listener protocol.</p>
1955
+ */
1956
+ protocol?: ListenerProtocol | string;
1957
+ /**
1958
+ * <p>The listener port.</p>
1959
+ */
1960
+ port?: number;
1961
+ /**
1962
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
1963
+ */
1964
+ serviceArn?: string;
1965
+ /**
1966
+ * <p>The ID of the service.</p>
1967
+ */
1968
+ serviceId?: string;
1969
+ /**
1970
+ * <p>The actions for the default listener rule.</p>
1971
+ */
1972
+ defaultAction?: RuleAction;
1973
+ /**
1974
+ * <p>The date and time that the listener was created, specified in ISO-8601 format.</p>
1975
+ */
1976
+ createdAt?: Date;
1977
+ /**
1978
+ * <p>The date and time that the listener was last updated, specified in ISO-8601 format.</p>
1979
+ */
1980
+ lastUpdatedAt?: Date;
1981
+ }
1982
+ /**
1983
+ * @public
1984
+ */
1985
+ export interface GetResourcePolicyRequest {
1986
+ /**
1987
+ * <p>An IAM policy.</p>
1988
+ */
1989
+ resourceArn: string | undefined;
1990
+ }
1991
+ /**
1992
+ * @public
1993
+ */
1994
+ export interface GetResourcePolicyResponse {
1995
+ /**
1996
+ * <p>The Amazon Resource Name (ARN) of the service network or service.</p>
1997
+ */
1998
+ policy?: string;
1999
+ }
2000
+ /**
2001
+ * @public
2002
+ */
2003
+ export interface GetRuleRequest {
2004
+ /**
2005
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
2006
+ */
2007
+ serviceIdentifier: string | undefined;
2008
+ /**
2009
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
2010
+ */
2011
+ listenerIdentifier: string | undefined;
2012
+ /**
2013
+ * <p>The ID or Amazon Resource Name (ARN) of the listener rule.</p>
2014
+ */
2015
+ ruleIdentifier: string | undefined;
2016
+ }
2017
+ /**
2018
+ * @public
2019
+ */
2020
+ export interface GetRuleResponse {
2021
+ /**
2022
+ * <p>The Amazon Resource Name (ARN) of the listener.</p>
2023
+ */
2024
+ arn?: string;
2025
+ /**
2026
+ * <p>The ID of the listener.</p>
2027
+ */
2028
+ id?: string;
2029
+ /**
2030
+ * <p>The name of the listener.</p>
2031
+ */
2032
+ name?: string;
2033
+ /**
2034
+ * <p>Indicates whether this is the default rule.</p>
2035
+ */
2036
+ isDefault?: boolean;
2037
+ /**
2038
+ * <p>The rule match.</p>
2039
+ */
2040
+ match?: RuleMatch;
2041
+ /**
2042
+ * <p>The priority level for the specified rule.</p>
2043
+ */
2044
+ priority?: number;
2045
+ /**
2046
+ * <p>The action for the default rule.</p>
2047
+ */
2048
+ action?: RuleAction;
2049
+ /**
2050
+ * <p>The date and time that the listener rule was created, specified in ISO-8601 format.</p>
2051
+ */
2052
+ createdAt?: Date;
2053
+ /**
2054
+ * <p>The date and time that the listener rule was last updated, specified in ISO-8601
2055
+ * format.</p>
2056
+ */
2057
+ lastUpdatedAt?: Date;
2058
+ }
2059
+ /**
2060
+ * @public
2061
+ */
2062
+ export interface GetServiceRequest {
2063
+ /**
2064
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
2065
+ */
2066
+ serviceIdentifier: string | undefined;
2067
+ }
2068
+ /**
2069
+ * @public
2070
+ */
2071
+ export interface GetServiceResponse {
2072
+ /**
2073
+ * <p>The ID of the service.</p>
2074
+ */
2075
+ id?: string;
2076
+ /**
2077
+ * <p>The name of the service.</p>
2078
+ */
2079
+ name?: string;
2080
+ /**
2081
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
2082
+ */
2083
+ arn?: string;
2084
+ /**
2085
+ * <p>The date and time that the service was created, specified in ISO-8601 format.</p>
2086
+ */
2087
+ createdAt?: Date;
2088
+ /**
2089
+ * <p>The date and time that the service was last updated, specified in ISO-8601 format.</p>
2090
+ */
2091
+ lastUpdatedAt?: Date;
2092
+ /**
2093
+ * <p>The DNS name of the service.</p>
2094
+ */
2095
+ dnsEntry?: DnsEntry;
2096
+ /**
2097
+ * <p>The custom domain name of the service.</p>
2098
+ */
2099
+ customDomainName?: string;
2100
+ /**
2101
+ * <p>The Amazon Resource Name (ARN) of the certificate.</p>
2102
+ */
2103
+ certificateArn?: string;
2104
+ /**
2105
+ * <p>The status of the service.</p>
2106
+ */
2107
+ status?: ServiceStatus | string;
2108
+ /**
2109
+ * <p>The type of IAM policy.</p>
2110
+ */
2111
+ authType?: AuthType | string;
2112
+ /**
2113
+ * <p>The failure code.</p>
2114
+ */
2115
+ failureCode?: string;
2116
+ /**
2117
+ * <p>The failure message.</p>
2118
+ */
2119
+ failureMessage?: string;
2120
+ }
2121
+ /**
2122
+ * @public
2123
+ */
2124
+ export interface GetServiceNetworkRequest {
2125
+ /**
2126
+ * <p>The ID or Amazon Resource Name (ARN) of the service network.</p>
2127
+ */
2128
+ serviceNetworkIdentifier: string | undefined;
2129
+ }
2130
+ /**
2131
+ * @public
2132
+ */
2133
+ export interface GetServiceNetworkResponse {
2134
+ /**
2135
+ * <p>The ID of the service network.</p>
2136
+ */
2137
+ id?: string;
2138
+ /**
2139
+ * <p>The name of the service network.</p>
2140
+ */
2141
+ name?: string;
2142
+ /**
2143
+ * <p>The date and time that the service network was created, specified in ISO-8601 format.</p>
2144
+ */
2145
+ createdAt?: Date;
2146
+ /**
2147
+ * <p>The date and time of the last update, specified in ISO-8601 format.</p>
2148
+ */
2149
+ lastUpdatedAt?: Date;
2150
+ /**
2151
+ * <p>The Amazon Resource Name (ARN) of the service network.</p>
2152
+ */
2153
+ arn?: string;
2154
+ /**
2155
+ * <p>The type of IAM policy.</p>
2156
+ */
2157
+ authType?: AuthType | string;
2158
+ /**
2159
+ * <p>The number of VPCs associated with the service network.</p>
2160
+ */
2161
+ numberOfAssociatedVPCs?: number;
2162
+ /**
2163
+ * <p>The number of services associated with the service network.</p>
2164
+ */
2165
+ numberOfAssociatedServices?: number;
2166
+ }
2167
+ /**
2168
+ * @public
2169
+ */
2170
+ export interface GetServiceNetworkServiceAssociationRequest {
2171
+ /**
2172
+ * <p>The ID or Amazon Resource Name (ARN) of the association.</p>
2173
+ */
2174
+ serviceNetworkServiceAssociationIdentifier: string | undefined;
2175
+ }
2176
+ /**
2177
+ * @public
2178
+ */
2179
+ export interface GetServiceNetworkServiceAssociationResponse {
2180
+ /**
2181
+ * <p>The ID of the service network and service association.</p>
2182
+ */
2183
+ id?: string;
2184
+ /**
2185
+ * <p>The status of the association.</p>
2186
+ */
2187
+ status?: ServiceNetworkServiceAssociationStatus | string;
2188
+ /**
2189
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
2190
+ */
2191
+ arn?: string;
2192
+ /**
2193
+ * <p>The account that created the association.</p>
2194
+ */
2195
+ createdBy?: string;
2196
+ /**
2197
+ * <p>The date and time that the association was created, specified in ISO-8601 format.</p>
2198
+ */
2199
+ createdAt?: Date;
2200
+ /**
2201
+ * <p>The ID of the service.</p>
2202
+ */
2203
+ serviceId?: string;
2204
+ /**
2205
+ * <p>The name of the service.</p>
2206
+ */
2207
+ serviceName?: string;
2208
+ /**
2209
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
2210
+ */
2211
+ serviceArn?: string;
2212
+ /**
2213
+ * <p>The ID of the service network.</p>
2214
+ */
2215
+ serviceNetworkId?: string;
2216
+ /**
2217
+ * <p>The name of the service network.</p>
2218
+ */
2219
+ serviceNetworkName?: string;
2220
+ /**
2221
+ * <p>The Amazon Resource Name (ARN) of the service network.</p>
2222
+ */
2223
+ serviceNetworkArn?: string;
2224
+ /**
2225
+ * <p>The DNS name of the service.</p>
2226
+ */
2227
+ dnsEntry?: DnsEntry;
2228
+ /**
2229
+ * <p>The custom domain name of the service. </p>
2230
+ */
2231
+ customDomainName?: string;
2232
+ /**
2233
+ * <p>The failure message.</p>
2234
+ */
2235
+ failureMessage?: string;
2236
+ /**
2237
+ * <p>The failure code.</p>
2238
+ */
2239
+ failureCode?: string;
2240
+ }
2241
+ /**
2242
+ * @public
2243
+ */
2244
+ export interface GetServiceNetworkVpcAssociationRequest {
2245
+ /**
2246
+ * <p>The ID or Amazon Resource Name (ARN) of the association.</p>
2247
+ */
2248
+ serviceNetworkVpcAssociationIdentifier: string | undefined;
2249
+ }
2250
+ /**
2251
+ * @public
2252
+ */
2253
+ export interface GetServiceNetworkVpcAssociationResponse {
2254
+ /**
2255
+ * <p>The ID of the specified association between the service network and the VPC.</p>
2256
+ */
2257
+ id?: string;
2258
+ /**
2259
+ * <p>The status of the association.</p>
2260
+ */
2261
+ status?: ServiceNetworkVpcAssociationStatus | string;
2262
+ /**
2263
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
2264
+ */
2265
+ arn?: string;
2266
+ /**
2267
+ * <p>The account that created the association.</p>
2268
+ */
2269
+ createdBy?: string;
2270
+ /**
2271
+ * <p>The date and time that the association was created, specified in ISO-8601 format.</p>
2272
+ */
2273
+ createdAt?: Date;
2274
+ /**
2275
+ * <p>The ID of the service network.</p>
2276
+ */
2277
+ serviceNetworkId?: string;
2278
+ /**
2279
+ * <p>The name of the service network.</p>
2280
+ */
2281
+ serviceNetworkName?: string;
2282
+ /**
2283
+ * <p>The Amazon Resource Name (ARN) of the service network.</p>
2284
+ */
2285
+ serviceNetworkArn?: string;
2286
+ /**
2287
+ * <p>The ID of the VPC.</p>
2288
+ */
2289
+ vpcId?: string;
2290
+ /**
2291
+ * <p>The IDs of the security groups.</p>
2292
+ */
2293
+ securityGroupIds?: string[];
2294
+ /**
2295
+ * <p>The failure message.</p>
2296
+ */
2297
+ failureMessage?: string;
2298
+ /**
2299
+ * <p>The failure code.</p>
2300
+ */
2301
+ failureCode?: string;
2302
+ /**
2303
+ * <p>The date and time that the association was last updated, specified in ISO-8601
2304
+ * format.</p>
2305
+ */
2306
+ lastUpdatedAt?: Date;
2307
+ }
2308
+ /**
2309
+ * @public
2310
+ */
2311
+ export interface GetTargetGroupRequest {
2312
+ /**
2313
+ * <p>The ID or Amazon Resource Name (ARN) of the target group.</p>
2314
+ */
2315
+ targetGroupIdentifier: string | undefined;
2316
+ }
2317
+ /**
2318
+ * @public
2319
+ */
2320
+ export interface GetTargetGroupResponse {
2321
+ /**
2322
+ * <p>The ID of the target group.</p>
2323
+ */
2324
+ id?: string;
2325
+ /**
2326
+ * <p>The Amazon Resource Name (ARN) of the target group.</p>
2327
+ */
2328
+ arn?: string;
2329
+ /**
2330
+ * <p>The name of the target group.</p>
2331
+ */
2332
+ name?: string;
2333
+ /**
2334
+ * <p>The target group type.</p>
2335
+ */
2336
+ type?: TargetGroupType | string;
2337
+ /**
2338
+ * <p>The target group configuration.</p>
2339
+ */
2340
+ config?: TargetGroupConfig;
2341
+ /**
2342
+ * <p>The date and time that the target group was created, specified in ISO-8601 format.</p>
2343
+ */
2344
+ createdAt?: Date;
2345
+ /**
2346
+ * <p>The date and time that the target group was last updated, specified in ISO-8601
2347
+ * format.</p>
2348
+ */
2349
+ lastUpdatedAt?: Date;
2350
+ /**
2351
+ * <p>The status.</p>
2352
+ */
2353
+ status?: TargetGroupStatus | string;
2354
+ /**
2355
+ * <p>The Amazon Resource Names (ARNs) of the service.</p>
2356
+ */
2357
+ serviceArns?: string[];
2358
+ /**
2359
+ * <p>The failure message.</p>
2360
+ */
2361
+ failureMessage?: string;
2362
+ /**
2363
+ * <p>The failure code.</p>
2364
+ */
2365
+ failureCode?: string;
2366
+ }
2367
+ /**
2368
+ * @public
2369
+ */
2370
+ export interface ListListenersRequest {
2371
+ /**
2372
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
2373
+ */
2374
+ serviceIdentifier: string | undefined;
2375
+ /**
2376
+ * <p>The maximum number of results to return.</p>
2377
+ */
2378
+ maxResults?: number;
2379
+ /**
2380
+ * <p>A pagination token for the next page of results.</p>
2381
+ */
2382
+ nextToken?: string;
2383
+ }
2384
+ /**
2385
+ * @public
2386
+ * <p>Summary information about a listener.</p>
2387
+ */
2388
+ export interface ListenerSummary {
2389
+ /**
2390
+ * <p>The Amazon Resource Name (ARN) of the listener.</p>
2391
+ */
2392
+ arn?: string;
2393
+ /**
2394
+ * <p>The ID of the listener.</p>
2395
+ */
2396
+ id?: string;
2397
+ /**
2398
+ * <p>The name of the listener.</p>
2399
+ */
2400
+ name?: string;
2401
+ /**
2402
+ * <p>The listener protocol.</p>
2403
+ */
2404
+ protocol?: ListenerProtocol | string;
2405
+ /**
2406
+ * <p>The listener port.</p>
2407
+ */
2408
+ port?: number;
2409
+ /**
2410
+ * <p>The date and time that the listener was created, specified in ISO-8601 format.</p>
2411
+ */
2412
+ createdAt?: Date;
2413
+ /**
2414
+ * <p>The date and time that the listener was last updated, specified in ISO-8601 format.</p>
2415
+ */
2416
+ lastUpdatedAt?: Date;
2417
+ }
2418
+ /**
2419
+ * @public
2420
+ */
2421
+ export interface ListListenersResponse {
2422
+ /**
2423
+ * <p>Information about the listeners.</p>
2424
+ */
2425
+ items: ListenerSummary[] | undefined;
2426
+ /**
2427
+ * <p>If there are additional results, a pagination token for the next page of results.</p>
2428
+ */
2429
+ nextToken?: string;
2430
+ }
2431
+ /**
2432
+ * @public
2433
+ */
2434
+ export interface UpdateListenerRequest {
2435
+ /**
2436
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
2437
+ */
2438
+ serviceIdentifier: string | undefined;
2439
+ /**
2440
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
2441
+ */
2442
+ listenerIdentifier: string | undefined;
2443
+ /**
2444
+ * <p>The action for the default rule.</p>
2445
+ */
2446
+ defaultAction: RuleAction | undefined;
2447
+ }
2448
+ /**
2449
+ * @public
2450
+ */
2451
+ export interface UpdateListenerResponse {
2452
+ /**
2453
+ * <p>The Amazon Resource Name (ARN) of the listener.</p>
2454
+ */
2455
+ arn?: string;
2456
+ /**
2457
+ * <p>The ID of the listener.</p>
2458
+ */
2459
+ id?: string;
2460
+ /**
2461
+ * <p>The name of the listener.</p>
2462
+ */
2463
+ name?: string;
2464
+ /**
2465
+ * <p>The protocol of the listener.</p>
2466
+ */
2467
+ protocol?: ListenerProtocol | string;
2468
+ /**
2469
+ * <p>The listener port.</p>
2470
+ */
2471
+ port?: number;
2472
+ /**
2473
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
2474
+ */
2475
+ serviceArn?: string;
2476
+ /**
2477
+ * <p>The ID of the service.</p>
2478
+ */
2479
+ serviceId?: string;
2480
+ /**
2481
+ * <p>The action for the default rule.</p>
2482
+ */
2483
+ defaultAction?: RuleAction;
2484
+ }
2485
+ /**
2486
+ * @public
2487
+ */
2488
+ export interface ListRulesRequest {
2489
+ /**
2490
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
2491
+ */
2492
+ serviceIdentifier: string | undefined;
2493
+ /**
2494
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
2495
+ */
2496
+ listenerIdentifier: string | undefined;
2497
+ /**
2498
+ * <p>The maximum number of results to return.</p>
2499
+ */
2500
+ maxResults?: number;
2501
+ /**
2502
+ * <p>A pagination token for the next page of results.</p>
2503
+ */
2504
+ nextToken?: string;
2505
+ }
2506
+ /**
2507
+ * @public
2508
+ * <p>Summary information about the listener rule.</p>
2509
+ */
2510
+ export interface RuleSummary {
2511
+ /**
2512
+ * <p>The Amazon Resource Name (ARN) of the rule.</p>
2513
+ */
2514
+ arn?: string;
2515
+ /**
2516
+ * <p>The ID of the rule.</p>
2517
+ */
2518
+ id?: string;
2519
+ /**
2520
+ * <p>The name of the rule.</p>
2521
+ */
2522
+ name?: string;
2523
+ /**
2524
+ * <p>Indicates whether this is the default rule. Listener rules are created when you create a
2525
+ * listener. Each listener has a default rule for checking connection requests.
2526
+ * </p>
2527
+ */
2528
+ isDefault?: boolean;
2529
+ /**
2530
+ * <p> The priority of the rule. </p>
2531
+ */
2532
+ priority?: number;
2533
+ /**
2534
+ * <p>The date and time that the listener rule was created, specified in ISO-8601 format.</p>
2535
+ */
2536
+ createdAt?: Date;
2537
+ /**
2538
+ * <p>The date and time that the listener rule was last updated, specified in ISO-8601
2539
+ * format.</p>
2540
+ */
2541
+ lastUpdatedAt?: Date;
2542
+ }
2543
+ /**
2544
+ * @public
2545
+ */
2546
+ export interface ListRulesResponse {
2547
+ /**
2548
+ * <p>Information about the rules.</p>
2549
+ */
2550
+ items: RuleSummary[] | undefined;
2551
+ /**
2552
+ * <p>If there are additional results, a pagination token for the next page of results.</p>
2553
+ */
2554
+ nextToken?: string;
2555
+ }
2556
+ /**
2557
+ * @public
2558
+ */
2559
+ export interface ListServiceNetworksRequest {
2560
+ /**
2561
+ * <p>The maximum number of results to return.</p>
2562
+ */
2563
+ maxResults?: number;
2564
+ /**
2565
+ * <p>A pagination token for the next page of results.</p>
2566
+ */
2567
+ nextToken?: string;
2568
+ }
2569
+ /**
2570
+ * @public
2571
+ * <p>Summary information about a service network.</p>
2572
+ */
2573
+ export interface ServiceNetworkSummary {
2574
+ /**
2575
+ * <p>The ID of the service network.</p>
2576
+ */
2577
+ id?: string;
2578
+ /**
2579
+ * <p>The name of the service network.</p>
2580
+ */
2581
+ name?: string;
2582
+ /**
2583
+ * <p>The Amazon Resource Name (ARN) of the service network.</p>
2584
+ */
2585
+ arn?: string;
2586
+ /**
2587
+ * <p>The date and time that the service network was created, specified in ISO-8601 format.</p>
2588
+ */
2589
+ createdAt?: Date;
2590
+ /**
2591
+ * <p>The date and time that the service network was last updated, specified in ISO-8601
2592
+ * format.</p>
2593
+ */
2594
+ lastUpdatedAt?: Date;
2595
+ /**
2596
+ * <p>The number of VPCs associated with the service network.</p>
2597
+ */
2598
+ numberOfAssociatedVPCs?: number;
2599
+ /**
2600
+ * <p>The number of services associated with the service network.</p>
2601
+ */
2602
+ numberOfAssociatedServices?: number;
2603
+ }
2604
+ /**
2605
+ * @public
2606
+ */
2607
+ export interface ListServiceNetworksResponse {
2608
+ /**
2609
+ * <p>Information about the service networks.</p>
2610
+ */
2611
+ items: ServiceNetworkSummary[] | undefined;
2612
+ /**
2613
+ * <p>If there are additional results, a pagination token for the next page of results.</p>
2614
+ */
2615
+ nextToken?: string;
2616
+ }
2617
+ /**
2618
+ * @public
2619
+ */
2620
+ export interface ListServiceNetworkServiceAssociationsRequest {
2621
+ /**
2622
+ * <p>The ID or Amazon Resource Name (ARN) of the service network.</p>
2623
+ */
2624
+ serviceNetworkIdentifier?: string;
2625
+ /**
2626
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
2627
+ */
2628
+ serviceIdentifier?: string;
2629
+ /**
2630
+ * <p>The maximum number of results to return.</p>
2631
+ */
2632
+ maxResults?: number;
2633
+ /**
2634
+ * <p>A pagination token for the next page of results.</p>
2635
+ */
2636
+ nextToken?: string;
2637
+ }
2638
+ /**
2639
+ * @public
2640
+ * <p>Summary information about the association between a service network and a service.</p>
2641
+ */
2642
+ export interface ServiceNetworkServiceAssociationSummary {
2643
+ /**
2644
+ * <p>The ID of the association.</p>
2645
+ */
2646
+ id?: string;
2647
+ /**
2648
+ * <p>The status. If the deletion fails, try to delete again.</p>
2649
+ */
2650
+ status?: ServiceNetworkServiceAssociationStatus | string;
2651
+ /**
2652
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
2653
+ */
2654
+ arn?: string;
2655
+ /**
2656
+ * <p>The account that created the association.</p>
2657
+ */
2658
+ createdBy?: string;
2659
+ /**
2660
+ * <p>The date and time that the association was created, specified in ISO-8601 format.</p>
2661
+ */
2662
+ createdAt?: Date;
2663
+ /**
2664
+ * <p>The ID of the service.</p>
2665
+ */
2666
+ serviceId?: string;
2667
+ /**
2668
+ * <p>The name of the service.</p>
2669
+ */
2670
+ serviceName?: string;
2671
+ /**
2672
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
2673
+ */
2674
+ serviceArn?: string;
2675
+ /**
2676
+ * <p>The ID of the service network.</p>
2677
+ */
2678
+ serviceNetworkId?: string;
2679
+ /**
2680
+ * <p>The name of the service network.</p>
2681
+ */
2682
+ serviceNetworkName?: string;
2683
+ /**
2684
+ * <p>The Amazon Resource Name (ARN) of the service network.</p>
2685
+ */
2686
+ serviceNetworkArn?: string;
2687
+ /**
2688
+ * <p>DNS information about the service.</p>
2689
+ */
2690
+ dnsEntry?: DnsEntry;
2691
+ /**
2692
+ * <p> The custom domain name of the service. </p>
2693
+ */
2694
+ customDomainName?: string;
2695
+ }
2696
+ /**
2697
+ * @public
2698
+ */
2699
+ export interface ListServiceNetworkServiceAssociationsResponse {
2700
+ /**
2701
+ * <p>Information about the associations.</p>
2702
+ */
2703
+ items: ServiceNetworkServiceAssociationSummary[] | undefined;
2704
+ /**
2705
+ * <p>If there are additional results, a pagination token for the next page of results.</p>
2706
+ */
2707
+ nextToken?: string;
2708
+ }
2709
+ /**
2710
+ * @public
2711
+ */
2712
+ export interface ListServiceNetworkVpcAssociationsRequest {
2713
+ /**
2714
+ * <p>The ID or Amazon Resource Name (ARN) of the service network.</p>
2715
+ */
2716
+ serviceNetworkIdentifier?: string;
2717
+ /**
2718
+ * <p>The ID or Amazon Resource Name (ARN) of the VPC.</p>
2719
+ */
2720
+ vpcIdentifier?: string;
2721
+ /**
2722
+ * <p>The maximum number of results to return.</p>
2723
+ */
2724
+ maxResults?: number;
2725
+ /**
2726
+ * <p>A pagination token for the next page of results.</p>
2727
+ */
2728
+ nextToken?: string;
2729
+ }
2730
+ /**
2731
+ * @public
2732
+ * <p>Summary information about an association between a service network and a VPC.</p>
2733
+ */
2734
+ export interface ServiceNetworkVpcAssociationSummary {
2735
+ /**
2736
+ * <p>The ID of the association.</p>
2737
+ */
2738
+ id?: string;
2739
+ /**
2740
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
2741
+ */
2742
+ arn?: string;
2743
+ /**
2744
+ * <p>The status.</p>
2745
+ */
2746
+ status?: ServiceNetworkVpcAssociationStatus | string;
2747
+ /**
2748
+ * <p>The account that created the association.</p>
2749
+ */
2750
+ createdBy?: string;
2751
+ /**
2752
+ * <p>The date and time that the association was created, specified in ISO-8601 format.</p>
2753
+ */
2754
+ createdAt?: Date;
2755
+ /**
2756
+ * <p>The ID of the service network.</p>
2757
+ */
2758
+ serviceNetworkId?: string;
2759
+ /**
2760
+ * <p>The name of the service network.</p>
2761
+ */
2762
+ serviceNetworkName?: string;
2763
+ /**
2764
+ * <p>The Amazon Resource Name (ARN) of the service network.</p>
2765
+ */
2766
+ serviceNetworkArn?: string;
2767
+ /**
2768
+ * <p>The ID of the VPC.</p>
2769
+ */
2770
+ vpcId?: string;
2771
+ /**
2772
+ * <p>The date and time that the association was last updated, specified in ISO-8601
2773
+ * format.</p>
2774
+ */
2775
+ lastUpdatedAt?: Date;
2776
+ }
2777
+ /**
2778
+ * @public
2779
+ */
2780
+ export interface ListServiceNetworkVpcAssociationsResponse {
2781
+ /**
2782
+ * <p>Information about the associations.</p>
2783
+ */
2784
+ items: ServiceNetworkVpcAssociationSummary[] | undefined;
2785
+ /**
2786
+ * <p>If there are additional results, a pagination token for the next page of results.</p>
2787
+ */
2788
+ nextToken?: string;
2789
+ }
2790
+ /**
2791
+ * @public
2792
+ */
2793
+ export interface ListServicesRequest {
2794
+ /**
2795
+ * <p>The maximum number of results to return.</p>
2796
+ */
2797
+ maxResults?: number;
2798
+ /**
2799
+ * <p>A pagination token for the next page of results.</p>
2800
+ */
2801
+ nextToken?: string;
2802
+ }
2803
+ /**
2804
+ * @public
2805
+ * <p>Summary information about a service.</p>
2806
+ */
2807
+ export interface ServiceSummary {
2808
+ /**
2809
+ * <p>The ID of the service.</p>
2810
+ */
2811
+ id?: string;
2812
+ /**
2813
+ * <p>The name of the service.</p>
2814
+ */
2815
+ name?: string;
2816
+ /**
2817
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
2818
+ */
2819
+ arn?: string;
2820
+ /**
2821
+ * <p>The date and time that the service was created, specified in ISO-8601 format.</p>
2822
+ */
2823
+ createdAt?: Date;
2824
+ /**
2825
+ * <p>The date and time that the service was last updated. The format is ISO-8601.</p>
2826
+ */
2827
+ lastUpdatedAt?: Date;
2828
+ /**
2829
+ * <p>DNS information about the service.</p>
2830
+ */
2831
+ dnsEntry?: DnsEntry;
2832
+ /**
2833
+ * <p> The custom domain name of the service. </p>
2834
+ */
2835
+ customDomainName?: string;
2836
+ /**
2837
+ * <p>The status.</p>
2838
+ */
2839
+ status?: ServiceStatus | string;
2840
+ }
2841
+ /**
2842
+ * @public
2843
+ */
2844
+ export interface ListServicesResponse {
2845
+ /**
2846
+ * <p>The services.</p>
2847
+ */
2848
+ items?: ServiceSummary[];
2849
+ /**
2850
+ * <p>If there are additional results, a pagination token for the next page of results.</p>
2851
+ */
2852
+ nextToken?: string;
2853
+ }
2854
+ /**
2855
+ * @public
2856
+ */
2857
+ export interface ListTagsForResourceRequest {
2858
+ /**
2859
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
2860
+ */
2861
+ resourceArn: string | undefined;
2862
+ }
2863
+ /**
2864
+ * @public
2865
+ */
2866
+ export interface ListTagsForResourceResponse {
2867
+ /**
2868
+ * <p>The tags.</p>
2869
+ */
2870
+ tags?: Record<string, string>;
2871
+ }
2872
+ /**
2873
+ * @public
2874
+ */
2875
+ export interface ListTargetGroupsRequest {
2876
+ /**
2877
+ * <p>The maximum number of results to return.</p>
2878
+ */
2879
+ maxResults?: number;
2880
+ /**
2881
+ * <p>A pagination token for the next page of results.</p>
2882
+ */
2883
+ nextToken?: string;
2884
+ /**
2885
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
2886
+ */
2887
+ vpcIdentifier?: string;
2888
+ /**
2889
+ * <p>The target group type.</p>
2890
+ */
2891
+ targetGroupType?: TargetGroupType | string;
2892
+ }
2893
+ /**
2894
+ * @public
2895
+ * <p>Summary information about a target group.</p>
2896
+ */
2897
+ export interface TargetGroupSummary {
2898
+ /**
2899
+ * <p>The ID of the target group.</p>
2900
+ */
2901
+ id?: string;
2902
+ /**
2903
+ * <p>The ARN (Amazon Resource Name) of the target group.</p>
2904
+ */
2905
+ arn?: string;
2906
+ /**
2907
+ * <p>The name of the target group.</p>
2908
+ */
2909
+ name?: string;
2910
+ /**
2911
+ * <p>The target group type.</p>
2912
+ */
2913
+ type?: TargetGroupType | string;
2914
+ /**
2915
+ * <p>The date and time that the target group was created, specified in ISO-8601 format.</p>
2916
+ */
2917
+ createdAt?: Date;
2918
+ /**
2919
+ * <p>The port of the target group.</p>
2920
+ */
2921
+ port?: number;
2922
+ /**
2923
+ * <p>The protocol of the target group.</p>
2924
+ */
2925
+ protocol?: TargetGroupProtocol | string;
2926
+ /**
2927
+ * <p>The type of IP address used for the target group. The possible values are <code>ipv4</code> and <code>ipv6</code>.
2928
+ * This is an optional parameter. If not specified, the IP address type defaults to <code>ipv4</code>.</p>
2929
+ */
2930
+ ipAddressType?: IpAddressType | string;
2931
+ /**
2932
+ * <p>The ID of the VPC of the target group.</p>
2933
+ */
2934
+ vpcIdentifier?: string;
2935
+ /**
2936
+ * <p>The date and time that the target group was last updated, specified in ISO-8601
2937
+ * format.</p>
2938
+ */
2939
+ lastUpdatedAt?: Date;
2940
+ /**
2941
+ * <p>The status.</p>
2942
+ */
2943
+ status?: TargetGroupStatus | string;
2944
+ /**
2945
+ * <p>The list of Amazon Resource Names (ARNs) of the service.</p>
2946
+ */
2947
+ serviceArns?: string[];
2948
+ }
2949
+ /**
2950
+ * @public
2951
+ */
2952
+ export interface ListTargetGroupsResponse {
2953
+ /**
2954
+ * <p>Information about the target groups.</p>
2955
+ */
2956
+ items?: TargetGroupSummary[];
2957
+ /**
2958
+ * <p>If there are additional results, a pagination token for the next page of results.</p>
2959
+ */
2960
+ nextToken?: string;
2961
+ }
2962
+ /**
2963
+ * @public
2964
+ */
2965
+ export interface ListTargetsRequest {
2966
+ /**
2967
+ * <p>The ID or Amazon Resource Name (ARN) of the target group.</p>
2968
+ */
2969
+ targetGroupIdentifier: string | undefined;
2970
+ /**
2971
+ * <p>The maximum number of results to return.</p>
2972
+ */
2973
+ maxResults?: number;
2974
+ /**
2975
+ * <p>A pagination token for the next page of results.</p>
2976
+ */
2977
+ nextToken?: string;
2978
+ /**
2979
+ * <p>The targets to list.</p>
2980
+ */
2981
+ targets?: Target[];
2982
+ }
2983
+ /**
2984
+ * @public
2985
+ * @enum
2986
+ */
2987
+ export declare const TargetStatus: {
2988
+ /**
2989
+ * The target is deregistering and connection draining is in process.
2990
+ */
2991
+ readonly DRAINING: "DRAINING";
2992
+ /**
2993
+ * The target is healthy.
2994
+ */
2995
+ readonly HEALTHY: "HEALTHY";
2996
+ /**
2997
+ * The initial health check is in progress.
2998
+ */
2999
+ readonly INITIAL: "INITIAL";
3000
+ /**
3001
+ * Health checks are disabled.
3002
+ */
3003
+ readonly UNAVAILABLE: "UNAVAILABLE";
3004
+ /**
3005
+ * The target failed the health check.
3006
+ */
3007
+ readonly UNHEALTHY: "UNHEALTHY";
3008
+ /**
3009
+ * The target group is not used in a listener rule.
3010
+ */
3011
+ readonly UNUSED: "UNUSED";
3012
+ };
3013
+ /**
3014
+ * @public
3015
+ */
3016
+ export type TargetStatus = (typeof TargetStatus)[keyof typeof TargetStatus];
3017
+ /**
3018
+ * @public
3019
+ * <p>Summary information about a target.</p>
3020
+ */
3021
+ export interface TargetSummary {
3022
+ /**
3023
+ * <p>The ID of the target. If the target type of the target group is <code>INSTANCE</code>, this
3024
+ * is an instance ID. If the target type is <code>IP</code> , this is an IP address. If the target
3025
+ * type is <code>LAMBDA</code>, this is the ARN of the Lambda function. If the target type is
3026
+ * <code>ALB</code>, this is the ARN of the Application Load Balancer.</p>
3027
+ */
3028
+ id?: string;
3029
+ /**
3030
+ * <p>The port on which the target is listening.</p>
3031
+ */
3032
+ port?: number;
3033
+ /**
3034
+ * <p>The status of the target.</p>
3035
+ * <ul>
3036
+ * <li>
3037
+ * <p>
3038
+ * <code>Draining</code>: The target is being deregistered. No new connections will be sent
3039
+ * to this target while current connections are being drained. Default draining time is 5
3040
+ * minutes.</p>
3041
+ * </li>
3042
+ * <li>
3043
+ * <p>
3044
+ * <code>Unavailable</code>: Health checks are unavailable for the target group.</p>
3045
+ * </li>
3046
+ * <li>
3047
+ * <p>
3048
+ * <code>Healthy</code>: The target is healthy. </p>
3049
+ * </li>
3050
+ * <li>
3051
+ * <p>
3052
+ * <code>Unhealthy</code>: The target is unhealthy.</p>
3053
+ * </li>
3054
+ * <li>
3055
+ * <p>
3056
+ * <code>Initial</code>: Initial health checks on the target are being performed.</p>
3057
+ * </li>
3058
+ * <li>
3059
+ * <p>
3060
+ * <code>Unused</code>: Target group is not used in a service.</p>
3061
+ * </li>
3062
+ * </ul>
3063
+ */
3064
+ status?: TargetStatus | string;
3065
+ /**
3066
+ * <p>The code for why the target status is what it is.</p>
3067
+ */
3068
+ reasonCode?: string;
3069
+ }
3070
+ /**
3071
+ * @public
3072
+ */
3073
+ export interface ListTargetsResponse {
3074
+ /**
3075
+ * <p>Information about the targets.</p>
3076
+ */
3077
+ items: TargetSummary[] | undefined;
3078
+ /**
3079
+ * <p>If there are additional results, a pagination token for the next page of results.</p>
3080
+ */
3081
+ nextToken?: string;
3082
+ }
3083
+ /**
3084
+ * @public
3085
+ */
3086
+ export interface PutAuthPolicyRequest {
3087
+ /**
3088
+ * <p>The ID or Amazon Resource Name (ARN) of the service network or service for which the policy
3089
+ * is created.</p>
3090
+ */
3091
+ resourceIdentifier: string | undefined;
3092
+ /**
3093
+ * <p>The auth policy.</p>
3094
+ */
3095
+ policy: string | undefined;
3096
+ }
3097
+ /**
3098
+ * @public
3099
+ */
3100
+ export interface PutAuthPolicyResponse {
3101
+ /**
3102
+ * <p>The auth policy.</p>
3103
+ */
3104
+ policy?: string;
3105
+ /**
3106
+ * <p>The state of the auth policy. The auth policy is only active when the auth type is set to
3107
+ * <code>Amazon Web Services_IAM</code>. If you provide a policy, then authentication and
3108
+ * authorization decisions are made based on this policy and the client's IAM policy. If the Auth
3109
+ * type is <code>NONE</code>, then, any auth policy you provide will remain inactive. For more
3110
+ * information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service
3111
+ * network</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>
3112
+ */
3113
+ state?: AuthPolicyState | string;
3114
+ }
3115
+ /**
3116
+ * @public
3117
+ */
3118
+ export interface PutResourcePolicyRequest {
3119
+ /**
3120
+ * <p>The ID or Amazon Resource Name (ARN) of the service network or service for which the policy
3121
+ * is created.</p>
3122
+ */
3123
+ resourceArn: string | undefined;
3124
+ /**
3125
+ * <p>An IAM policy.</p>
3126
+ */
3127
+ policy: string | undefined;
3128
+ }
3129
+ /**
3130
+ * @public
3131
+ */
3132
+ export interface PutResourcePolicyResponse {
3133
+ }
3134
+ /**
3135
+ * @public
3136
+ */
3137
+ export interface UpdateRuleRequest {
3138
+ /**
3139
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
3140
+ */
3141
+ serviceIdentifier: string | undefined;
3142
+ /**
3143
+ * <p>The ID or Amazon Resource Name (ARN) of the listener.</p>
3144
+ */
3145
+ listenerIdentifier: string | undefined;
3146
+ /**
3147
+ * <p>The ID or Amazon Resource Name (ARN) of the rule.</p>
3148
+ */
3149
+ ruleIdentifier: string | undefined;
3150
+ /**
3151
+ * <p>The rule match.</p>
3152
+ */
3153
+ match?: RuleMatch;
3154
+ /**
3155
+ * <p>The rule priority. A listener can't have multiple rules with the same priority.</p>
3156
+ */
3157
+ priority?: number;
3158
+ /**
3159
+ * <p>Information about the action for the specified listener rule.</p>
3160
+ */
3161
+ action?: RuleAction;
3162
+ }
3163
+ /**
3164
+ * @public
3165
+ */
3166
+ export interface UpdateRuleResponse {
3167
+ /**
3168
+ * <p>The Amazon Resource Name (ARN) of the listener.</p>
3169
+ */
3170
+ arn?: string;
3171
+ /**
3172
+ * <p>The ID of the listener.</p>
3173
+ */
3174
+ id?: string;
3175
+ /**
3176
+ * <p>The name of the listener.</p>
3177
+ */
3178
+ name?: string;
3179
+ /**
3180
+ * <p>Indicates whether this is the default rule.</p>
3181
+ */
3182
+ isDefault?: boolean;
3183
+ /**
3184
+ * <p>The rule match.</p>
3185
+ */
3186
+ match?: RuleMatch;
3187
+ /**
3188
+ * <p>The rule priority.</p>
3189
+ */
3190
+ priority?: number;
3191
+ /**
3192
+ * <p>Information about the action for the specified listener rule.</p>
3193
+ */
3194
+ action?: RuleAction;
3195
+ }
3196
+ /**
3197
+ * @public
3198
+ */
3199
+ export interface UpdateServiceRequest {
3200
+ /**
3201
+ * <p>The ID or Amazon Resource Name (ARN) of the service.</p>
3202
+ */
3203
+ serviceIdentifier: string | undefined;
3204
+ /**
3205
+ * <p>The Amazon Resource Name (ARN) of the certificate. </p>
3206
+ */
3207
+ certificateArn?: string;
3208
+ /**
3209
+ * <p>The type of IAM policy.</p>
3210
+ * <ul>
3211
+ * <li>
3212
+ * <p>
3213
+ * <code>NONE</code>: The resource does not use an IAM policy. This is the default.</p>
3214
+ * </li>
3215
+ * <li>
3216
+ * <p>
3217
+ * <code>AWS_IAM</code>: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.</p>
3218
+ * </li>
3219
+ * </ul>
3220
+ */
3221
+ authType?: AuthType | string;
3222
+ }
3223
+ /**
3224
+ * @public
3225
+ */
3226
+ export interface UpdateServiceResponse {
3227
+ /**
3228
+ * <p>The ID of the service.</p>
3229
+ */
3230
+ id?: string;
3231
+ /**
3232
+ * <p>The Amazon Resource Name (ARN) of the service.</p>
3233
+ */
3234
+ arn?: string;
3235
+ /**
3236
+ * <p>The name of the service.</p>
3237
+ */
3238
+ name?: string;
3239
+ /**
3240
+ * <p>The custom domain name of the service.</p>
3241
+ */
3242
+ customDomainName?: string;
3243
+ /**
3244
+ * <p>The Amazon Resource Name (ARN) of the certificate. </p>
3245
+ */
3246
+ certificateArn?: string;
3247
+ /**
3248
+ * <p>The type of IAM policy.</p>
3249
+ */
3250
+ authType?: AuthType | string;
3251
+ }
3252
+ /**
3253
+ * @public
3254
+ */
3255
+ export interface UpdateServiceNetworkRequest {
3256
+ /**
3257
+ * <p>The ID or Amazon Resource Name (ARN) of the service network.</p>
3258
+ */
3259
+ serviceNetworkIdentifier: string | undefined;
3260
+ /**
3261
+ * <p>The type of IAM policy.</p>
3262
+ * <ul>
3263
+ * <li>
3264
+ * <p>
3265
+ * <code>NONE</code>: The resource does not use an IAM policy. This is the default.</p>
3266
+ * </li>
3267
+ * <li>
3268
+ * <p>
3269
+ * <code>AWS_IAM</code>: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.</p>
3270
+ * </li>
3271
+ * </ul>
3272
+ */
3273
+ authType: AuthType | string | undefined;
3274
+ }
3275
+ /**
3276
+ * @public
3277
+ */
3278
+ export interface UpdateServiceNetworkResponse {
3279
+ /**
3280
+ * <p>The ID of the service network.</p>
3281
+ */
3282
+ id?: string;
3283
+ /**
3284
+ * <p>The name of the service network.</p>
3285
+ */
3286
+ name?: string;
3287
+ /**
3288
+ * <p>The Amazon Resource Name (ARN) of the service network.</p>
3289
+ */
3290
+ arn?: string;
3291
+ /**
3292
+ * <p>The type of IAM policy.</p>
3293
+ */
3294
+ authType?: AuthType | string;
3295
+ }
3296
+ /**
3297
+ * @public
3298
+ */
3299
+ export interface UpdateServiceNetworkVpcAssociationRequest {
3300
+ /**
3301
+ * <p>The ID or Amazon Resource Name (ARN) of the association.</p>
3302
+ */
3303
+ serviceNetworkVpcAssociationIdentifier: string | undefined;
3304
+ /**
3305
+ * <p>The IDs of the security groups. Once you add a security group, it cannot be removed.</p>
3306
+ */
3307
+ securityGroupIds: string[] | undefined;
3308
+ }
3309
+ /**
3310
+ * @public
3311
+ */
3312
+ export interface UpdateServiceNetworkVpcAssociationResponse {
3313
+ /**
3314
+ * <p>The ID of the association.</p>
3315
+ */
3316
+ id?: string;
3317
+ /**
3318
+ * <p>The Amazon Resource Name (ARN) of the association.</p>
3319
+ */
3320
+ arn?: string;
3321
+ /**
3322
+ * <p>The status. You can retry the operation if the status is <code>DELETE_FAILED</code>.
3323
+ * However, if you retry it while the status is <code>DELETE_IN_PROGRESS</code>, there is no change
3324
+ * in the status.</p>
3325
+ */
3326
+ status?: ServiceNetworkVpcAssociationStatus | string;
3327
+ /**
3328
+ * <p>The account that created the association.</p>
3329
+ */
3330
+ createdBy?: string;
3331
+ /**
3332
+ * <p>The IDs of the security groups.</p>
3333
+ */
3334
+ securityGroupIds?: string[];
3335
+ }
3336
+ /**
3337
+ * @public
3338
+ */
3339
+ export interface TagResourceRequest {
3340
+ /**
3341
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
3342
+ */
3343
+ resourceArn: string | undefined;
3344
+ /**
3345
+ * <p>The tags for the resource.</p>
3346
+ */
3347
+ tags: Record<string, string> | undefined;
3348
+ }
3349
+ /**
3350
+ * @public
3351
+ */
3352
+ export interface TagResourceResponse {
3353
+ }
3354
+ /**
3355
+ * @public
3356
+ */
3357
+ export interface RegisterTargetsRequest {
3358
+ /**
3359
+ * <p>The ID or Amazon Resource Name (ARN) of the target group.</p>
3360
+ */
3361
+ targetGroupIdentifier: string | undefined;
3362
+ /**
3363
+ * <p>The targets.</p>
3364
+ */
3365
+ targets: Target[] | undefined;
3366
+ }
3367
+ /**
3368
+ * @public
3369
+ */
3370
+ export interface RegisterTargetsResponse {
3371
+ /**
3372
+ * <p>The targets that were successfully registered.</p>
3373
+ */
3374
+ successful?: Target[];
3375
+ /**
3376
+ * <p>The targets that were not registered.</p>
3377
+ */
3378
+ unsuccessful?: TargetFailure[];
3379
+ }
3380
+ /**
3381
+ * @public
3382
+ */
3383
+ export interface UpdateTargetGroupRequest {
3384
+ /**
3385
+ * <p>The ID or Amazon Resource Name (ARN) of the target group.</p>
3386
+ */
3387
+ targetGroupIdentifier: string | undefined;
3388
+ /**
3389
+ * <p>The health check configuration.</p>
3390
+ */
3391
+ healthCheck: HealthCheckConfig | undefined;
3392
+ }
3393
+ /**
3394
+ * @public
3395
+ */
3396
+ export interface UpdateTargetGroupResponse {
3397
+ /**
3398
+ * <p>The ID of the target group.</p>
3399
+ */
3400
+ id?: string;
3401
+ /**
3402
+ * <p>The Amazon Resource Name (ARN) of the target group.</p>
3403
+ */
3404
+ arn?: string;
3405
+ /**
3406
+ * <p>The name of the target group.</p>
3407
+ */
3408
+ name?: string;
3409
+ /**
3410
+ * <p>The target group type.</p>
3411
+ */
3412
+ type?: TargetGroupType | string;
3413
+ /**
3414
+ * <p>The target group configuration.</p>
3415
+ */
3416
+ config?: TargetGroupConfig;
3417
+ /**
3418
+ * <p>The status.</p>
3419
+ */
3420
+ status?: TargetGroupStatus | string;
3421
+ }
3422
+ /**
3423
+ * @public
3424
+ */
3425
+ export interface UntagResourceRequest {
3426
+ /**
3427
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
3428
+ */
3429
+ resourceArn: string | undefined;
3430
+ /**
3431
+ * <p>The tag keys of the tags to remove.</p>
3432
+ */
3433
+ tagKeys: string[] | undefined;
3434
+ }
3435
+ /**
3436
+ * @public
3437
+ */
3438
+ export interface UntagResourceResponse {
3439
+ }