@aws-sdk/client-elastic-load-balancing 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/ElasticLoadBalancing.js +1 -25
  3. package/dist-cjs/ElasticLoadBalancingClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -33
  5. package/{dist/cjs → dist-cjs}/commands/ApplySecurityGroupsToLoadBalancerCommand.js +2 -29
  6. package/{dist/cjs → dist-cjs}/commands/AttachLoadBalancerToSubnetsCommand.js +2 -30
  7. package/{dist/cjs → dist-cjs}/commands/ConfigureHealthCheckCommand.js +2 -29
  8. package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +36 -0
  9. package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +36 -0
  10. package/dist-cjs/commands/CreateLoadBalancerCommand.js +36 -0
  11. package/{dist/cjs → dist-cjs}/commands/CreateLoadBalancerListenersCommand.js +2 -29
  12. package/{dist/cjs → dist-cjs}/commands/CreateLoadBalancerPolicyCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerCommand.js +2 -30
  14. package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerListenersCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DeleteLoadBalancerPolicyCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/DeregisterInstancesFromLoadBalancerCommand.js +2 -32
  17. package/{dist/cjs → dist-cjs}/commands/DescribeAccountLimitsCommand.js +2 -29
  18. package/{dist/cjs → dist-cjs}/commands/DescribeInstanceHealthCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancerAttributesCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancerPoliciesCommand.js +2 -31
  21. package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +36 -0
  22. package/{dist/cjs → dist-cjs}/commands/DescribeLoadBalancersCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/DetachLoadBalancerFromSubnetsCommand.js +2 -30
  25. package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +36 -0
  26. package/{dist/cjs → dist-cjs}/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +2 -32
  27. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +36 -0
  28. package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +36 -0
  29. package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/SetLoadBalancerListenerSSLCertificateCommand.js +2 -31
  31. package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +36 -0
  32. package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +36 -0
  33. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  34. package/{dist/cjs → dist-cjs}/index.js +0 -1
  35. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  36. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -319
  37. package/{dist/cjs → dist-cjs}/pagination/DescribeLoadBalancersPaginator.js +1 -12
  38. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  39. package/{dist/cjs → dist-cjs}/protocols/Aws_query.js +89 -92
  40. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  44. package/{dist/cjs → dist-cjs}/waiters/waitForAnyInstanceInService.js +6 -16
  45. package/{dist/es → dist-es}/ElasticLoadBalancing.js +1 -2
  46. package/{dist/es → dist-es}/ElasticLoadBalancingClient.js +1 -2
  47. package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/ApplySecurityGroupsToLoadBalancerCommand.js +2 -3
  49. package/{dist/es → dist-es}/commands/AttachLoadBalancerToSubnetsCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/ConfigureHealthCheckCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/CreateAppCookieStickinessPolicyCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/CreateLBCookieStickinessPolicyCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/CreateLoadBalancerCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/CreateLoadBalancerListenersCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/CreateLoadBalancerPolicyCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/DeleteLoadBalancerCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/DeleteLoadBalancerListenersCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/DeleteLoadBalancerPolicyCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/DeregisterInstancesFromLoadBalancerCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/DescribeAccountLimitsCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/DescribeInstanceHealthCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/DescribeLoadBalancerAttributesCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/DescribeLoadBalancerPoliciesCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/DescribeLoadBalancerPolicyTypesCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/DescribeLoadBalancersCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/DetachLoadBalancerFromSubnetsCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/ModifyLoadBalancerAttributesCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/RegisterInstancesWithLoadBalancerCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/SetLoadBalancerListenerSSLCertificateCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/SetLoadBalancerPoliciesOfListenerCommand.js +2 -3
  76. package/{dist/es → dist-es}/endpoints.js +1 -2
  77. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  78. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  79. package/{dist/es → dist-es}/models/models_0.js +0 -1
  80. package/{dist/es → dist-es}/pagination/DescribeLoadBalancersPaginator.js +1 -2
  81. package/dist-es/pagination/Interfaces.js +1 -0
  82. package/{dist/es → dist-es}/protocols/Aws_query.js +0 -1
  83. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  84. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  85. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  86. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  87. package/{dist/es → dist-es}/waiters/waitForAnyInstanceInService.js +1 -2
  88. package/{dist/types → dist-types}/ElasticLoadBalancing.d.ts +2 -2
  89. package/{dist/types → dist-types}/ElasticLoadBalancingClient.d.ts +8 -8
  90. package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/AttachLoadBalancerToSubnetsCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/ConfigureHealthCheckCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/CreateAppCookieStickinessPolicyCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/CreateLBCookieStickinessPolicyCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateLoadBalancerCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/CreateLoadBalancerListenersCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/CreateLoadBalancerPolicyCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/DeleteLoadBalancerCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/DeleteLoadBalancerListenersCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/DeleteLoadBalancerPolicyCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/DescribeAccountLimitsCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/DescribeInstanceHealthCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/DescribeLoadBalancerPoliciesCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/DescribeLoadBalancersCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  120. package/{index.ts → dist-types/index.d.ts} +0 -0
  121. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  122. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  123. package/{dist/types → dist-types}/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
  124. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  125. package/{dist/types → dist-types}/protocols/Aws_query.d.ts +2 -2
  126. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  127. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  128. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  129. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  130. package/dist-types/ts3.4/ElasticLoadBalancing.d.ts +150 -0
  131. package/{dist/types → dist-types}/ts3.4/ElasticLoadBalancingClient.d.ts +32 -117
  132. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +17 -0
  142. package/{dist/types → dist-types}/ts3.4/commands/DeleteLoadBalancerListenersCommand.d.ts +4 -22
  143. package/dist-types/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +17 -0
  147. package/{dist/types → dist-types}/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +4 -22
  148. package/dist-types/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +17 -0
  161. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  162. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  163. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  164. package/dist-types/ts3.4/models/models_0.d.ts +1143 -0
  165. package/{dist/types → dist-types}/ts3.4/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  167. package/{dist/types → dist-types}/ts3.4/protocols/Aws_query.d.ts +2 -2
  168. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  169. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  170. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  171. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  172. package/{dist/types → dist-types}/ts3.4/waiters/waitForAnyInstanceInService.d.ts +4 -11
  173. package/{dist/types → dist-types}/waiters/waitForAnyInstanceInService.d.ts +2 -2
  174. package/package.json +46 -43
  175. package/ElasticLoadBalancing.ts +0 -1229
  176. package/ElasticLoadBalancingClient.ts +0 -414
  177. package/commands/AddTagsCommand.ts +0 -101
  178. package/commands/ApplySecurityGroupsToLoadBalancerCommand.ts +0 -108
  179. package/commands/AttachLoadBalancerToSubnetsCommand.ts +0 -104
  180. package/commands/ConfigureHealthCheckCommand.ts +0 -100
  181. package/commands/CreateAppCookieStickinessPolicyCommand.ts +0 -114
  182. package/commands/CreateLBCookieStickinessPolicyCommand.ts +0 -112
  183. package/commands/CreateLoadBalancerCommand.ts +0 -111
  184. package/commands/CreateLoadBalancerListenersCommand.ts +0 -103
  185. package/commands/CreateLoadBalancerPolicyCommand.ts +0 -99
  186. package/commands/DeleteLoadBalancerCommand.ts +0 -101
  187. package/commands/DeleteLoadBalancerListenersCommand.ts +0 -101
  188. package/commands/DeleteLoadBalancerPolicyCommand.ts +0 -98
  189. package/commands/DeregisterInstancesFromLoadBalancerCommand.ts +0 -109
  190. package/commands/DescribeAccountLimitsCommand.ts +0 -100
  191. package/commands/DescribeInstanceHealthCommand.ts +0 -98
  192. package/commands/DescribeLoadBalancerAttributesCommand.ts +0 -106
  193. package/commands/DescribeLoadBalancerPoliciesCommand.ts +0 -107
  194. package/commands/DescribeLoadBalancerPolicyTypesCommand.ts +0 -113
  195. package/commands/DescribeLoadBalancersCommand.ts +0 -98
  196. package/commands/DescribeTagsCommand.ts +0 -95
  197. package/commands/DetachLoadBalancerFromSubnetsCommand.ts +0 -106
  198. package/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts +0 -117
  199. package/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts +0 -111
  200. package/commands/ModifyLoadBalancerAttributesCommand.ts +0 -129
  201. package/commands/RegisterInstancesWithLoadBalancerCommand.ts +0 -122
  202. package/commands/RemoveTagsCommand.ts +0 -95
  203. package/commands/SetLoadBalancerListenerSSLCertificateCommand.ts +0 -113
  204. package/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts +0 -123
  205. package/commands/SetLoadBalancerPoliciesOfListenerCommand.ts +0 -112
  206. package/dist/cjs/ElasticLoadBalancing.js.map +0 -1
  207. package/dist/cjs/ElasticLoadBalancingClient.js +0 -64
  208. package/dist/cjs/ElasticLoadBalancingClient.js.map +0 -1
  209. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  210. package/dist/cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
  211. package/dist/cjs/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
  212. package/dist/cjs/commands/ConfigureHealthCheckCommand.js.map +0 -1
  213. package/dist/cjs/commands/CreateAppCookieStickinessPolicyCommand.js +0 -69
  214. package/dist/cjs/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
  215. package/dist/cjs/commands/CreateLBCookieStickinessPolicyCommand.js +0 -67
  216. package/dist/cjs/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
  217. package/dist/cjs/commands/CreateLoadBalancerCommand.js +0 -74
  218. package/dist/cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
  219. package/dist/cjs/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
  220. package/dist/cjs/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
  221. package/dist/cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
  222. package/dist/cjs/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
  223. package/dist/cjs/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
  224. package/dist/cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
  225. package/dist/cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
  226. package/dist/cjs/commands/DescribeInstanceHealthCommand.js.map +0 -1
  227. package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  228. package/dist/cjs/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
  229. package/dist/cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -68
  230. package/dist/cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
  231. package/dist/cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
  232. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  233. package/dist/cjs/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
  234. package/dist/cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -69
  235. package/dist/cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  236. package/dist/cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  237. package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -87
  238. package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  239. package/dist/cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -79
  240. package/dist/cjs/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
  241. package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
  242. package/dist/cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
  243. package/dist/cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -71
  244. package/dist/cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
  245. package/dist/cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -67
  246. package/dist/cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
  247. package/dist/cjs/endpoints.js.map +0 -1
  248. package/dist/cjs/index.js.map +0 -1
  249. package/dist/cjs/models/index.js.map +0 -1
  250. package/dist/cjs/models/models_0.js.map +0 -1
  251. package/dist/cjs/package.json +0 -94
  252. package/dist/cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  253. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  254. package/dist/cjs/protocols/Aws_query.js.map +0 -1
  255. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  256. package/dist/cjs/runtimeConfig.js.map +0 -1
  257. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  258. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  259. package/dist/cjs/waiters/waitForAnyInstanceInService.js.map +0 -1
  260. package/dist/es/ElasticLoadBalancing.js.map +0 -1
  261. package/dist/es/ElasticLoadBalancingClient.js.map +0 -1
  262. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  263. package/dist/es/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
  264. package/dist/es/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
  265. package/dist/es/commands/ConfigureHealthCheckCommand.js.map +0 -1
  266. package/dist/es/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
  267. package/dist/es/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
  268. package/dist/es/commands/CreateLoadBalancerCommand.js.map +0 -1
  269. package/dist/es/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
  270. package/dist/es/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
  271. package/dist/es/commands/DeleteLoadBalancerCommand.js.map +0 -1
  272. package/dist/es/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
  273. package/dist/es/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
  274. package/dist/es/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
  275. package/dist/es/commands/DescribeAccountLimitsCommand.js.map +0 -1
  276. package/dist/es/commands/DescribeInstanceHealthCommand.js.map +0 -1
  277. package/dist/es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
  278. package/dist/es/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
  279. package/dist/es/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
  280. package/dist/es/commands/DescribeLoadBalancersCommand.js.map +0 -1
  281. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  282. package/dist/es/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
  283. package/dist/es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  284. package/dist/es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
  285. package/dist/es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
  286. package/dist/es/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
  287. package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
  288. package/dist/es/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
  289. package/dist/es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
  290. package/dist/es/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
  291. package/dist/es/endpoints.js.map +0 -1
  292. package/dist/es/index.js +0 -36
  293. package/dist/es/index.js.map +0 -1
  294. package/dist/es/models/index.js +0 -2
  295. package/dist/es/models/index.js.map +0 -1
  296. package/dist/es/models/models_0.js.map +0 -1
  297. package/dist/es/package.json +0 -94
  298. package/dist/es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
  299. package/dist/es/pagination/Interfaces.js +0 -2
  300. package/dist/es/pagination/Interfaces.js.map +0 -1
  301. package/dist/es/protocols/Aws_query.js.map +0 -1
  302. package/dist/es/runtimeConfig.browser.js.map +0 -1
  303. package/dist/es/runtimeConfig.js.map +0 -1
  304. package/dist/es/runtimeConfig.native.js.map +0 -1
  305. package/dist/es/runtimeConfig.shared.js.map +0 -1
  306. package/dist/es/waiters/waitForAnyInstanceInService.js.map +0 -1
  307. package/dist/types/ts3.4/ElasticLoadBalancing.d.ts +0 -374
  308. package/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -41
  309. package/dist/types/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +0 -37
  310. package/dist/types/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +0 -38
  311. package/dist/types/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +0 -37
  312. package/dist/types/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +0 -43
  313. package/dist/types/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +0 -41
  314. package/dist/types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +0 -48
  315. package/dist/types/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +0 -37
  316. package/dist/types/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +0 -36
  317. package/dist/types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +0 -38
  318. package/dist/types/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +0 -35
  319. package/dist/types/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +0 -40
  320. package/dist/types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +0 -37
  321. package/dist/types/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +0 -35
  322. package/dist/types/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +0 -39
  323. package/dist/types/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +0 -42
  324. package/dist/types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +0 -35
  325. package/dist/types/ts3.4/commands/DescribeTagsCommand.d.ts +0 -35
  326. package/dist/types/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +0 -38
  327. package/dist/types/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +0 -43
  328. package/dist/types/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +0 -40
  329. package/dist/types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +0 -61
  330. package/dist/types/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +0 -53
  331. package/dist/types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -35
  332. package/dist/types/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +0 -39
  333. package/dist/types/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +0 -45
  334. package/dist/types/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +0 -41
  335. package/dist/types/ts3.4/models/models_0.d.ts +0 -2048
  336. package/endpoints.ts +0 -86
  337. package/jest.config.js +0 -4
  338. package/models/models_0.ts +0 -2556
  339. package/pagination/DescribeLoadBalancersPaginator.ts +0 -57
  340. package/pagination/Interfaces.ts +0 -7
  341. package/protocols/Aws_query.ts +0 -5444
  342. package/runtimeConfig.browser.ts +0 -40
  343. package/runtimeConfig.native.ts +0 -16
  344. package/runtimeConfig.shared.ts +0 -16
  345. package/runtimeConfig.ts +0 -45
  346. package/tsconfig.es.json +0 -10
  347. package/tsconfig.json +0 -31
  348. package/tsconfig.types.json +0 -8
  349. package/waiters/waitForAnyInstanceInService.ts +0 -58
