@aws-sdk/client-elastic-load-balancing 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 (272) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ElasticLoadBalancing.js +0 -24
  3. package/dist-cjs/ElasticLoadBalancingClient.js +0 -29
  4. package/dist-cjs/commands/AddTagsCommand.js +0 -31
  5. package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +0 -27
  6. package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js +0 -28
  7. package/dist-cjs/commands/ConfigureHealthCheckCommand.js +0 -27
  8. package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +0 -33
  9. package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +0 -31
  10. package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -38
  11. package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js +0 -27
  12. package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js +0 -26
  13. package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -28
  14. package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js +0 -25
  15. package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js +0 -25
  16. package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +0 -30
  17. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -27
  18. package/dist-cjs/commands/DescribeInstanceHealthCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js +0 -29
  21. package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -32
  22. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -25
  23. package/dist-cjs/commands/DescribeTagsCommand.js +0 -25
  24. package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +0 -28
  25. package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -33
  26. package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +0 -30
  27. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -51
  28. package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -43
  29. package/dist-cjs/commands/RemoveTagsCommand.js +0 -25
  30. package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +0 -29
  31. package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -35
  32. package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -31
  33. package/dist-cjs/commands/index.js +32 -0
  34. package/dist-cjs/endpoints.js +1 -2
  35. package/dist-cjs/index.js +5 -35
  36. package/dist-cjs/models/index.js +0 -1
  37. package/dist-cjs/models/models_0.js +0 -319
  38. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -11
  39. package/dist-cjs/pagination/Interfaces.js +0 -1
  40. package/dist-cjs/pagination/index.js +5 -0
  41. package/dist-cjs/protocols/Aws_query.js +0 -3
  42. package/dist-cjs/runtimeConfig.browser.js +1 -6
  43. package/dist-cjs/runtimeConfig.js +2 -7
  44. package/dist-cjs/runtimeConfig.native.js +0 -4
  45. package/dist-cjs/runtimeConfig.shared.js +0 -4
  46. package/dist-cjs/waiters/index.js +4 -0
  47. package/dist-cjs/waiters/waitForAnyInstanceInService.js +0 -10
  48. package/dist-es/ElasticLoadBalancing.js +0 -1
  49. package/dist-es/ElasticLoadBalancingClient.js +0 -1
  50. package/dist-es/commands/AddTagsCommand.js +0 -1
  51. package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js +0 -1
  52. package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js +0 -1
  53. package/dist-es/commands/ConfigureHealthCheckCommand.js +0 -1
  54. package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +0 -1
  55. package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +0 -1
  56. package/dist-es/commands/CreateLoadBalancerCommand.js +0 -1
  57. package/dist-es/commands/CreateLoadBalancerListenersCommand.js +0 -1
  58. package/dist-es/commands/CreateLoadBalancerPolicyCommand.js +0 -1
  59. package/dist-es/commands/DeleteLoadBalancerCommand.js +0 -1
  60. package/dist-es/commands/DeleteLoadBalancerListenersCommand.js +0 -1
  61. package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js +0 -1
  62. package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js +0 -1
  63. package/dist-es/commands/DescribeAccountLimitsCommand.js +0 -1
  64. package/dist-es/commands/DescribeInstanceHealthCommand.js +0 -1
  65. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +0 -1
  66. package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js +0 -1
  67. package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -1
  68. package/dist-es/commands/DescribeLoadBalancersCommand.js +0 -1
  69. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  70. package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js +0 -1
  71. package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -1
  72. package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +0 -1
  73. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +0 -1
  74. package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -1
  75. package/dist-es/commands/RemoveTagsCommand.js +0 -1
  76. package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js +0 -1
  77. package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -1
  78. package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -1
  79. package/dist-es/commands/index.js +29 -0
  80. package/dist-es/endpoints.js +1 -2
  81. package/dist-es/index.js +5 -35
  82. package/dist-es/models/index.js +0 -1
  83. package/dist-es/models/models_0.js +0 -1
  84. package/dist-es/pagination/DescribeLoadBalancersPaginator.js +0 -1
  85. package/dist-es/pagination/Interfaces.js +0 -1
  86. package/dist-es/pagination/index.js +2 -0
  87. package/dist-es/protocols/Aws_query.js +0 -1
  88. package/dist-es/runtimeConfig.browser.js +1 -2
  89. package/dist-es/runtimeConfig.js +2 -3
  90. package/dist-es/runtimeConfig.native.js +0 -1
  91. package/dist-es/runtimeConfig.shared.js +0 -1
  92. package/dist-es/waiters/index.js +1 -0
  93. package/dist-es/waiters/waitForAnyInstanceInService.js +0 -1
  94. package/dist-types/commands/index.d.ts +29 -0
  95. package/dist-types/index.d.ts +5 -34
  96. package/dist-types/pagination/index.d.ts +2 -0
  97. package/dist-types/ts3.4/ElasticLoadBalancing.d.ts +30 -254
  98. package/dist-types/ts3.4/ElasticLoadBalancingClient.d.ts +24 -109
  99. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -26
  100. package/dist-types/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +2 -22
  101. package/dist-types/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +2 -23
  102. package/dist-types/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +2 -22
  103. package/dist-types/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +2 -28
  104. package/dist-types/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +2 -26
  105. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -33
  106. package/dist-types/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +2 -22
  107. package/dist-types/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +2 -21
  108. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -23
  109. package/dist-types/ts3.4/commands/DeleteLoadBalancerListenersCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +2 -25
  112. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -22
  113. package/dist-types/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +2 -24
  116. package/dist-types/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +2 -27
  117. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +2 -23
  120. package/dist-types/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -28
  121. package/dist-types/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -25
  122. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -46
  123. package/dist-types/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +2 -38
  124. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +2 -24
  126. package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +2 -30
  127. package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +2 -26
  128. package/dist-types/ts3.4/commands/index.d.ts +29 -0
  129. package/dist-types/ts3.4/index.d.ts +5 -34
  130. package/dist-types/ts3.4/models/models_0.d.ts +378 -1283
  131. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  132. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  133. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  134. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  135. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  136. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  137. package/dist-types/ts3.4/waiters/waitForAnyInstanceInService.d.ts +2 -9
  138. package/dist-types/waiters/index.d.ts +1 -0
  139. package/package.json +34 -31
  140. package/dist-cjs/ElasticLoadBalancing.js.map +0 -1
  141. package/dist-cjs/ElasticLoadBalancingClient.js.map +0 -1
  142. package/dist-cjs/commands/AddTagsCommand.js.map +0 -1
  143. package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
  144. package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
  145. package/dist-cjs/commands/ConfigureHealthCheckCommand.js.map +0 -1
  146. package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
  147. package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
  148. package/dist-cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
  149. package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
  150. package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
  151. package/dist-cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
  152. package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
  153. package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
  154. package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
  155. package/dist-cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
  156. package/dist-cjs/commands/DescribeInstanceHealthCommand.js.map +0 -1
  157. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  158. package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
  159. package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
  160. package/dist-cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
  161. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  162. package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
  163. package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  164. package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  165. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  166. package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
  167. package/dist-cjs/commands/RemoveTagsCommand.js.map +0 -1
  168. package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
  169. package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
  170. package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
  171. package/dist-cjs/endpoints.js.map +0 -1
  172. package/dist-cjs/index.js.map +0 -1
  173. package/dist-cjs/models/index.js.map +0 -1
  174. package/dist-cjs/models/models_0.js.map +0 -1
  175. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  176. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  177. package/dist-cjs/protocols/Aws_query.js.map +0 -1
  178. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  179. package/dist-cjs/runtimeConfig.js.map +0 -1
  180. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  181. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  182. package/dist-cjs/waiters/waitForAnyInstanceInService.js.map +0 -1
  183. package/dist-es/ElasticLoadBalancing.js.map +0 -1
  184. package/dist-es/ElasticLoadBalancingClient.js.map +0 -1
  185. package/dist-es/commands/AddTagsCommand.js.map +0 -1
  186. package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
  187. package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
  188. package/dist-es/commands/ConfigureHealthCheckCommand.js.map +0 -1
  189. package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
  190. package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
  191. package/dist-es/commands/CreateLoadBalancerCommand.js.map +0 -1
  192. package/dist-es/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
  193. package/dist-es/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
  194. package/dist-es/commands/DeleteLoadBalancerCommand.js.map +0 -1
  195. package/dist-es/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
  196. package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
  197. package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
  198. package/dist-es/commands/DescribeAccountLimitsCommand.js.map +0 -1
  199. package/dist-es/commands/DescribeInstanceHealthCommand.js.map +0 -1
  200. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  201. package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
  202. package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
  203. package/dist-es/commands/DescribeLoadBalancersCommand.js.map +0 -1
  204. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  205. package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
  206. package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  207. package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  208. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  209. package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
  210. package/dist-es/commands/RemoveTagsCommand.js.map +0 -1
  211. package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
  212. package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
  213. package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
  214. package/dist-es/endpoints.js.map +0 -1
  215. package/dist-es/index.js.map +0 -1
  216. package/dist-es/models/index.js.map +0 -1
  217. package/dist-es/models/models_0.js.map +0 -1
  218. package/dist-es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  219. package/dist-es/pagination/Interfaces.js.map +0 -1
  220. package/dist-es/protocols/Aws_query.js.map +0 -1
  221. package/dist-es/runtimeConfig.browser.js.map +0 -1
  222. package/dist-es/runtimeConfig.js.map +0 -1
  223. package/dist-es/runtimeConfig.native.js.map +0 -1
  224. package/dist-es/runtimeConfig.shared.js.map +0 -1
  225. package/dist-es/waiters/waitForAnyInstanceInService.js.map +0 -1
  226. package/jest.config.js +0 -4
  227. package/src/ElasticLoadBalancing.ts +0 -1230
  228. package/src/ElasticLoadBalancingClient.ts +0 -415
  229. package/src/commands/AddTagsCommand.ts +0 -102
  230. package/src/commands/ApplySecurityGroupsToLoadBalancerCommand.ts +0 -109
  231. package/src/commands/AttachLoadBalancerToSubnetsCommand.ts +0 -105
  232. package/src/commands/ConfigureHealthCheckCommand.ts +0 -101
  233. package/src/commands/CreateAppCookieStickinessPolicyCommand.ts +0 -115
  234. package/src/commands/CreateLBCookieStickinessPolicyCommand.ts +0 -113
  235. package/src/commands/CreateLoadBalancerCommand.ts +0 -112
  236. package/src/commands/CreateLoadBalancerListenersCommand.ts +0 -104
  237. package/src/commands/CreateLoadBalancerPolicyCommand.ts +0 -100
  238. package/src/commands/DeleteLoadBalancerCommand.ts +0 -102
  239. package/src/commands/DeleteLoadBalancerListenersCommand.ts +0 -102
  240. package/src/commands/DeleteLoadBalancerPolicyCommand.ts +0 -99
  241. package/src/commands/DeregisterInstancesFromLoadBalancerCommand.ts +0 -110
  242. package/src/commands/DescribeAccountLimitsCommand.ts +0 -101
  243. package/src/commands/DescribeInstanceHealthCommand.ts +0 -99
  244. package/src/commands/DescribeLoadBalancerAttributesCommand.ts +0 -107
  245. package/src/commands/DescribeLoadBalancerPoliciesCommand.ts +0 -108
  246. package/src/commands/DescribeLoadBalancerPolicyTypesCommand.ts +0 -114
  247. package/src/commands/DescribeLoadBalancersCommand.ts +0 -99
  248. package/src/commands/DescribeTagsCommand.ts +0 -96
  249. package/src/commands/DetachLoadBalancerFromSubnetsCommand.ts +0 -107
  250. package/src/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts +0 -118
  251. package/src/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts +0 -112
  252. package/src/commands/ModifyLoadBalancerAttributesCommand.ts +0 -130
  253. package/src/commands/RegisterInstancesWithLoadBalancerCommand.ts +0 -123
  254. package/src/commands/RemoveTagsCommand.ts +0 -96
  255. package/src/commands/SetLoadBalancerListenerSSLCertificateCommand.ts +0 -114
  256. package/src/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts +0 -124
  257. package/src/commands/SetLoadBalancerPoliciesOfListenerCommand.ts +0 -113
  258. package/src/endpoints.ts +0 -86
  259. package/src/index.ts +0 -35
  260. package/src/models/index.ts +0 -1
  261. package/src/models/models_0.ts +0 -2556
  262. package/src/pagination/DescribeLoadBalancersPaginator.ts +0 -58
  263. package/src/pagination/Interfaces.ts +0 -8
  264. package/src/protocols/Aws_query.ts +0 -5445
  265. package/src/runtimeConfig.browser.ts +0 -41
  266. package/src/runtimeConfig.native.ts +0 -17
  267. package/src/runtimeConfig.shared.ts +0 -17
  268. package/src/runtimeConfig.ts +0 -46
  269. package/src/waiters/waitForAnyInstanceInService.ts +0 -59
  270. package/tsconfig.es.json +0 -10
  271. package/tsconfig.json +0 -33
  272. package/tsconfig.types.json +0 -9
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticLoadBalancingClient, DeleteLoadBalancerPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
14
- * // const { ElasticLoadBalancingClient, DeleteLoadBalancerPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
15
- * const client = new ElasticLoadBalancingClient(config);
16
- * const command = new DeleteLoadBalancerPolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteLoadBalancerPolicyCommandInput} for command's `input` shape.
21
- * @see {@link DeleteLoadBalancerPolicyCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteLoadBalancerPolicyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteLoadBalancerPolicyCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteLoadBalancerPolicyCommand = DeleteLoadBalancerPolicyCommand;
61
- //# sourceMappingURL=DeleteLoadBalancerPolicyCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.</p>
10
- *
11
- * <p>You can use <a>DescribeLoadBalancers</a> to verify that the instance is deregistered from the load balancer.</p>
12
- *
13
- * <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>
14
- * in the <i>Classic Load Balancers Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ElasticLoadBalancingClient, DeregisterInstancesFromLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
19
- * // const { ElasticLoadBalancingClient, DeregisterInstancesFromLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
20
- * const client = new ElasticLoadBalancingClient(config);
21
- * const command = new DeregisterInstancesFromLoadBalancerCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DeregisterInstancesFromLoadBalancerCommandInput} for command's `input` shape.
26
- * @see {@link DeregisterInstancesFromLoadBalancerCommandOutput} for command's `response` shape.
27
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class DeregisterInstancesFromLoadBalancerCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class DeregisterInstancesFromLoadBalancerCommand extends smithy_client_1.Command
63
34
  }
