@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
@@ -1,105 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ElasticLoadBalancingClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ElasticLoadBalancingClient";
19
- import { AttachLoadBalancerToSubnetsInput, AttachLoadBalancerToSubnetsOutput } from "../models/models_0";
20
- import {
21
- deserializeAws_queryAttachLoadBalancerToSubnetsCommand,
22
- serializeAws_queryAttachLoadBalancerToSubnetsCommand,
23
- } from "../protocols/Aws_query";
24
-
25
- export interface AttachLoadBalancerToSubnetsCommandInput extends AttachLoadBalancerToSubnetsInput {}
26
- export interface AttachLoadBalancerToSubnetsCommandOutput extends AttachLoadBalancerToSubnetsOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Adds one or more subnets to the set of configured subnets for the specified load balancer.</p>
30
- * <p>The load balancer evenly distributes requests across all registered subnets.
31
- * For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-manage-subnets.html">Add or Remove Subnets for Your Load Balancer in a VPC</a>
32
- * in the <i>Classic Load Balancers Guide</i>.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { ElasticLoadBalancingClient, AttachLoadBalancerToSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
37
- * // const { ElasticLoadBalancingClient, AttachLoadBalancerToSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
38
- * const client = new ElasticLoadBalancingClient(config);
39
- * const command = new AttachLoadBalancerToSubnetsCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link AttachLoadBalancerToSubnetsCommandInput} for command's `input` shape.
44
- * @see {@link AttachLoadBalancerToSubnetsCommandOutput} for command's `response` shape.
45
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class AttachLoadBalancerToSubnetsCommand extends $Command<
49
- AttachLoadBalancerToSubnetsCommandInput,
50
- AttachLoadBalancerToSubnetsCommandOutput,
51
- ElasticLoadBalancingClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: AttachLoadBalancerToSubnetsCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: ElasticLoadBalancingClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<AttachLoadBalancerToSubnetsCommandInput, AttachLoadBalancerToSubnetsCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "ElasticLoadBalancingClient";
76
- const commandName = "AttachLoadBalancerToSubnetsCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: AttachLoadBalancerToSubnetsInput.filterSensitiveLog,
82
- outputFilterSensitiveLog: AttachLoadBalancerToSubnetsOutput.filterSensitiveLog,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: AttachLoadBalancerToSubnetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_queryAttachLoadBalancerToSubnetsCommand(input, context);
94
- }
95
-
96
- private deserialize(
97
- output: __HttpResponse,
98
- context: __SerdeContext
99
- ): Promise<AttachLoadBalancerToSubnetsCommandOutput> {
100
- return deserializeAws_queryAttachLoadBalancerToSubnetsCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ElasticLoadBalancingClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ElasticLoadBalancingClient";
19
- import { ConfigureHealthCheckInput, ConfigureHealthCheckOutput } from "../models/models_0";
20
- import {
21
- deserializeAws_queryConfigureHealthCheckCommand,
22
- serializeAws_queryConfigureHealthCheckCommand,
23
- } from "../protocols/Aws_query";
24
-
25
- export interface ConfigureHealthCheckCommandInput extends ConfigureHealthCheckInput {}
26
- export interface ConfigureHealthCheckCommandOutput extends ConfigureHealthCheckOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Specifies the health check settings to use when evaluating the health state of your EC2 instances.</p>
30
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-healthchecks.html">Configure Health Checks for Your Load Balancer</a>
31
- * in the <i>Classic Load Balancers Guide</i>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { ElasticLoadBalancingClient, ConfigureHealthCheckCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
36
- * // const { ElasticLoadBalancingClient, ConfigureHealthCheckCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
37
- * const client = new ElasticLoadBalancingClient(config);
38
- * const command = new ConfigureHealthCheckCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link ConfigureHealthCheckCommandInput} for command's `input` shape.
43
- * @see {@link ConfigureHealthCheckCommandOutput} for command's `response` shape.
44
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class ConfigureHealthCheckCommand extends $Command<
48
- ConfigureHealthCheckCommandInput,
49
- ConfigureHealthCheckCommandOutput,
50
- ElasticLoadBalancingClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: ConfigureHealthCheckCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: ElasticLoadBalancingClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<ConfigureHealthCheckCommandInput, ConfigureHealthCheckCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "ElasticLoadBalancingClient";
75
- const commandName = "ConfigureHealthCheckCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: ConfigureHealthCheckInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: ConfigureHealthCheckOutput.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: ConfigureHealthCheckCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_queryConfigureHealthCheckCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ConfigureHealthCheckCommandOutput> {
96
- return deserializeAws_queryConfigureHealthCheckCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,115 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ElasticLoadBalancingClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ElasticLoadBalancingClient";
19
- import { CreateAppCookieStickinessPolicyInput, CreateAppCookieStickinessPolicyOutput } from "../models/models_0";
20
- import {
21
- deserializeAws_queryCreateAppCookieStickinessPolicyCommand,
22
- serializeAws_queryCreateAppCookieStickinessPolicyCommand,
23
- } from "../protocols/Aws_query";
24
-
25
- export interface CreateAppCookieStickinessPolicyCommandInput extends CreateAppCookieStickinessPolicyInput {}
26
- export interface CreateAppCookieStickinessPolicyCommandOutput
27
- extends CreateAppCookieStickinessPolicyOutput,
28
- __MetadataBearer {}
29
-
30
- /**
31
- * <p>Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.</p>
32
- * <p>This policy is similar to the policy created by <a>CreateLBCookieStickinessPolicy</a>,
33
- * except that the lifetime of the special Elastic Load Balancing cookie, <code>AWSELB</code>,
34
- * follows the lifetime of the application-generated cookie specified in the policy configuration.
35
- * The load balancer only inserts a new stickiness cookie when the application response
36
- * includes a new application cookie.</p>
37
- * <p>If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.</p>
38
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application">Application-Controlled Session Stickiness</a>
39
- * in the <i>Classic Load Balancers Guide</i>.</p>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { ElasticLoadBalancingClient, CreateAppCookieStickinessPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
44
- * // const { ElasticLoadBalancingClient, CreateAppCookieStickinessPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
45
- * const client = new ElasticLoadBalancingClient(config);
46
- * const command = new CreateAppCookieStickinessPolicyCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link CreateAppCookieStickinessPolicyCommandInput} for command's `input` shape.
51
- * @see {@link CreateAppCookieStickinessPolicyCommandOutput} for command's `response` shape.
52
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
- export class CreateAppCookieStickinessPolicyCommand extends $Command<
56
- CreateAppCookieStickinessPolicyCommandInput,
57
- CreateAppCookieStickinessPolicyCommandOutput,
58
- ElasticLoadBalancingClientResolvedConfig
59
- > {
60
- // Start section: command_properties
61
- // End section: command_properties
62
-
63
- constructor(readonly input: CreateAppCookieStickinessPolicyCommandInput) {
64
- // Start section: command_constructor
65
- super();
66
- // End section: command_constructor
67
- }
68
-
69
- /**
70
- * @internal
71
- */
72
- resolveMiddleware(
73
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
74
- configuration: ElasticLoadBalancingClientResolvedConfig,
75
- options?: __HttpHandlerOptions
76
- ): Handler<CreateAppCookieStickinessPolicyCommandInput, CreateAppCookieStickinessPolicyCommandOutput> {
77
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
78
-
79
- const stack = clientStack.concat(this.middlewareStack);
80
-
81
- const { logger } = configuration;
82
- const clientName = "ElasticLoadBalancingClient";
83
- const commandName = "CreateAppCookieStickinessPolicyCommand";
84
- const handlerExecutionContext: HandlerExecutionContext = {
85
- logger,
86
- clientName,
87
- commandName,
88
- inputFilterSensitiveLog: CreateAppCookieStickinessPolicyInput.filterSensitiveLog,
89
- outputFilterSensitiveLog: CreateAppCookieStickinessPolicyOutput.filterSensitiveLog,
90
- };
91
- const { requestHandler } = configuration;
92
- return stack.resolve(
93
- (request: FinalizeHandlerArguments<any>) =>
94
- requestHandler.handle(request.request as __HttpRequest, options || {}),
95
- handlerExecutionContext
96
- );
97
- }
98
-
99
- private serialize(
100
- input: CreateAppCookieStickinessPolicyCommandInput,
101
- context: __SerdeContext
102
- ): Promise<__HttpRequest> {
103
- return serializeAws_queryCreateAppCookieStickinessPolicyCommand(input, context);
104
- }
105
-
106
- private deserialize(
107
- output: __HttpResponse,
108
- context: __SerdeContext
109
- ): Promise<CreateAppCookieStickinessPolicyCommandOutput> {
110
- return deserializeAws_queryCreateAppCookieStickinessPolicyCommand(output, context);
111
- }
112
-
113
- // Start section: command_body_extra
114
- // End section: command_body_extra
115
- }
@@ -1,113 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ElasticLoadBalancingClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ElasticLoadBalancingClient";
19
- import { CreateLBCookieStickinessPolicyInput, CreateLBCookieStickinessPolicyOutput } from "../models/models_0";
20
- import {
21
- deserializeAws_queryCreateLBCookieStickinessPolicyCommand,
22
- serializeAws_queryCreateLBCookieStickinessPolicyCommand,
23
- } from "../protocols/Aws_query";
24
-
25
- export interface CreateLBCookieStickinessPolicyCommandInput extends CreateLBCookieStickinessPolicyInput {}
26
- export interface CreateLBCookieStickinessPolicyCommandOutput
27
- extends CreateLBCookieStickinessPolicyOutput,
28
- __MetadataBearer {}
29
-
30
- /**
31
- * <p>Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.</p>
32
- * <p>When a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request.
33
- * If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm.</p>
34
- * <p>A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration.</p>
35
- *
36
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-duration">Duration-Based Session Stickiness</a>
37
- * in the <i>Classic Load Balancers Guide</i>.</p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { ElasticLoadBalancingClient, CreateLBCookieStickinessPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
42
- * // const { ElasticLoadBalancingClient, CreateLBCookieStickinessPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
43
- * const client = new ElasticLoadBalancingClient(config);
44
- * const command = new CreateLBCookieStickinessPolicyCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link CreateLBCookieStickinessPolicyCommandInput} for command's `input` shape.
49
- * @see {@link CreateLBCookieStickinessPolicyCommandOutput} for command's `response` shape.
50
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- export class CreateLBCookieStickinessPolicyCommand extends $Command<
54
- CreateLBCookieStickinessPolicyCommandInput,
55
- CreateLBCookieStickinessPolicyCommandOutput,
56
- ElasticLoadBalancingClientResolvedConfig
57
- > {
58
- // Start section: command_properties
59
- // End section: command_properties
60
-
61
- constructor(readonly input: CreateLBCookieStickinessPolicyCommandInput) {
62
- // Start section: command_constructor
63
- super();
64
- // End section: command_constructor
65
- }
66
-
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(
71
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
72
- configuration: ElasticLoadBalancingClientResolvedConfig,
73
- options?: __HttpHandlerOptions
74
- ): Handler<CreateLBCookieStickinessPolicyCommandInput, CreateLBCookieStickinessPolicyCommandOutput> {
75
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
76
-
77
- const stack = clientStack.concat(this.middlewareStack);
78
-
79
- const { logger } = configuration;
80
- const clientName = "ElasticLoadBalancingClient";
81
- const commandName = "CreateLBCookieStickinessPolicyCommand";
82
- const handlerExecutionContext: HandlerExecutionContext = {
83
- logger,
84
- clientName,
85
- commandName,
86
- inputFilterSensitiveLog: CreateLBCookieStickinessPolicyInput.filterSensitiveLog,
87
- outputFilterSensitiveLog: CreateLBCookieStickinessPolicyOutput.filterSensitiveLog,
88
- };
89
- const { requestHandler } = configuration;
90
- return stack.resolve(
91
- (request: FinalizeHandlerArguments<any>) =>
92
- requestHandler.handle(request.request as __HttpRequest, options || {}),
93
- handlerExecutionContext
94
- );
95
- }
96
-
97
- private serialize(
98
- input: CreateLBCookieStickinessPolicyCommandInput,
99
- context: __SerdeContext
100
- ): Promise<__HttpRequest> {
101
- return serializeAws_queryCreateLBCookieStickinessPolicyCommand(input, context);
102
- }
103
-
104
- private deserialize(
105
- output: __HttpResponse,
106
- context: __SerdeContext
107
- ): Promise<CreateLBCookieStickinessPolicyCommandOutput> {
108
- return deserializeAws_queryCreateLBCookieStickinessPolicyCommand(output, context);
109
- }
110
-
111
- // Start section: command_body_extra
112
- // End section: command_body_extra
113
- }
@@ -1,112 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ElasticLoadBalancingClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ElasticLoadBalancingClient";
19
- import { CreateAccessPointInput, CreateAccessPointOutput } from "../models/models_0";
20
- import {
21
- deserializeAws_queryCreateLoadBalancerCommand,
22
- serializeAws_queryCreateLoadBalancerCommand,
23
- } from "../protocols/Aws_query";
24
-
25
- export interface CreateLoadBalancerCommandInput extends CreateAccessPointInput {}
26
- export interface CreateLoadBalancerCommandOutput extends CreateAccessPointOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Creates a Classic Load Balancer.</p>
30
- *
31
- * <p>You can add listeners, security groups, subnets, and tags when you create your load balancer,
32
- * or you can add them later using <a>CreateLoadBalancerListeners</a>,
33
- * <a>ApplySecurityGroupsToLoadBalancer</a>, <a>AttachLoadBalancerToSubnets</a>,
34
- * and <a>AddTags</a>.</p>
35
- * <p>To describe your current load balancers, see <a>DescribeLoadBalancers</a>.
36
- * When you are finished with a load balancer, you can delete it using
37
- * <a>DeleteLoadBalancer</a>.</p>
38
- *
39
- * <p>You can create up to 20 load balancers per region per account.
40
- * You can request an increase for the number of load balancers for your account.
41
- * For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html">Limits for Your Classic Load Balancer</a>
42
- * in the <i>Classic Load Balancers Guide</i>.</p>
43
- * @example
44
- * Use a bare-bones client and the command you need to make an API call.
45
- * ```javascript
46
- * import { ElasticLoadBalancingClient, CreateLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
47
- * // const { ElasticLoadBalancingClient, CreateLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
48
- * const client = new ElasticLoadBalancingClient(config);
49
- * const command = new CreateLoadBalancerCommand(input);
50
- * const response = await client.send(command);
51
- * ```
52
- *
53
- * @see {@link CreateLoadBalancerCommandInput} for command's `input` shape.
54
- * @see {@link CreateLoadBalancerCommandOutput} for command's `response` shape.
55
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
56
- *
57
- */
58
- export class CreateLoadBalancerCommand extends $Command<
59
- CreateLoadBalancerCommandInput,
60
- CreateLoadBalancerCommandOutput,
61
- ElasticLoadBalancingClientResolvedConfig
62
- > {
63
- // Start section: command_properties
64
- // End section: command_properties
65
-
66
- constructor(readonly input: CreateLoadBalancerCommandInput) {
67
- // Start section: command_constructor
68
- super();
69
- // End section: command_constructor
70
- }
71
-
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(
76
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
77
- configuration: ElasticLoadBalancingClientResolvedConfig,
78
- options?: __HttpHandlerOptions
79
- ): Handler<CreateLoadBalancerCommandInput, CreateLoadBalancerCommandOutput> {
80
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
81
-
82
- const stack = clientStack.concat(this.middlewareStack);
83
-
84
- const { logger } = configuration;
85
- const clientName = "ElasticLoadBalancingClient";
86
- const commandName = "CreateLoadBalancerCommand";
87
- const handlerExecutionContext: HandlerExecutionContext = {
88
- logger,
89
- clientName,
90
- commandName,
91
- inputFilterSensitiveLog: CreateAccessPointInput.filterSensitiveLog,
92
- outputFilterSensitiveLog: CreateAccessPointOutput.filterSensitiveLog,
93
- };
94
- const { requestHandler } = configuration;
95
- return stack.resolve(
96
- (request: FinalizeHandlerArguments<any>) =>
97
- requestHandler.handle(request.request as __HttpRequest, options || {}),
98
- handlerExecutionContext
99
- );
100
- }
101
-
102
- private serialize(input: CreateLoadBalancerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
103
- return serializeAws_queryCreateLoadBalancerCommand(input, context);
104
- }
105
-
106
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLoadBalancerCommandOutput> {
107
- return deserializeAws_queryCreateLoadBalancerCommand(output, context);
108
- }
109
-
110
- // Start section: command_body_extra
111
- // End section: command_body_extra
112
- }
@@ -1,104 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- ElasticLoadBalancingClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../ElasticLoadBalancingClient";
19
- import { CreateLoadBalancerListenerInput, CreateLoadBalancerListenerOutput } from "../models/models_0";
20
- import {
21
- deserializeAws_queryCreateLoadBalancerListenersCommand,
22
- serializeAws_queryCreateLoadBalancerListenersCommand,
23
- } from "../protocols/Aws_query";
24
-
25
- export interface CreateLoadBalancerListenersCommandInput extends CreateLoadBalancerListenerInput {}
26
- export interface CreateLoadBalancerListenersCommandOutput extends CreateLoadBalancerListenerOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.</p>
30
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html">Listeners for Your Classic Load Balancer</a>
31
- * in the <i>Classic Load Balancers Guide</i>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { ElasticLoadBalancingClient, CreateLoadBalancerListenersCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
36
- * // const { ElasticLoadBalancingClient, CreateLoadBalancerListenersCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
37
- * const client = new ElasticLoadBalancingClient(config);
38
- * const command = new CreateLoadBalancerListenersCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link CreateLoadBalancerListenersCommandInput} for command's `input` shape.
43
- * @see {@link CreateLoadBalancerListenersCommandOutput} for command's `response` shape.
44
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class CreateLoadBalancerListenersCommand extends $Command<
48
- CreateLoadBalancerListenersCommandInput,
49
- CreateLoadBalancerListenersCommandOutput,
50
- ElasticLoadBalancingClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: CreateLoadBalancerListenersCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: ElasticLoadBalancingClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<CreateLoadBalancerListenersCommandInput, CreateLoadBalancerListenersCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "ElasticLoadBalancingClient";
75
- const commandName = "CreateLoadBalancerListenersCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: CreateLoadBalancerListenerInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: CreateLoadBalancerListenerOutput.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: CreateLoadBalancerListenersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_queryCreateLoadBalancerListenersCommand(input, context);
93
- }
94
-
95
- private deserialize(
96
- output: __HttpResponse,
97
- context: __SerdeContext
98
- ): Promise<CreateLoadBalancerListenersCommandOutput> {
99
- return deserializeAws_queryCreateLoadBalancerListenersCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }