@aws-sdk/client-elastic-load-balancing-v2 3.180.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 (55) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist-cjs/protocols/Aws_query.js +191 -183
  3. package/dist-es/ElasticLoadBalancingV2.js +138 -145
  4. package/dist-es/ElasticLoadBalancingV2Client.js +22 -28
  5. package/dist-es/commands/AddListenerCertificatesCommand.js +21 -28
  6. package/dist-es/commands/AddTagsCommand.js +21 -28
  7. package/dist-es/commands/CreateListenerCommand.js +21 -28
  8. package/dist-es/commands/CreateLoadBalancerCommand.js +21 -28
  9. package/dist-es/commands/CreateRuleCommand.js +21 -28
  10. package/dist-es/commands/CreateTargetGroupCommand.js +21 -28
  11. package/dist-es/commands/DeleteListenerCommand.js +21 -28
  12. package/dist-es/commands/DeleteLoadBalancerCommand.js +21 -28
  13. package/dist-es/commands/DeleteRuleCommand.js +21 -28
  14. package/dist-es/commands/DeleteTargetGroupCommand.js +21 -28
  15. package/dist-es/commands/DeregisterTargetsCommand.js +21 -28
  16. package/dist-es/commands/DescribeAccountLimitsCommand.js +21 -28
  17. package/dist-es/commands/DescribeListenerCertificatesCommand.js +21 -28
  18. package/dist-es/commands/DescribeListenersCommand.js +21 -28
  19. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +21 -28
  20. package/dist-es/commands/DescribeLoadBalancersCommand.js +21 -28
  21. package/dist-es/commands/DescribeRulesCommand.js +21 -28
  22. package/dist-es/commands/DescribeSSLPoliciesCommand.js +21 -28
  23. package/dist-es/commands/DescribeTagsCommand.js +21 -28
  24. package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +21 -28
  25. package/dist-es/commands/DescribeTargetGroupsCommand.js +21 -28
  26. package/dist-es/commands/DescribeTargetHealthCommand.js +21 -28
  27. package/dist-es/commands/ModifyListenerCommand.js +21 -28
  28. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +21 -28
  29. package/dist-es/commands/ModifyRuleCommand.js +21 -28
  30. package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +21 -28
  31. package/dist-es/commands/ModifyTargetGroupCommand.js +21 -28
  32. package/dist-es/commands/RegisterTargetsCommand.js +21 -28
  33. package/dist-es/commands/RemoveListenerCertificatesCommand.js +21 -28
  34. package/dist-es/commands/RemoveTagsCommand.js +21 -28
  35. package/dist-es/commands/SetIpAddressTypeCommand.js +21 -28
  36. package/dist-es/commands/SetRulePrioritiesCommand.js +21 -28
  37. package/dist-es/commands/SetSecurityGroupsCommand.js +21 -28
  38. package/dist-es/commands/SetSubnetsCommand.js +21 -28
  39. package/dist-es/endpoints.js +8 -8
  40. package/dist-es/models/ElasticLoadBalancingV2ServiceException.js +5 -10
  41. package/dist-es/models/models_0.js +796 -587
  42. package/dist-es/pagination/DescribeListenersPaginator.js +24 -67
  43. package/dist-es/pagination/DescribeLoadBalancersPaginator.js +24 -67
  44. package/dist-es/pagination/DescribeTargetGroupsPaginator.js +24 -67
  45. package/dist-es/protocols/Aws_query.js +3070 -4075
  46. package/dist-es/runtimeConfig.browser.js +26 -12
  47. package/dist-es/runtimeConfig.js +30 -12
  48. package/dist-es/runtimeConfig.native.js +8 -5
  49. package/dist-es/runtimeConfig.shared.js +8 -11
  50. package/dist-es/waiters/waitForLoadBalancerAvailable.js +52 -93
  51. package/dist-es/waiters/waitForLoadBalancerExists.js +23 -42
  52. package/dist-es/waiters/waitForLoadBalancersDeleted.js +38 -69
  53. package/dist-es/waiters/waitForTargetDeregistered.js +38 -69
  54. package/dist-es/waiters/waitForTargetInService.js +38 -69
  55. 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 { DeleteTargetGroupInputFilterSensitiveLog, DeleteTargetGroupOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteTargetGroupCommand, serializeAws_queryDeleteTargetGroupCommand, } from "../protocols/Aws_query";
