@aws-sdk/client-elastic-load-balancing-v2 3.50.0 → 3.53.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 (71) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ElasticLoadBalancingV2ServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +523 -3
  5. package/dist-cjs/protocols/Aws_query.js +398 -1419
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/ElasticLoadBalancingV2ServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +483 -1
  9. package/dist-es/protocols/Aws_query.js +816 -1475
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/ElasticLoadBalancingV2ServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +261 -112
  13. package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +175 -0
  14. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +107 -0
  15. package/dist-types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DescribeListenersCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeRulesCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/ModifyListenerCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/ModifyRuleCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ModifyTargetGroupAttributesCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/SetSubnetsCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  50. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  51. package/dist-types/ts3.4/index.d.ts +7 -0
  52. package/dist-types/ts3.4/models/ElasticLoadBalancingV2ServiceException.d.ts +6 -0
  53. package/dist-types/ts3.4/models/index.d.ts +1 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +750 -0
  55. package/dist-types/ts3.4/pagination/DescribeListenersPaginator.d.ts +4 -0
  56. package/dist-types/ts3.4/pagination/DescribeLoadBalancersPaginator.d.ts +4 -0
  57. package/dist-types/ts3.4/pagination/DescribeTargetGroupsPaginator.d.ts +4 -0
  58. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  59. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  60. package/dist-types/ts3.4/protocols/Aws_query.d.ts +104 -0
  61. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  62. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  64. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  65. package/dist-types/ts3.4/waiters/index.d.ts +5 -0
  66. package/dist-types/ts3.4/waiters/waitForLoadBalancerAvailable.d.ts +7 -0
  67. package/dist-types/ts3.4/waiters/waitForLoadBalancerExists.d.ts +7 -0
  68. package/dist-types/ts3.4/waiters/waitForLoadBalancersDeleted.d.ts +7 -0
  69. package/dist-types/ts3.4/waiters/waitForTargetDeregistered.d.ts +7 -0
  70. package/dist-types/ts3.4/waiters/waitForTargetInService.d.ts +7 -0
  71. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-elastic-load-balancing-v2
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-elastic-load-balancing-v2
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-elastic-load-balancing-v2
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ElasticLoadBalancingV2ServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./ElasticLoadBalancingV2"), exports);
5
6
  tslib_1.__exportStar(require("./ElasticLoadBalancingV2Client"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var ElasticLoadBalancingV2ServiceException_1 = require("./models/ElasticLoadBalancingV2ServiceException");
12
+ Object.defineProperty(exports, "ElasticLoadBalancingV2ServiceException", { enumerable: true, get: function () { return ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ElasticLoadBalancingV2ServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ElasticLoadBalancingV2ServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ElasticLoadBalancingV2ServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ElasticLoadBalancingV2ServiceException = ElasticLoadBalancingV2ServiceException;
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateTargetGroupOutput = exports.TargetGroup = exports.CreateTargetGroupInput = exports.TargetTypeEnum = exports.Matcher = exports.TargetGroupIpAddressTypeEnum = exports.CreateRuleOutput = exports.Rule = exports.CreateRuleInput = exports.RuleCondition = exports.SourceIpConditionConfig = exports.QueryStringConditionConfig = exports.QueryStringKeyValuePair = exports.PathPatternConditionConfig = exports.HttpRequestMethodConditionConfig = exports.HttpHeaderConditionConfig = exports.HostHeaderConditionConfig = exports.CreateLoadBalancerOutput = exports.LoadBalancer = exports.LoadBalancerState = exports.LoadBalancerStateEnum = exports.CreateLoadBalancerInput = exports.LoadBalancerTypeEnum = exports.SubnetMapping = exports.LoadBalancerSchemeEnum = exports.IpAddressType = exports.CreateListenerOutput = exports.Listener = exports.CreateListenerInput = exports.Cipher = exports.AvailabilityZone = exports.LoadBalancerAddress = exports.AddTagsOutput = exports.AddTagsInput = exports.Tag = exports.AddListenerCertificatesOutput = exports.AddListenerCertificatesInput = exports.Certificate = exports.Action = exports.ActionTypeEnum = exports.RedirectActionConfig = exports.RedirectActionStatusCodeEnum = exports.ForwardActionConfig = exports.TargetGroupStickinessConfig = exports.TargetGroupTuple = exports.FixedResponseActionConfig = exports.AuthenticateOidcActionConfig = exports.AuthenticateOidcActionConditionalBehaviorEnum = exports.AuthenticateCognitoActionConfig = exports.AuthenticateCognitoActionConditionalBehaviorEnum = void 0;
4
- exports.ModifyTargetGroupOutput = exports.ModifyTargetGroupInput = exports.ModifyRuleOutput = exports.ModifyRuleInput = exports.ModifyLoadBalancerAttributesOutput = exports.ModifyLoadBalancerAttributesInput = exports.ModifyListenerOutput = exports.ModifyListenerInput = exports.DescribeTargetHealthOutput = exports.TargetHealthDescription = exports.TargetHealth = exports.TargetHealthStateEnum = exports.TargetHealthReasonEnum = exports.DescribeTargetHealthInput = exports.DescribeTargetGroupsOutput = exports.DescribeTargetGroupsInput = exports.DescribeTargetGroupAttributesOutput = exports.TargetGroupAttribute = exports.DescribeTargetGroupAttributesInput = exports.DescribeTagsOutput = exports.TagDescription = exports.DescribeTagsInput = exports.DescribeSSLPoliciesOutput = exports.SslPolicy = exports.DescribeSSLPoliciesInput = exports.DescribeRulesOutput = exports.DescribeRulesInput = exports.DescribeLoadBalancersOutput = exports.DescribeLoadBalancersInput = exports.DescribeLoadBalancerAttributesOutput = exports.LoadBalancerAttribute = exports.DescribeLoadBalancerAttributesInput = exports.DescribeListenersOutput = exports.DescribeListenersInput = exports.DescribeListenerCertificatesOutput = exports.DescribeListenerCertificatesInput = exports.DescribeAccountLimitsOutput = exports.Limit = exports.DescribeAccountLimitsInput = exports.DeregisterTargetsOutput = exports.DeregisterTargetsInput = exports.TargetDescription = exports.DeleteTargetGroupOutput = exports.DeleteTargetGroupInput = exports.DeleteRuleOutput = exports.DeleteRuleInput = exports.DeleteLoadBalancerOutput = exports.DeleteLoadBalancerInput = exports.DeleteListenerOutput = exports.DeleteListenerInput = void 0;
5
- exports.SetSubnetsOutput = exports.SetSubnetsInput = exports.SetSecurityGroupsOutput = exports.SetSecurityGroupsInput = exports.SetRulePrioritiesOutput = exports.SetRulePrioritiesInput = exports.RulePriorityPair = exports.SetIpAddressTypeOutput = exports.SetIpAddressTypeInput = exports.RemoveTagsOutput = exports.RemoveTagsInput = exports.RemoveListenerCertificatesOutput = exports.RemoveListenerCertificatesInput = exports.RegisterTargetsOutput = exports.RegisterTargetsInput = exports.ModifyTargetGroupAttributesOutput = exports.ModifyTargetGroupAttributesInput = void 0;
3
+ exports.SubnetMapping = exports.LoadBalancerSchemeEnum = exports.IpAddressType = exports.UnsupportedProtocolException = exports.TooManyUniqueTargetGroupsPerLoadBalancerException = exports.TooManyTargetsException = exports.TooManyRegistrationsForTargetIdException = exports.TooManyListenersException = exports.TooManyActionsException = exports.TargetGroupAssociationLimitException = exports.SSLPolicyNotFoundException = exports.InvalidLoadBalancerActionException = exports.InvalidConfigurationRequestException = exports.IncompatibleProtocolsException = exports.DuplicateListenerException = exports.CreateListenerOutput = exports.Listener = exports.CreateListenerInput = exports.Cipher = exports.AvailabilityZoneNotSupportedException = exports.AvailabilityZone = exports.LoadBalancerAddress = exports.ALPNPolicyNotSupportedException = exports.AllocationIdNotFoundException = exports.TooManyTagsException = exports.TargetGroupNotFoundException = exports.RuleNotFoundException = exports.LoadBalancerNotFoundException = exports.DuplicateTagKeysException = exports.AddTagsOutput = exports.AddTagsInput = exports.Tag = exports.TooManyCertificatesException = exports.ListenerNotFoundException = exports.CertificateNotFoundException = exports.AddListenerCertificatesOutput = exports.AddListenerCertificatesInput = exports.Certificate = exports.Action = exports.ActionTypeEnum = exports.RedirectActionConfig = exports.RedirectActionStatusCodeEnum = exports.ForwardActionConfig = exports.TargetGroupStickinessConfig = exports.TargetGroupTuple = exports.FixedResponseActionConfig = exports.AuthenticateOidcActionConfig = exports.AuthenticateOidcActionConditionalBehaviorEnum = exports.AuthenticateCognitoActionConfig = exports.AuthenticateCognitoActionConditionalBehaviorEnum = void 0;
4
+ exports.DescribeAccountLimitsOutput = exports.Limit = exports.DescribeAccountLimitsInput = exports.InvalidTargetException = exports.DeregisterTargetsOutput = exports.DeregisterTargetsInput = exports.TargetDescription = exports.DeleteTargetGroupOutput = exports.DeleteTargetGroupInput = exports.DeleteRuleOutput = exports.DeleteRuleInput = exports.DeleteLoadBalancerOutput = exports.DeleteLoadBalancerInput = exports.DeleteListenerOutput = exports.DeleteListenerInput = exports.DuplicateTargetGroupNameException = exports.CreateTargetGroupOutput = exports.TargetGroup = exports.CreateTargetGroupInput = exports.TargetTypeEnum = exports.Matcher = exports.TargetGroupIpAddressTypeEnum = exports.TooManyTargetGroupsException = exports.TooManyRulesException = exports.PriorityInUseException = exports.CreateRuleOutput = exports.Rule = exports.CreateRuleInput = exports.RuleCondition = exports.SourceIpConditionConfig = exports.QueryStringConditionConfig = exports.QueryStringKeyValuePair = exports.PathPatternConditionConfig = exports.HttpRequestMethodConditionConfig = exports.HttpHeaderConditionConfig = exports.HostHeaderConditionConfig = exports.TooManyLoadBalancersException = exports.SubnetNotFoundException = exports.ResourceInUseException = exports.OperationNotPermittedException = exports.InvalidSubnetException = exports.InvalidSecurityGroupException = exports.InvalidSchemeException = exports.DuplicateLoadBalancerNameException = exports.CreateLoadBalancerOutput = exports.LoadBalancer = exports.LoadBalancerState = exports.LoadBalancerStateEnum = exports.CreateLoadBalancerInput = exports.LoadBalancerTypeEnum = void 0;
5
+ exports.SetRulePrioritiesOutput = exports.SetRulePrioritiesInput = exports.RulePriorityPair = exports.SetIpAddressTypeOutput = exports.SetIpAddressTypeInput = exports.RemoveTagsOutput = exports.RemoveTagsInput = exports.RemoveListenerCertificatesOutput = exports.RemoveListenerCertificatesInput = exports.RegisterTargetsOutput = exports.RegisterTargetsInput = exports.ModifyTargetGroupAttributesOutput = exports.ModifyTargetGroupAttributesInput = exports.ModifyTargetGroupOutput = exports.ModifyTargetGroupInput = exports.ModifyRuleOutput = exports.ModifyRuleInput = exports.ModifyLoadBalancerAttributesOutput = exports.ModifyLoadBalancerAttributesInput = exports.ModifyListenerOutput = exports.ModifyListenerInput = exports.HealthUnavailableException = exports.DescribeTargetHealthOutput = exports.TargetHealthDescription = exports.TargetHealth = exports.TargetHealthStateEnum = exports.TargetHealthReasonEnum = exports.DescribeTargetHealthInput = exports.DescribeTargetGroupsOutput = exports.DescribeTargetGroupsInput = exports.DescribeTargetGroupAttributesOutput = exports.TargetGroupAttribute = exports.DescribeTargetGroupAttributesInput = exports.DescribeTagsOutput = exports.TagDescription = exports.DescribeTagsInput = exports.DescribeSSLPoliciesOutput = exports.SslPolicy = exports.DescribeSSLPoliciesInput = exports.DescribeRulesOutput = exports.DescribeRulesInput = exports.DescribeLoadBalancersOutput = exports.DescribeLoadBalancersInput = exports.DescribeLoadBalancerAttributesOutput = exports.LoadBalancerAttribute = exports.DescribeLoadBalancerAttributesInput = exports.DescribeListenersOutput = exports.DescribeListenersInput = exports.DescribeListenerCertificatesOutput = exports.DescribeListenerCertificatesInput = void 0;
6
+ exports.SetSubnetsOutput = exports.SetSubnetsInput = exports.SetSecurityGroupsOutput = exports.SetSecurityGroupsInput = void 0;
7
+ const ElasticLoadBalancingV2ServiceException_1 = require("./ElasticLoadBalancingV2ServiceException");
6
8
  var AuthenticateCognitoActionConditionalBehaviorEnum;
7
9
  (function (AuthenticateCognitoActionConditionalBehaviorEnum) {
8
10
  AuthenticateCognitoActionConditionalBehaviorEnum["ALLOW"] = "allow";
@@ -94,6 +96,48 @@ var AddListenerCertificatesOutput;
94
96
  ...obj,
95
97
  });
96
98
  })(AddListenerCertificatesOutput = exports.AddListenerCertificatesOutput || (exports.AddListenerCertificatesOutput = {}));
99
+ class CertificateNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
100
+ constructor(opts) {
101
+ super({
102
+ name: "CertificateNotFoundException",
103
+ $fault: "client",
104
+ ...opts,
105
+ });
106
+ this.name = "CertificateNotFoundException";
107
+ this.$fault = "client";
108
+ Object.setPrototypeOf(this, CertificateNotFoundException.prototype);
109
+ this.Message = opts.Message;
110
+ }
111
+ }
112
+ exports.CertificateNotFoundException = CertificateNotFoundException;
113
+ class ListenerNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
114
+ constructor(opts) {
115
+ super({
116
+ name: "ListenerNotFoundException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ this.name = "ListenerNotFoundException";
121
+ this.$fault = "client";
122
+ Object.setPrototypeOf(this, ListenerNotFoundException.prototype);
123
+ this.Message = opts.Message;
124
+ }
125
+ }
126
+ exports.ListenerNotFoundException = ListenerNotFoundException;
127
+ class TooManyCertificatesException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
128
+ constructor(opts) {
129
+ super({
130
+ name: "TooManyCertificatesException",
131
+ $fault: "client",
132
+ ...opts,
133
+ });
134
+ this.name = "TooManyCertificatesException";
135
+ this.$fault = "client";
136
+ Object.setPrototypeOf(this, TooManyCertificatesException.prototype);
137
+ this.Message = opts.Message;
138
+ }
139
+ }
140
+ exports.TooManyCertificatesException = TooManyCertificatesException;
97
141
  var Tag;
98
142
  (function (Tag) {
99
143
  Tag.filterSensitiveLog = (obj) => ({
@@ -112,6 +156,104 @@ var AddTagsOutput;
112
156
  ...obj,
113
157
  });
114
158
  })(AddTagsOutput = exports.AddTagsOutput || (exports.AddTagsOutput = {}));
159
+ class DuplicateTagKeysException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
160
+ constructor(opts) {
161
+ super({
162
+ name: "DuplicateTagKeysException",
163
+ $fault: "client",
164
+ ...opts,
165
+ });
166
+ this.name = "DuplicateTagKeysException";
167
+ this.$fault = "client";
168
+ Object.setPrototypeOf(this, DuplicateTagKeysException.prototype);
169
+ this.Message = opts.Message;
170
+ }
171
+ }
172
+ exports.DuplicateTagKeysException = DuplicateTagKeysException;
173
+ class LoadBalancerNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
174
+ constructor(opts) {
175
+ super({
176
+ name: "LoadBalancerNotFoundException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ this.name = "LoadBalancerNotFoundException";
181
+ this.$fault = "client";
182
+ Object.setPrototypeOf(this, LoadBalancerNotFoundException.prototype);
183
+ this.Message = opts.Message;
184
+ }
185
+ }
186
+ exports.LoadBalancerNotFoundException = LoadBalancerNotFoundException;
187
+ class RuleNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
188
+ constructor(opts) {
189
+ super({
190
+ name: "RuleNotFoundException",
191
+ $fault: "client",
192
+ ...opts,
193
+ });
194
+ this.name = "RuleNotFoundException";
195
+ this.$fault = "client";
196
+ Object.setPrototypeOf(this, RuleNotFoundException.prototype);
197
+ this.Message = opts.Message;
198
+ }
199
+ }
200
+ exports.RuleNotFoundException = RuleNotFoundException;
201
+ class TargetGroupNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
202
+ constructor(opts) {
203
+ super({
204
+ name: "TargetGroupNotFoundException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ this.name = "TargetGroupNotFoundException";
209
+ this.$fault = "client";
210
+ Object.setPrototypeOf(this, TargetGroupNotFoundException.prototype);
211
+ this.Message = opts.Message;
212
+ }
213
+ }
214
+ exports.TargetGroupNotFoundException = TargetGroupNotFoundException;
215
+ class TooManyTagsException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
216
+ constructor(opts) {
217
+ super({
218
+ name: "TooManyTagsException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ this.name = "TooManyTagsException";
223
+ this.$fault = "client";
224
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
225
+ this.Message = opts.Message;
226
+ }
227
+ }
228
+ exports.TooManyTagsException = TooManyTagsException;
229
+ class AllocationIdNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
230
+ constructor(opts) {
231
+ super({
232
+ name: "AllocationIdNotFoundException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ this.name = "AllocationIdNotFoundException";
237
+ this.$fault = "client";
238
+ Object.setPrototypeOf(this, AllocationIdNotFoundException.prototype);
239
+ this.Message = opts.Message;
240
+ }
241
+ }
242
+ exports.AllocationIdNotFoundException = AllocationIdNotFoundException;
243
+ class ALPNPolicyNotSupportedException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
244
+ constructor(opts) {
245
+ super({
246
+ name: "ALPNPolicyNotSupportedException",
247
+ $fault: "client",
248
+ ...opts,
249
+ });
250
+ this.name = "ALPNPolicyNotSupportedException";
251
+ this.$fault = "client";
252
+ Object.setPrototypeOf(this, ALPNPolicyNotSupportedException.prototype);
253
+ this.Message = opts.Message;
254
+ }
255
+ }
256
+ exports.ALPNPolicyNotSupportedException = ALPNPolicyNotSupportedException;
115
257
  var LoadBalancerAddress;
116
258
  (function (LoadBalancerAddress) {
117
259
  LoadBalancerAddress.filterSensitiveLog = (obj) => ({
@@ -124,6 +266,20 @@ var AvailabilityZone;
124
266
  ...obj,
125
267
  });
126
268
  })(AvailabilityZone = exports.AvailabilityZone || (exports.AvailabilityZone = {}));
269
+ class AvailabilityZoneNotSupportedException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
270
+ constructor(opts) {
271
+ super({
272
+ name: "AvailabilityZoneNotSupportedException",
273
+ $fault: "client",
274
+ ...opts,
275
+ });
276
+ this.name = "AvailabilityZoneNotSupportedException";
277
+ this.$fault = "client";
278
+ Object.setPrototypeOf(this, AvailabilityZoneNotSupportedException.prototype);
279
+ this.Message = opts.Message;
280
+ }
281
+ }
282
+ exports.AvailabilityZoneNotSupportedException = AvailabilityZoneNotSupportedException;
127
283
  var Cipher;
128
284
  (function (Cipher) {
129
285
  Cipher.filterSensitiveLog = (obj) => ({
@@ -148,6 +304,174 @@ var CreateListenerOutput;
148
304
  ...obj,
149
305
  });
150
306
  })(CreateListenerOutput = exports.CreateListenerOutput || (exports.CreateListenerOutput = {}));
307
+ class DuplicateListenerException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
308
+ constructor(opts) {
309
+ super({
310
+ name: "DuplicateListenerException",
311
+ $fault: "client",
312
+ ...opts,
313
+ });
314
+ this.name = "DuplicateListenerException";
315
+ this.$fault = "client";
316
+ Object.setPrototypeOf(this, DuplicateListenerException.prototype);
317
+ this.Message = opts.Message;
318
+ }
319
+ }
320
+ exports.DuplicateListenerException = DuplicateListenerException;
321
+ class IncompatibleProtocolsException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
322
+ constructor(opts) {
323
+ super({
324
+ name: "IncompatibleProtocolsException",
325
+ $fault: "client",
326
+ ...opts,
327
+ });
328
+ this.name = "IncompatibleProtocolsException";
329
+ this.$fault = "client";
330
+ Object.setPrototypeOf(this, IncompatibleProtocolsException.prototype);
331
+ this.Message = opts.Message;
332
+ }
333
+ }
334
+ exports.IncompatibleProtocolsException = IncompatibleProtocolsException;
335
+ class InvalidConfigurationRequestException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
336
+ constructor(opts) {
337
+ super({
338
+ name: "InvalidConfigurationRequestException",
339
+ $fault: "client",
340
+ ...opts,
341
+ });
342
+ this.name = "InvalidConfigurationRequestException";
343
+ this.$fault = "client";
344
+ Object.setPrototypeOf(this, InvalidConfigurationRequestException.prototype);
345
+ this.Message = opts.Message;
346
+ }
347
+ }
348
+ exports.InvalidConfigurationRequestException = InvalidConfigurationRequestException;
349
+ class InvalidLoadBalancerActionException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
350
+ constructor(opts) {
351
+ super({
352
+ name: "InvalidLoadBalancerActionException",
353
+ $fault: "client",
354
+ ...opts,
355
+ });
356
+ this.name = "InvalidLoadBalancerActionException";
357
+ this.$fault = "client";
358
+ Object.setPrototypeOf(this, InvalidLoadBalancerActionException.prototype);
359
+ this.Message = opts.Message;
360
+ }
361
+ }
362
+ exports.InvalidLoadBalancerActionException = InvalidLoadBalancerActionException;
363
+ class SSLPolicyNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
364
+ constructor(opts) {
365
+ super({
366
+ name: "SSLPolicyNotFoundException",
367
+ $fault: "client",
368
+ ...opts,
369
+ });
370
+ this.name = "SSLPolicyNotFoundException";
371
+ this.$fault = "client";
372
+ Object.setPrototypeOf(this, SSLPolicyNotFoundException.prototype);
373
+ this.Message = opts.Message;
374
+ }
375
+ }
376
+ exports.SSLPolicyNotFoundException = SSLPolicyNotFoundException;
377
+ class TargetGroupAssociationLimitException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
378
+ constructor(opts) {
379
+ super({
380
+ name: "TargetGroupAssociationLimitException",
381
+ $fault: "client",
382
+ ...opts,
383
+ });
384
+ this.name = "TargetGroupAssociationLimitException";
385
+ this.$fault = "client";
386
+ Object.setPrototypeOf(this, TargetGroupAssociationLimitException.prototype);
387
+ this.Message = opts.Message;
388
+ }
389
+ }
390
+ exports.TargetGroupAssociationLimitException = TargetGroupAssociationLimitException;
391
+ class TooManyActionsException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
392
+ constructor(opts) {
393
+ super({
394
+ name: "TooManyActionsException",
395
+ $fault: "client",
396
+ ...opts,
397
+ });
398
+ this.name = "TooManyActionsException";
399
+ this.$fault = "client";
400
+ Object.setPrototypeOf(this, TooManyActionsException.prototype);
401
+ this.Message = opts.Message;
402
+ }
403
+ }
404
+ exports.TooManyActionsException = TooManyActionsException;
405
+ class TooManyListenersException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
406
+ constructor(opts) {
407
+ super({
408
+ name: "TooManyListenersException",
409
+ $fault: "client",
410
+ ...opts,
411
+ });
412
+ this.name = "TooManyListenersException";
413
+ this.$fault = "client";
414
+ Object.setPrototypeOf(this, TooManyListenersException.prototype);
415
+ this.Message = opts.Message;
416
+ }
417
+ }
418
+ exports.TooManyListenersException = TooManyListenersException;
419
+ class TooManyRegistrationsForTargetIdException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
420
+ constructor(opts) {
421
+ super({
422
+ name: "TooManyRegistrationsForTargetIdException",
423
+ $fault: "client",
424
+ ...opts,
425
+ });
426
+ this.name = "TooManyRegistrationsForTargetIdException";
427
+ this.$fault = "client";
428
+ Object.setPrototypeOf(this, TooManyRegistrationsForTargetIdException.prototype);
429
+ this.Message = opts.Message;
430
+ }
431
+ }
432
+ exports.TooManyRegistrationsForTargetIdException = TooManyRegistrationsForTargetIdException;
433
+ class TooManyTargetsException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
434
+ constructor(opts) {
435
+ super({
436
+ name: "TooManyTargetsException",
437
+ $fault: "client",
438
+ ...opts,
439
+ });
440
+ this.name = "TooManyTargetsException";
441
+ this.$fault = "client";
442
+ Object.setPrototypeOf(this, TooManyTargetsException.prototype);
443
+ this.Message = opts.Message;
444
+ }
445
+ }
446
+ exports.TooManyTargetsException = TooManyTargetsException;
447
+ class TooManyUniqueTargetGroupsPerLoadBalancerException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
448
+ constructor(opts) {
449
+ super({
450
+ name: "TooManyUniqueTargetGroupsPerLoadBalancerException",
451
+ $fault: "client",
452
+ ...opts,
453
+ });
454
+ this.name = "TooManyUniqueTargetGroupsPerLoadBalancerException";
455
+ this.$fault = "client";
456
+ Object.setPrototypeOf(this, TooManyUniqueTargetGroupsPerLoadBalancerException.prototype);
457
+ this.Message = opts.Message;
458
+ }
459
+ }
460
+ exports.TooManyUniqueTargetGroupsPerLoadBalancerException = TooManyUniqueTargetGroupsPerLoadBalancerException;
461
+ class UnsupportedProtocolException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
462
+ constructor(opts) {
463
+ super({
464
+ name: "UnsupportedProtocolException",
465
+ $fault: "client",
466
+ ...opts,
467
+ });
468
+ this.name = "UnsupportedProtocolException";
469
+ this.$fault = "client";
470
+ Object.setPrototypeOf(this, UnsupportedProtocolException.prototype);
471
+ this.Message = opts.Message;
472
+ }
473
+ }
474
+ exports.UnsupportedProtocolException = UnsupportedProtocolException;
151
475
  var IpAddressType;
152
476
  (function (IpAddressType) {
153
477
  IpAddressType["DUALSTACK"] = "dualstack";
@@ -201,6 +525,118 @@ var CreateLoadBalancerOutput;
201
525
  ...obj,
202
526
  });
203
527
  })(CreateLoadBalancerOutput = exports.CreateLoadBalancerOutput || (exports.CreateLoadBalancerOutput = {}));
528
+ class DuplicateLoadBalancerNameException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
529
+ constructor(opts) {
530
+ super({
531
+ name: "DuplicateLoadBalancerNameException",
532
+ $fault: "client",
533
+ ...opts,
534
+ });
535
+ this.name = "DuplicateLoadBalancerNameException";
536
+ this.$fault = "client";
537
+ Object.setPrototypeOf(this, DuplicateLoadBalancerNameException.prototype);
538
+ this.Message = opts.Message;
539
+ }
540
+ }
541
+ exports.DuplicateLoadBalancerNameException = DuplicateLoadBalancerNameException;
542
+ class InvalidSchemeException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
543
+ constructor(opts) {
544
+ super({
545
+ name: "InvalidSchemeException",
546
+ $fault: "client",
547
+ ...opts,
548
+ });
549
+ this.name = "InvalidSchemeException";
550
+ this.$fault = "client";
551
+ Object.setPrototypeOf(this, InvalidSchemeException.prototype);
552
+ this.Message = opts.Message;
553
+ }
554
+ }
555
+ exports.InvalidSchemeException = InvalidSchemeException;
556
+ class InvalidSecurityGroupException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
557
+ constructor(opts) {
558
+ super({
559
+ name: "InvalidSecurityGroupException",
560
+ $fault: "client",
561
+ ...opts,
562
+ });
563
+ this.name = "InvalidSecurityGroupException";
564
+ this.$fault = "client";
565
+ Object.setPrototypeOf(this, InvalidSecurityGroupException.prototype);
566
+ this.Message = opts.Message;
567
+ }
568
+ }
569
+ exports.InvalidSecurityGroupException = InvalidSecurityGroupException;
570
+ class InvalidSubnetException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
571
+ constructor(opts) {
572
+ super({
573
+ name: "InvalidSubnetException",
574
+ $fault: "client",
575
+ ...opts,
576
+ });
577
+ this.name = "InvalidSubnetException";
578
+ this.$fault = "client";
579
+ Object.setPrototypeOf(this, InvalidSubnetException.prototype);
580
+ this.Message = opts.Message;
581
+ }
582
+ }
583
+ exports.InvalidSubnetException = InvalidSubnetException;
584
+ class OperationNotPermittedException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
585
+ constructor(opts) {
586
+ super({
587
+ name: "OperationNotPermittedException",
588
+ $fault: "client",
589
+ ...opts,
590
+ });
591
+ this.name = "OperationNotPermittedException";
592
+ this.$fault = "client";
593
+ Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
594
+ this.Message = opts.Message;
595
+ }
596
+ }
597
+ exports.OperationNotPermittedException = OperationNotPermittedException;
598
+ class ResourceInUseException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
599
+ constructor(opts) {
600
+ super({
601
+ name: "ResourceInUseException",
602
+ $fault: "client",
603
+ ...opts,
604
+ });
605
+ this.name = "ResourceInUseException";
606
+ this.$fault = "client";
607
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
608
+ this.Message = opts.Message;
609
+ }
610
+ }
611
+ exports.ResourceInUseException = ResourceInUseException;
612
+ class SubnetNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
613
+ constructor(opts) {
614
+ super({
615
+ name: "SubnetNotFoundException",
616
+ $fault: "client",
617
+ ...opts,
618
+ });
619
+ this.name = "SubnetNotFoundException";
620
+ this.$fault = "client";
621
+ Object.setPrototypeOf(this, SubnetNotFoundException.prototype);
622
+ this.Message = opts.Message;
623
+ }
624
+ }
625
+ exports.SubnetNotFoundException = SubnetNotFoundException;
626
+ class TooManyLoadBalancersException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
627
+ constructor(opts) {
628
+ super({
629
+ name: "TooManyLoadBalancersException",
630
+ $fault: "client",
631
+ ...opts,
632
+ });
633
+ this.name = "TooManyLoadBalancersException";
634
+ this.$fault = "client";
635
+ Object.setPrototypeOf(this, TooManyLoadBalancersException.prototype);
636
+ this.Message = opts.Message;
637
+ }
638
+ }
639
+ exports.TooManyLoadBalancersException = TooManyLoadBalancersException;
204
640
  var HostHeaderConditionConfig;
205
641
  (function (HostHeaderConditionConfig) {
206
642
  HostHeaderConditionConfig.filterSensitiveLog = (obj) => ({
@@ -267,6 +703,48 @@ var CreateRuleOutput;
267
703
  ...obj,
268
704
  });
269
705
  })(CreateRuleOutput = exports.CreateRuleOutput || (exports.CreateRuleOutput = {}));
706
+ class PriorityInUseException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
707
+ constructor(opts) {
708
+ super({
709
+ name: "PriorityInUseException",
710
+ $fault: "client",
711
+ ...opts,
712
+ });
713
+ this.name = "PriorityInUseException";
714
+ this.$fault = "client";
715
+ Object.setPrototypeOf(this, PriorityInUseException.prototype);
716
+ this.Message = opts.Message;
717
+ }
718
+ }
719
+ exports.PriorityInUseException = PriorityInUseException;
720
+ class TooManyRulesException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
721
+ constructor(opts) {
722
+ super({
723
+ name: "TooManyRulesException",
724
+ $fault: "client",
725
+ ...opts,
726
+ });
727
+ this.name = "TooManyRulesException";
728
+ this.$fault = "client";
729
+ Object.setPrototypeOf(this, TooManyRulesException.prototype);
730
+ this.Message = opts.Message;
731
+ }
732
+ }
733
+ exports.TooManyRulesException = TooManyRulesException;
734
+ class TooManyTargetGroupsException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
735
+ constructor(opts) {
736
+ super({
737
+ name: "TooManyTargetGroupsException",
738
+ $fault: "client",
739
+ ...opts,
740
+ });
741
+ this.name = "TooManyTargetGroupsException";
742
+ this.$fault = "client";
743
+ Object.setPrototypeOf(this, TooManyTargetGroupsException.prototype);
744
+ this.Message = opts.Message;
745
+ }
746
+ }
747
+ exports.TooManyTargetGroupsException = TooManyTargetGroupsException;
270
748
  var TargetGroupIpAddressTypeEnum;
271
749
  (function (TargetGroupIpAddressTypeEnum) {
272
750
  TargetGroupIpAddressTypeEnum["IPV4"] = "ipv4";
@@ -303,6 +781,20 @@ var CreateTargetGroupOutput;
303
781
  ...obj,
304
782
  });
305
783
  })(CreateTargetGroupOutput = exports.CreateTargetGroupOutput || (exports.CreateTargetGroupOutput = {}));
784
+ class DuplicateTargetGroupNameException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
785
+ constructor(opts) {
786
+ super({
787
+ name: "DuplicateTargetGroupNameException",
788
+ $fault: "client",
789
+ ...opts,
790
+ });
791
+ this.name = "DuplicateTargetGroupNameException";
792
+ this.$fault = "client";
793
+ Object.setPrototypeOf(this, DuplicateTargetGroupNameException.prototype);
794
+ this.Message = opts.Message;
795
+ }
796
+ }
797
+ exports.DuplicateTargetGroupNameException = DuplicateTargetGroupNameException;
306
798
  var DeleteListenerInput;
307
799
  (function (DeleteListenerInput) {
308
800
  DeleteListenerInput.filterSensitiveLog = (obj) => ({
@@ -369,6 +861,20 @@ var DeregisterTargetsOutput;
369
861
  ...obj,
370
862
  });
371
863
  })(DeregisterTargetsOutput = exports.DeregisterTargetsOutput || (exports.DeregisterTargetsOutput = {}));
864
+ class InvalidTargetException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
865
+ constructor(opts) {
866
+ super({
867
+ name: "InvalidTargetException",
868
+ $fault: "client",
869
+ ...opts,
870
+ });
871
+ this.name = "InvalidTargetException";
872
+ this.$fault = "client";
873
+ Object.setPrototypeOf(this, InvalidTargetException.prototype);
874
+ this.Message = opts.Message;
875
+ }
876
+ }
877
+ exports.InvalidTargetException = InvalidTargetException;
372
878
  var DescribeAccountLimitsInput;
373
879
  (function (DescribeAccountLimitsInput) {
374
880
  DescribeAccountLimitsInput.filterSensitiveLog = (obj) => ({
@@ -567,6 +1073,20 @@ var DescribeTargetHealthOutput;
567
1073
  ...obj,
568
1074
  });
569
1075
  })(DescribeTargetHealthOutput = exports.DescribeTargetHealthOutput || (exports.DescribeTargetHealthOutput = {}));
1076
+ class HealthUnavailableException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
1077
+ constructor(opts) {
1078
+ super({
1079
+ name: "HealthUnavailableException",
1080
+ $fault: "server",
1081
+ ...opts,
1082
+ });
1083
+ this.name = "HealthUnavailableException";
1084
+ this.$fault = "server";
1085
+ Object.setPrototypeOf(this, HealthUnavailableException.prototype);
1086
+ this.Message = opts.Message;
1087
+ }
1088
+ }
1089
+ exports.HealthUnavailableException = HealthUnavailableException;
570
1090
  var ModifyListenerInput;
571
1091
  (function (ModifyListenerInput) {
572
1092
  ModifyListenerInput.filterSensitiveLog = (obj) => ({