@aws-sdk/client-elastic-load-balancing 3.928.0 → 3.930.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 (50) hide show
  1. package/dist-cjs/index.js +1027 -3010
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ElasticLoadBalancingClient.js +2 -0
  4. package/dist-es/commands/AddTagsCommand.js +3 -9
  5. package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js +3 -9
  6. package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js +3 -9
  7. package/dist-es/commands/ConfigureHealthCheckCommand.js +3 -9
  8. package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +3 -9
  9. package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +3 -9
  10. package/dist-es/commands/CreateLoadBalancerCommand.js +3 -9
  11. package/dist-es/commands/CreateLoadBalancerListenersCommand.js +3 -9
  12. package/dist-es/commands/CreateLoadBalancerPolicyCommand.js +3 -9
  13. package/dist-es/commands/DeleteLoadBalancerCommand.js +3 -9
  14. package/dist-es/commands/DeleteLoadBalancerListenersCommand.js +3 -9
  15. package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js +3 -9
  16. package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js +3 -9
  17. package/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
  18. package/dist-es/commands/DescribeInstanceHealthCommand.js +3 -9
  19. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +3 -9
  20. package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js +3 -9
  21. package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js +3 -9
  22. package/dist-es/commands/DescribeLoadBalancersCommand.js +3 -9
  23. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  24. package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js +3 -9
  25. package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +3 -9
  26. package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +3 -9
  27. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +3 -9
  28. package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +3 -9
  29. package/dist-es/commands/RemoveTagsCommand.js +3 -9
  30. package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js +3 -9
  31. package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +3 -9
  32. package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js +3 -9
  33. package/dist-es/runtimeConfig.shared.js +7 -0
  34. package/dist-es/schemas/schemas_0.js +1002 -0
  35. package/dist-types/ElasticLoadBalancingClient.d.ts +10 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +163 -0
  41. package/dist-types/ts3.4/ElasticLoadBalancingClient.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +168 -0
  47. package/package.json +34 -34
  48. package/dist-es/protocols/Aws_query.js +0 -2838
  49. package/dist-types/protocols/Aws_query.d.ts +0 -263
  50. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -353
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
  var utilWaiter = require('@smithy/util-waiter');
20
19
 
21
20
  const resolveClientEndpointParameters = (options) => {
@@ -92,6 +91,7 @@ class ElasticLoadBalancingClient extends smithyClient.Client {
92
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +111,14 @@ class ElasticLoadBalancingClient extends smithyClient.Client {
111
111
  }
112
112
  }
113
113
 
114
- class ElasticLoadBalancingServiceException extends smithyClient.ServiceException {
114
+ let ElasticLoadBalancingServiceException$1 = class ElasticLoadBalancingServiceException extends smithyClient.ServiceException {
115
115
  constructor(options) {
116
116
  super(options);
117
117
  Object.setPrototypeOf(this, ElasticLoadBalancingServiceException.prototype);
118
118
  }
119
- }
119
+ };
120
120
 
121
- class AccessPointNotFoundException extends ElasticLoadBalancingServiceException {
121
+ let AccessPointNotFoundException$1 = class AccessPointNotFoundException extends ElasticLoadBalancingServiceException$1 {
122
122
  name = "AccessPointNotFoundException";
123
123
  $fault = "client";
124
124
  Message;
@@ -131,8 +131,8 @@ class AccessPointNotFoundException extends ElasticLoadBalancingServiceException
131
131
  Object.setPrototypeOf(this, AccessPointNotFoundException.prototype);
132
132
  this.Message = opts.Message;
133
133
  }
134
- }
135
- class DuplicateTagKeysException extends ElasticLoadBalancingServiceException {
134
+ };
135
+ let DuplicateTagKeysException$1 = class DuplicateTagKeysException extends ElasticLoadBalancingServiceException$1 {
136
136
  name = "DuplicateTagKeysException";
137
137
  $fault = "client";
138
138
  Message;
@@ -145,8 +145,8 @@ class DuplicateTagKeysException extends ElasticLoadBalancingServiceException {
145
145
  Object.setPrototypeOf(this, DuplicateTagKeysException.prototype);
146
146
  this.Message = opts.Message;
147
147
  }
148
- }
149
- class TooManyTagsException extends ElasticLoadBalancingServiceException {
148
+ };
149
+ let TooManyTagsException$1 = class TooManyTagsException extends ElasticLoadBalancingServiceException$1 {
150
150
  name = "TooManyTagsException";
151
151
  $fault = "client";
152
152
  Message;
@@ -159,8 +159,8 @@ class TooManyTagsException extends ElasticLoadBalancingServiceException {
159
159
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
160
160
  this.Message = opts.Message;
161
161
  }
162
- }
163
- class InvalidConfigurationRequestException extends ElasticLoadBalancingServiceException {
162
+ };
163
+ let InvalidConfigurationRequestException$1 = class InvalidConfigurationRequestException extends ElasticLoadBalancingServiceException$1 {
164
164
  name = "InvalidConfigurationRequestException";
165
165
  $fault = "client";
166
166
  Message;
@@ -173,8 +173,8 @@ class InvalidConfigurationRequestException extends ElasticLoadBalancingServiceEx
173
173
  Object.setPrototypeOf(this, InvalidConfigurationRequestException.prototype);
174
174
  this.Message = opts.Message;
175
175
  }
176
- }
177
- class InvalidSecurityGroupException extends ElasticLoadBalancingServiceException {
176
+ };
177
+ let InvalidSecurityGroupException$1 = class InvalidSecurityGroupException extends ElasticLoadBalancingServiceException$1 {
178
178
  name = "InvalidSecurityGroupException";
179
179
  $fault = "client";
180
180
  Message;
@@ -187,8 +187,8 @@ class InvalidSecurityGroupException extends ElasticLoadBalancingServiceException
187
187
  Object.setPrototypeOf(this, InvalidSecurityGroupException.prototype);
188
188
  this.Message = opts.Message;
189
189
  }
190
- }
191
- class InvalidSubnetException extends ElasticLoadBalancingServiceException {
190
+ };
191
+ let InvalidSubnetException$1 = class InvalidSubnetException extends ElasticLoadBalancingServiceException$1 {
192
192
  name = "InvalidSubnetException";
193
193
  $fault = "client";
194
194
  Message;
@@ -201,8 +201,8 @@ class InvalidSubnetException extends ElasticLoadBalancingServiceException {
201
201
  Object.setPrototypeOf(this, InvalidSubnetException.prototype);
202
202
  this.Message = opts.Message;
203
203
  }
204
- }
205
- class SubnetNotFoundException extends ElasticLoadBalancingServiceException {
204
+ };
205
+ let SubnetNotFoundException$1 = class SubnetNotFoundException extends ElasticLoadBalancingServiceException$1 {
206
206
  name = "SubnetNotFoundException";
207
207
  $fault = "client";
208
208
  Message;
@@ -215,8 +215,8 @@ class SubnetNotFoundException extends ElasticLoadBalancingServiceException {
215
215
  Object.setPrototypeOf(this, SubnetNotFoundException.prototype);
216
216
  this.Message = opts.Message;
217
217
  }
218
- }
219
- class CertificateNotFoundException extends ElasticLoadBalancingServiceException {
218
+ };
219
+ let CertificateNotFoundException$1 = class CertificateNotFoundException extends ElasticLoadBalancingServiceException$1 {
220
220
  name = "CertificateNotFoundException";
221
221
  $fault = "client";
222
222
  Message;
@@ -229,8 +229,8 @@ class CertificateNotFoundException extends ElasticLoadBalancingServiceException
229
229
  Object.setPrototypeOf(this, CertificateNotFoundException.prototype);
230
230
  this.Message = opts.Message;
231
231
  }
232
- }
233
- class DuplicatePolicyNameException extends ElasticLoadBalancingServiceException {
232
+ };
233
+ let DuplicatePolicyNameException$1 = class DuplicatePolicyNameException extends ElasticLoadBalancingServiceException$1 {
234
234
  name = "DuplicatePolicyNameException";
235
235
  $fault = "client";
236
236
  Message;
@@ -243,8 +243,8 @@ class DuplicatePolicyNameException extends ElasticLoadBalancingServiceException
243
243
  Object.setPrototypeOf(this, DuplicatePolicyNameException.prototype);
244
244
  this.Message = opts.Message;
245
245
  }
246
- }
247
- class TooManyPoliciesException extends ElasticLoadBalancingServiceException {
246
+ };
247
+ let TooManyPoliciesException$1 = class TooManyPoliciesException extends ElasticLoadBalancingServiceException$1 {
248
248
  name = "TooManyPoliciesException";
249
249
  $fault = "client";
250
250
  Message;
@@ -257,8 +257,8 @@ class TooManyPoliciesException extends ElasticLoadBalancingServiceException {
257
257
  Object.setPrototypeOf(this, TooManyPoliciesException.prototype);
258
258
  this.Message = opts.Message;
259
259
  }
260
- }
261
- class DuplicateAccessPointNameException extends ElasticLoadBalancingServiceException {
260
+ };
261
+ let DuplicateAccessPointNameException$1 = class DuplicateAccessPointNameException extends ElasticLoadBalancingServiceException$1 {
262
262
  name = "DuplicateAccessPointNameException";
263
263
  $fault = "client";
264
264
  Message;
@@ -271,8 +271,8 @@ class DuplicateAccessPointNameException extends ElasticLoadBalancingServiceExcep
271
271
  Object.setPrototypeOf(this, DuplicateAccessPointNameException.prototype);
272
272
  this.Message = opts.Message;
273
273
  }
274
- }
275
- class InvalidSchemeException extends ElasticLoadBalancingServiceException {
274
+ };
275
+ let InvalidSchemeException$1 = class InvalidSchemeException extends ElasticLoadBalancingServiceException$1 {
276
276
  name = "InvalidSchemeException";
277
277
  $fault = "client";
278
278
  Message;
@@ -285,8 +285,8 @@ class InvalidSchemeException extends ElasticLoadBalancingServiceException {
285
285
  Object.setPrototypeOf(this, InvalidSchemeException.prototype);
286
286
  this.Message = opts.Message;
287
287
  }
288
- }
289
- class OperationNotPermittedException extends ElasticLoadBalancingServiceException {
288
+ };
289
+ let OperationNotPermittedException$1 = class OperationNotPermittedException extends ElasticLoadBalancingServiceException$1 {
290
290
  name = "OperationNotPermittedException";
291
291
  $fault = "client";
292
292
  Message;
@@ -299,8 +299,8 @@ class OperationNotPermittedException extends ElasticLoadBalancingServiceExceptio
299
299
  Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
300
300
  this.Message = opts.Message;
301
301
  }
302
- }
303
- class TooManyAccessPointsException extends ElasticLoadBalancingServiceException {
302
+ };
303
+ let TooManyAccessPointsException$1 = class TooManyAccessPointsException extends ElasticLoadBalancingServiceException$1 {
304
304
  name = "TooManyAccessPointsException";
305
305
  $fault = "client";
306
306
  Message;
@@ -313,8 +313,8 @@ class TooManyAccessPointsException extends ElasticLoadBalancingServiceException
313
313
  Object.setPrototypeOf(this, TooManyAccessPointsException.prototype);
314
314
  this.Message = opts.Message;
315
315
  }
316
- }
317
- class UnsupportedProtocolException extends ElasticLoadBalancingServiceException {
316
+ };
317
+ let UnsupportedProtocolException$1 = class UnsupportedProtocolException extends ElasticLoadBalancingServiceException$1 {
318
318
  name = "UnsupportedProtocolException";
319
319
  $fault = "client";
320
320
  Message;
@@ -327,8 +327,8 @@ class UnsupportedProtocolException extends ElasticLoadBalancingServiceException
327
327
  Object.setPrototypeOf(this, UnsupportedProtocolException.prototype);
328
328
  this.Message = opts.Message;
329
329
  }
330
- }
331
- class DuplicateListenerException extends ElasticLoadBalancingServiceException {
330
+ };
331
+ let DuplicateListenerException$1 = class DuplicateListenerException extends ElasticLoadBalancingServiceException$1 {
332
332
  name = "DuplicateListenerException";
333
333
  $fault = "client";
334
334
  Message;
@@ -341,8 +341,8 @@ class DuplicateListenerException extends ElasticLoadBalancingServiceException {
341
341
  Object.setPrototypeOf(this, DuplicateListenerException.prototype);
342
342
  this.Message = opts.Message;
343
343
  }
344
- }
345
- class PolicyTypeNotFoundException extends ElasticLoadBalancingServiceException {
344
+ };
345
+ let PolicyTypeNotFoundException$1 = class PolicyTypeNotFoundException extends ElasticLoadBalancingServiceException$1 {
346
346
  name = "PolicyTypeNotFoundException";
347
347
  $fault = "client";
348
348
  Message;
@@ -355,8 +355,8 @@ class PolicyTypeNotFoundException extends ElasticLoadBalancingServiceException {
355
355
  Object.setPrototypeOf(this, PolicyTypeNotFoundException.prototype);
356
356
  this.Message = opts.Message;
357
357
  }
358
- }
359
- class DependencyThrottleException extends ElasticLoadBalancingServiceException {
358
+ };
359
+ let DependencyThrottleException$1 = class DependencyThrottleException extends ElasticLoadBalancingServiceException$1 {
360
360
  name = "DependencyThrottleException";
361
361
  $fault = "client";
362
362
  Message;
@@ -369,8 +369,8 @@ class DependencyThrottleException extends ElasticLoadBalancingServiceException {
369
369
  Object.setPrototypeOf(this, DependencyThrottleException.prototype);
370
370
  this.Message = opts.Message;
371
371
  }
372
- }
373
- class InvalidEndPointException extends ElasticLoadBalancingServiceException {
372
+ };
373
+ let InvalidEndPointException$1 = class InvalidEndPointException extends ElasticLoadBalancingServiceException$1 {
374
374
  name = "InvalidEndPointException";
375
375
  $fault = "client";
376
376
  Message;
@@ -383,8 +383,8 @@ class InvalidEndPointException extends ElasticLoadBalancingServiceException {
383
383
  Object.setPrototypeOf(this, InvalidEndPointException.prototype);
384
384
  this.Message = opts.Message;
385
385
  }
386
- }
387
- class LoadBalancerAttributeNotFoundException extends ElasticLoadBalancingServiceException {
386
+ };
387
+ let LoadBalancerAttributeNotFoundException$1 = class LoadBalancerAttributeNotFoundException extends ElasticLoadBalancingServiceException$1 {
388
388
  name = "LoadBalancerAttributeNotFoundException";
389
389
  $fault = "client";
390
390
  Message;
@@ -397,8 +397,8 @@ class LoadBalancerAttributeNotFoundException extends ElasticLoadBalancingService
397
397
  Object.setPrototypeOf(this, LoadBalancerAttributeNotFoundException.prototype);
398
398
  this.Message = opts.Message;
399
399
  }
400
- }
401
- class PolicyNotFoundException extends ElasticLoadBalancingServiceException {
400
+ };
401
+ let PolicyNotFoundException$1 = class PolicyNotFoundException extends ElasticLoadBalancingServiceException$1 {
402
402
  name = "PolicyNotFoundException";
403
403
  $fault = "client";
404
404
  Message;
@@ -411,8 +411,8 @@ class PolicyNotFoundException extends ElasticLoadBalancingServiceException {
411
411
  Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
412
412
  this.Message = opts.Message;
413
413
  }
414
- }
415
- class ListenerNotFoundException extends ElasticLoadBalancingServiceException {
414
+ };
415
+ let ListenerNotFoundException$1 = class ListenerNotFoundException extends ElasticLoadBalancingServiceException$1 {
416
416
  name = "ListenerNotFoundException";
417
417
  $fault = "client";
418
418
  Message;
@@ -425,2757 +425,103 @@ class ListenerNotFoundException extends ElasticLoadBalancingServiceException {
425
425
  Object.setPrototypeOf(this, ListenerNotFoundException.prototype);
426
426
  this.Message = opts.Message;
427
427
  }
428
- }
429
-
430
- const se_AddTagsCommand = async (input, context) => {
431
- const headers = SHARED_HEADERS;
432
- let body;
433
- body = buildFormUrlencodedString({
434
- ...se_AddTagsInput(input),
435
- [_A]: _AT,
436
- [_V]: _,
437
- });
438
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
439
- };
440
- const se_ApplySecurityGroupsToLoadBalancerCommand = async (input, context) => {
441
- const headers = SHARED_HEADERS;
442
- let body;
443
- body = buildFormUrlencodedString({
444
- ...se_ApplySecurityGroupsToLoadBalancerInput(input),
445
- [_A]: _ASGTLB,
446
- [_V]: _,
447
- });
448
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
449
- };
450
- const se_AttachLoadBalancerToSubnetsCommand = async (input, context) => {
451
- const headers = SHARED_HEADERS;
452
- let body;
453
- body = buildFormUrlencodedString({
454
- ...se_AttachLoadBalancerToSubnetsInput(input),
455
- [_A]: _ALBTS,
456
- [_V]: _,
457
- });
458
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
459
- };
460
- const se_ConfigureHealthCheckCommand = async (input, context) => {
461
- const headers = SHARED_HEADERS;
462
- let body;
463
- body = buildFormUrlencodedString({
464
- ...se_ConfigureHealthCheckInput(input),
465
- [_A]: _CHC,
466
- [_V]: _,
467
- });
468
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
469
- };
470
- const se_CreateAppCookieStickinessPolicyCommand = async (input, context) => {
471
- const headers = SHARED_HEADERS;
472
- let body;
473
- body = buildFormUrlencodedString({
474
- ...se_CreateAppCookieStickinessPolicyInput(input),
475
- [_A]: _CACSP,
476
- [_V]: _,
477
- });
478
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
479
- };
480
- const se_CreateLBCookieStickinessPolicyCommand = async (input, context) => {
481
- const headers = SHARED_HEADERS;
482
- let body;
483
- body = buildFormUrlencodedString({
484
- ...se_CreateLBCookieStickinessPolicyInput(input),
485
- [_A]: _CLBCSP,
486
- [_V]: _,
487
- });
488
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
489
- };
490
- const se_CreateLoadBalancerCommand = async (input, context) => {
491
- const headers = SHARED_HEADERS;
492
- let body;
493
- body = buildFormUrlencodedString({
494
- ...se_CreateAccessPointInput(input),
495
- [_A]: _CLB,
496
- [_V]: _,
497
- });
498
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
499
- };
500
- const se_CreateLoadBalancerListenersCommand = async (input, context) => {
501
- const headers = SHARED_HEADERS;
502
- let body;
503
- body = buildFormUrlencodedString({
504
- ...se_CreateLoadBalancerListenerInput(input),
505
- [_A]: _CLBL,
506
- [_V]: _,
507
- });
508
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
509
- };
510
- const se_CreateLoadBalancerPolicyCommand = async (input, context) => {
511
- const headers = SHARED_HEADERS;
512
- let body;
513
- body = buildFormUrlencodedString({
514
- ...se_CreateLoadBalancerPolicyInput(input),
515
- [_A]: _CLBP,
516
- [_V]: _,
517
- });
518
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
519
- };
520
- const se_DeleteLoadBalancerCommand = async (input, context) => {
521
- const headers = SHARED_HEADERS;
522
- let body;
523
- body = buildFormUrlencodedString({
524
- ...se_DeleteAccessPointInput(input),
525
- [_A]: _DLB,
526
- [_V]: _,
527
- });
528
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
529
- };
530
- const se_DeleteLoadBalancerListenersCommand = async (input, context) => {
531
- const headers = SHARED_HEADERS;
532
- let body;
533
- body = buildFormUrlencodedString({
534
- ...se_DeleteLoadBalancerListenerInput(input),
535
- [_A]: _DLBL,
536
- [_V]: _,
537
- });
538
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
539
- };
540
- const se_DeleteLoadBalancerPolicyCommand = async (input, context) => {
541
- const headers = SHARED_HEADERS;
542
- let body;
543
- body = buildFormUrlencodedString({
544
- ...se_DeleteLoadBalancerPolicyInput(input),
545
- [_A]: _DLBP,
546
- [_V]: _,
547
- });
548
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
549
- };
550
- const se_DeregisterInstancesFromLoadBalancerCommand = async (input, context) => {
551
- const headers = SHARED_HEADERS;
552
- let body;
553
- body = buildFormUrlencodedString({
554
- ...se_DeregisterEndPointsInput(input),
555
- [_A]: _DIFLB,
556
- [_V]: _,
557
- });
558
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
559
- };
560
- const se_DescribeAccountLimitsCommand = async (input, context) => {
561
- const headers = SHARED_HEADERS;
562
- let body;
563
- body = buildFormUrlencodedString({
564
- ...se_DescribeAccountLimitsInput(input),
565
- [_A]: _DAL,
566
- [_V]: _,
567
- });
568
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
569
- };
570
- const se_DescribeInstanceHealthCommand = async (input, context) => {
571
- const headers = SHARED_HEADERS;
572
- let body;
573
- body = buildFormUrlencodedString({
574
- ...se_DescribeEndPointStateInput(input),
575
- [_A]: _DIH,
576
- [_V]: _,
577
- });
578
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
579
- };
580
- const se_DescribeLoadBalancerAttributesCommand = async (input, context) => {
581
- const headers = SHARED_HEADERS;
582
- let body;
583
- body = buildFormUrlencodedString({
584
- ...se_DescribeLoadBalancerAttributesInput(input),
585
- [_A]: _DLBA,
586
- [_V]: _,
587
- });
588
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
589
- };
590
- const se_DescribeLoadBalancerPoliciesCommand = async (input, context) => {
591
- const headers = SHARED_HEADERS;
592
- let body;
593
- body = buildFormUrlencodedString({
594
- ...se_DescribeLoadBalancerPoliciesInput(input),
595
- [_A]: _DLBPe,
596
- [_V]: _,
597
- });
598
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
599
- };
600
- const se_DescribeLoadBalancerPolicyTypesCommand = async (input, context) => {
601
- const headers = SHARED_HEADERS;
602
- let body;
603
- body = buildFormUrlencodedString({
604
- ...se_DescribeLoadBalancerPolicyTypesInput(input),
605
- [_A]: _DLBPT,
606
- [_V]: _,
607
- });
608
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
609
- };
610
- const se_DescribeLoadBalancersCommand = async (input, context) => {
611
- const headers = SHARED_HEADERS;
612
- let body;
613
- body = buildFormUrlencodedString({
614
- ...se_DescribeAccessPointsInput(input),
615
- [_A]: _DLBe,
616
- [_V]: _,
617
- });
618
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
619
- };
620
- const se_DescribeTagsCommand = async (input, context) => {
621
- const headers = SHARED_HEADERS;
622
- let body;
623
- body = buildFormUrlencodedString({
624
- ...se_DescribeTagsInput(input),
625
- [_A]: _DT,
626
- [_V]: _,
627
- });
628
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
629
- };
630
- const se_DetachLoadBalancerFromSubnetsCommand = async (input, context) => {
631
- const headers = SHARED_HEADERS;
632
- let body;
633
- body = buildFormUrlencodedString({
634
- ...se_DetachLoadBalancerFromSubnetsInput(input),
635
- [_A]: _DLBFS,
636
- [_V]: _,
637
- });
638
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
639
- };
640
- const se_DisableAvailabilityZonesForLoadBalancerCommand = async (input, context) => {
641
- const headers = SHARED_HEADERS;
642
- let body;
643
- body = buildFormUrlencodedString({
644
- ...se_RemoveAvailabilityZonesInput(input),
645
- [_A]: _DAZFLB,
646
- [_V]: _,
647
- });
648
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
649
- };
650
- const se_EnableAvailabilityZonesForLoadBalancerCommand = async (input, context) => {
651
- const headers = SHARED_HEADERS;
652
- let body;
653
- body = buildFormUrlencodedString({
654
- ...se_AddAvailabilityZonesInput(input),
655
- [_A]: _EAZFLB,
656
- [_V]: _,
657
- });
658
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
659
- };
660
- const se_ModifyLoadBalancerAttributesCommand = async (input, context) => {
661
- const headers = SHARED_HEADERS;
662
- let body;
663
- body = buildFormUrlencodedString({
664
- ...se_ModifyLoadBalancerAttributesInput(input),
665
- [_A]: _MLBA,
666
- [_V]: _,
667
- });
668
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
669
- };
670
- const se_RegisterInstancesWithLoadBalancerCommand = async (input, context) => {
671
- const headers = SHARED_HEADERS;
672
- let body;
673
- body = buildFormUrlencodedString({
674
- ...se_RegisterEndPointsInput(input),
675
- [_A]: _RIWLB,
676
- [_V]: _,
677
- });
678
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
679
- };
680
- const se_RemoveTagsCommand = async (input, context) => {
681
- const headers = SHARED_HEADERS;
682
- let body;
683
- body = buildFormUrlencodedString({
684
- ...se_RemoveTagsInput(input),
685
- [_A]: _RT,
686
- [_V]: _,
687
- });
688
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
689
- };
690
- const se_SetLoadBalancerListenerSSLCertificateCommand = async (input, context) => {
691
- const headers = SHARED_HEADERS;
692
- let body;
693
- body = buildFormUrlencodedString({
694
- ...se_SetLoadBalancerListenerSSLCertificateInput(input),
695
- [_A]: _SLBLSSLC,
696
- [_V]: _,
697
- });
698
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
699
- };
700
- const se_SetLoadBalancerPoliciesForBackendServerCommand = async (input, context) => {
701
- const headers = SHARED_HEADERS;
702
- let body;
703
- body = buildFormUrlencodedString({
704
- ...se_SetLoadBalancerPoliciesForBackendServerInput(input),
705
- [_A]: _SLBPFBS,
706
- [_V]: _,
707
- });
708
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
709
- };
710
- const se_SetLoadBalancerPoliciesOfListenerCommand = async (input, context) => {
711
- const headers = SHARED_HEADERS;
712
- let body;
713
- body = buildFormUrlencodedString({
714
- ...se_SetLoadBalancerPoliciesOfListenerInput(input),
715
- [_A]: _SLBPOL,
716
- [_V]: _,
717
- });
718
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
719
- };
720
- const de_AddTagsCommand = async (output, context) => {
721
- if (output.statusCode >= 300) {
722
- return de_CommandError(output, context);
723
- }
724
- const data = await core$1.parseXmlBody(output.body, context);
725
- let contents = {};
726
- contents = de_AddTagsOutput(data.AddTagsResult);
727
- const response = {
728
- $metadata: deserializeMetadata(output),
729
- ...contents,
730
- };
731
- return response;
732
- };
733
- const de_ApplySecurityGroupsToLoadBalancerCommand = async (output, context) => {
734
- if (output.statusCode >= 300) {
735
- return de_CommandError(output, context);
736
- }
737
- const data = await core$1.parseXmlBody(output.body, context);
738
- let contents = {};
739
- contents = de_ApplySecurityGroupsToLoadBalancerOutput(data.ApplySecurityGroupsToLoadBalancerResult);
740
- const response = {
741
- $metadata: deserializeMetadata(output),
742
- ...contents,
743
- };
744
- return response;
745
- };
746
- const de_AttachLoadBalancerToSubnetsCommand = async (output, context) => {
747
- if (output.statusCode >= 300) {
748
- return de_CommandError(output, context);
749
- }
750
- const data = await core$1.parseXmlBody(output.body, context);
751
- let contents = {};
752
- contents = de_AttachLoadBalancerToSubnetsOutput(data.AttachLoadBalancerToSubnetsResult);
753
- const response = {
754
- $metadata: deserializeMetadata(output),
755
- ...contents,
756
- };
757
- return response;
758
- };
759
- const de_ConfigureHealthCheckCommand = async (output, context) => {
760
- if (output.statusCode >= 300) {
761
- return de_CommandError(output, context);
762
- }
763
- const data = await core$1.parseXmlBody(output.body, context);
764
- let contents = {};
765
- contents = de_ConfigureHealthCheckOutput(data.ConfigureHealthCheckResult);
766
- const response = {
767
- $metadata: deserializeMetadata(output),
768
- ...contents,
769
- };
770
- return response;
771
- };
772
- const de_CreateAppCookieStickinessPolicyCommand = async (output, context) => {
773
- if (output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const data = await core$1.parseXmlBody(output.body, context);
777
- let contents = {};
778
- contents = de_CreateAppCookieStickinessPolicyOutput(data.CreateAppCookieStickinessPolicyResult);
779
- const response = {
780
- $metadata: deserializeMetadata(output),
781
- ...contents,
782
- };
783
- return response;
784
- };
785
- const de_CreateLBCookieStickinessPolicyCommand = async (output, context) => {
786
- if (output.statusCode >= 300) {
787
- return de_CommandError(output, context);
788
- }
789
- const data = await core$1.parseXmlBody(output.body, context);
790
- let contents = {};
791
- contents = de_CreateLBCookieStickinessPolicyOutput(data.CreateLBCookieStickinessPolicyResult);
792
- const response = {
793
- $metadata: deserializeMetadata(output),
794
- ...contents,
795
- };
796
- return response;
797
- };
798
- const de_CreateLoadBalancerCommand = async (output, context) => {
799
- if (output.statusCode >= 300) {
800
- return de_CommandError(output, context);
801
- }
802
- const data = await core$1.parseXmlBody(output.body, context);
803
- let contents = {};
804
- contents = de_CreateAccessPointOutput(data.CreateLoadBalancerResult);
805
- const response = {
806
- $metadata: deserializeMetadata(output),
807
- ...contents,
808
- };
809
- return response;
810
- };
811
- const de_CreateLoadBalancerListenersCommand = async (output, context) => {
812
- if (output.statusCode >= 300) {
813
- return de_CommandError(output, context);
814
- }
815
- const data = await core$1.parseXmlBody(output.body, context);
816
- let contents = {};
817
- contents = de_CreateLoadBalancerListenerOutput(data.CreateLoadBalancerListenersResult);
818
- const response = {
819
- $metadata: deserializeMetadata(output),
820
- ...contents,
821
- };
822
- return response;
823
- };
824
- const de_CreateLoadBalancerPolicyCommand = async (output, context) => {
825
- if (output.statusCode >= 300) {
826
- return de_CommandError(output, context);
827
- }
828
- const data = await core$1.parseXmlBody(output.body, context);
829
- let contents = {};
830
- contents = de_CreateLoadBalancerPolicyOutput(data.CreateLoadBalancerPolicyResult);
831
- const response = {
832
- $metadata: deserializeMetadata(output),
833
- ...contents,
834
- };
835
- return response;
836
- };
837
- const de_DeleteLoadBalancerCommand = async (output, context) => {
838
- if (output.statusCode >= 300) {
839
- return de_CommandError(output, context);
840
- }
841
- const data = await core$1.parseXmlBody(output.body, context);
842
- let contents = {};
843
- contents = de_DeleteAccessPointOutput(data.DeleteLoadBalancerResult);
844
- const response = {
845
- $metadata: deserializeMetadata(output),
846
- ...contents,
847
- };
848
- return response;
849
- };
850
- const de_DeleteLoadBalancerListenersCommand = async (output, context) => {
851
- if (output.statusCode >= 300) {
852
- return de_CommandError(output, context);
853
- }
854
- const data = await core$1.parseXmlBody(output.body, context);
855
- let contents = {};
856
- contents = de_DeleteLoadBalancerListenerOutput(data.DeleteLoadBalancerListenersResult);
857
- const response = {
858
- $metadata: deserializeMetadata(output),
859
- ...contents,
860
- };
861
- return response;
862
- };
863
- const de_DeleteLoadBalancerPolicyCommand = async (output, context) => {
864
- if (output.statusCode >= 300) {
865
- return de_CommandError(output, context);
866
- }
867
- const data = await core$1.parseXmlBody(output.body, context);
868
- let contents = {};
869
- contents = de_DeleteLoadBalancerPolicyOutput(data.DeleteLoadBalancerPolicyResult);
870
- const response = {
871
- $metadata: deserializeMetadata(output),
872
- ...contents,
873
- };
874
- return response;
875
- };
876
- const de_DeregisterInstancesFromLoadBalancerCommand = async (output, context) => {
877
- if (output.statusCode >= 300) {
878
- return de_CommandError(output, context);
879
- }
880
- const data = await core$1.parseXmlBody(output.body, context);
881
- let contents = {};
882
- contents = de_DeregisterEndPointsOutput(data.DeregisterInstancesFromLoadBalancerResult);
883
- const response = {
884
- $metadata: deserializeMetadata(output),
885
- ...contents,
886
- };
887
- return response;
888
- };
889
- const de_DescribeAccountLimitsCommand = async (output, context) => {
890
- if (output.statusCode >= 300) {
891
- return de_CommandError(output, context);
892
- }
893
- const data = await core$1.parseXmlBody(output.body, context);
894
- let contents = {};
895
- contents = de_DescribeAccountLimitsOutput(data.DescribeAccountLimitsResult);
896
- const response = {
897
- $metadata: deserializeMetadata(output),
898
- ...contents,
899
- };
900
- return response;
901
- };
902
- const de_DescribeInstanceHealthCommand = async (output, context) => {
903
- if (output.statusCode >= 300) {
904
- return de_CommandError(output, context);
905
- }
906
- const data = await core$1.parseXmlBody(output.body, context);
907
- let contents = {};
908
- contents = de_DescribeEndPointStateOutput(data.DescribeInstanceHealthResult);
909
- const response = {
910
- $metadata: deserializeMetadata(output),
911
- ...contents,
912
- };
913
- return response;
914
- };
915
- const de_DescribeLoadBalancerAttributesCommand = async (output, context) => {
916
- if (output.statusCode >= 300) {
917
- return de_CommandError(output, context);
918
- }
919
- const data = await core$1.parseXmlBody(output.body, context);
920
- let contents = {};
921
- contents = de_DescribeLoadBalancerAttributesOutput(data.DescribeLoadBalancerAttributesResult);
922
- const response = {
923
- $metadata: deserializeMetadata(output),
924
- ...contents,
925
- };
926
- return response;
927
- };
928
- const de_DescribeLoadBalancerPoliciesCommand = async (output, context) => {
929
- if (output.statusCode >= 300) {
930
- return de_CommandError(output, context);
931
- }
932
- const data = await core$1.parseXmlBody(output.body, context);
933
- let contents = {};
934
- contents = de_DescribeLoadBalancerPoliciesOutput(data.DescribeLoadBalancerPoliciesResult);
935
- const response = {
936
- $metadata: deserializeMetadata(output),
937
- ...contents,
938
- };
939
- return response;
940
- };
941
- const de_DescribeLoadBalancerPolicyTypesCommand = async (output, context) => {
942
- if (output.statusCode >= 300) {
943
- return de_CommandError(output, context);
944
- }
945
- const data = await core$1.parseXmlBody(output.body, context);
946
- let contents = {};
947
- contents = de_DescribeLoadBalancerPolicyTypesOutput(data.DescribeLoadBalancerPolicyTypesResult);
948
- const response = {
949
- $metadata: deserializeMetadata(output),
950
- ...contents,
951
- };
952
- return response;
953
- };
954
- const de_DescribeLoadBalancersCommand = async (output, context) => {
955
- if (output.statusCode >= 300) {
956
- return de_CommandError(output, context);
957
- }
958
- const data = await core$1.parseXmlBody(output.body, context);
959
- let contents = {};
960
- contents = de_DescribeAccessPointsOutput(data.DescribeLoadBalancersResult);
961
- const response = {
962
- $metadata: deserializeMetadata(output),
963
- ...contents,
964
- };
965
- return response;
966
- };
967
- const de_DescribeTagsCommand = async (output, context) => {
968
- if (output.statusCode >= 300) {
969
- return de_CommandError(output, context);
970
- }
971
- const data = await core$1.parseXmlBody(output.body, context);
972
- let contents = {};
973
- contents = de_DescribeTagsOutput(data.DescribeTagsResult);
974
- const response = {
975
- $metadata: deserializeMetadata(output),
976
- ...contents,
977
- };
978
- return response;
979
- };
980
- const de_DetachLoadBalancerFromSubnetsCommand = async (output, context) => {
981
- if (output.statusCode >= 300) {
982
- return de_CommandError(output, context);
983
- }
984
- const data = await core$1.parseXmlBody(output.body, context);
985
- let contents = {};
986
- contents = de_DetachLoadBalancerFromSubnetsOutput(data.DetachLoadBalancerFromSubnetsResult);
987
- const response = {
988
- $metadata: deserializeMetadata(output),
989
- ...contents,
990
- };
991
- return response;
992
- };
993
- const de_DisableAvailabilityZonesForLoadBalancerCommand = async (output, context) => {
994
- if (output.statusCode >= 300) {
995
- return de_CommandError(output, context);
996
- }
997
- const data = await core$1.parseXmlBody(output.body, context);
998
- let contents = {};
999
- contents = de_RemoveAvailabilityZonesOutput(data.DisableAvailabilityZonesForLoadBalancerResult);
1000
- const response = {
1001
- $metadata: deserializeMetadata(output),
1002
- ...contents,
1003
- };
1004
- return response;
1005
- };
1006
- const de_EnableAvailabilityZonesForLoadBalancerCommand = async (output, context) => {
1007
- if (output.statusCode >= 300) {
1008
- return de_CommandError(output, context);
1009
- }
1010
- const data = await core$1.parseXmlBody(output.body, context);
1011
- let contents = {};
1012
- contents = de_AddAvailabilityZonesOutput(data.EnableAvailabilityZonesForLoadBalancerResult);
1013
- const response = {
1014
- $metadata: deserializeMetadata(output),
1015
- ...contents,
1016
- };
1017
- return response;
1018
- };
1019
- const de_ModifyLoadBalancerAttributesCommand = async (output, context) => {
1020
- if (output.statusCode >= 300) {
1021
- return de_CommandError(output, context);
1022
- }
1023
- const data = await core$1.parseXmlBody(output.body, context);
1024
- let contents = {};
1025
- contents = de_ModifyLoadBalancerAttributesOutput(data.ModifyLoadBalancerAttributesResult);
1026
- const response = {
1027
- $metadata: deserializeMetadata(output),
1028
- ...contents,
1029
- };
1030
- return response;
1031
- };
1032
- const de_RegisterInstancesWithLoadBalancerCommand = async (output, context) => {
1033
- if (output.statusCode >= 300) {
1034
- return de_CommandError(output, context);
1035
- }
1036
- const data = await core$1.parseXmlBody(output.body, context);
1037
- let contents = {};
1038
- contents = de_RegisterEndPointsOutput(data.RegisterInstancesWithLoadBalancerResult);
1039
- const response = {
1040
- $metadata: deserializeMetadata(output),
1041
- ...contents,
1042
- };
1043
- return response;
1044
- };
1045
- const de_RemoveTagsCommand = async (output, context) => {
1046
- if (output.statusCode >= 300) {
1047
- return de_CommandError(output, context);
1048
- }
1049
- const data = await core$1.parseXmlBody(output.body, context);
1050
- let contents = {};
1051
- contents = de_RemoveTagsOutput(data.RemoveTagsResult);
1052
- const response = {
1053
- $metadata: deserializeMetadata(output),
1054
- ...contents,
1055
- };
1056
- return response;
1057
- };
1058
- const de_SetLoadBalancerListenerSSLCertificateCommand = async (output, context) => {
1059
- if (output.statusCode >= 300) {
1060
- return de_CommandError(output, context);
1061
- }
1062
- const data = await core$1.parseXmlBody(output.body, context);
1063
- let contents = {};
1064
- contents = de_SetLoadBalancerListenerSSLCertificateOutput(data.SetLoadBalancerListenerSSLCertificateResult);
1065
- const response = {
1066
- $metadata: deserializeMetadata(output),
1067
- ...contents,
1068
- };
1069
- return response;
1070
- };
1071
- const de_SetLoadBalancerPoliciesForBackendServerCommand = async (output, context) => {
1072
- if (output.statusCode >= 300) {
1073
- return de_CommandError(output, context);
1074
- }
1075
- const data = await core$1.parseXmlBody(output.body, context);
1076
- let contents = {};
1077
- contents = de_SetLoadBalancerPoliciesForBackendServerOutput(data.SetLoadBalancerPoliciesForBackendServerResult);
1078
- const response = {
1079
- $metadata: deserializeMetadata(output),
1080
- ...contents,
1081
- };
1082
- return response;
1083
- };
1084
- const de_SetLoadBalancerPoliciesOfListenerCommand = async (output, context) => {
1085
- if (output.statusCode >= 300) {
1086
- return de_CommandError(output, context);
1087
- }
1088
- const data = await core$1.parseXmlBody(output.body, context);
1089
- let contents = {};
1090
- contents = de_SetLoadBalancerPoliciesOfListenerOutput(data.SetLoadBalancerPoliciesOfListenerResult);
1091
- const response = {
1092
- $metadata: deserializeMetadata(output),
1093
- ...contents,
1094
- };
1095
- return response;
1096
- };
1097
- const de_CommandError = async (output, context) => {
1098
- const parsedOutput = {
1099
- ...output,
1100
- body: await core$1.parseXmlErrorBody(output.body, context),
1101
- };
1102
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1103
- switch (errorCode) {
1104
- case "DuplicateTagKeys":
1105
- case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
1106
- throw await de_DuplicateTagKeysExceptionRes(parsedOutput);
1107
- case "LoadBalancerNotFound":
1108
- case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1109
- throw await de_AccessPointNotFoundExceptionRes(parsedOutput);
1110
- case "TooManyTags":
1111
- case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
1112
- throw await de_TooManyTagsExceptionRes(parsedOutput);
1113
- case "InvalidConfigurationRequest":
1114
- case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1115
- throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput);
1116
- case "InvalidSecurityGroup":
1117
- case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
1118
- throw await de_InvalidSecurityGroupExceptionRes(parsedOutput);
1119
- case "InvalidSubnet":
1120
- case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
1121
- throw await de_InvalidSubnetExceptionRes(parsedOutput);
1122
- case "SubnetNotFound":
1123
- case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
1124
- throw await de_SubnetNotFoundExceptionRes(parsedOutput);
1125
- case "DuplicatePolicyName":
1126
- case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
1127
- throw await de_DuplicatePolicyNameExceptionRes(parsedOutput);
1128
- case "TooManyPolicies":
1129
- case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
1130
- throw await de_TooManyPoliciesExceptionRes(parsedOutput);
1131
- case "CertificateNotFound":
1132
- case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
1133
- throw await de_CertificateNotFoundExceptionRes(parsedOutput);
1134
- case "DuplicateLoadBalancerName":
1135
- case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException":
1136
- throw await de_DuplicateAccessPointNameExceptionRes(parsedOutput);
1137
- case "InvalidScheme":
1138
- case "com.amazonaws.elasticloadbalancing#InvalidSchemeException":
1139
- throw await de_InvalidSchemeExceptionRes(parsedOutput);
1140
- case "OperationNotPermitted":
1141
- case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException":
1142
- throw await de_OperationNotPermittedExceptionRes(parsedOutput);
1143
- case "TooManyLoadBalancers":
1144
- case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException":
1145
- throw await de_TooManyAccessPointsExceptionRes(parsedOutput);
1146
- case "UnsupportedProtocol":
1147
- case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
1148
- throw await de_UnsupportedProtocolExceptionRes(parsedOutput);
1149
- case "DuplicateListener":
1150
- case "com.amazonaws.elasticloadbalancing#DuplicateListenerException":
1151
- throw await de_DuplicateListenerExceptionRes(parsedOutput);
1152
- case "PolicyTypeNotFound":
1153
- case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
1154
- throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput);
1155
- case "InvalidInstance":
1156
- case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
1157
- throw await de_InvalidEndPointExceptionRes(parsedOutput);
1158
- case "LoadBalancerAttributeNotFound":
1159
- case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
1160
- throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput);
1161
- case "PolicyNotFound":
1162
- case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
1163
- throw await de_PolicyNotFoundExceptionRes(parsedOutput);
1164
- case "DependencyThrottle":
1165
- case "com.amazonaws.elasticloadbalancing#DependencyThrottleException":
1166
- throw await de_DependencyThrottleExceptionRes(parsedOutput);
1167
- case "ListenerNotFound":
1168
- case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
1169
- throw await de_ListenerNotFoundExceptionRes(parsedOutput);
1170
- default:
1171
- const parsedBody = parsedOutput.body;
1172
- return throwDefaultError({
1173
- output,
1174
- parsedBody: parsedBody.Error,
1175
- errorCode,
1176
- });
1177
- }
1178
- };
1179
- const de_AccessPointNotFoundExceptionRes = async (parsedOutput, context) => {
1180
- const body = parsedOutput.body;
1181
- const deserialized = de_AccessPointNotFoundException(body.Error);
1182
- const exception = new AccessPointNotFoundException({
1183
- $metadata: deserializeMetadata(parsedOutput),
1184
- ...deserialized,
1185
- });
1186
- return smithyClient.decorateServiceException(exception, body);
1187
- };
1188
- const de_CertificateNotFoundExceptionRes = async (parsedOutput, context) => {
1189
- const body = parsedOutput.body;
1190
- const deserialized = de_CertificateNotFoundException(body.Error);
1191
- const exception = new CertificateNotFoundException({
1192
- $metadata: deserializeMetadata(parsedOutput),
1193
- ...deserialized,
1194
- });
1195
- return smithyClient.decorateServiceException(exception, body);
1196
- };
1197
- const de_DependencyThrottleExceptionRes = async (parsedOutput, context) => {
1198
- const body = parsedOutput.body;
1199
- const deserialized = de_DependencyThrottleException(body.Error);
1200
- const exception = new DependencyThrottleException({
1201
- $metadata: deserializeMetadata(parsedOutput),
1202
- ...deserialized,
1203
- });
1204
- return smithyClient.decorateServiceException(exception, body);
1205
- };
1206
- const de_DuplicateAccessPointNameExceptionRes = async (parsedOutput, context) => {
1207
- const body = parsedOutput.body;
1208
- const deserialized = de_DuplicateAccessPointNameException(body.Error);
1209
- const exception = new DuplicateAccessPointNameException({
1210
- $metadata: deserializeMetadata(parsedOutput),
1211
- ...deserialized,
1212
- });
1213
- return smithyClient.decorateServiceException(exception, body);
1214
- };
1215
- const de_DuplicateListenerExceptionRes = async (parsedOutput, context) => {
1216
- const body = parsedOutput.body;
1217
- const deserialized = de_DuplicateListenerException(body.Error);
1218
- const exception = new DuplicateListenerException({
1219
- $metadata: deserializeMetadata(parsedOutput),
1220
- ...deserialized,
1221
- });
1222
- return smithyClient.decorateServiceException(exception, body);
1223
- };
1224
- const de_DuplicatePolicyNameExceptionRes = async (parsedOutput, context) => {
1225
- const body = parsedOutput.body;
1226
- const deserialized = de_DuplicatePolicyNameException(body.Error);
1227
- const exception = new DuplicatePolicyNameException({
1228
- $metadata: deserializeMetadata(parsedOutput),
1229
- ...deserialized,
1230
- });
1231
- return smithyClient.decorateServiceException(exception, body);
1232
- };
1233
- const de_DuplicateTagKeysExceptionRes = async (parsedOutput, context) => {
1234
- const body = parsedOutput.body;
1235
- const deserialized = de_DuplicateTagKeysException(body.Error);
1236
- const exception = new DuplicateTagKeysException({
1237
- $metadata: deserializeMetadata(parsedOutput),
1238
- ...deserialized,
1239
- });
1240
- return smithyClient.decorateServiceException(exception, body);
1241
- };
1242
- const de_InvalidConfigurationRequestExceptionRes = async (parsedOutput, context) => {
1243
- const body = parsedOutput.body;
1244
- const deserialized = de_InvalidConfigurationRequestException(body.Error);
1245
- const exception = new InvalidConfigurationRequestException({
1246
- $metadata: deserializeMetadata(parsedOutput),
1247
- ...deserialized,
1248
- });
1249
- return smithyClient.decorateServiceException(exception, body);
1250
- };
1251
- const de_InvalidEndPointExceptionRes = async (parsedOutput, context) => {
1252
- const body = parsedOutput.body;
1253
- const deserialized = de_InvalidEndPointException(body.Error);
1254
- const exception = new InvalidEndPointException({
1255
- $metadata: deserializeMetadata(parsedOutput),
1256
- ...deserialized,
1257
- });
1258
- return smithyClient.decorateServiceException(exception, body);
1259
- };
1260
- const de_InvalidSchemeExceptionRes = async (parsedOutput, context) => {
1261
- const body = parsedOutput.body;
1262
- const deserialized = de_InvalidSchemeException(body.Error);
1263
- const exception = new InvalidSchemeException({
1264
- $metadata: deserializeMetadata(parsedOutput),
1265
- ...deserialized,
1266
- });
1267
- return smithyClient.decorateServiceException(exception, body);
1268
- };
1269
- const de_InvalidSecurityGroupExceptionRes = async (parsedOutput, context) => {
1270
- const body = parsedOutput.body;
1271
- const deserialized = de_InvalidSecurityGroupException(body.Error);
1272
- const exception = new InvalidSecurityGroupException({
1273
- $metadata: deserializeMetadata(parsedOutput),
1274
- ...deserialized,
1275
- });
1276
- return smithyClient.decorateServiceException(exception, body);
1277
- };
1278
- const de_InvalidSubnetExceptionRes = async (parsedOutput, context) => {
1279
- const body = parsedOutput.body;
1280
- const deserialized = de_InvalidSubnetException(body.Error);
1281
- const exception = new InvalidSubnetException({
1282
- $metadata: deserializeMetadata(parsedOutput),
1283
- ...deserialized,
1284
- });
1285
- return smithyClient.decorateServiceException(exception, body);
1286
- };
1287
- const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
1288
- const body = parsedOutput.body;
1289
- const deserialized = de_ListenerNotFoundException(body.Error);
1290
- const exception = new ListenerNotFoundException({
1291
- $metadata: deserializeMetadata(parsedOutput),
1292
- ...deserialized,
1293
- });
1294
- return smithyClient.decorateServiceException(exception, body);
1295
- };
1296
- const de_LoadBalancerAttributeNotFoundExceptionRes = async (parsedOutput, context) => {
1297
- const body = parsedOutput.body;
1298
- const deserialized = de_LoadBalancerAttributeNotFoundException(body.Error);
1299
- const exception = new LoadBalancerAttributeNotFoundException({
1300
- $metadata: deserializeMetadata(parsedOutput),
1301
- ...deserialized,
1302
- });
1303
- return smithyClient.decorateServiceException(exception, body);
1304
- };
1305
- const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
1306
- const body = parsedOutput.body;
1307
- const deserialized = de_OperationNotPermittedException(body.Error);
1308
- const exception = new OperationNotPermittedException({
1309
- $metadata: deserializeMetadata(parsedOutput),
1310
- ...deserialized,
1311
- });
1312
- return smithyClient.decorateServiceException(exception, body);
1313
- };
1314
- const de_PolicyNotFoundExceptionRes = async (parsedOutput, context) => {
1315
- const body = parsedOutput.body;
1316
- const deserialized = de_PolicyNotFoundException(body.Error);
1317
- const exception = new PolicyNotFoundException({
1318
- $metadata: deserializeMetadata(parsedOutput),
1319
- ...deserialized,
1320
- });
1321
- return smithyClient.decorateServiceException(exception, body);
1322
- };
1323
- const de_PolicyTypeNotFoundExceptionRes = async (parsedOutput, context) => {
1324
- const body = parsedOutput.body;
1325
- const deserialized = de_PolicyTypeNotFoundException(body.Error);
1326
- const exception = new PolicyTypeNotFoundException({
1327
- $metadata: deserializeMetadata(parsedOutput),
1328
- ...deserialized,
1329
- });
1330
- return smithyClient.decorateServiceException(exception, body);
1331
- };
1332
- const de_SubnetNotFoundExceptionRes = async (parsedOutput, context) => {
1333
- const body = parsedOutput.body;
1334
- const deserialized = de_SubnetNotFoundException(body.Error);
1335
- const exception = new SubnetNotFoundException({
1336
- $metadata: deserializeMetadata(parsedOutput),
1337
- ...deserialized,
1338
- });
1339
- return smithyClient.decorateServiceException(exception, body);
1340
- };
1341
- const de_TooManyAccessPointsExceptionRes = async (parsedOutput, context) => {
1342
- const body = parsedOutput.body;
1343
- const deserialized = de_TooManyAccessPointsException(body.Error);
1344
- const exception = new TooManyAccessPointsException({
1345
- $metadata: deserializeMetadata(parsedOutput),
1346
- ...deserialized,
1347
- });
1348
- return smithyClient.decorateServiceException(exception, body);
1349
- };
1350
- const de_TooManyPoliciesExceptionRes = async (parsedOutput, context) => {
1351
- const body = parsedOutput.body;
1352
- const deserialized = de_TooManyPoliciesException(body.Error);
1353
- const exception = new TooManyPoliciesException({
1354
- $metadata: deserializeMetadata(parsedOutput),
1355
- ...deserialized,
1356
- });
1357
- return smithyClient.decorateServiceException(exception, body);
1358
- };
1359
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1360
- const body = parsedOutput.body;
1361
- const deserialized = de_TooManyTagsException(body.Error);
1362
- const exception = new TooManyTagsException({
1363
- $metadata: deserializeMetadata(parsedOutput),
1364
- ...deserialized,
1365
- });
1366
- return smithyClient.decorateServiceException(exception, body);
1367
- };
1368
- const de_UnsupportedProtocolExceptionRes = async (parsedOutput, context) => {
1369
- const body = parsedOutput.body;
1370
- const deserialized = de_UnsupportedProtocolException(body.Error);
1371
- const exception = new UnsupportedProtocolException({
1372
- $metadata: deserializeMetadata(parsedOutput),
1373
- ...deserialized,
1374
- });
1375
- return smithyClient.decorateServiceException(exception, body);
1376
- };
1377
- const se_AccessLog = (input, context) => {
1378
- const entries = {};
1379
- if (input[_E] != null) {
1380
- entries[_E] = input[_E];
1381
- }
1382
- if (input[_SBN] != null) {
1383
- entries[_SBN] = input[_SBN];
1384
- }
1385
- if (input[_EI] != null) {
1386
- entries[_EI] = input[_EI];
1387
- }
1388
- if (input[_SBP] != null) {
1389
- entries[_SBP] = input[_SBP];
1390
- }
1391
- return entries;
1392
- };
1393
- const se_AddAvailabilityZonesInput = (input, context) => {
1394
- const entries = {};
1395
- if (input[_LBN] != null) {
1396
- entries[_LBN] = input[_LBN];
1397
- }
1398
- if (input[_AZ] != null) {
1399
- const memberEntries = se_AvailabilityZones(input[_AZ]);
1400
- if (input[_AZ]?.length === 0) {
1401
- entries.AvailabilityZones = [];
1402
- }
1403
- Object.entries(memberEntries).forEach(([key, value]) => {
1404
- const loc = `AvailabilityZones.${key}`;
1405
- entries[loc] = value;
1406
- });
1407
- }
1408
- return entries;
1409
- };
1410
- const se_AdditionalAttribute = (input, context) => {
1411
- const entries = {};
1412
- if (input[_K] != null) {
1413
- entries[_K] = input[_K];
1414
- }
1415
- if (input[_Va] != null) {
1416
- entries[_Va] = input[_Va];
1417
- }
1418
- return entries;
1419
- };
1420
- const se_AdditionalAttributes = (input, context) => {
1421
- const entries = {};
1422
- let counter = 1;
1423
- for (const entry of input) {
1424
- if (entry === null) {
1425
- continue;
1426
- }
1427
- const memberEntries = se_AdditionalAttribute(entry);
1428
- Object.entries(memberEntries).forEach(([key, value]) => {
1429
- entries[`member.${counter}.${key}`] = value;
1430
- });
1431
- counter++;
1432
- }
1433
- return entries;
1434
428
  };
1435
- const se_AddTagsInput = (input, context) => {
1436
- const entries = {};
1437
- if (input[_LBNo] != null) {
1438
- const memberEntries = se_LoadBalancerNames(input[_LBNo]);
1439
- if (input[_LBNo]?.length === 0) {
1440
- entries.LoadBalancerNames = [];
1441
- }
1442
- Object.entries(memberEntries).forEach(([key, value]) => {
1443
- const loc = `LoadBalancerNames.${key}`;
1444
- entries[loc] = value;
1445
- });
1446
- }
1447
- if (input[_T] != null) {
1448
- const memberEntries = se_TagList(input[_T]);
1449
- if (input[_T]?.length === 0) {
1450
- entries.Tags = [];
1451
- }
1452
- Object.entries(memberEntries).forEach(([key, value]) => {
1453
- const loc = `Tags.${key}`;
1454
- entries[loc] = value;
1455
- });
1456
- }
1457
- return entries;
1458
- };
1459
- const se_ApplySecurityGroupsToLoadBalancerInput = (input, context) => {
1460
- const entries = {};
1461
- if (input[_LBN] != null) {
1462
- entries[_LBN] = input[_LBN];
1463
- }
1464
- if (input[_SG] != null) {
1465
- const memberEntries = se_SecurityGroups(input[_SG]);
1466
- if (input[_SG]?.length === 0) {
1467
- entries.SecurityGroups = [];
1468
- }
1469
- Object.entries(memberEntries).forEach(([key, value]) => {
1470
- const loc = `SecurityGroups.${key}`;
1471
- entries[loc] = value;
1472
- });
1473
- }
1474
- return entries;
1475
- };
1476
- const se_AttachLoadBalancerToSubnetsInput = (input, context) => {
1477
- const entries = {};
1478
- if (input[_LBN] != null) {
1479
- entries[_LBN] = input[_LBN];
1480
- }
1481
- if (input[_S] != null) {
1482
- const memberEntries = se_Subnets(input[_S]);
1483
- if (input[_S]?.length === 0) {
1484
- entries.Subnets = [];
1485
- }
1486
- Object.entries(memberEntries).forEach(([key, value]) => {
1487
- const loc = `Subnets.${key}`;
1488
- entries[loc] = value;
1489
- });
1490
- }
1491
- return entries;
1492
- };
1493
- const se_AvailabilityZones = (input, context) => {
1494
- const entries = {};
1495
- let counter = 1;
1496
- for (const entry of input) {
1497
- if (entry === null) {
1498
- continue;
1499
- }
1500
- entries[`member.${counter}`] = entry;
1501
- counter++;
1502
- }
1503
- return entries;
1504
- };
1505
- const se_ConfigureHealthCheckInput = (input, context) => {
1506
- const entries = {};
1507
- if (input[_LBN] != null) {
1508
- entries[_LBN] = input[_LBN];
1509
- }
1510
- if (input[_HC] != null) {
1511
- const memberEntries = se_HealthCheck(input[_HC]);
1512
- Object.entries(memberEntries).forEach(([key, value]) => {
1513
- const loc = `HealthCheck.${key}`;
1514
- entries[loc] = value;
1515
- });
1516
- }
1517
- return entries;
1518
- };
1519
- const se_ConnectionDraining = (input, context) => {
1520
- const entries = {};
1521
- if (input[_E] != null) {
1522
- entries[_E] = input[_E];
1523
- }
1524
- if (input[_Ti] != null) {
1525
- entries[_Ti] = input[_Ti];
1526
- }
1527
- return entries;
1528
- };
1529
- const se_ConnectionSettings = (input, context) => {
1530
- const entries = {};
1531
- if (input[_IT] != null) {
1532
- entries[_IT] = input[_IT];
1533
- }
1534
- return entries;
1535
- };
1536
- const se_CreateAccessPointInput = (input, context) => {
1537
- const entries = {};
1538
- if (input[_LBN] != null) {
1539
- entries[_LBN] = input[_LBN];
1540
- }
1541
- if (input[_L] != null) {
1542
- const memberEntries = se_Listeners(input[_L]);
1543
- if (input[_L]?.length === 0) {
1544
- entries.Listeners = [];
1545
- }
1546
- Object.entries(memberEntries).forEach(([key, value]) => {
1547
- const loc = `Listeners.${key}`;
1548
- entries[loc] = value;
1549
- });
1550
- }
1551
- if (input[_AZ] != null) {
1552
- const memberEntries = se_AvailabilityZones(input[_AZ]);
1553
- if (input[_AZ]?.length === 0) {
1554
- entries.AvailabilityZones = [];
1555
- }
1556
- Object.entries(memberEntries).forEach(([key, value]) => {
1557
- const loc = `AvailabilityZones.${key}`;
1558
- entries[loc] = value;
1559
- });
1560
- }
1561
- if (input[_S] != null) {
1562
- const memberEntries = se_Subnets(input[_S]);
1563
- if (input[_S]?.length === 0) {
1564
- entries.Subnets = [];
1565
- }
1566
- Object.entries(memberEntries).forEach(([key, value]) => {
1567
- const loc = `Subnets.${key}`;
1568
- entries[loc] = value;
1569
- });
1570
- }
1571
- if (input[_SG] != null) {
1572
- const memberEntries = se_SecurityGroups(input[_SG]);
1573
- if (input[_SG]?.length === 0) {
1574
- entries.SecurityGroups = [];
1575
- }
1576
- Object.entries(memberEntries).forEach(([key, value]) => {
1577
- const loc = `SecurityGroups.${key}`;
1578
- entries[loc] = value;
1579
- });
1580
- }
1581
- if (input[_Sc] != null) {
1582
- entries[_Sc] = input[_Sc];
1583
- }
1584
- if (input[_T] != null) {
1585
- const memberEntries = se_TagList(input[_T]);
1586
- if (input[_T]?.length === 0) {
1587
- entries.Tags = [];
1588
- }
1589
- Object.entries(memberEntries).forEach(([key, value]) => {
1590
- const loc = `Tags.${key}`;
1591
- entries[loc] = value;
1592
- });
1593
- }
1594
- return entries;
1595
- };
1596
- const se_CreateAppCookieStickinessPolicyInput = (input, context) => {
1597
- const entries = {};
1598
- if (input[_LBN] != null) {
1599
- entries[_LBN] = input[_LBN];
1600
- }
1601
- if (input[_PN] != null) {
1602
- entries[_PN] = input[_PN];
1603
- }
1604
- if (input[_CN] != null) {
1605
- entries[_CN] = input[_CN];
1606
- }
1607
- return entries;
1608
- };
1609
- const se_CreateLBCookieStickinessPolicyInput = (input, context) => {
1610
- const entries = {};
1611
- if (input[_LBN] != null) {
1612
- entries[_LBN] = input[_LBN];
1613
- }
1614
- if (input[_PN] != null) {
1615
- entries[_PN] = input[_PN];
1616
- }
1617
- if (input[_CEP] != null) {
1618
- entries[_CEP] = input[_CEP];
1619
- }
1620
- return entries;
1621
- };
1622
- const se_CreateLoadBalancerListenerInput = (input, context) => {
1623
- const entries = {};
1624
- if (input[_LBN] != null) {
1625
- entries[_LBN] = input[_LBN];
1626
- }
1627
- if (input[_L] != null) {
1628
- const memberEntries = se_Listeners(input[_L]);
1629
- if (input[_L]?.length === 0) {
1630
- entries.Listeners = [];
1631
- }
1632
- Object.entries(memberEntries).forEach(([key, value]) => {
1633
- const loc = `Listeners.${key}`;
1634
- entries[loc] = value;
1635
- });
1636
- }
1637
- return entries;
1638
- };
1639
- const se_CreateLoadBalancerPolicyInput = (input, context) => {
1640
- const entries = {};
1641
- if (input[_LBN] != null) {
1642
- entries[_LBN] = input[_LBN];
1643
- }
1644
- if (input[_PN] != null) {
1645
- entries[_PN] = input[_PN];
1646
- }
1647
- if (input[_PTN] != null) {
1648
- entries[_PTN] = input[_PTN];
1649
- }
1650
- if (input[_PA] != null) {
1651
- const memberEntries = se_PolicyAttributes(input[_PA]);
1652
- if (input[_PA]?.length === 0) {
1653
- entries.PolicyAttributes = [];
1654
- }
1655
- Object.entries(memberEntries).forEach(([key, value]) => {
1656
- const loc = `PolicyAttributes.${key}`;
1657
- entries[loc] = value;
1658
- });
1659
- }
1660
- return entries;
1661
- };
1662
- const se_CrossZoneLoadBalancing = (input, context) => {
1663
- const entries = {};
1664
- if (input[_E] != null) {
1665
- entries[_E] = input[_E];
1666
- }
1667
- return entries;
1668
- };
1669
- const se_DeleteAccessPointInput = (input, context) => {
1670
- const entries = {};
1671
- if (input[_LBN] != null) {
1672
- entries[_LBN] = input[_LBN];
1673
- }
1674
- return entries;
1675
- };
1676
- const se_DeleteLoadBalancerListenerInput = (input, context) => {
1677
- const entries = {};
1678
- if (input[_LBN] != null) {
1679
- entries[_LBN] = input[_LBN];
1680
- }
1681
- if (input[_LBP] != null) {
1682
- const memberEntries = se_Ports(input[_LBP]);
1683
- if (input[_LBP]?.length === 0) {
1684
- entries.LoadBalancerPorts = [];
1685
- }
1686
- Object.entries(memberEntries).forEach(([key, value]) => {
1687
- const loc = `LoadBalancerPorts.${key}`;
1688
- entries[loc] = value;
1689
- });
1690
- }
1691
- return entries;
1692
- };
1693
- const se_DeleteLoadBalancerPolicyInput = (input, context) => {
1694
- const entries = {};
1695
- if (input[_LBN] != null) {
1696
- entries[_LBN] = input[_LBN];
1697
- }
1698
- if (input[_PN] != null) {
1699
- entries[_PN] = input[_PN];
1700
- }
1701
- return entries;
1702
- };
1703
- const se_DeregisterEndPointsInput = (input, context) => {
1704
- const entries = {};
1705
- if (input[_LBN] != null) {
1706
- entries[_LBN] = input[_LBN];
1707
- }
1708
- if (input[_I] != null) {
1709
- const memberEntries = se_Instances(input[_I]);
1710
- if (input[_I]?.length === 0) {
1711
- entries.Instances = [];
1712
- }
1713
- Object.entries(memberEntries).forEach(([key, value]) => {
1714
- const loc = `Instances.${key}`;
1715
- entries[loc] = value;
1716
- });
1717
- }
1718
- return entries;
1719
- };
1720
- const se_DescribeAccessPointsInput = (input, context) => {
1721
- const entries = {};
1722
- if (input[_LBNo] != null) {
1723
- const memberEntries = se_LoadBalancerNames(input[_LBNo]);
1724
- if (input[_LBNo]?.length === 0) {
1725
- entries.LoadBalancerNames = [];
1726
- }
1727
- Object.entries(memberEntries).forEach(([key, value]) => {
1728
- const loc = `LoadBalancerNames.${key}`;
1729
- entries[loc] = value;
1730
- });
1731
- }
1732
- if (input[_M] != null) {
1733
- entries[_M] = input[_M];
1734
- }
1735
- if (input[_PS] != null) {
1736
- entries[_PS] = input[_PS];
1737
- }
1738
- return entries;
1739
- };
1740
- const se_DescribeAccountLimitsInput = (input, context) => {
1741
- const entries = {};
1742
- if (input[_M] != null) {
1743
- entries[_M] = input[_M];
1744
- }
1745
- if (input[_PS] != null) {
1746
- entries[_PS] = input[_PS];
1747
- }
1748
- return entries;
1749
- };
1750
- const se_DescribeEndPointStateInput = (input, context) => {
1751
- const entries = {};
1752
- if (input[_LBN] != null) {
1753
- entries[_LBN] = input[_LBN];
1754
- }
1755
- if (input[_I] != null) {
1756
- const memberEntries = se_Instances(input[_I]);
1757
- if (input[_I]?.length === 0) {
1758
- entries.Instances = [];
1759
- }
1760
- Object.entries(memberEntries).forEach(([key, value]) => {
1761
- const loc = `Instances.${key}`;
1762
- entries[loc] = value;
1763
- });
1764
- }
1765
- return entries;
1766
- };
1767
- const se_DescribeLoadBalancerAttributesInput = (input, context) => {
1768
- const entries = {};
1769
- if (input[_LBN] != null) {
1770
- entries[_LBN] = input[_LBN];
1771
- }
1772
- return entries;
1773
- };
1774
- const se_DescribeLoadBalancerPoliciesInput = (input, context) => {
1775
- const entries = {};
1776
- if (input[_LBN] != null) {
1777
- entries[_LBN] = input[_LBN];
1778
- }
1779
- if (input[_PNo] != null) {
1780
- const memberEntries = se_PolicyNames(input[_PNo]);
1781
- if (input[_PNo]?.length === 0) {
1782
- entries.PolicyNames = [];
1783
- }
1784
- Object.entries(memberEntries).forEach(([key, value]) => {
1785
- const loc = `PolicyNames.${key}`;
1786
- entries[loc] = value;
1787
- });
1788
- }
1789
- return entries;
1790
- };
1791
- const se_DescribeLoadBalancerPolicyTypesInput = (input, context) => {
1792
- const entries = {};
1793
- if (input[_PTNo] != null) {
1794
- const memberEntries = se_PolicyTypeNames(input[_PTNo]);
1795
- if (input[_PTNo]?.length === 0) {
1796
- entries.PolicyTypeNames = [];
1797
- }
1798
- Object.entries(memberEntries).forEach(([key, value]) => {
1799
- const loc = `PolicyTypeNames.${key}`;
1800
- entries[loc] = value;
1801
- });
1802
- }
1803
- return entries;
1804
- };
1805
- const se_DescribeTagsInput = (input, context) => {
1806
- const entries = {};
1807
- if (input[_LBNo] != null) {
1808
- const memberEntries = se_LoadBalancerNamesMax20(input[_LBNo]);
1809
- if (input[_LBNo]?.length === 0) {
1810
- entries.LoadBalancerNames = [];
1811
- }
1812
- Object.entries(memberEntries).forEach(([key, value]) => {
1813
- const loc = `LoadBalancerNames.${key}`;
1814
- entries[loc] = value;
1815
- });
1816
- }
1817
- return entries;
1818
- };
1819
- const se_DetachLoadBalancerFromSubnetsInput = (input, context) => {
1820
- const entries = {};
1821
- if (input[_LBN] != null) {
1822
- entries[_LBN] = input[_LBN];
1823
- }
1824
- if (input[_S] != null) {
1825
- const memberEntries = se_Subnets(input[_S]);
1826
- if (input[_S]?.length === 0) {
1827
- entries.Subnets = [];
1828
- }
1829
- Object.entries(memberEntries).forEach(([key, value]) => {
1830
- const loc = `Subnets.${key}`;
1831
- entries[loc] = value;
1832
- });
1833
- }
1834
- return entries;
1835
- };
1836
- const se_HealthCheck = (input, context) => {
1837
- const entries = {};
1838
- if (input[_Ta] != null) {
1839
- entries[_Ta] = input[_Ta];
1840
- }
1841
- if (input[_In] != null) {
1842
- entries[_In] = input[_In];
1843
- }
1844
- if (input[_Ti] != null) {
1845
- entries[_Ti] = input[_Ti];
1846
- }
1847
- if (input[_UT] != null) {
1848
- entries[_UT] = input[_UT];
1849
- }
1850
- if (input[_HT] != null) {
1851
- entries[_HT] = input[_HT];
1852
- }
1853
- return entries;
1854
- };
1855
- const se_Instance = (input, context) => {
1856
- const entries = {};
1857
- if (input[_II] != null) {
1858
- entries[_II] = input[_II];
1859
- }
1860
- return entries;
1861
- };
1862
- const se_Instances = (input, context) => {
1863
- const entries = {};
1864
- let counter = 1;
1865
- for (const entry of input) {
1866
- if (entry === null) {
1867
- continue;
1868
- }
1869
- const memberEntries = se_Instance(entry);
1870
- Object.entries(memberEntries).forEach(([key, value]) => {
1871
- entries[`member.${counter}.${key}`] = value;
1872
- });
1873
- counter++;
1874
- }
1875
- return entries;
1876
- };
1877
- const se_Listener = (input, context) => {
1878
- const entries = {};
1879
- if (input[_P] != null) {
1880
- entries[_P] = input[_P];
1881
- }
1882
- if (input[_LBPo] != null) {
1883
- entries[_LBPo] = input[_LBPo];
1884
- }
1885
- if (input[_IP] != null) {
1886
- entries[_IP] = input[_IP];
1887
- }
1888
- if (input[_IPn] != null) {
1889
- entries[_IPn] = input[_IPn];
1890
- }
1891
- if (input[_SSLCI] != null) {
1892
- entries[_SSLCI] = input[_SSLCI];
1893
- }
1894
- return entries;
1895
- };
1896
- const se_Listeners = (input, context) => {
1897
- const entries = {};
1898
- let counter = 1;
1899
- for (const entry of input) {
1900
- if (entry === null) {
1901
- continue;
1902
- }
1903
- const memberEntries = se_Listener(entry);
1904
- Object.entries(memberEntries).forEach(([key, value]) => {
1905
- entries[`member.${counter}.${key}`] = value;
1906
- });
1907
- counter++;
1908
- }
1909
- return entries;
1910
- };
1911
- const se_LoadBalancerAttributes = (input, context) => {
1912
- const entries = {};
1913
- if (input[_CZLB] != null) {
1914
- const memberEntries = se_CrossZoneLoadBalancing(input[_CZLB]);
1915
- Object.entries(memberEntries).forEach(([key, value]) => {
1916
- const loc = `CrossZoneLoadBalancing.${key}`;
1917
- entries[loc] = value;
1918
- });
1919
- }
1920
- if (input[_AL] != null) {
1921
- const memberEntries = se_AccessLog(input[_AL]);
1922
- Object.entries(memberEntries).forEach(([key, value]) => {
1923
- const loc = `AccessLog.${key}`;
1924
- entries[loc] = value;
1925
- });
1926
- }
1927
- if (input[_CD] != null) {
1928
- const memberEntries = se_ConnectionDraining(input[_CD]);
1929
- Object.entries(memberEntries).forEach(([key, value]) => {
1930
- const loc = `ConnectionDraining.${key}`;
1931
- entries[loc] = value;
1932
- });
1933
- }
1934
- if (input[_CS] != null) {
1935
- const memberEntries = se_ConnectionSettings(input[_CS]);
1936
- Object.entries(memberEntries).forEach(([key, value]) => {
1937
- const loc = `ConnectionSettings.${key}`;
1938
- entries[loc] = value;
1939
- });
1940
- }
1941
- if (input[_AA] != null) {
1942
- const memberEntries = se_AdditionalAttributes(input[_AA]);
1943
- if (input[_AA]?.length === 0) {
1944
- entries.AdditionalAttributes = [];
1945
- }
1946
- Object.entries(memberEntries).forEach(([key, value]) => {
1947
- const loc = `AdditionalAttributes.${key}`;
1948
- entries[loc] = value;
1949
- });
1950
- }
1951
- return entries;
1952
- };
1953
- const se_LoadBalancerNames = (input, context) => {
1954
- const entries = {};
1955
- let counter = 1;
1956
- for (const entry of input) {
1957
- if (entry === null) {
1958
- continue;
1959
- }
1960
- entries[`member.${counter}`] = entry;
1961
- counter++;
1962
- }
1963
- return entries;
1964
- };
1965
- const se_LoadBalancerNamesMax20 = (input, context) => {
1966
- const entries = {};
1967
- let counter = 1;
1968
- for (const entry of input) {
1969
- if (entry === null) {
1970
- continue;
1971
- }
1972
- entries[`member.${counter}`] = entry;
1973
- counter++;
1974
- }
1975
- return entries;
1976
- };
1977
- const se_ModifyLoadBalancerAttributesInput = (input, context) => {
1978
- const entries = {};
1979
- if (input[_LBN] != null) {
1980
- entries[_LBN] = input[_LBN];
1981
- }
1982
- if (input[_LBA] != null) {
1983
- const memberEntries = se_LoadBalancerAttributes(input[_LBA]);
1984
- Object.entries(memberEntries).forEach(([key, value]) => {
1985
- const loc = `LoadBalancerAttributes.${key}`;
1986
- entries[loc] = value;
1987
- });
1988
- }
1989
- return entries;
1990
- };
1991
- const se_PolicyAttribute = (input, context) => {
1992
- const entries = {};
1993
- if (input[_AN] != null) {
1994
- entries[_AN] = input[_AN];
1995
- }
1996
- if (input[_AV] != null) {
1997
- entries[_AV] = input[_AV];
1998
- }
1999
- return entries;
2000
- };
2001
- const se_PolicyAttributes = (input, context) => {
2002
- const entries = {};
2003
- let counter = 1;
2004
- for (const entry of input) {
2005
- if (entry === null) {
2006
- continue;
2007
- }
2008
- const memberEntries = se_PolicyAttribute(entry);
2009
- Object.entries(memberEntries).forEach(([key, value]) => {
2010
- entries[`member.${counter}.${key}`] = value;
2011
- });
2012
- counter++;
2013
- }
2014
- return entries;
2015
- };
2016
- const se_PolicyNames = (input, context) => {
2017
- const entries = {};
2018
- let counter = 1;
2019
- for (const entry of input) {
2020
- if (entry === null) {
2021
- continue;
2022
- }
2023
- entries[`member.${counter}`] = entry;
2024
- counter++;
2025
- }
2026
- return entries;
2027
- };
2028
- const se_PolicyTypeNames = (input, context) => {
2029
- const entries = {};
2030
- let counter = 1;
2031
- for (const entry of input) {
2032
- if (entry === null) {
2033
- continue;
2034
- }
2035
- entries[`member.${counter}`] = entry;
2036
- counter++;
2037
- }
2038
- return entries;
2039
- };
2040
- const se_Ports = (input, context) => {
2041
- const entries = {};
2042
- let counter = 1;
2043
- for (const entry of input) {
2044
- if (entry === null) {
2045
- continue;
2046
- }
2047
- entries[`member.${counter}`] = entry;
2048
- counter++;
2049
- }
2050
- return entries;
2051
- };
2052
- const se_RegisterEndPointsInput = (input, context) => {
2053
- const entries = {};
2054
- if (input[_LBN] != null) {
2055
- entries[_LBN] = input[_LBN];
2056
- }
2057
- if (input[_I] != null) {
2058
- const memberEntries = se_Instances(input[_I]);
2059
- if (input[_I]?.length === 0) {
2060
- entries.Instances = [];
2061
- }
2062
- Object.entries(memberEntries).forEach(([key, value]) => {
2063
- const loc = `Instances.${key}`;
2064
- entries[loc] = value;
2065
- });
2066
- }
2067
- return entries;
2068
- };
2069
- const se_RemoveAvailabilityZonesInput = (input, context) => {
2070
- const entries = {};
2071
- if (input[_LBN] != null) {
2072
- entries[_LBN] = input[_LBN];
2073
- }
2074
- if (input[_AZ] != null) {
2075
- const memberEntries = se_AvailabilityZones(input[_AZ]);
2076
- if (input[_AZ]?.length === 0) {
2077
- entries.AvailabilityZones = [];
2078
- }
2079
- Object.entries(memberEntries).forEach(([key, value]) => {
2080
- const loc = `AvailabilityZones.${key}`;
2081
- entries[loc] = value;
2082
- });
2083
- }
2084
- return entries;
2085
- };
2086
- const se_RemoveTagsInput = (input, context) => {
2087
- const entries = {};
2088
- if (input[_LBNo] != null) {
2089
- const memberEntries = se_LoadBalancerNames(input[_LBNo]);
2090
- if (input[_LBNo]?.length === 0) {
2091
- entries.LoadBalancerNames = [];
2092
- }
2093
- Object.entries(memberEntries).forEach(([key, value]) => {
2094
- const loc = `LoadBalancerNames.${key}`;
2095
- entries[loc] = value;
2096
- });
2097
- }
2098
- if (input[_T] != null) {
2099
- const memberEntries = se_TagKeyList(input[_T]);
2100
- if (input[_T]?.length === 0) {
2101
- entries.Tags = [];
2102
- }
2103
- Object.entries(memberEntries).forEach(([key, value]) => {
2104
- const loc = `Tags.${key}`;
2105
- entries[loc] = value;
2106
- });
2107
- }
2108
- return entries;
2109
- };
2110
- const se_SecurityGroups = (input, context) => {
2111
- const entries = {};
2112
- let counter = 1;
2113
- for (const entry of input) {
2114
- if (entry === null) {
2115
- continue;
2116
- }
2117
- entries[`member.${counter}`] = entry;
2118
- counter++;
2119
- }
2120
- return entries;
2121
- };
2122
- const se_SetLoadBalancerListenerSSLCertificateInput = (input, context) => {
2123
- const entries = {};
2124
- if (input[_LBN] != null) {
2125
- entries[_LBN] = input[_LBN];
2126
- }
2127
- if (input[_LBPo] != null) {
2128
- entries[_LBPo] = input[_LBPo];
2129
- }
2130
- if (input[_SSLCI] != null) {
2131
- entries[_SSLCI] = input[_SSLCI];
2132
- }
2133
- return entries;
2134
- };
2135
- const se_SetLoadBalancerPoliciesForBackendServerInput = (input, context) => {
2136
- const entries = {};
2137
- if (input[_LBN] != null) {
2138
- entries[_LBN] = input[_LBN];
2139
- }
2140
- if (input[_IPn] != null) {
2141
- entries[_IPn] = input[_IPn];
2142
- }
2143
- if (input[_PNo] != null) {
2144
- const memberEntries = se_PolicyNames(input[_PNo]);
2145
- if (input[_PNo]?.length === 0) {
2146
- entries.PolicyNames = [];
2147
- }
2148
- Object.entries(memberEntries).forEach(([key, value]) => {
2149
- const loc = `PolicyNames.${key}`;
2150
- entries[loc] = value;
2151
- });
2152
- }
2153
- return entries;
2154
- };
2155
- const se_SetLoadBalancerPoliciesOfListenerInput = (input, context) => {
2156
- const entries = {};
2157
- if (input[_LBN] != null) {
2158
- entries[_LBN] = input[_LBN];
2159
- }
2160
- if (input[_LBPo] != null) {
2161
- entries[_LBPo] = input[_LBPo];
2162
- }
2163
- if (input[_PNo] != null) {
2164
- const memberEntries = se_PolicyNames(input[_PNo]);
2165
- if (input[_PNo]?.length === 0) {
2166
- entries.PolicyNames = [];
2167
- }
2168
- Object.entries(memberEntries).forEach(([key, value]) => {
2169
- const loc = `PolicyNames.${key}`;
2170
- entries[loc] = value;
2171
- });
2172
- }
2173
- return entries;
2174
- };
2175
- const se_Subnets = (input, context) => {
2176
- const entries = {};
2177
- let counter = 1;
2178
- for (const entry of input) {
2179
- if (entry === null) {
2180
- continue;
2181
- }
2182
- entries[`member.${counter}`] = entry;
2183
- counter++;
2184
- }
2185
- return entries;
2186
- };
2187
- const se_Tag = (input, context) => {
2188
- const entries = {};
2189
- if (input[_K] != null) {
2190
- entries[_K] = input[_K];
2191
- }
2192
- if (input[_Va] != null) {
2193
- entries[_Va] = input[_Va];
2194
- }
2195
- return entries;
2196
- };
2197
- const se_TagKeyList = (input, context) => {
2198
- const entries = {};
2199
- let counter = 1;
2200
- for (const entry of input) {
2201
- if (entry === null) {
2202
- continue;
2203
- }
2204
- const memberEntries = se_TagKeyOnly(entry);
2205
- Object.entries(memberEntries).forEach(([key, value]) => {
2206
- entries[`member.${counter}.${key}`] = value;
2207
- });
2208
- counter++;
2209
- }
2210
- return entries;
2211
- };
2212
- const se_TagKeyOnly = (input, context) => {
2213
- const entries = {};
2214
- if (input[_K] != null) {
2215
- entries[_K] = input[_K];
2216
- }
2217
- return entries;
2218
- };
2219
- const se_TagList = (input, context) => {
2220
- const entries = {};
2221
- let counter = 1;
2222
- for (const entry of input) {
2223
- if (entry === null) {
2224
- continue;
2225
- }
2226
- const memberEntries = se_Tag(entry);
2227
- Object.entries(memberEntries).forEach(([key, value]) => {
2228
- entries[`member.${counter}.${key}`] = value;
2229
- });
2230
- counter++;
2231
- }
2232
- return entries;
2233
- };
2234
- const de_AccessLog = (output, context) => {
2235
- const contents = {};
2236
- if (output[_E] != null) {
2237
- contents[_E] = smithyClient.parseBoolean(output[_E]);
2238
- }
2239
- if (output[_SBN] != null) {
2240
- contents[_SBN] = smithyClient.expectString(output[_SBN]);
2241
- }
2242
- if (output[_EI] != null) {
2243
- contents[_EI] = smithyClient.strictParseInt32(output[_EI]);
2244
- }
2245
- if (output[_SBP] != null) {
2246
- contents[_SBP] = smithyClient.expectString(output[_SBP]);
2247
- }
2248
- return contents;
2249
- };
2250
- const de_AccessPointNotFoundException = (output, context) => {
2251
- const contents = {};
2252
- if (output[_Me] != null) {
2253
- contents[_Me] = smithyClient.expectString(output[_Me]);
2254
- }
2255
- return contents;
2256
- };
2257
- const de_AddAvailabilityZonesOutput = (output, context) => {
2258
- const contents = {};
2259
- if (String(output.AvailabilityZones).trim() === "") {
2260
- contents[_AZ] = [];
2261
- }
2262
- else if (output[_AZ] != null && output[_AZ][_m] != null) {
2263
- contents[_AZ] = de_AvailabilityZones(smithyClient.getArrayIfSingleItem(output[_AZ][_m]));
2264
- }
2265
- return contents;
2266
- };
2267
- const de_AdditionalAttribute = (output, context) => {
2268
- const contents = {};
2269
- if (output[_K] != null) {
2270
- contents[_K] = smithyClient.expectString(output[_K]);
2271
- }
2272
- if (output[_Va] != null) {
2273
- contents[_Va] = smithyClient.expectString(output[_Va]);
2274
- }
2275
- return contents;
2276
- };
2277
- const de_AdditionalAttributes = (output, context) => {
2278
- return (output || [])
2279
- .filter((e) => e != null)
2280
- .map((entry) => {
2281
- return de_AdditionalAttribute(entry);
2282
- });
2283
- };
2284
- const de_AddTagsOutput = (output, context) => {
2285
- const contents = {};
2286
- return contents;
2287
- };
2288
- const de_AppCookieStickinessPolicies = (output, context) => {
2289
- return (output || [])
2290
- .filter((e) => e != null)
2291
- .map((entry) => {
2292
- return de_AppCookieStickinessPolicy(entry);
2293
- });
2294
- };
2295
- const de_AppCookieStickinessPolicy = (output, context) => {
2296
- const contents = {};
2297
- if (output[_PN] != null) {
2298
- contents[_PN] = smithyClient.expectString(output[_PN]);
2299
- }
2300
- if (output[_CN] != null) {
2301
- contents[_CN] = smithyClient.expectString(output[_CN]);
2302
- }
2303
- return contents;
2304
- };
2305
- const de_ApplySecurityGroupsToLoadBalancerOutput = (output, context) => {
2306
- const contents = {};
2307
- if (String(output.SecurityGroups).trim() === "") {
2308
- contents[_SG] = [];
2309
- }
2310
- else if (output[_SG] != null && output[_SG][_m] != null) {
2311
- contents[_SG] = de_SecurityGroups(smithyClient.getArrayIfSingleItem(output[_SG][_m]));
2312
- }
2313
- return contents;
2314
- };
2315
- const de_AttachLoadBalancerToSubnetsOutput = (output, context) => {
2316
- const contents = {};
2317
- if (String(output.Subnets).trim() === "") {
2318
- contents[_S] = [];
2319
- }
2320
- else if (output[_S] != null && output[_S][_m] != null) {
2321
- contents[_S] = de_Subnets(smithyClient.getArrayIfSingleItem(output[_S][_m]));
2322
- }
2323
- return contents;
2324
- };
2325
- const de_AvailabilityZones = (output, context) => {
2326
- return (output || [])
2327
- .filter((e) => e != null)
2328
- .map((entry) => {
2329
- return smithyClient.expectString(entry);
2330
- });
2331
- };
2332
- const de_BackendServerDescription = (output, context) => {
2333
- const contents = {};
2334
- if (output[_IPn] != null) {
2335
- contents[_IPn] = smithyClient.strictParseInt32(output[_IPn]);
2336
- }
2337
- if (String(output.PolicyNames).trim() === "") {
2338
- contents[_PNo] = [];
2339
- }
2340
- else if (output[_PNo] != null && output[_PNo][_m] != null) {
2341
- contents[_PNo] = de_PolicyNames(smithyClient.getArrayIfSingleItem(output[_PNo][_m]));
2342
- }
2343
- return contents;
2344
- };
2345
- const de_BackendServerDescriptions = (output, context) => {
2346
- return (output || [])
2347
- .filter((e) => e != null)
2348
- .map((entry) => {
2349
- return de_BackendServerDescription(entry);
2350
- });
2351
- };
2352
- const de_CertificateNotFoundException = (output, context) => {
2353
- const contents = {};
2354
- if (output[_Me] != null) {
2355
- contents[_Me] = smithyClient.expectString(output[_Me]);
2356
- }
2357
- return contents;
2358
- };
2359
- const de_ConfigureHealthCheckOutput = (output, context) => {
2360
- const contents = {};
2361
- if (output[_HC] != null) {
2362
- contents[_HC] = de_HealthCheck(output[_HC]);
2363
- }
2364
- return contents;
2365
- };
2366
- const de_ConnectionDraining = (output, context) => {
2367
- const contents = {};
2368
- if (output[_E] != null) {
2369
- contents[_E] = smithyClient.parseBoolean(output[_E]);
2370
- }
2371
- if (output[_Ti] != null) {
2372
- contents[_Ti] = smithyClient.strictParseInt32(output[_Ti]);
2373
- }
2374
- return contents;
2375
- };
2376
- const de_ConnectionSettings = (output, context) => {
2377
- const contents = {};
2378
- if (output[_IT] != null) {
2379
- contents[_IT] = smithyClient.strictParseInt32(output[_IT]);
2380
- }
2381
- return contents;
2382
- };
2383
- const de_CreateAccessPointOutput = (output, context) => {
2384
- const contents = {};
2385
- if (output[_DNSN] != null) {
2386
- contents[_DNSN] = smithyClient.expectString(output[_DNSN]);
2387
- }
2388
- return contents;
2389
- };
2390
- const de_CreateAppCookieStickinessPolicyOutput = (output, context) => {
2391
- const contents = {};
2392
- return contents;
2393
- };
2394
- const de_CreateLBCookieStickinessPolicyOutput = (output, context) => {
2395
- const contents = {};
2396
- return contents;
2397
- };
2398
- const de_CreateLoadBalancerListenerOutput = (output, context) => {
2399
- const contents = {};
2400
- return contents;
2401
- };
2402
- const de_CreateLoadBalancerPolicyOutput = (output, context) => {
2403
- const contents = {};
2404
- return contents;
2405
- };
2406
- const de_CrossZoneLoadBalancing = (output, context) => {
2407
- const contents = {};
2408
- if (output[_E] != null) {
2409
- contents[_E] = smithyClient.parseBoolean(output[_E]);
2410
- }
2411
- return contents;
2412
- };
2413
- const de_DeleteAccessPointOutput = (output, context) => {
2414
- const contents = {};
2415
- return contents;
2416
- };
2417
- const de_DeleteLoadBalancerListenerOutput = (output, context) => {
2418
- const contents = {};
2419
- return contents;
2420
- };
2421
- const de_DeleteLoadBalancerPolicyOutput = (output, context) => {
2422
- const contents = {};
2423
- return contents;
2424
- };
2425
- const de_DependencyThrottleException = (output, context) => {
2426
- const contents = {};
2427
- if (output[_Me] != null) {
2428
- contents[_Me] = smithyClient.expectString(output[_Me]);
2429
- }
2430
- return contents;
2431
- };
2432
- const de_DeregisterEndPointsOutput = (output, context) => {
2433
- const contents = {};
2434
- if (String(output.Instances).trim() === "") {
2435
- contents[_I] = [];
2436
- }
2437
- else if (output[_I] != null && output[_I][_m] != null) {
2438
- contents[_I] = de_Instances(smithyClient.getArrayIfSingleItem(output[_I][_m]));
2439
- }
2440
- return contents;
2441
- };
2442
- const de_DescribeAccessPointsOutput = (output, context) => {
2443
- const contents = {};
2444
- if (String(output.LoadBalancerDescriptions).trim() === "") {
2445
- contents[_LBD] = [];
2446
- }
2447
- else if (output[_LBD] != null && output[_LBD][_m] != null) {
2448
- contents[_LBD] = de_LoadBalancerDescriptions(smithyClient.getArrayIfSingleItem(output[_LBD][_m]));
2449
- }
2450
- if (output[_NM] != null) {
2451
- contents[_NM] = smithyClient.expectString(output[_NM]);
2452
- }
2453
- return contents;
2454
- };
2455
- const de_DescribeAccountLimitsOutput = (output, context) => {
2456
- const contents = {};
2457
- if (String(output.Limits).trim() === "") {
2458
- contents[_Li] = [];
2459
- }
2460
- else if (output[_Li] != null && output[_Li][_m] != null) {
2461
- contents[_Li] = de_Limits(smithyClient.getArrayIfSingleItem(output[_Li][_m]));
2462
- }
2463
- if (output[_NM] != null) {
2464
- contents[_NM] = smithyClient.expectString(output[_NM]);
2465
- }
2466
- return contents;
2467
- };
2468
- const de_DescribeEndPointStateOutput = (output, context) => {
2469
- const contents = {};
2470
- if (String(output.InstanceStates).trim() === "") {
2471
- contents[_IS] = [];
2472
- }
2473
- else if (output[_IS] != null && output[_IS][_m] != null) {
2474
- contents[_IS] = de_InstanceStates(smithyClient.getArrayIfSingleItem(output[_IS][_m]));
2475
- }
2476
- return contents;
2477
- };
2478
- const de_DescribeLoadBalancerAttributesOutput = (output, context) => {
2479
- const contents = {};
2480
- if (output[_LBA] != null) {
2481
- contents[_LBA] = de_LoadBalancerAttributes(output[_LBA]);
2482
- }
2483
- return contents;
2484
- };
2485
- const de_DescribeLoadBalancerPoliciesOutput = (output, context) => {
2486
- const contents = {};
2487
- if (String(output.PolicyDescriptions).trim() === "") {
2488
- contents[_PD] = [];
2489
- }
2490
- else if (output[_PD] != null && output[_PD][_m] != null) {
2491
- contents[_PD] = de_PolicyDescriptions(smithyClient.getArrayIfSingleItem(output[_PD][_m]));
2492
- }
2493
- return contents;
2494
- };
2495
- const de_DescribeLoadBalancerPolicyTypesOutput = (output, context) => {
2496
- const contents = {};
2497
- if (String(output.PolicyTypeDescriptions).trim() === "") {
2498
- contents[_PTD] = [];
2499
- }
2500
- else if (output[_PTD] != null && output[_PTD][_m] != null) {
2501
- contents[_PTD] = de_PolicyTypeDescriptions(smithyClient.getArrayIfSingleItem(output[_PTD][_m]));
2502
- }
2503
- return contents;
2504
- };
2505
- const de_DescribeTagsOutput = (output, context) => {
2506
- const contents = {};
2507
- if (String(output.TagDescriptions).trim() === "") {
2508
- contents[_TD] = [];
2509
- }
2510
- else if (output[_TD] != null && output[_TD][_m] != null) {
2511
- contents[_TD] = de_TagDescriptions(smithyClient.getArrayIfSingleItem(output[_TD][_m]));
2512
- }
2513
- return contents;
2514
- };
2515
- const de_DetachLoadBalancerFromSubnetsOutput = (output, context) => {
2516
- const contents = {};
2517
- if (String(output.Subnets).trim() === "") {
2518
- contents[_S] = [];
2519
- }
2520
- else if (output[_S] != null && output[_S][_m] != null) {
2521
- contents[_S] = de_Subnets(smithyClient.getArrayIfSingleItem(output[_S][_m]));
2522
- }
2523
- return contents;
2524
- };
2525
- const de_DuplicateAccessPointNameException = (output, context) => {
2526
- const contents = {};
2527
- if (output[_Me] != null) {
2528
- contents[_Me] = smithyClient.expectString(output[_Me]);
2529
- }
2530
- return contents;
2531
- };
2532
- const de_DuplicateListenerException = (output, context) => {
2533
- const contents = {};
2534
- if (output[_Me] != null) {
2535
- contents[_Me] = smithyClient.expectString(output[_Me]);
2536
- }
2537
- return contents;
2538
- };
2539
- const de_DuplicatePolicyNameException = (output, context) => {
2540
- const contents = {};
2541
- if (output[_Me] != null) {
2542
- contents[_Me] = smithyClient.expectString(output[_Me]);
2543
- }
2544
- return contents;
2545
- };
2546
- const de_DuplicateTagKeysException = (output, context) => {
2547
- const contents = {};
2548
- if (output[_Me] != null) {
2549
- contents[_Me] = smithyClient.expectString(output[_Me]);
2550
- }
2551
- return contents;
2552
- };
2553
- const de_HealthCheck = (output, context) => {
2554
- const contents = {};
2555
- if (output[_Ta] != null) {
2556
- contents[_Ta] = smithyClient.expectString(output[_Ta]);
2557
- }
2558
- if (output[_In] != null) {
2559
- contents[_In] = smithyClient.strictParseInt32(output[_In]);
2560
- }
2561
- if (output[_Ti] != null) {
2562
- contents[_Ti] = smithyClient.strictParseInt32(output[_Ti]);
2563
- }
2564
- if (output[_UT] != null) {
2565
- contents[_UT] = smithyClient.strictParseInt32(output[_UT]);
2566
- }
2567
- if (output[_HT] != null) {
2568
- contents[_HT] = smithyClient.strictParseInt32(output[_HT]);
2569
- }
2570
- return contents;
2571
- };
2572
- const de_Instance = (output, context) => {
2573
- const contents = {};
2574
- if (output[_II] != null) {
2575
- contents[_II] = smithyClient.expectString(output[_II]);
2576
- }
2577
- return contents;
2578
- };
2579
- const de_Instances = (output, context) => {
2580
- return (output || [])
2581
- .filter((e) => e != null)
2582
- .map((entry) => {
2583
- return de_Instance(entry);
2584
- });
2585
- };
2586
- const de_InstanceState = (output, context) => {
2587
- const contents = {};
2588
- if (output[_II] != null) {
2589
- contents[_II] = smithyClient.expectString(output[_II]);
2590
- }
2591
- if (output[_St] != null) {
2592
- contents[_St] = smithyClient.expectString(output[_St]);
2593
- }
2594
- if (output[_RC] != null) {
2595
- contents[_RC] = smithyClient.expectString(output[_RC]);
2596
- }
2597
- if (output[_D] != null) {
2598
- contents[_D] = smithyClient.expectString(output[_D]);
2599
- }
2600
- return contents;
2601
- };
2602
- const de_InstanceStates = (output, context) => {
2603
- return (output || [])
2604
- .filter((e) => e != null)
2605
- .map((entry) => {
2606
- return de_InstanceState(entry);
2607
- });
2608
- };
2609
- const de_InvalidConfigurationRequestException = (output, context) => {
2610
- const contents = {};
2611
- if (output[_Me] != null) {
2612
- contents[_Me] = smithyClient.expectString(output[_Me]);
2613
- }
2614
- return contents;
2615
- };
2616
- const de_InvalidEndPointException = (output, context) => {
2617
- const contents = {};
2618
- if (output[_Me] != null) {
2619
- contents[_Me] = smithyClient.expectString(output[_Me]);
2620
- }
2621
- return contents;
2622
- };
2623
- const de_InvalidSchemeException = (output, context) => {
2624
- const contents = {};
2625
- if (output[_Me] != null) {
2626
- contents[_Me] = smithyClient.expectString(output[_Me]);
2627
- }
2628
- return contents;
2629
- };
2630
- const de_InvalidSecurityGroupException = (output, context) => {
2631
- const contents = {};
2632
- if (output[_Me] != null) {
2633
- contents[_Me] = smithyClient.expectString(output[_Me]);
2634
- }
2635
- return contents;
2636
- };
2637
- const de_InvalidSubnetException = (output, context) => {
2638
- const contents = {};
2639
- if (output[_Me] != null) {
2640
- contents[_Me] = smithyClient.expectString(output[_Me]);
2641
- }
2642
- return contents;
2643
- };
2644
- const de_LBCookieStickinessPolicies = (output, context) => {
2645
- return (output || [])
2646
- .filter((e) => e != null)
2647
- .map((entry) => {
2648
- return de_LBCookieStickinessPolicy(entry);
2649
- });
2650
- };
2651
- const de_LBCookieStickinessPolicy = (output, context) => {
2652
- const contents = {};
2653
- if (output[_PN] != null) {
2654
- contents[_PN] = smithyClient.expectString(output[_PN]);
2655
- }
2656
- if (output[_CEP] != null) {
2657
- contents[_CEP] = smithyClient.strictParseLong(output[_CEP]);
2658
- }
2659
- return contents;
2660
- };
2661
- const de_Limit = (output, context) => {
2662
- const contents = {};
2663
- if (output[_N] != null) {
2664
- contents[_N] = smithyClient.expectString(output[_N]);
2665
- }
2666
- if (output[_Ma] != null) {
2667
- contents[_Ma] = smithyClient.expectString(output[_Ma]);
2668
- }
2669
- return contents;
2670
- };
2671
- const de_Limits = (output, context) => {
2672
- return (output || [])
2673
- .filter((e) => e != null)
2674
- .map((entry) => {
2675
- return de_Limit(entry);
2676
- });
2677
- };
2678
- const de_Listener = (output, context) => {
2679
- const contents = {};
2680
- if (output[_P] != null) {
2681
- contents[_P] = smithyClient.expectString(output[_P]);
2682
- }
2683
- if (output[_LBPo] != null) {
2684
- contents[_LBPo] = smithyClient.strictParseInt32(output[_LBPo]);
2685
- }
2686
- if (output[_IP] != null) {
2687
- contents[_IP] = smithyClient.expectString(output[_IP]);
2688
- }
2689
- if (output[_IPn] != null) {
2690
- contents[_IPn] = smithyClient.strictParseInt32(output[_IPn]);
2691
- }
2692
- if (output[_SSLCI] != null) {
2693
- contents[_SSLCI] = smithyClient.expectString(output[_SSLCI]);
2694
- }
2695
- return contents;
2696
- };
2697
- const de_ListenerDescription = (output, context) => {
2698
- const contents = {};
2699
- if (output[_Lis] != null) {
2700
- contents[_Lis] = de_Listener(output[_Lis]);
2701
- }
2702
- if (String(output.PolicyNames).trim() === "") {
2703
- contents[_PNo] = [];
2704
- }
2705
- else if (output[_PNo] != null && output[_PNo][_m] != null) {
2706
- contents[_PNo] = de_PolicyNames(smithyClient.getArrayIfSingleItem(output[_PNo][_m]));
2707
- }
2708
- return contents;
2709
- };
2710
- const de_ListenerDescriptions = (output, context) => {
2711
- return (output || [])
2712
- .filter((e) => e != null)
2713
- .map((entry) => {
2714
- return de_ListenerDescription(entry);
2715
- });
2716
- };
2717
- const de_ListenerNotFoundException = (output, context) => {
2718
- const contents = {};
2719
- if (output[_Me] != null) {
2720
- contents[_Me] = smithyClient.expectString(output[_Me]);
2721
- }
2722
- return contents;
2723
- };
2724
- const de_LoadBalancerAttributeNotFoundException = (output, context) => {
2725
- const contents = {};
2726
- if (output[_Me] != null) {
2727
- contents[_Me] = smithyClient.expectString(output[_Me]);
2728
- }
2729
- return contents;
2730
- };
2731
- const de_LoadBalancerAttributes = (output, context) => {
2732
- const contents = {};
2733
- if (output[_CZLB] != null) {
2734
- contents[_CZLB] = de_CrossZoneLoadBalancing(output[_CZLB]);
2735
- }
2736
- if (output[_AL] != null) {
2737
- contents[_AL] = de_AccessLog(output[_AL]);
2738
- }
2739
- if (output[_CD] != null) {
2740
- contents[_CD] = de_ConnectionDraining(output[_CD]);
2741
- }
2742
- if (output[_CS] != null) {
2743
- contents[_CS] = de_ConnectionSettings(output[_CS]);
2744
- }
2745
- if (String(output.AdditionalAttributes).trim() === "") {
2746
- contents[_AA] = [];
2747
- }
2748
- else if (output[_AA] != null && output[_AA][_m] != null) {
2749
- contents[_AA] = de_AdditionalAttributes(smithyClient.getArrayIfSingleItem(output[_AA][_m]));
2750
- }
2751
- return contents;
2752
- };
2753
- const de_LoadBalancerDescription = (output, context) => {
2754
- const contents = {};
2755
- if (output[_LBN] != null) {
2756
- contents[_LBN] = smithyClient.expectString(output[_LBN]);
2757
- }
2758
- if (output[_DNSN] != null) {
2759
- contents[_DNSN] = smithyClient.expectString(output[_DNSN]);
2760
- }
2761
- if (output[_CHZN] != null) {
2762
- contents[_CHZN] = smithyClient.expectString(output[_CHZN]);
2763
- }
2764
- if (output[_CHZNID] != null) {
2765
- contents[_CHZNID] = smithyClient.expectString(output[_CHZNID]);
2766
- }
2767
- if (String(output.ListenerDescriptions).trim() === "") {
2768
- contents[_LD] = [];
2769
- }
2770
- else if (output[_LD] != null && output[_LD][_m] != null) {
2771
- contents[_LD] = de_ListenerDescriptions(smithyClient.getArrayIfSingleItem(output[_LD][_m]));
2772
- }
2773
- if (output[_Po] != null) {
2774
- contents[_Po] = de_Policies(output[_Po]);
2775
- }
2776
- if (String(output.BackendServerDescriptions).trim() === "") {
2777
- contents[_BSD] = [];
2778
- }
2779
- else if (output[_BSD] != null && output[_BSD][_m] != null) {
2780
- contents[_BSD] = de_BackendServerDescriptions(smithyClient.getArrayIfSingleItem(output[_BSD][_m]));
2781
- }
2782
- if (String(output.AvailabilityZones).trim() === "") {
2783
- contents[_AZ] = [];
2784
- }
2785
- else if (output[_AZ] != null && output[_AZ][_m] != null) {
2786
- contents[_AZ] = de_AvailabilityZones(smithyClient.getArrayIfSingleItem(output[_AZ][_m]));
2787
- }
2788
- if (String(output.Subnets).trim() === "") {
2789
- contents[_S] = [];
2790
- }
2791
- else if (output[_S] != null && output[_S][_m] != null) {
2792
- contents[_S] = de_Subnets(smithyClient.getArrayIfSingleItem(output[_S][_m]));
2793
- }
2794
- if (output[_VPCI] != null) {
2795
- contents[_VPCI] = smithyClient.expectString(output[_VPCI]);
2796
- }
2797
- if (String(output.Instances).trim() === "") {
2798
- contents[_I] = [];
2799
- }
2800
- else if (output[_I] != null && output[_I][_m] != null) {
2801
- contents[_I] = de_Instances(smithyClient.getArrayIfSingleItem(output[_I][_m]));
2802
- }
2803
- if (output[_HC] != null) {
2804
- contents[_HC] = de_HealthCheck(output[_HC]);
2805
- }
2806
- if (output[_SSG] != null) {
2807
- contents[_SSG] = de_SourceSecurityGroup(output[_SSG]);
2808
- }
2809
- if (String(output.SecurityGroups).trim() === "") {
2810
- contents[_SG] = [];
2811
- }
2812
- else if (output[_SG] != null && output[_SG][_m] != null) {
2813
- contents[_SG] = de_SecurityGroups(smithyClient.getArrayIfSingleItem(output[_SG][_m]));
2814
- }
2815
- if (output[_CT] != null) {
2816
- contents[_CT] = smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(output[_CT]));
2817
- }
2818
- if (output[_Sc] != null) {
2819
- contents[_Sc] = smithyClient.expectString(output[_Sc]);
2820
- }
2821
- return contents;
2822
- };
2823
- const de_LoadBalancerDescriptions = (output, context) => {
2824
- return (output || [])
2825
- .filter((e) => e != null)
2826
- .map((entry) => {
2827
- return de_LoadBalancerDescription(entry);
2828
- });
2829
- };
2830
- const de_ModifyLoadBalancerAttributesOutput = (output, context) => {
2831
- const contents = {};
2832
- if (output[_LBN] != null) {
2833
- contents[_LBN] = smithyClient.expectString(output[_LBN]);
2834
- }
2835
- if (output[_LBA] != null) {
2836
- contents[_LBA] = de_LoadBalancerAttributes(output[_LBA]);
2837
- }
2838
- return contents;
2839
- };
2840
- const de_OperationNotPermittedException = (output, context) => {
2841
- const contents = {};
2842
- if (output[_Me] != null) {
2843
- contents[_Me] = smithyClient.expectString(output[_Me]);
2844
- }
2845
- return contents;
2846
- };
2847
- const de_Policies = (output, context) => {
2848
- const contents = {};
2849
- if (String(output.AppCookieStickinessPolicies).trim() === "") {
2850
- contents[_ACSP] = [];
2851
- }
2852
- else if (output[_ACSP] != null && output[_ACSP][_m] != null) {
2853
- contents[_ACSP] = de_AppCookieStickinessPolicies(smithyClient.getArrayIfSingleItem(output[_ACSP][_m]));
2854
- }
2855
- if (String(output.LBCookieStickinessPolicies).trim() === "") {
2856
- contents[_LBCSP] = [];
2857
- }
2858
- else if (output[_LBCSP] != null && output[_LBCSP][_m] != null) {
2859
- contents[_LBCSP] = de_LBCookieStickinessPolicies(smithyClient.getArrayIfSingleItem(output[_LBCSP][_m]));
2860
- }
2861
- if (String(output.OtherPolicies).trim() === "") {
2862
- contents[_OP] = [];
2863
- }
2864
- else if (output[_OP] != null && output[_OP][_m] != null) {
2865
- contents[_OP] = de_PolicyNames(smithyClient.getArrayIfSingleItem(output[_OP][_m]));
2866
- }
2867
- return contents;
2868
- };
2869
- const de_PolicyAttributeDescription = (output, context) => {
2870
- const contents = {};
2871
- if (output[_AN] != null) {
2872
- contents[_AN] = smithyClient.expectString(output[_AN]);
2873
- }
2874
- if (output[_AV] != null) {
2875
- contents[_AV] = smithyClient.expectString(output[_AV]);
2876
- }
2877
- return contents;
2878
- };
2879
- const de_PolicyAttributeDescriptions = (output, context) => {
2880
- return (output || [])
2881
- .filter((e) => e != null)
2882
- .map((entry) => {
2883
- return de_PolicyAttributeDescription(entry);
2884
- });
2885
- };
2886
- const de_PolicyAttributeTypeDescription = (output, context) => {
2887
- const contents = {};
2888
- if (output[_AN] != null) {
2889
- contents[_AN] = smithyClient.expectString(output[_AN]);
2890
- }
2891
- if (output[_ATt] != null) {
2892
- contents[_ATt] = smithyClient.expectString(output[_ATt]);
2893
- }
2894
- if (output[_D] != null) {
2895
- contents[_D] = smithyClient.expectString(output[_D]);
2896
- }
2897
- if (output[_DV] != null) {
2898
- contents[_DV] = smithyClient.expectString(output[_DV]);
2899
- }
2900
- if (output[_C] != null) {
2901
- contents[_C] = smithyClient.expectString(output[_C]);
2902
- }
2903
- return contents;
2904
- };
2905
- const de_PolicyAttributeTypeDescriptions = (output, context) => {
2906
- return (output || [])
2907
- .filter((e) => e != null)
2908
- .map((entry) => {
2909
- return de_PolicyAttributeTypeDescription(entry);
2910
- });
2911
- };
2912
- const de_PolicyDescription = (output, context) => {
2913
- const contents = {};
2914
- if (output[_PN] != null) {
2915
- contents[_PN] = smithyClient.expectString(output[_PN]);
2916
- }
2917
- if (output[_PTN] != null) {
2918
- contents[_PTN] = smithyClient.expectString(output[_PTN]);
2919
- }
2920
- if (String(output.PolicyAttributeDescriptions).trim() === "") {
2921
- contents[_PAD] = [];
2922
- }
2923
- else if (output[_PAD] != null && output[_PAD][_m] != null) {
2924
- contents[_PAD] = de_PolicyAttributeDescriptions(smithyClient.getArrayIfSingleItem(output[_PAD][_m]));
2925
- }
2926
- return contents;
2927
- };
2928
- const de_PolicyDescriptions = (output, context) => {
2929
- return (output || [])
2930
- .filter((e) => e != null)
2931
- .map((entry) => {
2932
- return de_PolicyDescription(entry);
2933
- });
2934
- };
2935
- const de_PolicyNames = (output, context) => {
2936
- return (output || [])
2937
- .filter((e) => e != null)
2938
- .map((entry) => {
2939
- return smithyClient.expectString(entry);
2940
- });
2941
- };
2942
- const de_PolicyNotFoundException = (output, context) => {
2943
- const contents = {};
2944
- if (output[_Me] != null) {
2945
- contents[_Me] = smithyClient.expectString(output[_Me]);
2946
- }
2947
- return contents;
2948
- };
2949
- const de_PolicyTypeDescription = (output, context) => {
2950
- const contents = {};
2951
- if (output[_PTN] != null) {
2952
- contents[_PTN] = smithyClient.expectString(output[_PTN]);
2953
- }
2954
- if (output[_D] != null) {
2955
- contents[_D] = smithyClient.expectString(output[_D]);
2956
- }
2957
- if (String(output.PolicyAttributeTypeDescriptions).trim() === "") {
2958
- contents[_PATD] = [];
2959
- }
2960
- else if (output[_PATD] != null && output[_PATD][_m] != null) {
2961
- contents[_PATD] = de_PolicyAttributeTypeDescriptions(smithyClient.getArrayIfSingleItem(output[_PATD][_m]));
2962
- }
2963
- return contents;
2964
- };
2965
- const de_PolicyTypeDescriptions = (output, context) => {
2966
- return (output || [])
2967
- .filter((e) => e != null)
2968
- .map((entry) => {
2969
- return de_PolicyTypeDescription(entry);
2970
- });
2971
- };
2972
- const de_PolicyTypeNotFoundException = (output, context) => {
2973
- const contents = {};
2974
- if (output[_Me] != null) {
2975
- contents[_Me] = smithyClient.expectString(output[_Me]);
2976
- }
2977
- return contents;
2978
- };
2979
- const de_RegisterEndPointsOutput = (output, context) => {
2980
- const contents = {};
2981
- if (String(output.Instances).trim() === "") {
2982
- contents[_I] = [];
2983
- }
2984
- else if (output[_I] != null && output[_I][_m] != null) {
2985
- contents[_I] = de_Instances(smithyClient.getArrayIfSingleItem(output[_I][_m]));
2986
- }
2987
- return contents;
2988
- };
2989
- const de_RemoveAvailabilityZonesOutput = (output, context) => {
2990
- const contents = {};
2991
- if (String(output.AvailabilityZones).trim() === "") {
2992
- contents[_AZ] = [];
2993
- }
2994
- else if (output[_AZ] != null && output[_AZ][_m] != null) {
2995
- contents[_AZ] = de_AvailabilityZones(smithyClient.getArrayIfSingleItem(output[_AZ][_m]));
2996
- }
2997
- return contents;
2998
- };
2999
- const de_RemoveTagsOutput = (output, context) => {
3000
- const contents = {};
3001
- return contents;
3002
- };
3003
- const de_SecurityGroups = (output, context) => {
3004
- return (output || [])
3005
- .filter((e) => e != null)
3006
- .map((entry) => {
3007
- return smithyClient.expectString(entry);
3008
- });
3009
- };
3010
- const de_SetLoadBalancerListenerSSLCertificateOutput = (output, context) => {
3011
- const contents = {};
3012
- return contents;
3013
- };
3014
- const de_SetLoadBalancerPoliciesForBackendServerOutput = (output, context) => {
3015
- const contents = {};
3016
- return contents;
3017
- };
3018
- const de_SetLoadBalancerPoliciesOfListenerOutput = (output, context) => {
3019
- const contents = {};
3020
- return contents;
3021
- };
3022
- const de_SourceSecurityGroup = (output, context) => {
3023
- const contents = {};
3024
- if (output[_OA] != null) {
3025
- contents[_OA] = smithyClient.expectString(output[_OA]);
3026
- }
3027
- if (output[_GN] != null) {
3028
- contents[_GN] = smithyClient.expectString(output[_GN]);
3029
- }
3030
- return contents;
3031
- };
3032
- const de_SubnetNotFoundException = (output, context) => {
3033
- const contents = {};
3034
- if (output[_Me] != null) {
3035
- contents[_Me] = smithyClient.expectString(output[_Me]);
3036
- }
3037
- return contents;
3038
- };
3039
- const de_Subnets = (output, context) => {
3040
- return (output || [])
3041
- .filter((e) => e != null)
3042
- .map((entry) => {
3043
- return smithyClient.expectString(entry);
3044
- });
3045
- };
3046
- const de_Tag = (output, context) => {
3047
- const contents = {};
3048
- if (output[_K] != null) {
3049
- contents[_K] = smithyClient.expectString(output[_K]);
3050
- }
3051
- if (output[_Va] != null) {
3052
- contents[_Va] = smithyClient.expectString(output[_Va]);
3053
- }
3054
- return contents;
3055
- };
3056
- const de_TagDescription = (output, context) => {
3057
- const contents = {};
3058
- if (output[_LBN] != null) {
3059
- contents[_LBN] = smithyClient.expectString(output[_LBN]);
3060
- }
3061
- if (String(output.Tags).trim() === "") {
3062
- contents[_T] = [];
3063
- }
3064
- else if (output[_T] != null && output[_T][_m] != null) {
3065
- contents[_T] = de_TagList(smithyClient.getArrayIfSingleItem(output[_T][_m]));
3066
- }
3067
- return contents;
3068
- };
3069
- const de_TagDescriptions = (output, context) => {
3070
- return (output || [])
3071
- .filter((e) => e != null)
3072
- .map((entry) => {
3073
- return de_TagDescription(entry);
3074
- });
3075
- };
3076
- const de_TagList = (output, context) => {
3077
- return (output || [])
3078
- .filter((e) => e != null)
3079
- .map((entry) => {
3080
- return de_Tag(entry);
3081
- });
3082
- };
3083
- const de_TooManyAccessPointsException = (output, context) => {
3084
- const contents = {};
3085
- if (output[_Me] != null) {
3086
- contents[_Me] = smithyClient.expectString(output[_Me]);
3087
- }
3088
- return contents;
3089
- };
3090
- const de_TooManyPoliciesException = (output, context) => {
3091
- const contents = {};
3092
- if (output[_Me] != null) {
3093
- contents[_Me] = smithyClient.expectString(output[_Me]);
3094
- }
3095
- return contents;
3096
- };
3097
- const de_TooManyTagsException = (output, context) => {
3098
- const contents = {};
3099
- if (output[_Me] != null) {
3100
- contents[_Me] = smithyClient.expectString(output[_Me]);
3101
- }
3102
- return contents;
3103
- };
3104
- const de_UnsupportedProtocolException = (output, context) => {
3105
- const contents = {};
3106
- if (output[_Me] != null) {
3107
- contents[_Me] = smithyClient.expectString(output[_Me]);
3108
- }
3109
- return contents;
3110
- };
3111
- const deserializeMetadata = (output) => ({
3112
- httpStatusCode: output.statusCode,
3113
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3114
- extendedRequestId: output.headers["x-amz-id-2"],
3115
- cfId: output.headers["x-amz-cf-id"],
3116
- });
3117
- const throwDefaultError = smithyClient.withBaseException(ElasticLoadBalancingServiceException);
3118
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
3119
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3120
- const contents = {
3121
- protocol,
3122
- hostname,
3123
- port,
3124
- method: "POST",
3125
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
3126
- headers,
3127
- };
3128
- if (body !== undefined) {
3129
- contents.body = body;
3130
- }
3131
- return new protocolHttp.HttpRequest(contents);
3132
- };
3133
- const SHARED_HEADERS = {
3134
- "content-type": "application/x-www-form-urlencoded",
3135
- };
3136
- const _ = "2012-06-01";
3137
- const _A = "Action";
3138
- const _AA = "AdditionalAttributes";
3139
- const _ACSP = "AppCookieStickinessPolicies";
429
+
430
+ const _AA = "AdditionalAttribute";
431
+ const _AAZI = "AddAvailabilityZonesInput";
432
+ const _AAZO = "AddAvailabilityZonesOutput";
433
+ const _AAd = "AdditionalAttributes";
434
+ const _ACSP = "AppCookieStickinessPolicy";
435
+ const _ACSPp = "AppCookieStickinessPolicies";
3140
436
  const _AL = "AccessLog";
3141
437
  const _ALBTS = "AttachLoadBalancerToSubnets";
438
+ const _ALBTSI = "AttachLoadBalancerToSubnetsInput";
439
+ const _ALBTSO = "AttachLoadBalancerToSubnetsOutput";
3142
440
  const _AN = "AttributeName";
441
+ const _APNFE = "AccessPointNotFoundException";
3143
442
  const _ASGTLB = "ApplySecurityGroupsToLoadBalancer";
3144
- const _AT = "AddTags";
3145
- const _ATt = "AttributeType";
443
+ const _ASGTLBI = "ApplySecurityGroupsToLoadBalancerInput";
444
+ const _ASGTLBO = "ApplySecurityGroupsToLoadBalancerOutput";
445
+ const _AT = "AttributeType";
446
+ const _ATI = "AddTagsInput";
447
+ const _ATO = "AddTagsOutput";
448
+ const _ATd = "AddTags";
3146
449
  const _AV = "AttributeValue";
3147
450
  const _AZ = "AvailabilityZones";
3148
- const _BSD = "BackendServerDescriptions";
451
+ const _BSD = "BackendServerDescription";
452
+ const _BSDa = "BackendServerDescriptions";
3149
453
  const _C = "Cardinality";
3150
454
  const _CACSP = "CreateAppCookieStickinessPolicy";
