@aws-sdk/client-elastic-load-balancing 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 (44) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist-cjs/protocols/Aws_query.js +154 -146
  3. package/dist-es/ElasticLoadBalancing.js +118 -125
  4. package/dist-es/ElasticLoadBalancingClient.js +22 -28
  5. package/dist-es/commands/AddTagsCommand.js +21 -28
  6. package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js +21 -28
  7. package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js +21 -28
  8. package/dist-es/commands/ConfigureHealthCheckCommand.js +21 -28
  9. package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +21 -28
  10. package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +21 -28
  11. package/dist-es/commands/CreateLoadBalancerCommand.js +21 -28
  12. package/dist-es/commands/CreateLoadBalancerListenersCommand.js +21 -28
  13. package/dist-es/commands/CreateLoadBalancerPolicyCommand.js +21 -28
  14. package/dist-es/commands/DeleteLoadBalancerCommand.js +21 -28
  15. package/dist-es/commands/DeleteLoadBalancerListenersCommand.js +21 -28
  16. package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js +21 -28
  17. package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js +21 -28
  18. package/dist-es/commands/DescribeAccountLimitsCommand.js +21 -28
  19. package/dist-es/commands/DescribeInstanceHealthCommand.js +21 -28
  20. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +21 -28
  21. package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js +21 -28
  22. package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js +21 -28
  23. package/dist-es/commands/DescribeLoadBalancersCommand.js +21 -28
  24. package/dist-es/commands/DescribeTagsCommand.js +21 -28
  25. package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js +21 -28
  26. package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +21 -28
  27. package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +21 -28
  28. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +21 -28
  29. package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +21 -28
  30. package/dist-es/commands/RemoveTagsCommand.js +21 -28
  31. package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js +21 -28
  32. package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +21 -28
  33. package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/ElasticLoadBalancingServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +516 -349
  37. package/dist-es/pagination/DescribeLoadBalancersPaginator.js +24 -67
  38. package/dist-es/protocols/Aws_query.js +2194 -2909
  39. package/dist-es/runtimeConfig.browser.js +26 -12
  40. package/dist-es/runtimeConfig.js +30 -12
  41. package/dist-es/runtimeConfig.native.js +8 -5
  42. package/dist-es/runtimeConfig.shared.js +8 -11
  43. package/dist-es/waiters/waitForAnyInstanceInService.js +33 -64
  44. 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 { DetachLoadBalancerFromSubnetsInputFilterSensitiveLog, DetachLoadBalancerFromSubnetsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDetachLoadBalancerFromSubnetsCommand, serializeAws_queryDetachLoadBalancerFromSubnetsCommand, } from "../protocols/Aws_query";
