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