64
35
  }
65
36
  exports.DeregisterInstancesFromLoadBalancerCommand = DeregisterInstancesFromLoadBalancerCommand;
66
- //# sourceMappingURL=DeregisterInstancesFromLoadBalancerCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the current Elastic Load Balancing resource limits for your AWS account.</p>
10
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html">Limits for Your Classic Load Balancer</a>
11
- * in the <i>Classic Load Balancers Guide</i>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ElasticLoadBalancingClient, DescribeAccountLimitsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
16
- * // const { ElasticLoadBalancingClient, DescribeAccountLimitsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
17
- * const client = new ElasticLoadBalancingClient(config);
18
- * const command = new DescribeAccountLimitsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeAccountLimitsCommandInput} for command's `input` shape.
23
- * @see {@link DescribeAccountLimitsCommandOutput} for command's `response` shape.
24
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeAccountLimitsCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DescribeAccountLimitsCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DescribeAccountLimitsCommand = DescribeAccountLimitsCommand;
63
- //# sourceMappingURL=DescribeAccountLimitsCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticLoadBalancingClient, DescribeInstanceHealthCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
14
- * // const { ElasticLoadBalancingClient, DescribeInstanceHealthCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
15
- * const client = new ElasticLoadBalancingClient(config);
16
- * const command = new DescribeInstanceHealthCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeInstanceHealthCommandInput} for command's `input` shape.
21
- * @see {@link DescribeInstanceHealthCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeInstanceHealthCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeInstanceHealthCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeInstanceHealthCommand = DescribeInstanceHealthCommand;
61
- //# sourceMappingURL=DescribeInstanceHealthCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the attributes for the specified load balancer.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticLoadBalancingClient, DescribeLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
14
- * // const { ElasticLoadBalancingClient, DescribeLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
15
- * const client = new ElasticLoadBalancingClient(config);
16
- * const command = new DescribeLoadBalancerAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeLoadBalancerAttributesCommandInput} for command's `input` shape.
21
- * @see {@link DescribeLoadBalancerAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeLoadBalancerAttributesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeLoadBalancerAttributesCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeLoadBalancerAttributesCommand = DescribeLoadBalancerAttributesCommand;
61
- //# sourceMappingURL=DescribeLoadBalancerAttributesCommand.js.map
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the specified policies.</p>
10
- * <p>If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer.
11
- * If you specify a policy name associated with your load balancer, the action returns the description of that policy.
12
- * If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies.
13
- * The names of the sample policies have the <code>ELBSample-</code> prefix.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ElasticLoadBalancingClient, DescribeLoadBalancerPoliciesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
18
- * // const { ElasticLoadBalancingClient, DescribeLoadBalancerPoliciesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
19
- * const client = new ElasticLoadBalancingClient(config);
20
- * const command = new DescribeLoadBalancerPoliciesCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeLoadBalancerPoliciesCommandInput} for command's `input` shape.
25
- * @see {@link DescribeLoadBalancerPoliciesCommandOutput} for command's `response` shape.
26
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DescribeLoadBalancerPoliciesCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class DescribeLoadBalancerPoliciesCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.DescribeLoadBalancerPoliciesCommand = DescribeLoadBalancerPoliciesCommand;
65
- //# sourceMappingURL=DescribeLoadBalancerPoliciesCommand.js.map
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the specified load balancer policy types or all load balancer policy types.</p>
10
- * <p>The description of each type indicates how it can be used. For example,
11
- * some policies can be used only with layer 7 listeners,
12
- * some policies can be used only with layer 4 listeners,
13
- * and some policies can be used only with your EC2 instances.</p>
14
- * <p>You can use <a>CreateLoadBalancerPolicy</a> to create a policy configuration for any of these policy types.
15
- * Then, depending on the policy type, use either <a>SetLoadBalancerPoliciesOfListener</a> or
16
- * <a>SetLoadBalancerPoliciesForBackendServer</a> to set the policy.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ElasticLoadBalancingClient, DescribeLoadBalancerPolicyTypesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
21
- * // const { ElasticLoadBalancingClient, DescribeLoadBalancerPolicyTypesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
22
- * const client = new ElasticLoadBalancingClient(config);
23
- * const command = new DescribeLoadBalancerPolicyTypesCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link DescribeLoadBalancerPolicyTypesCommandInput} for command's `input` shape.
28
- * @see {@link DescribeLoadBalancerPolicyTypesCommandOutput} for command's `response` shape.
29
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class DescribeLoadBalancerPolicyTypesCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class DescribeLoadBalancerPolicyTypesCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.DescribeLoadBalancerPolicyTypesCommand = DescribeLoadBalancerPolicyTypesCommand;
68
- //# sourceMappingURL=DescribeLoadBalancerPolicyTypesCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticLoadBalancingClient, DescribeLoadBalancersCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
14
- * // const { ElasticLoadBalancingClient, DescribeLoadBalancersCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
15
- * const client = new ElasticLoadBalancingClient(config);
16
- * const command = new DescribeLoadBalancersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeLoadBalancersCommandInput} for command's `input` shape.
21
- * @see {@link DescribeLoadBalancersCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeLoadBalancersCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeLoadBalancersCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeLoadBalancersCommand = DescribeLoadBalancersCommand;
61
- //# sourceMappingURL=DescribeLoadBalancersCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the tags associated with the specified load balancers.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticLoadBalancingClient, DescribeTagsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
14
- * // const { ElasticLoadBalancingClient, DescribeTagsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
15
- * const client = new ElasticLoadBalancingClient(config);
16
- * const command = new DescribeTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeTagsCommandInput} for command's `input` shape.
21
- * @see {@link DescribeTagsCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeTagsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeTagsCommand = DescribeTagsCommand;
61
- //# sourceMappingURL=DescribeTagsCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Removes the specified subnets from the set of configured subnets for the load balancer.</p>
10
- * <p>After a subnet is removed, all EC2 instances registered with the load balancer
11
- * in the removed subnet go into the <code>OutOfService</code> state. Then,
12
- * the load balancer balances the traffic among the remaining routable subnets.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ElasticLoadBalancingClient, DetachLoadBalancerFromSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
17
- * // const { ElasticLoadBalancingClient, DetachLoadBalancerFromSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
18
- * const client = new ElasticLoadBalancingClient(config);
19
- * const command = new DetachLoadBalancerFromSubnetsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DetachLoadBalancerFromSubnetsCommandInput} for command's `input` shape.
24
- * @see {@link DetachLoadBalancerFromSubnetsCommandOutput} for command's `response` shape.
25
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DetachLoadBalancerFromSubnetsCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class DetachLoadBalancerFromSubnetsCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.DetachLoadBalancerFromSubnetsCommand = DetachLoadBalancerFromSubnetsCommand;
64
- //# sourceMappingURL=DetachLoadBalancerFromSubnetsCommand.js.map
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer
10
- * in EC2-Classic or a default VPC.</p>
11
- * <p>For load balancers in a non-default VPC, use <a>DetachLoadBalancerFromSubnets</a>.</p>
12
- * <p>There must be at least one Availability Zone registered with a load balancer at all times.
13
- * After an Availability Zone is removed, all instances registered with the load balancer that are in the removed
14
- * Availability Zone go into the <code>OutOfService</code> state. Then, the load balancer attempts to equally balance
15
- * the traffic among its remaining Availability Zones.</p>
16
- * <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>
17
- * in the <i>Classic Load Balancers Guide</i>.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { ElasticLoadBalancingClient, DisableAvailabilityZonesForLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
22
- * // const { ElasticLoadBalancingClient, DisableAvailabilityZonesForLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
23
- * const client = new ElasticLoadBalancingClient(config);
24
- * const command = new DisableAvailabilityZonesForLoadBalancerCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link DisableAvailabilityZonesForLoadBalancerCommandInput} for command's `input` shape.
29
- * @see {@link DisableAvailabilityZonesForLoadBalancerCommandOutput} for command's `response` shape.
30
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class DisableAvailabilityZonesForLoadBalancerCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +34,3 @@ class DisableAvailabilityZonesForLoadBalancerCommand extends smithy_client_1.Com
66
34
  }