6
- var DeleteTargetGroupCommand = (function (_super) {
7
- __extends(DeleteTargetGroupCommand, _super);
8
- function DeleteTargetGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteTargetGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTargetGroupCommand.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 = "DeleteTargetGroupCommand";
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 = "DeleteTargetGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTargetGroupInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteTargetGroupOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteTargetGroupCommand.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_queryDeleteTargetGroupCommand(input, context);
33
- };
34
- DeleteTargetGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteTargetGroupCommand(output, context);
36
- };
37
- return DeleteTargetGroupCommand;
38
- }($Command));
39
- export { DeleteTargetGroupCommand };
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 { DeregisterTargetsInputFilterSensitiveLog, DeregisterTargetsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeregisterTargetsCommand, serializeAws_queryDeregisterTargetsCommand, } from "../protocols/Aws_query";
6
- var DeregisterTargetsCommand = (function (_super) {
7
- __extends(DeregisterTargetsCommand, _super);
8
- function DeregisterTargetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeregisterTargetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeregisterTargetsCommand.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 = "DeregisterTargetsCommand";
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 = "DeregisterTargetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeregisterTargetsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeregisterTargetsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeregisterTargetsCommand.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_queryDeregisterTargetsCommand(input, context);
33
- };
34
- DeregisterTargetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeregisterTargetsCommand(output, context);
36
- };
37
- return DeregisterTargetsCommand;
38
- }($Command));
39
- export { DeregisterTargetsCommand };
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 { DescribeAccountLimitsInputFilterSensitiveLog, DescribeAccountLimitsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeAccountLimitsCommand, serializeAws_queryDescribeAccountLimitsCommand, } from "../protocols/Aws_query";
6
- var DescribeAccountLimitsCommand = (function (_super) {
7
- __extends(DescribeAccountLimitsCommand, _super);
8
- function DescribeAccountLimitsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAccountLimitsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAccountLimitsCommand.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 = "DescribeAccountLimitsCommand";
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 = "DescribeAccountLimitsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAccountLimitsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAccountLimitsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAccountLimitsCommand.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_queryDescribeAccountLimitsCommand(input, context);
33
- };
34
- DescribeAccountLimitsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeAccountLimitsCommand(output, context);
36
- };
37
- return DescribeAccountLimitsCommand;
38
- }($Command));
39
- export { DescribeAccountLimitsCommand };
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 { DescribeListenerCertificatesInputFilterSensitiveLog, DescribeListenerCertificatesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeListenerCertificatesCommand, serializeAws_queryDescribeListenerCertificatesCommand, } from "../protocols/Aws_query";
6
- var DescribeListenerCertificatesCommand = (function (_super) {
7
- __extends(DescribeListenerCertificatesCommand, _super);
8
- function DescribeListenerCertificatesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeListenerCertificatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeListenerCertificatesCommand.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 = "DescribeListenerCertificatesCommand";
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 = "DescribeListenerCertificatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeListenerCertificatesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeListenerCertificatesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeListenerCertificatesCommand.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_queryDescribeListenerCertificatesCommand(input, context);
33
- };
34
- DescribeListenerCertificatesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeListenerCertificatesCommand(output, context);
36
- };
37
- return DescribeListenerCertificatesCommand;
38
- }($Command));
39
- export { DescribeListenerCertificatesCommand };
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 { DescribeListenersInputFilterSensitiveLog, DescribeListenersOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeListenersCommand, serializeAws_queryDescribeListenersCommand, } from "../protocols/Aws_query";
6
- var DescribeListenersCommand = (function (_super) {
7
- __extends(DescribeListenersCommand, _super);
8
- function DescribeListenersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeListenersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeListenersCommand.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 = "DescribeListenersCommand";
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 = "DescribeListenersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeListenersInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeListenersOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeListenersCommand.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_queryDescribeListenersCommand(input, context);
33
- };
34
- DescribeListenersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeListenersCommand(output, context);
36
- };
37
- return DescribeListenersCommand;
38
- }($Command));
39
- export { DescribeListenersCommand };
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 { DescribeLoadBalancerAttributesInputFilterSensitiveLog, DescribeLoadBalancerAttributesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeLoadBalancerAttributesCommand, serializeAws_queryDescribeLoadBalancerAttributesCommand, } from "../protocols/Aws_query";
6
- var DescribeLoadBalancerAttributesCommand = (function (_super) {
7
- __extends(DescribeLoadBalancerAttributesCommand, _super);
8
- function DescribeLoadBalancerAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeLoadBalancerAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLoadBalancerAttributesCommand.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 = "DescribeLoadBalancerAttributesCommand";
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 = "DescribeLoadBalancerAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeLoadBalancerAttributesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLoadBalancerAttributesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeLoadBalancerAttributesCommand.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_queryDescribeLoadBalancerAttributesCommand(input, context);
33
- };
34
- DescribeLoadBalancerAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeLoadBalancerAttributesCommand(output, context);
36
- };
37
- return DescribeLoadBalancerAttributesCommand;
38
- }($Command));
39
- export { DescribeLoadBalancerAttributesCommand };
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 { DescribeLoadBalancersInputFilterSensitiveLog, DescribeLoadBalancersOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeLoadBalancersCommand, serializeAws_queryDescribeLoadBalancersCommand, } from "../protocols/Aws_query";
6
- var DescribeLoadBalancersCommand = (function (_super) {
7
- __extends(DescribeLoadBalancersCommand, _super);
8
- function DescribeLoadBalancersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeLoadBalancersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLoadBalancersCommand.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 = "DescribeLoadBalancersCommand";
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 = "DescribeLoadBalancersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeLoadBalancersInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLoadBalancersOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeLoadBalancersCommand.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_queryDescribeLoadBalancersCommand(input, context);
33
- };
34
- DescribeLoadBalancersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeLoadBalancersCommand(output, context);
36
- };
37
- return DescribeLoadBalancersCommand;
38
- }($Command));
39
- export { DescribeLoadBalancersCommand };
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 { DescribeRulesInputFilterSensitiveLog, DescribeRulesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeRulesCommand, serializeAws_queryDescribeRulesCommand, } from "../protocols/Aws_query";
6
- var DescribeRulesCommand = (function (_super) {
7
- __extends(DescribeRulesCommand, _super);
8
- function DescribeRulesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeRulesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeRulesCommand.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 = "DescribeRulesCommand";
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 = "DescribeRulesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeRulesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeRulesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeRulesCommand.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_queryDescribeRulesCommand(input, context);
33
- };
34
- DescribeRulesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeRulesCommand(output, context);
36
- };
37
- return DescribeRulesCommand;
38
- }($Command));
39
- export { DescribeRulesCommand };
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 { DescribeSSLPoliciesInputFilterSensitiveLog, DescribeSSLPoliciesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeSSLPoliciesCommand, serializeAws_queryDescribeSSLPoliciesCommand, } from "../protocols/Aws_query";
6
- var DescribeSSLPoliciesCommand = (function (_super) {
7
- __extends(DescribeSSLPoliciesCommand, _super);
8
- function DescribeSSLPoliciesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSSLPoliciesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSSLPoliciesCommand.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 = "DescribeSSLPoliciesCommand";
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 = "DescribeSSLPoliciesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSSLPoliciesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSSLPoliciesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSSLPoliciesCommand.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_queryDescribeSSLPoliciesCommand(input, context);
33
- };
34
- DescribeSSLPoliciesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeSSLPoliciesCommand(output, context);
36
- };
37
- return DescribeSSLPoliciesCommand;
38
- }($Command));
39
- export { DescribeSSLPoliciesCommand };
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 { DescribeTagsInputFilterSensitiveLog, DescribeTagsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeTagsCommand, serializeAws_queryDescribeTagsCommand } from "../protocols/Aws_query";
6
- var DescribeTagsCommand = (function (_super) {
7
- __extends(DescribeTagsCommand, _super);
8
- function DescribeTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeTagsCommand.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 = "DescribeTagsCommand";
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 = "DescribeTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeTagsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeTagsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeTagsCommand.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_queryDescribeTagsCommand(input, context);
33
- };
34
- DescribeTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeTagsCommand(output, context);
36
- };
37
- return DescribeTagsCommand;
38
- }($Command));
39
- export { DescribeTagsCommand };
31
+ }
32
+ }