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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ElasticLoadBalancingV2.js +0 -42
  3. package/dist-cjs/ElasticLoadBalancingV2Client.js +0 -47
  4. package/dist-cjs/commands/AddListenerCertificatesCommand.js +0 -32
  5. package/dist-cjs/commands/AddTagsCommand.js +0 -29
  6. package/dist-cjs/commands/CreateListenerCommand.js +0 -52
  7. package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -52
  8. package/dist-cjs/commands/CreateRuleCommand.js +0 -30
  9. package/dist-cjs/commands/CreateTargetGroupCommand.js +0 -52
  10. package/dist-cjs/commands/DeleteListenerCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -31
  12. package/dist-cjs/commands/DeleteRuleCommand.js +0 -26
  13. package/dist-cjs/commands/DeleteTargetGroupCommand.js +0 -29
  14. package/dist-cjs/commands/DeregisterTargetsCommand.js +0 -26
  15. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -47
  16. package/dist-cjs/commands/DescribeListenerCertificatesCommand.js +0 -32
  17. package/dist-cjs/commands/DescribeListenersCommand.js +0 -27
  18. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -48
  19. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeRulesCommand.js +0 -26
  21. package/dist-cjs/commands/DescribeSSLPoliciesCommand.js +0 -27
  22. package/dist-cjs/commands/DescribeTagsCommand.js +0 -27
  23. package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js +0 -46
  24. package/dist-cjs/commands/DescribeTargetGroupsCommand.js +0 -28
  25. package/dist-cjs/commands/DescribeTargetHealthCommand.js +0 -25
  26. package/dist-cjs/commands/ModifyListenerCommand.js +0 -32
  27. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -28
  28. package/dist-cjs/commands/ModifyRuleCommand.js +0 -29
  29. package/dist-cjs/commands/ModifyTargetGroupAttributesCommand.js +0 -25
  30. package/dist-cjs/commands/ModifyTargetGroupCommand.js +0 -26
  31. package/dist-cjs/commands/RegisterTargetsCommand.js +0 -37
  32. package/dist-cjs/commands/RemoveListenerCertificatesCommand.js +0 -26
  33. package/dist-cjs/commands/RemoveTagsCommand.js +0 -27
  34. package/dist-cjs/commands/SetIpAddressTypeCommand.js +0 -26
  35. package/dist-cjs/commands/SetRulePrioritiesCommand.js +0 -27
  36. package/dist-cjs/commands/SetSecurityGroupsCommand.js +0 -28
  37. package/dist-cjs/commands/SetSubnetsCommand.js +0 -30
  38. package/dist-cjs/commands/index.js +37 -0
  39. package/dist-cjs/endpoints.js +1 -2
  40. package/dist-cjs/index.js +5 -46
  41. package/dist-cjs/models/index.js +0 -1
  42. package/dist-cjs/models/models_0.js +8 -430
  43. package/dist-cjs/pagination/DescribeListenersPaginator.js +0 -11
  44. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -11
  45. package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js +0 -11
  46. package/dist-cjs/pagination/Interfaces.js +0 -1
  47. package/dist-cjs/pagination/index.js +7 -0
  48. package/dist-cjs/protocols/Aws_query.js +18 -3
  49. package/dist-cjs/runtimeConfig.browser.js +1 -6
  50. package/dist-cjs/runtimeConfig.js +2 -7
  51. package/dist-cjs/runtimeConfig.native.js +0 -4
  52. package/dist-cjs/runtimeConfig.shared.js +0 -4
  53. package/dist-cjs/waiters/index.js +8 -0
  54. package/dist-cjs/waiters/waitForLoadBalancerAvailable.js +0 -10
  55. package/dist-cjs/waiters/waitForLoadBalancerExists.js +0 -10
  56. package/dist-cjs/waiters/waitForLoadBalancersDeleted.js +0 -10
  57. package/dist-cjs/waiters/waitForTargetDeregistered.js +0 -10
  58. package/dist-cjs/waiters/waitForTargetInService.js +0 -10
  59. package/dist-es/ElasticLoadBalancingV2.js +0 -1
  60. package/dist-es/ElasticLoadBalancingV2Client.js +0 -1
  61. package/dist-es/commands/AddListenerCertificatesCommand.js +0 -1
  62. package/dist-es/commands/AddTagsCommand.js +0 -1
  63. package/dist-es/commands/CreateListenerCommand.js +0 -1
  64. package/dist-es/commands/CreateLoadBalancerCommand.js +0 -1
  65. package/dist-es/commands/CreateRuleCommand.js +0 -1
  66. package/dist-es/commands/CreateTargetGroupCommand.js +0 -1
  67. package/dist-es/commands/DeleteListenerCommand.js +0 -1
  68. package/dist-es/commands/DeleteLoadBalancerCommand.js +0 -1
  69. package/dist-es/commands/DeleteRuleCommand.js +0 -1
  70. package/dist-es/commands/DeleteTargetGroupCommand.js +0 -1
  71. package/dist-es/commands/DeregisterTargetsCommand.js +0 -1
  72. package/dist-es/commands/DescribeAccountLimitsCommand.js +0 -1
  73. package/dist-es/commands/DescribeListenerCertificatesCommand.js +0 -1
  74. package/dist-es/commands/DescribeListenersCommand.js +0 -1
  75. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +0 -1
  76. package/dist-es/commands/DescribeLoadBalancersCommand.js +0 -1
  77. package/dist-es/commands/DescribeRulesCommand.js +0 -1
  78. package/dist-es/commands/DescribeSSLPoliciesCommand.js +0 -1
  79. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  80. package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +0 -1
  81. package/dist-es/commands/DescribeTargetGroupsCommand.js +0 -1
  82. package/dist-es/commands/DescribeTargetHealthCommand.js +0 -1
  83. package/dist-es/commands/ModifyListenerCommand.js +0 -1
  84. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +0 -1
  85. package/dist-es/commands/ModifyRuleCommand.js +0 -1
  86. package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +0 -1
  87. package/dist-es/commands/ModifyTargetGroupCommand.js +0 -1
  88. package/dist-es/commands/RegisterTargetsCommand.js +0 -1
  89. package/dist-es/commands/RemoveListenerCertificatesCommand.js +0 -1
  90. package/dist-es/commands/RemoveTagsCommand.js +0 -1
  91. package/dist-es/commands/SetIpAddressTypeCommand.js +0 -1
  92. package/dist-es/commands/SetRulePrioritiesCommand.js +0 -1
  93. package/dist-es/commands/SetSecurityGroupsCommand.js +0 -1
  94. package/dist-es/commands/SetSubnetsCommand.js +0 -1
  95. package/dist-es/commands/index.js +34 -0
  96. package/dist-es/endpoints.js +1 -2
  97. package/dist-es/index.js +5 -46
  98. package/dist-es/models/index.js +0 -1
  99. package/dist-es/models/models_0.js +5 -1
  100. package/dist-es/pagination/DescribeListenersPaginator.js +0 -1
  101. package/dist-es/pagination/DescribeLoadBalancersPaginator.js +0 -1
  102. package/dist-es/pagination/DescribeTargetGroupsPaginator.js +0 -1
  103. package/dist-es/pagination/Interfaces.js +0 -1
  104. package/dist-es/pagination/index.js +4 -0
  105. package/dist-es/protocols/Aws_query.js +18 -1
  106. package/dist-es/runtimeConfig.browser.js +1 -2
  107. package/dist-es/runtimeConfig.js +2 -3
  108. package/dist-es/runtimeConfig.native.js +0 -1
  109. package/dist-es/runtimeConfig.shared.js +0 -1
  110. package/dist-es/waiters/index.js +5 -0
  111. package/dist-es/waiters/waitForLoadBalancerAvailable.js +0 -1
  112. package/dist-es/waiters/waitForLoadBalancerExists.js +0 -1
  113. package/dist-es/waiters/waitForLoadBalancersDeleted.js +0 -1
  114. package/dist-es/waiters/waitForTargetDeregistered.js +0 -1
  115. package/dist-es/waiters/waitForTargetInService.js +0 -1
  116. package/dist-types/commands/index.d.ts +34 -0
  117. package/dist-types/index.d.ts +5 -45
  118. package/dist-types/models/models_0.d.ts +41 -12
  119. package/dist-types/pagination/index.d.ts +4 -0
  120. package/dist-types/runtimeConfig.browser.d.ts +3 -1
  121. package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +35 -378
  122. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +24 -127
  123. package/dist-types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +2 -27
  124. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -47
  126. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -47
  127. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -25
  128. package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +2 -47
  129. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -22
  130. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -26
  131. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -21
  132. package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +2 -24
  133. package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +2 -21
  134. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -42
  135. package/dist-types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +2 -27
  136. package/dist-types/ts3.4/commands/DescribeListenersCommand.d.ts +2 -22
  137. package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -43
  138. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/DescribeRulesCommand.d.ts +2 -21
  140. package/dist-types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +2 -22
  141. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -22
  142. package/dist-types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +2 -41
  143. package/dist-types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +2 -23
  144. package/dist-types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/ModifyListenerCommand.d.ts +2 -27
  146. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -23
  147. package/dist-types/ts3.4/commands/ModifyRuleCommand.d.ts +2 -24
  148. package/dist-types/ts3.4/commands/ModifyTargetGroupAttributesCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +2 -21
  150. package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +2 -32
  151. package/dist-types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +2 -21
  152. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -22
  153. package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +2 -21
  154. package/dist-types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +2 -22
  155. package/dist-types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +2 -23
  156. package/dist-types/ts3.4/commands/SetSubnetsCommand.d.ts +2 -25
  157. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  158. package/dist-types/ts3.4/index.d.ts +5 -45
  159. package/dist-types/ts3.4/models/models_0.d.ts +238 -3056
  160. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  161. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -4
  162. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  163. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  164. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  165. package/dist-types/ts3.4/waiters/index.d.ts +5 -0
  166. package/dist-types/ts3.4/waiters/waitForLoadBalancerAvailable.d.ts +2 -9
  167. package/dist-types/ts3.4/waiters/waitForLoadBalancerExists.d.ts +2 -9
  168. package/dist-types/ts3.4/waiters/waitForLoadBalancersDeleted.d.ts +2 -9
  169. package/dist-types/ts3.4/waiters/waitForTargetDeregistered.d.ts +2 -9
  170. package/dist-types/ts3.4/waiters/waitForTargetInService.d.ts +2 -9
  171. package/dist-types/waiters/index.d.ts +5 -0
  172. package/package.json +34 -31
  173. package/dist-cjs/ElasticLoadBalancingV2.js.map +0 -1
  174. package/dist-cjs/ElasticLoadBalancingV2Client.js.map +0 -1
  175. package/dist-cjs/commands/AddListenerCertificatesCommand.js.map +0 -1
  176. package/dist-cjs/commands/AddTagsCommand.js.map +0 -1
  177. package/dist-cjs/commands/CreateListenerCommand.js.map +0 -1
  178. package/dist-cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
  179. package/dist-cjs/commands/CreateRuleCommand.js.map +0 -1
  180. package/dist-cjs/commands/CreateTargetGroupCommand.js.map +0 -1
  181. package/dist-cjs/commands/DeleteListenerCommand.js.map +0 -1
  182. package/dist-cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
  183. package/dist-cjs/commands/DeleteRuleCommand.js.map +0 -1
  184. package/dist-cjs/commands/DeleteTargetGroupCommand.js.map +0 -1
  185. package/dist-cjs/commands/DeregisterTargetsCommand.js.map +0 -1
  186. package/dist-cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
  187. package/dist-cjs/commands/DescribeListenerCertificatesCommand.js.map +0 -1
  188. package/dist-cjs/commands/DescribeListenersCommand.js.map +0 -1
  189. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  190. package/dist-cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
  191. package/dist-cjs/commands/DescribeRulesCommand.js.map +0 -1
  192. package/dist-cjs/commands/DescribeSSLPoliciesCommand.js.map +0 -1
  193. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  194. package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js.map +0 -1
  195. package/dist-cjs/commands/DescribeTargetGroupsCommand.js.map +0 -1
  196. package/dist-cjs/commands/DescribeTargetHealthCommand.js.map +0 -1
  197. package/dist-cjs/commands/ModifyListenerCommand.js.map +0 -1
  198. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  199. package/dist-cjs/commands/ModifyRuleCommand.js.map +0 -1
  200. package/dist-cjs/commands/ModifyTargetGroupAttributesCommand.js.map +0 -1
  201. package/dist-cjs/commands/ModifyTargetGroupCommand.js.map +0 -1
  202. package/dist-cjs/commands/RegisterTargetsCommand.js.map +0 -1
  203. package/dist-cjs/commands/RemoveListenerCertificatesCommand.js.map +0 -1
  204. package/dist-cjs/commands/RemoveTagsCommand.js.map +0 -1
  205. package/dist-cjs/commands/SetIpAddressTypeCommand.js.map +0 -1
  206. package/dist-cjs/commands/SetRulePrioritiesCommand.js.map +0 -1
  207. package/dist-cjs/commands/SetSecurityGroupsCommand.js.map +0 -1
  208. package/dist-cjs/commands/SetSubnetsCommand.js.map +0 -1
  209. package/dist-cjs/endpoints.js.map +0 -1
  210. package/dist-cjs/index.js.map +0 -1
  211. package/dist-cjs/models/index.js.map +0 -1
  212. package/dist-cjs/models/models_0.js.map +0 -1
  213. package/dist-cjs/pagination/DescribeListenersPaginator.js.map +0 -1
  214. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  215. package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js.map +0 -1
  216. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  217. package/dist-cjs/protocols/Aws_query.js.map +0 -1
  218. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  219. package/dist-cjs/runtimeConfig.js.map +0 -1
  220. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  221. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  222. package/dist-cjs/waiters/waitForLoadBalancerAvailable.js.map +0 -1
  223. package/dist-cjs/waiters/waitForLoadBalancerExists.js.map +0 -1
  224. package/dist-cjs/waiters/waitForLoadBalancersDeleted.js.map +0 -1
  225. package/dist-cjs/waiters/waitForTargetDeregistered.js.map +0 -1
  226. package/dist-cjs/waiters/waitForTargetInService.js.map +0 -1
  227. package/dist-es/ElasticLoadBalancingV2.js.map +0 -1
  228. package/dist-es/ElasticLoadBalancingV2Client.js.map +0 -1
  229. package/dist-es/commands/AddListenerCertificatesCommand.js.map +0 -1
  230. package/dist-es/commands/AddTagsCommand.js.map +0 -1
  231. package/dist-es/commands/CreateListenerCommand.js.map +0 -1
  232. package/dist-es/commands/CreateLoadBalancerCommand.js.map +0 -1
  233. package/dist-es/commands/CreateRuleCommand.js.map +0 -1
  234. package/dist-es/commands/CreateTargetGroupCommand.js.map +0 -1
  235. package/dist-es/commands/DeleteListenerCommand.js.map +0 -1
  236. package/dist-es/commands/DeleteLoadBalancerCommand.js.map +0 -1
  237. package/dist-es/commands/DeleteRuleCommand.js.map +0 -1
  238. package/dist-es/commands/DeleteTargetGroupCommand.js.map +0 -1
  239. package/dist-es/commands/DeregisterTargetsCommand.js.map +0 -1
  240. package/dist-es/commands/DescribeAccountLimitsCommand.js.map +0 -1
  241. package/dist-es/commands/DescribeListenerCertificatesCommand.js.map +0 -1
  242. package/dist-es/commands/DescribeListenersCommand.js.map +0 -1
  243. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  244. package/dist-es/commands/DescribeLoadBalancersCommand.js.map +0 -1
  245. package/dist-es/commands/DescribeRulesCommand.js.map +0 -1
  246. package/dist-es/commands/DescribeSSLPoliciesCommand.js.map +0 -1
  247. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  248. package/dist-es/commands/DescribeTargetGroupAttributesCommand.js.map +0 -1
  249. package/dist-es/commands/DescribeTargetGroupsCommand.js.map +0 -1
  250. package/dist-es/commands/DescribeTargetHealthCommand.js.map +0 -1
  251. package/dist-es/commands/ModifyListenerCommand.js.map +0 -1
  252. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  253. package/dist-es/commands/ModifyRuleCommand.js.map +0 -1
  254. package/dist-es/commands/ModifyTargetGroupAttributesCommand.js.map +0 -1
  255. package/dist-es/commands/ModifyTargetGroupCommand.js.map +0 -1
  256. package/dist-es/commands/RegisterTargetsCommand.js.map +0 -1
  257. package/dist-es/commands/RemoveListenerCertificatesCommand.js.map +0 -1
  258. package/dist-es/commands/RemoveTagsCommand.js.map +0 -1
  259. package/dist-es/commands/SetIpAddressTypeCommand.js.map +0 -1
  260. package/dist-es/commands/SetRulePrioritiesCommand.js.map +0 -1
  261. package/dist-es/commands/SetSecurityGroupsCommand.js.map +0 -1
  262. package/dist-es/commands/SetSubnetsCommand.js.map +0 -1
  263. package/dist-es/endpoints.js.map +0 -1
  264. package/dist-es/index.js.map +0 -1
  265. package/dist-es/models/index.js.map +0 -1
  266. package/dist-es/models/models_0.js.map +0 -1
  267. package/dist-es/pagination/DescribeListenersPaginator.js.map +0 -1
  268. package/dist-es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  269. package/dist-es/pagination/DescribeTargetGroupsPaginator.js.map +0 -1
  270. package/dist-es/pagination/Interfaces.js.map +0 -1
  271. package/dist-es/protocols/Aws_query.js.map +0 -1
  272. package/dist-es/runtimeConfig.browser.js.map +0 -1
  273. package/dist-es/runtimeConfig.js.map +0 -1
  274. package/dist-es/runtimeConfig.native.js.map +0 -1
  275. package/dist-es/runtimeConfig.shared.js.map +0 -1
  276. package/dist-es/waiters/waitForLoadBalancerAvailable.js.map +0 -1
  277. package/dist-es/waiters/waitForLoadBalancerExists.js.map +0 -1
  278. package/dist-es/waiters/waitForLoadBalancersDeleted.js.map +0 -1
  279. package/dist-es/waiters/waitForTargetDeregistered.js.map +0 -1
  280. package/dist-es/waiters/waitForTargetInService.js.map +0 -1
  281. package/jest.config.js +0 -4
  282. package/src/ElasticLoadBalancingV2.ts +0 -1476
  283. package/src/ElasticLoadBalancingV2Client.ts +0 -412
  284. package/src/commands/AddListenerCertificatesCommand.ts +0 -106
  285. package/src/commands/AddTagsCommand.ts +0 -100
  286. package/src/commands/CreateListenerCommand.ts +0 -126
  287. package/src/commands/CreateLoadBalancerCommand.ts +0 -126
  288. package/src/commands/CreateRuleCommand.ts +0 -101
  289. package/src/commands/CreateTargetGroupCommand.ts +0 -126
  290. package/src/commands/DeleteListenerCommand.ts +0 -101
  291. package/src/commands/DeleteLoadBalancerCommand.ts +0 -105
  292. package/src/commands/DeleteRuleCommand.ts +0 -97
  293. package/src/commands/DeleteTargetGroupCommand.ts +0 -103
  294. package/src/commands/DeregisterTargetsCommand.ts +0 -100
  295. package/src/commands/DescribeAccountLimitsCommand.ts +0 -121
  296. package/src/commands/DescribeListenerCertificatesCommand.ts +0 -111
  297. package/src/commands/DescribeListenersCommand.ts +0 -101
  298. package/src/commands/DescribeLoadBalancerAttributesCommand.ts +0 -130
  299. package/src/commands/DescribeLoadBalancersCommand.ts +0 -99
  300. package/src/commands/DescribeRulesCommand.ts +0 -100
  301. package/src/commands/DescribeSSLPoliciesCommand.ts +0 -101
  302. package/src/commands/DescribeTagsCommand.ts +0 -98
  303. package/src/commands/DescribeTargetGroupAttributesCommand.ts +0 -125
  304. package/src/commands/DescribeTargetGroupsCommand.ts +0 -102
  305. package/src/commands/DescribeTargetHealthCommand.ts +0 -99
  306. package/src/commands/ModifyListenerCommand.ts +0 -106
  307. package/src/commands/ModifyLoadBalancerAttributesCommand.ts +0 -107
  308. package/src/commands/ModifyRuleCommand.ts +0 -100
  309. package/src/commands/ModifyTargetGroupAttributesCommand.ts +0 -102
  310. package/src/commands/ModifyTargetGroupCommand.ts +0 -100
  311. package/src/commands/RegisterTargetsCommand.ts +0 -111
  312. package/src/commands/RemoveListenerCertificatesCommand.ts +0 -103
  313. package/src/commands/RemoveTagsCommand.ts +0 -98
  314. package/src/commands/SetIpAddressTypeCommand.ts +0 -100
  315. package/src/commands/SetRulePrioritiesCommand.ts +0 -101
  316. package/src/commands/SetSecurityGroupsCommand.ts +0 -102
  317. package/src/commands/SetSubnetsCommand.ts +0 -101
  318. package/src/endpoints.ts +0 -86
  319. package/src/index.ts +0 -46
  320. package/src/models/index.ts +0 -1
  321. package/src/models/models_0.ts +0 -4397
  322. package/src/pagination/DescribeListenersPaginator.ts +0 -58
  323. package/src/pagination/DescribeLoadBalancersPaginator.ts +0 -58
  324. package/src/pagination/DescribeTargetGroupsPaginator.ts +0 -58
  325. package/src/pagination/Interfaces.ts +0 -8
  326. package/src/protocols/Aws_query.ts +0 -7922
  327. package/src/runtimeConfig.browser.ts +0 -41
  328. package/src/runtimeConfig.native.ts +0 -17
  329. package/src/runtimeConfig.shared.ts +0 -17
  330. package/src/runtimeConfig.ts +0 -46
  331. package/src/waiters/waitForLoadBalancerAvailable.ts +0 -78
  332. package/src/waiters/waitForLoadBalancerExists.ts +0 -49
  333. package/src/waiters/waitForLoadBalancersDeleted.ts +0 -64
  334. package/src/waiters/waitForTargetDeregistered.ts +0 -61
  335. package/src/waiters/waitForTargetInService.ts +0 -61
  336. package/tsconfig.es.json +0 -10
  337. package/tsconfig.json +0 -33
  338. package/tsconfig.types.json +0 -9
