@aws-sdk/client-elastic-load-balancing-v2 3.181.0 → 3.183.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 (54) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/ElasticLoadBalancingV2.js +138 -145
  3. package/dist-es/ElasticLoadBalancingV2Client.js +22 -28
  4. package/dist-es/commands/AddListenerCertificatesCommand.js +21 -28
  5. package/dist-es/commands/AddTagsCommand.js +21 -28
  6. package/dist-es/commands/CreateListenerCommand.js +21 -28
  7. package/dist-es/commands/CreateLoadBalancerCommand.js +21 -28
  8. package/dist-es/commands/CreateRuleCommand.js +21 -28
  9. package/dist-es/commands/CreateTargetGroupCommand.js +21 -28
  10. package/dist-es/commands/DeleteListenerCommand.js +21 -28
  11. package/dist-es/commands/DeleteLoadBalancerCommand.js +21 -28
  12. package/dist-es/commands/DeleteRuleCommand.js +21 -28
  13. package/dist-es/commands/DeleteTargetGroupCommand.js +21 -28
  14. package/dist-es/commands/DeregisterTargetsCommand.js +21 -28
  15. package/dist-es/commands/DescribeAccountLimitsCommand.js +21 -28
  16. package/dist-es/commands/DescribeListenerCertificatesCommand.js +21 -28
  17. package/dist-es/commands/DescribeListenersCommand.js +21 -28
  18. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +21 -28
  19. package/dist-es/commands/DescribeLoadBalancersCommand.js +21 -28
  20. package/dist-es/commands/DescribeRulesCommand.js +21 -28
  21. package/dist-es/commands/DescribeSSLPoliciesCommand.js +21 -28
  22. package/dist-es/commands/DescribeTagsCommand.js +21 -28
  23. package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +21 -28
  24. package/dist-es/commands/DescribeTargetGroupsCommand.js +21 -28
  25. package/dist-es/commands/DescribeTargetHealthCommand.js +21 -28
  26. package/dist-es/commands/ModifyListenerCommand.js +21 -28
  27. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +21 -28
  28. package/dist-es/commands/ModifyRuleCommand.js +21 -28
  29. package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +21 -28
  30. package/dist-es/commands/ModifyTargetGroupCommand.js +21 -28
  31. package/dist-es/commands/RegisterTargetsCommand.js +21 -28
  32. package/dist-es/commands/RemoveListenerCertificatesCommand.js +21 -28
  33. package/dist-es/commands/RemoveTagsCommand.js +21 -28
  34. package/dist-es/commands/SetIpAddressTypeCommand.js +21 -28
  35. package/dist-es/commands/SetRulePrioritiesCommand.js +21 -28
  36. package/dist-es/commands/SetSecurityGroupsCommand.js +21 -28
  37. package/dist-es/commands/SetSubnetsCommand.js +21 -28
  38. package/dist-es/endpoints.js +8 -8
  39. package/dist-es/models/ElasticLoadBalancingV2ServiceException.js +5 -10
  40. package/dist-es/models/models_0.js +796 -587
  41. package/dist-es/pagination/DescribeListenersPaginator.js +24 -67
  42. package/dist-es/pagination/DescribeLoadBalancersPaginator.js +24 -67
  43. package/dist-es/pagination/DescribeTargetGroupsPaginator.js +24 -67
  44. package/dist-es/protocols/Aws_query.js +3070 -4090
  45. package/dist-es/runtimeConfig.browser.js +26 -12
  46. package/dist-es/runtimeConfig.js +30 -12
  47. package/dist-es/runtimeConfig.native.js +8 -5
  48. package/dist-es/runtimeConfig.shared.js +8 -11
  49. package/dist-es/waiters/waitForLoadBalancerAvailable.js +52 -93
  50. package/dist-es/waiters/waitForLoadBalancerExists.js +23 -42
  51. package/dist-es/waiters/waitForLoadBalancersDeleted.js +38 -69
  52. package/dist-es/waiters/waitForTargetDeregistered.js +38 -69
  53. package/dist-es/waiters/waitForTargetInService.js +38 -69
  54. package/package.json +34 -34
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeTargetGroupAttributesInputFilterSensitiveLog, DescribeTargetGroupAttributesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeTargetGroupAttributesCommand, serializeAws_queryDescribeTargetGroupAttributesCommand, } from "../protocols/Aws_query";
6
- var DescribeTargetGroupAttributesCommand = (function (_super) {
7
- __extends(DescribeTargetGroupAttributesCommand, _super);
8
- function DescribeTargetGroupAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeTargetGroupAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeTargetGroupAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "DescribeTargetGroupAttributesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "DescribeTargetGroupAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeTargetGroupAttributesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeTargetGroupAttributesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeTargetGroupAttributesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeTargetGroupAttributesCommand(input, context);
33
- };
34
- DescribeTargetGroupAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeTargetGroupAttributesCommand(output, context);
36
- };
37
- return DescribeTargetGroupAttributesCommand;
38
- }($Command));
39
- export { DescribeTargetGroupAttributesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeTargetGroupsInputFilterSensitiveLog, DescribeTargetGroupsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeTargetGroupsCommand, serializeAws_queryDescribeTargetGroupsCommand, } from "../protocols/Aws_query";
6
- var DescribeTargetGroupsCommand = (function (_super) {
7
- __extends(DescribeTargetGroupsCommand, _super);
8
- function DescribeTargetGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeTargetGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeTargetGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "DescribeTargetGroupsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "DescribeTargetGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeTargetGroupsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeTargetGroupsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeTargetGroupsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeTargetGroupsCommand(input, context);
33
- };
34
- DescribeTargetGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeTargetGroupsCommand(output, context);
36
- };
37
- return DescribeTargetGroupsCommand;
38
- }($Command));
39
- export { DescribeTargetGroupsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeTargetHealthInputFilterSensitiveLog, DescribeTargetHealthOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeTargetHealthCommand, serializeAws_queryDescribeTargetHealthCommand, } from "../protocols/Aws_query";
6
- var DescribeTargetHealthCommand = (function (_super) {
7
- __extends(DescribeTargetHealthCommand, _super);
8
- function DescribeTargetHealthCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeTargetHealthCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeTargetHealthCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "DescribeTargetHealthCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "DescribeTargetHealthCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeTargetHealthInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeTargetHealthOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeTargetHealthCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeTargetHealthCommand(input, context);
33
- };
34
- DescribeTargetHealthCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeTargetHealthCommand(output, context);
36
- };
37
- return DescribeTargetHealthCommand;
38
- }($Command));
39
- export { DescribeTargetHealthCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ModifyListenerInputFilterSensitiveLog, ModifyListenerOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryModifyListenerCommand, serializeAws_queryModifyListenerCommand, } from "../protocols/Aws_query";
6
- var ModifyListenerCommand = (function (_super) {
7
- __extends(ModifyListenerCommand, _super);
8
- function ModifyListenerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ModifyListenerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ModifyListenerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "ModifyListenerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "ModifyListenerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ModifyListenerInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ModifyListenerOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ModifyListenerCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryModifyListenerCommand(input, context);
33
- };
34
- ModifyListenerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryModifyListenerCommand(output, context);
36
- };
37
- return ModifyListenerCommand;
38
- }($Command));
39
- export { ModifyListenerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ModifyLoadBalancerAttributesInputFilterSensitiveLog, ModifyLoadBalancerAttributesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryModifyLoadBalancerAttributesCommand, serializeAws_queryModifyLoadBalancerAttributesCommand, } from "../protocols/Aws_query";
6
- var ModifyLoadBalancerAttributesCommand = (function (_super) {
7
- __extends(ModifyLoadBalancerAttributesCommand, _super);
8
- function ModifyLoadBalancerAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ModifyLoadBalancerAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ModifyLoadBalancerAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "ModifyLoadBalancerAttributesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "ModifyLoadBalancerAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ModifyLoadBalancerAttributesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ModifyLoadBalancerAttributesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ModifyLoadBalancerAttributesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryModifyLoadBalancerAttributesCommand(input, context);
33
- };
34
- ModifyLoadBalancerAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryModifyLoadBalancerAttributesCommand(output, context);
36
- };
37
- return ModifyLoadBalancerAttributesCommand;
38
- }($Command));
39
- export { ModifyLoadBalancerAttributesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ModifyRuleInputFilterSensitiveLog, ModifyRuleOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryModifyRuleCommand, serializeAws_queryModifyRuleCommand } from "../protocols/Aws_query";
6
- var ModifyRuleCommand = (function (_super) {
7
- __extends(ModifyRuleCommand, _super);
8
- function ModifyRuleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ModifyRuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ModifyRuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "ModifyRuleCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "ModifyRuleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ModifyRuleInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ModifyRuleOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ModifyRuleCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryModifyRuleCommand(input, context);
33
- };
34
- ModifyRuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryModifyRuleCommand(output, context);
36
- };
37
- return ModifyRuleCommand;
38
- }($Command));
39
- export { ModifyRuleCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ModifyTargetGroupAttributesInputFilterSensitiveLog, ModifyTargetGroupAttributesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryModifyTargetGroupAttributesCommand, serializeAws_queryModifyTargetGroupAttributesCommand, } from "../protocols/Aws_query";
6
- var ModifyTargetGroupAttributesCommand = (function (_super) {
7
- __extends(ModifyTargetGroupAttributesCommand, _super);
8
- function ModifyTargetGroupAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ModifyTargetGroupAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ModifyTargetGroupAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "ModifyTargetGroupAttributesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "ModifyTargetGroupAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ModifyTargetGroupAttributesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ModifyTargetGroupAttributesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ModifyTargetGroupAttributesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryModifyTargetGroupAttributesCommand(input, context);
33
- };
34
- ModifyTargetGroupAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryModifyTargetGroupAttributesCommand(output, context);
36
- };
37
- return ModifyTargetGroupAttributesCommand;
38
- }($Command));
39
- export { ModifyTargetGroupAttributesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ModifyTargetGroupInputFilterSensitiveLog, ModifyTargetGroupOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryModifyTargetGroupCommand, serializeAws_queryModifyTargetGroupCommand, } from "../protocols/Aws_query";
6
- var ModifyTargetGroupCommand = (function (_super) {
7
- __extends(ModifyTargetGroupCommand, _super);
8
- function ModifyTargetGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ModifyTargetGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ModifyTargetGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "ModifyTargetGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "ModifyTargetGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ModifyTargetGroupInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ModifyTargetGroupOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ModifyTargetGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryModifyTargetGroupCommand(input, context);
33
- };
34
- ModifyTargetGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryModifyTargetGroupCommand(output, context);
36
- };
37
- return ModifyTargetGroupCommand;
38
- }($Command));
39
- export { ModifyTargetGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RegisterTargetsInputFilterSensitiveLog, RegisterTargetsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRegisterTargetsCommand, serializeAws_queryRegisterTargetsCommand, } from "../protocols/Aws_query";
6
- var RegisterTargetsCommand = (function (_super) {
7
- __extends(RegisterTargetsCommand, _super);
8
- function RegisterTargetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RegisterTargetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RegisterTargetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "RegisterTargetsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "RegisterTargetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RegisterTargetsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RegisterTargetsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RegisterTargetsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRegisterTargetsCommand(input, context);
33
- };
34
- RegisterTargetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRegisterTargetsCommand(output, context);
36
- };
37
- return RegisterTargetsCommand;
38
- }($Command));
39
- export { RegisterTargetsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveListenerCertificatesInputFilterSensitiveLog, RemoveListenerCertificatesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRemoveListenerCertificatesCommand, serializeAws_queryRemoveListenerCertificatesCommand, } from "../protocols/Aws_query";
6
- var RemoveListenerCertificatesCommand = (function (_super) {
7
- __extends(RemoveListenerCertificatesCommand, _super);
8
- function RemoveListenerCertificatesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveListenerCertificatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveListenerCertificatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ElasticLoadBalancingV2Client";
18
- var commandName = "RemoveListenerCertificatesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ElasticLoadBalancingV2Client";
15
+ const commandName = "RemoveListenerCertificatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveListenerCertificatesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveListenerCertificatesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveListenerCertificatesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRemoveListenerCertificatesCommand(input, context);
33
- };
34
- RemoveListenerCertificatesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRemoveListenerCertificatesCommand(output, context);
36
- };
37
- return RemoveListenerCertificatesCommand;
38
- }($Command));
39
- export { RemoveListenerCertificatesCommand };
31
+ }
32
+ }