67
35
  }
68
36
  exports.DisableAvailabilityZonesForLoadBalancerCommand = DisableAvailabilityZonesForLoadBalancerCommand;
69
- //# sourceMappingURL=DisableAvailabilityZonesForLoadBalancerCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer
10
- * in EC2-Classic or a default VPC.</p>
11
- * <p>For load balancers in a non-default VPC, use <a>AttachLoadBalancerToSubnets</a>.</p>
12
- * <p>The load balancer evenly distributes requests across all its registered Availability Zones
13
- * 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>
14
- * in the <i>Classic Load Balancers Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ElasticLoadBalancingClient, EnableAvailabilityZonesForLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
19
- * // const { ElasticLoadBalancingClient, EnableAvailabilityZonesForLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
20
- * const client = new ElasticLoadBalancingClient(config);
21
- * const command = new EnableAvailabilityZonesForLoadBalancerCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link EnableAvailabilityZonesForLoadBalancerCommandInput} for command's `input` shape.
26
- * @see {@link EnableAvailabilityZonesForLoadBalancerCommandOutput} for command's `response` shape.
27
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class EnableAvailabilityZonesForLoadBalancerCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class EnableAvailabilityZonesForLoadBalancerCommand extends smithy_client_1.Comm
63
34
  }
64
35
  }
