@aws-sdk/client-elastic-load-balancing 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 (349) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/ElasticLoadBalancing.js +1 -25
  3. package/dist-cjs/ElasticLoadBalancingClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -33
  5. package/{dist/cjs → dist-cjs}/commands/ApplySecurityGroupsToLoadBalancerCommand.js +2 -29
  6. package/{dist/cjs → dist-cjs}/commands/AttachLoadBalancerToSubnetsCommand.js +2 -30
  7. package/{dist/cjs → dist-cjs}/commands/ConfigureHealthCheckCommand.js +2 -29
  8. package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +36 -0
  9. package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +36 -0
  10. package/dist-cjs/commands/CreateLoadBalancerCommand.js +36 -0
  11. package/{dist/cjs → dist-cjs}/commands/CreateLoadBalancerListenersCommand.js +2 -29
  12. package/{dist/cjs → dist-cjs}/commands/CreateLoadBalancerPolicyCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerCommand.js +2 -30
  14. package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerListenersCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerPolicyCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/DeregisterInstancesFromLoadBalancerCommand.js +2 -32
  17. package/{dist/cjs → dist-cjs}/commands/DescribeAccountLimitsCommand.js +2 -29
  18. package/{dist/cjs → dist-cjs}/commands/DescribeInstanceHealthCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancerAttributesCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancerPoliciesCommand.js +2 -31
  21. package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +36 -0
  22. package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancersCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/DetachLoadBalancerFromSubnetsCommand.js +2 -30
  25. package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +36 -0
  26. package/{dist/cjs → dist-cjs}/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +2 -32
  27. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +36 -0
  28. package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +36 -0
  29. package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/SetLoadBalancerListenerSSLCertificateCommand.js +2 -31
  31. package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +36 -0
  32. package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +36 -0
  33. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  34. package/{dist/cjs → dist-cjs}/index.js +0 -1
  35. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  36. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -319
  37. package/{dist/cjs → dist-cjs}/pagination/DescribeLoadBalancersPaginator.js +1 -12
  38. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  39. package/{dist/cjs → dist-cjs}/protocols/Aws_query.js +89 -92
  40. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  44. package/{dist/cjs → dist-cjs}/waiters/waitForAnyInstanceInService.js +6 -16
  45. package/{dist/es → dist-es}/ElasticLoadBalancing.js +1 -2
  46. package/{dist/es → dist-es}/ElasticLoadBalancingClient.js +1 -2
  47. package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/ApplySecurityGroupsToLoadBalancerCommand.js +2 -3
  49. package/{dist/es → dist-es}/commands/AttachLoadBalancerToSubnetsCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/ConfigureHealthCheckCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/CreateAppCookieStickinessPolicyCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/CreateLBCookieStickinessPolicyCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/CreateLoadBalancerCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/CreateLoadBalancerListenersCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/CreateLoadBalancerPolicyCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/DeleteLoadBalancerCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/DeleteLoadBalancerListenersCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/DeleteLoadBalancerPolicyCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/DeregisterInstancesFromLoadBalancerCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/DescribeAccountLimitsCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/DescribeInstanceHealthCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/DescribeLoadBalancerAttributesCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/DescribeLoadBalancerPoliciesCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/DescribeLoadBalancerPolicyTypesCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/DescribeLoadBalancersCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/DetachLoadBalancerFromSubnetsCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/ModifyLoadBalancerAttributesCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/RegisterInstancesWithLoadBalancerCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/SetLoadBalancerListenerSSLCertificateCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/SetLoadBalancerPoliciesOfListenerCommand.js +2 -3
  76. package/{dist/es → dist-es}/endpoints.js +1 -2
  77. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  78. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  79. package/{dist/es → dist-es}/models/models_0.js +0 -1
  80. package/{dist/es → dist-es}/pagination/DescribeLoadBalancersPaginator.js +1 -2
  81. package/dist-es/pagination/Interfaces.js +1 -0
  82. package/{dist/es → dist-es}/protocols/Aws_query.js +0 -1
  83. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  84. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  85. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  86. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  87. package/{dist/es → dist-es}/waiters/waitForAnyInstanceInService.js +1 -2
  88. package/{dist/types → dist-types}/ElasticLoadBalancing.d.ts +2 -2
  89. package/{dist/types → dist-types}/ElasticLoadBalancingClient.d.ts +8 -8
  90. package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/AttachLoadBalancerToSubnetsCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/ConfigureHealthCheckCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/CreateAppCookieStickinessPolicyCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/CreateLBCookieStickinessPolicyCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateLoadBalancerCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/CreateLoadBalancerListenersCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/CreateLoadBalancerPolicyCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/DeleteLoadBalancerCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/DeleteLoadBalancerListenersCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/DeleteLoadBalancerPolicyCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/DescribeAccountLimitsCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/DescribeInstanceHealthCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/DescribeLoadBalancerPoliciesCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/DescribeLoadBalancersCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  120. package/{index.ts → dist-types/index.d.ts} +0 -0
  121. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  122. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  123. package/{dist/types → dist-types}/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
  124. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  125. package/{dist/types → dist-types}/protocols/Aws_query.d.ts +2 -2
  126. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  127. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  128. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  129. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  130. package/dist-types/ts3.4/ElasticLoadBalancing.d.ts +150 -0
  131. package/{dist/types → dist-types}/ts3.4/ElasticLoadBalancingClient.d.ts +32 -117
  132. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +17 -0
  142. package/{dist/types → dist-types}/ts3.4/commands/DeleteLoadBalancerListenersCommand.d.ts +4 -22
  143. package/dist-types/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +17 -0
  147. package/{dist/types → dist-types}/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +4 -22
  148. package/dist-types/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +17 -0
  161. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  162. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  163. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  164. package/dist-types/ts3.4/models/models_0.d.ts +1143 -0
  165. package/{dist/types → dist-types}/ts3.4/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  167. package/{dist/types → dist-types}/ts3.4/protocols/Aws_query.d.ts +2 -2
  168. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  169. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  170. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  171. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  172. package/{dist/types → dist-types}/ts3.4/waiters/waitForAnyInstanceInService.d.ts +4 -11
  173. package/{dist/types → dist-types}/waiters/waitForAnyInstanceInService.d.ts +2 -2
  174. package/package.json +46 -43
  175. package/ElasticLoadBalancing.ts +0 -1229
  176. package/ElasticLoadBalancingClient.ts +0 -414
  177. package/commands/AddTagsCommand.ts +0 -101
  178. package/commands/ApplySecurityGroupsToLoadBalancerCommand.ts +0 -108
  179. package/commands/AttachLoadBalancerToSubnetsCommand.ts +0 -104
  180. package/commands/ConfigureHealthCheckCommand.ts +0 -100
  181. package/commands/CreateAppCookieStickinessPolicyCommand.ts +0 -114
  182. package/commands/CreateLBCookieStickinessPolicyCommand.ts +0 -112
  183. package/commands/CreateLoadBalancerCommand.ts +0 -111
  184. package/commands/CreateLoadBalancerListenersCommand.ts +0 -103
  185. package/commands/CreateLoadBalancerPolicyCommand.ts +0 -99
  186. package/commands/DeleteLoadBalancerCommand.ts +0 -101
  187. package/commands/DeleteLoadBalancerListenersCommand.ts +0 -101
  188. package/commands/DeleteLoadBalancerPolicyCommand.ts +0 -98
  189. package/commands/DeregisterInstancesFromLoadBalancerCommand.ts +0 -109
  190. package/commands/DescribeAccountLimitsCommand.ts +0 -100
  191. package/commands/DescribeInstanceHealthCommand.ts +0 -98
  192. package/commands/DescribeLoadBalancerAttributesCommand.ts +0 -106
  193. package/commands/DescribeLoadBalancerPoliciesCommand.ts +0 -107
  194. package/commands/DescribeLoadBalancerPolicyTypesCommand.ts +0 -113
  195. package/commands/DescribeLoadBalancersCommand.ts +0 -98
  196. package/commands/DescribeTagsCommand.ts +0 -95
  197. package/commands/DetachLoadBalancerFromSubnetsCommand.ts +0 -106
  198. package/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts +0 -117
  199. package/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts +0 -111
  200. package/commands/ModifyLoadBalancerAttributesCommand.ts +0 -129
  201. package/commands/RegisterInstancesWithLoadBalancerCommand.ts +0 -122
  202. package/commands/RemoveTagsCommand.ts +0 -95
  203. package/commands/SetLoadBalancerListenerSSLCertificateCommand.ts +0 -113
  204. package/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts +0 -123
  205. package/commands/SetLoadBalancerPoliciesOfListenerCommand.ts +0 -112
  206. package/dist/cjs/ElasticLoadBalancing.js.map +0 -1
  207. package/dist/cjs/ElasticLoadBalancingClient.js +0 -64
  208. package/dist/cjs/ElasticLoadBalancingClient.js.map +0 -1
  209. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  210. package/dist/cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
  211. package/dist/cjs/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
  212. package/dist/cjs/commands/ConfigureHealthCheckCommand.js.map +0 -1
  213. package/dist/cjs/commands/CreateAppCookieStickinessPolicyCommand.js +0 -69
  214. package/dist/cjs/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
  215. package/dist/cjs/commands/CreateLBCookieStickinessPolicyCommand.js +0 -67
  216. package/dist/cjs/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
  217. package/dist/cjs/commands/CreateLoadBalancerCommand.js +0 -74
  218. package/dist/cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
  219. package/dist/cjs/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
  220. package/dist/cjs/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
  221. package/dist/cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
  222. package/dist/cjs/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
  223. package/dist/cjs/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
  224. package/dist/cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
  225. package/dist/cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
  226. package/dist/cjs/commands/DescribeInstanceHealthCommand.js.map +0 -1
  227. package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  228. package/dist/cjs/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
  229. package/dist/cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -68
  230. package/dist/cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
  231. package/dist/cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
  232. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  233. package/dist/cjs/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
  234. package/dist/cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -69
  235. package/dist/cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  236. package/dist/cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  237. package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -87
  238. package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  239. package/dist/cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -79
  240. package/dist/cjs/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
  241. package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
  242. package/dist/cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
  243. package/dist/cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -71
  244. package/dist/cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
  245. package/dist/cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -67
  246. package/dist/cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
  247. package/dist/cjs/endpoints.js.map +0 -1
  248. package/dist/cjs/index.js.map +0 -1
  249. package/dist/cjs/models/index.js.map +0 -1
  250. package/dist/cjs/models/models_0.js.map +0 -1
  251. package/dist/cjs/package.json +0 -94
  252. package/dist/cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  253. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  254. package/dist/cjs/protocols/Aws_query.js.map +0 -1
  255. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  256. package/dist/cjs/runtimeConfig.js.map +0 -1
  257. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  258. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  259. package/dist/cjs/waiters/waitForAnyInstanceInService.js.map +0 -1
  260. package/dist/es/ElasticLoadBalancing.js.map +0 -1
  261. package/dist/es/ElasticLoadBalancingClient.js.map +0 -1
  262. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  263. package/dist/es/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
  264. package/dist/es/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
  265. package/dist/es/commands/ConfigureHealthCheckCommand.js.map +0 -1
  266. package/dist/es/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
  267. package/dist/es/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
  268. package/dist/es/commands/CreateLoadBalancerCommand.js.map +0 -1
  269. package/dist/es/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
  270. package/dist/es/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
  271. package/dist/es/commands/DeleteLoadBalancerCommand.js.map +0 -1
  272. package/dist/es/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
  273. package/dist/es/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
  274. package/dist/es/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
  275. package/dist/es/commands/DescribeAccountLimitsCommand.js.map +0 -1
  276. package/dist/es/commands/DescribeInstanceHealthCommand.js.map +0 -1
  277. package/dist/es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  278. package/dist/es/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
  279. package/dist/es/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
  280. package/dist/es/commands/DescribeLoadBalancersCommand.js.map +0 -1
  281. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  282. package/dist/es/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
  283. package/dist/es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  284. package/dist/es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  285. package/dist/es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  286. package/dist/es/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
  287. package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
  288. package/dist/es/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
  289. package/dist/es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
  290. package/dist/es/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
  291. package/dist/es/endpoints.js.map +0 -1
  292. package/dist/es/index.js +0 -36
  293. package/dist/es/index.js.map +0 -1
  294. package/dist/es/models/index.js +0 -2
  295. package/dist/es/models/index.js.map +0 -1
  296. package/dist/es/models/models_0.js.map +0 -1
  297. package/dist/es/package.json +0 -94
  298. package/dist/es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  299. package/dist/es/pagination/Interfaces.js +0 -2
  300. package/dist/es/pagination/Interfaces.js.map +0 -1
  301. package/dist/es/protocols/Aws_query.js.map +0 -1
  302. package/dist/es/runtimeConfig.browser.js.map +0 -1
  303. package/dist/es/runtimeConfig.js.map +0 -1
  304. package/dist/es/runtimeConfig.native.js.map +0 -1
  305. package/dist/es/runtimeConfig.shared.js.map +0 -1
  306. package/dist/es/waiters/waitForAnyInstanceInService.js.map +0 -1
  307. package/dist/types/ts3.4/ElasticLoadBalancing.d.ts +0 -374
  308. package/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -41
  309. package/dist/types/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +0 -37
  310. package/dist/types/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +0 -38
  311. package/dist/types/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +0 -37
  312. package/dist/types/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +0 -43
  313. package/dist/types/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +0 -41
  314. package/dist/types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +0 -48
  315. package/dist/types/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +0 -37
  316. package/dist/types/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +0 -36
  317. package/dist/types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +0 -38
  318. package/dist/types/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +0 -35
  319. package/dist/types/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +0 -40
  320. package/dist/types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +0 -37
  321. package/dist/types/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +0 -35
  322. package/dist/types/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +0 -39
  323. package/dist/types/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +0 -42
  324. package/dist/types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +0 -35
  325. package/dist/types/ts3.4/commands/DescribeTagsCommand.d.ts +0 -35
  326. package/dist/types/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +0 -38
  327. package/dist/types/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +0 -43
  328. package/dist/types/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +0 -40
  329. package/dist/types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +0 -61
  330. package/dist/types/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +0 -53
  331. package/dist/types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -35
  332. package/dist/types/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +0 -39
  333. package/dist/types/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +0 -45
  334. package/dist/types/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +0 -41
  335. package/dist/types/ts3.4/models/models_0.d.ts +0 -2048
  336. package/endpoints.ts +0 -86
  337. package/jest.config.js +0 -4
  338. package/models/models_0.ts +0 -2556
  339. package/pagination/DescribeLoadBalancersPaginator.ts +0 -57
  340. package/pagination/Interfaces.ts +0 -7
  341. package/protocols/Aws_query.ts +0 -5444
  342. package/runtimeConfig.browser.ts +0 -40
  343. package/runtimeConfig.native.ts +0 -16
  344. package/runtimeConfig.shared.ts +0 -16
  345. package/runtimeConfig.ts +0 -45
  346. package/tsconfig.es.json +0 -10
  347. package/tsconfig.json +0 -31
  348. package/tsconfig.types.json +0 -8
  349. package/waiters/waitForAnyInstanceInService.ts +0 -58
