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