@aws-sdk/client-elastic-load-balancing 3.477.0 → 3.481.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 (125) hide show
  1. package/dist-cjs/commands/AddTagsCommand.js +18 -41
  2. package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +18 -41
  3. package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js +18 -41
  4. package/dist-cjs/commands/ConfigureHealthCheckCommand.js +18 -41
  5. package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +18 -41
  6. package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +18 -41
  7. package/dist-cjs/commands/CreateLoadBalancerCommand.js +18 -41
  8. package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js +18 -41
  9. package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteLoadBalancerCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js +18 -41
  13. package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeInstanceHealthCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeTagsCommand.js +18 -41
  21. package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +18 -41
  22. package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +18 -41
  23. package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +18 -41
  24. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +18 -41
  25. package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +18 -41
  26. package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
  27. package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +18 -41
  28. package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +18 -41
  29. package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +18 -41
  30. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  31. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +2 -23
  32. package/dist-es/commands/AddTagsCommand.js +18 -41
  33. package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js +18 -41
  34. package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js +18 -41
  35. package/dist-es/commands/ConfigureHealthCheckCommand.js +18 -41
  36. package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +18 -41
  37. package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +18 -41
  38. package/dist-es/commands/CreateLoadBalancerCommand.js +18 -41
  39. package/dist-es/commands/CreateLoadBalancerListenersCommand.js +18 -41
  40. package/dist-es/commands/CreateLoadBalancerPolicyCommand.js +18 -41
  41. package/dist-es/commands/DeleteLoadBalancerCommand.js +18 -41
  42. package/dist-es/commands/DeleteLoadBalancerListenersCommand.js +18 -41
  43. package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js +18 -41
  44. package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js +18 -41
  45. package/dist-es/commands/DescribeAccountLimitsCommand.js +18 -41
  46. package/dist-es/commands/DescribeInstanceHealthCommand.js +18 -41
  47. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +18 -41
  48. package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js +18 -41
  49. package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js +18 -41
  50. package/dist-es/commands/DescribeLoadBalancersCommand.js +18 -41
  51. package/dist-es/commands/DescribeTagsCommand.js +18 -41
  52. package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js +18 -41
  53. package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +18 -41
  54. package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +18 -41
  55. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +18 -41
  56. package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +18 -41
  57. package/dist-es/commands/RemoveTagsCommand.js +18 -41
  58. package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js +18 -41
  59. package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +18 -41
  60. package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js +18 -41
  61. package/dist-es/endpoint/EndpointParameters.js +6 -0
  62. package/dist-es/pagination/DescribeLoadBalancersPaginator.js +2 -22
  63. package/dist-types/commands/AddTagsCommand.d.ts +6 -21
  64. package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +6 -21
  65. package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +6 -21
  66. package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +6 -21
  67. package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +6 -21
  69. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +6 -21
  70. package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +6 -21
  71. package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +6 -21
  73. package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +6 -21
  74. package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +6 -21
  75. package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +6 -21
  76. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +6 -21
  77. package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +6 -21
  78. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +6 -21
  79. package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +6 -21
  80. package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +6 -21
  81. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +6 -21
  82. package/dist-types/commands/DescribeTagsCommand.d.ts +6 -21
  83. package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +6 -21
  84. package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -21
  85. package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -21
  86. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +6 -21
  87. package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +6 -21
  88. package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
  89. package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +6 -21
  90. package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +6 -21
  91. package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +6 -21
  92. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  93. package/dist-types/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
  95. package/dist-types/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +12 -24
  97. package/dist-types/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +12 -24
  98. package/dist-types/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +12 -24
  99. package/dist-types/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +12 -24
  102. package/dist-types/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/DeleteLoadBalancerListenersCommand.d.ts +12 -24
  105. package/dist-types/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +12 -24
  106. package/dist-types/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +12 -24
  110. package/dist-types/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +12 -24
  112. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +12 -24
  115. package/dist-types/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +12 -24
  116. package/dist-types/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +12 -24
  117. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +12 -24
  118. package/dist-types/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +12 -24
  119. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +12 -24
  121. package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +12 -24
  122. package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +12 -24
  123. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  124. package/dist-types/ts3.4/pagination/DescribeLoadBalancersPaginator.d.ts +3 -3
  125. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class AddTagsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddTagsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "AddTagsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "AddTags",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_AddTagsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_AddTagsCommand)(output, context);
49
- }
10
+ class AddTagsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "AddTags", {})
22
+ .n("ElasticLoadBalancingClient", "AddTagsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_AddTagsCommand)
25
+ .de(Aws_query_1.de_AddTagsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddTagsCommand = AddTagsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class ApplySecurityGroupsToLoadBalancerCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ApplySecurityGroupsToLoadBalancerCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "ApplySecurityGroupsToLoadBalancerCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "ApplySecurityGroupsToLoadBalancer",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_ApplySecurityGroupsToLoadBalancerCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_ApplySecurityGroupsToLoadBalancerCommand)(output, context);
49
- }
10
+ class ApplySecurityGroupsToLoadBalancerCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "ApplySecurityGroupsToLoadBalancer", {})
22
+ .n("ElasticLoadBalancingClient", "ApplySecurityGroupsToLoadBalancerCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_ApplySecurityGroupsToLoadBalancerCommand)
25
+ .de(Aws_query_1.de_ApplySecurityGroupsToLoadBalancerCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ApplySecurityGroupsToLoadBalancerCommand = ApplySecurityGroupsToLoadBalancerCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class AttachLoadBalancerToSubnetsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AttachLoadBalancerToSubnetsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "AttachLoadBalancerToSubnetsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "AttachLoadBalancerToSubnets",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_AttachLoadBalancerToSubnetsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_AttachLoadBalancerToSubnetsCommand)(output, context);
49
- }
10
+ class AttachLoadBalancerToSubnetsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "AttachLoadBalancerToSubnets", {})
22
+ .n("ElasticLoadBalancingClient", "AttachLoadBalancerToSubnetsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_AttachLoadBalancerToSubnetsCommand)
25
+ .de(Aws_query_1.de_AttachLoadBalancerToSubnetsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AttachLoadBalancerToSubnetsCommand = AttachLoadBalancerToSubnetsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class ConfigureHealthCheckCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ConfigureHealthCheckCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "ConfigureHealthCheckCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "ConfigureHealthCheck",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_ConfigureHealthCheckCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_ConfigureHealthCheckCommand)(output, context);
49
- }
10
+ class ConfigureHealthCheckCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "ConfigureHealthCheck", {})
22
+ .n("ElasticLoadBalancingClient", "ConfigureHealthCheckCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_ConfigureHealthCheckCommand)
25
+ .de(Aws_query_1.de_ConfigureHealthCheckCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ConfigureHealthCheckCommand = ConfigureHealthCheckCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class CreateAppCookieStickinessPolicyCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAppCookieStickinessPolicyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "CreateAppCookieStickinessPolicyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "CreateAppCookieStickinessPolicy",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_CreateAppCookieStickinessPolicyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_CreateAppCookieStickinessPolicyCommand)(output, context);
49
- }
10
+ class CreateAppCookieStickinessPolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "CreateAppCookieStickinessPolicy", {})
22
+ .n("ElasticLoadBalancingClient", "CreateAppCookieStickinessPolicyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_CreateAppCookieStickinessPolicyCommand)
25
+ .de(Aws_query_1.de_CreateAppCookieStickinessPolicyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateAppCookieStickinessPolicyCommand = CreateAppCookieStickinessPolicyCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class CreateLBCookieStickinessPolicyCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLBCookieStickinessPolicyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "CreateLBCookieStickinessPolicyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "CreateLBCookieStickinessPolicy",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_CreateLBCookieStickinessPolicyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_CreateLBCookieStickinessPolicyCommand)(output, context);
49
- }
10
+ class CreateLBCookieStickinessPolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "CreateLBCookieStickinessPolicy", {})
22
+ .n("ElasticLoadBalancingClient", "CreateLBCookieStickinessPolicyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_CreateLBCookieStickinessPolicyCommand)
25
+ .de(Aws_query_1.de_CreateLBCookieStickinessPolicyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateLBCookieStickinessPolicyCommand = CreateLBCookieStickinessPolicyCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class CreateLoadBalancerCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLoadBalancerCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "CreateLoadBalancerCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "CreateLoadBalancer",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_CreateLoadBalancerCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_CreateLoadBalancerCommand)(output, context);
49
- }
10
+ class CreateLoadBalancerCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "CreateLoadBalancer", {})
22
+ .n("ElasticLoadBalancingClient", "CreateLoadBalancerCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_CreateLoadBalancerCommand)
25
+ .de(Aws_query_1.de_CreateLoadBalancerCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateLoadBalancerCommand = CreateLoadBalancerCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class CreateLoadBalancerListenersCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLoadBalancerListenersCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "CreateLoadBalancerListenersCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "CreateLoadBalancerListeners",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_CreateLoadBalancerListenersCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_CreateLoadBalancerListenersCommand)(output, context);
49
- }
10
+ class CreateLoadBalancerListenersCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "CreateLoadBalancerListeners", {})
22
+ .n("ElasticLoadBalancingClient", "CreateLoadBalancerListenersCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_CreateLoadBalancerListenersCommand)
25
+ .de(Aws_query_1.de_CreateLoadBalancerListenersCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateLoadBalancerListenersCommand = CreateLoadBalancerListenersCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
- class CreateLoadBalancerPolicyCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLoadBalancerPolicyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ElasticLoadBalancingClient";
29
- const commandName = "CreateLoadBalancerPolicyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticLoadBalancing_v7",
38
- operation: "CreateLoadBalancerPolicy",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_query_1.se_CreateLoadBalancerPolicyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_CreateLoadBalancerPolicyCommand)(output, context);
49
- }
10
+ class CreateLoadBalancerPolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticLoadBalancing_v7", "CreateLoadBalancerPolicy", {})
22
+ .n("ElasticLoadBalancingClient", "CreateLoadBalancerPolicyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_CreateLoadBalancerPolicyCommand)
25
+ .de(Aws_query_1.de_CreateLoadBalancerPolicyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateLoadBalancerPolicyCommand = CreateLoadBalancerPolicyCommand;