6
- var DetachLoadBalancerFromSubnetsCommand = (function (_super) {
7
- __extends(DetachLoadBalancerFromSubnetsCommand, _super);
8
- function DetachLoadBalancerFromSubnetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DetachLoadBalancerFromSubnetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DetachLoadBalancerFromSubnetsCommand.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 = "ElasticLoadBalancingClient";
18
- var commandName = "DetachLoadBalancerFromSubnetsCommand";
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 = "ElasticLoadBalancingClient";
15
+ const commandName = "DetachLoadBalancerFromSubnetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DetachLoadBalancerFromSubnetsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DetachLoadBalancerFromSubnetsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DetachLoadBalancerFromSubnetsCommand.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_queryDetachLoadBalancerFromSubnetsCommand(input, context);
33
- };
34
- DetachLoadBalancerFromSubnetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDetachLoadBalancerFromSubnetsCommand(output, context);
36
- };
37
- return DetachLoadBalancerFromSubnetsCommand;
38
- }($Command));
39
- export { DetachLoadBalancerFromSubnetsCommand };
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 { RemoveAvailabilityZonesInputFilterSensitiveLog, RemoveAvailabilityZonesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand, serializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand, } from "../protocols/Aws_query";
6
- var DisableAvailabilityZonesForLoadBalancerCommand = (function (_super) {
7
- __extends(DisableAvailabilityZonesForLoadBalancerCommand, _super);
8
- function DisableAvailabilityZonesForLoadBalancerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisableAvailabilityZonesForLoadBalancerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisableAvailabilityZonesForLoadBalancerCommand.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 = "ElasticLoadBalancingClient";
18
- var commandName = "DisableAvailabilityZonesForLoadBalancerCommand";
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 = "ElasticLoadBalancingClient";
15
+ const commandName = "DisableAvailabilityZonesForLoadBalancerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveAvailabilityZonesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveAvailabilityZonesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisableAvailabilityZonesForLoadBalancerCommand.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_queryDisableAvailabilityZonesForLoadBalancerCommand(input, context);
33
- };
34
- DisableAvailabilityZonesForLoadBalancerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand(output, context);
36
- };
37
- return DisableAvailabilityZonesForLoadBalancerCommand;
38
- }($Command));
39
- export { DisableAvailabilityZonesForLoadBalancerCommand };
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 { AddAvailabilityZonesInputFilterSensitiveLog, AddAvailabilityZonesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand, serializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand, } from "../protocols/Aws_query";
6
- var EnableAvailabilityZonesForLoadBalancerCommand = (function (_super) {
7
- __extends(EnableAvailabilityZonesForLoadBalancerCommand, _super);
8
- function EnableAvailabilityZonesForLoadBalancerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class EnableAvailabilityZonesForLoadBalancerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- EnableAvailabilityZonesForLoadBalancerCommand.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 = "ElasticLoadBalancingClient";
18
- var commandName = "EnableAvailabilityZonesForLoadBalancerCommand";
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 = "ElasticLoadBalancingClient";
15
+ const commandName = "EnableAvailabilityZonesForLoadBalancerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddAvailabilityZonesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddAvailabilityZonesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- EnableAvailabilityZonesForLoadBalancerCommand.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_queryEnableAvailabilityZonesForLoadBalancerCommand(input, context);
33
- };
34
- EnableAvailabilityZonesForLoadBalancerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand(output, context);
36
- };
37
- return EnableAvailabilityZonesForLoadBalancerCommand;
38
- }($Command));
39
- export { EnableAvailabilityZonesForLoadBalancerCommand };
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 = "ElasticLoadBalancingClient";
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 = "ElasticLoadBalancingClient";
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 { RegisterEndPointsInputFilterSensitiveLog, RegisterEndPointsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRegisterInstancesWithLoadBalancerCommand, serializeAws_queryRegisterInstancesWithLoadBalancerCommand, } from "../protocols/Aws_query";
6
- var RegisterInstancesWithLoadBalancerCommand = (function (_super) {
7
- __extends(RegisterInstancesWithLoadBalancerCommand, _super);
8
- function RegisterInstancesWithLoadBalancerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RegisterInstancesWithLoadBalancerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RegisterInstancesWithLoadBalancerCommand.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 = "ElasticLoadBalancingClient";
18
- var commandName = "RegisterInstancesWithLoadBalancerCommand";
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 = "ElasticLoadBalancingClient";
15
+ const commandName = "RegisterInstancesWithLoadBalancerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RegisterEndPointsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RegisterEndPointsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RegisterInstancesWithLoadBalancerCommand.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_queryRegisterInstancesWithLoadBalancerCommand(input, context);
33
- };
34
- RegisterInstancesWithLoadBalancerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRegisterInstancesWithLoadBalancerCommand(output, context);
36
- };
37
- return RegisterInstancesWithLoadBalancerCommand;
38
- }($Command));
39
- export { RegisterInstancesWithLoadBalancerCommand };
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 { RemoveTagsInputFilterSensitiveLog, RemoveTagsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRemoveTagsCommand, serializeAws_queryRemoveTagsCommand } from "../protocols/Aws_query";
6
- var RemoveTagsCommand = (function (_super) {
7
- __extends(RemoveTagsCommand, _super);
8
- function RemoveTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveTagsCommand.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 = "ElasticLoadBalancingClient";
18
- var commandName = "RemoveTagsCommand";
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 = "ElasticLoadBalancingClient";
15
+ const commandName = "RemoveTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveTagsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveTagsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveTagsCommand.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_queryRemoveTagsCommand(input, context);
33
- };
34
- RemoveTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRemoveTagsCommand(output, context);
36
- };
37
- return RemoveTagsCommand;
38
- }($Command));
39
- export { RemoveTagsCommand };
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 { SetLoadBalancerListenerSSLCertificateInputFilterSensitiveLog, SetLoadBalancerListenerSSLCertificateOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_querySetLoadBalancerListenerSSLCertificateCommand, serializeAws_querySetLoadBalancerListenerSSLCertificateCommand, } from "../protocols/Aws_query";
6
- var SetLoadBalancerListenerSSLCertificateCommand = (function (_super) {
7
- __extends(SetLoadBalancerListenerSSLCertificateCommand, _super);
8
- function SetLoadBalancerListenerSSLCertificateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SetLoadBalancerListenerSSLCertificateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SetLoadBalancerListenerSSLCertificateCommand.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 = "ElasticLoadBalancingClient";
18
- var commandName = "SetLoadBalancerListenerSSLCertificateCommand";
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 = "ElasticLoadBalancingClient";
15
+ const commandName = "SetLoadBalancerListenerSSLCertificateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SetLoadBalancerListenerSSLCertificateInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SetLoadBalancerListenerSSLCertificateOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SetLoadBalancerListenerSSLCertificateCommand.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_querySetLoadBalancerListenerSSLCertificateCommand(input, context);
33
- };
34
- SetLoadBalancerListenerSSLCertificateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_querySetLoadBalancerListenerSSLCertificateCommand(output, context);
36
- };
37
- return SetLoadBalancerListenerSSLCertificateCommand;
38
- }($Command));
39
- export { SetLoadBalancerListenerSSLCertificateCommand };
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 { SetLoadBalancerPoliciesForBackendServerInputFilterSensitiveLog, SetLoadBalancerPoliciesForBackendServerOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommand, serializeAws_querySetLoadBalancerPoliciesForBackendServerCommand, } from "../protocols/Aws_query";
6
- var SetLoadBalancerPoliciesForBackendServerCommand = (function (_super) {
7
- __extends(SetLoadBalancerPoliciesForBackendServerCommand, _super);
8
- function SetLoadBalancerPoliciesForBackendServerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SetLoadBalancerPoliciesForBackendServerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SetLoadBalancerPoliciesForBackendServerCommand.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 = "ElasticLoadBalancingClient";
18
- var commandName = "SetLoadBalancerPoliciesForBackendServerCommand";
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 = "ElasticLoadBalancingClient";
15
+ const commandName = "SetLoadBalancerPoliciesForBackendServerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SetLoadBalancerPoliciesForBackendServerInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SetLoadBalancerPoliciesForBackendServerOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SetLoadBalancerPoliciesForBackendServerCommand.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_querySetLoadBalancerPoliciesForBackendServerCommand(input, context);
33
- };
34
- SetLoadBalancerPoliciesForBackendServerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommand(output, context);
36
- };
37
- return SetLoadBalancerPoliciesForBackendServerCommand;
38
- }($Command));
39
- export { SetLoadBalancerPoliciesForBackendServerCommand };
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 { SetLoadBalancerPoliciesOfListenerInputFilterSensitiveLog, SetLoadBalancerPoliciesOfListenerOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_querySetLoadBalancerPoliciesOfListenerCommand, serializeAws_querySetLoadBalancerPoliciesOfListenerCommand, } from "../protocols/Aws_query";
6
- var SetLoadBalancerPoliciesOfListenerCommand = (function (_super) {
7
- __extends(SetLoadBalancerPoliciesOfListenerCommand, _super);
8
- function SetLoadBalancerPoliciesOfListenerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SetLoadBalancerPoliciesOfListenerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SetLoadBalancerPoliciesOfListenerCommand.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 = "ElasticLoadBalancingClient";
18
- var commandName = "SetLoadBalancerPoliciesOfListenerCommand";
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 = "ElasticLoadBalancingClient";
15
+ const commandName = "SetLoadBalancerPoliciesOfListenerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SetLoadBalancerPoliciesOfListenerInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SetLoadBalancerPoliciesOfListenerOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SetLoadBalancerPoliciesOfListenerCommand.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_querySetLoadBalancerPoliciesOfListenerCommand(input, context);
33
- };
34
- SetLoadBalancerPoliciesOfListenerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_querySetLoadBalancerPoliciesOfListenerCommand(output, context);
36
- };
37
- return SetLoadBalancerPoliciesOfListenerCommand;
38
- }($Command));
39
- export { SetLoadBalancerPoliciesOfListenerCommand };
31
+ }
32
+ }
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "us-east-1": {
5
4
  variants: [
6
5
  {
@@ -50,7 +49,7 @@ var regionHash = {
50
49
  ],
51
50
  },
52
51
  };
53
- var partitionHash = {
52
+ const partitionHash = {
54
53
  aws: {
55
54
  regions: [
56
55
  "af-south-1",
@@ -174,8 +173,9 @@ var partitionHash = {
174
173
  ],
175
174
  },
176
175
  };
177
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
178
- return __generator(this, function (_a) {
179
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "elasticloadbalancing", regionHash: regionHash, partitionHash: partitionHash }))];
180
- });
181
- }); };
176
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
177
+ ...options,
178
+ signingService: "elasticloadbalancing",
179
+ regionHash,
180
+ partitionHash,
181
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var ElasticLoadBalancingServiceException = (function (_super) {
4
- __extends(ElasticLoadBalancingServiceException, _super);
5
- function ElasticLoadBalancingServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, ElasticLoadBalancingServiceException.prototype);
8
- return _this;
2
+ export class ElasticLoadBalancingServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, ElasticLoadBalancingServiceException.prototype);
9
6
  }
10
- return ElasticLoadBalancingServiceException;
11
- }(__ServiceException));
12
- export { ElasticLoadBalancingServiceException };
7
+ }