@@ -1,1476 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import {
4
- AddListenerCertificatesCommand,
5
- AddListenerCertificatesCommandInput,
6
- AddListenerCertificatesCommandOutput,
7
- } from "./commands/AddListenerCertificatesCommand";
8
- import { AddTagsCommand, AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
9
- import {
10
- CreateListenerCommand,
11
- CreateListenerCommandInput,
12
- CreateListenerCommandOutput,
13
- } from "./commands/CreateListenerCommand";
14
- import {
15
- CreateLoadBalancerCommand,
16
- CreateLoadBalancerCommandInput,
17
- CreateLoadBalancerCommandOutput,
18
- } from "./commands/CreateLoadBalancerCommand";
19
- import { CreateRuleCommand, CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
20
- import {
21
- CreateTargetGroupCommand,
22
- CreateTargetGroupCommandInput,
23
- CreateTargetGroupCommandOutput,
24
- } from "./commands/CreateTargetGroupCommand";
25
- import {
26
- DeleteListenerCommand,
27
- DeleteListenerCommandInput,
28
- DeleteListenerCommandOutput,
29
- } from "./commands/DeleteListenerCommand";
30
- import {
31
- DeleteLoadBalancerCommand,
32
- DeleteLoadBalancerCommandInput,
33
- DeleteLoadBalancerCommandOutput,
34
- } from "./commands/DeleteLoadBalancerCommand";
35
- import { DeleteRuleCommand, DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
36
- import {
37
- DeleteTargetGroupCommand,
38
- DeleteTargetGroupCommandInput,
39
- DeleteTargetGroupCommandOutput,
40
- } from "./commands/DeleteTargetGroupCommand";
41
- import {
42
- DeregisterTargetsCommand,
43
- DeregisterTargetsCommandInput,
44
- DeregisterTargetsCommandOutput,
45
- } from "./commands/DeregisterTargetsCommand";
46
- import {
47
- DescribeAccountLimitsCommand,
48
- DescribeAccountLimitsCommandInput,
49
- DescribeAccountLimitsCommandOutput,
50
- } from "./commands/DescribeAccountLimitsCommand";
51
- import {
52
- DescribeListenerCertificatesCommand,
53
- DescribeListenerCertificatesCommandInput,
54
- DescribeListenerCertificatesCommandOutput,
55
- } from "./commands/DescribeListenerCertificatesCommand";
56
- import {
57
- DescribeListenersCommand,
58
- DescribeListenersCommandInput,
59
- DescribeListenersCommandOutput,
60
- } from "./commands/DescribeListenersCommand";
61
- import {
62
- DescribeLoadBalancerAttributesCommand,
63
- DescribeLoadBalancerAttributesCommandInput,
64
- DescribeLoadBalancerAttributesCommandOutput,
65
- } from "./commands/DescribeLoadBalancerAttributesCommand";
66
- import {
67
- DescribeLoadBalancersCommand,
68
- DescribeLoadBalancersCommandInput,
69
- DescribeLoadBalancersCommandOutput,
70
- } from "./commands/DescribeLoadBalancersCommand";
71
- import {
72
- DescribeRulesCommand,
73
- DescribeRulesCommandInput,
74
- DescribeRulesCommandOutput,
75
- } from "./commands/DescribeRulesCommand";
76
- import {
77
- DescribeSSLPoliciesCommand,
78
- DescribeSSLPoliciesCommandInput,
79
- DescribeSSLPoliciesCommandOutput,
80
- } from "./commands/DescribeSSLPoliciesCommand";
81
- import {
82
- DescribeTagsCommand,
83
- DescribeTagsCommandInput,
84
- DescribeTagsCommandOutput,
85
- } from "./commands/DescribeTagsCommand";
86
- import {
87
- DescribeTargetGroupAttributesCommand,
88
- DescribeTargetGroupAttributesCommandInput,
89
- DescribeTargetGroupAttributesCommandOutput,
90
- } from "./commands/DescribeTargetGroupAttributesCommand";
91
- import {
92
- DescribeTargetGroupsCommand,
93
- DescribeTargetGroupsCommandInput,
94
- DescribeTargetGroupsCommandOutput,
95
- } from "./commands/DescribeTargetGroupsCommand";
96
- import {
97
- DescribeTargetHealthCommand,
98
- DescribeTargetHealthCommandInput,
99
- DescribeTargetHealthCommandOutput,
100
- } from "./commands/DescribeTargetHealthCommand";
101
- import {
102
- ModifyListenerCommand,
103
- ModifyListenerCommandInput,
104
- ModifyListenerCommandOutput,
105
- } from "./commands/ModifyListenerCommand";
106
- import {
107
- ModifyLoadBalancerAttributesCommand,
108
- ModifyLoadBalancerAttributesCommandInput,
109
- ModifyLoadBalancerAttributesCommandOutput,
110
- } from "./commands/ModifyLoadBalancerAttributesCommand";
111
- import { ModifyRuleCommand, ModifyRuleCommandInput, ModifyRuleCommandOutput } from "./commands/ModifyRuleCommand";
112
- import {
113
- ModifyTargetGroupAttributesCommand,
114
- ModifyTargetGroupAttributesCommandInput,
115
- ModifyTargetGroupAttributesCommandOutput,
116
- } from "./commands/ModifyTargetGroupAttributesCommand";
117
- import {
118
- ModifyTargetGroupCommand,
119
- ModifyTargetGroupCommandInput,
120
- ModifyTargetGroupCommandOutput,
121
- } from "./commands/ModifyTargetGroupCommand";
122
- import {
123
- RegisterTargetsCommand,
124
- RegisterTargetsCommandInput,
125
- RegisterTargetsCommandOutput,
126
- } from "./commands/RegisterTargetsCommand";
127
- import {
128
- RemoveListenerCertificatesCommand,
129
- RemoveListenerCertificatesCommandInput,
130
- RemoveListenerCertificatesCommandOutput,
131
- } from "./commands/RemoveListenerCertificatesCommand";
132
- import { RemoveTagsCommand, RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
133
- import {
134
- SetIpAddressTypeCommand,
135
- SetIpAddressTypeCommandInput,
136
- SetIpAddressTypeCommandOutput,
137
- } from "./commands/SetIpAddressTypeCommand";
138
- import {
139
- SetRulePrioritiesCommand,
140
- SetRulePrioritiesCommandInput,
141
- SetRulePrioritiesCommandOutput,
142
- } from "./commands/SetRulePrioritiesCommand";
143
- import {
144
- SetSecurityGroupsCommand,
145
- SetSecurityGroupsCommandInput,
146
- SetSecurityGroupsCommandOutput,
147
- } from "./commands/SetSecurityGroupsCommand";
148
- import { SetSubnetsCommand, SetSubnetsCommandInput, SetSubnetsCommandOutput } from "./commands/SetSubnetsCommand";
149
- import { ElasticLoadBalancingV2Client } from "./ElasticLoadBalancingV2Client";
150
-
151
- /**
152
- * <fullname>Elastic Load Balancing</fullname>
153
- *
154
- * <p>A load balancer distributes incoming traffic across targets, such as your EC2 instances.
155
- * This enables you to increase the availability of your application. The load balancer also
156
- * monitors the health of its registered targets and ensures that it routes traffic only to
157
- * healthy targets. You configure your load balancer to accept incoming traffic by specifying one
158
- * or more listeners, which are configured with a protocol and port number for connections from
159
- * clients to the load balancer. You configure a target group with a protocol and port number for
160
- * connections from the load balancer to the targets, and with health check settings to be used
161
- * when checking the health status of the targets.</p>
162
- *
163
- * <p>Elastic Load Balancing supports the following types of load balancers: Application Load
164
- * Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This
165
- * reference covers the following load balancer types:</p>
166
- * <ul>
167
- * <li>
168
- * <p>Application Load Balancer - Operates at the application layer (layer 7) and supports
169
- * HTTP and HTTPS.</p>
170
- * </li>
171
- * <li>
172
- * <p>Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP,
173
- * TLS, and UDP.</p>
174
- * </li>
175
- * <li>
176
- * <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
177
- * </li>
178
- * </ul>
179
- *
180
- * <p>For more information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User
181
- * Guide</a>.</p>
182
- *
183
- *
184
- *
185
- *
186
- *
187
- *
188
- *
189
- * <p>All Elastic Load Balancing operations are idempotent, which means that they complete at
190
- * most one time. If you repeat an operation, it succeeds.</p>
191
- */
192
- export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client {
193
- /**
194
- * <p>Adds the specified SSL server certificate to the certificate list for the specified HTTPS
195
- * or TLS listener.</p>
196
- * <p>If the certificate in already in the certificate list, the call is successful but the
197
- * certificate is not added again.</p>
198
- *
199
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html">HTTPS
200
- * listeners</a> in the <i>Application Load Balancers Guide</i> or <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html">TLS
201
- * listeners</a> in the <i>Network Load Balancers Guide</i>.</p>
202
- */
203
- public addListenerCertificates(
204
- args: AddListenerCertificatesCommandInput,
205
- options?: __HttpHandlerOptions
206
- ): Promise<AddListenerCertificatesCommandOutput>;
207
- public addListenerCertificates(
208
- args: AddListenerCertificatesCommandInput,
209
- cb: (err: any, data?: AddListenerCertificatesCommandOutput) => void
210
- ): void;
211
- public addListenerCertificates(
212
- args: AddListenerCertificatesCommandInput,
213
- options: __HttpHandlerOptions,
214
- cb: (err: any, data?: AddListenerCertificatesCommandOutput) => void
215
- ): void;
216
- public addListenerCertificates(
217
- args: AddListenerCertificatesCommandInput,
218
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddListenerCertificatesCommandOutput) => void),
219
- cb?: (err: any, data?: AddListenerCertificatesCommandOutput) => void
220
- ): Promise<AddListenerCertificatesCommandOutput> | void {
221
- const command = new AddListenerCertificatesCommand(args);
222
- if (typeof optionsOrCb === "function") {
223
- this.send(command, optionsOrCb);
224
- } else if (typeof cb === "function") {
225
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
226
- this.send(command, optionsOrCb || {}, cb);
227
- } else {
228
- return this.send(command, optionsOrCb);
229
- }
230
- }
231
-
232
- /**
233
- * <p>Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your
234
- * Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups,
235
- * listeners, and rules.</p>
236
- * <p>Each tag consists of a key and an optional value. If a resource already has a tag with the
237
- * same key, <code>AddTags</code> updates its value.</p>
238
- */
239
- public addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsCommandOutput>;
240
- public addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
241
- public addTags(
242
- args: AddTagsCommandInput,
243
- options: __HttpHandlerOptions,
244
- cb: (err: any, data?: AddTagsCommandOutput) => void
245
- ): void;
246
- public addTags(
247
- args: AddTagsCommandInput,
248
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsCommandOutput) => void),
249
- cb?: (err: any, data?: AddTagsCommandOutput) => void
250
- ): Promise<AddTagsCommandOutput> | void {
251
- const command = new AddTagsCommand(args);
252
- if (typeof optionsOrCb === "function") {
253
- this.send(command, optionsOrCb);
254
- } else if (typeof cb === "function") {
255
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
256
- this.send(command, optionsOrCb || {}, cb);
257
- } else {
258
- return this.send(command, optionsOrCb);
259
- }
260
- }
261
-
262
- /**
263
- * <p>Creates a listener for the specified Application Load Balancer, Network Load Balancer, or
264
- * Gateway Load Balancer.</p>
265
- *
266
- *
267
- * <p>For more information, see the following:</p>
268
- * <ul>
269
- * <li>
270
- * <p>
271
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html">Listeners for
272
- * your Application Load Balancers</a>
273
- * </p>
274
- * </li>
275
- * <li>
276
- * <p>
277
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html">Listeners for
278
- * your Network Load Balancers</a>
279
- * </p>
280
- * </li>
281
- * <li>
282
- * <p>
283
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-listeners.html">Listeners for your
284
- * Gateway Load Balancers</a>
285
- * </p>
286
- * </li>
287
- * </ul>
288
- *
289
- * <p>This operation is idempotent, which means that it completes at most one time. If you
290
- * attempt to create multiple listeners with the same settings, each call succeeds.</p>
291
- */
292
- public createListener(
293
- args: CreateListenerCommandInput,
294
- options?: __HttpHandlerOptions
295
- ): Promise<CreateListenerCommandOutput>;
296
- public createListener(
297
- args: CreateListenerCommandInput,
298
- cb: (err: any, data?: CreateListenerCommandOutput) => void
299
- ): void;
300
- public createListener(
301
- args: CreateListenerCommandInput,
302
- options: __HttpHandlerOptions,
303
- cb: (err: any, data?: CreateListenerCommandOutput) => void
304
- ): void;
305
- public createListener(
306
- args: CreateListenerCommandInput,
307
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateListenerCommandOutput) => void),
308
- cb?: (err: any, data?: CreateListenerCommandOutput) => void
309
- ): Promise<CreateListenerCommandOutput> | void {
310
- const command = new CreateListenerCommand(args);
311
- if (typeof optionsOrCb === "function") {
312
- this.send(command, optionsOrCb);
313
- } else if (typeof cb === "function") {
314
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
315
- this.send(command, optionsOrCb || {}, cb);
316
- } else {
317
- return this.send(command, optionsOrCb);
318
- }
319
- }
320
-
321
- /**
322
- * <p>Creates an Application Load Balancer, Network Load Balancer, or Gateway Load
323
- * Balancer.</p>
324
- *
325
- *
326
- *
327
- * <p>For more information, see the following:</p>
328
- * <ul>
329
- * <li>
330
- * <p>
331
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html">Application Load Balancers</a>
332
- * </p>
333
- * </li>
334
- * <li>
335
- * <p>
336
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html">Network Load
337
- * Balancers</a>
338
- * </p>
339
- * </li>
340
- * <li>
341
- * <p>
342
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html">Gateway Load
343
- * Balancers</a>
344
- * </p>
345
- * </li>
346
- * </ul>
347
- *
348
- * <p>This operation is idempotent, which means that it completes at most one time. If you
349
- * attempt to create multiple load balancers with the same settings, each call succeeds.</p>
350
- */
351
- public createLoadBalancer(
352
- args: CreateLoadBalancerCommandInput,
353
- options?: __HttpHandlerOptions
354
- ): Promise<CreateLoadBalancerCommandOutput>;
355
- public createLoadBalancer(
356
- args: CreateLoadBalancerCommandInput,
357
- cb: (err: any, data?: CreateLoadBalancerCommandOutput) => void
358
- ): void;
359
- public createLoadBalancer(
360
- args: CreateLoadBalancerCommandInput,
361
- options: __HttpHandlerOptions,
362
- cb: (err: any, data?: CreateLoadBalancerCommandOutput) => void
363
- ): void;
364
- public createLoadBalancer(
365
- args: CreateLoadBalancerCommandInput,
366
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLoadBalancerCommandOutput) => void),
367
- cb?: (err: any, data?: CreateLoadBalancerCommandOutput) => void
368
- ): Promise<CreateLoadBalancerCommandOutput> | void {
369
- const command = new CreateLoadBalancerCommand(args);
370
- if (typeof optionsOrCb === "function") {
371
- this.send(command, optionsOrCb);
372
- } else if (typeof cb === "function") {
373
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
374
- this.send(command, optionsOrCb || {}, cb);
375
- } else {
376
- return this.send(command, optionsOrCb);
377
- }
378
- }
379
-
380
- /**
381
- * <p>Creates a rule for the specified listener. The listener must be associated with an
382
- * Application Load Balancer.</p>
383
- * <p>Each rule consists of a priority, one or more actions, and one or more conditions. Rules
384
- * are evaluated in priority order, from the lowest value to the highest value. When the
385
- * conditions for a rule are met, its actions are performed. If the conditions for no rules are
386
- * met, the actions for the default rule are performed. For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules">Listener rules</a> in the <i>Application Load Balancers Guide</i>.</p>
387
- */
388
- public createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
389
- public createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
390
- public createRule(
391
- args: CreateRuleCommandInput,
392
- options: __HttpHandlerOptions,
393
- cb: (err: any, data?: CreateRuleCommandOutput) => void
394
- ): void;
395
- public createRule(
396
- args: CreateRuleCommandInput,
397
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRuleCommandOutput) => void),
398
- cb?: (err: any, data?: CreateRuleCommandOutput) => void
399
- ): Promise<CreateRuleCommandOutput> | void {
400
- const command = new CreateRuleCommand(args);
401
- if (typeof optionsOrCb === "function") {
402
- this.send(command, optionsOrCb);
403
- } else if (typeof cb === "function") {
404
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
405
- this.send(command, optionsOrCb || {}, cb);
406
- } else {
407
- return this.send(command, optionsOrCb);
408
- }
409
- }
410
-
411
- /**
412
- * <p>Creates a target group.</p>
413
- *
414
- *
415
- *
416
- * <p>For more information, see the following:</p>
417
- * <ul>
418
- * <li>
419
- * <p>
420
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html">Target
421
- * groups for your Application Load Balancers</a>
422
- * </p>
423
- * </li>
424
- * <li>
425
- * <p>
426
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html">Target groups
427
- * for your Network Load Balancers</a>
428
- * </p>
429
- * </li>
430
- * <li>
431
- * <p>
432
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html">Target groups for your
433
- * Gateway Load Balancers</a>
434
- * </p>
435
- * </li>
436
- * </ul>
437
- *
438
- * <p>This operation is idempotent, which means that it completes at most one time. If you
439
- * attempt to create multiple target groups with the same settings, each call succeeds.</p>
440
- */
441
- public createTargetGroup(
442
- args: CreateTargetGroupCommandInput,
443
- options?: __HttpHandlerOptions
444
- ): Promise<CreateTargetGroupCommandOutput>;
445
- public createTargetGroup(
446
- args: CreateTargetGroupCommandInput,
447
- cb: (err: any, data?: CreateTargetGroupCommandOutput) => void
448
- ): void;
449
- public createTargetGroup(
450
- args: CreateTargetGroupCommandInput,
451
- options: __HttpHandlerOptions,
452
- cb: (err: any, data?: CreateTargetGroupCommandOutput) => void
453
- ): void;
454
- public createTargetGroup(
455
- args: CreateTargetGroupCommandInput,
456
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTargetGroupCommandOutput) => void),
457
- cb?: (err: any, data?: CreateTargetGroupCommandOutput) => void
458
- ): Promise<CreateTargetGroupCommandOutput> | void {
459
- const command = new CreateTargetGroupCommand(args);
460
- if (typeof optionsOrCb === "function") {
461
- this.send(command, optionsOrCb);
462
- } else if (typeof cb === "function") {
463
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
464
- this.send(command, optionsOrCb || {}, cb);
465
- } else {
466
- return this.send(command, optionsOrCb);
467
- }
468
- }
469
-
470
- /**
471
- * <p>Deletes the specified listener.</p>
472
- * <p>Alternatively, your listener is deleted when you delete the load balancer to which it is
473
- * attached.</p>
474
- */
475
- public deleteListener(
476
- args: DeleteListenerCommandInput,
477
- options?: __HttpHandlerOptions
478
- ): Promise<DeleteListenerCommandOutput>;
479
- public deleteListener(
480
- args: DeleteListenerCommandInput,
481
- cb: (err: any, data?: DeleteListenerCommandOutput) => void
482
- ): void;
483
- public deleteListener(
484
- args: DeleteListenerCommandInput,
485
- options: __HttpHandlerOptions,
486
- cb: (err: any, data?: DeleteListenerCommandOutput) => void
487
- ): void;
488
- public deleteListener(
489
- args: DeleteListenerCommandInput,
490
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteListenerCommandOutput) => void),
491
- cb?: (err: any, data?: DeleteListenerCommandOutput) => void
492
- ): Promise<DeleteListenerCommandOutput> | void {
493
- const command = new DeleteListenerCommand(args);
494
- if (typeof optionsOrCb === "function") {
495
- this.send(command, optionsOrCb);
496
- } else if (typeof cb === "function") {
497
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
498
- this.send(command, optionsOrCb || {}, cb);
499
- } else {
500
- return this.send(command, optionsOrCb);
501
- }
502
- }
503
-
504
- /**
505
- * <p>Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load
506
- * Balancer. Deleting a load balancer also deletes its listeners.</p>
507
- * <p>You can't delete a load balancer if deletion protection is enabled. If the load balancer
508
- * does not exist or has already been deleted, the call succeeds.</p>
509
- * <p>Deleting a load balancer does not affect its registered targets. For example, your EC2
510
- * instances continue to run and are still registered to their target groups. If you no longer
511
- * need these EC2 instances, you can stop or terminate them.</p>
512
- */
513
- public deleteLoadBalancer(
514
- args: DeleteLoadBalancerCommandInput,
515
- options?: __HttpHandlerOptions
516
- ): Promise<DeleteLoadBalancerCommandOutput>;
517
- public deleteLoadBalancer(
518
- args: DeleteLoadBalancerCommandInput,
519
- cb: (err: any, data?: DeleteLoadBalancerCommandOutput) => void
520
- ): void;
521
- public deleteLoadBalancer(
522
- args: DeleteLoadBalancerCommandInput,
523
- options: __HttpHandlerOptions,
524
- cb: (err: any, data?: DeleteLoadBalancerCommandOutput) => void
525
- ): void;
526
- public deleteLoadBalancer(
527
- args: DeleteLoadBalancerCommandInput,
528
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLoadBalancerCommandOutput) => void),
529
- cb?: (err: any, data?: DeleteLoadBalancerCommandOutput) => void
530
- ): Promise<DeleteLoadBalancerCommandOutput> | void {
531
- const command = new DeleteLoadBalancerCommand(args);
532
- if (typeof optionsOrCb === "function") {
533
- this.send(command, optionsOrCb);
534
- } else if (typeof cb === "function") {
535
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
536
- this.send(command, optionsOrCb || {}, cb);
537
- } else {
538
- return this.send(command, optionsOrCb);
539
- }
540
- }
541
-
542
- /**
543
- * <p>Deletes the specified rule.</p>
544
- * <p>You can't delete the default rule.</p>
545
- */
546
- public deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
547
- public deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
548
- public deleteRule(
549
- args: DeleteRuleCommandInput,
550
- options: __HttpHandlerOptions,
551
- cb: (err: any, data?: DeleteRuleCommandOutput) => void
552
- ): void;
553
- public deleteRule(
554
- args: DeleteRuleCommandInput,
555
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRuleCommandOutput) => void),
556
- cb?: (err: any, data?: DeleteRuleCommandOutput) => void
557
- ): Promise<DeleteRuleCommandOutput> | void {
558
- const command = new DeleteRuleCommand(args);
559
- if (typeof optionsOrCb === "function") {
560
- this.send(command, optionsOrCb);
561
- } else if (typeof cb === "function") {
562
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
563
- this.send(command, optionsOrCb || {}, cb);
564
- } else {
565
- return this.send(command, optionsOrCb);
566
- }
567
- }
568
-
569
- /**
570
- * <p>Deletes the specified target group.</p>
571
- * <p>You can delete a target group if it is not referenced by any actions. Deleting a target
572
- * group also deletes any associated health checks. Deleting a target group does not affect its
573
- * registered targets. For example, any EC2 instances continue to run until you stop or terminate
574
- * them.</p>
575
- */
576
- public deleteTargetGroup(
577
- args: DeleteTargetGroupCommandInput,
578
- options?: __HttpHandlerOptions
579
- ): Promise<DeleteTargetGroupCommandOutput>;
580
- public deleteTargetGroup(
581
- args: DeleteTargetGroupCommandInput,
582
- cb: (err: any, data?: DeleteTargetGroupCommandOutput) => void
583
- ): void;
584
- public deleteTargetGroup(
585
- args: DeleteTargetGroupCommandInput,
586
- options: __HttpHandlerOptions,
587
- cb: (err: any, data?: DeleteTargetGroupCommandOutput) => void
588
- ): void;
589
- public deleteTargetGroup(
590
- args: DeleteTargetGroupCommandInput,
591
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTargetGroupCommandOutput) => void),
592
- cb?: (err: any, data?: DeleteTargetGroupCommandOutput) => void
593
- ): Promise<DeleteTargetGroupCommandOutput> | void {
594
- const command = new DeleteTargetGroupCommand(args);
595
- if (typeof optionsOrCb === "function") {
596
- this.send(command, optionsOrCb);
597
- } else if (typeof cb === "function") {
598
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
599
- this.send(command, optionsOrCb || {}, cb);
600
- } else {
601
- return this.send(command, optionsOrCb);
602
- }
603
- }
604
-
605
- /**
606
- * <p>Deregisters the specified targets from the specified target group. After the targets are
607
- * deregistered, they no longer receive traffic from the load balancer.</p>
608
- */
609
- public deregisterTargets(
610
- args: DeregisterTargetsCommandInput,
611
- options?: __HttpHandlerOptions
612
- ): Promise<DeregisterTargetsCommandOutput>;
613
- public deregisterTargets(
614
- args: DeregisterTargetsCommandInput,
615
- cb: (err: any, data?: DeregisterTargetsCommandOutput) => void
616
- ): void;
617
- public deregisterTargets(
618
- args: DeregisterTargetsCommandInput,
619
- options: __HttpHandlerOptions,
620
- cb: (err: any, data?: DeregisterTargetsCommandOutput) => void
621
- ): void;
622
- public deregisterTargets(
623
- args: DeregisterTargetsCommandInput,
624
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterTargetsCommandOutput) => void),
625
- cb?: (err: any, data?: DeregisterTargetsCommandOutput) => void
626
- ): Promise<DeregisterTargetsCommandOutput> | void {
627
- const command = new DeregisterTargetsCommand(args);
628
- if (typeof optionsOrCb === "function") {
629
- this.send(command, optionsOrCb);
630
- } else if (typeof cb === "function") {
631
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
632
- this.send(command, optionsOrCb || {}, cb);
633
- } else {
634
- return this.send(command, optionsOrCb);
635
- }
636
- }
637
-
638
- /**
639
- * <p>Describes the current Elastic Load Balancing resource limits for your Amazon Web Services
640
- * account.</p>
641
- * <p>For more information, see the following:</p>
642
- * <ul>
643
- * <li>
644
- * <p>
645
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
646
- * Application Load Balancers</a>
647
- * </p>
648
- * </li>
649
- * <li>
650
- * <p>
651
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html">Quotas for your
652
- * Network Load Balancers</a>
653
- * </p>
654
- * </li>
655
- * <li>
656
- * <p>
657
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html">Quotas for your Gateway
658
- * Load Balancers</a>
659
- * </p>
660
- * </li>
661
- * </ul>
662
- */
663
- public describeAccountLimits(
664
- args: DescribeAccountLimitsCommandInput,
665
- options?: __HttpHandlerOptions
666
- ): Promise<DescribeAccountLimitsCommandOutput>;
667
- public describeAccountLimits(
668
- args: DescribeAccountLimitsCommandInput,
669
- cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
670
- ): void;
671
- public describeAccountLimits(
672
- args: DescribeAccountLimitsCommandInput,
673
- options: __HttpHandlerOptions,
674
- cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
675
- ): void;
676
- public describeAccountLimits(
677
- args: DescribeAccountLimitsCommandInput,
678
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountLimitsCommandOutput) => void),
679
- cb?: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
680
- ): Promise<DescribeAccountLimitsCommandOutput> | void {
681
- const command = new DescribeAccountLimitsCommand(args);
682
- if (typeof optionsOrCb === "function") {
683
- this.send(command, optionsOrCb);
684
- } else if (typeof cb === "function") {
685
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
686
- this.send(command, optionsOrCb || {}, cb);
687
- } else {
688
- return this.send(command, optionsOrCb);
689
- }
690
- }
691
-
692
- /**
693
- * <p>Describes the default certificate and the certificate list for the specified HTTPS or TLS
694
- * listener.</p>
695
- * <p>If the default certificate is also in the certificate list, it appears twice in the
696
- * results (once with <code>IsDefault</code> set to true and once with <code>IsDefault</code> set
697
- * to false).</p>
698
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates">SSL certificates</a> in the <i>Application Load Balancers Guide</i> or
699
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#tls-listener-certificate">Server certificates</a> in the <i>Network Load Balancers
700
- * Guide</i>.</p>
701
- */
702
- public describeListenerCertificates(
703
- args: DescribeListenerCertificatesCommandInput,
704
- options?: __HttpHandlerOptions
705
- ): Promise<DescribeListenerCertificatesCommandOutput>;
706
- public describeListenerCertificates(
707
- args: DescribeListenerCertificatesCommandInput,
708
- cb: (err: any, data?: DescribeListenerCertificatesCommandOutput) => void
709
- ): void;
710
- public describeListenerCertificates(
711
- args: DescribeListenerCertificatesCommandInput,
712
- options: __HttpHandlerOptions,
713
- cb: (err: any, data?: DescribeListenerCertificatesCommandOutput) => void
714
- ): void;
715
- public describeListenerCertificates(
716
- args: DescribeListenerCertificatesCommandInput,
717
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeListenerCertificatesCommandOutput) => void),
718
- cb?: (err: any, data?: DescribeListenerCertificatesCommandOutput) => void
719
- ): Promise<DescribeListenerCertificatesCommandOutput> | void {
720
- const command = new DescribeListenerCertificatesCommand(args);
721
- if (typeof optionsOrCb === "function") {
722
- this.send(command, optionsOrCb);
723
- } else if (typeof cb === "function") {
724
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
725
- this.send(command, optionsOrCb || {}, cb);
726
- } else {
727
- return this.send(command, optionsOrCb);
728
- }
729
- }
730
-
731
- /**
732
- * <p>Describes the specified listeners or the listeners for the specified Application Load
733
- * Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load
734
- * balancer or one or more listeners.</p>
735
- */
736
- public describeListeners(
737
- args: DescribeListenersCommandInput,
738
- options?: __HttpHandlerOptions
739
- ): Promise<DescribeListenersCommandOutput>;
740
- public describeListeners(
741
- args: DescribeListenersCommandInput,
742
- cb: (err: any, data?: DescribeListenersCommandOutput) => void
743
- ): void;
744
- public describeListeners(
745
- args: DescribeListenersCommandInput,
746
- options: __HttpHandlerOptions,
747
- cb: (err: any, data?: DescribeListenersCommandOutput) => void
748
- ): void;
749
- public describeListeners(
750
- args: DescribeListenersCommandInput,
751
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeListenersCommandOutput) => void),
752
- cb?: (err: any, data?: DescribeListenersCommandOutput) => void
753
- ): Promise<DescribeListenersCommandOutput> | void {
754
- const command = new DescribeListenersCommand(args);
755
- if (typeof optionsOrCb === "function") {
756
- this.send(command, optionsOrCb);
757
- } else if (typeof cb === "function") {
758
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
759
- this.send(command, optionsOrCb || {}, cb);
760
- } else {
761
- return this.send(command, optionsOrCb);
762
- }
763
- }
764
-
765
- /**
766
- * <p>Describes the attributes for the specified Application Load Balancer, Network Load
767
- * Balancer, or Gateway Load Balancer.</p>
768
- *
769
- * <p>For more information, see the following:</p>
770
- * <ul>
771
- * <li>
772
- * <p>
773
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes">Load balancer attributes</a> in the <i>Application Load Balancers
774
- * Guide</i>
775
- * </p>
776
- * </li>
777
- * <li>
778
- * <p>
779
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes">Load balancer attributes</a> in the <i>Network Load Balancers
780
- * Guide</i>
781
- * </p>
782
- * </li>
783
- * <li>
784
- * <p>
785
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html#load-balancer-attributes">Load balancer attributes</a> in the <i>Gateway Load Balancers
786
- * Guide</i>
787
- * </p>
788
- * </li>
789
- * </ul>
790
- */
791
- public describeLoadBalancerAttributes(
792
- args: DescribeLoadBalancerAttributesCommandInput,
793
- options?: __HttpHandlerOptions
794
- ): Promise<DescribeLoadBalancerAttributesCommandOutput>;
795
- public describeLoadBalancerAttributes(
796
- args: DescribeLoadBalancerAttributesCommandInput,
797
- cb: (err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void
798
- ): void;
799
- public describeLoadBalancerAttributes(
800
- args: DescribeLoadBalancerAttributesCommandInput,
801
- options: __HttpHandlerOptions,
802
- cb: (err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void
803
- ): void;
804
- public describeLoadBalancerAttributes(
805
- args: DescribeLoadBalancerAttributesCommandInput,
806
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void),
807
- cb?: (err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void
808
- ): Promise<DescribeLoadBalancerAttributesCommandOutput> | void {
809
- const command = new DescribeLoadBalancerAttributesCommand(args);
810
- if (typeof optionsOrCb === "function") {
811
- this.send(command, optionsOrCb);
812
- } else if (typeof cb === "function") {
813
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
814
- this.send(command, optionsOrCb || {}, cb);
815
- } else {
816
- return this.send(command, optionsOrCb);
817
- }
818
- }
819
-
820
- /**
821
- * <p>Describes the specified load balancers or all of your load balancers.</p>
822
- */
823
- public describeLoadBalancers(
824
- args: DescribeLoadBalancersCommandInput,
825
- options?: __HttpHandlerOptions
826
- ): Promise<DescribeLoadBalancersCommandOutput>;
827
- public describeLoadBalancers(
828
- args: DescribeLoadBalancersCommandInput,
829
- cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
830
- ): void;
831
- public describeLoadBalancers(
832
- args: DescribeLoadBalancersCommandInput,
833
- options: __HttpHandlerOptions,
834
- cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
835
- ): void;
836
- public describeLoadBalancers(
837
- args: DescribeLoadBalancersCommandInput,
838
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancersCommandOutput) => void),
839
- cb?: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
840
- ): Promise<DescribeLoadBalancersCommandOutput> | void {
841
- const command = new DescribeLoadBalancersCommand(args);
842
- if (typeof optionsOrCb === "function") {
843
- this.send(command, optionsOrCb);
844
- } else if (typeof cb === "function") {
845
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
846
- this.send(command, optionsOrCb || {}, cb);
847
- } else {
848
- return this.send(command, optionsOrCb);
849
- }
850
- }
851
-
852
- /**
853
- * <p>Describes the specified rules or the rules for the specified listener. You must specify
854
- * either a listener or one or more rules.</p>
855
- */
856
- public describeRules(
857
- args: DescribeRulesCommandInput,
858
- options?: __HttpHandlerOptions
859
- ): Promise<DescribeRulesCommandOutput>;
860
- public describeRules(
861
- args: DescribeRulesCommandInput,
862
- cb: (err: any, data?: DescribeRulesCommandOutput) => void
863
- ): void;
864
- public describeRules(
865
- args: DescribeRulesCommandInput,
866
- options: __HttpHandlerOptions,
867
- cb: (err: any, data?: DescribeRulesCommandOutput) => void
868
- ): void;
869
- public describeRules(
870
- args: DescribeRulesCommandInput,
871
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRulesCommandOutput) => void),
872
- cb?: (err: any, data?: DescribeRulesCommandOutput) => void
873
- ): Promise<DescribeRulesCommandOutput> | void {
874
- const command = new DescribeRulesCommand(args);
875
- if (typeof optionsOrCb === "function") {
876
- this.send(command, optionsOrCb);
877
- } else if (typeof cb === "function") {
878
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
879
- this.send(command, optionsOrCb || {}, cb);
880
- } else {
881
- return this.send(command, optionsOrCb);
882
- }
883
- }
884
-
885
- /**
886
- * <p>Describes the specified policies or all policies used for SSL negotiation.</p>
887
- * <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
888
- * <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>
889
- */
890
- public describeSSLPolicies(
891
- args: DescribeSSLPoliciesCommandInput,
892
- options?: __HttpHandlerOptions
893
- ): Promise<DescribeSSLPoliciesCommandOutput>;
894
- public describeSSLPolicies(
895
- args: DescribeSSLPoliciesCommandInput,
896
- cb: (err: any, data?: DescribeSSLPoliciesCommandOutput) => void
897
- ): void;
898
- public describeSSLPolicies(
899
- args: DescribeSSLPoliciesCommandInput,
900
- options: __HttpHandlerOptions,
901
- cb: (err: any, data?: DescribeSSLPoliciesCommandOutput) => void
902
- ): void;
903
- public describeSSLPolicies(
904
- args: DescribeSSLPoliciesCommandInput,
905
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSSLPoliciesCommandOutput) => void),
906
- cb?: (err: any, data?: DescribeSSLPoliciesCommandOutput) => void
907
- ): Promise<DescribeSSLPoliciesCommandOutput> | void {
908
- const command = new DescribeSSLPoliciesCommand(args);
909
- if (typeof optionsOrCb === "function") {
910
- this.send(command, optionsOrCb);
911
- } else if (typeof cb === "function") {
912
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
913
- this.send(command, optionsOrCb || {}, cb);
914
- } else {
915
- return this.send(command, optionsOrCb);
916
- }
917
- }
918
-
919
- /**
920
- * <p>Describes the tags for the specified Elastic Load Balancing resources. You can describe
921
- * the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load
922
- * Balancers, target groups, listeners, or rules.</p>
923
- */
924
- public describeTags(
925
- args: DescribeTagsCommandInput,
926
- options?: __HttpHandlerOptions
927
- ): Promise<DescribeTagsCommandOutput>;
928
- public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
929
- public describeTags(
930
- args: DescribeTagsCommandInput,
931
- options: __HttpHandlerOptions,
932
- cb: (err: any, data?: DescribeTagsCommandOutput) => void
933
- ): void;
934
- public describeTags(
935
- args: DescribeTagsCommandInput,
936
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
937
- cb?: (err: any, data?: DescribeTagsCommandOutput) => void
938
- ): Promise<DescribeTagsCommandOutput> | void {
939
- const command = new DescribeTagsCommand(args);
940
- if (typeof optionsOrCb === "function") {
941
- this.send(command, optionsOrCb);
942
- } else if (typeof cb === "function") {
943
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
944
- this.send(command, optionsOrCb || {}, cb);
945
- } else {
946
- return this.send(command, optionsOrCb);
947
- }
948
- }
949
-
950
- /**
951
- * <p>Describes the attributes for the specified target group.</p>
952
- * <p>For more information, see the following:</p>
953
- * <ul>
954
- * <li>
955
- * <p>
956
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes">Target group attributes</a> in the <i>Application Load Balancers
957
- * Guide</i>
958
- * </p>
959
- * </li>
960
- * <li>
961
- * <p>
962
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes">Target group attributes</a> in the <i>Network Load Balancers
963
- * Guide</i>
964
- * </p>
965
- * </li>
966
- * <li>
967
- * <p>
968
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#target-group-attributes">Target group attributes</a> in the <i>Gateway Load Balancers
969
- * Guide</i>
970
- * </p>
971
- * </li>
972
- * </ul>
973
- */
974
- public describeTargetGroupAttributes(
975
- args: DescribeTargetGroupAttributesCommandInput,
976
- options?: __HttpHandlerOptions
977
- ): Promise<DescribeTargetGroupAttributesCommandOutput>;
978
- public describeTargetGroupAttributes(
979
- args: DescribeTargetGroupAttributesCommandInput,
980
- cb: (err: any, data?: DescribeTargetGroupAttributesCommandOutput) => void
981
- ): void;
982
- public describeTargetGroupAttributes(
983
- args: DescribeTargetGroupAttributesCommandInput,
984
- options: __HttpHandlerOptions,
985
- cb: (err: any, data?: DescribeTargetGroupAttributesCommandOutput) => void
986
- ): void;
987
- public describeTargetGroupAttributes(
988
- args: DescribeTargetGroupAttributesCommandInput,
989
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTargetGroupAttributesCommandOutput) => void),
990
- cb?: (err: any, data?: DescribeTargetGroupAttributesCommandOutput) => void
991
- ): Promise<DescribeTargetGroupAttributesCommandOutput> | void {
992
- const command = new DescribeTargetGroupAttributesCommand(args);
993
- if (typeof optionsOrCb === "function") {
994
- this.send(command, optionsOrCb);
995
- } else if (typeof cb === "function") {
996
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
997
- this.send(command, optionsOrCb || {}, cb);
998
- } else {
999
- return this.send(command, optionsOrCb);
1000
- }
1001
- }
1002
-
1003
- /**
1004
- * <p>Describes the specified target groups or all of your target groups. By default, all target
1005
- * groups are described. Alternatively, you can specify one of the following to filter the
1006
- * results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of
1007
- * one or more target groups.</p>
1008
- */
1009
- public describeTargetGroups(
1010
- args: DescribeTargetGroupsCommandInput,
1011
- options?: __HttpHandlerOptions
1012
- ): Promise<DescribeTargetGroupsCommandOutput>;
1013
- public describeTargetGroups(
1014
- args: DescribeTargetGroupsCommandInput,
1015
- cb: (err: any, data?: DescribeTargetGroupsCommandOutput) => void
1016
- ): void;
1017
- public describeTargetGroups(
1018
- args: DescribeTargetGroupsCommandInput,
1019
- options: __HttpHandlerOptions,
1020
- cb: (err: any, data?: DescribeTargetGroupsCommandOutput) => void
1021
- ): void;
1022
- public describeTargetGroups(
1023
- args: DescribeTargetGroupsCommandInput,
1024
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTargetGroupsCommandOutput) => void),
1025
- cb?: (err: any, data?: DescribeTargetGroupsCommandOutput) => void
1026
- ): Promise<DescribeTargetGroupsCommandOutput> | void {
1027
- const command = new DescribeTargetGroupsCommand(args);
1028
- if (typeof optionsOrCb === "function") {
1029
- this.send(command, optionsOrCb);
1030
- } else if (typeof cb === "function") {
1031
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1032
- this.send(command, optionsOrCb || {}, cb);
1033
- } else {
1034
- return this.send(command, optionsOrCb);
1035
- }
1036
- }
1037
-
1038
- /**
1039
- * <p>Describes the health of the specified targets or all of your targets.</p>
1040
- */
1041
- public describeTargetHealth(
1042
- args: DescribeTargetHealthCommandInput,
1043
- options?: __HttpHandlerOptions
1044
- ): Promise<DescribeTargetHealthCommandOutput>;
1045
- public describeTargetHealth(
1046
- args: DescribeTargetHealthCommandInput,
1047
- cb: (err: any, data?: DescribeTargetHealthCommandOutput) => void
1048
- ): void;
1049
- public describeTargetHealth(
1050
- args: DescribeTargetHealthCommandInput,
1051
- options: __HttpHandlerOptions,
1052
- cb: (err: any, data?: DescribeTargetHealthCommandOutput) => void
1053
- ): void;
1054
- public describeTargetHealth(
1055
- args: DescribeTargetHealthCommandInput,
1056
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTargetHealthCommandOutput) => void),
1057
- cb?: (err: any, data?: DescribeTargetHealthCommandOutput) => void
1058
- ): Promise<DescribeTargetHealthCommandOutput> | void {
1059
- const command = new DescribeTargetHealthCommand(args);
1060
- if (typeof optionsOrCb === "function") {
1061
- this.send(command, optionsOrCb);
1062
- } else if (typeof cb === "function") {
1063
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1064
- this.send(command, optionsOrCb || {}, cb);
1065
- } else {
1066
- return this.send(command, optionsOrCb);
1067
- }
1068
- }
1069
-
1070
- /**
1071
- * <p>Replaces the specified properties of the specified listener. Any properties that you do
1072
- * not specify remain unchanged.</p>
1073
- * <p>Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy
1074
- * and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP
1075
- * to TLS, you must add the security policy and default certificate properties.</p>
1076
- * <p>To add an item to a list, remove an item from a list, or update an item in a list, you
1077
- * must provide the entire list. For example, to add an action, specify a list with the current
1078
- * actions plus the new action.</p>
1079
- */
1080
- public modifyListener(
1081
- args: ModifyListenerCommandInput,
1082
- options?: __HttpHandlerOptions
1083
- ): Promise<ModifyListenerCommandOutput>;
1084
- public modifyListener(
1085
- args: ModifyListenerCommandInput,
1086
- cb: (err: any, data?: ModifyListenerCommandOutput) => void
1087
- ): void;
1088
- public modifyListener(
1089
- args: ModifyListenerCommandInput,
1090
- options: __HttpHandlerOptions,
1091
- cb: (err: any, data?: ModifyListenerCommandOutput) => void
1092
- ): void;
1093
- public modifyListener(
1094
- args: ModifyListenerCommandInput,
1095
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyListenerCommandOutput) => void),
1096
- cb?: (err: any, data?: ModifyListenerCommandOutput) => void
1097
- ): Promise<ModifyListenerCommandOutput> | void {
1098
- const command = new ModifyListenerCommand(args);
1099
- if (typeof optionsOrCb === "function") {
1100
- this.send(command, optionsOrCb);
1101
- } else if (typeof cb === "function") {
1102
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1103
- this.send(command, optionsOrCb || {}, cb);
1104
- } else {
1105
- return this.send(command, optionsOrCb);
1106
- }
1107
- }
1108
-
1109
- /**
1110
- * <p>Modifies the specified attributes of the specified Application Load Balancer, Network Load
1111
- * Balancer, or Gateway Load Balancer.</p>
1112
- * <p>If any of the specified attributes can't be modified as requested, the call fails. Any
1113
- * existing attributes that you do not modify retain their current values.</p>
1114
- */
1115
- public modifyLoadBalancerAttributes(
1116
- args: ModifyLoadBalancerAttributesCommandInput,
1117
- options?: __HttpHandlerOptions
1118
- ): Promise<ModifyLoadBalancerAttributesCommandOutput>;
1119
- public modifyLoadBalancerAttributes(
1120
- args: ModifyLoadBalancerAttributesCommandInput,
1121
- cb: (err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void
1122
- ): void;
1123
- public modifyLoadBalancerAttributes(
1124
- args: ModifyLoadBalancerAttributesCommandInput,
1125
- options: __HttpHandlerOptions,
1126
- cb: (err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void
1127
- ): void;
1128
- public modifyLoadBalancerAttributes(
1129
- args: ModifyLoadBalancerAttributesCommandInput,
1130
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void),
1131
- cb?: (err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void
1132
- ): Promise<ModifyLoadBalancerAttributesCommandOutput> | void {
1133
- const command = new ModifyLoadBalancerAttributesCommand(args);
1134
- if (typeof optionsOrCb === "function") {
1135
- this.send(command, optionsOrCb);
1136
- } else if (typeof cb === "function") {
1137
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1138
- this.send(command, optionsOrCb || {}, cb);
1139
- } else {
1140
- return this.send(command, optionsOrCb);
1141
- }
1142
- }
1143
-
1144
- /**
1145
- * <p>Replaces the specified properties of the specified rule. Any properties that you do not
1146
- * specify are unchanged.</p>
1147
- * <p>To add an item to a list, remove an item from a list, or update an item in a list, you
1148
- * must provide the entire list. For example, to add an action, specify a list with the current
1149
- * actions plus the new action.</p>
1150
- */
1151
- public modifyRule(args: ModifyRuleCommandInput, options?: __HttpHandlerOptions): Promise<ModifyRuleCommandOutput>;
1152
- public modifyRule(args: ModifyRuleCommandInput, cb: (err: any, data?: ModifyRuleCommandOutput) => void): void;
1153
- public modifyRule(
1154
- args: ModifyRuleCommandInput,
1155
- options: __HttpHandlerOptions,
1156
- cb: (err: any, data?: ModifyRuleCommandOutput) => void
1157
- ): void;
1158
- public modifyRule(
1159
- args: ModifyRuleCommandInput,
1160
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyRuleCommandOutput) => void),
1161
- cb?: (err: any, data?: ModifyRuleCommandOutput) => void
1162
- ): Promise<ModifyRuleCommandOutput> | void {
1163
- const command = new ModifyRuleCommand(args);
1164
- if (typeof optionsOrCb === "function") {
1165
- this.send(command, optionsOrCb);
1166
- } else if (typeof cb === "function") {
1167
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1168
- this.send(command, optionsOrCb || {}, cb);
1169
- } else {
1170
- return this.send(command, optionsOrCb);
1171
- }
1172
- }
1173
-
1174
- /**
1175
- * <p>Modifies the health checks used when evaluating the health state of the targets in the
1176
- * specified target group.</p>
1177
- */
1178
- public modifyTargetGroup(
1179
- args: ModifyTargetGroupCommandInput,
1180
- options?: __HttpHandlerOptions
1181
- ): Promise<ModifyTargetGroupCommandOutput>;
1182
- public modifyTargetGroup(
1183
- args: ModifyTargetGroupCommandInput,
1184
- cb: (err: any, data?: ModifyTargetGroupCommandOutput) => void
1185
- ): void;
1186
- public modifyTargetGroup(
1187
- args: ModifyTargetGroupCommandInput,
1188
- options: __HttpHandlerOptions,
1189
- cb: (err: any, data?: ModifyTargetGroupCommandOutput) => void
1190
- ): void;
1191
- public modifyTargetGroup(
1192
- args: ModifyTargetGroupCommandInput,
1193
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyTargetGroupCommandOutput) => void),
1194
- cb?: (err: any, data?: ModifyTargetGroupCommandOutput) => void
1195
- ): Promise<ModifyTargetGroupCommandOutput> | void {
1196
- const command = new ModifyTargetGroupCommand(args);
1197
- if (typeof optionsOrCb === "function") {
1198
- this.send(command, optionsOrCb);
1199
- } else if (typeof cb === "function") {
1200
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1201
- this.send(command, optionsOrCb || {}, cb);
1202
- } else {
1203
- return this.send(command, optionsOrCb);
1204
- }
1205
- }
1206
-
1207
- /**
1208
- * <p>Modifies the specified attributes of the specified target group.</p>
1209
- */
1210
- public modifyTargetGroupAttributes(
1211
- args: ModifyTargetGroupAttributesCommandInput,
1212
- options?: __HttpHandlerOptions
1213
- ): Promise<ModifyTargetGroupAttributesCommandOutput>;
1214
- public modifyTargetGroupAttributes(
1215
- args: ModifyTargetGroupAttributesCommandInput,
1216
- cb: (err: any, data?: ModifyTargetGroupAttributesCommandOutput) => void
1217
- ): void;
1218
- public modifyTargetGroupAttributes(
1219
- args: ModifyTargetGroupAttributesCommandInput,
1220
- options: __HttpHandlerOptions,
1221
- cb: (err: any, data?: ModifyTargetGroupAttributesCommandOutput) => void
1222
- ): void;
1223
- public modifyTargetGroupAttributes(
1224
- args: ModifyTargetGroupAttributesCommandInput,
1225
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyTargetGroupAttributesCommandOutput) => void),
1226
- cb?: (err: any, data?: ModifyTargetGroupAttributesCommandOutput) => void
1227
- ): Promise<ModifyTargetGroupAttributesCommandOutput> | void {
1228
- const command = new ModifyTargetGroupAttributesCommand(args);
1229
- if (typeof optionsOrCb === "function") {
1230
- this.send(command, optionsOrCb);
1231
- } else if (typeof cb === "function") {
1232
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1233
- this.send(command, optionsOrCb || {}, cb);
1234
- } else {
1235
- return this.send(command, optionsOrCb);
1236
- }
1237
- }
1238
-
1239
- /**
1240
- * <p>Registers the specified targets with the specified target group.</p>
1241
- *
1242
- * <p>If the target is an EC2 instance, it must be in the <code>running</code> state when you
1243
- * register it.</p>
1244
- *
1245
- * <p>By default, the load balancer routes requests to registered targets using the protocol and
1246
- * port for the target group. Alternatively, you can override the port for a target when you
1247
- * register it. You can register each EC2 instance or IP address with the same target group
1248
- * multiple times using different ports.</p>
1249
- *
1250
- * <p>With a Network Load Balancer, you cannot register instances by instance ID if they have
1251
- * the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3,
1252
- * and T1. You can register instances of these types by IP address.</p>
1253
- */
1254
- public registerTargets(
1255
- args: RegisterTargetsCommandInput,
1256
- options?: __HttpHandlerOptions
1257
- ): Promise<RegisterTargetsCommandOutput>;
1258
- public registerTargets(
1259
- args: RegisterTargetsCommandInput,
1260
- cb: (err: any, data?: RegisterTargetsCommandOutput) => void
1261
- ): void;
1262
- public registerTargets(
1263
- args: RegisterTargetsCommandInput,
1264
- options: __HttpHandlerOptions,
1265
- cb: (err: any, data?: RegisterTargetsCommandOutput) => void
1266
- ): void;
1267
- public registerTargets(
1268
- args: RegisterTargetsCommandInput,
1269
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterTargetsCommandOutput) => void),
1270
- cb?: (err: any, data?: RegisterTargetsCommandOutput) => void
1271
- ): Promise<RegisterTargetsCommandOutput> | void {
1272
- const command = new RegisterTargetsCommand(args);
1273
- if (typeof optionsOrCb === "function") {
1274
- this.send(command, optionsOrCb);
1275
- } else if (typeof cb === "function") {
1276
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1277
- this.send(command, optionsOrCb || {}, cb);
1278
- } else {
1279
- return this.send(command, optionsOrCb);
1280
- }
1281
- }
1282
-
1283
- /**
1284
- * <p>Removes the specified certificate from the certificate list for the specified HTTPS or TLS
1285
- * listener.</p>
1286
- */
1287
- public removeListenerCertificates(
1288
- args: RemoveListenerCertificatesCommandInput,
1289
- options?: __HttpHandlerOptions
1290
- ): Promise<RemoveListenerCertificatesCommandOutput>;
1291
- public removeListenerCertificates(
1292
- args: RemoveListenerCertificatesCommandInput,
1293
- cb: (err: any, data?: RemoveListenerCertificatesCommandOutput) => void
1294
- ): void;
1295
- public removeListenerCertificates(
1296
- args: RemoveListenerCertificatesCommandInput,
1297
- options: __HttpHandlerOptions,
1298
- cb: (err: any, data?: RemoveListenerCertificatesCommandOutput) => void
1299
- ): void;
1300
- public removeListenerCertificates(
1301
- args: RemoveListenerCertificatesCommandInput,
1302
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveListenerCertificatesCommandOutput) => void),
1303
- cb?: (err: any, data?: RemoveListenerCertificatesCommandOutput) => void
1304
- ): Promise<RemoveListenerCertificatesCommandOutput> | void {
1305
- const command = new RemoveListenerCertificatesCommand(args);
1306
- if (typeof optionsOrCb === "function") {
1307
- this.send(command, optionsOrCb);
1308
- } else if (typeof cb === "function") {
1309
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1310
- this.send(command, optionsOrCb || {}, cb);
1311
- } else {
1312
- return this.send(command, optionsOrCb);
1313
- }
1314
- }
1315
-
1316
- /**
1317
- * <p>Removes the specified tags from the specified Elastic Load Balancing resources. You can
1318
- * remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway
1319
- * Load Balancers, target groups, listeners, or rules.</p>
1320
- */
1321
- public removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsCommandOutput>;
1322
- public removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
1323
- public removeTags(
1324
- args: RemoveTagsCommandInput,
1325
- options: __HttpHandlerOptions,
1326
- cb: (err: any, data?: RemoveTagsCommandOutput) => void
1327
- ): void;
1328
- public removeTags(
1329
- args: RemoveTagsCommandInput,
1330
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveTagsCommandOutput) => void),
1331
- cb?: (err: any, data?: RemoveTagsCommandOutput) => void
1332
- ): Promise<RemoveTagsCommandOutput> | void {
1333
- const command = new RemoveTagsCommand(args);
1334
- if (typeof optionsOrCb === "function") {
1335
- this.send(command, optionsOrCb);
1336
- } else if (typeof cb === "function") {
1337
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1338
- this.send(command, optionsOrCb || {}, cb);
1339
- } else {
1340
- return this.send(command, optionsOrCb);
1341
- }
1342
- }
1343
-
1344
- /**
1345
- * <p>Sets the type of IP addresses used by the subnets of the specified Application Load
1346
- * Balancer or Network Load Balancer.</p>
1347
- */
1348
- public setIpAddressType(
1349
- args: SetIpAddressTypeCommandInput,
1350
- options?: __HttpHandlerOptions
1351
- ): Promise<SetIpAddressTypeCommandOutput>;
1352
- public setIpAddressType(
1353
- args: SetIpAddressTypeCommandInput,
1354
- cb: (err: any, data?: SetIpAddressTypeCommandOutput) => void
1355
- ): void;
1356
- public setIpAddressType(
1357
- args: SetIpAddressTypeCommandInput,
1358
- options: __HttpHandlerOptions,
1359
- cb: (err: any, data?: SetIpAddressTypeCommandOutput) => void
1360
- ): void;
1361
- public setIpAddressType(
1362
- args: SetIpAddressTypeCommandInput,
1363
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetIpAddressTypeCommandOutput) => void),
1364
- cb?: (err: any, data?: SetIpAddressTypeCommandOutput) => void
1365
- ): Promise<SetIpAddressTypeCommandOutput> | void {
1366
- const command = new SetIpAddressTypeCommand(args);
1367
- if (typeof optionsOrCb === "function") {
1368
- this.send(command, optionsOrCb);
1369
- } else if (typeof cb === "function") {
1370
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1371
- this.send(command, optionsOrCb || {}, cb);
1372
- } else {
1373
- return this.send(command, optionsOrCb);
1374
- }
1375
- }
1376
-
1377
- /**
1378
- * <p>Sets the priorities of the specified rules.</p>
1379
- * <p>You can reorder the rules as long as there are no priority conflicts in the new order. Any
1380
- * existing rules that you do not specify retain their current priority.</p>
1381
- */
1382
- public setRulePriorities(
1383
- args: SetRulePrioritiesCommandInput,
1384
- options?: __HttpHandlerOptions
1385
- ): Promise<SetRulePrioritiesCommandOutput>;
1386
- public setRulePriorities(
1387
- args: SetRulePrioritiesCommandInput,
1388
- cb: (err: any, data?: SetRulePrioritiesCommandOutput) => void
1389
- ): void;
1390
- public setRulePriorities(
1391
- args: SetRulePrioritiesCommandInput,
1392
- options: __HttpHandlerOptions,
1393
- cb: (err: any, data?: SetRulePrioritiesCommandOutput) => void
1394
- ): void;
1395
- public setRulePriorities(
1396
- args: SetRulePrioritiesCommandInput,
1397
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetRulePrioritiesCommandOutput) => void),
1398
- cb?: (err: any, data?: SetRulePrioritiesCommandOutput) => void
1399
- ): Promise<SetRulePrioritiesCommandOutput> | void {
1400
- const command = new SetRulePrioritiesCommand(args);
1401
- if (typeof optionsOrCb === "function") {
1402
- this.send(command, optionsOrCb);
1403
- } else if (typeof cb === "function") {
1404
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1405
- this.send(command, optionsOrCb || {}, cb);
1406
- } else {
1407
- return this.send(command, optionsOrCb);
1408
- }
1409
- }
1410
-
1411
- /**
1412
- * <p>Associates the specified security groups with the specified Application Load Balancer. The
1413
- * specified security groups override the previously associated security groups.</p>
1414
- * <p>You can't specify a security group for a Network Load Balancer or Gateway Load
1415
- * Balancer.</p>
1416
- */
1417
- public setSecurityGroups(
1418
- args: SetSecurityGroupsCommandInput,
1419
- options?: __HttpHandlerOptions
1420
- ): Promise<SetSecurityGroupsCommandOutput>;
1421
- public setSecurityGroups(
1422
- args: SetSecurityGroupsCommandInput,
1423
- cb: (err: any, data?: SetSecurityGroupsCommandOutput) => void
1424
- ): void;
1425
- public setSecurityGroups(
1426
- args: SetSecurityGroupsCommandInput,
1427
- options: __HttpHandlerOptions,
1428
- cb: (err: any, data?: SetSecurityGroupsCommandOutput) => void
1429
- ): void;
1430
- public setSecurityGroups(
1431
- args: SetSecurityGroupsCommandInput,
1432
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetSecurityGroupsCommandOutput) => void),
1433
- cb?: (err: any, data?: SetSecurityGroupsCommandOutput) => void
1434
- ): Promise<SetSecurityGroupsCommandOutput> | void {
1435
- const command = new SetSecurityGroupsCommand(args);
1436
- if (typeof optionsOrCb === "function") {
1437
- this.send(command, optionsOrCb);
1438
- } else if (typeof cb === "function") {
1439
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1440
- this.send(command, optionsOrCb || {}, cb);
1441
- } else {
1442
- return this.send(command, optionsOrCb);
1443
- }
1444
- }
1445
-
1446
- /**
1447
- * <p>Enables the Availability Zones for the specified public subnets for the specified
1448
- * Application Load Balancer or Network Load Balancer. The specified subnets replace the
1449
- * previously enabled subnets.</p>
1450
- * <p>When you specify subnets for a Network Load Balancer, you must include all subnets that
1451
- * were enabled previously, with their existing configurations, plus any additional
1452
- * subnets.</p>
1453
- */
1454
- public setSubnets(args: SetSubnetsCommandInput, options?: __HttpHandlerOptions): Promise<SetSubnetsCommandOutput>;
1455
- public setSubnets(args: SetSubnetsCommandInput, cb: (err: any, data?: SetSubnetsCommandOutput) => void): void;
1456
- public setSubnets(
1457
- args: SetSubnetsCommandInput,
1458
- options: __HttpHandlerOptions,
1459
- cb: (err: any, data?: SetSubnetsCommandOutput) => void
1460
- ): void;
1461
- public setSubnets(
1462
- args: SetSubnetsCommandInput,
1463
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetSubnetsCommandOutput) => void),
1464
- cb?: (err: any, data?: SetSubnetsCommandOutput) => void
1465
- ): Promise<SetSubnetsCommandOutput> | void {
1466
- const command = new SetSubnetsCommand(args);
1467
- if (typeof optionsOrCb === "function") {
1468
- this.send(command, optionsOrCb);
1469
- } else if (typeof cb === "function") {
1470
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1471
- this.send(command, optionsOrCb || {}, cb);
1472
- } else {
1473
- return this.send(command, optionsOrCb);
1474
- }
1475
- }
1476
- }