65
36
  exports.EnableAvailabilityZonesForLoadBalancerCommand = EnableAvailabilityZonesForLoadBalancerCommand;
66
- //# sourceMappingURL=EnableAvailabilityZonesForLoadBalancerCommand.js.map
@@ -5,61 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Modifies the attributes of the specified load balancer.</p>
10
- * <p>You can modify the load balancer attributes, such as <code>AccessLogs</code>, <code>ConnectionDraining</code>, and
11
- * <code>CrossZoneLoadBalancing</code> by either enabling or disabling them. Or, you can modify the load balancer attribute
12
- * <code>ConnectionSettings</code> by specifying an idle connection timeout value for your load balancer.</p>
13
- * <p>For more information, see the following in the <i>Classic Load Balancers Guide</i>:</p>
14
- * <ul>
15
- * <li>
16
- * <p>
17
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html">Cross-Zone Load Balancing</a>
18
- * </p>
19
- * </li>
20
- * <li>
21
- * <p>
22
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Connection Draining</a>
23
- * </p>
24
- * </li>
25
- * <li>
26
- * <p>
27
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html">Access Logs</a>
28
- * </p>
29
- * </li>
30
- * <li>
31
- * <p>
32
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html">Idle Connection Timeout</a>
33
- * </p>
34
- * </li>
35
- * </ul>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { ElasticLoadBalancingClient, ModifyLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
40
- * // const { ElasticLoadBalancingClient, ModifyLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
41
- * const client = new ElasticLoadBalancingClient(config);
42
- * const command = new ModifyLoadBalancerAttributesCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link ModifyLoadBalancerAttributesCommandInput} for command's `input` shape.
47
- * @see {@link ModifyLoadBalancerAttributesCommandOutput} for command's `response` shape.
48
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
8
  class ModifyLoadBalancerAttributesCommand extends smithy_client_1.Command {
52
- // Start section: command_properties
53
- // End section: command_properties
54
9
  constructor(input) {
55
- // Start section: command_constructor
56
10
  super();
57
11
  this.input = input;
58
- // End section: command_constructor
59
12
  }
60
- /**
61
- * @internal
62
- */
63
13
  resolveMiddleware(clientStack, configuration, options) {
64
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
65
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -84,4 +34,3 @@ class ModifyLoadBalancerAttributesCommand extends smithy_client_1.Command {
84
34
  }
85
35
  }
86
36
  exports.ModifyLoadBalancerAttributesCommand = ModifyLoadBalancerAttributesCommand;
87
- //# sourceMappingURL=ModifyLoadBalancerAttributesCommand.js.map