@@ -1,106 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { DetachLoadBalancerFromSubnetsInput, DetachLoadBalancerFromSubnetsOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryDetachLoadBalancerFromSubnetsCommand,
9
- serializeAws_queryDetachLoadBalancerFromSubnetsCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface DetachLoadBalancerFromSubnetsCommandInput extends DetachLoadBalancerFromSubnetsInput {}
25
- export interface DetachLoadBalancerFromSubnetsCommandOutput
26
- extends DetachLoadBalancerFromSubnetsOutput,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Removes the specified subnets from the set of configured subnets for the load balancer.</p>
31
- * <p>After a subnet is removed, all EC2 instances registered with the load balancer
32
- * in the removed subnet go into the <code>OutOfService</code> state. Then,
33
- * the load balancer balances the traffic among the remaining routable subnets.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { ElasticLoadBalancingClient, DetachLoadBalancerFromSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
38
- * // const { ElasticLoadBalancingClient, DetachLoadBalancerFromSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
39
- * const client = new ElasticLoadBalancingClient(config);
40
- * const command = new DetachLoadBalancerFromSubnetsCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link DetachLoadBalancerFromSubnetsCommandInput} for command's `input` shape.
45
- * @see {@link DetachLoadBalancerFromSubnetsCommandOutput} for command's `response` shape.
46
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class DetachLoadBalancerFromSubnetsCommand extends $Command<
50
- DetachLoadBalancerFromSubnetsCommandInput,
51
- DetachLoadBalancerFromSubnetsCommandOutput,
52
- ElasticLoadBalancingClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: DetachLoadBalancerFromSubnetsCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: ElasticLoadBalancingClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<DetachLoadBalancerFromSubnetsCommandInput, DetachLoadBalancerFromSubnetsCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "ElasticLoadBalancingClient";
77
- const commandName = "DetachLoadBalancerFromSubnetsCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: DetachLoadBalancerFromSubnetsInput.filterSensitiveLog,
83
- outputFilterSensitiveLog: DetachLoadBalancerFromSubnetsOutput.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: DetachLoadBalancerFromSubnetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_queryDetachLoadBalancerFromSubnetsCommand(input, context);
95
- }
96
-
97
- private deserialize(
98
- output: __HttpResponse,
99
- context: __SerdeContext
100
- ): Promise<DetachLoadBalancerFromSubnetsCommandOutput> {
101
- return deserializeAws_queryDetachLoadBalancerFromSubnetsCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,117 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { RemoveAvailabilityZonesInput, RemoveAvailabilityZonesOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand,
9
- serializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface DisableAvailabilityZonesForLoadBalancerCommandInput extends RemoveAvailabilityZonesInput {}
25
- export interface DisableAvailabilityZonesForLoadBalancerCommandOutput
26
- extends RemoveAvailabilityZonesOutput,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer
31
- * in EC2-Classic or a default VPC.</p>
32
- * <p>For load balancers in a non-default VPC, use <a>DetachLoadBalancerFromSubnets</a>.</p>
33
- * <p>There must be at least one Availability Zone registered with a load balancer at all times.
34
- * After an Availability Zone is removed, all instances registered with the load balancer that are in the removed
35
- * Availability Zone go into the <code>OutOfService</code> state. Then, the load balancer attempts to equally balance
36
- * the traffic among its remaining Availability Zones.</p>
37
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-az.html">Add or Remove Availability Zones</a>
38
- * in the <i>Classic Load Balancers Guide</i>.</p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { ElasticLoadBalancingClient, DisableAvailabilityZonesForLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
43
- * // const { ElasticLoadBalancingClient, DisableAvailabilityZonesForLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
44
- * const client = new ElasticLoadBalancingClient(config);
45
- * const command = new DisableAvailabilityZonesForLoadBalancerCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link DisableAvailabilityZonesForLoadBalancerCommandInput} for command's `input` shape.
50
- * @see {@link DisableAvailabilityZonesForLoadBalancerCommandOutput} for command's `response` shape.
51
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class DisableAvailabilityZonesForLoadBalancerCommand extends $Command<
55
- DisableAvailabilityZonesForLoadBalancerCommandInput,
56
- DisableAvailabilityZonesForLoadBalancerCommandOutput,
57
- ElasticLoadBalancingClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: DisableAvailabilityZonesForLoadBalancerCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: ElasticLoadBalancingClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<
76
- DisableAvailabilityZonesForLoadBalancerCommandInput,
77
- DisableAvailabilityZonesForLoadBalancerCommandOutput
78
- > {
79
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
80
-
81
- const stack = clientStack.concat(this.middlewareStack);
82
-
83
- const { logger } = configuration;
84
- const clientName = "ElasticLoadBalancingClient";
85
- const commandName = "DisableAvailabilityZonesForLoadBalancerCommand";
86
- const handlerExecutionContext: HandlerExecutionContext = {
87
- logger,
88
- clientName,
89
- commandName,
90
- inputFilterSensitiveLog: RemoveAvailabilityZonesInput.filterSensitiveLog,
91
- outputFilterSensitiveLog: RemoveAvailabilityZonesOutput.filterSensitiveLog,
92
- };
93
- const { requestHandler } = configuration;
94
- return stack.resolve(
95
- (request: FinalizeHandlerArguments<any>) =>
96
- requestHandler.handle(request.request as __HttpRequest, options || {}),
97
- handlerExecutionContext
98
- );
99
- }
100
-
101
- private serialize(
102
- input: DisableAvailabilityZonesForLoadBalancerCommandInput,
103
- context: __SerdeContext
104
- ): Promise<__HttpRequest> {
105
- return serializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand(input, context);
106
- }
107
-
108
- private deserialize(
109
- output: __HttpResponse,
110
- context: __SerdeContext
111
- ): Promise<DisableAvailabilityZonesForLoadBalancerCommandOutput> {
112
- return deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand(output, context);
113
- }
114
-
115
- // Start section: command_body_extra
116
- // End section: command_body_extra
117
- }
@@ -1,111 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { AddAvailabilityZonesInput, AddAvailabilityZonesOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand,
9
- serializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface EnableAvailabilityZonesForLoadBalancerCommandInput extends AddAvailabilityZonesInput {}
25
- export interface EnableAvailabilityZonesForLoadBalancerCommandOutput
26
- extends AddAvailabilityZonesOutput,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer
31
- * in EC2-Classic or a default VPC.</p>
32
- * <p>For load balancers in a non-default VPC, use <a>AttachLoadBalancerToSubnets</a>.</p>
33
- * <p>The load balancer evenly distributes requests across all its registered Availability Zones
34
- * that contain instances. For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-az.html">Add or Remove Availability Zones</a>
35
- * in the <i>Classic Load Balancers Guide</i>.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { ElasticLoadBalancingClient, EnableAvailabilityZonesForLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
40
- * // const { ElasticLoadBalancingClient, EnableAvailabilityZonesForLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
41
- * const client = new ElasticLoadBalancingClient(config);
42
- * const command = new EnableAvailabilityZonesForLoadBalancerCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link EnableAvailabilityZonesForLoadBalancerCommandInput} for command's `input` shape.
47
- * @see {@link EnableAvailabilityZonesForLoadBalancerCommandOutput} for command's `response` shape.
48
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class EnableAvailabilityZonesForLoadBalancerCommand extends $Command<
52
- EnableAvailabilityZonesForLoadBalancerCommandInput,
53
- EnableAvailabilityZonesForLoadBalancerCommandOutput,
54
- ElasticLoadBalancingClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: EnableAvailabilityZonesForLoadBalancerCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: ElasticLoadBalancingClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<EnableAvailabilityZonesForLoadBalancerCommandInput, EnableAvailabilityZonesForLoadBalancerCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "ElasticLoadBalancingClient";
79
- const commandName = "EnableAvailabilityZonesForLoadBalancerCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: AddAvailabilityZonesInput.filterSensitiveLog,
85
- outputFilterSensitiveLog: AddAvailabilityZonesOutput.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(
96
- input: EnableAvailabilityZonesForLoadBalancerCommandInput,
97
- context: __SerdeContext
98
- ): Promise<__HttpRequest> {
99
- return serializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand(input, context);
100
- }
101
-
102
- private deserialize(
103
- output: __HttpResponse,
104
- context: __SerdeContext
105
- ): Promise<EnableAvailabilityZonesForLoadBalancerCommandOutput> {
106
- return deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand(output, context);
107
- }
108
-
109
- // Start section: command_body_extra
110
- // End section: command_body_extra
111
- }
@@ -1,129 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { ModifyLoadBalancerAttributesInput, ModifyLoadBalancerAttributesOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryModifyLoadBalancerAttributesCommand,
9
- serializeAws_queryModifyLoadBalancerAttributesCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ModifyLoadBalancerAttributesCommandInput extends ModifyLoadBalancerAttributesInput {}
25
- export interface ModifyLoadBalancerAttributesCommandOutput
26
- extends ModifyLoadBalancerAttributesOutput,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Modifies the attributes of the specified load balancer.</p>
31
- * <p>You can modify the load balancer attributes, such as <code>AccessLogs</code>, <code>ConnectionDraining</code>, and
32
- * <code>CrossZoneLoadBalancing</code> by either enabling or disabling them. Or, you can modify the load balancer attribute
33
- * <code>ConnectionSettings</code> by specifying an idle connection timeout value for your load balancer.</p>
34
- * <p>For more information, see the following in the <i>Classic Load Balancers Guide</i>:</p>
35
- * <ul>
36
- * <li>
37
- * <p>
38
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html">Cross-Zone Load Balancing</a>
39
- * </p>
40
- * </li>
41
- * <li>
42
- * <p>
43
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Connection Draining</a>
44
- * </p>
45
- * </li>
46
- * <li>
47
- * <p>
48
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html">Access Logs</a>
49
- * </p>
50
- * </li>
51
- * <li>
52
- * <p>
53
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html">Idle Connection Timeout</a>
54
- * </p>
55
- * </li>
56
- * </ul>
57
- * @example
58
- * Use a bare-bones client and the command you need to make an API call.
59
- * ```javascript
60
- * import { ElasticLoadBalancingClient, ModifyLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
61
- * // const { ElasticLoadBalancingClient, ModifyLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
62
- * const client = new ElasticLoadBalancingClient(config);
63
- * const command = new ModifyLoadBalancerAttributesCommand(input);
64
- * const response = await client.send(command);
65
- * ```
66
- *
67
- * @see {@link ModifyLoadBalancerAttributesCommandInput} for command's `input` shape.
68
- * @see {@link ModifyLoadBalancerAttributesCommandOutput} for command's `response` shape.
69
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
70
- *
71
- */
72
- export class ModifyLoadBalancerAttributesCommand extends $Command<
73
- ModifyLoadBalancerAttributesCommandInput,
74
- ModifyLoadBalancerAttributesCommandOutput,
75
- ElasticLoadBalancingClientResolvedConfig
76
- > {
77
- // Start section: command_properties
78
- // End section: command_properties
79
-
80
- constructor(readonly input: ModifyLoadBalancerAttributesCommandInput) {
81
- // Start section: command_constructor
82
- super();
83
- // End section: command_constructor
84
- }
85
-
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(
90
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
91
- configuration: ElasticLoadBalancingClientResolvedConfig,
92
- options?: __HttpHandlerOptions
93
- ): Handler<ModifyLoadBalancerAttributesCommandInput, ModifyLoadBalancerAttributesCommandOutput> {
94
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
95
-
96
- const stack = clientStack.concat(this.middlewareStack);
97
-
98
- const { logger } = configuration;
99
- const clientName = "ElasticLoadBalancingClient";
100
- const commandName = "ModifyLoadBalancerAttributesCommand";
101
- const handlerExecutionContext: HandlerExecutionContext = {
102
- logger,
103
- clientName,
104
- commandName,
105
- inputFilterSensitiveLog: ModifyLoadBalancerAttributesInput.filterSensitiveLog,
106
- outputFilterSensitiveLog: ModifyLoadBalancerAttributesOutput.filterSensitiveLog,
107
- };
108
- const { requestHandler } = configuration;
109
- return stack.resolve(
110
- (request: FinalizeHandlerArguments<any>) =>
111
- requestHandler.handle(request.request as __HttpRequest, options || {}),
112
- handlerExecutionContext
113
- );
114
- }
115
-
116
- private serialize(input: ModifyLoadBalancerAttributesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
117
- return serializeAws_queryModifyLoadBalancerAttributesCommand(input, context);
118
- }
119
-
120
- private deserialize(
121
- output: __HttpResponse,
122
- context: __SerdeContext
123
- ): Promise<ModifyLoadBalancerAttributesCommandOutput> {
124
- return deserializeAws_queryModifyLoadBalancerAttributesCommand(output, context);
125
- }
126
-
127
- // Start section: command_body_extra
128
- // End section: command_body_extra
129
- }
@@ -1,122 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { RegisterEndPointsInput, RegisterEndPointsOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryRegisterInstancesWithLoadBalancerCommand,
9
- serializeAws_queryRegisterInstancesWithLoadBalancerCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface RegisterInstancesWithLoadBalancerCommandInput extends RegisterEndPointsInput {}
25
- export interface RegisterInstancesWithLoadBalancerCommandOutput extends RegisterEndPointsOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Adds the specified instances to the specified load balancer.</p>
29
- *
30
- * <p>The instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC.</p>
31
- *
32
- * <p>Note that <code>RegisterInstanceWithLoadBalancer</code> completes when the request has been registered.
33
- * Instance registration takes a little time to complete. To check the state of the registered instances, use
34
- * <a>DescribeLoadBalancers</a> or <a>DescribeInstanceHealth</a>.</p>
35
- *
36
- * <p>After the instance is registered, it starts receiving traffic
37
- * and requests from the load balancer. Any instance that is not
38
- * in one of the Availability Zones registered for the load balancer
39
- * is moved to the <code>OutOfService</code> state. If an Availability Zone
40
- * is added to the load balancer later, any instances registered with the
41
- * load balancer move to the <code>InService</code> state.</p>
42
- *
43
- * <p>To deregister instances from a load balancer, use <a>DeregisterInstancesFromLoadBalancer</a>.</p>
44
- *
45
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-deregister-register-instances.html">Register or De-Register EC2 Instances</a>
46
- * in the <i>Classic Load Balancers Guide</i>.</p>
47
- * @example
48
- * Use a bare-bones client and the command you need to make an API call.
49
- * ```javascript
50
- * import { ElasticLoadBalancingClient, RegisterInstancesWithLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
51
- * // const { ElasticLoadBalancingClient, RegisterInstancesWithLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
52
- * const client = new ElasticLoadBalancingClient(config);
53
- * const command = new RegisterInstancesWithLoadBalancerCommand(input);
54
- * const response = await client.send(command);
55
- * ```
56
- *
57
- * @see {@link RegisterInstancesWithLoadBalancerCommandInput} for command's `input` shape.
58
- * @see {@link RegisterInstancesWithLoadBalancerCommandOutput} for command's `response` shape.
59
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
60
- *
61
- */
62
- export class RegisterInstancesWithLoadBalancerCommand extends $Command<
63
- RegisterInstancesWithLoadBalancerCommandInput,
64
- RegisterInstancesWithLoadBalancerCommandOutput,
65
- ElasticLoadBalancingClientResolvedConfig
66
- > {
67
- // Start section: command_properties
68
- // End section: command_properties
69
-
70
- constructor(readonly input: RegisterInstancesWithLoadBalancerCommandInput) {
71
- // Start section: command_constructor
72
- super();
73
- // End section: command_constructor
74
- }
75
-
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(
80
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
81
- configuration: ElasticLoadBalancingClientResolvedConfig,
82
- options?: __HttpHandlerOptions
83
- ): Handler<RegisterInstancesWithLoadBalancerCommandInput, RegisterInstancesWithLoadBalancerCommandOutput> {
84
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
85
-
86
- const stack = clientStack.concat(this.middlewareStack);
87
-
88
- const { logger } = configuration;
89
- const clientName = "ElasticLoadBalancingClient";
90
- const commandName = "RegisterInstancesWithLoadBalancerCommand";
91
- const handlerExecutionContext: HandlerExecutionContext = {
92
- logger,
93
- clientName,
94
- commandName,
95
- inputFilterSensitiveLog: RegisterEndPointsInput.filterSensitiveLog,
96
- outputFilterSensitiveLog: RegisterEndPointsOutput.filterSensitiveLog,
97
- };
98
- const { requestHandler } = configuration;
99
- return stack.resolve(
100
- (request: FinalizeHandlerArguments<any>) =>
101
- requestHandler.handle(request.request as __HttpRequest, options || {}),
102
- handlerExecutionContext
103
- );
104
- }
105
-
106
- private serialize(
107
- input: RegisterInstancesWithLoadBalancerCommandInput,
108
- context: __SerdeContext
109
- ): Promise<__HttpRequest> {
110
- return serializeAws_queryRegisterInstancesWithLoadBalancerCommand(input, context);
111
- }
112
-
113
- private deserialize(
114
- output: __HttpResponse,
115
- context: __SerdeContext
116
- ): Promise<RegisterInstancesWithLoadBalancerCommandOutput> {
117
- return deserializeAws_queryRegisterInstancesWithLoadBalancerCommand(output, context);
118
- }
119
-
120
- // Start section: command_body_extra
121
- // End section: command_body_extra
122
- }
@@ -1,95 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { RemoveTagsInput, RemoveTagsOutput } from "../models/models_0";
7
- import { deserializeAws_queryRemoveTagsCommand, serializeAws_queryRemoveTagsCommand } from "../protocols/Aws_query";
8
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
9
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
10
- import { Command as $Command } from "@aws-sdk/smithy-client";
11
- import {
12
- FinalizeHandlerArguments,
13
- Handler,
14
- HandlerExecutionContext,
15
- MiddlewareStack,
16
- HttpHandlerOptions as __HttpHandlerOptions,
17
- MetadataBearer as __MetadataBearer,
18
- SerdeContext as __SerdeContext,
19
- } from "@aws-sdk/types";
20
-
21
- export interface RemoveTagsCommandInput extends RemoveTagsInput {}
22
- export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes one or more tags from the specified load balancer.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { ElasticLoadBalancingClient, RemoveTagsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
30
- * // const { ElasticLoadBalancingClient, RemoveTagsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
31
- * const client = new ElasticLoadBalancingClient(config);
32
- * const command = new RemoveTagsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link RemoveTagsCommandInput} for command's `input` shape.
37
- * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
38
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class RemoveTagsCommand extends $Command<
42
- RemoveTagsCommandInput,
43
- RemoveTagsCommandOutput,
44
- ElasticLoadBalancingClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: RemoveTagsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: ElasticLoadBalancingClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<RemoveTagsCommandInput, RemoveTagsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "ElasticLoadBalancingClient";
69
- const commandName = "RemoveTagsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: RemoveTagsInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: RemoveTagsOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: RemoveTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_queryRemoveTagsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RemoveTagsCommandOutput> {
90
- return deserializeAws_queryRemoveTagsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }