@aws-sdk/client-elastic-load-balancing 3.987.0 → 3.989.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ElasticLoadBalancingServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class ElasticLoadBalancingServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ElasticLoadBalancingServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ElasticLoadBalancingServiceException = ElasticLoadBalancingServiceException;
@@ -0,0 +1,334 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListenerNotFoundException = exports.PolicyNotFoundException = exports.LoadBalancerAttributeNotFoundException = exports.InvalidEndPointException = exports.DependencyThrottleException = exports.PolicyTypeNotFoundException = exports.DuplicateListenerException = exports.UnsupportedProtocolException = exports.TooManyAccessPointsException = exports.OperationNotPermittedException = exports.InvalidSchemeException = exports.DuplicateAccessPointNameException = exports.TooManyPoliciesException = exports.DuplicatePolicyNameException = exports.CertificateNotFoundException = exports.SubnetNotFoundException = exports.InvalidSubnetException = exports.InvalidSecurityGroupException = exports.InvalidConfigurationRequestException = exports.TooManyTagsException = exports.DuplicateTagKeysException = exports.AccessPointNotFoundException = void 0;
4
+ const ElasticLoadBalancingServiceException_1 = require("./ElasticLoadBalancingServiceException");
5
+ class AccessPointNotFoundException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
6
+ name = "AccessPointNotFoundException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessPointNotFoundException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessPointNotFoundException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessPointNotFoundException = AccessPointNotFoundException;
20
+ class DuplicateTagKeysException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
21
+ name = "DuplicateTagKeysException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "DuplicateTagKeysException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, DuplicateTagKeysException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.DuplicateTagKeysException = DuplicateTagKeysException;
35
+ class TooManyTagsException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
36
+ name = "TooManyTagsException";
37
+ $fault = "client";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "TooManyTagsException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.TooManyTagsException = TooManyTagsException;
50
+ class InvalidConfigurationRequestException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
51
+ name = "InvalidConfigurationRequestException";
52
+ $fault = "client";
53
+ Message;
54
+ constructor(opts) {
55
+ super({
56
+ name: "InvalidConfigurationRequestException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, InvalidConfigurationRequestException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.InvalidConfigurationRequestException = InvalidConfigurationRequestException;
65
+ class InvalidSecurityGroupException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
66
+ name = "InvalidSecurityGroupException";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "InvalidSecurityGroupException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, InvalidSecurityGroupException.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ exports.InvalidSecurityGroupException = InvalidSecurityGroupException;
80
+ class InvalidSubnetException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
81
+ name = "InvalidSubnetException";
82
+ $fault = "client";
83
+ Message;
84
+ constructor(opts) {
85
+ super({
86
+ name: "InvalidSubnetException",
87
+ $fault: "client",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, InvalidSubnetException.prototype);
91
+ this.Message = opts.Message;
92
+ }
93
+ }
94
+ exports.InvalidSubnetException = InvalidSubnetException;
95
+ class SubnetNotFoundException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
96
+ name = "SubnetNotFoundException";
97
+ $fault = "client";
98
+ Message;
99
+ constructor(opts) {
100
+ super({
101
+ name: "SubnetNotFoundException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, SubnetNotFoundException.prototype);
106
+ this.Message = opts.Message;
107
+ }
108
+ }
109
+ exports.SubnetNotFoundException = SubnetNotFoundException;
110
+ class CertificateNotFoundException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
111
+ name = "CertificateNotFoundException";
112
+ $fault = "client";
113
+ Message;
114
+ constructor(opts) {
115
+ super({
116
+ name: "CertificateNotFoundException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, CertificateNotFoundException.prototype);
121
+ this.Message = opts.Message;
122
+ }
123
+ }
124
+ exports.CertificateNotFoundException = CertificateNotFoundException;
125
+ class DuplicatePolicyNameException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
126
+ name = "DuplicatePolicyNameException";
127
+ $fault = "client";
128
+ Message;
129
+ constructor(opts) {
130
+ super({
131
+ name: "DuplicatePolicyNameException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, DuplicatePolicyNameException.prototype);
136
+ this.Message = opts.Message;
137
+ }
138
+ }
139
+ exports.DuplicatePolicyNameException = DuplicatePolicyNameException;
140
+ class TooManyPoliciesException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
141
+ name = "TooManyPoliciesException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "TooManyPoliciesException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, TooManyPoliciesException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ exports.TooManyPoliciesException = TooManyPoliciesException;
155
+ class DuplicateAccessPointNameException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
156
+ name = "DuplicateAccessPointNameException";
157
+ $fault = "client";
158
+ Message;
159
+ constructor(opts) {
160
+ super({
161
+ name: "DuplicateAccessPointNameException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, DuplicateAccessPointNameException.prototype);
166
+ this.Message = opts.Message;
167
+ }
168
+ }
169
+ exports.DuplicateAccessPointNameException = DuplicateAccessPointNameException;
170
+ class InvalidSchemeException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
171
+ name = "InvalidSchemeException";
172
+ $fault = "client";
173
+ Message;
174
+ constructor(opts) {
175
+ super({
176
+ name: "InvalidSchemeException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, InvalidSchemeException.prototype);
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ exports.InvalidSchemeException = InvalidSchemeException;
185
+ class OperationNotPermittedException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
186
+ name = "OperationNotPermittedException";
187
+ $fault = "client";
188
+ Message;
189
+ constructor(opts) {
190
+ super({
191
+ name: "OperationNotPermittedException",
192
+ $fault: "client",
193
+ ...opts,
194
+ });
195
+ Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
196
+ this.Message = opts.Message;
197
+ }
198
+ }
199
+ exports.OperationNotPermittedException = OperationNotPermittedException;
200
+ class TooManyAccessPointsException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
201
+ name = "TooManyAccessPointsException";
202
+ $fault = "client";
203
+ Message;
204
+ constructor(opts) {
205
+ super({
206
+ name: "TooManyAccessPointsException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ Object.setPrototypeOf(this, TooManyAccessPointsException.prototype);
211
+ this.Message = opts.Message;
212
+ }
213
+ }
214
+ exports.TooManyAccessPointsException = TooManyAccessPointsException;
215
+ class UnsupportedProtocolException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
216
+ name = "UnsupportedProtocolException";
217
+ $fault = "client";
218
+ Message;
219
+ constructor(opts) {
220
+ super({
221
+ name: "UnsupportedProtocolException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, UnsupportedProtocolException.prototype);
226
+ this.Message = opts.Message;
227
+ }
228
+ }
229
+ exports.UnsupportedProtocolException = UnsupportedProtocolException;
230
+ class DuplicateListenerException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
231
+ name = "DuplicateListenerException";
232
+ $fault = "client";
233
+ Message;
234
+ constructor(opts) {
235
+ super({
236
+ name: "DuplicateListenerException",
237
+ $fault: "client",
238
+ ...opts,
239
+ });
240
+ Object.setPrototypeOf(this, DuplicateListenerException.prototype);
241
+ this.Message = opts.Message;
242
+ }
243
+ }
244
+ exports.DuplicateListenerException = DuplicateListenerException;
245
+ class PolicyTypeNotFoundException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
246
+ name = "PolicyTypeNotFoundException";
247
+ $fault = "client";
248
+ Message;
249
+ constructor(opts) {
250
+ super({
251
+ name: "PolicyTypeNotFoundException",
252
+ $fault: "client",
253
+ ...opts,
254
+ });
255
+ Object.setPrototypeOf(this, PolicyTypeNotFoundException.prototype);
256
+ this.Message = opts.Message;
257
+ }
258
+ }
259
+ exports.PolicyTypeNotFoundException = PolicyTypeNotFoundException;
260
+ class DependencyThrottleException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
261
+ name = "DependencyThrottleException";
262
+ $fault = "client";
263
+ Message;
264
+ constructor(opts) {
265
+ super({
266
+ name: "DependencyThrottleException",
267
+ $fault: "client",
268
+ ...opts,
269
+ });
270
+ Object.setPrototypeOf(this, DependencyThrottleException.prototype);
271
+ this.Message = opts.Message;
272
+ }
273
+ }
274
+ exports.DependencyThrottleException = DependencyThrottleException;
275
+ class InvalidEndPointException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
276
+ name = "InvalidEndPointException";
277
+ $fault = "client";
278
+ Message;
279
+ constructor(opts) {
280
+ super({
281
+ name: "InvalidEndPointException",
282
+ $fault: "client",
283
+ ...opts,
284
+ });
285
+ Object.setPrototypeOf(this, InvalidEndPointException.prototype);
286
+ this.Message = opts.Message;
287
+ }
288
+ }
289
+ exports.InvalidEndPointException = InvalidEndPointException;
290
+ class LoadBalancerAttributeNotFoundException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
291
+ name = "LoadBalancerAttributeNotFoundException";
292
+ $fault = "client";
293
+ Message;
294
+ constructor(opts) {
295
+ super({
296
+ name: "LoadBalancerAttributeNotFoundException",
297
+ $fault: "client",
298
+ ...opts,
299
+ });
300
+ Object.setPrototypeOf(this, LoadBalancerAttributeNotFoundException.prototype);
301
+ this.Message = opts.Message;
302
+ }
303
+ }
304
+ exports.LoadBalancerAttributeNotFoundException = LoadBalancerAttributeNotFoundException;
305
+ class PolicyNotFoundException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
306
+ name = "PolicyNotFoundException";
307
+ $fault = "client";
308
+ Message;
309
+ constructor(opts) {
310
+ super({
311
+ name: "PolicyNotFoundException",
312
+ $fault: "client",
313
+ ...opts,
314
+ });
315
+ Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
316
+ this.Message = opts.Message;
317
+ }
318
+ }
319
+ exports.PolicyNotFoundException = PolicyNotFoundException;
320
+ class ListenerNotFoundException extends ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException {
321
+ name = "ListenerNotFoundException";
322
+ $fault = "client";
323
+ Message;
324
+ constructor(opts) {
325
+ super({
326
+ name: "ListenerNotFoundException",
327
+ $fault: "client",
328
+ ...opts,
329
+ });
330
+ Object.setPrototypeOf(this, ListenerNotFoundException.prototype);
331
+ this.Message = opts.Message;
332
+ }
333
+ }
334
+ exports.ListenerNotFoundException = ListenerNotFoundException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2012-06-01",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.elasticloadbalancing",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  xmlNamespace: "http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/",
33
35
  version: "2012-06-01",
34
36
  serviceTarget: "ElasticLoadBalancing_v7",