455
+ const _CACSPI = "CreateAppCookieStickinessPolicyInput";
456
+ const _CACSPO = "CreateAppCookieStickinessPolicyOutput";
457
+ const _CAPI = "CreateAccessPointInput";
458
+ const _CAPO = "CreateAccessPointOutput";
3151
459
  const _CD = "ConnectionDraining";
3152
460
  const _CEP = "CookieExpirationPeriod";
3153
461
  const _CHC = "ConfigureHealthCheck";
462
+ const _CHCI = "ConfigureHealthCheckInput";
463
+ const _CHCO = "ConfigureHealthCheckOutput";
3154
464
  const _CHZN = "CanonicalHostedZoneName";
3155
465
  const _CHZNID = "CanonicalHostedZoneNameID";
3156
466
  const _CLB = "CreateLoadBalancer";
3157
467
  const _CLBCSP = "CreateLBCookieStickinessPolicy";
468
+ const _CLBCSPI = "CreateLBCookieStickinessPolicyInput";
469
+ const _CLBCSPO = "CreateLBCookieStickinessPolicyOutput";
3158
470
  const _CLBL = "CreateLoadBalancerListeners";
471
+ const _CLBLI = "CreateLoadBalancerListenerInput";
472
+ const _CLBLO = "CreateLoadBalancerListenerOutput";
3159
473
  const _CLBP = "CreateLoadBalancerPolicy";
474
+ const _CLBPI = "CreateLoadBalancerPolicyInput";
475
+ const _CLBPO = "CreateLoadBalancerPolicyOutput";
3160
476
  const _CN = "CookieName";
477
+ const _CNFE = "CertificateNotFoundException";
3161
478
  const _CS = "ConnectionSettings";
3162
479
  const _CT = "CreatedTime";
3163
480
  const _CZLB = "CrossZoneLoadBalancing";
3164
481
  const _D = "Description";
3165
482
  const _DAL = "DescribeAccountLimits";
483
+ const _DALI = "DescribeAccountLimitsInput";
484
+ const _DALO = "DescribeAccountLimitsOutput";
485
+ const _DAPI = "DeleteAccessPointInput";
486
+ const _DAPIe = "DescribeAccessPointsInput";
487
+ const _DAPNE = "DuplicateAccessPointNameException";
488
+ const _DAPO = "DeleteAccessPointOutput";
489
+ const _DAPOe = "DescribeAccessPointsOutput";
3166
490
  const _DAZFLB = "DisableAvailabilityZonesForLoadBalancer";
491
+ const _DEPI = "DeregisterEndPointsInput";
492
+ const _DEPO = "DeregisterEndPointsOutput";
493
+ const _DEPSI = "DescribeEndPointStateInput";
494
+ const _DEPSO = "DescribeEndPointStateOutput";
3167
495
  const _DIFLB = "DeregisterInstancesFromLoadBalancer";
3168
496
  const _DIH = "DescribeInstanceHealth";
3169
497
  const _DLB = "DeleteLoadBalancer";
3170
498
  const _DLBA = "DescribeLoadBalancerAttributes";
499
+ const _DLBAI = "DescribeLoadBalancerAttributesInput";
500
+ const _DLBAO = "DescribeLoadBalancerAttributesOutput";
3171
501
  const _DLBFS = "DetachLoadBalancerFromSubnets";
502
+ const _DLBFSI = "DetachLoadBalancerFromSubnetsInput";
503
+ const _DLBFSO = "DetachLoadBalancerFromSubnetsOutput";
3172
504
  const _DLBL = "DeleteLoadBalancerListeners";
505
+ const _DLBLI = "DeleteLoadBalancerListenerInput";
506
+ const _DLBLO = "DeleteLoadBalancerListenerOutput";
3173
507
  const _DLBP = "DeleteLoadBalancerPolicy";
508
+ const _DLBPI = "DeleteLoadBalancerPolicyInput";
509
+ const _DLBPIe = "DescribeLoadBalancerPoliciesInput";
510
+ const _DLBPO = "DeleteLoadBalancerPolicyOutput";
511
+ const _DLBPOe = "DescribeLoadBalancerPoliciesOutput";
3174
512
  const _DLBPT = "DescribeLoadBalancerPolicyTypes";
513
+ const _DLBPTI = "DescribeLoadBalancerPolicyTypesInput";
514
+ const _DLBPTO = "DescribeLoadBalancerPolicyTypesOutput";
3175
515
  const _DLBPe = "DescribeLoadBalancerPolicies";
3176
516
  const _DLBe = "DescribeLoadBalancers";
517
+ const _DLE = "DuplicateListenerException";
3177
518
  const _DNSN = "DNSName";
519
+ const _DPNE = "DuplicatePolicyNameException";
3178
520
  const _DT = "DescribeTags";
521
+ const _DTE = "DependencyThrottleException";
522
+ const _DTI = "DescribeTagsInput";
523
+ const _DTKE = "DuplicateTagKeysException";
524
+ const _DTO = "DescribeTagsOutput";
3179
525
  const _DV = "DefaultValue";
3180
526
  const _E = "Enabled";
3181
527
  const _EAZFLB = "EnableAvailabilityZonesForLoadBalancer";
@@ -3184,93 +530,904 @@ const _GN = "GroupName";
3184
530
  const _HC = "HealthCheck";
3185
531
  const _HT = "HealthyThreshold";
3186
532
  const _I = "Instances";
533
+ const _ICRE = "InvalidConfigurationRequestException";
534
+ const _IEPE = "InvalidEndPointException";
3187
535
  const _II = "InstanceId";
3188
- const _IP = "InstanceProtocol";
3189
- const _IPn = "InstancePort";
536
+ const _IP = "InstancePort";
537
+ const _IPn = "InstanceProtocol";
3190
538
  const _IS = "InstanceStates";
539
+ const _ISE = "InvalidSchemeException";
540
+ const _ISEn = "InvalidSubnetException";
541
+ const _ISGE = "InvalidSecurityGroupException";
542
+ const _ISn = "InstanceState";
3191
543
  const _IT = "IdleTimeout";
3192
544
  const _In = "Interval";
545
+ const _Ins = "Instance";
3193
546
  const _K = "Key";
3194
547
  const _L = "Listeners";
3195
548
  const _LBA = "LoadBalancerAttributes";
3196
- const _LBCSP = "LBCookieStickinessPolicies";
549
+ const _LBANFE = "LoadBalancerAttributeNotFoundException";
550
+ const _LBCSP = "LBCookieStickinessPolicy";
551
+ const _LBCSPo = "LBCookieStickinessPolicies";
3197
552
  const _LBD = "LoadBalancerDescriptions";
553
+ const _LBDo = "LoadBalancerDescription";
3198
554
  const _LBN = "LoadBalancerName";
3199
555
  const _LBNo = "LoadBalancerNames";
3200
556
  const _LBP = "LoadBalancerPorts";
3201
557
  const _LBPo = "LoadBalancerPort";
3202
- const _LD = "ListenerDescriptions";
558
+ const _LD = "ListenerDescription";
559
+ const _LDi = "ListenerDescriptions";
560
+ const _LNFE = "ListenerNotFoundException";
3203
561
  const _Li = "Limits";
562
+ const _Lim = "Limit";
3204
563
  const _Lis = "Listener";
3205
- const _M = "Marker";
564
+ const _M = "Message";
3206
565
  const _MLBA = "ModifyLoadBalancerAttributes";
3207
- const _Ma = "Max";
3208
- const _Me = "Message";
566
+ const _MLBAI = "ModifyLoadBalancerAttributesInput";
567
+ const _MLBAO = "ModifyLoadBalancerAttributesOutput";
568
+ const _Ma = "Marker";
569
+ const _Max = "Max";
3209
570
  const _N = "Name";
3210
571
  const _NM = "NextMarker";
3211
572
  const _OA = "OwnerAlias";
573
+ const _ONPE = "OperationNotPermittedException";
3212
574
  const _OP = "OtherPolicies";
3213
575
  const _P = "Protocol";
3214
576
  const _PA = "PolicyAttributes";
3215
- const _PAD = "PolicyAttributeDescriptions";
3216
- const _PATD = "PolicyAttributeTypeDescriptions";
577
+ const _PAD = "PolicyAttributeDescription";
578
+ const _PADo = "PolicyAttributeDescriptions";
579
+ const _PATD = "PolicyAttributeTypeDescription";
580
+ const _PATDo = "PolicyAttributeTypeDescriptions";
581
+ const _PAo = "PolicyAttribute";
3217
582
  const _PD = "PolicyDescriptions";
583
+ const _PDo = "PolicyDescription";
3218
584
  const _PN = "PolicyName";
585
+ const _PNFE = "PolicyNotFoundException";
3219
586
  const _PNo = "PolicyNames";
3220
587
  const _PS = "PageSize";
3221
588
  const _PTD = "PolicyTypeDescriptions";
589
+ const _PTDo = "PolicyTypeDescription";
3222
590
  const _PTN = "PolicyTypeName";
591
+ const _PTNFE = "PolicyTypeNotFoundException";
3223
592
  const _PTNo = "PolicyTypeNames";
3224
593
  const _Po = "Policies";
594
+ const _RAZI = "RemoveAvailabilityZonesInput";
595
+ const _RAZO = "RemoveAvailabilityZonesOutput";
3225
596
  const _RC = "ReasonCode";
597
+ const _REPI = "RegisterEndPointsInput";
598
+ const _REPO = "RegisterEndPointsOutput";
3226
599
  const _RIWLB = "RegisterInstancesWithLoadBalancer";
3227
600
  const _RT = "RemoveTags";
601
+ const _RTI = "RemoveTagsInput";
602
+ const _RTO = "RemoveTagsOutput";
3228
603
  const _S = "Subnets";
3229
604
  const _SBN = "S3BucketName";
3230
605
  const _SBP = "S3BucketPrefix";
3231
606
  const _SG = "SecurityGroups";
3232
607
  const _SLBLSSLC = "SetLoadBalancerListenerSSLCertificate";
608
+ const _SLBLSSLCI = "SetLoadBalancerListenerSSLCertificateInput";
609
+ const _SLBLSSLCO = "SetLoadBalancerListenerSSLCertificateOutput";
3233
610
  const _SLBPFBS = "SetLoadBalancerPoliciesForBackendServer";
611
+ const _SLBPFBSI = "SetLoadBalancerPoliciesForBackendServerInput";
612
+ const _SLBPFBSO = "SetLoadBalancerPoliciesForBackendServerOutput";
3234
613
  const _SLBPOL = "SetLoadBalancerPoliciesOfListener";
614
+ const _SLBPOLI = "SetLoadBalancerPoliciesOfListenerInput";
615
+ const _SLBPOLO = "SetLoadBalancerPoliciesOfListenerOutput";
616
+ const _SNFE = "SubnetNotFoundException";
3235
617
  const _SSG = "SourceSecurityGroup";
3236
618
  const _SSLCI = "SSLCertificateId";
3237
619
  const _Sc = "Scheme";
3238
620
  const _St = "State";
3239
621
  const _T = "Tags";
3240
622
  const _TD = "TagDescriptions";
623
+ const _TDa = "TagDescription";
624
+ const _TKL = "TagKeyList";
625
+ const _TKO = "TagKeyOnly";
626
+ const _TL = "TagList";
627
+ const _TMAPE = "TooManyAccessPointsException";
628
+ const _TMPE = "TooManyPoliciesException";
629
+ const _TMTE = "TooManyTagsException";
3241
630
  const _Ta = "Target";
631
+ const _Tag = "Tag";
3242
632
  const _Ti = "Timeout";
633
+ const _UPE = "UnsupportedProtocolException";
3243
634
  const _UT = "UnhealthyThreshold";
3244
- const _V = "Version";
635
+ const _V = "Value";
3245
636
  const _VPCI = "VPCId";
3246
- const _Va = "Value";
3247
- const _m = "member";
3248
- const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
3249
- .map(([key, value]) => smithyClient.extendedEncodeURIComponent(key) + "=" + smithyClient.extendedEncodeURIComponent(value))
3250
- .join("&");
3251
- const loadQueryErrorCode = (output, data) => {
3252
- if (data.Error?.Code !== undefined) {
3253
- return data.Error.Code;
3254
- }
3255
- if (output.statusCode == 404) {
3256
- return "NotFound";
3257
- }
3258
- };
637
+ const _aQE = "awsQueryError";
638
+ const _c = "client";
639
+ const _e = "error";
640
+ const _hE = "httpError";
641
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.elasticloadbalancing";
642
+ const n0 = "com.amazonaws.elasticloadbalancing";
643
+ var AccessLog = [3, n0, _AL, 0, [_E, _SBN, _EI, _SBP], [2, 0, 1, 0]];
644
+ var AccessPointNotFoundException = [
645
+ -3,
646
+ n0,
647
+ _APNFE,
648
+ {
649
+ [_e]: _c,
650
+ [_hE]: 400,
651
+ [_aQE]: [`LoadBalancerNotFound`, 400],
652
+ },
653
+ [_M],
654
+ [0],
655
+ ];
656
+ schema.TypeRegistry.for(n0).registerError(AccessPointNotFoundException, AccessPointNotFoundException$1);
657
+ var AddAvailabilityZonesInput = [3, n0, _AAZI, 0, [_LBN, _AZ], [0, 64 | 0]];
658
+ var AddAvailabilityZonesOutput = [3, n0, _AAZO, 0, [_AZ], [64 | 0]];
659
+ var AdditionalAttribute = [3, n0, _AA, 0, [_K, _V], [0, 0]];
660
+ var AddTagsInput = [3, n0, _ATI, 0, [_LBNo, _T], [64 | 0, () => TagList]];
661
+ var AddTagsOutput = [3, n0, _ATO, 0, [], []];
662
+ var AppCookieStickinessPolicy = [3, n0, _ACSP, 0, [_PN, _CN], [0, 0]];
663
+ var ApplySecurityGroupsToLoadBalancerInput = [
664
+ 3,
665
+ n0,
666
+ _ASGTLBI,
667
+ 0,
668
+ [_LBN, _SG],
669
+ [0, 64 | 0],
670
+ ];
671
+ var ApplySecurityGroupsToLoadBalancerOutput = [3, n0, _ASGTLBO, 0, [_SG], [64 | 0]];
672
+ var AttachLoadBalancerToSubnetsInput = [3, n0, _ALBTSI, 0, [_LBN, _S], [0, 64 | 0]];
673
+ var AttachLoadBalancerToSubnetsOutput = [3, n0, _ALBTSO, 0, [_S], [64 | 0]];
674
+ var BackendServerDescription = [3, n0, _BSD, 0, [_IP, _PNo], [1, 64 | 0]];
675
+ var CertificateNotFoundException = [
676
+ -3,
677
+ n0,
678
+ _CNFE,
679
+ {
680
+ [_e]: _c,
681
+ [_hE]: 400,
682
+ [_aQE]: [`CertificateNotFound`, 400],
683
+ },
684
+ [_M],
685
+ [0],
686
+ ];
687
+ schema.TypeRegistry.for(n0).registerError(CertificateNotFoundException, CertificateNotFoundException$1);
688
+ var ConfigureHealthCheckInput = [3, n0, _CHCI, 0, [_LBN, _HC], [0, () => HealthCheck]];
689
+ var ConfigureHealthCheckOutput = [3, n0, _CHCO, 0, [_HC], [() => HealthCheck]];
690
+ var ConnectionDraining = [3, n0, _CD, 0, [_E, _Ti], [2, 1]];
691
+ var ConnectionSettings = [3, n0, _CS, 0, [_IT], [1]];
692
+ var CreateAccessPointInput = [
693
+ 3,
694
+ n0,
695
+ _CAPI,
696
+ 0,
697
+ [_LBN, _L, _AZ, _S, _SG, _Sc, _T],
698
+ [0, () => Listeners, 64 | 0, 64 | 0, 64 | 0, 0, () => TagList],
699
+ ];
700
+ var CreateAccessPointOutput = [3, n0, _CAPO, 0, [_DNSN], [0]];
701
+ var CreateAppCookieStickinessPolicyInput = [
702
+ 3,
703
+ n0,
704
+ _CACSPI,
705
+ 0,
706
+ [_LBN, _PN, _CN],
707
+ [0, 0, 0],
708
+ ];
709
+ var CreateAppCookieStickinessPolicyOutput = [3, n0, _CACSPO, 0, [], []];
710
+ var CreateLBCookieStickinessPolicyInput = [
711
+ 3,
712
+ n0,
713
+ _CLBCSPI,
714
+ 0,
715
+ [_LBN, _PN, _CEP],
716
+ [0, 0, 1],
717
+ ];
718
+ var CreateLBCookieStickinessPolicyOutput = [3, n0, _CLBCSPO, 0, [], []];
719
+ var CreateLoadBalancerListenerInput = [
720
+ 3,
721
+ n0,
722
+ _CLBLI,
723
+ 0,
724
+ [_LBN, _L],
725
+ [0, () => Listeners],
726
+ ];
727
+ var CreateLoadBalancerListenerOutput = [3, n0, _CLBLO, 0, [], []];
728
+ var CreateLoadBalancerPolicyInput = [
729
+ 3,
730
+ n0,
731
+ _CLBPI,
732
+ 0,
733
+ [_LBN, _PN, _PTN, _PA],
734
+ [0, 0, 0, () => PolicyAttributes],
735
+ ];
736
+ var CreateLoadBalancerPolicyOutput = [3, n0, _CLBPO, 0, [], []];
737
+ var CrossZoneLoadBalancing = [3, n0, _CZLB, 0, [_E], [2]];
738
+ var DeleteAccessPointInput = [3, n0, _DAPI, 0, [_LBN], [0]];
739
+ var DeleteAccessPointOutput = [3, n0, _DAPO, 0, [], []];
740
+ var DeleteLoadBalancerListenerInput = [3, n0, _DLBLI, 0, [_LBN, _LBP], [0, 64 | 1]];
741
+ var DeleteLoadBalancerListenerOutput = [3, n0, _DLBLO, 0, [], []];
742
+ var DeleteLoadBalancerPolicyInput = [3, n0, _DLBPI, 0, [_LBN, _PN], [0, 0]];
743
+ var DeleteLoadBalancerPolicyOutput = [3, n0, _DLBPO, 0, [], []];
744
+ var DependencyThrottleException = [
745
+ -3,
746
+ n0,
747
+ _DTE,
748
+ {
749
+ [_e]: _c,
750
+ [_hE]: 400,
751
+ [_aQE]: [`DependencyThrottle`, 400],
752
+ },
753
+ [_M],
754
+ [0],
755
+ ];
756
+ schema.TypeRegistry.for(n0).registerError(DependencyThrottleException, DependencyThrottleException$1);
757
+ var DeregisterEndPointsInput = [3, n0, _DEPI, 0, [_LBN, _I], [0, () => Instances]];
758
+ var DeregisterEndPointsOutput = [3, n0, _DEPO, 0, [_I], [() => Instances]];
759
+ var DescribeAccessPointsInput = [3, n0, _DAPIe, 0, [_LBNo, _Ma, _PS], [64 | 0, 0, 1]];
760
+ var DescribeAccessPointsOutput = [
761
+ 3,
762
+ n0,
763
+ _DAPOe,
764
+ 0,
765
+ [_LBD, _NM],
766
+ [() => LoadBalancerDescriptions, 0],
767
+ ];
768
+ var DescribeAccountLimitsInput = [3, n0, _DALI, 0, [_Ma, _PS], [0, 1]];
769
+ var DescribeAccountLimitsOutput = [3, n0, _DALO, 0, [_Li, _NM], [() => Limits, 0]];
770
+ var DescribeEndPointStateInput = [3, n0, _DEPSI, 0, [_LBN, _I], [0, () => Instances]];
771
+ var DescribeEndPointStateOutput = [3, n0, _DEPSO, 0, [_IS], [() => InstanceStates]];
772
+ var DescribeLoadBalancerAttributesInput = [3, n0, _DLBAI, 0, [_LBN], [0]];
773
+ var DescribeLoadBalancerAttributesOutput = [
774
+ 3,
775
+ n0,
776
+ _DLBAO,
777
+ 0,
778
+ [_LBA],
779
+ [() => LoadBalancerAttributes],
780
+ ];
781
+ var DescribeLoadBalancerPoliciesInput = [3, n0, _DLBPIe, 0, [_LBN, _PNo], [0, 64 | 0]];
782
+ var DescribeLoadBalancerPoliciesOutput = [
783
+ 3,
784
+ n0,
785
+ _DLBPOe,
786
+ 0,
787
+ [_PD],
788
+ [() => PolicyDescriptions],
789
+ ];
790
+ var DescribeLoadBalancerPolicyTypesInput = [3, n0, _DLBPTI, 0, [_PTNo], [64 | 0]];
791
+ var DescribeLoadBalancerPolicyTypesOutput = [
792
+ 3,
793
+ n0,
794
+ _DLBPTO,
795
+ 0,
796
+ [_PTD],
797
+ [() => PolicyTypeDescriptions],
798
+ ];
799
+ var DescribeTagsInput = [3, n0, _DTI, 0, [_LBNo], [64 | 0]];
800
+ var DescribeTagsOutput = [3, n0, _DTO, 0, [_TD], [() => TagDescriptions]];
801
+ var DetachLoadBalancerFromSubnetsInput = [3, n0, _DLBFSI, 0, [_LBN, _S], [0, 64 | 0]];
802
+ var DetachLoadBalancerFromSubnetsOutput = [3, n0, _DLBFSO, 0, [_S], [64 | 0]];
803
+ var DuplicateAccessPointNameException = [
804
+ -3,
805
+ n0,
806
+ _DAPNE,
807
+ {
808
+ [_e]: _c,
809
+ [_hE]: 400,
810
+ [_aQE]: [`DuplicateLoadBalancerName`, 400],
811
+ },
812
+ [_M],
813
+ [0],
814
+ ];
815
+ schema.TypeRegistry.for(n0).registerError(DuplicateAccessPointNameException, DuplicateAccessPointNameException$1);
816
+ var DuplicateListenerException = [
817
+ -3,
818
+ n0,
819
+ _DLE,
820
+ {
821
+ [_e]: _c,
822
+ [_hE]: 400,
823
+ [_aQE]: [`DuplicateListener`, 400],
824
+ },
825
+ [_M],
826
+ [0],
827
+ ];
828
+ schema.TypeRegistry.for(n0).registerError(DuplicateListenerException, DuplicateListenerException$1);
829
+ var DuplicatePolicyNameException = [
830
+ -3,
831
+ n0,
832
+ _DPNE,
833
+ {
834
+ [_e]: _c,
835
+ [_hE]: 400,
836
+ [_aQE]: [`DuplicatePolicyName`, 400],
837
+ },
838
+ [_M],
839
+ [0],
840
+ ];
841
+ schema.TypeRegistry.for(n0).registerError(DuplicatePolicyNameException, DuplicatePolicyNameException$1);
842
+ var DuplicateTagKeysException = [
843
+ -3,
844
+ n0,
845
+ _DTKE,
846
+ {
847
+ [_e]: _c,
848
+ [_hE]: 400,
849
+ [_aQE]: [`DuplicateTagKeys`, 400],
850
+ },
851
+ [_M],
852
+ [0],
853
+ ];
854
+ schema.TypeRegistry.for(n0).registerError(DuplicateTagKeysException, DuplicateTagKeysException$1);
855
+ var HealthCheck = [3, n0, _HC, 0, [_Ta, _In, _Ti, _UT, _HT], [0, 1, 1, 1, 1]];
856
+ var Instance = [3, n0, _Ins, 0, [_II], [0]];
857
+ var InstanceState = [3, n0, _ISn, 0, [_II, _St, _RC, _D], [0, 0, 0, 0]];
858
+ var InvalidConfigurationRequestException = [
859
+ -3,
860
+ n0,
861
+ _ICRE,
862
+ {
863
+ [_e]: _c,
864
+ [_hE]: 409,
865
+ [_aQE]: [`InvalidConfigurationRequest`, 409],
866
+ },
867
+ [_M],
868
+ [0],
869
+ ];
870
+ schema.TypeRegistry.for(n0).registerError(InvalidConfigurationRequestException, InvalidConfigurationRequestException$1);
871
+ var InvalidEndPointException = [
872
+ -3,
873
+ n0,
874
+ _IEPE,
875
+ {
876
+ [_e]: _c,
877
+ [_hE]: 400,
878
+ [_aQE]: [`InvalidInstance`, 400],
879
+ },
880
+ [_M],
881
+ [0],
882
+ ];
883
+ schema.TypeRegistry.for(n0).registerError(InvalidEndPointException, InvalidEndPointException$1);
884
+ var InvalidSchemeException = [
885
+ -3,
886
+ n0,
887
+ _ISE,
888
+ {
889
+ [_e]: _c,
890
+ [_hE]: 400,
891
+ [_aQE]: [`InvalidScheme`, 400],
892
+ },
893
+ [_M],
894
+ [0],
895
+ ];
896
+ schema.TypeRegistry.for(n0).registerError(InvalidSchemeException, InvalidSchemeException$1);
897
+ var InvalidSecurityGroupException = [
898
+ -3,
899
+ n0,
900
+ _ISGE,
901
+ {
902
+ [_e]: _c,
903
+ [_hE]: 400,
904
+ [_aQE]: [`InvalidSecurityGroup`, 400],
905
+ },
906
+ [_M],
907
+ [0],
908
+ ];
909
+ schema.TypeRegistry.for(n0).registerError(InvalidSecurityGroupException, InvalidSecurityGroupException$1);
910
+ var InvalidSubnetException = [
911
+ -3,
912
+ n0,
913
+ _ISEn,
914
+ {
915
+ [_e]: _c,
916
+ [_hE]: 400,
917
+ [_aQE]: [`InvalidSubnet`, 400],
918
+ },
919
+ [_M],
920
+ [0],
921
+ ];
922
+ schema.TypeRegistry.for(n0).registerError(InvalidSubnetException, InvalidSubnetException$1);
923
+ var LBCookieStickinessPolicy = [3, n0, _LBCSP, 0, [_PN, _CEP], [0, 1]];
924
+ var Limit = [3, n0, _Lim, 0, [_N, _Max], [0, 0]];
925
+ var Listener = [3, n0, _Lis, 0, [_P, _LBPo, _IPn, _IP, _SSLCI], [0, 1, 0, 1, 0]];
926
+ var ListenerDescription = [3, n0, _LD, 0, [_Lis, _PNo], [() => Listener, 64 | 0]];
927
+ var ListenerNotFoundException = [
928
+ -3,
929
+ n0,
930
+ _LNFE,
931
+ {
932
+ [_e]: _c,
933
+ [_hE]: 400,
934
+ [_aQE]: [`ListenerNotFound`, 400],
935
+ },
936
+ [_M],
937
+ [0],
938
+ ];
939
+ schema.TypeRegistry.for(n0).registerError(ListenerNotFoundException, ListenerNotFoundException$1);
940
+ var LoadBalancerAttributeNotFoundException = [
941
+ -3,
942
+ n0,
943
+ _LBANFE,
944
+ {
945
+ [_e]: _c,
946
+ [_hE]: 400,
947
+ [_aQE]: [`LoadBalancerAttributeNotFound`, 400],
948
+ },
949
+ [_M],
950
+ [0],
951
+ ];
952
+ schema.TypeRegistry.for(n0).registerError(LoadBalancerAttributeNotFoundException, LoadBalancerAttributeNotFoundException$1);
953
+ var LoadBalancerAttributes = [
954
+ 3,
955
+ n0,
956
+ _LBA,
957
+ 0,
958
+ [_CZLB, _AL, _CD, _CS, _AAd],
959
+ [
960
+ () => CrossZoneLoadBalancing,
961
+ () => AccessLog,
962
+ () => ConnectionDraining,
963
+ () => ConnectionSettings,
964
+ () => AdditionalAttributes,
965
+ ],
966
+ ];
967
+ var LoadBalancerDescription = [
968
+ 3,
969
+ n0,
970
+ _LBDo,
971
+ 0,
972
+ [_LBN, _DNSN, _CHZN, _CHZNID, _LDi, _Po, _BSDa, _AZ, _S, _VPCI, _I, _HC, _SSG, _SG, _CT, _Sc],
973
+ [
974
+ 0,
975
+ 0,
976
+ 0,
977
+ 0,
978
+ () => ListenerDescriptions,
979
+ () => Policies,
980
+ () => BackendServerDescriptions,
981
+ 64 | 0,
982
+ 64 | 0,
983
+ 0,
984
+ () => Instances,
985
+ () => HealthCheck,
986
+ () => SourceSecurityGroup,
987
+ 64 | 0,
988
+ 4,
989
+ 0,
990
+ ],
991
+ ];
992
+ var ModifyLoadBalancerAttributesInput = [
993
+ 3,
994
+ n0,
995
+ _MLBAI,
996
+ 0,
997
+ [_LBN, _LBA],
998
+ [0, () => LoadBalancerAttributes],
999
+ ];
1000
+ var ModifyLoadBalancerAttributesOutput = [
1001
+ 3,
1002
+ n0,
1003
+ _MLBAO,
1004
+ 0,
1005
+ [_LBN, _LBA],
1006
+ [0, () => LoadBalancerAttributes],
1007
+ ];
1008
+ var OperationNotPermittedException = [
1009
+ -3,
1010
+ n0,
1011
+ _ONPE,
1012
+ {
1013
+ [_e]: _c,
1014
+ [_hE]: 400,
1015
+ [_aQE]: [`OperationNotPermitted`, 400],
1016
+ },
1017
+ [_M],
1018
+ [0],
1019
+ ];
1020
+ schema.TypeRegistry.for(n0).registerError(OperationNotPermittedException, OperationNotPermittedException$1);
1021
+ var Policies = [
1022
+ 3,
1023
+ n0,
1024
+ _Po,
1025
+ 0,
1026
+ [_ACSPp, _LBCSPo, _OP],
1027
+ [() => AppCookieStickinessPolicies, () => LBCookieStickinessPolicies, 64 | 0],
1028
+ ];
1029
+ var PolicyAttribute = [3, n0, _PAo, 0, [_AN, _AV], [0, 0]];
1030
+ var PolicyAttributeDescription = [3, n0, _PAD, 0, [_AN, _AV], [0, 0]];
1031
+ var PolicyAttributeTypeDescription = [
1032
+ 3,
1033
+ n0,
1034
+ _PATD,
1035
+ 0,
1036
+ [_AN, _AT, _D, _DV, _C],
1037
+ [0, 0, 0, 0, 0],
1038
+ ];
1039
+ var PolicyDescription = [
1040
+ 3,
1041
+ n0,
1042
+ _PDo,
1043
+ 0,
1044
+ [_PN, _PTN, _PADo],
1045
+ [0, 0, () => PolicyAttributeDescriptions],
1046
+ ];
1047
+ var PolicyNotFoundException = [
1048
+ -3,
1049
+ n0,
1050
+ _PNFE,
1051
+ {
1052
+ [_e]: _c,
1053
+ [_hE]: 400,
1054
+ [_aQE]: [`PolicyNotFound`, 400],
1055
+ },
1056
+ [_M],
1057
+ [0],
1058
+ ];
1059
+ schema.TypeRegistry.for(n0).registerError(PolicyNotFoundException, PolicyNotFoundException$1);
1060
+ var PolicyTypeDescription = [
1061
+ 3,
1062
+ n0,
1063
+ _PTDo,
1064
+ 0,
1065
+ [_PTN, _D, _PATDo],
1066
+ [0, 0, () => PolicyAttributeTypeDescriptions],
1067
+ ];
1068
+ var PolicyTypeNotFoundException = [
1069
+ -3,
1070
+ n0,
1071
+ _PTNFE,
1072
+ {
1073
+ [_e]: _c,
1074
+ [_hE]: 400,
1075
+ [_aQE]: [`PolicyTypeNotFound`, 400],
1076
+ },
1077
+ [_M],
1078
+ [0],
1079
+ ];
1080
+ schema.TypeRegistry.for(n0).registerError(PolicyTypeNotFoundException, PolicyTypeNotFoundException$1);
1081
+ var RegisterEndPointsInput = [3, n0, _REPI, 0, [_LBN, _I], [0, () => Instances]];
1082
+ var RegisterEndPointsOutput = [3, n0, _REPO, 0, [_I], [() => Instances]];
1083
+ var RemoveAvailabilityZonesInput = [3, n0, _RAZI, 0, [_LBN, _AZ], [0, 64 | 0]];
1084
+ var RemoveAvailabilityZonesOutput = [3, n0, _RAZO, 0, [_AZ], [64 | 0]];
1085
+ var RemoveTagsInput = [3, n0, _RTI, 0, [_LBNo, _T], [64 | 0, () => TagKeyList]];
1086
+ var RemoveTagsOutput = [3, n0, _RTO, 0, [], []];
1087
+ var SetLoadBalancerListenerSSLCertificateInput = [
1088
+ 3,
1089
+ n0,
1090
+ _SLBLSSLCI,
1091
+ 0,
1092
+ [_LBN, _LBPo, _SSLCI],
1093
+ [0, 1, 0],
1094
+ ];
1095
+ var SetLoadBalancerListenerSSLCertificateOutput = [3, n0, _SLBLSSLCO, 0, [], []];
1096
+ var SetLoadBalancerPoliciesForBackendServerInput = [
1097
+ 3,
1098
+ n0,
1099
+ _SLBPFBSI,
1100
+ 0,
1101
+ [_LBN, _IP, _PNo],
1102
+ [0, 1, 64 | 0],
1103
+ ];
1104
+ var SetLoadBalancerPoliciesForBackendServerOutput = [3, n0, _SLBPFBSO, 0, [], []];
1105
+ var SetLoadBalancerPoliciesOfListenerInput = [
1106
+ 3,
1107
+ n0,
1108
+ _SLBPOLI,
1109
+ 0,
1110
+ [_LBN, _LBPo, _PNo],
1111
+ [0, 1, 64 | 0],
1112
+ ];
1113
+ var SetLoadBalancerPoliciesOfListenerOutput = [3, n0, _SLBPOLO, 0, [], []];
1114
+ var SourceSecurityGroup = [3, n0, _SSG, 0, [_OA, _GN], [0, 0]];
1115
+ var SubnetNotFoundException = [
1116
+ -3,
1117
+ n0,
1118
+ _SNFE,
1119
+ {
1120
+ [_e]: _c,
1121
+ [_hE]: 400,
1122
+ [_aQE]: [`SubnetNotFound`, 400],
1123
+ },
1124
+ [_M],
1125
+ [0],
1126
+ ];
1127
+ schema.TypeRegistry.for(n0).registerError(SubnetNotFoundException, SubnetNotFoundException$1);
1128
+ var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
1129
+ var TagDescription = [3, n0, _TDa, 0, [_LBN, _T], [0, () => TagList]];
1130
+ var TagKeyOnly = [3, n0, _TKO, 0, [_K], [0]];
1131
+ var TooManyAccessPointsException = [
1132
+ -3,
1133
+ n0,
1134
+ _TMAPE,
1135
+ {
1136
+ [_e]: _c,
1137
+ [_hE]: 400,
1138
+ [_aQE]: [`TooManyLoadBalancers`, 400],
1139
+ },
1140
+ [_M],
1141
+ [0],
1142
+ ];
1143
+ schema.TypeRegistry.for(n0).registerError(TooManyAccessPointsException, TooManyAccessPointsException$1);
1144
+ var TooManyPoliciesException = [
1145
+ -3,
1146
+ n0,
1147
+ _TMPE,
1148
+ {
1149
+ [_e]: _c,
1150
+ [_hE]: 400,
1151
+ [_aQE]: [`TooManyPolicies`, 400],
1152
+ },
1153
+ [_M],
1154
+ [0],
1155
+ ];
1156
+ schema.TypeRegistry.for(n0).registerError(TooManyPoliciesException, TooManyPoliciesException$1);
1157
+ var TooManyTagsException = [
1158
+ -3,
1159
+ n0,
1160
+ _TMTE,
1161
+ {
1162
+ [_e]: _c,
1163
+ [_hE]: 400,
1164
+ [_aQE]: [`TooManyTags`, 400],
1165
+ },
1166
+ [_M],
1167
+ [0],
1168
+ ];
1169
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
1170
+ var UnsupportedProtocolException = [
1171
+ -3,
1172
+ n0,
1173
+ _UPE,
1174
+ {
1175
+ [_e]: _c,
1176
+ [_hE]: 400,
1177
+ [_aQE]: [`UnsupportedProtocol`, 400],
1178
+ },
1179
+ [_M],
1180
+ [0],
1181
+ ];
1182
+ schema.TypeRegistry.for(n0).registerError(UnsupportedProtocolException, UnsupportedProtocolException$1);
1183
+ var ElasticLoadBalancingServiceException = [
1184
+ -3,
1185
+ _s,
1186
+ "ElasticLoadBalancingServiceException",
1187
+ 0,
1188
+ [],
1189
+ [],
1190
+ ];
1191
+ schema.TypeRegistry.for(_s).registerError(ElasticLoadBalancingServiceException, ElasticLoadBalancingServiceException$1);
1192
+ var AdditionalAttributes = [1, n0, _AAd, 0, () => AdditionalAttribute];
1193
+ var AppCookieStickinessPolicies = [1, n0, _ACSPp, 0, () => AppCookieStickinessPolicy];
1194
+ var BackendServerDescriptions = [1, n0, _BSDa, 0, () => BackendServerDescription];
1195
+ var Instances = [1, n0, _I, 0, () => Instance];
1196
+ var InstanceStates = [1, n0, _IS, 0, () => InstanceState];
1197
+ var LBCookieStickinessPolicies = [1, n0, _LBCSPo, 0, () => LBCookieStickinessPolicy];
1198
+ var Limits = [1, n0, _Li, 0, () => Limit];
1199
+ var ListenerDescriptions = [1, n0, _LDi, 0, () => ListenerDescription];
1200
+ var Listeners = [1, n0, _L, 0, () => Listener];
1201
+ var LoadBalancerDescriptions = [1, n0, _LBD, 0, () => LoadBalancerDescription];
1202
+ var PolicyAttributeDescriptions = [1, n0, _PADo, 0, () => PolicyAttributeDescription];
1203
+ var PolicyAttributes = [1, n0, _PA, 0, () => PolicyAttribute];
1204
+ var PolicyAttributeTypeDescriptions = [1, n0, _PATDo, 0, () => PolicyAttributeTypeDescription];
1205
+ var PolicyDescriptions = [1, n0, _PD, 0, () => PolicyDescription];
1206
+ var PolicyTypeDescriptions = [1, n0, _PTD, 0, () => PolicyTypeDescription];
1207
+ var TagDescriptions = [1, n0, _TD, 0, () => TagDescription];
1208
+ var TagKeyList = [1, n0, _TKL, 0, () => TagKeyOnly];
1209
+ var TagList = [1, n0, _TL, 0, () => Tag];
1210
+ var AddTags = [9, n0, _ATd, 0, () => AddTagsInput, () => AddTagsOutput];
1211
+ var ApplySecurityGroupsToLoadBalancer = [
1212
+ 9,
1213
+ n0,
1214
+ _ASGTLB,
1215
+ 0,
1216
+ () => ApplySecurityGroupsToLoadBalancerInput,
1217
+ () => ApplySecurityGroupsToLoadBalancerOutput,
1218
+ ];
1219
+ var AttachLoadBalancerToSubnets = [
1220
+ 9,
1221
+ n0,
1222
+ _ALBTS,
1223
+ 0,
1224
+ () => AttachLoadBalancerToSubnetsInput,
1225
+ () => AttachLoadBalancerToSubnetsOutput,
1226
+ ];
1227
+ var ConfigureHealthCheck = [
1228
+ 9,
1229
+ n0,
1230
+ _CHC,
1231
+ 0,
1232
+ () => ConfigureHealthCheckInput,
1233
+ () => ConfigureHealthCheckOutput,
1234
+ ];
1235
+ var CreateAppCookieStickinessPolicy = [
1236
+ 9,
1237
+ n0,
1238
+ _CACSP,
1239
+ 0,
1240
+ () => CreateAppCookieStickinessPolicyInput,
1241
+ () => CreateAppCookieStickinessPolicyOutput,
1242
+ ];
1243
+ var CreateLBCookieStickinessPolicy = [
1244
+ 9,
1245
+ n0,
1246
+ _CLBCSP,
1247
+ 0,
1248
+ () => CreateLBCookieStickinessPolicyInput,
1249
+ () => CreateLBCookieStickinessPolicyOutput,
1250
+ ];
1251
+ var CreateLoadBalancer = [
1252
+ 9,
1253
+ n0,
1254
+ _CLB,
1255
+ 0,
1256
+ () => CreateAccessPointInput,
1257
+ () => CreateAccessPointOutput,
1258
+ ];
1259
+ var CreateLoadBalancerListeners = [
1260
+ 9,
1261
+ n0,
1262
+ _CLBL,
1263
+ 0,
1264
+ () => CreateLoadBalancerListenerInput,
1265
+ () => CreateLoadBalancerListenerOutput,
1266
+ ];
1267
+ var CreateLoadBalancerPolicy = [
1268
+ 9,
1269
+ n0,
1270
+ _CLBP,
1271
+ 0,
1272
+ () => CreateLoadBalancerPolicyInput,
1273
+ () => CreateLoadBalancerPolicyOutput,
1274
+ ];
1275
+ var DeleteLoadBalancer = [
1276
+ 9,
1277
+ n0,
1278
+ _DLB,
1279
+ 0,
1280
+ () => DeleteAccessPointInput,
1281
+ () => DeleteAccessPointOutput,
1282
+ ];
1283
+ var DeleteLoadBalancerListeners = [
1284
+ 9,
1285
+ n0,
1286
+ _DLBL,
1287
+ 0,
1288
+ () => DeleteLoadBalancerListenerInput,
1289
+ () => DeleteLoadBalancerListenerOutput,
1290
+ ];
1291
+ var DeleteLoadBalancerPolicy = [
1292
+ 9,
1293
+ n0,
1294
+ _DLBP,
1295
+ 0,
1296
+ () => DeleteLoadBalancerPolicyInput,
1297
+ () => DeleteLoadBalancerPolicyOutput,
1298
+ ];
1299
+ var DeregisterInstancesFromLoadBalancer = [
1300
+ 9,
1301
+ n0,
1302
+ _DIFLB,
1303
+ 0,
1304
+ () => DeregisterEndPointsInput,
1305
+ () => DeregisterEndPointsOutput,
1306
+ ];
1307
+ var DescribeAccountLimits = [
1308
+ 9,
1309
+ n0,
1310
+ _DAL,
1311
+ 0,
1312
+ () => DescribeAccountLimitsInput,
1313
+ () => DescribeAccountLimitsOutput,
1314
+ ];
1315
+ var DescribeInstanceHealth = [
1316
+ 9,
1317
+ n0,
1318
+ _DIH,
1319
+ 0,
1320
+ () => DescribeEndPointStateInput,
1321
+ () => DescribeEndPointStateOutput,
1322
+ ];
1323
+ var DescribeLoadBalancerAttributes = [
1324
+ 9,
1325
+ n0,
1326
+ _DLBA,
1327
+ 0,
1328
+ () => DescribeLoadBalancerAttributesInput,
1329
+ () => DescribeLoadBalancerAttributesOutput,
1330
+ ];
1331
+ var DescribeLoadBalancerPolicies = [
1332
+ 9,
1333
+ n0,
1334
+ _DLBPe,
1335
+ 0,
1336
+ () => DescribeLoadBalancerPoliciesInput,
1337
+ () => DescribeLoadBalancerPoliciesOutput,
1338
+ ];
1339
+ var DescribeLoadBalancerPolicyTypes = [
1340
+ 9,
1341
+ n0,
1342
+ _DLBPT,
1343
+ 0,
1344
+ () => DescribeLoadBalancerPolicyTypesInput,
1345
+ () => DescribeLoadBalancerPolicyTypesOutput,
1346
+ ];
1347
+ var DescribeLoadBalancers = [
1348
+ 9,
1349
+ n0,
1350
+ _DLBe,
1351
+ 0,
1352
+ () => DescribeAccessPointsInput,
1353
+ () => DescribeAccessPointsOutput,
1354
+ ];
1355
+ var DescribeTags = [9, n0, _DT, 0, () => DescribeTagsInput, () => DescribeTagsOutput];
1356
+ var DetachLoadBalancerFromSubnets = [
1357
+ 9,
1358
+ n0,
1359
+ _DLBFS,
1360
+ 0,
1361
+ () => DetachLoadBalancerFromSubnetsInput,
1362
+ () => DetachLoadBalancerFromSubnetsOutput,
1363
+ ];
1364
+ var DisableAvailabilityZonesForLoadBalancer = [
1365
+ 9,
1366
+ n0,
1367
+ _DAZFLB,
1368
+ 0,
1369
+ () => RemoveAvailabilityZonesInput,
1370
+ () => RemoveAvailabilityZonesOutput,
1371
+ ];
1372
+ var EnableAvailabilityZonesForLoadBalancer = [
1373
+ 9,
1374
+ n0,
1375
+ _EAZFLB,
1376
+ 0,
1377
+ () => AddAvailabilityZonesInput,
1378
+ () => AddAvailabilityZonesOutput,
1379
+ ];
1380
+ var ModifyLoadBalancerAttributes = [
1381
+ 9,
1382
+ n0,
1383
+ _MLBA,
1384
+ 0,
1385
+ () => ModifyLoadBalancerAttributesInput,
1386
+ () => ModifyLoadBalancerAttributesOutput,
1387
+ ];
1388
+ var RegisterInstancesWithLoadBalancer = [
1389
+ 9,
1390
+ n0,
1391
+ _RIWLB,
1392
+ 0,
1393
+ () => RegisterEndPointsInput,
1394
+ () => RegisterEndPointsOutput,
1395
+ ];
1396
+ var RemoveTags = [9, n0, _RT, 0, () => RemoveTagsInput, () => RemoveTagsOutput];
1397
+ var SetLoadBalancerListenerSSLCertificate = [
1398
+ 9,
1399
+ n0,
1400
+ _SLBLSSLC,
1401
+ 0,
1402
+ () => SetLoadBalancerListenerSSLCertificateInput,
1403
+ () => SetLoadBalancerListenerSSLCertificateOutput,
1404
+ ];
1405
+ var SetLoadBalancerPoliciesForBackendServer = [
1406
+ 9,
1407
+ n0,
1408
+ _SLBPFBS,
1409
+ 0,
1410
+ () => SetLoadBalancerPoliciesForBackendServerInput,
1411
+ () => SetLoadBalancerPoliciesForBackendServerOutput,
1412
+ ];
1413
+ var SetLoadBalancerPoliciesOfListener = [
1414
+ 9,
1415
+ n0,
1416
+ _SLBPOL,
1417
+ 0,
1418
+ () => SetLoadBalancerPoliciesOfListenerInput,
1419
+ () => SetLoadBalancerPoliciesOfListenerOutput,
1420
+ ];
3259
1421
 
3260
1422
  class AddTagsCommand extends smithyClient.Command
3261
1423
  .classBuilder()
3262
1424
  .ep(commonParams)
3263
1425
  .m(function (Command, cs, config, o) {
3264
- return [
3265
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3266
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3267
- ];
1426
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3268
1427
  })
3269
1428
  .s("ElasticLoadBalancing_v7", "AddTags", {})
3270
1429
  .n("ElasticLoadBalancingClient", "AddTagsCommand")
3271
- .f(void 0, void 0)
3272
- .ser(se_AddTagsCommand)
3273
- .de(de_AddTagsCommand)
1430
+ .sc(AddTags)
3274
1431
  .build() {
3275
1432
  }
3276
1433
 
@@ -3278,16 +1435,11 @@ class ApplySecurityGroupsToLoadBalancerCommand extends smithyClient.Command
3278
1435
  .classBuilder()
3279
1436
  .ep(commonParams)
3280
1437
  .m(function (Command, cs, config, o) {
3281
- return [
3282
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3283
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3284
- ];
1438
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3285
1439
  })
3286
1440
  .s("ElasticLoadBalancing_v7", "ApplySecurityGroupsToLoadBalancer", {})
3287
1441
  .n("ElasticLoadBalancingClient", "ApplySecurityGroupsToLoadBalancerCommand")
3288
- .f(void 0, void 0)
3289
- .ser(se_ApplySecurityGroupsToLoadBalancerCommand)
3290
- .de(de_ApplySecurityGroupsToLoadBalancerCommand)
1442
+ .sc(ApplySecurityGroupsToLoadBalancer)
3291
1443
  .build() {
3292
1444
  }
3293
1445
 
@@ -3295,16 +1447,11 @@ class AttachLoadBalancerToSubnetsCommand extends smithyClient.Command
3295
1447
  .classBuilder()
3296
1448
  .ep(commonParams)
3297
1449
  .m(function (Command, cs, config, o) {
3298
- return [
3299
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3300
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3301
- ];
1450
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3302
1451
  })
3303
1452
  .s("ElasticLoadBalancing_v7", "AttachLoadBalancerToSubnets", {})
3304
1453
  .n("ElasticLoadBalancingClient", "AttachLoadBalancerToSubnetsCommand")
3305
- .f(void 0, void 0)
3306
- .ser(se_AttachLoadBalancerToSubnetsCommand)
3307
- .de(de_AttachLoadBalancerToSubnetsCommand)
1454
+ .sc(AttachLoadBalancerToSubnets)
3308
1455
  .build() {
3309
1456
  }
3310
1457
 
@@ -3312,16 +1459,11 @@ class ConfigureHealthCheckCommand extends smithyClient.Command
3312
1459
  .classBuilder()
3313
1460
  .ep(commonParams)
3314
1461
  .m(function (Command, cs, config, o) {
3315
- return [
3316
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3317
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3318
- ];
1462
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3319
1463
  })
3320
1464
  .s("ElasticLoadBalancing_v7", "ConfigureHealthCheck", {})
3321
1465
  .n("ElasticLoadBalancingClient", "ConfigureHealthCheckCommand")
3322
- .f(void 0, void 0)
3323
- .ser(se_ConfigureHealthCheckCommand)
3324
- .de(de_ConfigureHealthCheckCommand)
1466
+ .sc(ConfigureHealthCheck)
3325
1467
  .build() {
3326
1468
  }
3327
1469
 
@@ -3329,16 +1471,11 @@ class CreateAppCookieStickinessPolicyCommand extends smithyClient.Command
3329
1471
  .classBuilder()
3330
1472
  .ep(commonParams)
3331
1473
  .m(function (Command, cs, config, o) {
3332
- return [
3333
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3334
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3335
- ];
1474
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3336
1475
  })
3337
1476
  .s("ElasticLoadBalancing_v7", "CreateAppCookieStickinessPolicy", {})
3338
1477
  .n("ElasticLoadBalancingClient", "CreateAppCookieStickinessPolicyCommand")
3339
- .f(void 0, void 0)
3340
- .ser(se_CreateAppCookieStickinessPolicyCommand)
3341
- .de(de_CreateAppCookieStickinessPolicyCommand)
1478
+ .sc(CreateAppCookieStickinessPolicy)
3342
1479
  .build() {
3343
1480
  }
3344
1481
 
@@ -3346,16 +1483,11 @@ class CreateLBCookieStickinessPolicyCommand extends smithyClient.Command
3346
1483
  .classBuilder()
3347
1484
  .ep(commonParams)
3348
1485
  .m(function (Command, cs, config, o) {
3349
- return [
3350
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3351
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3352
- ];
1486
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3353
1487
  })
3354
1488
  .s("ElasticLoadBalancing_v7", "CreateLBCookieStickinessPolicy", {})
3355
1489
  .n("ElasticLoadBalancingClient", "CreateLBCookieStickinessPolicyCommand")
3356
- .f(void 0, void 0)
3357
- .ser(se_CreateLBCookieStickinessPolicyCommand)
3358
- .de(de_CreateLBCookieStickinessPolicyCommand)
1490
+ .sc(CreateLBCookieStickinessPolicy)
3359
1491
  .build() {
3360
1492
  }
3361
1493
 
@@ -3363,16 +1495,11 @@ class CreateLoadBalancerCommand extends smithyClient.Command
3363
1495
  .classBuilder()
3364
1496
  .ep(commonParams)
3365
1497
  .m(function (Command, cs, config, o) {
3366
- return [
3367
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3368
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3369
- ];
1498
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3370
1499
  })
3371
1500
  .s("ElasticLoadBalancing_v7", "CreateLoadBalancer", {})
3372
1501
  .n("ElasticLoadBalancingClient", "CreateLoadBalancerCommand")
3373
- .f(void 0, void 0)
3374
- .ser(se_CreateLoadBalancerCommand)
3375
- .de(de_CreateLoadBalancerCommand)
1502
+ .sc(CreateLoadBalancer)
3376
1503
  .build() {
3377
1504
  }
3378
1505
 
@@ -3380,16 +1507,11 @@ class CreateLoadBalancerListenersCommand extends smithyClient.Command
3380
1507
  .classBuilder()
3381
1508
  .ep(commonParams)
3382
1509
  .m(function (Command, cs, config, o) {
3383
- return [
3384
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3385
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3386
- ];
1510
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3387
1511
  })
3388
1512
  .s("ElasticLoadBalancing_v7", "CreateLoadBalancerListeners", {})
3389
1513
  .n("ElasticLoadBalancingClient", "CreateLoadBalancerListenersCommand")
3390
- .f(void 0, void 0)
3391
- .ser(se_CreateLoadBalancerListenersCommand)
3392
- .de(de_CreateLoadBalancerListenersCommand)
1514
+ .sc(CreateLoadBalancerListeners)
3393
1515
  .build() {
3394
1516
  }
3395
1517
 
@@ -3397,16 +1519,11 @@ class CreateLoadBalancerPolicyCommand extends smithyClient.Command
3397
1519
  .classBuilder()
3398
1520
  .ep(commonParams)