@@ -1,104 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { AttachLoadBalancerToSubnetsInput, AttachLoadBalancerToSubnetsOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryAttachLoadBalancerToSubnetsCommand,
9
- serializeAws_queryAttachLoadBalancerToSubnetsCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface AttachLoadBalancerToSubnetsCommandInput extends AttachLoadBalancerToSubnetsInput {}
25
- export interface AttachLoadBalancerToSubnetsCommandOutput extends AttachLoadBalancerToSubnetsOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Adds one or more subnets to the set of configured subnets for the specified load balancer.</p>
29
- * <p>The load balancer evenly distributes requests across all registered subnets.
30
- * 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>
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, AttachLoadBalancerToSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
36
- * // const { ElasticLoadBalancingClient, AttachLoadBalancerToSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
37
- * const client = new ElasticLoadBalancingClient(config);
38
- * const command = new AttachLoadBalancerToSubnetsCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link AttachLoadBalancerToSubnetsCommandInput} for command's `input` shape.
43
- * @see {@link AttachLoadBalancerToSubnetsCommandOutput} for command's `response` shape.
44
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class AttachLoadBalancerToSubnetsCommand extends $Command<
48
- AttachLoadBalancerToSubnetsCommandInput,
49
- AttachLoadBalancerToSubnetsCommandOutput,
50
- ElasticLoadBalancingClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: AttachLoadBalancerToSubnetsCommandInput) {
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<AttachLoadBalancerToSubnetsCommandInput, AttachLoadBalancerToSubnetsCommandOutput> {
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 = "AttachLoadBalancerToSubnetsCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: AttachLoadBalancerToSubnetsInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: AttachLoadBalancerToSubnetsOutput.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: AttachLoadBalancerToSubnetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_queryAttachLoadBalancerToSubnetsCommand(input, context);
93
- }
94
-
95
- private deserialize(
96
- output: __HttpResponse,
97
- context: __SerdeContext
98
- ): Promise<AttachLoadBalancerToSubnetsCommandOutput> {
99
- return deserializeAws_queryAttachLoadBalancerToSubnetsCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }
@@ -1,100 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { ConfigureHealthCheckInput, ConfigureHealthCheckOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryConfigureHealthCheckCommand,
9
- serializeAws_queryConfigureHealthCheckCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ConfigureHealthCheckCommandInput extends ConfigureHealthCheckInput {}
25
- export interface ConfigureHealthCheckCommandOutput extends ConfigureHealthCheckOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Specifies the health check settings to use when evaluating the health state of your EC2 instances.</p>
29
- * <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>
30
- * in the <i>Classic Load Balancers Guide</i>.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { ElasticLoadBalancingClient, ConfigureHealthCheckCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
35
- * // const { ElasticLoadBalancingClient, ConfigureHealthCheckCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
36
- * const client = new ElasticLoadBalancingClient(config);
37
- * const command = new ConfigureHealthCheckCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link ConfigureHealthCheckCommandInput} for command's `input` shape.
42
- * @see {@link ConfigureHealthCheckCommandOutput} for command's `response` shape.
43
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class ConfigureHealthCheckCommand extends $Command<
47
- ConfigureHealthCheckCommandInput,
48
- ConfigureHealthCheckCommandOutput,
49
- ElasticLoadBalancingClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: ConfigureHealthCheckCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: ElasticLoadBalancingClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<ConfigureHealthCheckCommandInput, ConfigureHealthCheckCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "ElasticLoadBalancingClient";
74
- const commandName = "ConfigureHealthCheckCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: ConfigureHealthCheckInput.filterSensitiveLog,
80
- outputFilterSensitiveLog: ConfigureHealthCheckOutput.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: ConfigureHealthCheckCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_queryConfigureHealthCheckCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ConfigureHealthCheckCommandOutput> {
95
- return deserializeAws_queryConfigureHealthCheckCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,114 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { CreateAppCookieStickinessPolicyInput, CreateAppCookieStickinessPolicyOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryCreateAppCookieStickinessPolicyCommand,
9
- serializeAws_queryCreateAppCookieStickinessPolicyCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface CreateAppCookieStickinessPolicyCommandInput extends CreateAppCookieStickinessPolicyInput {}
25
- export interface CreateAppCookieStickinessPolicyCommandOutput
26
- extends CreateAppCookieStickinessPolicyOutput,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <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>
31
- * <p>This policy is similar to the policy created by <a>CreateLBCookieStickinessPolicy</a>,
32
- * except that the lifetime of the special Elastic Load Balancing cookie, <code>AWSELB</code>,
33
- * follows the lifetime of the application-generated cookie specified in the policy configuration.
34
- * The load balancer only inserts a new stickiness cookie when the application response
35
- * includes a new application cookie.</p>
36
- * <p>If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.</p>
37
- * <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>
38
- * in the <i>Classic Load Balancers Guide</i>.</p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { ElasticLoadBalancingClient, CreateAppCookieStickinessPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
43
- * // const { ElasticLoadBalancingClient, CreateAppCookieStickinessPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
44
- * const client = new ElasticLoadBalancingClient(config);
45
- * const command = new CreateAppCookieStickinessPolicyCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link CreateAppCookieStickinessPolicyCommandInput} for command's `input` shape.
50
- * @see {@link CreateAppCookieStickinessPolicyCommandOutput} for command's `response` shape.
51
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class CreateAppCookieStickinessPolicyCommand extends $Command<
55
- CreateAppCookieStickinessPolicyCommandInput,
56
- CreateAppCookieStickinessPolicyCommandOutput,
57
- ElasticLoadBalancingClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: CreateAppCookieStickinessPolicyCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: ElasticLoadBalancingClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<CreateAppCookieStickinessPolicyCommandInput, CreateAppCookieStickinessPolicyCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "ElasticLoadBalancingClient";
82
- const commandName = "CreateAppCookieStickinessPolicyCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: CreateAppCookieStickinessPolicyInput.filterSensitiveLog,
88
- outputFilterSensitiveLog: CreateAppCookieStickinessPolicyOutput.filterSensitiveLog,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(
99
- input: CreateAppCookieStickinessPolicyCommandInput,
100
- context: __SerdeContext
101
- ): Promise<__HttpRequest> {
102
- return serializeAws_queryCreateAppCookieStickinessPolicyCommand(input, context);
103
- }
104
-
105
- private deserialize(
106
- output: __HttpResponse,
107
- context: __SerdeContext
108
- ): Promise<CreateAppCookieStickinessPolicyCommandOutput> {
109
- return deserializeAws_queryCreateAppCookieStickinessPolicyCommand(output, context);
110
- }
111
-
112
- // Start section: command_body_extra
113
- // End section: command_body_extra
114
- }
@@ -1,112 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { CreateLBCookieStickinessPolicyInput, CreateLBCookieStickinessPolicyOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryCreateLBCookieStickinessPolicyCommand,
9
- serializeAws_queryCreateLBCookieStickinessPolicyCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface CreateLBCookieStickinessPolicyCommandInput extends CreateLBCookieStickinessPolicyInput {}
25
- export interface CreateLBCookieStickinessPolicyCommandOutput
26
- extends CreateLBCookieStickinessPolicyOutput,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <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>
31
- * <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.
32
- * 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>
33
- * <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>
34
- *
35
- * <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>
36
- * in the <i>Classic Load Balancers Guide</i>.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { ElasticLoadBalancingClient, CreateLBCookieStickinessPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
41
- * // const { ElasticLoadBalancingClient, CreateLBCookieStickinessPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
42
- * const client = new ElasticLoadBalancingClient(config);
43
- * const command = new CreateLBCookieStickinessPolicyCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link CreateLBCookieStickinessPolicyCommandInput} for command's `input` shape.
48
- * @see {@link CreateLBCookieStickinessPolicyCommandOutput} for command's `response` shape.
49
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- export class CreateLBCookieStickinessPolicyCommand extends $Command<
53
- CreateLBCookieStickinessPolicyCommandInput,
54
- CreateLBCookieStickinessPolicyCommandOutput,
55
- ElasticLoadBalancingClientResolvedConfig
56
- > {
57
- // Start section: command_properties
58
- // End section: command_properties
59
-
60
- constructor(readonly input: CreateLBCookieStickinessPolicyCommandInput) {
61
- // Start section: command_constructor
62
- super();
63
- // End section: command_constructor
64
- }
65
-
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(
70
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
- configuration: ElasticLoadBalancingClientResolvedConfig,
72
- options?: __HttpHandlerOptions
73
- ): Handler<CreateLBCookieStickinessPolicyCommandInput, CreateLBCookieStickinessPolicyCommandOutput> {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "ElasticLoadBalancingClient";
80
- const commandName = "CreateLBCookieStickinessPolicyCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: CreateLBCookieStickinessPolicyInput.filterSensitiveLog,
86
- outputFilterSensitiveLog: CreateLBCookieStickinessPolicyOutput.filterSensitiveLog,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(
97
- input: CreateLBCookieStickinessPolicyCommandInput,
98
- context: __SerdeContext
99
- ): Promise<__HttpRequest> {
100
- return serializeAws_queryCreateLBCookieStickinessPolicyCommand(input, context);
101
- }
102
-
103
- private deserialize(
104
- output: __HttpResponse,
105
- context: __SerdeContext
106
- ): Promise<CreateLBCookieStickinessPolicyCommandOutput> {
107
- return deserializeAws_queryCreateLBCookieStickinessPolicyCommand(output, context);
108
- }
109
-
110
- // Start section: command_body_extra
111
- // End section: command_body_extra
112
- }
@@ -1,111 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { CreateAccessPointInput, CreateAccessPointOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryCreateLoadBalancerCommand,
9
- serializeAws_queryCreateLoadBalancerCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface CreateLoadBalancerCommandInput extends CreateAccessPointInput {}
25
- export interface CreateLoadBalancerCommandOutput extends CreateAccessPointOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Creates a Classic Load Balancer.</p>
29
- *
30
- * <p>You can add listeners, security groups, subnets, and tags when you create your load balancer,
31
- * or you can add them later using <a>CreateLoadBalancerListeners</a>,
32
- * <a>ApplySecurityGroupsToLoadBalancer</a>, <a>AttachLoadBalancerToSubnets</a>,
33
- * and <a>AddTags</a>.</p>
34
- * <p>To describe your current load balancers, see <a>DescribeLoadBalancers</a>.
35
- * When you are finished with a load balancer, you can delete it using
36
- * <a>DeleteLoadBalancer</a>.</p>
37
- *
38
- * <p>You can create up to 20 load balancers per region per account.
39
- * You can request an increase for the number of load balancers for your account.
40
- * For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html">Limits for Your Classic Load Balancer</a>
41
- * in the <i>Classic Load Balancers Guide</i>.</p>
42
- * @example
43
- * Use a bare-bones client and the command you need to make an API call.
44
- * ```javascript
45
- * import { ElasticLoadBalancingClient, CreateLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
46
- * // const { ElasticLoadBalancingClient, CreateLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
47
- * const client = new ElasticLoadBalancingClient(config);
48
- * const command = new CreateLoadBalancerCommand(input);
49
- * const response = await client.send(command);
50
- * ```
51
- *
52
- * @see {@link CreateLoadBalancerCommandInput} for command's `input` shape.
53
- * @see {@link CreateLoadBalancerCommandOutput} for command's `response` shape.
54
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
55
- *
56
- */
57
- export class CreateLoadBalancerCommand extends $Command<
58
- CreateLoadBalancerCommandInput,
59
- CreateLoadBalancerCommandOutput,
60
- ElasticLoadBalancingClientResolvedConfig
61
- > {
62
- // Start section: command_properties
63
- // End section: command_properties
64
-
65
- constructor(readonly input: CreateLoadBalancerCommandInput) {
66
- // Start section: command_constructor
67
- super();
68
- // End section: command_constructor
69
- }
70
-
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(
75
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
76
- configuration: ElasticLoadBalancingClientResolvedConfig,
77
- options?: __HttpHandlerOptions
78
- ): Handler<CreateLoadBalancerCommandInput, CreateLoadBalancerCommandOutput> {
79
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
80
-
81
- const stack = clientStack.concat(this.middlewareStack);
82
-
83
- const { logger } = configuration;
84
- const clientName = "ElasticLoadBalancingClient";
85
- const commandName = "CreateLoadBalancerCommand";
86
- const handlerExecutionContext: HandlerExecutionContext = {
87
- logger,
88
- clientName,
89
- commandName,
90
- inputFilterSensitiveLog: CreateAccessPointInput.filterSensitiveLog,
91
- outputFilterSensitiveLog: CreateAccessPointOutput.filterSensitiveLog,
92
- };
93
- const { requestHandler } = configuration;
94
- return stack.resolve(
95
- (request: FinalizeHandlerArguments<any>) =>
96
- requestHandler.handle(request.request as __HttpRequest, options || {}),
97
- handlerExecutionContext
98
- );
99
- }
100
-
101
- private serialize(input: CreateLoadBalancerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
102
- return serializeAws_queryCreateLoadBalancerCommand(input, context);
103
- }
104
-
105
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLoadBalancerCommandOutput> {
106
- return deserializeAws_queryCreateLoadBalancerCommand(output, context);
107
- }
108
-
109
- // Start section: command_body_extra
110
- // End section: command_body_extra
111
- }
@@ -1,103 +0,0 @@
1
- import {
2
- ElasticLoadBalancingClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ElasticLoadBalancingClient";
6
- import { CreateLoadBalancerListenerInput, CreateLoadBalancerListenerOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_queryCreateLoadBalancerListenersCommand,
9
- serializeAws_queryCreateLoadBalancerListenersCommand,
10
- } from "../protocols/Aws_query";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface CreateLoadBalancerListenersCommandInput extends CreateLoadBalancerListenerInput {}
25
- export interface CreateLoadBalancerListenersCommandOutput extends CreateLoadBalancerListenerOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <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>
29
- * <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>
30
- * in the <i>Classic Load Balancers Guide</i>.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { ElasticLoadBalancingClient, CreateLoadBalancerListenersCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
35
- * // const { ElasticLoadBalancingClient, CreateLoadBalancerListenersCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
36
- * const client = new ElasticLoadBalancingClient(config);
37
- * const command = new CreateLoadBalancerListenersCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link CreateLoadBalancerListenersCommandInput} for command's `input` shape.
42
- * @see {@link CreateLoadBalancerListenersCommandOutput} for command's `response` shape.
43
- * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class CreateLoadBalancerListenersCommand extends $Command<
47
- CreateLoadBalancerListenersCommandInput,
48
- CreateLoadBalancerListenersCommandOutput,
49
- ElasticLoadBalancingClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: CreateLoadBalancerListenersCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: ElasticLoadBalancingClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<CreateLoadBalancerListenersCommandInput, CreateLoadBalancerListenersCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "ElasticLoadBalancingClient";
74
- const commandName = "CreateLoadBalancerListenersCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: CreateLoadBalancerListenerInput.filterSensitiveLog,
80
- outputFilterSensitiveLog: CreateLoadBalancerListenerOutput.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: CreateLoadBalancerListenersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_queryCreateLoadBalancerListenersCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<CreateLoadBalancerListenersCommandOutput> {
98
- return deserializeAws_queryCreateLoadBalancerListenersCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }