@aws-sdk/client-elastic-load-balancing-v2 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ElasticLoadBalancingV2.js +0 -42
  3. package/dist-cjs/ElasticLoadBalancingV2Client.js +0 -47
  4. package/dist-cjs/commands/AddListenerCertificatesCommand.js +0 -32
  5. package/dist-cjs/commands/AddTagsCommand.js +0 -29
  6. package/dist-cjs/commands/CreateListenerCommand.js +0 -52
  7. package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -52
  8. package/dist-cjs/commands/CreateRuleCommand.js +0 -30
  9. package/dist-cjs/commands/CreateTargetGroupCommand.js +0 -52
  10. package/dist-cjs/commands/DeleteListenerCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -31
  12. package/dist-cjs/commands/DeleteRuleCommand.js +0 -26
  13. package/dist-cjs/commands/DeleteTargetGroupCommand.js +0 -29
  14. package/dist-cjs/commands/DeregisterTargetsCommand.js +0 -26
  15. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -47
  16. package/dist-cjs/commands/DescribeListenerCertificatesCommand.js +0 -32
  17. package/dist-cjs/commands/DescribeListenersCommand.js +0 -27
  18. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -48
  19. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeRulesCommand.js +0 -26
  21. package/dist-cjs/commands/DescribeSSLPoliciesCommand.js +0 -27
  22. package/dist-cjs/commands/DescribeTagsCommand.js +0 -27
  23. package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js +0 -46
  24. package/dist-cjs/commands/DescribeTargetGroupsCommand.js +0 -28
  25. package/dist-cjs/commands/DescribeTargetHealthCommand.js +0 -25
  26. package/dist-cjs/commands/ModifyListenerCommand.js +0 -32
  27. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -28
  28. package/dist-cjs/commands/ModifyRuleCommand.js +0 -29
  29. package/dist-cjs/commands/ModifyTargetGroupAttributesCommand.js +0 -25
  30. package/dist-cjs/commands/ModifyTargetGroupCommand.js +0 -26
  31. package/dist-cjs/commands/RegisterTargetsCommand.js +0 -37
  32. package/dist-cjs/commands/RemoveListenerCertificatesCommand.js +0 -26
  33. package/dist-cjs/commands/RemoveTagsCommand.js +0 -27
  34. package/dist-cjs/commands/SetIpAddressTypeCommand.js +0 -26
  35. package/dist-cjs/commands/SetRulePrioritiesCommand.js +0 -27
  36. package/dist-cjs/commands/SetSecurityGroupsCommand.js +0 -28
  37. package/dist-cjs/commands/SetSubnetsCommand.js +0 -30
  38. package/dist-cjs/commands/index.js +37 -0
  39. package/dist-cjs/endpoints.js +1 -2
  40. package/dist-cjs/index.js +5 -46
  41. package/dist-cjs/models/index.js +0 -1
  42. package/dist-cjs/models/models_0.js +8 -430
  43. package/dist-cjs/pagination/DescribeListenersPaginator.js +0 -11
  44. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -11
  45. package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js +0 -11
  46. package/dist-cjs/pagination/Interfaces.js +0 -1
  47. package/dist-cjs/pagination/index.js +7 -0
  48. package/dist-cjs/protocols/Aws_query.js +18 -3
  49. package/dist-cjs/runtimeConfig.browser.js +1 -6
  50. package/dist-cjs/runtimeConfig.js +2 -7
  51. package/dist-cjs/runtimeConfig.native.js +0 -4
  52. package/dist-cjs/runtimeConfig.shared.js +0 -4
  53. package/dist-cjs/waiters/index.js +8 -0
  54. package/dist-cjs/waiters/waitForLoadBalancerAvailable.js +0 -10
  55. package/dist-cjs/waiters/waitForLoadBalancerExists.js +0 -10
  56. package/dist-cjs/waiters/waitForLoadBalancersDeleted.js +0 -10
  57. package/dist-cjs/waiters/waitForTargetDeregistered.js +0 -10
  58. package/dist-cjs/waiters/waitForTargetInService.js +0 -10
  59. package/dist-es/ElasticLoadBalancingV2.js +0 -1
  60. package/dist-es/ElasticLoadBalancingV2Client.js +0 -1
  61. package/dist-es/commands/AddListenerCertificatesCommand.js +0 -1
  62. package/dist-es/commands/AddTagsCommand.js +0 -1
  63. package/dist-es/commands/CreateListenerCommand.js +0 -1
  64. package/dist-es/commands/CreateLoadBalancerCommand.js +0 -1
  65. package/dist-es/commands/CreateRuleCommand.js +0 -1
  66. package/dist-es/commands/CreateTargetGroupCommand.js +0 -1
  67. package/dist-es/commands/DeleteListenerCommand.js +0 -1
  68. package/dist-es/commands/DeleteLoadBalancerCommand.js +0 -1
  69. package/dist-es/commands/DeleteRuleCommand.js +0 -1
  70. package/dist-es/commands/DeleteTargetGroupCommand.js +0 -1
  71. package/dist-es/commands/DeregisterTargetsCommand.js +0 -1
  72. package/dist-es/commands/DescribeAccountLimitsCommand.js +0 -1
  73. package/dist-es/commands/DescribeListenerCertificatesCommand.js +0 -1
  74. package/dist-es/commands/DescribeListenersCommand.js +0 -1
  75. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +0 -1
  76. package/dist-es/commands/DescribeLoadBalancersCommand.js +0 -1
  77. package/dist-es/commands/DescribeRulesCommand.js +0 -1
  78. package/dist-es/commands/DescribeSSLPoliciesCommand.js +0 -1
  79. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  80. package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +0 -1
  81. package/dist-es/commands/DescribeTargetGroupsCommand.js +0 -1
  82. package/dist-es/commands/DescribeTargetHealthCommand.js +0 -1
  83. package/dist-es/commands/ModifyListenerCommand.js +0 -1
  84. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +0 -1
  85. package/dist-es/commands/ModifyRuleCommand.js +0 -1
  86. package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +0 -1
  87. package/dist-es/commands/ModifyTargetGroupCommand.js +0 -1
  88. package/dist-es/commands/RegisterTargetsCommand.js +0 -1
  89. package/dist-es/commands/RemoveListenerCertificatesCommand.js +0 -1
  90. package/dist-es/commands/RemoveTagsCommand.js +0 -1
  91. package/dist-es/commands/SetIpAddressTypeCommand.js +0 -1
  92. package/dist-es/commands/SetRulePrioritiesCommand.js +0 -1
  93. package/dist-es/commands/SetSecurityGroupsCommand.js +0 -1
  94. package/dist-es/commands/SetSubnetsCommand.js +0 -1
  95. package/dist-es/commands/index.js +34 -0
  96. package/dist-es/endpoints.js +1 -2
  97. package/dist-es/index.js +5 -46
  98. package/dist-es/models/index.js +0 -1
  99. package/dist-es/models/models_0.js +5 -1
  100. package/dist-es/pagination/DescribeListenersPaginator.js +0 -1
  101. package/dist-es/pagination/DescribeLoadBalancersPaginator.js +0 -1
  102. package/dist-es/pagination/DescribeTargetGroupsPaginator.js +0 -1
  103. package/dist-es/pagination/Interfaces.js +0 -1
  104. package/dist-es/pagination/index.js +4 -0
  105. package/dist-es/protocols/Aws_query.js +18 -1
  106. package/dist-es/runtimeConfig.browser.js +1 -2
  107. package/dist-es/runtimeConfig.js +2 -3
  108. package/dist-es/runtimeConfig.native.js +0 -1
  109. package/dist-es/runtimeConfig.shared.js +0 -1
  110. package/dist-es/waiters/index.js +5 -0
  111. package/dist-es/waiters/waitForLoadBalancerAvailable.js +0 -1
  112. package/dist-es/waiters/waitForLoadBalancerExists.js +0 -1
  113. package/dist-es/waiters/waitForLoadBalancersDeleted.js +0 -1
  114. package/dist-es/waiters/waitForTargetDeregistered.js +0 -1
  115. package/dist-es/waiters/waitForTargetInService.js +0 -1
  116. package/dist-types/commands/index.d.ts +34 -0
  117. package/dist-types/index.d.ts +5 -45
  118. package/dist-types/models/models_0.d.ts +41 -12
  119. package/dist-types/pagination/index.d.ts +4 -0
  120. package/dist-types/runtimeConfig.browser.d.ts +3 -1
  121. package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +35 -378
  122. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +24 -127
  123. package/dist-types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +2 -27
  124. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -47
  126. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -47
  127. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -25
  128. package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +2 -47
  129. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -22
  130. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -26
  131. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -21
  132. package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +2 -24
  133. package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +2 -21
  134. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -42
  135. package/dist-types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +2 -27
  136. package/dist-types/ts3.4/commands/DescribeListenersCommand.d.ts +2 -22
  137. package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -43
  138. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/DescribeRulesCommand.d.ts +2 -21
  140. package/dist-types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +2 -22
  141. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -22
  142. package/dist-types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +2 -41
  143. package/dist-types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +2 -23
  144. package/dist-types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/ModifyListenerCommand.d.ts +2 -27
  146. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -23
  147. package/dist-types/ts3.4/commands/ModifyRuleCommand.d.ts +2 -24
  148. package/dist-types/ts3.4/commands/ModifyTargetGroupAttributesCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +2 -21
  150. package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +2 -32
  151. package/dist-types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +2 -21
  152. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -22
  153. package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +2 -21
  154. package/dist-types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +2 -22
  155. package/dist-types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +2 -23
  156. package/dist-types/ts3.4/commands/SetSubnetsCommand.d.ts +2 -25
  157. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  158. package/dist-types/ts3.4/index.d.ts +5 -45
  159. package/dist-types/ts3.4/models/models_0.d.ts +238 -3056
  160. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  161. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -4
  162. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  163. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  164. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  165. package/dist-types/ts3.4/waiters/index.d.ts +5 -0
  166. package/dist-types/ts3.4/waiters/waitForLoadBalancerAvailable.d.ts +2 -9
  167. package/dist-types/ts3.4/waiters/waitForLoadBalancerExists.d.ts +2 -9
  168. package/dist-types/ts3.4/waiters/waitForLoadBalancersDeleted.d.ts +2 -9
  169. package/dist-types/ts3.4/waiters/waitForTargetDeregistered.d.ts +2 -9
  170. package/dist-types/ts3.4/waiters/waitForTargetInService.d.ts +2 -9
  171. package/dist-types/waiters/index.d.ts +5 -0
  172. package/package.json +34 -31
  173. package/dist-cjs/ElasticLoadBalancingV2.js.map +0 -1
  174. package/dist-cjs/ElasticLoadBalancingV2Client.js.map +0 -1
  175. package/dist-cjs/commands/AddListenerCertificatesCommand.js.map +0 -1
  176. package/dist-cjs/commands/AddTagsCommand.js.map +0 -1
  177. package/dist-cjs/commands/CreateListenerCommand.js.map +0 -1
  178. package/dist-cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
  179. package/dist-cjs/commands/CreateRuleCommand.js.map +0 -1
  180. package/dist-cjs/commands/CreateTargetGroupCommand.js.map +0 -1
  181. package/dist-cjs/commands/DeleteListenerCommand.js.map +0 -1
  182. package/dist-cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
  183. package/dist-cjs/commands/DeleteRuleCommand.js.map +0 -1
  184. package/dist-cjs/commands/DeleteTargetGroupCommand.js.map +0 -1
  185. package/dist-cjs/commands/DeregisterTargetsCommand.js.map +0 -1
  186. package/dist-cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
  187. package/dist-cjs/commands/DescribeListenerCertificatesCommand.js.map +0 -1
  188. package/dist-cjs/commands/DescribeListenersCommand.js.map +0 -1
  189. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  190. package/dist-cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
  191. package/dist-cjs/commands/DescribeRulesCommand.js.map +0 -1
  192. package/dist-cjs/commands/DescribeSSLPoliciesCommand.js.map +0 -1
  193. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  194. package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js.map +0 -1
  195. package/dist-cjs/commands/DescribeTargetGroupsCommand.js.map +0 -1
  196. package/dist-cjs/commands/DescribeTargetHealthCommand.js.map +0 -1
  197. package/dist-cjs/commands/ModifyListenerCommand.js.map +0 -1
  198. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  199. package/dist-cjs/commands/ModifyRuleCommand.js.map +0 -1
  200. package/dist-cjs/commands/ModifyTargetGroupAttributesCommand.js.map +0 -1
  201. package/dist-cjs/commands/ModifyTargetGroupCommand.js.map +0 -1
  202. package/dist-cjs/commands/RegisterTargetsCommand.js.map +0 -1
  203. package/dist-cjs/commands/RemoveListenerCertificatesCommand.js.map +0 -1
  204. package/dist-cjs/commands/RemoveTagsCommand.js.map +0 -1
  205. package/dist-cjs/commands/SetIpAddressTypeCommand.js.map +0 -1
  206. package/dist-cjs/commands/SetRulePrioritiesCommand.js.map +0 -1
  207. package/dist-cjs/commands/SetSecurityGroupsCommand.js.map +0 -1
  208. package/dist-cjs/commands/SetSubnetsCommand.js.map +0 -1
  209. package/dist-cjs/endpoints.js.map +0 -1
  210. package/dist-cjs/index.js.map +0 -1
  211. package/dist-cjs/models/index.js.map +0 -1
  212. package/dist-cjs/models/models_0.js.map +0 -1
  213. package/dist-cjs/pagination/DescribeListenersPaginator.js.map +0 -1
  214. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  215. package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js.map +0 -1
  216. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  217. package/dist-cjs/protocols/Aws_query.js.map +0 -1
  218. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  219. package/dist-cjs/runtimeConfig.js.map +0 -1
  220. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  221. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  222. package/dist-cjs/waiters/waitForLoadBalancerAvailable.js.map +0 -1
  223. package/dist-cjs/waiters/waitForLoadBalancerExists.js.map +0 -1
  224. package/dist-cjs/waiters/waitForLoadBalancersDeleted.js.map +0 -1
  225. package/dist-cjs/waiters/waitForTargetDeregistered.js.map +0 -1
  226. package/dist-cjs/waiters/waitForTargetInService.js.map +0 -1
  227. package/dist-es/ElasticLoadBalancingV2.js.map +0 -1
  228. package/dist-es/ElasticLoadBalancingV2Client.js.map +0 -1
  229. package/dist-es/commands/AddListenerCertificatesCommand.js.map +0 -1
  230. package/dist-es/commands/AddTagsCommand.js.map +0 -1
  231. package/dist-es/commands/CreateListenerCommand.js.map +0 -1
  232. package/dist-es/commands/CreateLoadBalancerCommand.js.map +0 -1
  233. package/dist-es/commands/CreateRuleCommand.js.map +0 -1
  234. package/dist-es/commands/CreateTargetGroupCommand.js.map +0 -1
  235. package/dist-es/commands/DeleteListenerCommand.js.map +0 -1
  236. package/dist-es/commands/DeleteLoadBalancerCommand.js.map +0 -1
  237. package/dist-es/commands/DeleteRuleCommand.js.map +0 -1
  238. package/dist-es/commands/DeleteTargetGroupCommand.js.map +0 -1
  239. package/dist-es/commands/DeregisterTargetsCommand.js.map +0 -1
  240. package/dist-es/commands/DescribeAccountLimitsCommand.js.map +0 -1
  241. package/dist-es/commands/DescribeListenerCertificatesCommand.js.map +0 -1
  242. package/dist-es/commands/DescribeListenersCommand.js.map +0 -1
  243. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  244. package/dist-es/commands/DescribeLoadBalancersCommand.js.map +0 -1
  245. package/dist-es/commands/DescribeRulesCommand.js.map +0 -1
  246. package/dist-es/commands/DescribeSSLPoliciesCommand.js.map +0 -1
  247. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  248. package/dist-es/commands/DescribeTargetGroupAttributesCommand.js.map +0 -1
  249. package/dist-es/commands/DescribeTargetGroupsCommand.js.map +0 -1
  250. package/dist-es/commands/DescribeTargetHealthCommand.js.map +0 -1
  251. package/dist-es/commands/ModifyListenerCommand.js.map +0 -1
  252. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  253. package/dist-es/commands/ModifyRuleCommand.js.map +0 -1
  254. package/dist-es/commands/ModifyTargetGroupAttributesCommand.js.map +0 -1
  255. package/dist-es/commands/ModifyTargetGroupCommand.js.map +0 -1
  256. package/dist-es/commands/RegisterTargetsCommand.js.map +0 -1
  257. package/dist-es/commands/RemoveListenerCertificatesCommand.js.map +0 -1
  258. package/dist-es/commands/RemoveTagsCommand.js.map +0 -1
  259. package/dist-es/commands/SetIpAddressTypeCommand.js.map +0 -1
  260. package/dist-es/commands/SetRulePrioritiesCommand.js.map +0 -1
  261. package/dist-es/commands/SetSecurityGroupsCommand.js.map +0 -1
  262. package/dist-es/commands/SetSubnetsCommand.js.map +0 -1
  263. package/dist-es/endpoints.js.map +0 -1
  264. package/dist-es/index.js.map +0 -1
  265. package/dist-es/models/index.js.map +0 -1
  266. package/dist-es/models/models_0.js.map +0 -1
  267. package/dist-es/pagination/DescribeListenersPaginator.js.map +0 -1
  268. package/dist-es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  269. package/dist-es/pagination/DescribeTargetGroupsPaginator.js.map +0 -1
  270. package/dist-es/pagination/Interfaces.js.map +0 -1
  271. package/dist-es/protocols/Aws_query.js.map +0 -1
  272. package/dist-es/runtimeConfig.browser.js.map +0 -1
  273. package/dist-es/runtimeConfig.js.map +0 -1
  274. package/dist-es/runtimeConfig.native.js.map +0 -1
  275. package/dist-es/runtimeConfig.shared.js.map +0 -1
  276. package/dist-es/waiters/waitForLoadBalancerAvailable.js.map +0 -1
  277. package/dist-es/waiters/waitForLoadBalancerExists.js.map +0 -1
  278. package/dist-es/waiters/waitForLoadBalancersDeleted.js.map +0 -1
  279. package/dist-es/waiters/waitForTargetDeregistered.js.map +0 -1
  280. package/dist-es/waiters/waitForTargetInService.js.map +0 -1
  281. package/jest.config.js +0 -4
  282. package/src/ElasticLoadBalancingV2.ts +0 -1476
  283. package/src/ElasticLoadBalancingV2Client.ts +0 -412
  284. package/src/commands/AddListenerCertificatesCommand.ts +0 -106
  285. package/src/commands/AddTagsCommand.ts +0 -100
  286. package/src/commands/CreateListenerCommand.ts +0 -126
  287. package/src/commands/CreateLoadBalancerCommand.ts +0 -126
  288. package/src/commands/CreateRuleCommand.ts +0 -101
  289. package/src/commands/CreateTargetGroupCommand.ts +0 -126
  290. package/src/commands/DeleteListenerCommand.ts +0 -101
  291. package/src/commands/DeleteLoadBalancerCommand.ts +0 -105
  292. package/src/commands/DeleteRuleCommand.ts +0 -97
  293. package/src/commands/DeleteTargetGroupCommand.ts +0 -103
  294. package/src/commands/DeregisterTargetsCommand.ts +0 -100
  295. package/src/commands/DescribeAccountLimitsCommand.ts +0 -121
  296. package/src/commands/DescribeListenerCertificatesCommand.ts +0 -111
  297. package/src/commands/DescribeListenersCommand.ts +0 -101
  298. package/src/commands/DescribeLoadBalancerAttributesCommand.ts +0 -130
  299. package/src/commands/DescribeLoadBalancersCommand.ts +0 -99
  300. package/src/commands/DescribeRulesCommand.ts +0 -100
  301. package/src/commands/DescribeSSLPoliciesCommand.ts +0 -101
  302. package/src/commands/DescribeTagsCommand.ts +0 -98
  303. package/src/commands/DescribeTargetGroupAttributesCommand.ts +0 -125
  304. package/src/commands/DescribeTargetGroupsCommand.ts +0 -102
  305. package/src/commands/DescribeTargetHealthCommand.ts +0 -99
  306. package/src/commands/ModifyListenerCommand.ts +0 -106
  307. package/src/commands/ModifyLoadBalancerAttributesCommand.ts +0 -107
  308. package/src/commands/ModifyRuleCommand.ts +0 -100
  309. package/src/commands/ModifyTargetGroupAttributesCommand.ts +0 -102
  310. package/src/commands/ModifyTargetGroupCommand.ts +0 -100
  311. package/src/commands/RegisterTargetsCommand.ts +0 -111
  312. package/src/commands/RemoveListenerCertificatesCommand.ts +0 -103
  313. package/src/commands/RemoveTagsCommand.ts +0 -98
  314. package/src/commands/SetIpAddressTypeCommand.ts +0 -100
  315. package/src/commands/SetRulePrioritiesCommand.ts +0 -101
  316. package/src/commands/SetSecurityGroupsCommand.ts +0 -102
  317. package/src/commands/SetSubnetsCommand.ts +0 -101
  318. package/src/endpoints.ts +0 -86
  319. package/src/index.ts +0 -46
  320. package/src/models/index.ts +0 -1
  321. package/src/models/models_0.ts +0 -4397
  322. package/src/pagination/DescribeListenersPaginator.ts +0 -58
  323. package/src/pagination/DescribeLoadBalancersPaginator.ts +0 -58
  324. package/src/pagination/DescribeTargetGroupsPaginator.ts +0 -58
  325. package/src/pagination/Interfaces.ts +0 -8
  326. package/src/protocols/Aws_query.ts +0 -7922
  327. package/src/runtimeConfig.browser.ts +0 -41
  328. package/src/runtimeConfig.native.ts +0 -17
  329. package/src/runtimeConfig.shared.ts +0 -17
  330. package/src/runtimeConfig.ts +0 -46
  331. package/src/waiters/waitForLoadBalancerAvailable.ts +0 -78
  332. package/src/waiters/waitForLoadBalancerExists.ts +0 -49
  333. package/src/waiters/waitForLoadBalancersDeleted.ts +0 -64
  334. package/src/waiters/waitForTargetDeregistered.ts +0 -61
  335. package/src/waiters/waitForTargetInService.ts +0 -61
  336. package/tsconfig.es.json +0 -10
  337. package/tsconfig.json +0 -33
  338. package/tsconfig.types.json +0 -9
@@ -1,4397 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- export enum AuthenticateCognitoActionConditionalBehaviorEnum {
4
- ALLOW = "allow",
5
- AUTHENTICATE = "authenticate",
6
- DENY = "deny",
7
- }
8
-
9
- /**
10
- * <p>Request parameters to use when integrating with Amazon Cognito to authenticate
11
- * users.</p>
12
- */
13
- export interface AuthenticateCognitoActionConfig {
14
- /**
15
- * <p>The Amazon Resource Name (ARN) of the Amazon Cognito user pool.</p>
16
- */
17
- UserPoolArn: string | undefined;
18
-
19
- /**
20
- * <p>The ID of the Amazon Cognito user pool client.</p>
21
- */
22
- UserPoolClientId: string | undefined;
23
-
24
- /**
25
- * <p>The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.</p>
26
- */
27
- UserPoolDomain: string | undefined;
28
-
29
- /**
30
- * <p>The name of the cookie used to maintain session information. The default is
31
- * AWSELBAuthSessionCookie.</p>
32
- */
33
- SessionCookieName?: string;
34
-
35
- /**
36
- * <p>The set of user claims to be requested from the IdP. The default is
37
- * <code>openid</code>.</p>
38
- * <p>To verify which scope values your IdP supports and how to separate multiple values, see
39
- * the documentation for your IdP.</p>
40
- */
41
- Scope?: string;
42
-
43
- /**
44
- * <p>The maximum duration of the authentication session, in seconds. The default is 604800
45
- * seconds (7 days).</p>
46
- */
47
- SessionTimeout?: number;
48
-
49
- /**
50
- * <p>The query parameters (up to 10) to include in the redirect request to the authorization
51
- * endpoint.</p>
52
- */
53
- AuthenticationRequestExtraParams?: { [key: string]: string };
54
-
55
- /**
56
- * <p>The behavior if the user is not authenticated. The following are possible values:</p>
57
- * <ul>
58
- * <li>
59
- * <p>deny<code></code> - Return an HTTP 401 Unauthorized error.</p>
60
- * </li>
61
- * <li>
62
- * <p>allow<code></code> - Allow the request to be forwarded to the target.</p>
63
- * </li>
64
- * <li>
65
- * <p>authenticate<code></code> - Redirect the request to the IdP authorization endpoint. This is
66
- * the default value.</p>
67
- * </li>
68
- * </ul>
69
- */
70
- OnUnauthenticatedRequest?: AuthenticateCognitoActionConditionalBehaviorEnum | string;
71
- }
72
-
73
- export namespace AuthenticateCognitoActionConfig {
74
- /**
75
- * @internal
76
- */
77
- export const filterSensitiveLog = (obj: AuthenticateCognitoActionConfig): any => ({
78
- ...obj,
79
- });
80
- }
81
-
82
- export enum AuthenticateOidcActionConditionalBehaviorEnum {
83
- ALLOW = "allow",
84
- AUTHENTICATE = "authenticate",
85
- DENY = "deny",
86
- }
87
-
88
- /**
89
- * <p>Request parameters when using an identity provider (IdP) that is compliant with OpenID
90
- * Connect (OIDC) to authenticate users.</p>
91
- */
92
- export interface AuthenticateOidcActionConfig {
93
- /**
94
- * <p>The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS
95
- * protocol, the domain, and the path.</p>
96
- */
97
- Issuer: string | undefined;
98
-
99
- /**
100
- * <p>The authorization endpoint of the IdP. This must be a full URL, including the HTTPS
101
- * protocol, the domain, and the path.</p>
102
- */
103
- AuthorizationEndpoint: string | undefined;
104
-
105
- /**
106
- * <p>The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the
107
- * domain, and the path.</p>
108
- */
109
- TokenEndpoint: string | undefined;
110
-
111
- /**
112
- * <p>The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol,
113
- * the domain, and the path.</p>
114
- */
115
- UserInfoEndpoint: string | undefined;
116
-
117
- /**
118
- * <p>The OAuth 2.0 client identifier.</p>
119
- */
120
- ClientId: string | undefined;
121
-
122
- /**
123
- * <p>The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you
124
- * are modifying a rule, you can omit this parameter if you set
125
- * <code>UseExistingClientSecret</code> to true.</p>
126
- */
127
- ClientSecret?: string;
128
-
129
- /**
130
- * <p>The name of the cookie used to maintain session information. The default is
131
- * AWSELBAuthSessionCookie.</p>
132
- */
133
- SessionCookieName?: string;
134
-
135
- /**
136
- * <p>The set of user claims to be requested from the IdP. The default is
137
- * <code>openid</code>.</p>
138
- * <p>To verify which scope values your IdP supports and how to separate multiple values, see
139
- * the documentation for your IdP.</p>
140
- */
141
- Scope?: string;
142
-
143
- /**
144
- * <p>The maximum duration of the authentication session, in seconds. The default is 604800
145
- * seconds (7 days).</p>
146
- */
147
- SessionTimeout?: number;
148
-
149
- /**
150
- * <p>The query parameters (up to 10) to include in the redirect request to the authorization
151
- * endpoint.</p>
152
- */
153
- AuthenticationRequestExtraParams?: { [key: string]: string };
154
-
155
- /**
156
- * <p>The behavior if the user is not authenticated. The following are possible values:</p>
157
- * <ul>
158
- * <li>
159
- * <p>deny<code></code> - Return an HTTP 401 Unauthorized error.</p>
160
- * </li>
161
- * <li>
162
- * <p>allow<code></code> - Allow the request to be forwarded to the target.</p>
163
- * </li>
164
- * <li>
165
- * <p>authenticate<code></code> - Redirect the request to the IdP authorization endpoint. This is
166
- * the default value.</p>
167
- * </li>
168
- * </ul>
169
- */
170
- OnUnauthenticatedRequest?: AuthenticateOidcActionConditionalBehaviorEnum | string;
171
-
172
- /**
173
- * <p>Indicates whether to use the existing client secret when modifying a rule. If you are
174
- * creating a rule, you can omit this parameter or set it to false.</p>
175
- */
176
- UseExistingClientSecret?: boolean;
177
- }
178
-
179
- export namespace AuthenticateOidcActionConfig {
180
- /**
181
- * @internal
182
- */
183
- export const filterSensitiveLog = (obj: AuthenticateOidcActionConfig): any => ({
184
- ...obj,
185
- });
186
- }
187
-
188
- /**
189
- * <p>Information about an action that returns a custom HTTP response.</p>
190
- */
191
- export interface FixedResponseActionConfig {
192
- /**
193
- * <p>The message.</p>
194
- */
195
- MessageBody?: string;
196
-
197
- /**
198
- * <p>The HTTP response code (2XX, 4XX, or 5XX).</p>
199
- */
200
- StatusCode: string | undefined;
201
-
202
- /**
203
- * <p>The content type.</p>
204
- * <p>Valid Values: text/plain | text/css | text/html | application/javascript |
205
- * application/json</p>
206
- */
207
- ContentType?: string;
208
- }
209
-
210
- export namespace FixedResponseActionConfig {
211
- /**
212
- * @internal
213
- */
214
- export const filterSensitiveLog = (obj: FixedResponseActionConfig): any => ({
215
- ...obj,
216
- });
217
- }
218
-
219
- /**
220
- * <p>Information about how traffic will be distributed between multiple target groups in a
221
- * forward rule.</p>
222
- */
223
- export interface TargetGroupTuple {
224
- /**
225
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
226
- */
227
- TargetGroupArn?: string;
228
-
229
- /**
230
- * <p>The weight. The range is 0 to 999.</p>
231
- */
232
- Weight?: number;
233
- }
234
-
235
- export namespace TargetGroupTuple {
236
- /**
237
- * @internal
238
- */
239
- export const filterSensitiveLog = (obj: TargetGroupTuple): any => ({
240
- ...obj,
241
- });
242
- }
243
-
244
- /**
245
- * <p>Information about the target group stickiness for a rule.</p>
246
- */
247
- export interface TargetGroupStickinessConfig {
248
- /**
249
- * <p>Indicates whether target group stickiness is enabled.</p>
250
- */
251
- Enabled?: boolean;
252
-
253
- /**
254
- * <p>The time period, in seconds, during which requests from a client should be routed to the
255
- * same target group. The range is 1-604800 seconds (7 days).</p>
256
- */
257
- DurationSeconds?: number;
258
- }
259
-
260
- export namespace TargetGroupStickinessConfig {
261
- /**
262
- * @internal
263
- */
264
- export const filterSensitiveLog = (obj: TargetGroupStickinessConfig): any => ({
265
- ...obj,
266
- });
267
- }
268
-
269
- /**
270
- * <p>Information about a forward action.</p>
271
- */
272
- export interface ForwardActionConfig {
273
- /**
274
- * <p>One or more target groups. For Network Load Balancers, you can specify a single target
275
- * group.</p>
276
- */
277
- TargetGroups?: TargetGroupTuple[];
278
-
279
- /**
280
- * <p>The target group stickiness for the rule.</p>
281
- */
282
- TargetGroupStickinessConfig?: TargetGroupStickinessConfig;
283
- }
284
-
285
- export namespace ForwardActionConfig {
286
- /**
287
- * @internal
288
- */
289
- export const filterSensitiveLog = (obj: ForwardActionConfig): any => ({
290
- ...obj,
291
- });
292
- }
293
-
294
- export enum RedirectActionStatusCodeEnum {
295
- HTTP_301 = "HTTP_301",
296
- HTTP_302 = "HTTP_302",
297
- }
298
-
299
- /**
300
- * <p>Information about a redirect action.</p>
301
- * <p>A URI consists of the following components: protocol://hostname:port/path?query. You must
302
- * modify at least one of the following components to avoid a redirect loop: protocol, hostname,
303
- * port, or path. Any components that you do not modify retain their original values.</p>
304
- * <p>You can reuse URI components using the following reserved keywords:</p>
305
- * <ul>
306
- * <li>
307
- * <p>#{protocol}</p>
308
- * </li>
309
- * <li>
310
- * <p>#{host}</p>
311
- * </li>
312
- * <li>
313
- * <p>#{port}</p>
314
- * </li>
315
- * <li>
316
- * <p>#{path} (the leading "/" is removed)</p>
317
- * </li>
318
- * <li>
319
- * <p>#{query}</p>
320
- * </li>
321
- * </ul>
322
- * <p>For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}",
323
- * or the query to "#{query}&value=xyz".</p>
324
- */
325
- export interface RedirectActionConfig {
326
- /**
327
- * <p>The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP,
328
- * HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.</p>
329
- */
330
- Protocol?: string;
331
-
332
- /**
333
- * <p>The port. You can specify a value from 1 to 65535 or #{port}.</p>
334
- */
335
- Port?: string;
336
-
337
- /**
338
- * <p>The hostname. This component is not percent-encoded. The hostname can contain
339
- * #{host}.</p>
340
- */
341
- Host?: string;
342
-
343
- /**
344
- * <p>The absolute path, starting with the leading "/". This component is not percent-encoded.
345
- * The path can contain #{host}, #{path}, and #{port}.</p>
346
- */
347
- Path?: string;
348
-
349
- /**
350
- * <p>The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include
351
- * the leading "?", as it is automatically added. You can specify any of the reserved
352
- * keywords.</p>
353
- */
354
- Query?: string;
355
-
356
- /**
357
- * <p>The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP
358
- * 302).</p>
359
- */
360
- StatusCode: RedirectActionStatusCodeEnum | string | undefined;
361
- }
362
-
363
- export namespace RedirectActionConfig {
364
- /**
365
- * @internal
366
- */
367
- export const filterSensitiveLog = (obj: RedirectActionConfig): any => ({
368
- ...obj,
369
- });
370
- }
371
-
372
- export enum ActionTypeEnum {
373
- AUTHENTICATE_COGNITO = "authenticate-cognito",
374
- AUTHENTICATE_OIDC = "authenticate-oidc",
375
- FIXED_RESPONSE = "fixed-response",
376
- FORWARD = "forward",
377
- REDIRECT = "redirect",
378
- }
379
-
380
- /**
381
- * <p>Information about an action.</p>
382
- * <p>Each rule must include exactly one of the following types of actions:
383
- * <code>forward</code>, <code>fixed-response</code>, or <code>redirect</code>, and it must be
384
- * the last action to be performed.</p>
385
- */
386
- export interface Action {
387
- /**
388
- * <p>The type of action.</p>
389
- */
390
- Type: ActionTypeEnum | string | undefined;
391
-
392
- /**
393
- * <p>The Amazon Resource Name (ARN) of the target group. Specify only when <code>Type</code> is
394
- * <code>forward</code> and you want to route to a single target group. To route to one or more
395
- * target groups, use <code>ForwardConfig</code> instead.</p>
396
- */
397
- TargetGroupArn?: string;
398
-
399
- /**
400
- * <p>[HTTPS listeners] Information about an identity provider that is compliant with OpenID
401
- * Connect (OIDC). Specify only when <code>Type</code> is <code>authenticate-oidc</code>.</p>
402
- */
403
- AuthenticateOidcConfig?: AuthenticateOidcActionConfig;
404
-
405
- /**
406
- * <p>[HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only
407
- * when <code>Type</code> is <code>authenticate-cognito</code>.</p>
408
- */
409
- AuthenticateCognitoConfig?: AuthenticateCognitoActionConfig;
410
-
411
- /**
412
- * <p>The order for the action. This value is required for rules with multiple actions. The
413
- * action with the lowest value for order is performed first.</p>
414
- */
415
- Order?: number;
416
-
417
- /**
418
- * <p>[Application Load Balancer] Information for creating a redirect action. Specify only when
419
- * <code>Type</code> is <code>redirect</code>.</p>
420
- */
421
- RedirectConfig?: RedirectActionConfig;
422
-
423
- /**
424
- * <p>[Application Load Balancer] Information for creating an action that returns a custom HTTP
425
- * response. Specify only when <code>Type</code> is <code>fixed-response</code>.</p>
426
- */
427
- FixedResponseConfig?: FixedResponseActionConfig;
428
-
429
- /**
430
- * <p>Information for creating an action that distributes requests among one or more target
431
- * groups. For Network Load Balancers, you can specify a single target group. Specify only when
432
- * <code>Type</code> is <code>forward</code>. If you specify both <code>ForwardConfig</code>
433
- * and <code>TargetGroupArn</code>, you can specify only one target group using
434
- * <code>ForwardConfig</code> and it must be the same target group specified in
435
- * <code>TargetGroupArn</code>.</p>
436
- */
437
- ForwardConfig?: ForwardActionConfig;
438
- }
439
-
440
- export namespace Action {
441
- /**
442
- * @internal
443
- */
444
- export const filterSensitiveLog = (obj: Action): any => ({
445
- ...obj,
446
- });
447
- }
448
-
449
- /**
450
- * <p>Information about an SSL server certificate.</p>
451
- */
452
- export interface Certificate {
453
- /**
454
- * <p>The Amazon Resource Name (ARN) of the certificate.</p>
455
- */
456
- CertificateArn?: string;
457
-
458
- /**
459
- * <p>Indicates whether the certificate is the default certificate. Do not set this value when
460
- * specifying a certificate as an input. This value is not included in the output when describing
461
- * a listener, but is included when describing listener certificates.</p>
462
- */
463
- IsDefault?: boolean;
464
- }
465
-
466
- export namespace Certificate {
467
- /**
468
- * @internal
469
- */
470
- export const filterSensitiveLog = (obj: Certificate): any => ({
471
- ...obj,
472
- });
473
- }
474
-
475
- export interface AddListenerCertificatesInput {
476
- /**
477
- * <p>The Amazon Resource Name (ARN) of the listener.</p>
478
- */
479
- ListenerArn: string | undefined;
480
-
481
- /**
482
- * <p>The certificate to add. You can specify one certificate per call. Set
483
- * <code>CertificateArn</code> to the certificate ARN but do not set
484
- * <code>IsDefault</code>.</p>
485
- */
486
- Certificates: Certificate[] | undefined;
487
- }
488
-
489
- export namespace AddListenerCertificatesInput {
490
- /**
491
- * @internal
492
- */
493
- export const filterSensitiveLog = (obj: AddListenerCertificatesInput): any => ({
494
- ...obj,
495
- });
496
- }
497
-
498
- export interface AddListenerCertificatesOutput {
499
- /**
500
- * <p>Information about the certificates in the certificate list.</p>
501
- */
502
- Certificates?: Certificate[];
503
- }
504
-
505
- export namespace AddListenerCertificatesOutput {
506
- /**
507
- * @internal
508
- */
509
- export const filterSensitiveLog = (obj: AddListenerCertificatesOutput): any => ({
510
- ...obj,
511
- });
512
- }
513
-
514
- /**
515
- * <p>The specified certificate does not exist.</p>
516
- */
517
- export interface CertificateNotFoundException extends __SmithyException, $MetadataBearer {
518
- name: "CertificateNotFoundException";
519
- $fault: "client";
520
- Message?: string;
521
- }
522
-
523
- export namespace CertificateNotFoundException {
524
- /**
525
- * @internal
526
- */
527
- export const filterSensitiveLog = (obj: CertificateNotFoundException): any => ({
528
- ...obj,
529
- });
530
- }
531
-
532
- /**
533
- * <p>The specified listener does not exist.</p>
534
- */
535
- export interface ListenerNotFoundException extends __SmithyException, $MetadataBearer {
536
- name: "ListenerNotFoundException";
537
- $fault: "client";
538
- Message?: string;
539
- }
540
-
541
- export namespace ListenerNotFoundException {
542
- /**
543
- * @internal
544
- */
545
- export const filterSensitiveLog = (obj: ListenerNotFoundException): any => ({
546
- ...obj,
547
- });
548
- }
549
-
550
- /**
551
- * <p>You've reached the limit on the number of certificates per load balancer.</p>
552
- */
553
- export interface TooManyCertificatesException extends __SmithyException, $MetadataBearer {
554
- name: "TooManyCertificatesException";
555
- $fault: "client";
556
- Message?: string;
557
- }
558
-
559
- export namespace TooManyCertificatesException {
560
- /**
561
- * @internal
562
- */
563
- export const filterSensitiveLog = (obj: TooManyCertificatesException): any => ({
564
- ...obj,
565
- });
566
- }
567
-
568
- /**
569
- * <p>Information about a tag.</p>
570
- */
571
- export interface Tag {
572
- /**
573
- * <p>The key of the tag.</p>
574
- */
575
- Key: string | undefined;
576
-
577
- /**
578
- * <p>The value of the tag.</p>
579
- */
580
- Value?: string;
581
- }
582
-
583
- export namespace Tag {
584
- /**
585
- * @internal
586
- */
587
- export const filterSensitiveLog = (obj: Tag): any => ({
588
- ...obj,
589
- });
590
- }
591
-
592
- export interface AddTagsInput {
593
- /**
594
- * <p>The Amazon Resource Name (ARN) of the resource.</p>
595
- */
596
- ResourceArns: string[] | undefined;
597
-
598
- /**
599
- * <p>The tags.</p>
600
- */
601
- Tags: Tag[] | undefined;
602
- }
603
-
604
- export namespace AddTagsInput {
605
- /**
606
- * @internal
607
- */
608
- export const filterSensitiveLog = (obj: AddTagsInput): any => ({
609
- ...obj,
610
- });
611
- }
612
-
613
- export interface AddTagsOutput {}
614
-
615
- export namespace AddTagsOutput {
616
- /**
617
- * @internal
618
- */
619
- export const filterSensitiveLog = (obj: AddTagsOutput): any => ({
620
- ...obj,
621
- });
622
- }
623
-
624
- /**
625
- * <p>A tag key was specified more than once.</p>
626
- */
627
- export interface DuplicateTagKeysException extends __SmithyException, $MetadataBearer {
628
- name: "DuplicateTagKeysException";
629
- $fault: "client";
630
- Message?: string;
631
- }
632
-
633
- export namespace DuplicateTagKeysException {
634
- /**
635
- * @internal
636
- */
637
- export const filterSensitiveLog = (obj: DuplicateTagKeysException): any => ({
638
- ...obj,
639
- });
640
- }
641
-
642
- /**
643
- * <p>The specified load balancer does not exist.</p>
644
- */
645
- export interface LoadBalancerNotFoundException extends __SmithyException, $MetadataBearer {
646
- name: "LoadBalancerNotFoundException";
647
- $fault: "client";
648
- Message?: string;
649
- }
650
-
651
- export namespace LoadBalancerNotFoundException {
652
- /**
653
- * @internal
654
- */
655
- export const filterSensitiveLog = (obj: LoadBalancerNotFoundException): any => ({
656
- ...obj,
657
- });
658
- }
659
-
660
- /**
661
- * <p>The specified rule does not exist.</p>
662
- */
663
- export interface RuleNotFoundException extends __SmithyException, $MetadataBearer {
664
- name: "RuleNotFoundException";
665
- $fault: "client";
666
- Message?: string;
667
- }
668
-
669
- export namespace RuleNotFoundException {
670
- /**
671
- * @internal
672
- */
673
- export const filterSensitiveLog = (obj: RuleNotFoundException): any => ({
674
- ...obj,
675
- });
676
- }
677
-
678
- /**
679
- * <p>The specified target group does not exist.</p>
680
- */
681
- export interface TargetGroupNotFoundException extends __SmithyException, $MetadataBearer {
682
- name: "TargetGroupNotFoundException";
683
- $fault: "client";
684
- Message?: string;
685
- }
686
-
687
- export namespace TargetGroupNotFoundException {
688
- /**
689
- * @internal
690
- */
691
- export const filterSensitiveLog = (obj: TargetGroupNotFoundException): any => ({
692
- ...obj,
693
- });
694
- }
695
-
696
- /**
697
- * <p>You've reached the limit on the number of tags per load balancer.</p>
698
- */
699
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
700
- name: "TooManyTagsException";
701
- $fault: "client";
702
- Message?: string;
703
- }
704
-
705
- export namespace TooManyTagsException {
706
- /**
707
- * @internal
708
- */
709
- export const filterSensitiveLog = (obj: TooManyTagsException): any => ({
710
- ...obj,
711
- });
712
- }
713
-
714
- /**
715
- * <p>The specified allocation ID does not exist.</p>
716
- */
717
- export interface AllocationIdNotFoundException extends __SmithyException, $MetadataBearer {
718
- name: "AllocationIdNotFoundException";
719
- $fault: "client";
720
- Message?: string;
721
- }
722
-
723
- export namespace AllocationIdNotFoundException {
724
- /**
725
- * @internal
726
- */
727
- export const filterSensitiveLog = (obj: AllocationIdNotFoundException): any => ({
728
- ...obj,
729
- });
730
- }
731
-
732
- /**
733
- * <p>The specified ALPN policy is not supported.</p>
734
- */
735
- export interface ALPNPolicyNotSupportedException extends __SmithyException, $MetadataBearer {
736
- name: "ALPNPolicyNotSupportedException";
737
- $fault: "client";
738
- Message?: string;
739
- }
740
-
741
- export namespace ALPNPolicyNotSupportedException {
742
- /**
743
- * @internal
744
- */
745
- export const filterSensitiveLog = (obj: ALPNPolicyNotSupportedException): any => ({
746
- ...obj,
747
- });
748
- }
749
-
750
- /**
751
- * <p>Information about a static IP address for a load balancer.</p>
752
- */
753
- export interface LoadBalancerAddress {
754
- /**
755
- * <p>The static IP address.</p>
756
- */
757
- IpAddress?: string;
758
-
759
- /**
760
- * <p>[Network Load Balancers] The allocation ID of the Elastic IP address for an
761
- * internal-facing load balancer.</p>
762
- */
763
- AllocationId?: string;
764
-
765
- /**
766
- * <p>[Network Load Balancers] The private IPv4 address for an internal load balancer.</p>
767
- */
768
- PrivateIPv4Address?: string;
769
-
770
- /**
771
- * <p>[Network Load Balancers] The IPv6 address.</p>
772
- */
773
- IPv6Address?: string;
774
- }
775
-
776
- export namespace LoadBalancerAddress {
777
- /**
778
- * @internal
779
- */
780
- export const filterSensitiveLog = (obj: LoadBalancerAddress): any => ({
781
- ...obj,
782
- });
783
- }
784
-
785
- /**
786
- * <p>Information about an Availability Zone.</p>
787
- */
788
- export interface AvailabilityZone {
789
- /**
790
- * <p>The name of the Availability Zone.</p>
791
- */
792
- ZoneName?: string;
793
-
794
- /**
795
- * <p>The ID of the subnet. You can specify one subnet per Availability Zone.</p>
796
- */
797
- SubnetId?: string;
798
-
799
- /**
800
- * <p>[Application Load Balancers on Outposts] The ID of the Outpost.</p>
801
- */
802
- OutpostId?: string;
803
-
804
- /**
805
- * <p>[Network Load Balancers] If you need static IP addresses for your load balancer, you can
806
- * specify one Elastic IP address per Availability Zone when you create an internal-facing load
807
- * balancer. For internal load balancers, you can specify a private IP address from the IPv4
808
- * range of the subnet.</p>
809
- */
810
- LoadBalancerAddresses?: LoadBalancerAddress[];
811
- }
812
-
813
- export namespace AvailabilityZone {
814
- /**
815
- * @internal
816
- */
817
- export const filterSensitiveLog = (obj: AvailabilityZone): any => ({
818
- ...obj,
819
- });
820
- }
821
-
822
- /**
823
- * <p>The specified Availability Zone is not supported.</p>
824
- */
825
- export interface AvailabilityZoneNotSupportedException extends __SmithyException, $MetadataBearer {
826
- name: "AvailabilityZoneNotSupportedException";
827
- $fault: "client";
828
- Message?: string;
829
- }
830
-
831
- export namespace AvailabilityZoneNotSupportedException {
832
- /**
833
- * @internal
834
- */
835
- export const filterSensitiveLog = (obj: AvailabilityZoneNotSupportedException): any => ({
836
- ...obj,
837
- });
838
- }
839
-
840
- /**
841
- * <p>Information about a cipher used in a policy.</p>
842
- */
843
- export interface Cipher {
844
- /**
845
- * <p>The name of the cipher.</p>
846
- */
847
- Name?: string;
848
-
849
- /**
850
- * <p>The priority of the cipher.</p>
851
- */
852
- Priority?: number;
853
- }
854
-
855
- export namespace Cipher {
856
- /**
857
- * @internal
858
- */
859
- export const filterSensitiveLog = (obj: Cipher): any => ({
860
- ...obj,
861
- });
862
- }
863
-
864
- export type ProtocolEnum = "GENEVE" | "HTTP" | "HTTPS" | "TCP" | "TCP_UDP" | "TLS" | "UDP";
865
-
866
- export interface CreateListenerInput {
867
- /**
868
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
869
- */
870
- LoadBalancerArn: string | undefined;
871
-
872
- /**
873
- * <p>The protocol for connections from clients to the load balancer. For Application Load
874
- * Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the
875
- * supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP
876
- * protocol if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load
877
- * Balancer.</p>
878
- */
879
- Protocol?: ProtocolEnum | string;
880
-
881
- /**
882
- * <p>The port on which the load balancer is listening. You cannot specify a port for a Gateway
883
- * Load Balancer.</p>
884
- */
885
- Port?: number;
886
-
887
- /**
888
- * <p>[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are
889
- * supported.</p>
890
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies">Security policies</a> in the <i>Application Load Balancers Guide</i> and
891
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
892
- */
893
- SslPolicy?: string;
894
-
895
- /**
896
- * <p>[HTTPS and TLS listeners] The default certificate for the listener. You must provide
897
- * exactly one certificate. Set <code>CertificateArn</code> to the certificate ARN but do not set
898
- * <code>IsDefault</code>.</p>
899
- */
900
- Certificates?: Certificate[];
901
-
902
- /**
903
- * <p>The actions for the default rule.</p>
904
- */
905
- DefaultActions: Action[] | undefined;
906
-
907
- /**
908
- * <p>[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You
909
- * can specify one policy name. The following are the possible values:</p>
910
- * <ul>
911
- * <li>
912
- * <p>
913
- * <code>HTTP1Only</code>
914
- * </p>
915
- * </li>
916
- * <li>
917
- * <p>
918
- * <code>HTTP2Only</code>
919
- * </p>
920
- * </li>
921
- * <li>
922
- * <p>
923
- * <code>HTTP2Optional</code>
924
- * </p>
925
- * </li>
926
- * <li>
927
- * <p>
928
- * <code>HTTP2Preferred</code>
929
- * </p>
930
- * </li>
931
- * <li>
932
- * <p>
933
- * <code>None</code>
934
- * </p>
935
- * </li>
936
- * </ul>
937
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies">ALPN
938
- * policies</a> in the <i>Network Load Balancers Guide</i>.</p>
939
- */
940
- AlpnPolicy?: string[];
941
-
942
- /**
943
- * <p>The tags to assign to the listener.</p>
944
- */
945
- Tags?: Tag[];
946
- }
947
-
948
- export namespace CreateListenerInput {
949
- /**
950
- * @internal
951
- */
952
- export const filterSensitiveLog = (obj: CreateListenerInput): any => ({
953
- ...obj,
954
- });
955
- }
956
-
957
- /**
958
- * <p>Information about a listener.</p>
959
- */
960
- export interface Listener {
961
- /**
962
- * <p>The Amazon Resource Name (ARN) of the listener.</p>
963
- */
964
- ListenerArn?: string;
965
-
966
- /**
967
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
968
- */
969
- LoadBalancerArn?: string;
970
-
971
- /**
972
- * <p>The port on which the load balancer is listening.</p>
973
- */
974
- Port?: number;
975
-
976
- /**
977
- * <p>The protocol for connections from clients to the load balancer.</p>
978
- */
979
- Protocol?: ProtocolEnum | string;
980
-
981
- /**
982
- * <p>[HTTPS or TLS listener] The default certificate for the listener.</p>
983
- */
984
- Certificates?: Certificate[];
985
-
986
- /**
987
- * <p>[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are
988
- * supported.</p>
989
- */
990
- SslPolicy?: string;
991
-
992
- /**
993
- * <p>The default actions for the listener.</p>
994
- */
995
- DefaultActions?: Action[];
996
-
997
- /**
998
- * <p>[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN)
999
- * policy.</p>
1000
- */
1001
- AlpnPolicy?: string[];
1002
- }
1003
-
1004
- export namespace Listener {
1005
- /**
1006
- * @internal
1007
- */
1008
- export const filterSensitiveLog = (obj: Listener): any => ({
1009
- ...obj,
1010
- });
1011
- }
1012
-
1013
- export interface CreateListenerOutput {
1014
- /**
1015
- * <p>Information about the listener.</p>
1016
- */
1017
- Listeners?: Listener[];
1018
- }
1019
-
1020
- export namespace CreateListenerOutput {
1021
- /**
1022
- * @internal
1023
- */
1024
- export const filterSensitiveLog = (obj: CreateListenerOutput): any => ({
1025
- ...obj,
1026
- });
1027
- }
1028
-
1029
- /**
1030
- * <p>A listener with the specified port already exists.</p>
1031
- */
1032
- export interface DuplicateListenerException extends __SmithyException, $MetadataBearer {
1033
- name: "DuplicateListenerException";
1034
- $fault: "client";
1035
- Message?: string;
1036
- }
1037
-
1038
- export namespace DuplicateListenerException {
1039
- /**
1040
- * @internal
1041
- */
1042
- export const filterSensitiveLog = (obj: DuplicateListenerException): any => ({
1043
- ...obj,
1044
- });
1045
- }
1046
-
1047
- /**
1048
- * <p>The specified configuration is not valid with this protocol.</p>
1049
- */
1050
- export interface IncompatibleProtocolsException extends __SmithyException, $MetadataBearer {
1051
- name: "IncompatibleProtocolsException";
1052
- $fault: "client";
1053
- Message?: string;
1054
- }
1055
-
1056
- export namespace IncompatibleProtocolsException {
1057
- /**
1058
- * @internal
1059
- */
1060
- export const filterSensitiveLog = (obj: IncompatibleProtocolsException): any => ({
1061
- ...obj,
1062
- });
1063
- }
1064
-
1065
- /**
1066
- * <p>The requested configuration is not valid.</p>
1067
- */
1068
- export interface InvalidConfigurationRequestException extends __SmithyException, $MetadataBearer {
1069
- name: "InvalidConfigurationRequestException";
1070
- $fault: "client";
1071
- Message?: string;
1072
- }
1073
-
1074
- export namespace InvalidConfigurationRequestException {
1075
- /**
1076
- * @internal
1077
- */
1078
- export const filterSensitiveLog = (obj: InvalidConfigurationRequestException): any => ({
1079
- ...obj,
1080
- });
1081
- }
1082
-
1083
- /**
1084
- * <p>The requested action is not valid.</p>
1085
- */
1086
- export interface InvalidLoadBalancerActionException extends __SmithyException, $MetadataBearer {
1087
- name: "InvalidLoadBalancerActionException";
1088
- $fault: "client";
1089
- Message?: string;
1090
- }
1091
-
1092
- export namespace InvalidLoadBalancerActionException {
1093
- /**
1094
- * @internal
1095
- */
1096
- export const filterSensitiveLog = (obj: InvalidLoadBalancerActionException): any => ({
1097
- ...obj,
1098
- });
1099
- }
1100
-
1101
- /**
1102
- * <p>The specified SSL policy does not exist.</p>
1103
- */
1104
- export interface SSLPolicyNotFoundException extends __SmithyException, $MetadataBearer {
1105
- name: "SSLPolicyNotFoundException";
1106
- $fault: "client";
1107
- Message?: string;
1108
- }
1109
-
1110
- export namespace SSLPolicyNotFoundException {
1111
- /**
1112
- * @internal
1113
- */
1114
- export const filterSensitiveLog = (obj: SSLPolicyNotFoundException): any => ({
1115
- ...obj,
1116
- });
1117
- }
1118
-
1119
- /**
1120
- * <p>You've reached the limit on the number of load balancers per target group.</p>
1121
- */
1122
- export interface TargetGroupAssociationLimitException extends __SmithyException, $MetadataBearer {
1123
- name: "TargetGroupAssociationLimitException";
1124
- $fault: "client";
1125
- Message?: string;
1126
- }
1127
-
1128
- export namespace TargetGroupAssociationLimitException {
1129
- /**
1130
- * @internal
1131
- */
1132
- export const filterSensitiveLog = (obj: TargetGroupAssociationLimitException): any => ({
1133
- ...obj,
1134
- });
1135
- }
1136
-
1137
- /**
1138
- * <p>You've reached the limit on the number of actions per rule.</p>
1139
- */
1140
- export interface TooManyActionsException extends __SmithyException, $MetadataBearer {
1141
- name: "TooManyActionsException";
1142
- $fault: "client";
1143
- Message?: string;
1144
- }
1145
-
1146
- export namespace TooManyActionsException {
1147
- /**
1148
- * @internal
1149
- */
1150
- export const filterSensitiveLog = (obj: TooManyActionsException): any => ({
1151
- ...obj,
1152
- });
1153
- }
1154
-
1155
- /**
1156
- * <p>You've reached the limit on the number of listeners per load balancer.</p>
1157
- */
1158
- export interface TooManyListenersException extends __SmithyException, $MetadataBearer {
1159
- name: "TooManyListenersException";
1160
- $fault: "client";
1161
- Message?: string;
1162
- }
1163
-
1164
- export namespace TooManyListenersException {
1165
- /**
1166
- * @internal
1167
- */
1168
- export const filterSensitiveLog = (obj: TooManyListenersException): any => ({
1169
- ...obj,
1170
- });
1171
- }
1172
-
1173
- /**
1174
- * <p>You've reached the limit on the number of times a target can be registered with a load
1175
- * balancer.</p>
1176
- */
1177
- export interface TooManyRegistrationsForTargetIdException extends __SmithyException, $MetadataBearer {
1178
- name: "TooManyRegistrationsForTargetIdException";
1179
- $fault: "client";
1180
- Message?: string;
1181
- }
1182
-
1183
- export namespace TooManyRegistrationsForTargetIdException {
1184
- /**
1185
- * @internal
1186
- */
1187
- export const filterSensitiveLog = (obj: TooManyRegistrationsForTargetIdException): any => ({
1188
- ...obj,
1189
- });
1190
- }
1191
-
1192
- /**
1193
- * <p>You've reached the limit on the number of targets.</p>
1194
- */
1195
- export interface TooManyTargetsException extends __SmithyException, $MetadataBearer {
1196
- name: "TooManyTargetsException";
1197
- $fault: "client";
1198
- Message?: string;
1199
- }
1200
-
1201
- export namespace TooManyTargetsException {
1202
- /**
1203
- * @internal
1204
- */
1205
- export const filterSensitiveLog = (obj: TooManyTargetsException): any => ({
1206
- ...obj,
1207
- });
1208
- }
1209
-
1210
- /**
1211
- * <p>You've reached the limit on the number of unique target groups per load balancer across
1212
- * all listeners. If a target group is used by multiple actions for a load balancer, it is
1213
- * counted as only one use.</p>
1214
- */
1215
- export interface TooManyUniqueTargetGroupsPerLoadBalancerException extends __SmithyException, $MetadataBearer {
1216
- name: "TooManyUniqueTargetGroupsPerLoadBalancerException";
1217
- $fault: "client";
1218
- Message?: string;
1219
- }
1220
-
1221
- export namespace TooManyUniqueTargetGroupsPerLoadBalancerException {
1222
- /**
1223
- * @internal
1224
- */
1225
- export const filterSensitiveLog = (obj: TooManyUniqueTargetGroupsPerLoadBalancerException): any => ({
1226
- ...obj,
1227
- });
1228
- }
1229
-
1230
- /**
1231
- * <p>The specified protocol is not supported.</p>
1232
- */
1233
- export interface UnsupportedProtocolException extends __SmithyException, $MetadataBearer {
1234
- name: "UnsupportedProtocolException";
1235
- $fault: "client";
1236
- Message?: string;
1237
- }
1238
-
1239
- export namespace UnsupportedProtocolException {
1240
- /**
1241
- * @internal
1242
- */
1243
- export const filterSensitiveLog = (obj: UnsupportedProtocolException): any => ({
1244
- ...obj,
1245
- });
1246
- }
1247
-
1248
- export enum IpAddressType {
1249
- DUALSTACK = "dualstack",
1250
- IPV4 = "ipv4",
1251
- }
1252
-
1253
- export enum LoadBalancerSchemeEnum {
1254
- INTERNAL = "internal",
1255
- INTERNET_FACING = "internet-facing",
1256
- }
1257
-
1258
- /**
1259
- * <p>Information about a subnet mapping.</p>
1260
- */
1261
- export interface SubnetMapping {
1262
- /**
1263
- * <p>The ID of the subnet.</p>
1264
- */
1265
- SubnetId?: string;
1266
-
1267
- /**
1268
- * <p>[Network Load Balancers] The allocation ID of the Elastic IP address for an
1269
- * internet-facing load balancer.</p>
1270
- */
1271
- AllocationId?: string;
1272
-
1273
- /**
1274
- * <p>[Network Load Balancers] The private IPv4 address for an internal load balancer.</p>
1275
- */
1276
- PrivateIPv4Address?: string;
1277
-
1278
- /**
1279
- * <p>[Network Load Balancers] The IPv6 address.</p>
1280
- */
1281
- IPv6Address?: string;
1282
- }
1283
-
1284
- export namespace SubnetMapping {
1285
- /**
1286
- * @internal
1287
- */
1288
- export const filterSensitiveLog = (obj: SubnetMapping): any => ({
1289
- ...obj,
1290
- });
1291
- }
1292
-
1293
- export enum LoadBalancerTypeEnum {
1294
- APPLICATION = "application",
1295
- GATEWAY = "gateway",
1296
- NETWORK = "network",
1297
- }
1298
-
1299
- export interface CreateLoadBalancerInput {
1300
- /**
1301
- * <p>The name of the load balancer.</p>
1302
- * <p>This name must be unique per region per account, can have a maximum of 32 characters, must
1303
- * contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must
1304
- * not begin with "internal-".</p>
1305
- */
1306
- Name: string | undefined;
1307
-
1308
- /**
1309
- * <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
1310
- * must specify either subnets or subnet mappings.</p>
1311
- * <p>[Application Load Balancers] You must specify subnets from at least two Availability
1312
- * Zones.</p>
1313
- * <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
1314
- * <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
1315
- * Zones.</p>
1316
- * <p>[Network Load Balancers] You can specify subnets from one or more Availability
1317
- * Zones.</p>
1318
- * <p>[Gateway Load Balancers] You can specify subnets from one or more Availability
1319
- * Zones.</p>
1320
- */
1321
- Subnets?: string[];
1322
-
1323
- /**
1324
- * <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
1325
- * must specify either subnets or subnet mappings.</p>
1326
- * <p>[Application Load Balancers] You must specify subnets from at least two Availability
1327
- * Zones. You cannot specify Elastic IP addresses for your subnets.</p>
1328
- * <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
1329
- * <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
1330
- * Zones.</p>
1331
- * <p>[Network Load Balancers] You can specify subnets from one or more Availability Zones. You
1332
- * can specify one Elastic IP address per subnet if you need static IP addresses for your
1333
- * internet-facing load balancer. For internal load balancers, you can specify one private IP
1334
- * address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you
1335
- * can specify one IPv6 address per subnet.</p>
1336
- * <p>[Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You
1337
- * cannot specify Elastic IP addresses for your subnets.</p>
1338
- */
1339
- SubnetMappings?: SubnetMapping[];
1340
-
1341
- /**
1342
- * <p>[Application Load Balancers] The IDs of the security groups for the load balancer.</p>
1343
- */
1344
- SecurityGroups?: string[];
1345
-
1346
- /**
1347
- * <p>The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an
1348
- * Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes.
1349
- * Therefore, Internet-facing load balancers can route requests from clients over the
1350
- * internet.</p>
1351
- * <p>The nodes of an internal load balancer have only private IP addresses. The DNS name of an
1352
- * internal load balancer is publicly resolvable to the private IP addresses of the nodes.
1353
- * Therefore, internal load balancers can route requests only from clients with access to the VPC
1354
- * for the load balancer.</p>
1355
- * <p>The default is an Internet-facing load balancer.</p>
1356
- * <p>You cannot specify a scheme for a Gateway Load Balancer.</p>
1357
- */
1358
- Scheme?: LoadBalancerSchemeEnum | string;
1359
-
1360
- /**
1361
- * <p>The tags to assign to the load balancer.</p>
1362
- */
1363
- Tags?: Tag[];
1364
-
1365
- /**
1366
- * <p>The type of load balancer. The default is <code>application</code>.</p>
1367
- */
1368
- Type?: LoadBalancerTypeEnum | string;
1369
-
1370
- /**
1371
- * <p>The type of IP addresses used by the subnets for your load balancer. The possible values
1372
- * are <code>ipv4</code> (for IPv4 addresses) and <code>dualstack</code> (for IPv4 and IPv6
1373
- * addresses). Internal load balancers must use <code>ipv4</code>.</p>
1374
- */
1375
- IpAddressType?: IpAddressType | string;
1376
-
1377
- /**
1378
- * <p>[Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP
1379
- * pool).</p>
1380
- */
1381
- CustomerOwnedIpv4Pool?: string;
1382
- }
1383
-
1384
- export namespace CreateLoadBalancerInput {
1385
- /**
1386
- * @internal
1387
- */
1388
- export const filterSensitiveLog = (obj: CreateLoadBalancerInput): any => ({
1389
- ...obj,
1390
- });
1391
- }
1392
-
1393
- export enum LoadBalancerStateEnum {
1394
- ACTIVE = "active",
1395
- ACTIVE_IMPAIRED = "active_impaired",
1396
- FAILED = "failed",
1397
- PROVISIONING = "provisioning",
1398
- }
1399
-
1400
- /**
1401
- * <p>Information about the state of the load balancer.</p>
1402
- */
1403
- export interface LoadBalancerState {
1404
- /**
1405
- * <p>The state code. The initial state of the load balancer is <code>provisioning</code>. After
1406
- * the load balancer is fully set up and ready to route traffic, its state is
1407
- * <code>active</code>. If load balancer is routing traffic but does not have the resources it
1408
- * needs to scale, its state is<code>active_impaired</code>. If the load balancer could not be
1409
- * set up, its state is <code>failed</code>.</p>
1410
- */
1411
- Code?: LoadBalancerStateEnum | string;
1412
-
1413
- /**
1414
- * <p>A description of the state.</p>
1415
- */
1416
- Reason?: string;
1417
- }
1418
-
1419
- export namespace LoadBalancerState {
1420
- /**
1421
- * @internal
1422
- */
1423
- export const filterSensitiveLog = (obj: LoadBalancerState): any => ({
1424
- ...obj,
1425
- });
1426
- }
1427
-
1428
- /**
1429
- * <p>Information about a load balancer.</p>
1430
- */
1431
- export interface LoadBalancer {
1432
- /**
1433
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
1434
- */
1435
- LoadBalancerArn?: string;
1436
-
1437
- /**
1438
- * <p>The public DNS name of the load balancer.</p>
1439
- */
1440
- DNSName?: string;
1441
-
1442
- /**
1443
- * <p>The ID of the Amazon Route 53 hosted zone associated with the load balancer.</p>
1444
- */
1445
- CanonicalHostedZoneId?: string;
1446
-
1447
- /**
1448
- * <p>The date and time the load balancer was created.</p>
1449
- */
1450
- CreatedTime?: Date;
1451
-
1452
- /**
1453
- * <p>The name of the load balancer.</p>
1454
- */
1455
- LoadBalancerName?: string;
1456
-
1457
- /**
1458
- * <p>The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an
1459
- * Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes.
1460
- * Therefore, Internet-facing load balancers can route requests from clients over the
1461
- * internet.</p>
1462
- * <p>The nodes of an internal load balancer have only private IP addresses. The DNS name of an
1463
- * internal load balancer is publicly resolvable to the private IP addresses of the nodes.
1464
- * Therefore, internal load balancers can route requests only from clients with access to the VPC
1465
- * for the load balancer.</p>
1466
- */
1467
- Scheme?: LoadBalancerSchemeEnum | string;
1468
-
1469
- /**
1470
- * <p>The ID of the VPC for the load balancer.</p>
1471
- */
1472
- VpcId?: string;
1473
-
1474
- /**
1475
- * <p>The state of the load balancer.</p>
1476
- */
1477
- State?: LoadBalancerState;
1478
-
1479
- /**
1480
- * <p>The type of load balancer.</p>
1481
- */
1482
- Type?: LoadBalancerTypeEnum | string;
1483
-
1484
- /**
1485
- * <p>The subnets for the load balancer.</p>
1486
- */
1487
- AvailabilityZones?: AvailabilityZone[];
1488
-
1489
- /**
1490
- * <p>The IDs of the security groups for the load balancer.</p>
1491
- */
1492
- SecurityGroups?: string[];
1493
-
1494
- /**
1495
- * <p>The type of IP addresses used by the subnets for your load balancer. The possible values
1496
- * are <code>ipv4</code> (for IPv4 addresses) and <code>dualstack</code> (for IPv4 and IPv6
1497
- * addresses).</p>
1498
- */
1499
- IpAddressType?: IpAddressType | string;
1500
-
1501
- /**
1502
- * <p>[Application Load Balancers on Outposts] The ID of the customer-owned address pool.</p>
1503
- */
1504
- CustomerOwnedIpv4Pool?: string;
1505
- }
1506
-
1507
- export namespace LoadBalancer {
1508
- /**
1509
- * @internal
1510
- */
1511
- export const filterSensitiveLog = (obj: LoadBalancer): any => ({
1512
- ...obj,
1513
- });
1514
- }
1515
-
1516
- export interface CreateLoadBalancerOutput {
1517
- /**
1518
- * <p>Information about the load balancer.</p>
1519
- */
1520
- LoadBalancers?: LoadBalancer[];
1521
- }
1522
-
1523
- export namespace CreateLoadBalancerOutput {
1524
- /**
1525
- * @internal
1526
- */
1527
- export const filterSensitiveLog = (obj: CreateLoadBalancerOutput): any => ({
1528
- ...obj,
1529
- });
1530
- }
1531
-
1532
- /**
1533
- * <p>A load balancer with the specified name already exists.</p>
1534
- */
1535
- export interface DuplicateLoadBalancerNameException extends __SmithyException, $MetadataBearer {
1536
- name: "DuplicateLoadBalancerNameException";
1537
- $fault: "client";
1538
- Message?: string;
1539
- }
1540
-
1541
- export namespace DuplicateLoadBalancerNameException {
1542
- /**
1543
- * @internal
1544
- */
1545
- export const filterSensitiveLog = (obj: DuplicateLoadBalancerNameException): any => ({
1546
- ...obj,
1547
- });
1548
- }
1549
-
1550
- /**
1551
- * <p>The requested scheme is not valid.</p>
1552
- */
1553
- export interface InvalidSchemeException extends __SmithyException, $MetadataBearer {
1554
- name: "InvalidSchemeException";
1555
- $fault: "client";
1556
- Message?: string;
1557
- }
1558
-
1559
- export namespace InvalidSchemeException {
1560
- /**
1561
- * @internal
1562
- */
1563
- export const filterSensitiveLog = (obj: InvalidSchemeException): any => ({
1564
- ...obj,
1565
- });
1566
- }
1567
-
1568
- /**
1569
- * <p>The specified security group does not exist.</p>
1570
- */
1571
- export interface InvalidSecurityGroupException extends __SmithyException, $MetadataBearer {
1572
- name: "InvalidSecurityGroupException";
1573
- $fault: "client";
1574
- Message?: string;
1575
- }
1576
-
1577
- export namespace InvalidSecurityGroupException {
1578
- /**
1579
- * @internal
1580
- */
1581
- export const filterSensitiveLog = (obj: InvalidSecurityGroupException): any => ({
1582
- ...obj,
1583
- });
1584
- }
1585
-
1586
- /**
1587
- * <p>The specified subnet is out of available addresses.</p>
1588
- */
1589
- export interface InvalidSubnetException extends __SmithyException, $MetadataBearer {
1590
- name: "InvalidSubnetException";
1591
- $fault: "client";
1592
- Message?: string;
1593
- }
1594
-
1595
- export namespace InvalidSubnetException {
1596
- /**
1597
- * @internal
1598
- */
1599
- export const filterSensitiveLog = (obj: InvalidSubnetException): any => ({
1600
- ...obj,
1601
- });
1602
- }
1603
-
1604
- /**
1605
- * <p>This operation is not allowed.</p>
1606
- */
1607
- export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
1608
- name: "OperationNotPermittedException";
1609
- $fault: "client";
1610
- Message?: string;
1611
- }
1612
-
1613
- export namespace OperationNotPermittedException {
1614
- /**
1615
- * @internal
1616
- */
1617
- export const filterSensitiveLog = (obj: OperationNotPermittedException): any => ({
1618
- ...obj,
1619
- });
1620
- }
1621
-
1622
- /**
1623
- * <p>A specified resource is in use.</p>
1624
- */
1625
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
1626
- name: "ResourceInUseException";
1627
- $fault: "client";
1628
- Message?: string;
1629
- }
1630
-
1631
- export namespace ResourceInUseException {
1632
- /**
1633
- * @internal
1634
- */
1635
- export const filterSensitiveLog = (obj: ResourceInUseException): any => ({
1636
- ...obj,
1637
- });
1638
- }
1639
-
1640
- /**
1641
- * <p>The specified subnet does not exist.</p>
1642
- */
1643
- export interface SubnetNotFoundException extends __SmithyException, $MetadataBearer {
1644
- name: "SubnetNotFoundException";
1645
- $fault: "client";
1646
- Message?: string;
1647
- }
1648
-
1649
- export namespace SubnetNotFoundException {
1650
- /**
1651
- * @internal
1652
- */
1653
- export const filterSensitiveLog = (obj: SubnetNotFoundException): any => ({
1654
- ...obj,
1655
- });
1656
- }
1657
-
1658
- /**
1659
- * <p>You've reached the limit on the number of load balancers for your Amazon Web Services
1660
- * account.</p>
1661
- */
1662
- export interface TooManyLoadBalancersException extends __SmithyException, $MetadataBearer {
1663
- name: "TooManyLoadBalancersException";
1664
- $fault: "client";
1665
- Message?: string;
1666
- }
1667
-
1668
- export namespace TooManyLoadBalancersException {
1669
- /**
1670
- * @internal
1671
- */
1672
- export const filterSensitiveLog = (obj: TooManyLoadBalancersException): any => ({
1673
- ...obj,
1674
- });
1675
- }
1676
-
1677
- /**
1678
- * <p>Information about a host header condition.</p>
1679
- */
1680
- export interface HostHeaderConditionConfig {
1681
- /**
1682
- * <p>One or more host names. The maximum size of each name is 128 characters. The comparison is
1683
- * case insensitive. The following wildcard characters are supported: * (matches 0 or more
1684
- * characters) and ? (matches exactly 1 character).</p>
1685
- * <p>If you specify multiple strings, the condition is satisfied if one of the strings matches
1686
- * the host name.</p>
1687
- */
1688
- Values?: string[];
1689
- }
1690
-
1691
- export namespace HostHeaderConditionConfig {
1692
- /**
1693
- * @internal
1694
- */
1695
- export const filterSensitiveLog = (obj: HostHeaderConditionConfig): any => ({
1696
- ...obj,
1697
- });
1698
- }
1699
-
1700
- /**
1701
- * <p>Information about an HTTP header condition.</p>
1702
- * <p>There is a set of standard HTTP header fields. You can also define custom HTTP header
1703
- * fields.</p>
1704
- */
1705
- export interface HttpHeaderConditionConfig {
1706
- /**
1707
- * <p>The name of the HTTP header field. The maximum size is 40 characters. The header name is
1708
- * case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not
1709
- * supported.</p>
1710
- * <p>You can't use an HTTP header condition to specify the host header. Use <a>HostHeaderConditionConfig</a> to specify a host header condition.</p>
1711
- */
1712
- HttpHeaderName?: string;
1713
-
1714
- /**
1715
- * <p>One or more strings to compare against the value of the HTTP header. The maximum size of
1716
- * each string is 128 characters. The comparison strings are case insensitive. The following
1717
- * wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1
1718
- * character).</p>
1719
- * <p>If the same header appears multiple times in the request, we search them in order until a
1720
- * match is found.</p>
1721
- * <p>If you specify multiple strings, the condition is satisfied if one of the strings matches
1722
- * the value of the HTTP header. To require that all of the strings are a match, create one
1723
- * condition per string.</p>
1724
- */
1725
- Values?: string[];
1726
- }
1727
-
1728
- export namespace HttpHeaderConditionConfig {
1729
- /**
1730
- * @internal
1731
- */
1732
- export const filterSensitiveLog = (obj: HttpHeaderConditionConfig): any => ({
1733
- ...obj,
1734
- });
1735
- }
1736
-
1737
- /**
1738
- * <p>Information about an HTTP method condition.</p>
1739
- * <p>HTTP defines a set of request methods, also referred to as HTTP verbs. For more
1740
- * information, see the <a href="https://www.iana.org/assignments/http-methods/http-methods.xhtml">HTTP Method
1741
- * Registry</a>. You can also define custom HTTP methods.</p>
1742
- */
1743
- export interface HttpRequestMethodConditionConfig {
1744
- /**
1745
- * <p>The name of the request method. The maximum size is 40 characters. The allowed characters
1746
- * are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not
1747
- * supported; therefore, the method name must be an exact match.</p>
1748
- * <p>If you specify multiple strings, the condition is satisfied if one of the strings matches
1749
- * the HTTP request method. We recommend that you route GET and HEAD requests in the same way,
1750
- * because the response to a HEAD request may be cached.</p>
1751
- */
1752
- Values?: string[];
1753
- }
1754
-
1755
- export namespace HttpRequestMethodConditionConfig {
1756
- /**
1757
- * @internal
1758
- */
1759
- export const filterSensitiveLog = (obj: HttpRequestMethodConditionConfig): any => ({
1760
- ...obj,
1761
- });
1762
- }
1763
-
1764
- /**
1765
- * <p>Information about a path pattern condition.</p>
1766
- */
1767
- export interface PathPatternConditionConfig {
1768
- /**
1769
- * <p>One or more path patterns to compare against the request URL. The maximum size of each
1770
- * string is 128 characters. The comparison is case sensitive. The following wildcard characters
1771
- * are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).</p>
1772
- * <p>If you specify multiple strings, the condition is satisfied if one of them matches the
1773
- * request URL. The path pattern is compared only to the path of the URL, not to its query
1774
- * string. To compare against the query string, use <a>QueryStringConditionConfig</a>.</p>
1775
- */
1776
- Values?: string[];
1777
- }
1778
-
1779
- export namespace PathPatternConditionConfig {
1780
- /**
1781
- * @internal
1782
- */
1783
- export const filterSensitiveLog = (obj: PathPatternConditionConfig): any => ({
1784
- ...obj,
1785
- });
1786
- }
1787
-
1788
- /**
1789
- * <p>Information about a key/value pair.</p>
1790
- */
1791
- export interface QueryStringKeyValuePair {
1792
- /**
1793
- * <p>The key. You can omit the key.</p>
1794
- */
1795
- Key?: string;
1796
-
1797
- /**
1798
- * <p>The value.</p>
1799
- */
1800
- Value?: string;
1801
- }
1802
-
1803
- export namespace QueryStringKeyValuePair {
1804
- /**
1805
- * @internal
1806
- */
1807
- export const filterSensitiveLog = (obj: QueryStringKeyValuePair): any => ({
1808
- ...obj,
1809
- });
1810
- }
1811
-
1812
- /**
1813
- * <p>Information about a query string condition.</p>
1814
- * <p>The query string component of a URI starts after the first '?' character and is terminated
1815
- * by either a '#' character or the end of the URI. A typical query string contains key/value
1816
- * pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any
1817
- * character can be percentage encoded.</p>
1818
- */
1819
- export interface QueryStringConditionConfig {
1820
- /**
1821
- * <p>One or more key/value pairs or values to find in the query string. The maximum size of
1822
- * each string is 128 characters. The comparison is case insensitive. The following wildcard
1823
- * characters are supported: * (matches 0 or more characters) and ? (matches exactly 1
1824
- * character). To search for a literal '*' or '?' character in a query string, you must escape
1825
- * these characters in <code>Values</code> using a '\' character.</p>
1826
- * <p>If you specify multiple key/value pairs or values, the condition is satisfied if one of
1827
- * them is found in the query string.</p>
1828
- */
1829
- Values?: QueryStringKeyValuePair[];
1830
- }
1831
-
1832
- export namespace QueryStringConditionConfig {
1833
- /**
1834
- * @internal
1835
- */
1836
- export const filterSensitiveLog = (obj: QueryStringConditionConfig): any => ({
1837
- ...obj,
1838
- });
1839
- }
1840
-
1841
- /**
1842
- * <p>Information about a source IP condition.</p>
1843
- * <p>You can use this condition to route based on the IP address of the source that connects to
1844
- * the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the
1845
- * IP address of the client.</p>
1846
- */
1847
- export interface SourceIpConditionConfig {
1848
- /**
1849
- * <p>One or more source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses.
1850
- * Wildcards are not supported.</p>
1851
- * <p>If you specify multiple addresses, the condition is satisfied if the source IP address of
1852
- * the request matches one of the CIDR blocks. This condition is not satisfied by the addresses
1853
- * in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use
1854
- * <a>HttpHeaderConditionConfig</a>.</p>
1855
- */
1856
- Values?: string[];
1857
- }
1858
-
1859
- export namespace SourceIpConditionConfig {
1860
- /**
1861
- * @internal
1862
- */
1863
- export const filterSensitiveLog = (obj: SourceIpConditionConfig): any => ({
1864
- ...obj,
1865
- });
1866
- }
1867
-
1868
- /**
1869
- * <p>Information about a condition for a rule.</p>
1870
- * <p>Each rule can optionally include up to one of each of the following conditions:
1871
- * <code>http-request-method</code>, <code>host-header</code>, <code>path-pattern</code>, and
1872
- * <code>source-ip</code>. Each rule can also optionally include one or more of each of the
1873
- * following conditions: <code>http-header</code> and <code>query-string</code>.</p>
1874
- */
1875
- export interface RuleCondition {
1876
- /**
1877
- * <p>The field in the HTTP request. The following are the possible values:</p>
1878
- * <ul>
1879
- * <li>
1880
- * <p>
1881
- * <code>http-header</code>
1882
- * </p>
1883
- * </li>
1884
- * <li>
1885
- * <p>
1886
- * <code>http-request-method</code>
1887
- * </p>
1888
- * </li>
1889
- * <li>
1890
- * <p>
1891
- * <code>host-header</code>
1892
- * </p>
1893
- * </li>
1894
- * <li>
1895
- * <p>
1896
- * <code>path-pattern</code>
1897
- * </p>
1898
- * </li>
1899
- * <li>
1900
- * <p>
1901
- * <code>query-string</code>
1902
- * </p>
1903
- * </li>
1904
- * <li>
1905
- * <p>
1906
- * <code>source-ip</code>
1907
- * </p>
1908
- * </li>
1909
- * </ul>
1910
- */
1911
- Field?: string;
1912
-
1913
- /**
1914
- * <p>The condition value. Specify only when <code>Field</code> is <code>host-header</code> or
1915
- * <code>path-pattern</code>. Alternatively, to specify multiple host names or multiple path
1916
- * patterns, use <code>HostHeaderConfig</code> or <code>PathPatternConfig</code>.</p>
1917
- * <p>If <code>Field</code> is <code>host-header</code> and you are not using
1918
- * <code>HostHeaderConfig</code>, you can specify a single host name (for example,
1919
- * my.example.com) in <code>Values</code>. A host name is case insensitive, can be up to 128
1920
- * characters in length, and can contain any of the following characters.</p>
1921
- * <ul>
1922
- * <li>
1923
- * <p>A-Z, a-z, 0-9</p>
1924
- * </li>
1925
- * <li>
1926
- * <p>- .</p>
1927
- * </li>
1928
- * <li>
1929
- * <p>* (matches 0 or more characters)</p>
1930
- * </li>
1931
- * <li>
1932
- * <p>? (matches exactly 1 character)</p>
1933
- * </li>
1934
- * </ul>
1935
- * <p>If <code>Field</code> is <code>path-pattern</code> and you are not using
1936
- * <code>PathPatternConfig</code>, you can specify a single path pattern (for example, /img/*)
1937
- * in <code>Values</code>. A path pattern is case-sensitive, can be up to 128 characters in
1938
- * length, and can contain any of the following characters.</p>
1939
- * <ul>
1940
- * <li>
1941
- * <p>A-Z, a-z, 0-9</p>
1942
- * </li>
1943
- * <li>
1944
- * <p>_ - . $ / ~ " ' @ : +</p>
1945
- * </li>
1946
- * <li>
1947
- * <p>& (using &amp;)</p>
1948
- * </li>
1949
- * <li>
1950
- * <p>* (matches 0 or more characters)</p>
1951
- * </li>
1952
- * <li>
1953
- * <p>? (matches exactly 1 character)</p>
1954
- * </li>
1955
- * </ul>
1956
- */
1957
- Values?: string[];
1958
-
1959
- /**
1960
- * <p>Information for a host header condition. Specify only when <code>Field</code> is
1961
- * <code>host-header</code>.</p>
1962
- */
1963
- HostHeaderConfig?: HostHeaderConditionConfig;
1964
-
1965
- /**
1966
- * <p>Information for a path pattern condition. Specify only when <code>Field</code> is
1967
- * <code>path-pattern</code>.</p>
1968
- */
1969
- PathPatternConfig?: PathPatternConditionConfig;
1970
-
1971
- /**
1972
- * <p>Information for an HTTP header condition. Specify only when <code>Field</code> is
1973
- * <code>http-header</code>.</p>
1974
- */
1975
- HttpHeaderConfig?: HttpHeaderConditionConfig;
1976
-
1977
- /**
1978
- * <p>Information for a query string condition. Specify only when <code>Field</code> is
1979
- * <code>query-string</code>.</p>
1980
- */
1981
- QueryStringConfig?: QueryStringConditionConfig;
1982
-
1983
- /**
1984
- * <p>Information for an HTTP method condition. Specify only when <code>Field</code> is
1985
- * <code>http-request-method</code>.</p>
1986
- */
1987
- HttpRequestMethodConfig?: HttpRequestMethodConditionConfig;
1988
-
1989
- /**
1990
- * <p>Information for a source IP condition. Specify only when <code>Field</code> is
1991
- * <code>source-ip</code>.</p>
1992
- */
1993
- SourceIpConfig?: SourceIpConditionConfig;
1994
- }
1995
-
1996
- export namespace RuleCondition {
1997
- /**
1998
- * @internal
1999
- */
2000
- export const filterSensitiveLog = (obj: RuleCondition): any => ({
2001
- ...obj,
2002
- });
2003
- }
2004
-
2005
- export interface CreateRuleInput {
2006
- /**
2007
- * <p>The Amazon Resource Name (ARN) of the listener.</p>
2008
- */
2009
- ListenerArn: string | undefined;
2010
-
2011
- /**
2012
- * <p>The conditions.</p>
2013
- */
2014
- Conditions: RuleCondition[] | undefined;
2015
-
2016
- /**
2017
- * <p>The rule priority. A listener can't have multiple rules with the same priority.</p>
2018
- */
2019
- Priority: number | undefined;
2020
-
2021
- /**
2022
- * <p>The actions.</p>
2023
- */
2024
- Actions: Action[] | undefined;
2025
-
2026
- /**
2027
- * <p>The tags to assign to the rule.</p>
2028
- */
2029
- Tags?: Tag[];
2030
- }
2031
-
2032
- export namespace CreateRuleInput {
2033
- /**
2034
- * @internal
2035
- */
2036
- export const filterSensitiveLog = (obj: CreateRuleInput): any => ({
2037
- ...obj,
2038
- });
2039
- }
2040
-
2041
- /**
2042
- * <p>Information about a rule.</p>
2043
- */
2044
- export interface Rule {
2045
- /**
2046
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
2047
- */
2048
- RuleArn?: string;
2049
-
2050
- /**
2051
- * <p>The priority.</p>
2052
- */
2053
- Priority?: string;
2054
-
2055
- /**
2056
- * <p>The conditions. Each rule can include zero or one of the following conditions:
2057
- * <code>http-request-method</code>, <code>host-header</code>, <code>path-pattern</code>, and
2058
- * <code>source-ip</code>, and zero or more of the following conditions:
2059
- * <code>http-header</code> and <code>query-string</code>.</p>
2060
- */
2061
- Conditions?: RuleCondition[];
2062
-
2063
- /**
2064
- * <p>The actions. Each rule must include exactly one of the following types of actions:
2065
- * <code>forward</code>, <code>redirect</code>, or <code>fixed-response</code>, and it must be
2066
- * the last action to be performed.</p>
2067
- */
2068
- Actions?: Action[];
2069
-
2070
- /**
2071
- * <p>Indicates whether this is the default rule.</p>
2072
- */
2073
- IsDefault?: boolean;
2074
- }
2075
-
2076
- export namespace Rule {
2077
- /**
2078
- * @internal
2079
- */
2080
- export const filterSensitiveLog = (obj: Rule): any => ({
2081
- ...obj,
2082
- });
2083
- }
2084
-
2085
- export interface CreateRuleOutput {
2086
- /**
2087
- * <p>Information about the rule.</p>
2088
- */
2089
- Rules?: Rule[];
2090
- }
2091
-
2092
- export namespace CreateRuleOutput {
2093
- /**
2094
- * @internal
2095
- */
2096
- export const filterSensitiveLog = (obj: CreateRuleOutput): any => ({
2097
- ...obj,
2098
- });
2099
- }
2100
-
2101
- /**
2102
- * <p>The specified priority is in use.</p>
2103
- */
2104
- export interface PriorityInUseException extends __SmithyException, $MetadataBearer {
2105
- name: "PriorityInUseException";
2106
- $fault: "client";
2107
- Message?: string;
2108
- }
2109
-
2110
- export namespace PriorityInUseException {
2111
- /**
2112
- * @internal
2113
- */
2114
- export const filterSensitiveLog = (obj: PriorityInUseException): any => ({
2115
- ...obj,
2116
- });
2117
- }
2118
-
2119
- /**
2120
- * <p>You've reached the limit on the number of rules per load balancer.</p>
2121
- */
2122
- export interface TooManyRulesException extends __SmithyException, $MetadataBearer {
2123
- name: "TooManyRulesException";
2124
- $fault: "client";
2125
- Message?: string;
2126
- }
2127
-
2128
- export namespace TooManyRulesException {
2129
- /**
2130
- * @internal
2131
- */
2132
- export const filterSensitiveLog = (obj: TooManyRulesException): any => ({
2133
- ...obj,
2134
- });
2135
- }
2136
-
2137
- /**
2138
- * <p>You've reached the limit on the number of target groups for your Amazon Web Services
2139
- * account.</p>
2140
- */
2141
- export interface TooManyTargetGroupsException extends __SmithyException, $MetadataBearer {
2142
- name: "TooManyTargetGroupsException";
2143
- $fault: "client";
2144
- Message?: string;
2145
- }
2146
-
2147
- export namespace TooManyTargetGroupsException {
2148
- /**
2149
- * @internal
2150
- */
2151
- export const filterSensitiveLog = (obj: TooManyTargetGroupsException): any => ({
2152
- ...obj,
2153
- });
2154
- }
2155
-
2156
- /**
2157
- * <p>The codes to use when checking for a successful response from a target. If the protocol
2158
- * version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.</p>
2159
- */
2160
- export interface Matcher {
2161
- /**
2162
- * <p>For Application Load Balancers, you can specify values between 200 and 499, and the
2163
- * default value is 200. You can specify multiple values (for example, "200,202") or a range of
2164
- * values (for example, "200-299").</p>
2165
- * <p>For Network Load Balancers and Gateway Load Balancers, this must be "200–399".</p>
2166
- */
2167
- HttpCode?: string;
2168
-
2169
- /**
2170
- * <p>You can specify values between 0 and 99. You can specify multiple values (for example,
2171
- * "0,1") or a range of values (for example, "0-5"). The default value is 12.</p>
2172
- */
2173
- GrpcCode?: string;
2174
- }
2175
-
2176
- export namespace Matcher {
2177
- /**
2178
- * @internal
2179
- */
2180
- export const filterSensitiveLog = (obj: Matcher): any => ({
2181
- ...obj,
2182
- });
2183
- }
2184
-
2185
- export enum TargetTypeEnum {
2186
- ALB = "alb",
2187
- INSTANCE = "instance",
2188
- IP = "ip",
2189
- LAMBDA = "lambda",
2190
- }
2191
-
2192
- export interface CreateTargetGroupInput {
2193
- /**
2194
- * <p>The name of the target group.</p>
2195
- * <p>This name must be unique per region per account, can have a maximum of 32 characters, must
2196
- * contain only alphanumeric characters or hyphens, and must not begin or end with a
2197
- * hyphen.</p>
2198
- */
2199
- Name: string | undefined;
2200
-
2201
- /**
2202
- * <p>The protocol to use for routing traffic to the targets. For Application Load Balancers,
2203
- * the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported
2204
- * protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers, the supported protocol is
2205
- * GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. If the target is a
2206
- * Lambda function, this parameter does not apply.</p>
2207
- */
2208
- Protocol?: ProtocolEnum | string;
2209
-
2210
- /**
2211
- * <p>[HTTP/HTTPS protocol] The protocol version. Specify <code>GRPC</code> to send requests to
2212
- * targets using gRPC. Specify <code>HTTP2</code> to send requests to targets using HTTP/2. The
2213
- * default is <code>HTTP1</code>, which sends requests to targets using HTTP/1.1.</p>
2214
- */
2215
- ProtocolVersion?: string;
2216
-
2217
- /**
2218
- * <p>The port on which the targets receive traffic. This port is used unless you specify a port
2219
- * override when registering the target. If the target is a Lambda function, this parameter does
2220
- * not apply. If the protocol is GENEVE, the supported port is 6081.</p>
2221
- */
2222
- Port?: number;
2223
-
2224
- /**
2225
- * <p>The identifier of the virtual private cloud (VPC). If the target is a Lambda function,
2226
- * this parameter does not apply. Otherwise, this parameter is required.</p>
2227
- */
2228
- VpcId?: string;
2229
-
2230
- /**
2231
- * <p>The protocol the load balancer uses when performing health checks on targets. For
2232
- * Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load
2233
- * Balancers, the default is TCP. The TCP protocol is not supported for health checks if the
2234
- * protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are
2235
- * not supported for health checks.</p>
2236
- */
2237
- HealthCheckProtocol?: ProtocolEnum | string;
2238
-
2239
- /**
2240
- * <p>The port the load balancer uses when performing health checks on targets. If the protocol
2241
- * is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is <code>traffic-port</code>, which is
2242
- * the port on which each target receives traffic from the load balancer. If the protocol is
2243
- * GENEVE, the default is port 80.</p>
2244
- */
2245
- HealthCheckPort?: string;
2246
-
2247
- /**
2248
- * <p>Indicates whether health checks are enabled. If the target type is <code>lambda</code>,
2249
- * health checks are disabled by default but can be enabled. If the target type is
2250
- * <code>instance</code>, <code>ip</code>, or <code>alb</code>, health checks are always
2251
- * enabled and cannot be disabled.</p>
2252
- */
2253
- HealthCheckEnabled?: boolean;
2254
-
2255
- /**
2256
- * <p>[HTTP/HTTPS health checks] The destination for health checks on the targets.</p>
2257
- * <p>[HTTP1 or HTTP2 protocol version] The ping path. The default is /.</p>
2258
- * <p>[GRPC protocol version] The path of a custom health check method with the format
2259
- * /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.</p>
2260
- */
2261
- HealthCheckPath?: string;
2262
-
2263
- /**
2264
- * <p>The approximate amount of time, in seconds, between health checks of an individual target.
2265
- * If the target group protocol is TCP, TLS, UDP, or TCP_UDP, the supported values are 10 and 30
2266
- * seconds. If the target group protocol is HTTP or HTTPS, the default is 30 seconds. If the
2267
- * target group protocol is GENEVE, the default is 10 seconds. If the target type is
2268
- * <code>lambda</code>, the default is 35 seconds.</p>
2269
- */
2270
- HealthCheckIntervalSeconds?: number;
2271
-
2272
- /**
2273
- * <p>The amount of time, in seconds, during which no response from a target means a failed
2274
- * health check. For target groups with a protocol of HTTP, HTTPS, or GENEVE, the default is 5
2275
- * seconds. For target groups with a protocol of TCP or TLS, this value must be 6 seconds for
2276
- * HTTP health checks and 10 seconds for TCP and HTTPS health checks. If the target type is
2277
- * <code>lambda</code>, the default is 30 seconds.</p>
2278
- */
2279
- HealthCheckTimeoutSeconds?: number;
2280
-
2281
- /**
2282
- * <p>The number of consecutive health checks successes required before considering an unhealthy
2283
- * target healthy. For target groups with a protocol of HTTP or HTTPS, the default is 5. For
2284
- * target groups with a protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is
2285
- * <code>lambda</code>, the default is 5.</p>
2286
- */
2287
- HealthyThresholdCount?: number;
2288
-
2289
- /**
2290
- * <p>The number of consecutive health check failures required before considering a target
2291
- * unhealthy. If the target group protocol is HTTP or HTTPS, the default is 2. If the target
2292
- * group protocol is TCP or TLS, this value must be the same as the healthy threshold count. If
2293
- * the target group protocol is GENEVE, the default is 3. If the target type is
2294
- * <code>lambda</code>, the default is 2.</p>
2295
- */
2296
- UnhealthyThresholdCount?: number;
2297
-
2298
- /**
2299
- * <p>[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful
2300
- * response from a target.</p>
2301
- */
2302
- Matcher?: Matcher;
2303
-
2304
- /**
2305
- * <p>The type of target that you must specify when registering targets with this target group.
2306
- * You can't specify targets for a target group using more than one target type.</p>
2307
- * <ul>
2308
- * <li>
2309
- * <p>
2310
- * <code>instance</code> - Register targets by instance ID. This is the default
2311
- * value.</p>
2312
- * </li>
2313
- * <li>
2314
- * <p>
2315
- * <code>ip</code> - Register targets by IP address. You can specify IP addresses from
2316
- * the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range
2317
- * (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10).
2318
- * You can't specify publicly routable IP addresses.</p>
2319
- * </li>
2320
- * <li>
2321
- * <p>
2322
- * <code>lambda</code> - Register a single Lambda function as a target.</p>
2323
- * </li>
2324
- * <li>
2325
- * <p>
2326
- * <code>alb</code> - Register a single Application Load Balancer as a target.</p>
2327
- * </li>
2328
- * </ul>
2329
- */
2330
- TargetType?: TargetTypeEnum | string;
2331
-
2332
- /**
2333
- * <p>The tags to assign to the target group.</p>
2334
- */
2335
- Tags?: Tag[];
2336
- }
2337
-
2338
- export namespace CreateTargetGroupInput {
2339
- /**
2340
- * @internal
2341
- */
2342
- export const filterSensitiveLog = (obj: CreateTargetGroupInput): any => ({
2343
- ...obj,
2344
- });
2345
- }
2346
-
2347
- /**
2348
- * <p>Information about a target group.</p>
2349
- */
2350
- export interface TargetGroup {
2351
- /**
2352
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
2353
- */
2354
- TargetGroupArn?: string;
2355
-
2356
- /**
2357
- * <p>The name of the target group.</p>
2358
- */
2359
- TargetGroupName?: string;
2360
-
2361
- /**
2362
- * <p>The protocol to use for routing traffic to the targets.</p>
2363
- */
2364
- Protocol?: ProtocolEnum | string;
2365
-
2366
- /**
2367
- * <p>The port on which the targets are listening. Not used if the target is a Lambda
2368
- * function.</p>
2369
- */
2370
- Port?: number;
2371
-
2372
- /**
2373
- * <p>The ID of the VPC for the targets.</p>
2374
- */
2375
- VpcId?: string;
2376
-
2377
- /**
2378
- * <p>The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP
2379
- * protocols are not supported for health checks.</p>
2380
- */
2381
- HealthCheckProtocol?: ProtocolEnum | string;
2382
-
2383
- /**
2384
- * <p>The port to use to connect with the target.</p>
2385
- */
2386
- HealthCheckPort?: string;
2387
-
2388
- /**
2389
- * <p>Indicates whether health checks are enabled.</p>
2390
- */
2391
- HealthCheckEnabled?: boolean;
2392
-
2393
- /**
2394
- * <p>The approximate amount of time, in seconds, between health checks of an individual
2395
- * target.</p>
2396
- */
2397
- HealthCheckIntervalSeconds?: number;
2398
-
2399
- /**
2400
- * <p>The amount of time, in seconds, during which no response means a failed health
2401
- * check.</p>
2402
- */
2403
- HealthCheckTimeoutSeconds?: number;
2404
-
2405
- /**
2406
- * <p>The number of consecutive health checks successes required before considering an unhealthy
2407
- * target healthy.</p>
2408
- */
2409
- HealthyThresholdCount?: number;
2410
-
2411
- /**
2412
- * <p>The number of consecutive health check failures required before considering the target
2413
- * unhealthy.</p>
2414
- */
2415
- UnhealthyThresholdCount?: number;
2416
-
2417
- /**
2418
- * <p>The destination for health checks on the targets.</p>
2419
- */
2420
- HealthCheckPath?: string;
2421
-
2422
- /**
2423
- * <p>The HTTP or gRPC codes to use when checking for a successful response from a
2424
- * target.</p>
2425
- */
2426
- Matcher?: Matcher;
2427
-
2428
- /**
2429
- * <p>The Amazon Resource Names (ARN) of the load balancers that route traffic to this target
2430
- * group.</p>
2431
- */
2432
- LoadBalancerArns?: string[];
2433
-
2434
- /**
2435
- * <p>The type of target that you must specify when registering targets with this target group.
2436
- * The possible values are <code>instance</code> (register targets by instance ID),
2437
- * <code>ip</code> (register targets by IP address), <code>lambda</code> (register a single
2438
- * Lambda function as a target), or <code>alb</code> (register a single Application Load Balancer
2439
- * as a target).</p>
2440
- */
2441
- TargetType?: TargetTypeEnum | string;
2442
-
2443
- /**
2444
- * <p>[HTTP/HTTPS protocol] The protocol version. The possible values are <code>GRPC</code>,
2445
- * <code>HTTP1</code>, and <code>HTTP2</code>.</p>
2446
- */
2447
- ProtocolVersion?: string;
2448
- }
2449
-
2450
- export namespace TargetGroup {
2451
- /**
2452
- * @internal
2453
- */
2454
- export const filterSensitiveLog = (obj: TargetGroup): any => ({
2455
- ...obj,
2456
- });
2457
- }
2458
-
2459
- export interface CreateTargetGroupOutput {
2460
- /**
2461
- * <p>Information about the target group.</p>
2462
- */
2463
- TargetGroups?: TargetGroup[];
2464
- }
2465
-
2466
- export namespace CreateTargetGroupOutput {
2467
- /**
2468
- * @internal
2469
- */
2470
- export const filterSensitiveLog = (obj: CreateTargetGroupOutput): any => ({
2471
- ...obj,
2472
- });
2473
- }
2474
-
2475
- /**
2476
- * <p>A target group with the specified name already exists.</p>
2477
- */
2478
- export interface DuplicateTargetGroupNameException extends __SmithyException, $MetadataBearer {
2479
- name: "DuplicateTargetGroupNameException";
2480
- $fault: "client";
2481
- Message?: string;
2482
- }
2483
-
2484
- export namespace DuplicateTargetGroupNameException {
2485
- /**
2486
- * @internal
2487
- */
2488
- export const filterSensitiveLog = (obj: DuplicateTargetGroupNameException): any => ({
2489
- ...obj,
2490
- });
2491
- }
2492
-
2493
- export interface DeleteListenerInput {
2494
- /**
2495
- * <p>The Amazon Resource Name (ARN) of the listener.</p>
2496
- */
2497
- ListenerArn: string | undefined;
2498
- }
2499
-
2500
- export namespace DeleteListenerInput {
2501
- /**
2502
- * @internal
2503
- */
2504
- export const filterSensitiveLog = (obj: DeleteListenerInput): any => ({
2505
- ...obj,
2506
- });
2507
- }
2508
-
2509
- export interface DeleteListenerOutput {}
2510
-
2511
- export namespace DeleteListenerOutput {
2512
- /**
2513
- * @internal
2514
- */
2515
- export const filterSensitiveLog = (obj: DeleteListenerOutput): any => ({
2516
- ...obj,
2517
- });
2518
- }
2519
-
2520
- export interface DeleteLoadBalancerInput {
2521
- /**
2522
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
2523
- */
2524
- LoadBalancerArn: string | undefined;
2525
- }
2526
-
2527
- export namespace DeleteLoadBalancerInput {
2528
- /**
2529
- * @internal
2530
- */
2531
- export const filterSensitiveLog = (obj: DeleteLoadBalancerInput): any => ({
2532
- ...obj,
2533
- });
2534
- }
2535
-
2536
- export interface DeleteLoadBalancerOutput {}
2537
-
2538
- export namespace DeleteLoadBalancerOutput {
2539
- /**
2540
- * @internal
2541
- */
2542
- export const filterSensitiveLog = (obj: DeleteLoadBalancerOutput): any => ({
2543
- ...obj,
2544
- });
2545
- }
2546
-
2547
- export interface DeleteRuleInput {
2548
- /**
2549
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
2550
- */
2551
- RuleArn: string | undefined;
2552
- }
2553
-
2554
- export namespace DeleteRuleInput {
2555
- /**
2556
- * @internal
2557
- */
2558
- export const filterSensitiveLog = (obj: DeleteRuleInput): any => ({
2559
- ...obj,
2560
- });
2561
- }
2562
-
2563
- export interface DeleteRuleOutput {}
2564
-
2565
- export namespace DeleteRuleOutput {
2566
- /**
2567
- * @internal
2568
- */
2569
- export const filterSensitiveLog = (obj: DeleteRuleOutput): any => ({
2570
- ...obj,
2571
- });
2572
- }
2573
-
2574
- export interface DeleteTargetGroupInput {
2575
- /**
2576
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
2577
- */
2578
- TargetGroupArn: string | undefined;
2579
- }
2580
-
2581
- export namespace DeleteTargetGroupInput {
2582
- /**
2583
- * @internal
2584
- */
2585
- export const filterSensitiveLog = (obj: DeleteTargetGroupInput): any => ({
2586
- ...obj,
2587
- });
2588
- }
2589
-
2590
- export interface DeleteTargetGroupOutput {}
2591
-
2592
- export namespace DeleteTargetGroupOutput {
2593
- /**
2594
- * @internal
2595
- */
2596
- export const filterSensitiveLog = (obj: DeleteTargetGroupOutput): any => ({
2597
- ...obj,
2598
- });
2599
- }
2600
-
2601
- /**
2602
- * <p>Information about a target.</p>
2603
- */
2604
- export interface TargetDescription {
2605
- /**
2606
- * <p>The ID of the target. If the target type of the target group is <code>instance</code>,
2607
- * specify an instance ID. If the target type is <code>ip</code>, specify an IP address. If the
2608
- * target type is <code>lambda</code>, specify the ARN of the Lambda function. If the target type
2609
- * is <code>alb</code>, specify the ARN of the Application Load Balancer target. </p>
2610
- */
2611
- Id: string | undefined;
2612
-
2613
- /**
2614
- * <p>The port on which the target is listening. If the target group protocol is GENEVE, the
2615
- * supported port is 6081. If the target type is <code>alb</code>, the targeted Application Load
2616
- * Balancer must have at least one listener whose port matches the target group port. Not used if
2617
- * the target is a Lambda function.</p>
2618
- */
2619
- Port?: number;
2620
-
2621
- /**
2622
- * <p>An Availability Zone or <code>all</code>. This determines whether the target receives
2623
- * traffic from the load balancer nodes in the specified Availability Zone or from all enabled
2624
- * Availability Zones for the load balancer.</p>
2625
- * <p>This parameter is not supported if the target type of the target group is
2626
- * <code>instance</code> or <code>alb</code>.</p>
2627
- * <p>If the target type is <code>ip</code> and the IP address is in a subnet of the VPC for the
2628
- * target group, the Availability Zone is automatically detected and this parameter is optional.
2629
- * If the IP address is outside the VPC, this parameter is required.</p>
2630
- * <p>With an Application Load Balancer, if the target type is <code>ip</code> and the IP
2631
- * address is outside the VPC for the target group, the only supported value is
2632
- * <code>all</code>.</p>
2633
- * <p>If the target type is <code>lambda</code>, this parameter is optional and the only
2634
- * supported value is <code>all</code>.</p>
2635
- */
2636
- AvailabilityZone?: string;
2637
- }
2638
-
2639
- export namespace TargetDescription {
2640
- /**
2641
- * @internal
2642
- */
2643
- export const filterSensitiveLog = (obj: TargetDescription): any => ({
2644
- ...obj,
2645
- });
2646
- }
2647
-
2648
- export interface DeregisterTargetsInput {
2649
- /**
2650
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
2651
- */
2652
- TargetGroupArn: string | undefined;
2653
-
2654
- /**
2655
- * <p>The targets. If you specified a port override when you registered a target, you must
2656
- * specify both the target ID and the port when you deregister it.</p>
2657
- */
2658
- Targets: TargetDescription[] | undefined;
2659
- }
2660
-
2661
- export namespace DeregisterTargetsInput {
2662
- /**
2663
- * @internal
2664
- */
2665
- export const filterSensitiveLog = (obj: DeregisterTargetsInput): any => ({
2666
- ...obj,
2667
- });
2668
- }
2669
-
2670
- export interface DeregisterTargetsOutput {}
2671
-
2672
- export namespace DeregisterTargetsOutput {
2673
- /**
2674
- * @internal
2675
- */
2676
- export const filterSensitiveLog = (obj: DeregisterTargetsOutput): any => ({
2677
- ...obj,
2678
- });
2679
- }
2680
-
2681
- /**
2682
- * <p>The specified target does not exist, is not in the same VPC as the target group, or has an
2683
- * unsupported instance type.</p>
2684
- */
2685
- export interface InvalidTargetException extends __SmithyException, $MetadataBearer {
2686
- name: "InvalidTargetException";
2687
- $fault: "client";
2688
- Message?: string;
2689
- }
2690
-
2691
- export namespace InvalidTargetException {
2692
- /**
2693
- * @internal
2694
- */
2695
- export const filterSensitiveLog = (obj: InvalidTargetException): any => ({
2696
- ...obj,
2697
- });
2698
- }
2699
-
2700
- export interface DescribeAccountLimitsInput {
2701
- /**
2702
- * <p>The marker for the next set of results. (You received this marker from a previous
2703
- * call.)</p>
2704
- */
2705
- Marker?: string;
2706
-
2707
- /**
2708
- * <p>The maximum number of results to return with this call.</p>
2709
- */
2710
- PageSize?: number;
2711
- }
2712
-
2713
- export namespace DescribeAccountLimitsInput {
2714
- /**
2715
- * @internal
2716
- */
2717
- export const filterSensitiveLog = (obj: DescribeAccountLimitsInput): any => ({
2718
- ...obj,
2719
- });
2720
- }
2721
-
2722
- /**
2723
- * <p>Information about an Elastic Load Balancing resource limit for your Amazon Web Services
2724
- * account.</p>
2725
- */
2726
- export interface Limit {
2727
- /**
2728
- * <p>The name of the limit. The possible values are:</p>
2729
- * <ul>
2730
- * <li>
2731
- * <p>application-load-balancers</p>
2732
- * </li>
2733
- * <li>
2734
- * <p>condition-values-per-alb-rule</p>
2735
- * </li>
2736
- * <li>
2737
- * <p>condition-wildcards-per-alb-rule</p>
2738
- * </li>
2739
- * <li>
2740
- * <p>gateway-load-balancers</p>
2741
- * </li>
2742
- * <li>
2743
- * <p>gateway-load-balancers-per-vpc</p>
2744
- * </li>
2745
- * <li>
2746
- * <p>geneve-target-groups</p>
2747
- * </li>
2748
- * <li>
2749
- * <p>listeners-per-application-load-balancer</p>
2750
- * </li>
2751
- * <li>
2752
- * <p>listeners-per-network-load-balancer</p>
2753
- * </li>
2754
- * <li>
2755
- * <p>network-load-balancers</p>
2756
- * </li>
2757
- * <li>
2758
- * <p>rules-per-application-load-balancer</p>
2759
- * </li>
2760
- * <li>
2761
- * <p>target-groups</p>
2762
- * </li>
2763
- * <li>
2764
- * <p>target-groups-per-action-on-application-load-balancer</p>
2765
- * </li>
2766
- * <li>
2767
- * <p>target-groups-per-action-on-network-load-balancer</p>
2768
- * </li>
2769
- * <li>
2770
- * <p>target-groups-per-application-load-balancer</p>
2771
- * </li>
2772
- * <li>
2773
- * <p>targets-per-application-load-balancer</p>
2774
- * </li>
2775
- * <li>
2776
- * <p>targets-per-availability-zone-per-gateway-load-balancer</p>
2777
- * </li>
2778
- * <li>
2779
- * <p>targets-per-availability-zone-per-network-load-balancer</p>
2780
- * </li>
2781
- * <li>
2782
- * <p>targets-per-network-load-balancer</p>
2783
- * </li>
2784
- * </ul>
2785
- */
2786
- Name?: string;
2787
-
2788
- /**
2789
- * <p>The maximum value of the limit.</p>
2790
- */
2791
- Max?: string;
2792
- }
2793
-
2794
- export namespace Limit {
2795
- /**
2796
- * @internal
2797
- */
2798
- export const filterSensitiveLog = (obj: Limit): any => ({
2799
- ...obj,
2800
- });
2801
- }
2802
-
2803
- export interface DescribeAccountLimitsOutput {
2804
- /**
2805
- * <p>Information about the limits.</p>
2806
- */
2807
- Limits?: Limit[];
2808
-
2809
- /**
2810
- * <p>If there are additional results, this is the marker for the next set of results.
2811
- * Otherwise, this is null.</p>
2812
- */
2813
- NextMarker?: string;
2814
- }
2815
-
2816
- export namespace DescribeAccountLimitsOutput {
2817
- /**
2818
- * @internal
2819
- */
2820
- export const filterSensitiveLog = (obj: DescribeAccountLimitsOutput): any => ({
2821
- ...obj,
2822
- });
2823
- }
2824
-
2825
- export interface DescribeListenerCertificatesInput {
2826
- /**
2827
- * <p>The Amazon Resource Names (ARN) of the listener.</p>
2828
- */
2829
- ListenerArn: string | undefined;
2830
-
2831
- /**
2832
- * <p>The marker for the next set of results. (You received this marker from a previous
2833
- * call.)</p>
2834
- */
2835
- Marker?: string;
2836
-
2837
- /**
2838
- * <p>The maximum number of results to return with this call.</p>
2839
- */
2840
- PageSize?: number;
2841
- }
2842
-
2843
- export namespace DescribeListenerCertificatesInput {
2844
- /**
2845
- * @internal
2846
- */
2847
- export const filterSensitiveLog = (obj: DescribeListenerCertificatesInput): any => ({
2848
- ...obj,
2849
- });
2850
- }
2851
-
2852
- export interface DescribeListenerCertificatesOutput {
2853
- /**
2854
- * <p>Information about the certificates.</p>
2855
- */
2856
- Certificates?: Certificate[];
2857
-
2858
- /**
2859
- * <p>If there are additional results, this is the marker for the next set of results.
2860
- * Otherwise, this is null.</p>
2861
- */
2862
- NextMarker?: string;
2863
- }
2864
-
2865
- export namespace DescribeListenerCertificatesOutput {
2866
- /**
2867
- * @internal
2868
- */
2869
- export const filterSensitiveLog = (obj: DescribeListenerCertificatesOutput): any => ({
2870
- ...obj,
2871
- });
2872
- }
2873
-
2874
- export interface DescribeListenersInput {
2875
- /**
2876
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
2877
- */
2878
- LoadBalancerArn?: string;
2879
-
2880
- /**
2881
- * <p>The Amazon Resource Names (ARN) of the listeners.</p>
2882
- */
2883
- ListenerArns?: string[];
2884
-
2885
- /**
2886
- * <p>The marker for the next set of results. (You received this marker from a previous
2887
- * call.)</p>
2888
- */
2889
- Marker?: string;
2890
-
2891
- /**
2892
- * <p>The maximum number of results to return with this call.</p>
2893
- */
2894
- PageSize?: number;
2895
- }
2896
-
2897
- export namespace DescribeListenersInput {
2898
- /**
2899
- * @internal
2900
- */
2901
- export const filterSensitiveLog = (obj: DescribeListenersInput): any => ({
2902
- ...obj,
2903
- });
2904
- }
2905
-
2906
- export interface DescribeListenersOutput {
2907
- /**
2908
- * <p>Information about the listeners.</p>
2909
- */
2910
- Listeners?: Listener[];
2911
-
2912
- /**
2913
- * <p>If there are additional results, this is the marker for the next set of results.
2914
- * Otherwise, this is null.</p>
2915
- */
2916
- NextMarker?: string;
2917
- }
2918
-
2919
- export namespace DescribeListenersOutput {
2920
- /**
2921
- * @internal
2922
- */
2923
- export const filterSensitiveLog = (obj: DescribeListenersOutput): any => ({
2924
- ...obj,
2925
- });
2926
- }
2927
-
2928
- export interface DescribeLoadBalancerAttributesInput {
2929
- /**
2930
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
2931
- */
2932
- LoadBalancerArn: string | undefined;
2933
- }
2934
-
2935
- export namespace DescribeLoadBalancerAttributesInput {
2936
- /**
2937
- * @internal
2938
- */
2939
- export const filterSensitiveLog = (obj: DescribeLoadBalancerAttributesInput): any => ({
2940
- ...obj,
2941
- });
2942
- }
2943
-
2944
- /**
2945
- * <p>Information about a load balancer attribute.</p>
2946
- */
2947
- export interface LoadBalancerAttribute {
2948
- /**
2949
- * <p>The name of the attribute.</p>
2950
- *
2951
- * <p>The following attribute is supported by all load balancers:</p>
2952
- * <ul>
2953
- * <li>
2954
- * <p>
2955
- * <code>deletion_protection.enabled</code> - Indicates whether deletion protection is
2956
- * enabled. The value is <code>true</code> or <code>false</code>. The default is
2957
- * <code>false</code>.</p>
2958
- * </li>
2959
- * </ul>
2960
- *
2961
- * <p>The following attributes are supported by both Application Load Balancers and Network Load
2962
- * Balancers:</p>
2963
- * <ul>
2964
- * <li>
2965
- * <p>
2966
- * <code>access_logs.s3.enabled</code> - Indicates whether access logs are enabled. The
2967
- * value is <code>true</code> or <code>false</code>. The default is
2968
- * <code>false</code>.</p>
2969
- * </li>
2970
- * <li>
2971
- * <p>
2972
- * <code>access_logs.s3.bucket</code> - The name of the S3 bucket for the access logs.
2973
- * This attribute is required if access logs are enabled. The bucket must exist in the same
2974
- * region as the load balancer and have a bucket policy that grants Elastic Load Balancing
2975
- * permissions to write to the bucket.</p>
2976
- * </li>
2977
- * <li>
2978
- * <p>
2979
- * <code>access_logs.s3.prefix</code> - The prefix for the location in the S3 bucket for the
2980
- * access logs.</p>
2981
- * </li>
2982
- * </ul>
2983
- *
2984
- * <p>The following attributes are supported by only Application Load Balancers:</p>
2985
- * <ul>
2986
- * <li>
2987
- * <p>
2988
- * <code>idle_timeout.timeout_seconds</code> - The idle timeout value, in seconds. The
2989
- * valid range is 1-4000 seconds. The default is 60 seconds.</p>
2990
- * </li>
2991
- * <li>
2992
- * <p>
2993
- * <code>routing.http.desync_mitigation_mode</code> - Determines how the load balancer
2994
- * handles requests that might pose a security risk to your application. The possible values
2995
- * are <code>monitor</code>, <code>defensive</code>, and <code>strictest</code>. The default
2996
- * is <code>defensive</code>.</p>
2997
- * </li>
2998
- * <li>
2999
- * <p>
3000
- * <code>routing.http.drop_invalid_header_fields.enabled</code> - Indicates whether HTTP
3001
- * headers with invalid header fields are removed by the load balancer (<code>true</code>) or
3002
- * routed to targets (<code>false</code>). The default is <code>false</code>.</p>
3003
- * </li>
3004
- * <li>
3005
- * <p>
3006
- * <code>routing.http.x_amzn_tls_version_and_cipher_suite.enabled</code> - Indicates whether the two headers (<code>x-amzn-tls-version</code> and
3007
- * <code>x-amzn-tls-cipher-suite</code>), which contain information about
3008
- * the negotiated TLS version and cipher suite, are added to the client request
3009
- * before sending it to the target. The <code>x-amzn-tls-version</code> header
3010
- * has information about the TLS protocol version negotiated with the client,
3011
- * and the <code>x-amzn-tls-cipher-suite</code> header has information about
3012
- * the cipher suite negotiated with the client. Both headers are in OpenSSL
3013
- * format. The possible values for the attribute are <code>true</code> and
3014
- * <code>false</code>. The default is <code>false</code>.</p>
3015
- * </li>
3016
- * <li>
3017
- * <p>
3018
- * <code>routing.http.xff_client_port.enabled</code> - Indicates whether the
3019
- * <code>X-Forwarded-For</code> header should preserve the source port that the client used
3020
- * to connect to the load balancer. The possible values are <code>true</code> and
3021
- * <code>false</code>. The default is <code>false</code>.</p>
3022
- * </li>
3023
- * <li>
3024
- * <p>
3025
- * <code>routing.http2.enabled</code> - Indicates whether HTTP/2 is enabled. The possible
3026
- * values are <code>true</code> and <code>false</code>. The default is <code>true</code>.
3027
- * Elastic Load Balancing requires that message header names contain only alphanumeric
3028
- * characters and hyphens.</p>
3029
- * </li>
3030
- * <li>
3031
- * <p>
3032
- * <code>waf.fail_open.enabled</code> - Indicates whether to allow a WAF-enabled load
3033
- * balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are <code>true</code> and <code>false</code>. The
3034
- * default is <code>false</code>.</p>
3035
- * </li>
3036
- * </ul>
3037
- *
3038
- * <p>The following attribute is supported by Network Load Balancers and Gateway Load
3039
- * Balancers:</p>
3040
- * <ul>
3041
- * <li>
3042
- * <p>
3043
- * <code>load_balancing.cross_zone.enabled</code> - Indicates whether cross-zone load
3044
- * balancing is enabled. The possible values are <code>true</code> and <code>false</code>.
3045
- * The default is <code>false</code>.</p>
3046
- * </li>
3047
- * </ul>
3048
- */
3049
- Key?: string;
3050
-
3051
- /**
3052
- * <p>The value of the attribute.</p>
3053
- */
3054
- Value?: string;
3055
- }
3056
-
3057
- export namespace LoadBalancerAttribute {
3058
- /**
3059
- * @internal
3060
- */
3061
- export const filterSensitiveLog = (obj: LoadBalancerAttribute): any => ({
3062
- ...obj,
3063
- });
3064
- }
3065
-
3066
- export interface DescribeLoadBalancerAttributesOutput {
3067
- /**
3068
- * <p>Information about the load balancer attributes.</p>
3069
- */
3070
- Attributes?: LoadBalancerAttribute[];
3071
- }
3072
-
3073
- export namespace DescribeLoadBalancerAttributesOutput {
3074
- /**
3075
- * @internal
3076
- */
3077
- export const filterSensitiveLog = (obj: DescribeLoadBalancerAttributesOutput): any => ({
3078
- ...obj,
3079
- });
3080
- }
3081
-
3082
- export interface DescribeLoadBalancersInput {
3083
- /**
3084
- * <p>The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load
3085
- * balancers in a single call.</p>
3086
- */
3087
- LoadBalancerArns?: string[];
3088
-
3089
- /**
3090
- * <p>The names of the load balancers.</p>
3091
- */
3092
- Names?: string[];
3093
-
3094
- /**
3095
- * <p>The marker for the next set of results. (You received this marker from a previous
3096
- * call.)</p>
3097
- */
3098
- Marker?: string;
3099
-
3100
- /**
3101
- * <p>The maximum number of results to return with this call.</p>
3102
- */
3103
- PageSize?: number;
3104
- }
3105
-
3106
- export namespace DescribeLoadBalancersInput {
3107
- /**
3108
- * @internal
3109
- */
3110
- export const filterSensitiveLog = (obj: DescribeLoadBalancersInput): any => ({
3111
- ...obj,
3112
- });
3113
- }
3114
-
3115
- export interface DescribeLoadBalancersOutput {
3116
- /**
3117
- * <p>Information about the load balancers.</p>
3118
- */
3119
- LoadBalancers?: LoadBalancer[];
3120
-
3121
- /**
3122
- * <p>If there are additional results, this is the marker for the next set of results.
3123
- * Otherwise, this is null.</p>
3124
- */
3125
- NextMarker?: string;
3126
- }
3127
-
3128
- export namespace DescribeLoadBalancersOutput {
3129
- /**
3130
- * @internal
3131
- */
3132
- export const filterSensitiveLog = (obj: DescribeLoadBalancersOutput): any => ({
3133
- ...obj,
3134
- });
3135
- }
3136
-
3137
- export interface DescribeRulesInput {
3138
- /**
3139
- * <p>The Amazon Resource Name (ARN) of the listener.</p>
3140
- */
3141
- ListenerArn?: string;
3142
-
3143
- /**
3144
- * <p>The Amazon Resource Names (ARN) of the rules.</p>
3145
- */
3146
- RuleArns?: string[];
3147
-
3148
- /**
3149
- * <p>The marker for the next set of results. (You received this marker from a previous
3150
- * call.)</p>
3151
- */
3152
- Marker?: string;
3153
-
3154
- /**
3155
- * <p>The maximum number of results to return with this call.</p>
3156
- */
3157
- PageSize?: number;
3158
- }
3159
-
3160
- export namespace DescribeRulesInput {
3161
- /**
3162
- * @internal
3163
- */
3164
- export const filterSensitiveLog = (obj: DescribeRulesInput): any => ({
3165
- ...obj,
3166
- });
3167
- }
3168
-
3169
- export interface DescribeRulesOutput {
3170
- /**
3171
- * <p>Information about the rules.</p>
3172
- */
3173
- Rules?: Rule[];
3174
-
3175
- /**
3176
- * <p>If there are additional results, this is the marker for the next set of results.
3177
- * Otherwise, this is null.</p>
3178
- */
3179
- NextMarker?: string;
3180
- }
3181
-
3182
- export namespace DescribeRulesOutput {
3183
- /**
3184
- * @internal
3185
- */
3186
- export const filterSensitiveLog = (obj: DescribeRulesOutput): any => ({
3187
- ...obj,
3188
- });
3189
- }
3190
-
3191
- export interface DescribeSSLPoliciesInput {
3192
- /**
3193
- * <p>The names of the policies.</p>
3194
- */
3195
- Names?: string[];
3196
-
3197
- /**
3198
- * <p>The marker for the next set of results. (You received this marker from a previous
3199
- * call.)</p>
3200
- */
3201
- Marker?: string;
3202
-
3203
- /**
3204
- * <p>The maximum number of results to return with this call.</p>
3205
- */
3206
- PageSize?: number;
3207
- }
3208
-
3209
- export namespace DescribeSSLPoliciesInput {
3210
- /**
3211
- * @internal
3212
- */
3213
- export const filterSensitiveLog = (obj: DescribeSSLPoliciesInput): any => ({
3214
- ...obj,
3215
- });
3216
- }
3217
-
3218
- /**
3219
- * <p>Information about a policy used for SSL negotiation.</p>
3220
- */
3221
- export interface SslPolicy {
3222
- /**
3223
- * <p>The protocols.</p>
3224
- */
3225
- SslProtocols?: string[];
3226
-
3227
- /**
3228
- * <p>The ciphers.</p>
3229
- */
3230
- Ciphers?: Cipher[];
3231
-
3232
- /**
3233
- * <p>The name of the policy.</p>
3234
- */
3235
- Name?: string;
3236
- }
3237
-
3238
- export namespace SslPolicy {
3239
- /**
3240
- * @internal
3241
- */
3242
- export const filterSensitiveLog = (obj: SslPolicy): any => ({
3243
- ...obj,
3244
- });
3245
- }
3246
-
3247
- export interface DescribeSSLPoliciesOutput {
3248
- /**
3249
- * <p>Information about the security policies.</p>
3250
- */
3251
- SslPolicies?: SslPolicy[];
3252
-
3253
- /**
3254
- * <p>If there are additional results, this is the marker for the next set of results.
3255
- * Otherwise, this is null.</p>
3256
- */
3257
- NextMarker?: string;
3258
- }
3259
-
3260
- export namespace DescribeSSLPoliciesOutput {
3261
- /**
3262
- * @internal
3263
- */
3264
- export const filterSensitiveLog = (obj: DescribeSSLPoliciesOutput): any => ({
3265
- ...obj,
3266
- });
3267
- }
3268
-
3269
- export interface DescribeTagsInput {
3270
- /**
3271
- * <p>The Amazon Resource Names (ARN) of the resources. You can specify up to 20 resources in a
3272
- * single call.</p>
3273
- */
3274
- ResourceArns: string[] | undefined;
3275
- }
3276
-
3277
- export namespace DescribeTagsInput {
3278
- /**
3279
- * @internal
3280
- */
3281
- export const filterSensitiveLog = (obj: DescribeTagsInput): any => ({
3282
- ...obj,
3283
- });
3284
- }
3285
-
3286
- /**
3287
- * <p>The tags associated with a resource.</p>
3288
- */
3289
- export interface TagDescription {
3290
- /**
3291
- * <p>The Amazon Resource Name (ARN) of the resource.</p>
3292
- */
3293
- ResourceArn?: string;
3294
-
3295
- /**
3296
- * <p>Information about the tags.</p>
3297
- */
3298
- Tags?: Tag[];
3299
- }
3300
-
3301
- export namespace TagDescription {
3302
- /**
3303
- * @internal
3304
- */
3305
- export const filterSensitiveLog = (obj: TagDescription): any => ({
3306
- ...obj,
3307
- });
3308
- }
3309
-
3310
- export interface DescribeTagsOutput {
3311
- /**
3312
- * <p>Information about the tags.</p>
3313
- */
3314
- TagDescriptions?: TagDescription[];
3315
- }
3316
-
3317
- export namespace DescribeTagsOutput {
3318
- /**
3319
- * @internal
3320
- */
3321
- export const filterSensitiveLog = (obj: DescribeTagsOutput): any => ({
3322
- ...obj,
3323
- });
3324
- }
3325
-
3326
- export interface DescribeTargetGroupAttributesInput {
3327
- /**
3328
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
3329
- */
3330
- TargetGroupArn: string | undefined;
3331
- }
3332
-
3333
- export namespace DescribeTargetGroupAttributesInput {
3334
- /**
3335
- * @internal
3336
- */
3337
- export const filterSensitiveLog = (obj: DescribeTargetGroupAttributesInput): any => ({
3338
- ...obj,
3339
- });
3340
- }
3341
-
3342
- /**
3343
- * <p>Information about a target group attribute.</p>
3344
- */
3345
- export interface TargetGroupAttribute {
3346
- /**
3347
- * <p>The name of the attribute.</p>
3348
- *
3349
- * <p>The following attribute is supported by all load balancers:</p>
3350
- * <ul>
3351
- * <li>
3352
- * <p>
3353
- * <code>deregistration_delay.timeout_seconds</code> - The amount of time, in seconds,
3354
- * for Elastic Load Balancing to wait before changing the state of a deregistering target
3355
- * from <code>draining</code> to <code>unused</code>. The range is 0-3600 seconds. The
3356
- * default value is 300 seconds. If the target is a Lambda function, this attribute is not
3357
- * supported.</p>
3358
- * </li>
3359
- * </ul>
3360
- *
3361
- * <p>The following attributes are supported by both Application Load Balancers and Network Load
3362
- * Balancers:</p>
3363
- * <ul>
3364
- * <li>
3365
- * <p>
3366
- * <code>stickiness.enabled</code> - Indicates whether sticky sessions are enabled. The
3367
- * value is <code>true</code> or <code>false</code>. The default is
3368
- * <code>false</code>.</p>
3369
- * </li>
3370
- * <li>
3371
- * <p>
3372
- * <code>stickiness.type</code> - The type of sticky sessions. The possible values are
3373
- * <code>lb_cookie</code> and <code>app_cookie</code> for Application Load Balancers or
3374
- * <code>source_ip</code> for Network Load Balancers.</p>
3375
- * </li>
3376
- * </ul>
3377
- *
3378
- * <p>The following attributes are supported only if the load balancer is an Application Load
3379
- * Balancer and the target is an instance or an IP address:</p>
3380
- * <ul>
3381
- * <li>
3382
- * <p>
3383
- * <code>load_balancing.algorithm.type</code> - The load balancing algorithm determines
3384
- * how the load balancer selects targets when routing requests. The value is
3385
- * <code>round_robin</code> or <code>least_outstanding_requests</code>. The default is
3386
- * <code>round_robin</code>.</p>
3387
- * </li>
3388
- * <li>
3389
- * <p>
3390
- * <code>slow_start.duration_seconds</code> - The time period, in seconds, during which a
3391
- * newly registered target receives an increasing share of the traffic to the target group.
3392
- * After this time period ends, the target receives its full share of traffic. The range is
3393
- * 30-900 seconds (15 minutes). The default is 0 seconds (disabled).</p>
3394
- * </li>
3395
- * <li>
3396
- * <p>
3397
- * <code>stickiness.app_cookie.cookie_name</code> - Indicates the name of the
3398
- * application-based cookie. Names that start with the following prefixes are not allowed:
3399
- * <code>AWSALB</code>, <code>AWSALBAPP</code>, and <code>AWSALBTG</code>; they're reserved
3400
- * for use by the load balancer.</p>
3401
- * </li>
3402
- * <li>
3403
- * <p>
3404
- * <code>stickiness.app_cookie.duration_seconds</code> - The time period, in seconds,
3405
- * during which requests from a client should be routed to the same target. After this time
3406
- * period expires, the application-based cookie is considered stale. The range is 1 second to
3407
- * 1 week (604800 seconds). The default value is 1 day (86400 seconds).</p>
3408
- * </li>
3409
- * <li>
3410
- * <p>
3411
- * <code>stickiness.lb_cookie.duration_seconds</code> - The time period, in seconds,
3412
- * during which requests from a client should be routed to the same target. After this time
3413
- * period expires, the load balancer-generated cookie is considered stale. The range is 1
3414
- * second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).</p>
3415
- * </li>
3416
- * </ul>
3417
- *
3418
- * <p>The following attribute is supported only if the load balancer is an Application Load
3419
- * Balancer and the target is a Lambda function:</p>
3420
- * <ul>
3421
- * <li>
3422
- * <p>
3423
- * <code>lambda.multi_value_headers.enabled</code> - Indicates whether the request and
3424
- * response headers that are exchanged between the load balancer and the Lambda function
3425
- * include arrays of values or strings. The value is <code>true</code> or <code>false</code>.
3426
- * The default is <code>false</code>. If the value is <code>false</code> and the request
3427
- * contains a duplicate header field name or query parameter key, the load balancer uses the
3428
- * last value sent by the client.</p>
3429
- * </li>
3430
- * </ul>
3431
- *
3432
- * <p>The following attributes are supported only by Network Load Balancers:</p>
3433
- * <ul>
3434
- * <li>
3435
- * <p>
3436
- * <code>deregistration_delay.connection_termination.enabled</code> - Indicates whether
3437
- * the load balancer terminates connections at the end of the deregistration timeout. The
3438
- * value is <code>true</code> or <code>false</code>. The default is
3439
- * <code>false</code>.</p>
3440
- * </li>
3441
- * <li>
3442
- * <p>
3443
- * <code>preserve_client_ip.enabled</code> - Indicates whether client IP preservation is
3444
- * enabled. The value is <code>true</code> or <code>false</code>. The default is disabled if
3445
- * the target group type is IP address and the target group protocol is TCP or TLS.
3446
- * Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and
3447
- * TCP_UDP target groups.</p>
3448
- * </li>
3449
- * <li>
3450
- * <p>
3451
- * <code>proxy_protocol_v2.enabled</code> - Indicates whether Proxy Protocol version 2 is
3452
- * enabled. The value is <code>true</code> or <code>false</code>. The default is
3453
- * <code>false</code>.</p>
3454
- * </li>
3455
- * </ul>
3456
- */
3457
- Key?: string;
3458
-
3459
- /**
3460
- * <p>The value of the attribute.</p>
3461
- */
3462
- Value?: string;
3463
- }
3464
-
3465
- export namespace TargetGroupAttribute {
3466
- /**
3467
- * @internal
3468
- */
3469
- export const filterSensitiveLog = (obj: TargetGroupAttribute): any => ({
3470
- ...obj,
3471
- });
3472
- }
3473
-
3474
- export interface DescribeTargetGroupAttributesOutput {
3475
- /**
3476
- * <p>Information about the target group attributes</p>
3477
- */
3478
- Attributes?: TargetGroupAttribute[];
3479
- }
3480
-
3481
- export namespace DescribeTargetGroupAttributesOutput {
3482
- /**
3483
- * @internal
3484
- */
3485
- export const filterSensitiveLog = (obj: DescribeTargetGroupAttributesOutput): any => ({
3486
- ...obj,
3487
- });
3488
- }
3489
-
3490
- export interface DescribeTargetGroupsInput {
3491
- /**
3492
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
3493
- */
3494
- LoadBalancerArn?: string;
3495
-
3496
- /**
3497
- * <p>The Amazon Resource Names (ARN) of the target groups.</p>
3498
- */
3499
- TargetGroupArns?: string[];
3500
-
3501
- /**
3502
- * <p>The names of the target groups.</p>
3503
- */
3504
- Names?: string[];
3505
-
3506
- /**
3507
- * <p>The marker for the next set of results. (You received this marker from a previous
3508
- * call.)</p>
3509
- */
3510
- Marker?: string;
3511
-
3512
- /**
3513
- * <p>The maximum number of results to return with this call.</p>
3514
- */
3515
- PageSize?: number;
3516
- }
3517
-
3518
- export namespace DescribeTargetGroupsInput {
3519
- /**
3520
- * @internal
3521
- */
3522
- export const filterSensitiveLog = (obj: DescribeTargetGroupsInput): any => ({
3523
- ...obj,
3524
- });
3525
- }
3526
-
3527
- export interface DescribeTargetGroupsOutput {
3528
- /**
3529
- * <p>Information about the target groups.</p>
3530
- */
3531
- TargetGroups?: TargetGroup[];
3532
-
3533
- /**
3534
- * <p>If there are additional results, this is the marker for the next set of results.
3535
- * Otherwise, this is null.</p>
3536
- */
3537
- NextMarker?: string;
3538
- }
3539
-
3540
- export namespace DescribeTargetGroupsOutput {
3541
- /**
3542
- * @internal
3543
- */
3544
- export const filterSensitiveLog = (obj: DescribeTargetGroupsOutput): any => ({
3545
- ...obj,
3546
- });
3547
- }
3548
-
3549
- export interface DescribeTargetHealthInput {
3550
- /**
3551
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
3552
- */
3553
- TargetGroupArn: string | undefined;
3554
-
3555
- /**
3556
- * <p>The targets.</p>
3557
- */
3558
- Targets?: TargetDescription[];
3559
- }
3560
-
3561
- export namespace DescribeTargetHealthInput {
3562
- /**
3563
- * @internal
3564
- */
3565
- export const filterSensitiveLog = (obj: DescribeTargetHealthInput): any => ({
3566
- ...obj,
3567
- });
3568
- }
3569
-
3570
- export enum TargetHealthReasonEnum {
3571
- DEREGISTRATION_IN_PROGRESS = "Target.DeregistrationInProgress",
3572
- FAILED_HEALTH_CHECKS = "Target.FailedHealthChecks",
3573
- HEALTH_CHECK_DISABLED = "Target.HealthCheckDisabled",
3574
- INITIAL_HEALTH_CHECKING = "Elb.InitialHealthChecking",
3575
- INTERNAL_ERROR = "Elb.InternalError",
3576
- INVALID_STATE = "Target.InvalidState",
3577
- IP_UNUSABLE = "Target.IpUnusable",
3578
- NOT_IN_USE = "Target.NotInUse",
3579
- NOT_REGISTERED = "Target.NotRegistered",
3580
- REGISTRATION_IN_PROGRESS = "Elb.RegistrationInProgress",
3581
- RESPONSE_CODE_MISMATCH = "Target.ResponseCodeMismatch",
3582
- TIMEOUT = "Target.Timeout",
3583
- }
3584
-
3585
- export enum TargetHealthStateEnum {
3586
- DRAINING = "draining",
3587
- HEALTHY = "healthy",
3588
- INITIAL = "initial",
3589
- UNAVAILABLE = "unavailable",
3590
- UNHEALTHY = "unhealthy",
3591
- UNUSED = "unused",
3592
- }
3593
-
3594
- /**
3595
- * <p>Information about the current health of a target.</p>
3596
- */
3597
- export interface TargetHealth {
3598
- /**
3599
- * <p>The state of the target.</p>
3600
- */
3601
- State?: TargetHealthStateEnum | string;
3602
-
3603
- /**
3604
- * <p>The reason code.</p>
3605
- *
3606
- * <p>If the target state is <code>healthy</code>, a reason code is not provided.</p>
3607
- *
3608
- * <p>If the target state is <code>initial</code>, the reason code can be one of the following
3609
- * values:</p>
3610
- * <ul>
3611
- * <li>
3612
- * <p>
3613
- * <code>Elb.RegistrationInProgress</code> - The target is in the process of being registered
3614
- * with the load balancer.</p>
3615
- * </li>
3616
- * <li>
3617
- * <p>
3618
- * <code>Elb.InitialHealthChecking</code> - The load balancer is still sending the target the
3619
- * minimum number of health checks required to determine its health status.</p>
3620
- * </li>
3621
- * </ul>
3622
- *
3623
- * <p>If the target state is <code>unhealthy</code>, the reason code can be one of the following
3624
- * values:</p>
3625
- * <ul>
3626
- * <li>
3627
- * <p>
3628
- * <code>Target.ResponseCodeMismatch</code> - The health checks did not return an
3629
- * expected HTTP code. Applies only to Application Load Balancers and Gateway Load
3630
- * Balancers.</p>
3631
- * </li>
3632
- * <li>
3633
- * <p>
3634
- * <code>Target.Timeout</code> - The health check requests timed out. Applies only to
3635
- * Application Load Balancers and Gateway Load Balancers.</p>
3636
- * </li>
3637
- * <li>
3638
- * <p>
3639
- * <code>Target.FailedHealthChecks</code> - The load balancer received an error while
3640
- * establishing a connection to the target or the target response was malformed.</p>
3641
- * </li>
3642
- * <li>
3643
- * <p>
3644
- * <code>Elb.InternalError</code> - The health checks failed due to an internal error.
3645
- * Applies only to Application Load Balancers.</p>
3646
- * </li>
3647
- * </ul>
3648
- *
3649
- * <p>If the target state is <code>unused</code>, the reason code can be one of the following
3650
- * values:</p>
3651
- * <ul>
3652
- * <li>
3653
- * <p>
3654
- * <code>Target.NotRegistered</code> - The target is not registered with the target
3655
- * group.</p>
3656
- * </li>
3657
- * <li>
3658
- * <p>
3659
- * <code>Target.NotInUse</code> - The target group is not used by any load balancer or
3660
- * the target is in an Availability Zone that is not enabled for its load balancer.</p>
3661
- * </li>
3662
- * <li>
3663
- * <p>
3664
- * <code>Target.InvalidState</code> - The target is in the stopped or terminated
3665
- * state.</p>
3666
- * </li>
3667
- * <li>
3668
- * <p>
3669
- * <code>Target.IpUnusable</code> - The target IP address is reserved for use by a load
3670
- * balancer.</p>
3671
- * </li>
3672
- * </ul>
3673
- *
3674
- * <p>If the target state is <code>draining</code>, the reason code can be the following
3675
- * value:</p>
3676
- * <ul>
3677
- * <li>
3678
- * <p>
3679
- * <code>Target.DeregistrationInProgress</code> - The target is in the process of being
3680
- * deregistered and the deregistration delay period has not expired.</p>
3681
- * </li>
3682
- * </ul>
3683
- *
3684
- * <p>If the target state is <code>unavailable</code>, the reason code can be the following
3685
- * value:</p>
3686
- * <ul>
3687
- * <li>
3688
- * <p>
3689
- * <code>Target.HealthCheckDisabled</code> - Health checks are disabled for the target
3690
- * group. Applies only to Application Load Balancers.</p>
3691
- * </li>
3692
- * <li>
3693
- * <p>
3694
- * <code>Elb.InternalError</code> - Target health is unavailable due to an internal
3695
- * error. Applies only to Network Load Balancers.</p>
3696
- * </li>
3697
- * </ul>
3698
- */
3699
- Reason?: TargetHealthReasonEnum | string;
3700
-
3701
- /**
3702
- * <p>A description of the target health that provides additional details. If the state is
3703
- * <code>healthy</code>, a description is not provided.</p>
3704
- */
3705
- Description?: string;
3706
- }
3707
-
3708
- export namespace TargetHealth {
3709
- /**
3710
- * @internal
3711
- */
3712
- export const filterSensitiveLog = (obj: TargetHealth): any => ({
3713
- ...obj,
3714
- });
3715
- }
3716
-
3717
- /**
3718
- * <p>Information about the health of a target.</p>
3719
- */
3720
- export interface TargetHealthDescription {
3721
- /**
3722
- * <p>The description of the target.</p>
3723
- */
3724
- Target?: TargetDescription;
3725
-
3726
- /**
3727
- * <p>The port to use to connect with the target.</p>
3728
- */
3729
- HealthCheckPort?: string;
3730
-
3731
- /**
3732
- * <p>The health information for the target.</p>
3733
- */
3734
- TargetHealth?: TargetHealth;
3735
- }
3736
-
3737
- export namespace TargetHealthDescription {
3738
- /**
3739
- * @internal
3740
- */
3741
- export const filterSensitiveLog = (obj: TargetHealthDescription): any => ({
3742
- ...obj,
3743
- });
3744
- }
3745
-
3746
- export interface DescribeTargetHealthOutput {
3747
- /**
3748
- * <p>Information about the health of the targets.</p>
3749
- */
3750
- TargetHealthDescriptions?: TargetHealthDescription[];
3751
- }
3752
-
3753
- export namespace DescribeTargetHealthOutput {
3754
- /**
3755
- * @internal
3756
- */
3757
- export const filterSensitiveLog = (obj: DescribeTargetHealthOutput): any => ({
3758
- ...obj,
3759
- });
3760
- }
3761
-
3762
- /**
3763
- * <p>The health of the specified targets could not be retrieved due to an internal
3764
- * error.</p>
3765
- */
3766
- export interface HealthUnavailableException extends __SmithyException, $MetadataBearer {
3767
- name: "HealthUnavailableException";
3768
- $fault: "server";
3769
- Message?: string;
3770
- }
3771
-
3772
- export namespace HealthUnavailableException {
3773
- /**
3774
- * @internal
3775
- */
3776
- export const filterSensitiveLog = (obj: HealthUnavailableException): any => ({
3777
- ...obj,
3778
- });
3779
- }
3780
-
3781
- export interface ModifyListenerInput {
3782
- /**
3783
- * <p>The Amazon Resource Name (ARN) of the listener.</p>
3784
- */
3785
- ListenerArn: string | undefined;
3786
-
3787
- /**
3788
- * <p>The port for connections from clients to the load balancer. You cannot specify a port for
3789
- * a Gateway Load Balancer.</p>
3790
- */
3791
- Port?: number;
3792
-
3793
- /**
3794
- * <p>The protocol for connections from clients to the load balancer. Application Load Balancers
3795
- * support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and
3796
- * TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is
3797
- * enabled. You cannot specify a protocol for a Gateway Load Balancer.</p>
3798
- */
3799
- Protocol?: ProtocolEnum | string;
3800
-
3801
- /**
3802
- * <p>[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are
3803
- * supported.</p>
3804
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies">Security policies</a> in the <i>Application Load Balancers Guide</i> or
3805
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
3806
- */
3807
- SslPolicy?: string;
3808
-
3809
- /**
3810
- * <p>[HTTPS and TLS listeners] The default certificate for the listener. You must provide
3811
- * exactly one certificate. Set <code>CertificateArn</code> to the certificate ARN but do not set
3812
- * <code>IsDefault</code>.</p>
3813
- */
3814
- Certificates?: Certificate[];
3815
-
3816
- /**
3817
- * <p>The actions for the default rule.</p>
3818
- */
3819
- DefaultActions?: Action[];
3820
-
3821
- /**
3822
- * <p>[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You
3823
- * can specify one policy name. The following are the possible values:</p>
3824
- * <ul>
3825
- * <li>
3826
- * <p>
3827
- * <code>HTTP1Only</code>
3828
- * </p>
3829
- * </li>
3830
- * <li>
3831
- * <p>
3832
- * <code>HTTP2Only</code>
3833
- * </p>
3834
- * </li>
3835
- * <li>
3836
- * <p>
3837
- * <code>HTTP2Optional</code>
3838
- * </p>
3839
- * </li>
3840
- * <li>
3841
- * <p>
3842
- * <code>HTTP2Preferred</code>
3843
- * </p>
3844
- * </li>
3845
- * <li>
3846
- * <p>
3847
- * <code>None</code>
3848
- * </p>
3849
- * </li>
3850
- * </ul>
3851
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies">ALPN
3852
- * policies</a> in the <i>Network Load Balancers Guide</i>.</p>
3853
- */
3854
- AlpnPolicy?: string[];
3855
- }
3856
-
3857
- export namespace ModifyListenerInput {
3858
- /**
3859
- * @internal
3860
- */
3861
- export const filterSensitiveLog = (obj: ModifyListenerInput): any => ({
3862
- ...obj,
3863
- });
3864
- }
3865
-
3866
- export interface ModifyListenerOutput {
3867
- /**
3868
- * <p>Information about the modified listener.</p>
3869
- */
3870
- Listeners?: Listener[];
3871
- }
3872
-
3873
- export namespace ModifyListenerOutput {
3874
- /**
3875
- * @internal
3876
- */
3877
- export const filterSensitiveLog = (obj: ModifyListenerOutput): any => ({
3878
- ...obj,
3879
- });
3880
- }
3881
-
3882
- export interface ModifyLoadBalancerAttributesInput {
3883
- /**
3884
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
3885
- */
3886
- LoadBalancerArn: string | undefined;
3887
-
3888
- /**
3889
- * <p>The load balancer attributes.</p>
3890
- */
3891
- Attributes: LoadBalancerAttribute[] | undefined;
3892
- }
3893
-
3894
- export namespace ModifyLoadBalancerAttributesInput {
3895
- /**
3896
- * @internal
3897
- */
3898
- export const filterSensitiveLog = (obj: ModifyLoadBalancerAttributesInput): any => ({
3899
- ...obj,
3900
- });
3901
- }
3902
-
3903
- export interface ModifyLoadBalancerAttributesOutput {
3904
- /**
3905
- * <p>Information about the load balancer attributes.</p>
3906
- */
3907
- Attributes?: LoadBalancerAttribute[];
3908
- }
3909
-
3910
- export namespace ModifyLoadBalancerAttributesOutput {
3911
- /**
3912
- * @internal
3913
- */
3914
- export const filterSensitiveLog = (obj: ModifyLoadBalancerAttributesOutput): any => ({
3915
- ...obj,
3916
- });
3917
- }
3918
-
3919
- export interface ModifyRuleInput {
3920
- /**
3921
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
3922
- */
3923
- RuleArn: string | undefined;
3924
-
3925
- /**
3926
- * <p>The conditions.</p>
3927
- */
3928
- Conditions?: RuleCondition[];
3929
-
3930
- /**
3931
- * <p>The actions.</p>
3932
- */
3933
- Actions?: Action[];
3934
- }
3935
-
3936
- export namespace ModifyRuleInput {
3937
- /**
3938
- * @internal
3939
- */
3940
- export const filterSensitiveLog = (obj: ModifyRuleInput): any => ({
3941
- ...obj,
3942
- });
3943
- }
3944
-
3945
- export interface ModifyRuleOutput {
3946
- /**
3947
- * <p>Information about the modified rule.</p>
3948
- */
3949
- Rules?: Rule[];
3950
- }
3951
-
3952
- export namespace ModifyRuleOutput {
3953
- /**
3954
- * @internal
3955
- */
3956
- export const filterSensitiveLog = (obj: ModifyRuleOutput): any => ({
3957
- ...obj,
3958
- });
3959
- }
3960
-
3961
- export interface ModifyTargetGroupInput {
3962
- /**
3963
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
3964
- */
3965
- TargetGroupArn: string | undefined;
3966
-
3967
- /**
3968
- * <p>The protocol the load balancer uses when performing health checks on targets. For
3969
- * Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load
3970
- * Balancers, the default is TCP. The TCP protocol is not supported for health checks if the
3971
- * protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the
3972
- * protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP
3973
- * protocols are not supported for health checks.</p>
3974
- * <p>With Network Load Balancers, you can't modify this setting.</p>
3975
- */
3976
- HealthCheckProtocol?: ProtocolEnum | string;
3977
-
3978
- /**
3979
- * <p>The port the load balancer uses when performing health checks on targets.</p>
3980
- */
3981
- HealthCheckPort?: string;
3982
-
3983
- /**
3984
- * <p>[HTTP/HTTPS health checks] The destination for health checks on the targets.</p>
3985
- * <p>[HTTP1 or HTTP2 protocol version] The ping path. The default is /.</p>
3986
- * <p>[GRPC protocol version] The path of a custom health check method with the format
3987
- * /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.</p>
3988
- */
3989
- HealthCheckPath?: string;
3990
-
3991
- /**
3992
- * <p>Indicates whether health checks are enabled.</p>
3993
- */
3994
- HealthCheckEnabled?: boolean;
3995
-
3996
- /**
3997
- * <p>The approximate amount of time, in seconds, between health checks of an individual target.
3998
- * For TCP health checks, the supported values are 10 or 30 seconds.</p>
3999
- * <p>With Network Load Balancers, you can't modify this setting.</p>
4000
- */
4001
- HealthCheckIntervalSeconds?: number;
4002
-
4003
- /**
4004
- * <p>[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means
4005
- * a failed health check.</p>
4006
- * <p>With Network Load Balancers, you can't modify this setting.</p>
4007
- */
4008
- HealthCheckTimeoutSeconds?: number;
4009
-
4010
- /**
4011
- * <p>The number of consecutive health checks successes required before considering an unhealthy
4012
- * target healthy.</p>
4013
- */
4014
- HealthyThresholdCount?: number;
4015
-
4016
- /**
4017
- * <p>The number of consecutive health check failures required before considering the target
4018
- * unhealthy. For target groups with a protocol of TCP or TLS, this value must be the same as the
4019
- * healthy threshold count.</p>
4020
- */
4021
- UnhealthyThresholdCount?: number;
4022
-
4023
- /**
4024
- * <p>[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful
4025
- * response from a target.</p>
4026
- * <p>With Network Load Balancers, you can't modify this setting.</p>
4027
- */
4028
- Matcher?: Matcher;
4029
- }
4030
-
4031
- export namespace ModifyTargetGroupInput {
4032
- /**
4033
- * @internal
4034
- */
4035
- export const filterSensitiveLog = (obj: ModifyTargetGroupInput): any => ({
4036
- ...obj,
4037
- });
4038
- }
4039
-
4040
- export interface ModifyTargetGroupOutput {
4041
- /**
4042
- * <p>Information about the modified target group.</p>
4043
- */
4044
- TargetGroups?: TargetGroup[];
4045
- }
4046
-
4047
- export namespace ModifyTargetGroupOutput {
4048
- /**
4049
- * @internal
4050
- */
4051
- export const filterSensitiveLog = (obj: ModifyTargetGroupOutput): any => ({
4052
- ...obj,
4053
- });
4054
- }
4055
-
4056
- export interface ModifyTargetGroupAttributesInput {
4057
- /**
4058
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
4059
- */
4060
- TargetGroupArn: string | undefined;
4061
-
4062
- /**
4063
- * <p>The attributes.</p>
4064
- */
4065
- Attributes: TargetGroupAttribute[] | undefined;
4066
- }
4067
-
4068
- export namespace ModifyTargetGroupAttributesInput {
4069
- /**
4070
- * @internal
4071
- */
4072
- export const filterSensitiveLog = (obj: ModifyTargetGroupAttributesInput): any => ({
4073
- ...obj,
4074
- });
4075
- }
4076
-
4077
- export interface ModifyTargetGroupAttributesOutput {
4078
- /**
4079
- * <p>Information about the attributes.</p>
4080
- */
4081
- Attributes?: TargetGroupAttribute[];
4082
- }
4083
-
4084
- export namespace ModifyTargetGroupAttributesOutput {
4085
- /**
4086
- * @internal
4087
- */
4088
- export const filterSensitiveLog = (obj: ModifyTargetGroupAttributesOutput): any => ({
4089
- ...obj,
4090
- });
4091
- }
4092
-
4093
- export interface RegisterTargetsInput {
4094
- /**
4095
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
4096
- */
4097
- TargetGroupArn: string | undefined;
4098
-
4099
- /**
4100
- * <p>The targets.</p>
4101
- */
4102
- Targets: TargetDescription[] | undefined;
4103
- }
4104
-
4105
- export namespace RegisterTargetsInput {
4106
- /**
4107
- * @internal
4108
- */
4109
- export const filterSensitiveLog = (obj: RegisterTargetsInput): any => ({
4110
- ...obj,
4111
- });
4112
- }
4113
-
4114
- export interface RegisterTargetsOutput {}
4115
-
4116
- export namespace RegisterTargetsOutput {
4117
- /**
4118
- * @internal
4119
- */
4120
- export const filterSensitiveLog = (obj: RegisterTargetsOutput): any => ({
4121
- ...obj,
4122
- });
4123
- }
4124
-
4125
- export interface RemoveListenerCertificatesInput {
4126
- /**
4127
- * <p>The Amazon Resource Name (ARN) of the listener.</p>
4128
- */
4129
- ListenerArn: string | undefined;
4130
-
4131
- /**
4132
- * <p>The certificate to remove. You can specify one certificate per call. Set
4133
- * <code>CertificateArn</code> to the certificate ARN but do not set
4134
- * <code>IsDefault</code>.</p>
4135
- */
4136
- Certificates: Certificate[] | undefined;
4137
- }
4138
-
4139
- export namespace RemoveListenerCertificatesInput {
4140
- /**
4141
- * @internal
4142
- */
4143
- export const filterSensitiveLog = (obj: RemoveListenerCertificatesInput): any => ({
4144
- ...obj,
4145
- });
4146
- }
4147
-
4148
- export interface RemoveListenerCertificatesOutput {}
4149
-
4150
- export namespace RemoveListenerCertificatesOutput {
4151
- /**
4152
- * @internal
4153
- */
4154
- export const filterSensitiveLog = (obj: RemoveListenerCertificatesOutput): any => ({
4155
- ...obj,
4156
- });
4157
- }
4158
-
4159
- export interface RemoveTagsInput {
4160
- /**
4161
- * <p>The Amazon Resource Name (ARN) of the resource.</p>
4162
- */
4163
- ResourceArns: string[] | undefined;
4164
-
4165
- /**
4166
- * <p>The tag keys for the tags to remove.</p>
4167
- */
4168
- TagKeys: string[] | undefined;
4169
- }
4170
-
4171
- export namespace RemoveTagsInput {
4172
- /**
4173
- * @internal
4174
- */
4175
- export const filterSensitiveLog = (obj: RemoveTagsInput): any => ({
4176
- ...obj,
4177
- });
4178
- }
4179
-
4180
- export interface RemoveTagsOutput {}
4181
-
4182
- export namespace RemoveTagsOutput {
4183
- /**
4184
- * @internal
4185
- */
4186
- export const filterSensitiveLog = (obj: RemoveTagsOutput): any => ({
4187
- ...obj,
4188
- });
4189
- }
4190
-
4191
- export interface SetIpAddressTypeInput {
4192
- /**
4193
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
4194
- */
4195
- LoadBalancerArn: string | undefined;
4196
-
4197
- /**
4198
- * <p>The IP address type. The possible values are <code>ipv4</code> (for IPv4 addresses) and
4199
- * <code>dualstack</code> (for IPv4 and IPv6 addresses). Internal load balancers must use
4200
- * <code>ipv4</code>. You can’t specify <code>dualstack</code> for a load balancer with a UDP
4201
- * or TCP_UDP listener.</p>
4202
- */
4203
- IpAddressType: IpAddressType | string | undefined;
4204
- }
4205
-
4206
- export namespace SetIpAddressTypeInput {
4207
- /**
4208
- * @internal
4209
- */
4210
- export const filterSensitiveLog = (obj: SetIpAddressTypeInput): any => ({
4211
- ...obj,
4212
- });
4213
- }
4214
-
4215
- export interface SetIpAddressTypeOutput {
4216
- /**
4217
- * <p>The IP address type.</p>
4218
- */
4219
- IpAddressType?: IpAddressType | string;
4220
- }
4221
-
4222
- export namespace SetIpAddressTypeOutput {
4223
- /**
4224
- * @internal
4225
- */
4226
- export const filterSensitiveLog = (obj: SetIpAddressTypeOutput): any => ({
4227
- ...obj,
4228
- });
4229
- }
4230
-
4231
- /**
4232
- * <p>Information about the priorities for the rules for a listener.</p>
4233
- */
4234
- export interface RulePriorityPair {
4235
- /**
4236
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
4237
- */
4238
- RuleArn?: string;
4239
-
4240
- /**
4241
- * <p>The rule priority.</p>
4242
- */
4243
- Priority?: number;
4244
- }
4245
-
4246
- export namespace RulePriorityPair {
4247
- /**
4248
- * @internal
4249
- */
4250
- export const filterSensitiveLog = (obj: RulePriorityPair): any => ({
4251
- ...obj,
4252
- });
4253
- }
4254
-
4255
- export interface SetRulePrioritiesInput {
4256
- /**
4257
- * <p>The rule priorities.</p>
4258
- */
4259
- RulePriorities: RulePriorityPair[] | undefined;
4260
- }
4261
-
4262
- export namespace SetRulePrioritiesInput {
4263
- /**
4264
- * @internal
4265
- */
4266
- export const filterSensitiveLog = (obj: SetRulePrioritiesInput): any => ({
4267
- ...obj,
4268
- });
4269
- }
4270
-
4271
- export interface SetRulePrioritiesOutput {
4272
- /**
4273
- * <p>Information about the rules.</p>
4274
- */
4275
- Rules?: Rule[];
4276
- }
4277
-
4278
- export namespace SetRulePrioritiesOutput {
4279
- /**
4280
- * @internal
4281
- */
4282
- export const filterSensitiveLog = (obj: SetRulePrioritiesOutput): any => ({
4283
- ...obj,
4284
- });
4285
- }
4286
-
4287
- export interface SetSecurityGroupsInput {
4288
- /**
4289
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
4290
- */
4291
- LoadBalancerArn: string | undefined;
4292
-
4293
- /**
4294
- * <p>The IDs of the security groups.</p>
4295
- */
4296
- SecurityGroups: string[] | undefined;
4297
- }
4298
-
4299
- export namespace SetSecurityGroupsInput {
4300
- /**
4301
- * @internal
4302
- */
4303
- export const filterSensitiveLog = (obj: SetSecurityGroupsInput): any => ({
4304
- ...obj,
4305
- });
4306
- }
4307
-
4308
- export interface SetSecurityGroupsOutput {
4309
- /**
4310
- * <p>The IDs of the security groups associated with the load balancer.</p>
4311
- */
4312
- SecurityGroupIds?: string[];
4313
- }
4314
-
4315
- export namespace SetSecurityGroupsOutput {
4316
- /**
4317
- * @internal
4318
- */
4319
- export const filterSensitiveLog = (obj: SetSecurityGroupsOutput): any => ({
4320
- ...obj,
4321
- });
4322
- }
4323
-
4324
- export interface SetSubnetsInput {
4325
- /**
4326
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
4327
- */
4328
- LoadBalancerArn: string | undefined;
4329
-
4330
- /**
4331
- * <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
4332
- * must specify either subnets or subnet mappings.</p>
4333
- * <p>[Application Load Balancers] You must specify subnets from at least two Availability
4334
- * Zones.</p>
4335
- * <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
4336
- * <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
4337
- * Zones.</p>
4338
- * <p>[Network Load Balancers] You can specify subnets from one or more Availability
4339
- * Zones.</p>
4340
- */
4341
- Subnets?: string[];
4342
-
4343
- /**
4344
- * <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
4345
- * must specify either subnets or subnet mappings.</p>
4346
- * <p>[Application Load Balancers] You must specify subnets from at least two Availability
4347
- * Zones. You cannot specify Elastic IP addresses for your subnets.</p>
4348
- * <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
4349
- * <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
4350
- * Zones.</p>
4351
- * <p>[Network Load Balancers] You can specify subnets from one or more Availability Zones. You
4352
- * can specify one Elastic IP address per subnet if you need static IP addresses for your
4353
- * internet-facing load balancer. For internal load balancers, you can specify one private IP
4354
- * address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you
4355
- * can specify one IPv6 address per subnet.</p>
4356
- */
4357
- SubnetMappings?: SubnetMapping[];
4358
-
4359
- /**
4360
- * <p>[Network Load Balancers] The type of IP addresses used by the subnets for your load
4361
- * balancer. The possible values are <code>ipv4</code> (for IPv4 addresses) and
4362
- * <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify
4363
- * <code>dualstack</code> for a load balancer with a UDP or TCP_UDP listener. Internal load
4364
- * balancers must use <code>ipv4</code>.</p>
4365
- */
4366
- IpAddressType?: IpAddressType | string;
4367
- }
4368
-
4369
- export namespace SetSubnetsInput {
4370
- /**
4371
- * @internal
4372
- */
4373
- export const filterSensitiveLog = (obj: SetSubnetsInput): any => ({
4374
- ...obj,
4375
- });
4376
- }
4377
-
4378
- export interface SetSubnetsOutput {
4379
- /**
4380
- * <p>Information about the subnets.</p>
4381
- */
4382
- AvailabilityZones?: AvailabilityZone[];
4383
-
4384
- /**
4385
- * <p>[Network Load Balancers] The IP address type.</p>
4386
- */
4387
- IpAddressType?: IpAddressType | string;
4388
- }
4389
-
4390
- export namespace SetSubnetsOutput {
4391
- /**
4392
- * @internal
4393
- */
4394
- export const filterSensitiveLog = (obj: SetSubnetsOutput): any => ({
4395
- ...obj,
4396
- });
4397
- }