3399
1521
  .m(function (Command, cs, config, o) {
3400
- return [
3401
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3402
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3403
- ];
1522
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3404
1523
  })
3405
1524
  .s("ElasticLoadBalancing_v7", "CreateLoadBalancerPolicy", {})
3406
1525
  .n("ElasticLoadBalancingClient", "CreateLoadBalancerPolicyCommand")
3407
- .f(void 0, void 0)
3408
- .ser(se_CreateLoadBalancerPolicyCommand)
3409
- .de(de_CreateLoadBalancerPolicyCommand)
1526
+ .sc(CreateLoadBalancerPolicy)
3410
1527
  .build() {
3411
1528
  }
3412
1529
 
@@ -3414,16 +1531,11 @@ class DeleteLoadBalancerCommand extends smithyClient.Command
3414
1531
  .classBuilder()
3415
1532
  .ep(commonParams)
3416
1533
  .m(function (Command, cs, config, o) {
3417
- return [
3418
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3419
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3420
- ];
1534
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3421
1535
  })
3422
1536
  .s("ElasticLoadBalancing_v7", "DeleteLoadBalancer", {})
3423
1537
  .n("ElasticLoadBalancingClient", "DeleteLoadBalancerCommand")
3424
- .f(void 0, void 0)
3425
- .ser(se_DeleteLoadBalancerCommand)
3426
- .de(de_DeleteLoadBalancerCommand)
1538
+ .sc(DeleteLoadBalancer)
3427
1539
  .build() {
3428
1540
  }
3429
1541
 
@@ -3431,16 +1543,11 @@ class DeleteLoadBalancerListenersCommand extends smithyClient.Command
3431
1543
  .classBuilder()
3432
1544
  .ep(commonParams)
3433
1545
  .m(function (Command, cs, config, o) {
3434
- return [
3435
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3436
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3437
- ];
1546
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3438
1547
  })
3439
1548
  .s("ElasticLoadBalancing_v7", "DeleteLoadBalancerListeners", {})
3440
1549
  .n("ElasticLoadBalancingClient", "DeleteLoadBalancerListenersCommand")
3441
- .f(void 0, void 0)
3442
- .ser(se_DeleteLoadBalancerListenersCommand)
3443
- .de(de_DeleteLoadBalancerListenersCommand)
1550
+ .sc(DeleteLoadBalancerListeners)
3444
1551
  .build() {
3445
1552
  }
3446
1553
 
@@ -3448,16 +1555,11 @@ class DeleteLoadBalancerPolicyCommand extends smithyClient.Command
3448
1555
  .classBuilder()
3449
1556
  .ep(commonParams)
3450
1557
  .m(function (Command, cs, config, o) {
3451
- return [
3452
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3453
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3454
- ];
1558
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3455
1559
  })
3456
1560
  .s("ElasticLoadBalancing_v7", "DeleteLoadBalancerPolicy", {})
3457
1561
  .n("ElasticLoadBalancingClient", "DeleteLoadBalancerPolicyCommand")
3458
- .f(void 0, void 0)
3459
- .ser(se_DeleteLoadBalancerPolicyCommand)
3460
- .de(de_DeleteLoadBalancerPolicyCommand)
1562
+ .sc(DeleteLoadBalancerPolicy)
3461
1563
  .build() {
3462
1564
  }
3463
1565
 
@@ -3465,16 +1567,11 @@ class DeregisterInstancesFromLoadBalancerCommand extends smithyClient.Command
3465
1567
  .classBuilder()
3466
1568
  .ep(commonParams)
3467
1569
  .m(function (Command, cs, config, o) {
3468
- return [
3469
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3470
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3471
- ];
1570
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3472
1571
  })
3473
1572
  .s("ElasticLoadBalancing_v7", "DeregisterInstancesFromLoadBalancer", {})
3474
1573
  .n("ElasticLoadBalancingClient", "DeregisterInstancesFromLoadBalancerCommand")
3475
- .f(void 0, void 0)
3476
- .ser(se_DeregisterInstancesFromLoadBalancerCommand)
3477
- .de(de_DeregisterInstancesFromLoadBalancerCommand)
1574
+ .sc(DeregisterInstancesFromLoadBalancer)
3478
1575
  .build() {
3479
1576
  }
3480
1577
 
@@ -3482,16 +1579,11 @@ class DescribeAccountLimitsCommand extends smithyClient.Command
3482
1579
  .classBuilder()
3483
1580
  .ep(commonParams)
3484
1581
  .m(function (Command, cs, config, o) {
3485
- return [
3486
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3487
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3488
- ];
1582
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3489
1583
  })
3490
1584
  .s("ElasticLoadBalancing_v7", "DescribeAccountLimits", {})
3491
1585
  .n("ElasticLoadBalancingClient", "DescribeAccountLimitsCommand")
3492
- .f(void 0, void 0)
3493
- .ser(se_DescribeAccountLimitsCommand)
3494
- .de(de_DescribeAccountLimitsCommand)
1586
+ .sc(DescribeAccountLimits)
3495
1587
  .build() {
3496
1588
  }
3497
1589
 
@@ -3499,16 +1591,11 @@ class DescribeInstanceHealthCommand extends smithyClient.Command
3499
1591
  .classBuilder()
3500
1592
  .ep(commonParams)
3501
1593
  .m(function (Command, cs, config, o) {
3502
- return [
3503
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3504
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3505
- ];
1594
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3506
1595
  })
3507
1596
  .s("ElasticLoadBalancing_v7", "DescribeInstanceHealth", {})
3508
1597
  .n("ElasticLoadBalancingClient", "DescribeInstanceHealthCommand")
3509
- .f(void 0, void 0)
3510
- .ser(se_DescribeInstanceHealthCommand)
3511
- .de(de_DescribeInstanceHealthCommand)
1598
+ .sc(DescribeInstanceHealth)
3512
1599
  .build() {
3513
1600
  }
3514
1601
 
@@ -3516,16 +1603,11 @@ class DescribeLoadBalancerAttributesCommand extends smithyClient.Command
3516
1603
  .classBuilder()
3517
1604
  .ep(commonParams)
3518
1605
  .m(function (Command, cs, config, o) {
3519
- return [
3520
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3521
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3522
- ];
1606
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3523
1607
  })
3524
1608
  .s("ElasticLoadBalancing_v7", "DescribeLoadBalancerAttributes", {})
3525
1609
  .n("ElasticLoadBalancingClient", "DescribeLoadBalancerAttributesCommand")
3526
- .f(void 0, void 0)
3527
- .ser(se_DescribeLoadBalancerAttributesCommand)
3528
- .de(de_DescribeLoadBalancerAttributesCommand)
1610
+ .sc(DescribeLoadBalancerAttributes)
3529
1611
  .build() {
3530
1612
  }
3531
1613
 
@@ -3533,16 +1615,11 @@ class DescribeLoadBalancerPoliciesCommand extends smithyClient.Command
3533
1615
  .classBuilder()
3534
1616
  .ep(commonParams)
3535
1617
  .m(function (Command, cs, config, o) {
3536
- return [
3537
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3538
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3539
- ];
1618
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3540
1619
  })
3541
1620
  .s("ElasticLoadBalancing_v7", "DescribeLoadBalancerPolicies", {})
3542
1621
  .n("ElasticLoadBalancingClient", "DescribeLoadBalancerPoliciesCommand")
3543
- .f(void 0, void 0)
3544
- .ser(se_DescribeLoadBalancerPoliciesCommand)
3545
- .de(de_DescribeLoadBalancerPoliciesCommand)
1622
+ .sc(DescribeLoadBalancerPolicies)
3546
1623
  .build() {
3547
1624
  }
3548
1625
 
@@ -3550,16 +1627,11 @@ class DescribeLoadBalancerPolicyTypesCommand extends smithyClient.Command
3550
1627
  .classBuilder()
3551
1628
  .ep(commonParams)
3552
1629
  .m(function (Command, cs, config, o) {
3553
- return [
3554
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3555
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3556
- ];
1630
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3557
1631
  })
3558
1632
  .s("ElasticLoadBalancing_v7", "DescribeLoadBalancerPolicyTypes", {})
3559
1633
  .n("ElasticLoadBalancingClient", "DescribeLoadBalancerPolicyTypesCommand")
3560
- .f(void 0, void 0)
3561
- .ser(se_DescribeLoadBalancerPolicyTypesCommand)
3562
- .de(de_DescribeLoadBalancerPolicyTypesCommand)
1634
+ .sc(DescribeLoadBalancerPolicyTypes)
3563
1635
  .build() {
3564
1636
  }
3565
1637
 
@@ -3567,16 +1639,11 @@ class DescribeLoadBalancersCommand extends smithyClient.Command
3567
1639
  .classBuilder()
3568
1640
  .ep(commonParams)
3569
1641
  .m(function (Command, cs, config, o) {
3570
- return [
3571
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3572
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3573
- ];
1642
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3574
1643
  })
3575
1644
  .s("ElasticLoadBalancing_v7", "DescribeLoadBalancers", {})
3576
1645
  .n("ElasticLoadBalancingClient", "DescribeLoadBalancersCommand")
3577
- .f(void 0, void 0)
3578
- .ser(se_DescribeLoadBalancersCommand)
3579
- .de(de_DescribeLoadBalancersCommand)
1646
+ .sc(DescribeLoadBalancers)
3580
1647
  .build() {
3581
1648
  }
3582
1649
 
@@ -3584,16 +1651,11 @@ class DescribeTagsCommand extends smithyClient.Command
3584
1651
  .classBuilder()
3585
1652
  .ep(commonParams)
3586
1653
  .m(function (Command, cs, config, o) {
3587
- return [
3588
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3589
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3590
- ];
1654
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3591
1655
  })
3592
1656
  .s("ElasticLoadBalancing_v7", "DescribeTags", {})
3593
1657
  .n("ElasticLoadBalancingClient", "DescribeTagsCommand")
3594
- .f(void 0, void 0)
3595
- .ser(se_DescribeTagsCommand)
3596
- .de(de_DescribeTagsCommand)
1658
+ .sc(DescribeTags)
3597
1659
  .build() {
3598
1660
  }
3599
1661
 
@@ -3601,16 +1663,11 @@ class DetachLoadBalancerFromSubnetsCommand extends smithyClient.Command
3601
1663
  .classBuilder()
3602
1664
  .ep(commonParams)
3603
1665
  .m(function (Command, cs, config, o) {
3604
- return [
3605
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3606
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3607
- ];
1666
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3608
1667
  })
3609
1668
  .s("ElasticLoadBalancing_v7", "DetachLoadBalancerFromSubnets", {})
3610
1669
  .n("ElasticLoadBalancingClient", "DetachLoadBalancerFromSubnetsCommand")
3611
- .f(void 0, void 0)
3612
- .ser(se_DetachLoadBalancerFromSubnetsCommand)
3613
- .de(de_DetachLoadBalancerFromSubnetsCommand)
1670
+ .sc(DetachLoadBalancerFromSubnets)
3614
1671
  .build() {
3615
1672
  }
3616
1673
 
@@ -3618,16 +1675,11 @@ class DisableAvailabilityZonesForLoadBalancerCommand extends smithyClient.Comman
3618
1675
  .classBuilder()
3619
1676
  .ep(commonParams)
3620
1677
  .m(function (Command, cs, config, o) {
3621
- return [
3622
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3623
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3624
- ];
1678
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3625
1679
  })
3626
1680
  .s("ElasticLoadBalancing_v7", "DisableAvailabilityZonesForLoadBalancer", {})
3627
1681
  .n("ElasticLoadBalancingClient", "DisableAvailabilityZonesForLoadBalancerCommand")
3628
- .f(void 0, void 0)
3629
- .ser(se_DisableAvailabilityZonesForLoadBalancerCommand)
3630
- .de(de_DisableAvailabilityZonesForLoadBalancerCommand)
1682
+ .sc(DisableAvailabilityZonesForLoadBalancer)
3631
1683
  .build() {
3632
1684
  }
3633
1685
 
@@ -3635,16 +1687,11 @@ class EnableAvailabilityZonesForLoadBalancerCommand extends smithyClient.Command
3635
1687
  .classBuilder()
3636
1688
  .ep(commonParams)
3637
1689
  .m(function (Command, cs, config, o) {
3638
- return [
3639
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3640
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3641
- ];
1690
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3642
1691
  })
3643
1692
  .s("ElasticLoadBalancing_v7", "EnableAvailabilityZonesForLoadBalancer", {})
3644
1693
  .n("ElasticLoadBalancingClient", "EnableAvailabilityZonesForLoadBalancerCommand")
3645
- .f(void 0, void 0)
3646
- .ser(se_EnableAvailabilityZonesForLoadBalancerCommand)
3647
- .de(de_EnableAvailabilityZonesForLoadBalancerCommand)
1694
+ .sc(EnableAvailabilityZonesForLoadBalancer)
3648
1695
  .build() {
3649
1696
  }
3650
1697
 
@@ -3652,16 +1699,11 @@ class ModifyLoadBalancerAttributesCommand extends smithyClient.Command
3652
1699
  .classBuilder()
3653
1700
  .ep(commonParams)
3654
1701
  .m(function (Command, cs, config, o) {
3655
- return [
3656
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3657
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3658
- ];
1702
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3659
1703
  })
3660
1704
  .s("ElasticLoadBalancing_v7", "ModifyLoadBalancerAttributes", {})
3661
1705
  .n("ElasticLoadBalancingClient", "ModifyLoadBalancerAttributesCommand")
3662
- .f(void 0, void 0)
3663
- .ser(se_ModifyLoadBalancerAttributesCommand)
3664
- .de(de_ModifyLoadBalancerAttributesCommand)
1706
+ .sc(ModifyLoadBalancerAttributes)
3665
1707
  .build() {
3666
1708
  }
3667
1709
 
@@ -3669,16 +1711,11 @@ class RegisterInstancesWithLoadBalancerCommand extends smithyClient.Command
3669
1711
  .classBuilder()
3670
1712
  .ep(commonParams)
3671
1713
  .m(function (Command, cs, config, o) {
3672
- return [
3673
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3674
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3675
- ];
1714
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3676
1715
  })
3677
1716
  .s("ElasticLoadBalancing_v7", "RegisterInstancesWithLoadBalancer", {})
3678
1717
  .n("ElasticLoadBalancingClient", "RegisterInstancesWithLoadBalancerCommand")
3679
- .f(void 0, void 0)
3680
- .ser(se_RegisterInstancesWithLoadBalancerCommand)
3681
- .de(de_RegisterInstancesWithLoadBalancerCommand)
1718
+ .sc(RegisterInstancesWithLoadBalancer)
3682
1719
  .build() {
3683
1720
  }
3684
1721
 
@@ -3686,16 +1723,11 @@ class RemoveTagsCommand extends smithyClient.Command
3686
1723
  .classBuilder()
3687
1724
  .ep(commonParams)
3688
1725
  .m(function (Command, cs, config, o) {
3689
- return [
3690
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3691
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3692
- ];
1726
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3693
1727
  })
3694
1728
  .s("ElasticLoadBalancing_v7", "RemoveTags", {})
3695
1729
  .n("ElasticLoadBalancingClient", "RemoveTagsCommand")
3696
- .f(void 0, void 0)
3697
- .ser(se_RemoveTagsCommand)
3698
- .de(de_RemoveTagsCommand)
1730
+ .sc(RemoveTags)
3699
1731
  .build() {
3700
1732
  }
3701
1733
 
@@ -3703,16 +1735,11 @@ class SetLoadBalancerListenerSSLCertificateCommand extends smithyClient.Command
3703
1735
  .classBuilder()
3704
1736
  .ep(commonParams)
3705
1737
  .m(function (Command, cs, config, o) {
3706
- return [
3707
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3708
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3709
- ];
1738
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3710
1739
  })
3711
1740
  .s("ElasticLoadBalancing_v7", "SetLoadBalancerListenerSSLCertificate", {})
3712
1741
  .n("ElasticLoadBalancingClient", "SetLoadBalancerListenerSSLCertificateCommand")
3713
- .f(void 0, void 0)
3714
- .ser(se_SetLoadBalancerListenerSSLCertificateCommand)
3715
- .de(de_SetLoadBalancerListenerSSLCertificateCommand)
1742
+ .sc(SetLoadBalancerListenerSSLCertificate)
3716
1743
  .build() {
3717
1744
  }
3718
1745
 
@@ -3720,16 +1747,11 @@ class SetLoadBalancerPoliciesForBackendServerCommand extends smithyClient.Comman
3720
1747
  .classBuilder()
3721
1748
  .ep(commonParams)
3722
1749
  .m(function (Command, cs, config, o) {
3723
- return [
3724
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3725
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3726
- ];
1750
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3727
1751
  })
3728
1752
  .s("ElasticLoadBalancing_v7", "SetLoadBalancerPoliciesForBackendServer", {})
3729
1753
  .n("ElasticLoadBalancingClient", "SetLoadBalancerPoliciesForBackendServerCommand")
3730
- .f(void 0, void 0)
3731
- .ser(se_SetLoadBalancerPoliciesForBackendServerCommand)
3732
- .de(de_SetLoadBalancerPoliciesForBackendServerCommand)
1754
+ .sc(SetLoadBalancerPoliciesForBackendServer)
3733
1755
  .build() {
3734
1756
  }
3735
1757
 
@@ -3737,16 +1759,11 @@ class SetLoadBalancerPoliciesOfListenerCommand extends smithyClient.Command
3737
1759
  .classBuilder()
3738
1760
  .ep(commonParams)
3739
1761
  .m(function (Command, cs, config, o) {
3740
- return [
3741
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3742
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3743
- ];
1762
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3744
1763
  })
3745
1764
  .s("ElasticLoadBalancing_v7", "SetLoadBalancerPoliciesOfListener", {})
3746
1765
  .n("ElasticLoadBalancingClient", "SetLoadBalancerPoliciesOfListenerCommand")
3747
- .f(void 0, void 0)
3748
- .ser(se_SetLoadBalancerPoliciesOfListenerCommand)
3749
- .de(de_SetLoadBalancerPoliciesOfListenerCommand)
1766
+ .sc(SetLoadBalancerPoliciesOfListener)
3750
1767
  .build() {
3751
1768
  }
3752
1769
 
@@ -3913,11 +1930,11 @@ Object.defineProperty(exports, "__Client", {
3913
1930
  enumerable: true,
3914
1931
  get: function () { return smithyClient.Client; }
3915
1932
  });
3916
- exports.AccessPointNotFoundException = AccessPointNotFoundException;
1933
+ exports.AccessPointNotFoundException = AccessPointNotFoundException$1;
3917
1934
  exports.AddTagsCommand = AddTagsCommand;
3918
1935
  exports.ApplySecurityGroupsToLoadBalancerCommand = ApplySecurityGroupsToLoadBalancerCommand;
3919
1936
  exports.AttachLoadBalancerToSubnetsCommand = AttachLoadBalancerToSubnetsCommand;
3920
- exports.CertificateNotFoundException = CertificateNotFoundException;
1937
+ exports.CertificateNotFoundException = CertificateNotFoundException$1;
3921
1938
  exports.ConfigureHealthCheckCommand = ConfigureHealthCheckCommand;
3922
1939
  exports.CreateAppCookieStickinessPolicyCommand = CreateAppCookieStickinessPolicyCommand;
3923
1940
  exports.CreateLBCookieStickinessPolicyCommand = CreateLBCookieStickinessPolicyCommand;
@@ -3927,7 +1944,7 @@ exports.CreateLoadBalancerPolicyCommand = CreateLoadBalancerPolicyCommand;
3927
1944
  exports.DeleteLoadBalancerCommand = DeleteLoadBalancerCommand;
3928
1945
  exports.DeleteLoadBalancerListenersCommand = DeleteLoadBalancerListenersCommand;
3929
1946
  exports.DeleteLoadBalancerPolicyCommand = DeleteLoadBalancerPolicyCommand;
3930
- exports.DependencyThrottleException = DependencyThrottleException;
1947
+ exports.DependencyThrottleException = DependencyThrottleException$1;
3931
1948
  exports.DeregisterInstancesFromLoadBalancerCommand = DeregisterInstancesFromLoadBalancerCommand;
3932
1949
  exports.DescribeAccountLimitsCommand = DescribeAccountLimitsCommand;
3933
1950
  exports.DescribeInstanceHealthCommand = DescribeInstanceHealthCommand;
@@ -3938,35 +1955,35 @@ exports.DescribeLoadBalancersCommand = DescribeLoadBalancersCommand;
3938
1955
  exports.DescribeTagsCommand = DescribeTagsCommand;
3939
1956
  exports.DetachLoadBalancerFromSubnetsCommand = DetachLoadBalancerFromSubnetsCommand;
3940
1957
  exports.DisableAvailabilityZonesForLoadBalancerCommand = DisableAvailabilityZonesForLoadBalancerCommand;
3941
- exports.DuplicateAccessPointNameException = DuplicateAccessPointNameException;
3942
- exports.DuplicateListenerException = DuplicateListenerException;
3943
- exports.DuplicatePolicyNameException = DuplicatePolicyNameException;
3944
- exports.DuplicateTagKeysException = DuplicateTagKeysException;
1958
+ exports.DuplicateAccessPointNameException = DuplicateAccessPointNameException$1;
1959
+ exports.DuplicateListenerException = DuplicateListenerException$1;
1960
+ exports.DuplicatePolicyNameException = DuplicatePolicyNameException$1;
1961
+ exports.DuplicateTagKeysException = DuplicateTagKeysException$1;
3945
1962
  exports.ElasticLoadBalancing = ElasticLoadBalancing;
3946
1963
  exports.ElasticLoadBalancingClient = ElasticLoadBalancingClient;
3947
- exports.ElasticLoadBalancingServiceException = ElasticLoadBalancingServiceException;
1964
+ exports.ElasticLoadBalancingServiceException = ElasticLoadBalancingServiceException$1;
3948
1965
  exports.EnableAvailabilityZonesForLoadBalancerCommand = EnableAvailabilityZonesForLoadBalancerCommand;
3949
- exports.InvalidConfigurationRequestException = InvalidConfigurationRequestException;
3950
- exports.InvalidEndPointException = InvalidEndPointException;
3951
- exports.InvalidSchemeException = InvalidSchemeException;
3952
- exports.InvalidSecurityGroupException = InvalidSecurityGroupException;
3953
- exports.InvalidSubnetException = InvalidSubnetException;
3954
- exports.ListenerNotFoundException = ListenerNotFoundException;
3955
- exports.LoadBalancerAttributeNotFoundException = LoadBalancerAttributeNotFoundException;
1966
+ exports.InvalidConfigurationRequestException = InvalidConfigurationRequestException$1;
1967
+ exports.InvalidEndPointException = InvalidEndPointException$1;
1968
+ exports.InvalidSchemeException = InvalidSchemeException$1;
1969
+ exports.InvalidSecurityGroupException = InvalidSecurityGroupException$1;
1970
+ exports.InvalidSubnetException = InvalidSubnetException$1;
1971
+ exports.ListenerNotFoundException = ListenerNotFoundException$1;
1972
+ exports.LoadBalancerAttributeNotFoundException = LoadBalancerAttributeNotFoundException$1;
3956
1973
  exports.ModifyLoadBalancerAttributesCommand = ModifyLoadBalancerAttributesCommand;
3957
- exports.OperationNotPermittedException = OperationNotPermittedException;
3958
- exports.PolicyNotFoundException = PolicyNotFoundException;
3959
- exports.PolicyTypeNotFoundException = PolicyTypeNotFoundException;
1974
+ exports.OperationNotPermittedException = OperationNotPermittedException$1;
1975
+ exports.PolicyNotFoundException = PolicyNotFoundException$1;
1976
+ exports.PolicyTypeNotFoundException = PolicyTypeNotFoundException$1;
3960
1977
  exports.RegisterInstancesWithLoadBalancerCommand = RegisterInstancesWithLoadBalancerCommand;
3961
1978
  exports.RemoveTagsCommand = RemoveTagsCommand;
3962
1979
  exports.SetLoadBalancerListenerSSLCertificateCommand = SetLoadBalancerListenerSSLCertificateCommand;
3963
1980
  exports.SetLoadBalancerPoliciesForBackendServerCommand = SetLoadBalancerPoliciesForBackendServerCommand;
3964
1981
  exports.SetLoadBalancerPoliciesOfListenerCommand = SetLoadBalancerPoliciesOfListenerCommand;
3965
- exports.SubnetNotFoundException = SubnetNotFoundException;
3966
- exports.TooManyAccessPointsException = TooManyAccessPointsException;
3967
- exports.TooManyPoliciesException = TooManyPoliciesException;
3968
- exports.TooManyTagsException = TooManyTagsException;
3969
- exports.UnsupportedProtocolException = UnsupportedProtocolException;
1982
+ exports.SubnetNotFoundException = SubnetNotFoundException$1;
1983
+ exports.TooManyAccessPointsException = TooManyAccessPointsException$1;
1984
+ exports.TooManyPoliciesException = TooManyPoliciesException$1;
1985
+ exports.TooManyTagsException = TooManyTagsException$1;
1986
+ exports.UnsupportedProtocolException = UnsupportedProtocolException$1;
3970
1987
  exports.paginateDescribeLoadBalancers = paginateDescribeLoadBalancers;
3971
1988
  exports.waitForAnyInstanceInService = waitForAnyInstanceInService;
3972
1989
  exports.waitForInstanceDeregistered = waitForInstanceDeregistered;