@aws-sdk/client-elastic-load-balancing 3.490.0 → 3.495.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 (48) hide show
  1. package/dist-cjs/ElasticLoadBalancing.js +1 -69
  2. package/dist-cjs/ElasticLoadBalancingClient.js +1 -43
  3. package/dist-cjs/commands/AddTagsCommand.js +1 -28
  4. package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +1 -28
  5. package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js +1 -28
  6. package/dist-cjs/commands/ConfigureHealthCheckCommand.js +1 -28
  7. package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +1 -28
  8. package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +1 -28
  9. package/dist-cjs/commands/CreateLoadBalancerCommand.js +1 -28
  10. package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js +1 -28
  11. package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteLoadBalancerCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js +1 -28
  15. package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeInstanceHealthCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeTagsCommand.js +1 -28
  23. package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +1 -28
  24. package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +1 -28
  25. package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +1 -28
  26. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +1 -28
  27. package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +1 -28
  28. package/dist-cjs/commands/RemoveTagsCommand.js +1 -28
  29. package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +1 -28
  30. package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +1 -28
  31. package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +1 -28
  32. package/dist-cjs/commands/index.js +1 -32
  33. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  34. package/dist-cjs/extensionConfiguration.js +1 -2
  35. package/dist-cjs/index.js +4754 -12
  36. package/dist-cjs/models/ElasticLoadBalancingServiceException.js +1 -12
  37. package/dist-cjs/models/index.js +1 -4
  38. package/dist-cjs/models/models_0.js +1 -312
  39. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +1 -7
  40. package/dist-cjs/pagination/Interfaces.js +1 -2
  41. package/dist-cjs/pagination/index.js +1 -5
  42. package/dist-cjs/protocols/Aws_query.js +1 -3545
  43. package/dist-cjs/runtimeExtensions.js +1 -22
  44. package/dist-cjs/waiters/index.js +1 -6
  45. package/dist-cjs/waiters/waitForAnyInstanceInService.js +1 -42
  46. package/dist-cjs/waiters/waitForInstanceDeregistered.js +1 -47
  47. package/dist-cjs/waiters/waitForInstanceInService.js +1 -47
  48. package/package.json +41 -41
package/dist-cjs/index.js CHANGED
@@ -1,13 +1,4755 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ElasticLoadBalancingServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./ElasticLoadBalancingClient"), exports);
6
- tslib_1.__exportStar(require("./ElasticLoadBalancing"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./waiters"), exports);
10
- tslib_1.__exportStar(require("./models"), exports);
11
- require("@aws-sdk/util-endpoints");
12
- var ElasticLoadBalancingServiceException_1 = require("./models/ElasticLoadBalancingServiceException");
13
- Object.defineProperty(exports, "ElasticLoadBalancingServiceException", { enumerable: true, get: function () { return ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccessPointNotFoundException: () => AccessPointNotFoundException,
25
+ AddTagsCommand: () => AddTagsCommand,
26
+ ApplySecurityGroupsToLoadBalancerCommand: () => ApplySecurityGroupsToLoadBalancerCommand,
27
+ AttachLoadBalancerToSubnetsCommand: () => AttachLoadBalancerToSubnetsCommand,
28
+ CertificateNotFoundException: () => CertificateNotFoundException,
29
+ ConfigureHealthCheckCommand: () => ConfigureHealthCheckCommand,
30
+ CreateAppCookieStickinessPolicyCommand: () => CreateAppCookieStickinessPolicyCommand,
31
+ CreateLBCookieStickinessPolicyCommand: () => CreateLBCookieStickinessPolicyCommand,
32
+ CreateLoadBalancerCommand: () => CreateLoadBalancerCommand,
33
+ CreateLoadBalancerListenersCommand: () => CreateLoadBalancerListenersCommand,
34
+ CreateLoadBalancerPolicyCommand: () => CreateLoadBalancerPolicyCommand,
35
+ DeleteLoadBalancerCommand: () => DeleteLoadBalancerCommand,
36
+ DeleteLoadBalancerListenersCommand: () => DeleteLoadBalancerListenersCommand,
37
+ DeleteLoadBalancerPolicyCommand: () => DeleteLoadBalancerPolicyCommand,
38
+ DependencyThrottleException: () => DependencyThrottleException,
39
+ DeregisterInstancesFromLoadBalancerCommand: () => DeregisterInstancesFromLoadBalancerCommand,
40
+ DescribeAccountLimitsCommand: () => DescribeAccountLimitsCommand,
41
+ DescribeInstanceHealthCommand: () => DescribeInstanceHealthCommand,
42
+ DescribeLoadBalancerAttributesCommand: () => DescribeLoadBalancerAttributesCommand,
43
+ DescribeLoadBalancerPoliciesCommand: () => DescribeLoadBalancerPoliciesCommand,
44
+ DescribeLoadBalancerPolicyTypesCommand: () => DescribeLoadBalancerPolicyTypesCommand,
45
+ DescribeLoadBalancersCommand: () => DescribeLoadBalancersCommand,
46
+ DescribeTagsCommand: () => DescribeTagsCommand,
47
+ DetachLoadBalancerFromSubnetsCommand: () => DetachLoadBalancerFromSubnetsCommand,
48
+ DisableAvailabilityZonesForLoadBalancerCommand: () => DisableAvailabilityZonesForLoadBalancerCommand,
49
+ DuplicateAccessPointNameException: () => DuplicateAccessPointNameException,
50
+ DuplicateListenerException: () => DuplicateListenerException,
51
+ DuplicatePolicyNameException: () => DuplicatePolicyNameException,
52
+ DuplicateTagKeysException: () => DuplicateTagKeysException,
53
+ ElasticLoadBalancing: () => ElasticLoadBalancing,
54
+ ElasticLoadBalancingClient: () => ElasticLoadBalancingClient,
55
+ ElasticLoadBalancingServiceException: () => ElasticLoadBalancingServiceException,
56
+ EnableAvailabilityZonesForLoadBalancerCommand: () => EnableAvailabilityZonesForLoadBalancerCommand,
57
+ InvalidConfigurationRequestException: () => InvalidConfigurationRequestException,
58
+ InvalidEndPointException: () => InvalidEndPointException,
59
+ InvalidSchemeException: () => InvalidSchemeException,
60
+ InvalidSecurityGroupException: () => InvalidSecurityGroupException,
61
+ InvalidSubnetException: () => InvalidSubnetException,
62
+ ListenerNotFoundException: () => ListenerNotFoundException,
63
+ LoadBalancerAttributeNotFoundException: () => LoadBalancerAttributeNotFoundException,
64
+ ModifyLoadBalancerAttributesCommand: () => ModifyLoadBalancerAttributesCommand,
65
+ OperationNotPermittedException: () => OperationNotPermittedException,
66
+ PolicyNotFoundException: () => PolicyNotFoundException,
67
+ PolicyTypeNotFoundException: () => PolicyTypeNotFoundException,
68
+ RegisterInstancesWithLoadBalancerCommand: () => RegisterInstancesWithLoadBalancerCommand,
69
+ RemoveTagsCommand: () => RemoveTagsCommand,
70
+ SetLoadBalancerListenerSSLCertificateCommand: () => SetLoadBalancerListenerSSLCertificateCommand,
71
+ SetLoadBalancerPoliciesForBackendServerCommand: () => SetLoadBalancerPoliciesForBackendServerCommand,
72
+ SetLoadBalancerPoliciesOfListenerCommand: () => SetLoadBalancerPoliciesOfListenerCommand,
73
+ SubnetNotFoundException: () => SubnetNotFoundException,
74
+ TooManyAccessPointsException: () => TooManyAccessPointsException,
75
+ TooManyPoliciesException: () => TooManyPoliciesException,
76
+ TooManyTagsException: () => TooManyTagsException,
77
+ UnsupportedProtocolException: () => UnsupportedProtocolException,
78
+ __Client: () => import_smithy_client.Client,
79
+ paginateDescribeLoadBalancers: () => paginateDescribeLoadBalancers,
80
+ waitForAnyInstanceInService: () => waitForAnyInstanceInService,
81
+ waitForInstanceDeregistered: () => waitForInstanceDeregistered,
82
+ waitForInstanceInService: () => waitForInstanceInService,
83
+ waitUntilAnyInstanceInService: () => waitUntilAnyInstanceInService,
84
+ waitUntilInstanceDeregistered: () => waitUntilInstanceDeregistered,
85
+ waitUntilInstanceInService: () => waitUntilInstanceInService
86
+ });
87
+ module.exports = __toCommonJS(src_exports);
88
+
89
+ // src/ElasticLoadBalancingClient.ts
90
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
91
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
92
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
93
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
94
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
95
+ var import_config_resolver = require("@smithy/config-resolver");
96
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
97
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
98
+ var import_middleware_retry = require("@smithy/middleware-retry");
99
+
100
+
101
+ // src/endpoint/EndpointParameters.ts
102
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
103
+ return {
104
+ ...options,
105
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
106
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
107
+ defaultSigningName: "elasticloadbalancing"
108
+ };
109
+ }, "resolveClientEndpointParameters");
110
+ var commonParams = {
111
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
112
+ Endpoint: { type: "builtInParams", name: "endpoint" },
113
+ Region: { type: "builtInParams", name: "region" },
114
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
115
+ };
116
+
117
+ // src/ElasticLoadBalancingClient.ts
118
+ var import_runtimeConfig = require("././runtimeConfig");
119
+
120
+ // src/runtimeExtensions.ts
121
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
122
+ var import_protocol_http = require("@smithy/protocol-http");
123
+ var import_smithy_client = require("@smithy/smithy-client");
124
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
125
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
126
+ const extensionConfiguration = {
127
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
128
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
129
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
130
+ };
131
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
132
+ return {
133
+ ...runtimeConfig,
134
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
135
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
136
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
137
+ };
138
+ }, "resolveRuntimeExtensions");
139
+
140
+ // src/ElasticLoadBalancingClient.ts
141
+ var _ElasticLoadBalancingClient = class _ElasticLoadBalancingClient extends import_smithy_client.Client {
142
+ constructor(...[configuration]) {
143
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
144
+ const _config_1 = resolveClientEndpointParameters(_config_0);
145
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
146
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
147
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
148
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
149
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
150
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
151
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
152
+ super(_config_8);
153
+ this.config = _config_8;
154
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
155
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
156
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
157
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
158
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
159
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
160
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
161
+ }
162
+ /**
163
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
164
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
165
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
166
+ */
167
+ destroy() {
168
+ super.destroy();
169
+ }
170
+ };
171
+ __name(_ElasticLoadBalancingClient, "ElasticLoadBalancingClient");
172
+ var ElasticLoadBalancingClient = _ElasticLoadBalancingClient;
173
+
174
+ // src/ElasticLoadBalancing.ts
175
+
176
+
177
+ // src/commands/AddTagsCommand.ts
178
+
179
+ var import_middleware_serde = require("@smithy/middleware-serde");
180
+
181
+ var import_types = require("@smithy/types");
182
+
183
+ // src/protocols/Aws_query.ts
184
+
185
+
186
+ var import_fast_xml_parser = require("fast-xml-parser");
187
+
188
+ // src/models/ElasticLoadBalancingServiceException.ts
189
+
190
+ var _ElasticLoadBalancingServiceException = class _ElasticLoadBalancingServiceException extends import_smithy_client.ServiceException {
191
+ /**
192
+ * @internal
193
+ */
194
+ constructor(options) {
195
+ super(options);
196
+ Object.setPrototypeOf(this, _ElasticLoadBalancingServiceException.prototype);
197
+ }
198
+ };
199
+ __name(_ElasticLoadBalancingServiceException, "ElasticLoadBalancingServiceException");
200
+ var ElasticLoadBalancingServiceException = _ElasticLoadBalancingServiceException;
201
+
202
+ // src/models/models_0.ts
203
+ var _AccessPointNotFoundException = class _AccessPointNotFoundException extends ElasticLoadBalancingServiceException {
204
+ /**
205
+ * @internal
206
+ */
207
+ constructor(opts) {
208
+ super({
209
+ name: "AccessPointNotFoundException",
210
+ $fault: "client",
211
+ ...opts
212
+ });
213
+ this.name = "AccessPointNotFoundException";
214
+ this.$fault = "client";
215
+ Object.setPrototypeOf(this, _AccessPointNotFoundException.prototype);
216
+ this.Message = opts.Message;
217
+ }
218
+ };
219
+ __name(_AccessPointNotFoundException, "AccessPointNotFoundException");
220
+ var AccessPointNotFoundException = _AccessPointNotFoundException;
221
+ var _DuplicateTagKeysException = class _DuplicateTagKeysException extends ElasticLoadBalancingServiceException {
222
+ /**
223
+ * @internal
224
+ */
225
+ constructor(opts) {
226
+ super({
227
+ name: "DuplicateTagKeysException",
228
+ $fault: "client",
229
+ ...opts
230
+ });
231
+ this.name = "DuplicateTagKeysException";
232
+ this.$fault = "client";
233
+ Object.setPrototypeOf(this, _DuplicateTagKeysException.prototype);
234
+ this.Message = opts.Message;
235
+ }
236
+ };
237
+ __name(_DuplicateTagKeysException, "DuplicateTagKeysException");
238
+ var DuplicateTagKeysException = _DuplicateTagKeysException;
239
+ var _TooManyTagsException = class _TooManyTagsException extends ElasticLoadBalancingServiceException {
240
+ /**
241
+ * @internal
242
+ */
243
+ constructor(opts) {
244
+ super({
245
+ name: "TooManyTagsException",
246
+ $fault: "client",
247
+ ...opts
248
+ });
249
+ this.name = "TooManyTagsException";
250
+ this.$fault = "client";
251
+ Object.setPrototypeOf(this, _TooManyTagsException.prototype);
252
+ this.Message = opts.Message;
253
+ }
254
+ };
255
+ __name(_TooManyTagsException, "TooManyTagsException");
256
+ var TooManyTagsException = _TooManyTagsException;
257
+ var _InvalidConfigurationRequestException = class _InvalidConfigurationRequestException extends ElasticLoadBalancingServiceException {
258
+ /**
259
+ * @internal
260
+ */
261
+ constructor(opts) {
262
+ super({
263
+ name: "InvalidConfigurationRequestException",
264
+ $fault: "client",
265
+ ...opts
266
+ });
267
+ this.name = "InvalidConfigurationRequestException";
268
+ this.$fault = "client";
269
+ Object.setPrototypeOf(this, _InvalidConfigurationRequestException.prototype);
270
+ this.Message = opts.Message;
271
+ }
272
+ };
273
+ __name(_InvalidConfigurationRequestException, "InvalidConfigurationRequestException");
274
+ var InvalidConfigurationRequestException = _InvalidConfigurationRequestException;
275
+ var _InvalidSecurityGroupException = class _InvalidSecurityGroupException extends ElasticLoadBalancingServiceException {
276
+ /**
277
+ * @internal
278
+ */
279
+ constructor(opts) {
280
+ super({
281
+ name: "InvalidSecurityGroupException",
282
+ $fault: "client",
283
+ ...opts
284
+ });
285
+ this.name = "InvalidSecurityGroupException";
286
+ this.$fault = "client";
287
+ Object.setPrototypeOf(this, _InvalidSecurityGroupException.prototype);
288
+ this.Message = opts.Message;
289
+ }
290
+ };
291
+ __name(_InvalidSecurityGroupException, "InvalidSecurityGroupException");
292
+ var InvalidSecurityGroupException = _InvalidSecurityGroupException;
293
+ var _InvalidSubnetException = class _InvalidSubnetException extends ElasticLoadBalancingServiceException {
294
+ /**
295
+ * @internal
296
+ */
297
+ constructor(opts) {
298
+ super({
299
+ name: "InvalidSubnetException",
300
+ $fault: "client",
301
+ ...opts
302
+ });
303
+ this.name = "InvalidSubnetException";
304
+ this.$fault = "client";
305
+ Object.setPrototypeOf(this, _InvalidSubnetException.prototype);
306
+ this.Message = opts.Message;
307
+ }
308
+ };
309
+ __name(_InvalidSubnetException, "InvalidSubnetException");
310
+ var InvalidSubnetException = _InvalidSubnetException;
311
+ var _SubnetNotFoundException = class _SubnetNotFoundException extends ElasticLoadBalancingServiceException {
312
+ /**
313
+ * @internal
314
+ */
315
+ constructor(opts) {
316
+ super({
317
+ name: "SubnetNotFoundException",
318
+ $fault: "client",
319
+ ...opts
320
+ });
321
+ this.name = "SubnetNotFoundException";
322
+ this.$fault = "client";
323
+ Object.setPrototypeOf(this, _SubnetNotFoundException.prototype);
324
+ this.Message = opts.Message;
325
+ }
326
+ };
327
+ __name(_SubnetNotFoundException, "SubnetNotFoundException");
328
+ var SubnetNotFoundException = _SubnetNotFoundException;
329
+ var _CertificateNotFoundException = class _CertificateNotFoundException extends ElasticLoadBalancingServiceException {
330
+ /**
331
+ * @internal
332
+ */
333
+ constructor(opts) {
334
+ super({
335
+ name: "CertificateNotFoundException",
336
+ $fault: "client",
337
+ ...opts
338
+ });
339
+ this.name = "CertificateNotFoundException";
340
+ this.$fault = "client";
341
+ Object.setPrototypeOf(this, _CertificateNotFoundException.prototype);
342
+ this.Message = opts.Message;
343
+ }
344
+ };
345
+ __name(_CertificateNotFoundException, "CertificateNotFoundException");
346
+ var CertificateNotFoundException = _CertificateNotFoundException;
347
+ var _DuplicatePolicyNameException = class _DuplicatePolicyNameException extends ElasticLoadBalancingServiceException {
348
+ /**
349
+ * @internal
350
+ */
351
+ constructor(opts) {
352
+ super({
353
+ name: "DuplicatePolicyNameException",
354
+ $fault: "client",
355
+ ...opts
356
+ });
357
+ this.name = "DuplicatePolicyNameException";
358
+ this.$fault = "client";
359
+ Object.setPrototypeOf(this, _DuplicatePolicyNameException.prototype);
360
+ this.Message = opts.Message;
361
+ }
362
+ };
363
+ __name(_DuplicatePolicyNameException, "DuplicatePolicyNameException");
364
+ var DuplicatePolicyNameException = _DuplicatePolicyNameException;
365
+ var _TooManyPoliciesException = class _TooManyPoliciesException extends ElasticLoadBalancingServiceException {
366
+ /**
367
+ * @internal
368
+ */
369
+ constructor(opts) {
370
+ super({
371
+ name: "TooManyPoliciesException",
372
+ $fault: "client",
373
+ ...opts
374
+ });
375
+ this.name = "TooManyPoliciesException";
376
+ this.$fault = "client";
377
+ Object.setPrototypeOf(this, _TooManyPoliciesException.prototype);
378
+ this.Message = opts.Message;
379
+ }
380
+ };
381
+ __name(_TooManyPoliciesException, "TooManyPoliciesException");
382
+ var TooManyPoliciesException = _TooManyPoliciesException;
383
+ var _DuplicateAccessPointNameException = class _DuplicateAccessPointNameException extends ElasticLoadBalancingServiceException {
384
+ /**
385
+ * @internal
386
+ */
387
+ constructor(opts) {
388
+ super({
389
+ name: "DuplicateAccessPointNameException",
390
+ $fault: "client",
391
+ ...opts
392
+ });
393
+ this.name = "DuplicateAccessPointNameException";
394
+ this.$fault = "client";
395
+ Object.setPrototypeOf(this, _DuplicateAccessPointNameException.prototype);
396
+ this.Message = opts.Message;
397
+ }
398
+ };
399
+ __name(_DuplicateAccessPointNameException, "DuplicateAccessPointNameException");
400
+ var DuplicateAccessPointNameException = _DuplicateAccessPointNameException;
401
+ var _InvalidSchemeException = class _InvalidSchemeException extends ElasticLoadBalancingServiceException {
402
+ /**
403
+ * @internal
404
+ */
405
+ constructor(opts) {
406
+ super({
407
+ name: "InvalidSchemeException",
408
+ $fault: "client",
409
+ ...opts
410
+ });
411
+ this.name = "InvalidSchemeException";
412
+ this.$fault = "client";
413
+ Object.setPrototypeOf(this, _InvalidSchemeException.prototype);
414
+ this.Message = opts.Message;
415
+ }
416
+ };
417
+ __name(_InvalidSchemeException, "InvalidSchemeException");
418
+ var InvalidSchemeException = _InvalidSchemeException;
419
+ var _OperationNotPermittedException = class _OperationNotPermittedException extends ElasticLoadBalancingServiceException {
420
+ /**
421
+ * @internal
422
+ */
423
+ constructor(opts) {
424
+ super({
425
+ name: "OperationNotPermittedException",
426
+ $fault: "client",
427
+ ...opts
428
+ });
429
+ this.name = "OperationNotPermittedException";
430
+ this.$fault = "client";
431
+ Object.setPrototypeOf(this, _OperationNotPermittedException.prototype);
432
+ this.Message = opts.Message;
433
+ }
434
+ };
435
+ __name(_OperationNotPermittedException, "OperationNotPermittedException");
436
+ var OperationNotPermittedException = _OperationNotPermittedException;
437
+ var _TooManyAccessPointsException = class _TooManyAccessPointsException extends ElasticLoadBalancingServiceException {
438
+ /**
439
+ * @internal
440
+ */
441
+ constructor(opts) {
442
+ super({
443
+ name: "TooManyAccessPointsException",
444
+ $fault: "client",
445
+ ...opts
446
+ });
447
+ this.name = "TooManyAccessPointsException";
448
+ this.$fault = "client";
449
+ Object.setPrototypeOf(this, _TooManyAccessPointsException.prototype);
450
+ this.Message = opts.Message;
451
+ }
452
+ };
453
+ __name(_TooManyAccessPointsException, "TooManyAccessPointsException");
454
+ var TooManyAccessPointsException = _TooManyAccessPointsException;
455
+ var _UnsupportedProtocolException = class _UnsupportedProtocolException extends ElasticLoadBalancingServiceException {
456
+ /**
457
+ * @internal
458
+ */
459
+ constructor(opts) {
460
+ super({
461
+ name: "UnsupportedProtocolException",
462
+ $fault: "client",
463
+ ...opts
464
+ });
465
+ this.name = "UnsupportedProtocolException";
466
+ this.$fault = "client";
467
+ Object.setPrototypeOf(this, _UnsupportedProtocolException.prototype);
468
+ this.Message = opts.Message;
469
+ }
470
+ };
471
+ __name(_UnsupportedProtocolException, "UnsupportedProtocolException");
472
+ var UnsupportedProtocolException = _UnsupportedProtocolException;
473
+ var _DuplicateListenerException = class _DuplicateListenerException extends ElasticLoadBalancingServiceException {
474
+ /**
475
+ * @internal
476
+ */
477
+ constructor(opts) {
478
+ super({
479
+ name: "DuplicateListenerException",
480
+ $fault: "client",
481
+ ...opts
482
+ });
483
+ this.name = "DuplicateListenerException";
484
+ this.$fault = "client";
485
+ Object.setPrototypeOf(this, _DuplicateListenerException.prototype);
486
+ this.Message = opts.Message;
487
+ }
488
+ };
489
+ __name(_DuplicateListenerException, "DuplicateListenerException");
490
+ var DuplicateListenerException = _DuplicateListenerException;
491
+ var _PolicyTypeNotFoundException = class _PolicyTypeNotFoundException extends ElasticLoadBalancingServiceException {
492
+ /**
493
+ * @internal
494
+ */
495
+ constructor(opts) {
496
+ super({
497
+ name: "PolicyTypeNotFoundException",
498
+ $fault: "client",
499
+ ...opts
500
+ });
501
+ this.name = "PolicyTypeNotFoundException";
502
+ this.$fault = "client";
503
+ Object.setPrototypeOf(this, _PolicyTypeNotFoundException.prototype);
504
+ this.Message = opts.Message;
505
+ }
506
+ };
507
+ __name(_PolicyTypeNotFoundException, "PolicyTypeNotFoundException");
508
+ var PolicyTypeNotFoundException = _PolicyTypeNotFoundException;
509
+ var _DependencyThrottleException = class _DependencyThrottleException extends ElasticLoadBalancingServiceException {
510
+ /**
511
+ * @internal
512
+ */
513
+ constructor(opts) {
514
+ super({
515
+ name: "DependencyThrottleException",
516
+ $fault: "client",
517
+ ...opts
518
+ });
519
+ this.name = "DependencyThrottleException";
520
+ this.$fault = "client";
521
+ Object.setPrototypeOf(this, _DependencyThrottleException.prototype);
522
+ this.Message = opts.Message;
523
+ }
524
+ };
525
+ __name(_DependencyThrottleException, "DependencyThrottleException");
526
+ var DependencyThrottleException = _DependencyThrottleException;
527
+ var _InvalidEndPointException = class _InvalidEndPointException extends ElasticLoadBalancingServiceException {
528
+ /**
529
+ * @internal
530
+ */
531
+ constructor(opts) {
532
+ super({
533
+ name: "InvalidEndPointException",
534
+ $fault: "client",
535
+ ...opts
536
+ });
537
+ this.name = "InvalidEndPointException";
538
+ this.$fault = "client";
539
+ Object.setPrototypeOf(this, _InvalidEndPointException.prototype);
540
+ this.Message = opts.Message;
541
+ }
542
+ };
543
+ __name(_InvalidEndPointException, "InvalidEndPointException");
544
+ var InvalidEndPointException = _InvalidEndPointException;
545
+ var _LoadBalancerAttributeNotFoundException = class _LoadBalancerAttributeNotFoundException extends ElasticLoadBalancingServiceException {
546
+ /**
547
+ * @internal
548
+ */
549
+ constructor(opts) {
550
+ super({
551
+ name: "LoadBalancerAttributeNotFoundException",
552
+ $fault: "client",
553
+ ...opts
554
+ });
555
+ this.name = "LoadBalancerAttributeNotFoundException";
556
+ this.$fault = "client";
557
+ Object.setPrototypeOf(this, _LoadBalancerAttributeNotFoundException.prototype);
558
+ this.Message = opts.Message;
559
+ }
560
+ };
561
+ __name(_LoadBalancerAttributeNotFoundException, "LoadBalancerAttributeNotFoundException");
562
+ var LoadBalancerAttributeNotFoundException = _LoadBalancerAttributeNotFoundException;
563
+ var _PolicyNotFoundException = class _PolicyNotFoundException extends ElasticLoadBalancingServiceException {
564
+ /**
565
+ * @internal
566
+ */
567
+ constructor(opts) {
568
+ super({
569
+ name: "PolicyNotFoundException",
570
+ $fault: "client",
571
+ ...opts
572
+ });
573
+ this.name = "PolicyNotFoundException";
574
+ this.$fault = "client";
575
+ Object.setPrototypeOf(this, _PolicyNotFoundException.prototype);
576
+ this.Message = opts.Message;
577
+ }
578
+ };
579
+ __name(_PolicyNotFoundException, "PolicyNotFoundException");
580
+ var PolicyNotFoundException = _PolicyNotFoundException;
581
+ var _ListenerNotFoundException = class _ListenerNotFoundException extends ElasticLoadBalancingServiceException {
582
+ /**
583
+ * @internal
584
+ */
585
+ constructor(opts) {
586
+ super({
587
+ name: "ListenerNotFoundException",
588
+ $fault: "client",
589
+ ...opts
590
+ });
591
+ this.name = "ListenerNotFoundException";
592
+ this.$fault = "client";
593
+ Object.setPrototypeOf(this, _ListenerNotFoundException.prototype);
594
+ this.Message = opts.Message;
595
+ }
596
+ };
597
+ __name(_ListenerNotFoundException, "ListenerNotFoundException");
598
+ var ListenerNotFoundException = _ListenerNotFoundException;
599
+
600
+ // src/protocols/Aws_query.ts
601
+ var se_AddTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
602
+ const headers = SHARED_HEADERS;
603
+ let body;
604
+ body = buildFormUrlencodedString({
605
+ ...se_AddTagsInput(input, context),
606
+ [_A]: _AT,
607
+ [_V]: _
608
+ });
609
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
610
+ }, "se_AddTagsCommand");
611
+ var se_ApplySecurityGroupsToLoadBalancerCommand = /* @__PURE__ */ __name(async (input, context) => {
612
+ const headers = SHARED_HEADERS;
613
+ let body;
614
+ body = buildFormUrlencodedString({
615
+ ...se_ApplySecurityGroupsToLoadBalancerInput(input, context),
616
+ [_A]: _ASGTLB,
617
+ [_V]: _
618
+ });
619
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
620
+ }, "se_ApplySecurityGroupsToLoadBalancerCommand");
621
+ var se_AttachLoadBalancerToSubnetsCommand = /* @__PURE__ */ __name(async (input, context) => {
622
+ const headers = SHARED_HEADERS;
623
+ let body;
624
+ body = buildFormUrlencodedString({
625
+ ...se_AttachLoadBalancerToSubnetsInput(input, context),
626
+ [_A]: _ALBTS,
627
+ [_V]: _
628
+ });
629
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
630
+ }, "se_AttachLoadBalancerToSubnetsCommand");
631
+ var se_ConfigureHealthCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
632
+ const headers = SHARED_HEADERS;
633
+ let body;
634
+ body = buildFormUrlencodedString({
635
+ ...se_ConfigureHealthCheckInput(input, context),
636
+ [_A]: _CHC,
637
+ [_V]: _
638
+ });
639
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
640
+ }, "se_ConfigureHealthCheckCommand");
641
+ var se_CreateAppCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
642
+ const headers = SHARED_HEADERS;
643
+ let body;
644
+ body = buildFormUrlencodedString({
645
+ ...se_CreateAppCookieStickinessPolicyInput(input, context),
646
+ [_A]: _CACSP,
647
+ [_V]: _
648
+ });
649
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
650
+ }, "se_CreateAppCookieStickinessPolicyCommand");
651
+ var se_CreateLBCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
652
+ const headers = SHARED_HEADERS;
653
+ let body;
654
+ body = buildFormUrlencodedString({
655
+ ...se_CreateLBCookieStickinessPolicyInput(input, context),
656
+ [_A]: _CLBCSP,
657
+ [_V]: _
658
+ });
659
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
660
+ }, "se_CreateLBCookieStickinessPolicyCommand");
661
+ var se_CreateLoadBalancerCommand = /* @__PURE__ */ __name(async (input, context) => {
662
+ const headers = SHARED_HEADERS;
663
+ let body;
664
+ body = buildFormUrlencodedString({
665
+ ...se_CreateAccessPointInput(input, context),
666
+ [_A]: _CLB,
667
+ [_V]: _
668
+ });
669
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
670
+ }, "se_CreateLoadBalancerCommand");
671
+ var se_CreateLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (input, context) => {
672
+ const headers = SHARED_HEADERS;
673
+ let body;
674
+ body = buildFormUrlencodedString({
675
+ ...se_CreateLoadBalancerListenerInput(input, context),
676
+ [_A]: _CLBL,
677
+ [_V]: _
678
+ });
679
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
680
+ }, "se_CreateLoadBalancerListenersCommand");
681
+ var se_CreateLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
682
+ const headers = SHARED_HEADERS;
683
+ let body;
684
+ body = buildFormUrlencodedString({
685
+ ...se_CreateLoadBalancerPolicyInput(input, context),
686
+ [_A]: _CLBP,
687
+ [_V]: _
688
+ });
689
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
690
+ }, "se_CreateLoadBalancerPolicyCommand");
691
+ var se_DeleteLoadBalancerCommand = /* @__PURE__ */ __name(async (input, context) => {
692
+ const headers = SHARED_HEADERS;
693
+ let body;
694
+ body = buildFormUrlencodedString({
695
+ ...se_DeleteAccessPointInput(input, context),
696
+ [_A]: _DLB,
697
+ [_V]: _
698
+ });
699
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
700
+ }, "se_DeleteLoadBalancerCommand");
701
+ var se_DeleteLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (input, context) => {
702
+ const headers = SHARED_HEADERS;
703
+ let body;
704
+ body = buildFormUrlencodedString({
705
+ ...se_DeleteLoadBalancerListenerInput(input, context),
706
+ [_A]: _DLBL,
707
+ [_V]: _
708
+ });
709
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
710
+ }, "se_DeleteLoadBalancerListenersCommand");
711
+ var se_DeleteLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
712
+ const headers = SHARED_HEADERS;
713
+ let body;
714
+ body = buildFormUrlencodedString({
715
+ ...se_DeleteLoadBalancerPolicyInput(input, context),
716
+ [_A]: _DLBP,
717
+ [_V]: _
718
+ });
719
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
720
+ }, "se_DeleteLoadBalancerPolicyCommand");
721
+ var se_DeregisterInstancesFromLoadBalancerCommand = /* @__PURE__ */ __name(async (input, context) => {
722
+ const headers = SHARED_HEADERS;
723
+ let body;
724
+ body = buildFormUrlencodedString({
725
+ ...se_DeregisterEndPointsInput(input, context),
726
+ [_A]: _DIFLB,
727
+ [_V]: _
728
+ });
729
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
730
+ }, "se_DeregisterInstancesFromLoadBalancerCommand");
731
+ var se_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (input, context) => {
732
+ const headers = SHARED_HEADERS;
733
+ let body;
734
+ body = buildFormUrlencodedString({
735
+ ...se_DescribeAccountLimitsInput(input, context),
736
+ [_A]: _DAL,
737
+ [_V]: _
738
+ });
739
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
740
+ }, "se_DescribeAccountLimitsCommand");
741
+ var se_DescribeInstanceHealthCommand = /* @__PURE__ */ __name(async (input, context) => {
742
+ const headers = SHARED_HEADERS;
743
+ let body;
744
+ body = buildFormUrlencodedString({
745
+ ...se_DescribeEndPointStateInput(input, context),
746
+ [_A]: _DIH,
747
+ [_V]: _
748
+ });
749
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
750
+ }, "se_DescribeInstanceHealthCommand");
751
+ var se_DescribeLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
752
+ const headers = SHARED_HEADERS;
753
+ let body;
754
+ body = buildFormUrlencodedString({
755
+ ...se_DescribeLoadBalancerAttributesInput(input, context),
756
+ [_A]: _DLBA,
757
+ [_V]: _
758
+ });
759
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
760
+ }, "se_DescribeLoadBalancerAttributesCommand");
761
+ var se_DescribeLoadBalancerPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
762
+ const headers = SHARED_HEADERS;
763
+ let body;
764
+ body = buildFormUrlencodedString({
765
+ ...se_DescribeLoadBalancerPoliciesInput(input, context),
766
+ [_A]: _DLBPe,
767
+ [_V]: _
768
+ });
769
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
770
+ }, "se_DescribeLoadBalancerPoliciesCommand");
771
+ var se_DescribeLoadBalancerPolicyTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
772
+ const headers = SHARED_HEADERS;
773
+ let body;
774
+ body = buildFormUrlencodedString({
775
+ ...se_DescribeLoadBalancerPolicyTypesInput(input, context),
776
+ [_A]: _DLBPT,
777
+ [_V]: _
778
+ });
779
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
780
+ }, "se_DescribeLoadBalancerPolicyTypesCommand");
781
+ var se_DescribeLoadBalancersCommand = /* @__PURE__ */ __name(async (input, context) => {
782
+ const headers = SHARED_HEADERS;
783
+ let body;
784
+ body = buildFormUrlencodedString({
785
+ ...se_DescribeAccessPointsInput(input, context),
786
+ [_A]: _DLBe,
787
+ [_V]: _
788
+ });
789
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
790
+ }, "se_DescribeLoadBalancersCommand");
791
+ var se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
792
+ const headers = SHARED_HEADERS;
793
+ let body;
794
+ body = buildFormUrlencodedString({
795
+ ...se_DescribeTagsInput(input, context),
796
+ [_A]: _DT,
797
+ [_V]: _
798
+ });
799
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
800
+ }, "se_DescribeTagsCommand");
801
+ var se_DetachLoadBalancerFromSubnetsCommand = /* @__PURE__ */ __name(async (input, context) => {
802
+ const headers = SHARED_HEADERS;
803
+ let body;
804
+ body = buildFormUrlencodedString({
805
+ ...se_DetachLoadBalancerFromSubnetsInput(input, context),
806
+ [_A]: _DLBFS,
807
+ [_V]: _
808
+ });
809
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
810
+ }, "se_DetachLoadBalancerFromSubnetsCommand");
811
+ var se_DisableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(async (input, context) => {
812
+ const headers = SHARED_HEADERS;
813
+ let body;
814
+ body = buildFormUrlencodedString({
815
+ ...se_RemoveAvailabilityZonesInput(input, context),
816
+ [_A]: _DAZFLB,
817
+ [_V]: _
818
+ });
819
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
820
+ }, "se_DisableAvailabilityZonesForLoadBalancerCommand");
821
+ var se_EnableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(async (input, context) => {
822
+ const headers = SHARED_HEADERS;
823
+ let body;
824
+ body = buildFormUrlencodedString({
825
+ ...se_AddAvailabilityZonesInput(input, context),
826
+ [_A]: _EAZFLB,
827
+ [_V]: _
828
+ });
829
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
830
+ }, "se_EnableAvailabilityZonesForLoadBalancerCommand");
831
+ var se_ModifyLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
832
+ const headers = SHARED_HEADERS;
833
+ let body;
834
+ body = buildFormUrlencodedString({
835
+ ...se_ModifyLoadBalancerAttributesInput(input, context),
836
+ [_A]: _MLBA,
837
+ [_V]: _
838
+ });
839
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
840
+ }, "se_ModifyLoadBalancerAttributesCommand");
841
+ var se_RegisterInstancesWithLoadBalancerCommand = /* @__PURE__ */ __name(async (input, context) => {
842
+ const headers = SHARED_HEADERS;
843
+ let body;
844
+ body = buildFormUrlencodedString({
845
+ ...se_RegisterEndPointsInput(input, context),
846
+ [_A]: _RIWLB,
847
+ [_V]: _
848
+ });
849
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
850
+ }, "se_RegisterInstancesWithLoadBalancerCommand");
851
+ var se_RemoveTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
852
+ const headers = SHARED_HEADERS;
853
+ let body;
854
+ body = buildFormUrlencodedString({
855
+ ...se_RemoveTagsInput(input, context),
856
+ [_A]: _RT,
857
+ [_V]: _
858
+ });
859
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
860
+ }, "se_RemoveTagsCommand");
861
+ var se_SetLoadBalancerListenerSSLCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
862
+ const headers = SHARED_HEADERS;
863
+ let body;
864
+ body = buildFormUrlencodedString({
865
+ ...se_SetLoadBalancerListenerSSLCertificateInput(input, context),
866
+ [_A]: _SLBLSSLC,
867
+ [_V]: _
868
+ });
869
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
870
+ }, "se_SetLoadBalancerListenerSSLCertificateCommand");
871
+ var se_SetLoadBalancerPoliciesForBackendServerCommand = /* @__PURE__ */ __name(async (input, context) => {
872
+ const headers = SHARED_HEADERS;
873
+ let body;
874
+ body = buildFormUrlencodedString({
875
+ ...se_SetLoadBalancerPoliciesForBackendServerInput(input, context),
876
+ [_A]: _SLBPFBS,
877
+ [_V]: _
878
+ });
879
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
880
+ }, "se_SetLoadBalancerPoliciesForBackendServerCommand");
881
+ var se_SetLoadBalancerPoliciesOfListenerCommand = /* @__PURE__ */ __name(async (input, context) => {
882
+ const headers = SHARED_HEADERS;
883
+ let body;
884
+ body = buildFormUrlencodedString({
885
+ ...se_SetLoadBalancerPoliciesOfListenerInput(input, context),
886
+ [_A]: _SLBPOL,
887
+ [_V]: _
888
+ });
889
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
890
+ }, "se_SetLoadBalancerPoliciesOfListenerCommand");
891
+ var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
892
+ if (output.statusCode >= 300) {
893
+ return de_AddTagsCommandError(output, context);
894
+ }
895
+ const data = await parseBody(output.body, context);
896
+ let contents = {};
897
+ contents = de_AddTagsOutput(data.AddTagsResult, context);
898
+ const response = {
899
+ $metadata: deserializeMetadata(output),
900
+ ...contents
901
+ };
902
+ return response;
903
+ }, "de_AddTagsCommand");
904
+ var de_AddTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
905
+ const parsedOutput = {
906
+ ...output,
907
+ body: await parseErrorBody(output.body, context)
908
+ };
909
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
910
+ switch (errorCode) {
911
+ case "DuplicateTagKeys":
912
+ case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
913
+ throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
914
+ case "LoadBalancerNotFound":
915
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
916
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
917
+ case "TooManyTags":
918
+ case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
919
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
920
+ default:
921
+ const parsedBody = parsedOutput.body;
922
+ return throwDefaultError({
923
+ output,
924
+ parsedBody: parsedBody.Error,
925
+ errorCode
926
+ });
927
+ }
928
+ }, "de_AddTagsCommandError");
929
+ var de_ApplySecurityGroupsToLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
930
+ if (output.statusCode >= 300) {
931
+ return de_ApplySecurityGroupsToLoadBalancerCommandError(output, context);
932
+ }
933
+ const data = await parseBody(output.body, context);
934
+ let contents = {};
935
+ contents = de_ApplySecurityGroupsToLoadBalancerOutput(data.ApplySecurityGroupsToLoadBalancerResult, context);
936
+ const response = {
937
+ $metadata: deserializeMetadata(output),
938
+ ...contents
939
+ };
940
+ return response;
941
+ }, "de_ApplySecurityGroupsToLoadBalancerCommand");
942
+ var de_ApplySecurityGroupsToLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
943
+ const parsedOutput = {
944
+ ...output,
945
+ body: await parseErrorBody(output.body, context)
946
+ };
947
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
948
+ switch (errorCode) {
949
+ case "InvalidConfigurationRequest":
950
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
951
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
952
+ case "InvalidSecurityGroup":
953
+ case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
954
+ throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
955
+ case "LoadBalancerNotFound":
956
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
957
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
958
+ default:
959
+ const parsedBody = parsedOutput.body;
960
+ return throwDefaultError({
961
+ output,
962
+ parsedBody: parsedBody.Error,
963
+ errorCode
964
+ });
965
+ }
966
+ }, "de_ApplySecurityGroupsToLoadBalancerCommandError");
967
+ var de_AttachLoadBalancerToSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
968
+ if (output.statusCode >= 300) {
969
+ return de_AttachLoadBalancerToSubnetsCommandError(output, context);
970
+ }
971
+ const data = await parseBody(output.body, context);
972
+ let contents = {};
973
+ contents = de_AttachLoadBalancerToSubnetsOutput(data.AttachLoadBalancerToSubnetsResult, context);
974
+ const response = {
975
+ $metadata: deserializeMetadata(output),
976
+ ...contents
977
+ };
978
+ return response;
979
+ }, "de_AttachLoadBalancerToSubnetsCommand");
980
+ var de_AttachLoadBalancerToSubnetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
981
+ const parsedOutput = {
982
+ ...output,
983
+ body: await parseErrorBody(output.body, context)
984
+ };
985
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
986
+ switch (errorCode) {
987
+ case "InvalidConfigurationRequest":
988
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
989
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
990
+ case "InvalidSubnet":
991
+ case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
992
+ throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
993
+ case "LoadBalancerNotFound":
994
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
995
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
996
+ case "SubnetNotFound":
997
+ case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
998
+ throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
999
+ default:
1000
+ const parsedBody = parsedOutput.body;
1001
+ return throwDefaultError({
1002
+ output,
1003
+ parsedBody: parsedBody.Error,
1004
+ errorCode
1005
+ });
1006
+ }
1007
+ }, "de_AttachLoadBalancerToSubnetsCommandError");
1008
+ var de_ConfigureHealthCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
1009
+ if (output.statusCode >= 300) {
1010
+ return de_ConfigureHealthCheckCommandError(output, context);
1011
+ }
1012
+ const data = await parseBody(output.body, context);
1013
+ let contents = {};
1014
+ contents = de_ConfigureHealthCheckOutput(data.ConfigureHealthCheckResult, context);
1015
+ const response = {
1016
+ $metadata: deserializeMetadata(output),
1017
+ ...contents
1018
+ };
1019
+ return response;
1020
+ }, "de_ConfigureHealthCheckCommand");
1021
+ var de_ConfigureHealthCheckCommandError = /* @__PURE__ */ __name(async (output, context) => {
1022
+ const parsedOutput = {
1023
+ ...output,
1024
+ body: await parseErrorBody(output.body, context)
1025
+ };
1026
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1027
+ switch (errorCode) {
1028
+ case "LoadBalancerNotFound":
1029
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1030
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1031
+ default:
1032
+ const parsedBody = parsedOutput.body;
1033
+ return throwDefaultError({
1034
+ output,
1035
+ parsedBody: parsedBody.Error,
1036
+ errorCode
1037
+ });
1038
+ }
1039
+ }, "de_ConfigureHealthCheckCommandError");
1040
+ var de_CreateAppCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1041
+ if (output.statusCode >= 300) {
1042
+ return de_CreateAppCookieStickinessPolicyCommandError(output, context);
1043
+ }
1044
+ const data = await parseBody(output.body, context);
1045
+ let contents = {};
1046
+ contents = de_CreateAppCookieStickinessPolicyOutput(data.CreateAppCookieStickinessPolicyResult, context);
1047
+ const response = {
1048
+ $metadata: deserializeMetadata(output),
1049
+ ...contents
1050
+ };
1051
+ return response;
1052
+ }, "de_CreateAppCookieStickinessPolicyCommand");
1053
+ var de_CreateAppCookieStickinessPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1054
+ const parsedOutput = {
1055
+ ...output,
1056
+ body: await parseErrorBody(output.body, context)
1057
+ };
1058
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1059
+ switch (errorCode) {
1060
+ case "DuplicatePolicyName":
1061
+ case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
1062
+ throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
1063
+ case "InvalidConfigurationRequest":
1064
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1065
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1066
+ case "LoadBalancerNotFound":
1067
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1068
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1069
+ case "TooManyPolicies":
1070
+ case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
1071
+ throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
1072
+ default:
1073
+ const parsedBody = parsedOutput.body;
1074
+ return throwDefaultError({
1075
+ output,
1076
+ parsedBody: parsedBody.Error,
1077
+ errorCode
1078
+ });
1079
+ }
1080
+ }, "de_CreateAppCookieStickinessPolicyCommandError");
1081
+ var de_CreateLBCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1082
+ if (output.statusCode >= 300) {
1083
+ return de_CreateLBCookieStickinessPolicyCommandError(output, context);
1084
+ }
1085
+ const data = await parseBody(output.body, context);
1086
+ let contents = {};
1087
+ contents = de_CreateLBCookieStickinessPolicyOutput(data.CreateLBCookieStickinessPolicyResult, context);
1088
+ const response = {
1089
+ $metadata: deserializeMetadata(output),
1090
+ ...contents
1091
+ };
1092
+ return response;
1093
+ }, "de_CreateLBCookieStickinessPolicyCommand");
1094
+ var de_CreateLBCookieStickinessPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1095
+ const parsedOutput = {
1096
+ ...output,
1097
+ body: await parseErrorBody(output.body, context)
1098
+ };
1099
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1100
+ switch (errorCode) {
1101
+ case "DuplicatePolicyName":
1102
+ case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
1103
+ throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
1104
+ case "InvalidConfigurationRequest":
1105
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1106
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1107
+ case "LoadBalancerNotFound":
1108
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1109
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1110
+ case "TooManyPolicies":
1111
+ case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
1112
+ throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
1113
+ default:
1114
+ const parsedBody = parsedOutput.body;
1115
+ return throwDefaultError({
1116
+ output,
1117
+ parsedBody: parsedBody.Error,
1118
+ errorCode
1119
+ });
1120
+ }
1121
+ }, "de_CreateLBCookieStickinessPolicyCommandError");
1122
+ var de_CreateLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
1123
+ if (output.statusCode >= 300) {
1124
+ return de_CreateLoadBalancerCommandError(output, context);
1125
+ }
1126
+ const data = await parseBody(output.body, context);
1127
+ let contents = {};
1128
+ contents = de_CreateAccessPointOutput(data.CreateLoadBalancerResult, context);
1129
+ const response = {
1130
+ $metadata: deserializeMetadata(output),
1131
+ ...contents
1132
+ };
1133
+ return response;
1134
+ }, "de_CreateLoadBalancerCommand");
1135
+ var de_CreateLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1136
+ const parsedOutput = {
1137
+ ...output,
1138
+ body: await parseErrorBody(output.body, context)
1139
+ };
1140
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1141
+ switch (errorCode) {
1142
+ case "CertificateNotFound":
1143
+ case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
1144
+ throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
1145
+ case "DuplicateLoadBalancerName":
1146
+ case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException":
1147
+ throw await de_DuplicateAccessPointNameExceptionRes(parsedOutput, context);
1148
+ case "DuplicateTagKeys":
1149
+ case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
1150
+ throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
1151
+ case "InvalidConfigurationRequest":
1152
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1153
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1154
+ case "InvalidScheme":
1155
+ case "com.amazonaws.elasticloadbalancing#InvalidSchemeException":
1156
+ throw await de_InvalidSchemeExceptionRes(parsedOutput, context);
1157
+ case "InvalidSecurityGroup":
1158
+ case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
1159
+ throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
1160
+ case "InvalidSubnet":
1161
+ case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
1162
+ throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
1163
+ case "OperationNotPermitted":
1164
+ case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException":
1165
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
1166
+ case "SubnetNotFound":
1167
+ case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
1168
+ throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
1169
+ case "TooManyLoadBalancers":
1170
+ case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException":
1171
+ throw await de_TooManyAccessPointsExceptionRes(parsedOutput, context);
1172
+ case "TooManyTags":
1173
+ case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
1174
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1175
+ case "UnsupportedProtocol":
1176
+ case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
1177
+ throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
1178
+ default:
1179
+ const parsedBody = parsedOutput.body;
1180
+ return throwDefaultError({
1181
+ output,
1182
+ parsedBody: parsedBody.Error,
1183
+ errorCode
1184
+ });
1185
+ }
1186
+ }, "de_CreateLoadBalancerCommandError");
1187
+ var de_CreateLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (output, context) => {
1188
+ if (output.statusCode >= 300) {
1189
+ return de_CreateLoadBalancerListenersCommandError(output, context);
1190
+ }
1191
+ const data = await parseBody(output.body, context);
1192
+ let contents = {};
1193
+ contents = de_CreateLoadBalancerListenerOutput(data.CreateLoadBalancerListenersResult, context);
1194
+ const response = {
1195
+ $metadata: deserializeMetadata(output),
1196
+ ...contents
1197
+ };
1198
+ return response;
1199
+ }, "de_CreateLoadBalancerListenersCommand");
1200
+ var de_CreateLoadBalancerListenersCommandError = /* @__PURE__ */ __name(async (output, context) => {
1201
+ const parsedOutput = {
1202
+ ...output,
1203
+ body: await parseErrorBody(output.body, context)
1204
+ };
1205
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1206
+ switch (errorCode) {
1207
+ case "CertificateNotFound":
1208
+ case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
1209
+ throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
1210
+ case "DuplicateListener":
1211
+ case "com.amazonaws.elasticloadbalancing#DuplicateListenerException":
1212
+ throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
1213
+ case "InvalidConfigurationRequest":
1214
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1215
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1216
+ case "LoadBalancerNotFound":
1217
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1218
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1219
+ case "UnsupportedProtocol":
1220
+ case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
1221
+ throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
1222
+ default:
1223
+ const parsedBody = parsedOutput.body;
1224
+ return throwDefaultError({
1225
+ output,
1226
+ parsedBody: parsedBody.Error,
1227
+ errorCode
1228
+ });
1229
+ }
1230
+ }, "de_CreateLoadBalancerListenersCommandError");
1231
+ var de_CreateLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1232
+ if (output.statusCode >= 300) {
1233
+ return de_CreateLoadBalancerPolicyCommandError(output, context);
1234
+ }
1235
+ const data = await parseBody(output.body, context);
1236
+ let contents = {};
1237
+ contents = de_CreateLoadBalancerPolicyOutput(data.CreateLoadBalancerPolicyResult, context);
1238
+ const response = {
1239
+ $metadata: deserializeMetadata(output),
1240
+ ...contents
1241
+ };
1242
+ return response;
1243
+ }, "de_CreateLoadBalancerPolicyCommand");
1244
+ var de_CreateLoadBalancerPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1245
+ const parsedOutput = {
1246
+ ...output,
1247
+ body: await parseErrorBody(output.body, context)
1248
+ };
1249
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1250
+ switch (errorCode) {
1251
+ case "DuplicatePolicyName":
1252
+ case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
1253
+ throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
1254
+ case "InvalidConfigurationRequest":
1255
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1256
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1257
+ case "LoadBalancerNotFound":
1258
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1259
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1260
+ case "PolicyTypeNotFound":
1261
+ case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
1262
+ throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
1263
+ case "TooManyPolicies":
1264
+ case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
1265
+ throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
1266
+ default:
1267
+ const parsedBody = parsedOutput.body;
1268
+ return throwDefaultError({
1269
+ output,
1270
+ parsedBody: parsedBody.Error,
1271
+ errorCode
1272
+ });
1273
+ }
1274
+ }, "de_CreateLoadBalancerPolicyCommandError");
1275
+ var de_DeleteLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
1276
+ if (output.statusCode >= 300) {
1277
+ return de_DeleteLoadBalancerCommandError(output, context);
1278
+ }
1279
+ const data = await parseBody(output.body, context);
1280
+ let contents = {};
1281
+ contents = de_DeleteAccessPointOutput(data.DeleteLoadBalancerResult, context);
1282
+ const response = {
1283
+ $metadata: deserializeMetadata(output),
1284
+ ...contents
1285
+ };
1286
+ return response;
1287
+ }, "de_DeleteLoadBalancerCommand");
1288
+ var de_DeleteLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1289
+ const parsedOutput = {
1290
+ ...output,
1291
+ body: await parseErrorBody(output.body, context)
1292
+ };
1293
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1294
+ const parsedBody = parsedOutput.body;
1295
+ return throwDefaultError({
1296
+ output,
1297
+ parsedBody: parsedBody.Error,
1298
+ errorCode
1299
+ });
1300
+ }, "de_DeleteLoadBalancerCommandError");
1301
+ var de_DeleteLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (output, context) => {
1302
+ if (output.statusCode >= 300) {
1303
+ return de_DeleteLoadBalancerListenersCommandError(output, context);
1304
+ }
1305
+ const data = await parseBody(output.body, context);
1306
+ let contents = {};
1307
+ contents = de_DeleteLoadBalancerListenerOutput(data.DeleteLoadBalancerListenersResult, context);
1308
+ const response = {
1309
+ $metadata: deserializeMetadata(output),
1310
+ ...contents
1311
+ };
1312
+ return response;
1313
+ }, "de_DeleteLoadBalancerListenersCommand");
1314
+ var de_DeleteLoadBalancerListenersCommandError = /* @__PURE__ */ __name(async (output, context) => {
1315
+ const parsedOutput = {
1316
+ ...output,
1317
+ body: await parseErrorBody(output.body, context)
1318
+ };
1319
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1320
+ switch (errorCode) {
1321
+ case "LoadBalancerNotFound":
1322
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1323
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1324
+ default:
1325
+ const parsedBody = parsedOutput.body;
1326
+ return throwDefaultError({
1327
+ output,
1328
+ parsedBody: parsedBody.Error,
1329
+ errorCode
1330
+ });
1331
+ }
1332
+ }, "de_DeleteLoadBalancerListenersCommandError");
1333
+ var de_DeleteLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1334
+ if (output.statusCode >= 300) {
1335
+ return de_DeleteLoadBalancerPolicyCommandError(output, context);
1336
+ }
1337
+ const data = await parseBody(output.body, context);
1338
+ let contents = {};
1339
+ contents = de_DeleteLoadBalancerPolicyOutput(data.DeleteLoadBalancerPolicyResult, context);
1340
+ const response = {
1341
+ $metadata: deserializeMetadata(output),
1342
+ ...contents
1343
+ };
1344
+ return response;
1345
+ }, "de_DeleteLoadBalancerPolicyCommand");
1346
+ var de_DeleteLoadBalancerPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1347
+ const parsedOutput = {
1348
+ ...output,
1349
+ body: await parseErrorBody(output.body, context)
1350
+ };
1351
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1352
+ switch (errorCode) {
1353
+ case "InvalidConfigurationRequest":
1354
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1355
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1356
+ case "LoadBalancerNotFound":
1357
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1358
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1359
+ default:
1360
+ const parsedBody = parsedOutput.body;
1361
+ return throwDefaultError({
1362
+ output,
1363
+ parsedBody: parsedBody.Error,
1364
+ errorCode
1365
+ });
1366
+ }
1367
+ }, "de_DeleteLoadBalancerPolicyCommandError");
1368
+ var de_DeregisterInstancesFromLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
1369
+ if (output.statusCode >= 300) {
1370
+ return de_DeregisterInstancesFromLoadBalancerCommandError(output, context);
1371
+ }
1372
+ const data = await parseBody(output.body, context);
1373
+ let contents = {};
1374
+ contents = de_DeregisterEndPointsOutput(data.DeregisterInstancesFromLoadBalancerResult, context);
1375
+ const response = {
1376
+ $metadata: deserializeMetadata(output),
1377
+ ...contents
1378
+ };
1379
+ return response;
1380
+ }, "de_DeregisterInstancesFromLoadBalancerCommand");
1381
+ var de_DeregisterInstancesFromLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1382
+ const parsedOutput = {
1383
+ ...output,
1384
+ body: await parseErrorBody(output.body, context)
1385
+ };
1386
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1387
+ switch (errorCode) {
1388
+ case "InvalidInstance":
1389
+ case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
1390
+ throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
1391
+ case "LoadBalancerNotFound":
1392
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1393
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1394
+ default:
1395
+ const parsedBody = parsedOutput.body;
1396
+ return throwDefaultError({
1397
+ output,
1398
+ parsedBody: parsedBody.Error,
1399
+ errorCode
1400
+ });
1401
+ }
1402
+ }, "de_DeregisterInstancesFromLoadBalancerCommandError");
1403
+ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, context) => {
1404
+ if (output.statusCode >= 300) {
1405
+ return de_DescribeAccountLimitsCommandError(output, context);
1406
+ }
1407
+ const data = await parseBody(output.body, context);
1408
+ let contents = {};
1409
+ contents = de_DescribeAccountLimitsOutput(data.DescribeAccountLimitsResult, context);
1410
+ const response = {
1411
+ $metadata: deserializeMetadata(output),
1412
+ ...contents
1413
+ };
1414
+ return response;
1415
+ }, "de_DescribeAccountLimitsCommand");
1416
+ var de_DescribeAccountLimitsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1417
+ const parsedOutput = {
1418
+ ...output,
1419
+ body: await parseErrorBody(output.body, context)
1420
+ };
1421
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1422
+ const parsedBody = parsedOutput.body;
1423
+ return throwDefaultError({
1424
+ output,
1425
+ parsedBody: parsedBody.Error,
1426
+ errorCode
1427
+ });
1428
+ }, "de_DescribeAccountLimitsCommandError");
1429
+ var de_DescribeInstanceHealthCommand = /* @__PURE__ */ __name(async (output, context) => {
1430
+ if (output.statusCode >= 300) {
1431
+ return de_DescribeInstanceHealthCommandError(output, context);
1432
+ }
1433
+ const data = await parseBody(output.body, context);
1434
+ let contents = {};
1435
+ contents = de_DescribeEndPointStateOutput(data.DescribeInstanceHealthResult, context);
1436
+ const response = {
1437
+ $metadata: deserializeMetadata(output),
1438
+ ...contents
1439
+ };
1440
+ return response;
1441
+ }, "de_DescribeInstanceHealthCommand");
1442
+ var de_DescribeInstanceHealthCommandError = /* @__PURE__ */ __name(async (output, context) => {
1443
+ const parsedOutput = {
1444
+ ...output,
1445
+ body: await parseErrorBody(output.body, context)
1446
+ };
1447
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1448
+ switch (errorCode) {
1449
+ case "InvalidInstance":
1450
+ case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
1451
+ throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
1452
+ case "LoadBalancerNotFound":
1453
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1454
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1455
+ default:
1456
+ const parsedBody = parsedOutput.body;
1457
+ return throwDefaultError({
1458
+ output,
1459
+ parsedBody: parsedBody.Error,
1460
+ errorCode
1461
+ });
1462
+ }
1463
+ }, "de_DescribeInstanceHealthCommandError");
1464
+ var de_DescribeLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
1465
+ if (output.statusCode >= 300) {
1466
+ return de_DescribeLoadBalancerAttributesCommandError(output, context);
1467
+ }
1468
+ const data = await parseBody(output.body, context);
1469
+ let contents = {};
1470
+ contents = de_DescribeLoadBalancerAttributesOutput(data.DescribeLoadBalancerAttributesResult, context);
1471
+ const response = {
1472
+ $metadata: deserializeMetadata(output),
1473
+ ...contents
1474
+ };
1475
+ return response;
1476
+ }, "de_DescribeLoadBalancerAttributesCommand");
1477
+ var de_DescribeLoadBalancerAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1478
+ const parsedOutput = {
1479
+ ...output,
1480
+ body: await parseErrorBody(output.body, context)
1481
+ };
1482
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1483
+ switch (errorCode) {
1484
+ case "LoadBalancerAttributeNotFound":
1485
+ case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
1486
+ throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
1487
+ case "LoadBalancerNotFound":
1488
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1489
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1490
+ default:
1491
+ const parsedBody = parsedOutput.body;
1492
+ return throwDefaultError({
1493
+ output,
1494
+ parsedBody: parsedBody.Error,
1495
+ errorCode
1496
+ });
1497
+ }
1498
+ }, "de_DescribeLoadBalancerAttributesCommandError");
1499
+ var de_DescribeLoadBalancerPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
1500
+ if (output.statusCode >= 300) {
1501
+ return de_DescribeLoadBalancerPoliciesCommandError(output, context);
1502
+ }
1503
+ const data = await parseBody(output.body, context);
1504
+ let contents = {};
1505
+ contents = de_DescribeLoadBalancerPoliciesOutput(data.DescribeLoadBalancerPoliciesResult, context);
1506
+ const response = {
1507
+ $metadata: deserializeMetadata(output),
1508
+ ...contents
1509
+ };
1510
+ return response;
1511
+ }, "de_DescribeLoadBalancerPoliciesCommand");
1512
+ var de_DescribeLoadBalancerPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1513
+ const parsedOutput = {
1514
+ ...output,
1515
+ body: await parseErrorBody(output.body, context)
1516
+ };
1517
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1518
+ switch (errorCode) {
1519
+ case "LoadBalancerNotFound":
1520
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1521
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1522
+ case "PolicyNotFound":
1523
+ case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
1524
+ throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
1525
+ default:
1526
+ const parsedBody = parsedOutput.body;
1527
+ return throwDefaultError({
1528
+ output,
1529
+ parsedBody: parsedBody.Error,
1530
+ errorCode
1531
+ });
1532
+ }
1533
+ }, "de_DescribeLoadBalancerPoliciesCommandError");
1534
+ var de_DescribeLoadBalancerPolicyTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
1535
+ if (output.statusCode >= 300) {
1536
+ return de_DescribeLoadBalancerPolicyTypesCommandError(output, context);
1537
+ }
1538
+ const data = await parseBody(output.body, context);
1539
+ let contents = {};
1540
+ contents = de_DescribeLoadBalancerPolicyTypesOutput(data.DescribeLoadBalancerPolicyTypesResult, context);
1541
+ const response = {
1542
+ $metadata: deserializeMetadata(output),
1543
+ ...contents
1544
+ };
1545
+ return response;
1546
+ }, "de_DescribeLoadBalancerPolicyTypesCommand");
1547
+ var de_DescribeLoadBalancerPolicyTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1548
+ const parsedOutput = {
1549
+ ...output,
1550
+ body: await parseErrorBody(output.body, context)
1551
+ };
1552
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1553
+ switch (errorCode) {
1554
+ case "PolicyTypeNotFound":
1555
+ case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
1556
+ throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
1557
+ default:
1558
+ const parsedBody = parsedOutput.body;
1559
+ return throwDefaultError({
1560
+ output,
1561
+ parsedBody: parsedBody.Error,
1562
+ errorCode
1563
+ });
1564
+ }
1565
+ }, "de_DescribeLoadBalancerPolicyTypesCommandError");
1566
+ var de_DescribeLoadBalancersCommand = /* @__PURE__ */ __name(async (output, context) => {
1567
+ if (output.statusCode >= 300) {
1568
+ return de_DescribeLoadBalancersCommandError(output, context);
1569
+ }
1570
+ const data = await parseBody(output.body, context);
1571
+ let contents = {};
1572
+ contents = de_DescribeAccessPointsOutput(data.DescribeLoadBalancersResult, context);
1573
+ const response = {
1574
+ $metadata: deserializeMetadata(output),
1575
+ ...contents
1576
+ };
1577
+ return response;
1578
+ }, "de_DescribeLoadBalancersCommand");
1579
+ var de_DescribeLoadBalancersCommandError = /* @__PURE__ */ __name(async (output, context) => {
1580
+ const parsedOutput = {
1581
+ ...output,
1582
+ body: await parseErrorBody(output.body, context)
1583
+ };
1584
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1585
+ switch (errorCode) {
1586
+ case "DependencyThrottle":
1587
+ case "com.amazonaws.elasticloadbalancing#DependencyThrottleException":
1588
+ throw await de_DependencyThrottleExceptionRes(parsedOutput, context);
1589
+ case "LoadBalancerNotFound":
1590
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1591
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1592
+ default:
1593
+ const parsedBody = parsedOutput.body;
1594
+ return throwDefaultError({
1595
+ output,
1596
+ parsedBody: parsedBody.Error,
1597
+ errorCode
1598
+ });
1599
+ }
1600
+ }, "de_DescribeLoadBalancersCommandError");
1601
+ var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
1602
+ if (output.statusCode >= 300) {
1603
+ return de_DescribeTagsCommandError(output, context);
1604
+ }
1605
+ const data = await parseBody(output.body, context);
1606
+ let contents = {};
1607
+ contents = de_DescribeTagsOutput(data.DescribeTagsResult, context);
1608
+ const response = {
1609
+ $metadata: deserializeMetadata(output),
1610
+ ...contents
1611
+ };
1612
+ return response;
1613
+ }, "de_DescribeTagsCommand");
1614
+ var de_DescribeTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1615
+ const parsedOutput = {
1616
+ ...output,
1617
+ body: await parseErrorBody(output.body, context)
1618
+ };
1619
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1620
+ switch (errorCode) {
1621
+ case "LoadBalancerNotFound":
1622
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1623
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1624
+ default:
1625
+ const parsedBody = parsedOutput.body;
1626
+ return throwDefaultError({
1627
+ output,
1628
+ parsedBody: parsedBody.Error,
1629
+ errorCode
1630
+ });
1631
+ }
1632
+ }, "de_DescribeTagsCommandError");
1633
+ var de_DetachLoadBalancerFromSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1634
+ if (output.statusCode >= 300) {
1635
+ return de_DetachLoadBalancerFromSubnetsCommandError(output, context);
1636
+ }
1637
+ const data = await parseBody(output.body, context);
1638
+ let contents = {};
1639
+ contents = de_DetachLoadBalancerFromSubnetsOutput(data.DetachLoadBalancerFromSubnetsResult, context);
1640
+ const response = {
1641
+ $metadata: deserializeMetadata(output),
1642
+ ...contents
1643
+ };
1644
+ return response;
1645
+ }, "de_DetachLoadBalancerFromSubnetsCommand");
1646
+ var de_DetachLoadBalancerFromSubnetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1647
+ const parsedOutput = {
1648
+ ...output,
1649
+ body: await parseErrorBody(output.body, context)
1650
+ };
1651
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1652
+ switch (errorCode) {
1653
+ case "InvalidConfigurationRequest":
1654
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1655
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1656
+ case "LoadBalancerNotFound":
1657
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1658
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1659
+ default:
1660
+ const parsedBody = parsedOutput.body;
1661
+ return throwDefaultError({
1662
+ output,
1663
+ parsedBody: parsedBody.Error,
1664
+ errorCode
1665
+ });
1666
+ }
1667
+ }, "de_DetachLoadBalancerFromSubnetsCommandError");
1668
+ var de_DisableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
1669
+ if (output.statusCode >= 300) {
1670
+ return de_DisableAvailabilityZonesForLoadBalancerCommandError(output, context);
1671
+ }
1672
+ const data = await parseBody(output.body, context);
1673
+ let contents = {};
1674
+ contents = de_RemoveAvailabilityZonesOutput(data.DisableAvailabilityZonesForLoadBalancerResult, context);
1675
+ const response = {
1676
+ $metadata: deserializeMetadata(output),
1677
+ ...contents
1678
+ };
1679
+ return response;
1680
+ }, "de_DisableAvailabilityZonesForLoadBalancerCommand");
1681
+ var de_DisableAvailabilityZonesForLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1682
+ const parsedOutput = {
1683
+ ...output,
1684
+ body: await parseErrorBody(output.body, context)
1685
+ };
1686
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1687
+ switch (errorCode) {
1688
+ case "InvalidConfigurationRequest":
1689
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1690
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1691
+ case "LoadBalancerNotFound":
1692
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1693
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1694
+ default:
1695
+ const parsedBody = parsedOutput.body;
1696
+ return throwDefaultError({
1697
+ output,
1698
+ parsedBody: parsedBody.Error,
1699
+ errorCode
1700
+ });
1701
+ }
1702
+ }, "de_DisableAvailabilityZonesForLoadBalancerCommandError");
1703
+ var de_EnableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
1704
+ if (output.statusCode >= 300) {
1705
+ return de_EnableAvailabilityZonesForLoadBalancerCommandError(output, context);
1706
+ }
1707
+ const data = await parseBody(output.body, context);
1708
+ let contents = {};
1709
+ contents = de_AddAvailabilityZonesOutput(data.EnableAvailabilityZonesForLoadBalancerResult, context);
1710
+ const response = {
1711
+ $metadata: deserializeMetadata(output),
1712
+ ...contents
1713
+ };
1714
+ return response;
1715
+ }, "de_EnableAvailabilityZonesForLoadBalancerCommand");
1716
+ var de_EnableAvailabilityZonesForLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1717
+ const parsedOutput = {
1718
+ ...output,
1719
+ body: await parseErrorBody(output.body, context)
1720
+ };
1721
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1722
+ switch (errorCode) {
1723
+ case "LoadBalancerNotFound":
1724
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1725
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1726
+ default:
1727
+ const parsedBody = parsedOutput.body;
1728
+ return throwDefaultError({
1729
+ output,
1730
+ parsedBody: parsedBody.Error,
1731
+ errorCode
1732
+ });
1733
+ }
1734
+ }, "de_EnableAvailabilityZonesForLoadBalancerCommandError");
1735
+ var de_ModifyLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
1736
+ if (output.statusCode >= 300) {
1737
+ return de_ModifyLoadBalancerAttributesCommandError(output, context);
1738
+ }
1739
+ const data = await parseBody(output.body, context);
1740
+ let contents = {};
1741
+ contents = de_ModifyLoadBalancerAttributesOutput(data.ModifyLoadBalancerAttributesResult, context);
1742
+ const response = {
1743
+ $metadata: deserializeMetadata(output),
1744
+ ...contents
1745
+ };
1746
+ return response;
1747
+ }, "de_ModifyLoadBalancerAttributesCommand");
1748
+ var de_ModifyLoadBalancerAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1749
+ const parsedOutput = {
1750
+ ...output,
1751
+ body: await parseErrorBody(output.body, context)
1752
+ };
1753
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1754
+ switch (errorCode) {
1755
+ case "InvalidConfigurationRequest":
1756
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1757
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1758
+ case "LoadBalancerAttributeNotFound":
1759
+ case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
1760
+ throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
1761
+ case "LoadBalancerNotFound":
1762
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1763
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1764
+ default:
1765
+ const parsedBody = parsedOutput.body;
1766
+ return throwDefaultError({
1767
+ output,
1768
+ parsedBody: parsedBody.Error,
1769
+ errorCode
1770
+ });
1771
+ }
1772
+ }, "de_ModifyLoadBalancerAttributesCommandError");
1773
+ var de_RegisterInstancesWithLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
1774
+ if (output.statusCode >= 300) {
1775
+ return de_RegisterInstancesWithLoadBalancerCommandError(output, context);
1776
+ }
1777
+ const data = await parseBody(output.body, context);
1778
+ let contents = {};
1779
+ contents = de_RegisterEndPointsOutput(data.RegisterInstancesWithLoadBalancerResult, context);
1780
+ const response = {
1781
+ $metadata: deserializeMetadata(output),
1782
+ ...contents
1783
+ };
1784
+ return response;
1785
+ }, "de_RegisterInstancesWithLoadBalancerCommand");
1786
+ var de_RegisterInstancesWithLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1787
+ const parsedOutput = {
1788
+ ...output,
1789
+ body: await parseErrorBody(output.body, context)
1790
+ };
1791
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1792
+ switch (errorCode) {
1793
+ case "InvalidInstance":
1794
+ case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
1795
+ throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
1796
+ case "LoadBalancerNotFound":
1797
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1798
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1799
+ default:
1800
+ const parsedBody = parsedOutput.body;
1801
+ return throwDefaultError({
1802
+ output,
1803
+ parsedBody: parsedBody.Error,
1804
+ errorCode
1805
+ });
1806
+ }
1807
+ }, "de_RegisterInstancesWithLoadBalancerCommandError");
1808
+ var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
1809
+ if (output.statusCode >= 300) {
1810
+ return de_RemoveTagsCommandError(output, context);
1811
+ }
1812
+ const data = await parseBody(output.body, context);
1813
+ let contents = {};
1814
+ contents = de_RemoveTagsOutput(data.RemoveTagsResult, context);
1815
+ const response = {
1816
+ $metadata: deserializeMetadata(output),
1817
+ ...contents
1818
+ };
1819
+ return response;
1820
+ }, "de_RemoveTagsCommand");
1821
+ var de_RemoveTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1822
+ const parsedOutput = {
1823
+ ...output,
1824
+ body: await parseErrorBody(output.body, context)
1825
+ };
1826
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1827
+ switch (errorCode) {
1828
+ case "LoadBalancerNotFound":
1829
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1830
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1831
+ default:
1832
+ const parsedBody = parsedOutput.body;
1833
+ return throwDefaultError({
1834
+ output,
1835
+ parsedBody: parsedBody.Error,
1836
+ errorCode
1837
+ });
1838
+ }
1839
+ }, "de_RemoveTagsCommandError");
1840
+ var de_SetLoadBalancerListenerSSLCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
1841
+ if (output.statusCode >= 300) {
1842
+ return de_SetLoadBalancerListenerSSLCertificateCommandError(output, context);
1843
+ }
1844
+ const data = await parseBody(output.body, context);
1845
+ let contents = {};
1846
+ contents = de_SetLoadBalancerListenerSSLCertificateOutput(data.SetLoadBalancerListenerSSLCertificateResult, context);
1847
+ const response = {
1848
+ $metadata: deserializeMetadata(output),
1849
+ ...contents
1850
+ };
1851
+ return response;
1852
+ }, "de_SetLoadBalancerListenerSSLCertificateCommand");
1853
+ var de_SetLoadBalancerListenerSSLCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
1854
+ const parsedOutput = {
1855
+ ...output,
1856
+ body: await parseErrorBody(output.body, context)
1857
+ };
1858
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1859
+ switch (errorCode) {
1860
+ case "CertificateNotFound":
1861
+ case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
1862
+ throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
1863
+ case "InvalidConfigurationRequest":
1864
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1865
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1866
+ case "ListenerNotFound":
1867
+ case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
1868
+ throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
1869
+ case "LoadBalancerNotFound":
1870
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1871
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1872
+ case "UnsupportedProtocol":
1873
+ case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
1874
+ throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
1875
+ default:
1876
+ const parsedBody = parsedOutput.body;
1877
+ return throwDefaultError({
1878
+ output,
1879
+ parsedBody: parsedBody.Error,
1880
+ errorCode
1881
+ });
1882
+ }
1883
+ }, "de_SetLoadBalancerListenerSSLCertificateCommandError");
1884
+ var de_SetLoadBalancerPoliciesForBackendServerCommand = /* @__PURE__ */ __name(async (output, context) => {
1885
+ if (output.statusCode >= 300) {
1886
+ return de_SetLoadBalancerPoliciesForBackendServerCommandError(output, context);
1887
+ }
1888
+ const data = await parseBody(output.body, context);
1889
+ let contents = {};
1890
+ contents = de_SetLoadBalancerPoliciesForBackendServerOutput(
1891
+ data.SetLoadBalancerPoliciesForBackendServerResult,
1892
+ context
1893
+ );
1894
+ const response = {
1895
+ $metadata: deserializeMetadata(output),
1896
+ ...contents
1897
+ };
1898
+ return response;
1899
+ }, "de_SetLoadBalancerPoliciesForBackendServerCommand");
1900
+ var de_SetLoadBalancerPoliciesForBackendServerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1901
+ const parsedOutput = {
1902
+ ...output,
1903
+ body: await parseErrorBody(output.body, context)
1904
+ };
1905
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1906
+ switch (errorCode) {
1907
+ case "InvalidConfigurationRequest":
1908
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1909
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1910
+ case "LoadBalancerNotFound":
1911
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1912
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1913
+ case "PolicyNotFound":
1914
+ case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
1915
+ throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
1916
+ default:
1917
+ const parsedBody = parsedOutput.body;
1918
+ return throwDefaultError({
1919
+ output,
1920
+ parsedBody: parsedBody.Error,
1921
+ errorCode
1922
+ });
1923
+ }
1924
+ }, "de_SetLoadBalancerPoliciesForBackendServerCommandError");
1925
+ var de_SetLoadBalancerPoliciesOfListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
1926
+ if (output.statusCode >= 300) {
1927
+ return de_SetLoadBalancerPoliciesOfListenerCommandError(output, context);
1928
+ }
1929
+ const data = await parseBody(output.body, context);
1930
+ let contents = {};
1931
+ contents = de_SetLoadBalancerPoliciesOfListenerOutput(data.SetLoadBalancerPoliciesOfListenerResult, context);
1932
+ const response = {
1933
+ $metadata: deserializeMetadata(output),
1934
+ ...contents
1935
+ };
1936
+ return response;
1937
+ }, "de_SetLoadBalancerPoliciesOfListenerCommand");
1938
+ var de_SetLoadBalancerPoliciesOfListenerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1939
+ const parsedOutput = {
1940
+ ...output,
1941
+ body: await parseErrorBody(output.body, context)
1942
+ };
1943
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1944
+ switch (errorCode) {
1945
+ case "InvalidConfigurationRequest":
1946
+ case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
1947
+ throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
1948
+ case "ListenerNotFound":
1949
+ case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
1950
+ throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
1951
+ case "LoadBalancerNotFound":
1952
+ case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
1953
+ throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
1954
+ case "PolicyNotFound":
1955
+ case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
1956
+ throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
1957
+ default:
1958
+ const parsedBody = parsedOutput.body;
1959
+ return throwDefaultError({
1960
+ output,
1961
+ parsedBody: parsedBody.Error,
1962
+ errorCode
1963
+ });
1964
+ }
1965
+ }, "de_SetLoadBalancerPoliciesOfListenerCommandError");
1966
+ var de_AccessPointNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1967
+ const body = parsedOutput.body;
1968
+ const deserialized = de_AccessPointNotFoundException(body.Error, context);
1969
+ const exception = new AccessPointNotFoundException({
1970
+ $metadata: deserializeMetadata(parsedOutput),
1971
+ ...deserialized
1972
+ });
1973
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1974
+ }, "de_AccessPointNotFoundExceptionRes");
1975
+ var de_CertificateNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1976
+ const body = parsedOutput.body;
1977
+ const deserialized = de_CertificateNotFoundException(body.Error, context);
1978
+ const exception = new CertificateNotFoundException({
1979
+ $metadata: deserializeMetadata(parsedOutput),
1980
+ ...deserialized
1981
+ });
1982
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1983
+ }, "de_CertificateNotFoundExceptionRes");
1984
+ var de_DependencyThrottleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1985
+ const body = parsedOutput.body;
1986
+ const deserialized = de_DependencyThrottleException(body.Error, context);
1987
+ const exception = new DependencyThrottleException({
1988
+ $metadata: deserializeMetadata(parsedOutput),
1989
+ ...deserialized
1990
+ });
1991
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1992
+ }, "de_DependencyThrottleExceptionRes");
1993
+ var de_DuplicateAccessPointNameExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1994
+ const body = parsedOutput.body;
1995
+ const deserialized = de_DuplicateAccessPointNameException(body.Error, context);
1996
+ const exception = new DuplicateAccessPointNameException({
1997
+ $metadata: deserializeMetadata(parsedOutput),
1998
+ ...deserialized
1999
+ });
2000
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2001
+ }, "de_DuplicateAccessPointNameExceptionRes");
2002
+ var de_DuplicateListenerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2003
+ const body = parsedOutput.body;
2004
+ const deserialized = de_DuplicateListenerException(body.Error, context);
2005
+ const exception = new DuplicateListenerException({
2006
+ $metadata: deserializeMetadata(parsedOutput),
2007
+ ...deserialized
2008
+ });
2009
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2010
+ }, "de_DuplicateListenerExceptionRes");
2011
+ var de_DuplicatePolicyNameExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2012
+ const body = parsedOutput.body;
2013
+ const deserialized = de_DuplicatePolicyNameException(body.Error, context);
2014
+ const exception = new DuplicatePolicyNameException({
2015
+ $metadata: deserializeMetadata(parsedOutput),
2016
+ ...deserialized
2017
+ });
2018
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2019
+ }, "de_DuplicatePolicyNameExceptionRes");
2020
+ var de_DuplicateTagKeysExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2021
+ const body = parsedOutput.body;
2022
+ const deserialized = de_DuplicateTagKeysException(body.Error, context);
2023
+ const exception = new DuplicateTagKeysException({
2024
+ $metadata: deserializeMetadata(parsedOutput),
2025
+ ...deserialized
2026
+ });
2027
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2028
+ }, "de_DuplicateTagKeysExceptionRes");
2029
+ var de_InvalidConfigurationRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2030
+ const body = parsedOutput.body;
2031
+ const deserialized = de_InvalidConfigurationRequestException(body.Error, context);
2032
+ const exception = new InvalidConfigurationRequestException({
2033
+ $metadata: deserializeMetadata(parsedOutput),
2034
+ ...deserialized
2035
+ });
2036
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2037
+ }, "de_InvalidConfigurationRequestExceptionRes");
2038
+ var de_InvalidEndPointExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2039
+ const body = parsedOutput.body;
2040
+ const deserialized = de_InvalidEndPointException(body.Error, context);
2041
+ const exception = new InvalidEndPointException({
2042
+ $metadata: deserializeMetadata(parsedOutput),
2043
+ ...deserialized
2044
+ });
2045
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2046
+ }, "de_InvalidEndPointExceptionRes");
2047
+ var de_InvalidSchemeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2048
+ const body = parsedOutput.body;
2049
+ const deserialized = de_InvalidSchemeException(body.Error, context);
2050
+ const exception = new InvalidSchemeException({
2051
+ $metadata: deserializeMetadata(parsedOutput),
2052
+ ...deserialized
2053
+ });
2054
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2055
+ }, "de_InvalidSchemeExceptionRes");
2056
+ var de_InvalidSecurityGroupExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2057
+ const body = parsedOutput.body;
2058
+ const deserialized = de_InvalidSecurityGroupException(body.Error, context);
2059
+ const exception = new InvalidSecurityGroupException({
2060
+ $metadata: deserializeMetadata(parsedOutput),
2061
+ ...deserialized
2062
+ });
2063
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2064
+ }, "de_InvalidSecurityGroupExceptionRes");
2065
+ var de_InvalidSubnetExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2066
+ const body = parsedOutput.body;
2067
+ const deserialized = de_InvalidSubnetException(body.Error, context);
2068
+ const exception = new InvalidSubnetException({
2069
+ $metadata: deserializeMetadata(parsedOutput),
2070
+ ...deserialized
2071
+ });
2072
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2073
+ }, "de_InvalidSubnetExceptionRes");
2074
+ var de_ListenerNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2075
+ const body = parsedOutput.body;
2076
+ const deserialized = de_ListenerNotFoundException(body.Error, context);
2077
+ const exception = new ListenerNotFoundException({
2078
+ $metadata: deserializeMetadata(parsedOutput),
2079
+ ...deserialized
2080
+ });
2081
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2082
+ }, "de_ListenerNotFoundExceptionRes");
2083
+ var de_LoadBalancerAttributeNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2084
+ const body = parsedOutput.body;
2085
+ const deserialized = de_LoadBalancerAttributeNotFoundException(body.Error, context);
2086
+ const exception = new LoadBalancerAttributeNotFoundException({
2087
+ $metadata: deserializeMetadata(parsedOutput),
2088
+ ...deserialized
2089
+ });
2090
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2091
+ }, "de_LoadBalancerAttributeNotFoundExceptionRes");
2092
+ var de_OperationNotPermittedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2093
+ const body = parsedOutput.body;
2094
+ const deserialized = de_OperationNotPermittedException(body.Error, context);
2095
+ const exception = new OperationNotPermittedException({
2096
+ $metadata: deserializeMetadata(parsedOutput),
2097
+ ...deserialized
2098
+ });
2099
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2100
+ }, "de_OperationNotPermittedExceptionRes");
2101
+ var de_PolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2102
+ const body = parsedOutput.body;
2103
+ const deserialized = de_PolicyNotFoundException(body.Error, context);
2104
+ const exception = new PolicyNotFoundException({
2105
+ $metadata: deserializeMetadata(parsedOutput),
2106
+ ...deserialized
2107
+ });
2108
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2109
+ }, "de_PolicyNotFoundExceptionRes");
2110
+ var de_PolicyTypeNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2111
+ const body = parsedOutput.body;
2112
+ const deserialized = de_PolicyTypeNotFoundException(body.Error, context);
2113
+ const exception = new PolicyTypeNotFoundException({
2114
+ $metadata: deserializeMetadata(parsedOutput),
2115
+ ...deserialized
2116
+ });
2117
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2118
+ }, "de_PolicyTypeNotFoundExceptionRes");
2119
+ var de_SubnetNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2120
+ const body = parsedOutput.body;
2121
+ const deserialized = de_SubnetNotFoundException(body.Error, context);
2122
+ const exception = new SubnetNotFoundException({
2123
+ $metadata: deserializeMetadata(parsedOutput),
2124
+ ...deserialized
2125
+ });
2126
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2127
+ }, "de_SubnetNotFoundExceptionRes");
2128
+ var de_TooManyAccessPointsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2129
+ const body = parsedOutput.body;
2130
+ const deserialized = de_TooManyAccessPointsException(body.Error, context);
2131
+ const exception = new TooManyAccessPointsException({
2132
+ $metadata: deserializeMetadata(parsedOutput),
2133
+ ...deserialized
2134
+ });
2135
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2136
+ }, "de_TooManyAccessPointsExceptionRes");
2137
+ var de_TooManyPoliciesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2138
+ const body = parsedOutput.body;
2139
+ const deserialized = de_TooManyPoliciesException(body.Error, context);
2140
+ const exception = new TooManyPoliciesException({
2141
+ $metadata: deserializeMetadata(parsedOutput),
2142
+ ...deserialized
2143
+ });
2144
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2145
+ }, "de_TooManyPoliciesExceptionRes");
2146
+ var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2147
+ const body = parsedOutput.body;
2148
+ const deserialized = de_TooManyTagsException(body.Error, context);
2149
+ const exception = new TooManyTagsException({
2150
+ $metadata: deserializeMetadata(parsedOutput),
2151
+ ...deserialized
2152
+ });
2153
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2154
+ }, "de_TooManyTagsExceptionRes");
2155
+ var de_UnsupportedProtocolExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2156
+ const body = parsedOutput.body;
2157
+ const deserialized = de_UnsupportedProtocolException(body.Error, context);
2158
+ const exception = new UnsupportedProtocolException({
2159
+ $metadata: deserializeMetadata(parsedOutput),
2160
+ ...deserialized
2161
+ });
2162
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2163
+ }, "de_UnsupportedProtocolExceptionRes");
2164
+ var se_AccessLog = /* @__PURE__ */ __name((input, context) => {
2165
+ const entries = {};
2166
+ if (input[_E] != null) {
2167
+ entries[_E] = input[_E];
2168
+ }
2169
+ if (input[_SBN] != null) {
2170
+ entries[_SBN] = input[_SBN];
2171
+ }
2172
+ if (input[_EI] != null) {
2173
+ entries[_EI] = input[_EI];
2174
+ }
2175
+ if (input[_SBP] != null) {
2176
+ entries[_SBP] = input[_SBP];
2177
+ }
2178
+ return entries;
2179
+ }, "se_AccessLog");
2180
+ var se_AddAvailabilityZonesInput = /* @__PURE__ */ __name((input, context) => {
2181
+ var _a;
2182
+ const entries = {};
2183
+ if (input[_LBN] != null) {
2184
+ entries[_LBN] = input[_LBN];
2185
+ }
2186
+ if (input[_AZ] != null) {
2187
+ const memberEntries = se_AvailabilityZones(input[_AZ], context);
2188
+ if (((_a = input[_AZ]) == null ? void 0 : _a.length) === 0) {
2189
+ entries.AvailabilityZones = [];
2190
+ }
2191
+ Object.entries(memberEntries).forEach(([key, value]) => {
2192
+ const loc = `AvailabilityZones.${key}`;
2193
+ entries[loc] = value;
2194
+ });
2195
+ }
2196
+ return entries;
2197
+ }, "se_AddAvailabilityZonesInput");
2198
+ var se_AdditionalAttribute = /* @__PURE__ */ __name((input, context) => {
2199
+ const entries = {};
2200
+ if (input[_K] != null) {
2201
+ entries[_K] = input[_K];
2202
+ }
2203
+ if (input[_Va] != null) {
2204
+ entries[_Va] = input[_Va];
2205
+ }
2206
+ return entries;
2207
+ }, "se_AdditionalAttribute");
2208
+ var se_AdditionalAttributes = /* @__PURE__ */ __name((input, context) => {
2209
+ const entries = {};
2210
+ let counter = 1;
2211
+ for (const entry of input) {
2212
+ if (entry === null) {
2213
+ continue;
2214
+ }
2215
+ const memberEntries = se_AdditionalAttribute(entry, context);
2216
+ Object.entries(memberEntries).forEach(([key, value]) => {
2217
+ entries[`member.${counter}.${key}`] = value;
2218
+ });
2219
+ counter++;
2220
+ }
2221
+ return entries;
2222
+ }, "se_AdditionalAttributes");
2223
+ var se_AddTagsInput = /* @__PURE__ */ __name((input, context) => {
2224
+ var _a, _b;
2225
+ const entries = {};
2226
+ if (input[_LBNo] != null) {
2227
+ const memberEntries = se_LoadBalancerNames(input[_LBNo], context);
2228
+ if (((_a = input[_LBNo]) == null ? void 0 : _a.length) === 0) {
2229
+ entries.LoadBalancerNames = [];
2230
+ }
2231
+ Object.entries(memberEntries).forEach(([key, value]) => {
2232
+ const loc = `LoadBalancerNames.${key}`;
2233
+ entries[loc] = value;
2234
+ });
2235
+ }
2236
+ if (input[_T] != null) {
2237
+ const memberEntries = se_TagList(input[_T], context);
2238
+ if (((_b = input[_T]) == null ? void 0 : _b.length) === 0) {
2239
+ entries.Tags = [];
2240
+ }
2241
+ Object.entries(memberEntries).forEach(([key, value]) => {
2242
+ const loc = `Tags.${key}`;
2243
+ entries[loc] = value;
2244
+ });
2245
+ }
2246
+ return entries;
2247
+ }, "se_AddTagsInput");
2248
+ var se_ApplySecurityGroupsToLoadBalancerInput = /* @__PURE__ */ __name((input, context) => {
2249
+ var _a;
2250
+ const entries = {};
2251
+ if (input[_LBN] != null) {
2252
+ entries[_LBN] = input[_LBN];
2253
+ }
2254
+ if (input[_SG] != null) {
2255
+ const memberEntries = se_SecurityGroups(input[_SG], context);
2256
+ if (((_a = input[_SG]) == null ? void 0 : _a.length) === 0) {
2257
+ entries.SecurityGroups = [];
2258
+ }
2259
+ Object.entries(memberEntries).forEach(([key, value]) => {
2260
+ const loc = `SecurityGroups.${key}`;
2261
+ entries[loc] = value;
2262
+ });
2263
+ }
2264
+ return entries;
2265
+ }, "se_ApplySecurityGroupsToLoadBalancerInput");
2266
+ var se_AttachLoadBalancerToSubnetsInput = /* @__PURE__ */ __name((input, context) => {
2267
+ var _a;
2268
+ const entries = {};
2269
+ if (input[_LBN] != null) {
2270
+ entries[_LBN] = input[_LBN];
2271
+ }
2272
+ if (input[_S] != null) {
2273
+ const memberEntries = se_Subnets(input[_S], context);
2274
+ if (((_a = input[_S]) == null ? void 0 : _a.length) === 0) {
2275
+ entries.Subnets = [];
2276
+ }
2277
+ Object.entries(memberEntries).forEach(([key, value]) => {
2278
+ const loc = `Subnets.${key}`;
2279
+ entries[loc] = value;
2280
+ });
2281
+ }
2282
+ return entries;
2283
+ }, "se_AttachLoadBalancerToSubnetsInput");
2284
+ var se_AvailabilityZones = /* @__PURE__ */ __name((input, context) => {
2285
+ const entries = {};
2286
+ let counter = 1;
2287
+ for (const entry of input) {
2288
+ if (entry === null) {
2289
+ continue;
2290
+ }
2291
+ entries[`member.${counter}`] = entry;
2292
+ counter++;
2293
+ }
2294
+ return entries;
2295
+ }, "se_AvailabilityZones");
2296
+ var se_ConfigureHealthCheckInput = /* @__PURE__ */ __name((input, context) => {
2297
+ const entries = {};
2298
+ if (input[_LBN] != null) {
2299
+ entries[_LBN] = input[_LBN];
2300
+ }
2301
+ if (input[_HC] != null) {
2302
+ const memberEntries = se_HealthCheck(input[_HC], context);
2303
+ Object.entries(memberEntries).forEach(([key, value]) => {
2304
+ const loc = `HealthCheck.${key}`;
2305
+ entries[loc] = value;
2306
+ });
2307
+ }
2308
+ return entries;
2309
+ }, "se_ConfigureHealthCheckInput");
2310
+ var se_ConnectionDraining = /* @__PURE__ */ __name((input, context) => {
2311
+ const entries = {};
2312
+ if (input[_E] != null) {
2313
+ entries[_E] = input[_E];
2314
+ }
2315
+ if (input[_Ti] != null) {
2316
+ entries[_Ti] = input[_Ti];
2317
+ }
2318
+ return entries;
2319
+ }, "se_ConnectionDraining");
2320
+ var se_ConnectionSettings = /* @__PURE__ */ __name((input, context) => {
2321
+ const entries = {};
2322
+ if (input[_IT] != null) {
2323
+ entries[_IT] = input[_IT];
2324
+ }
2325
+ return entries;
2326
+ }, "se_ConnectionSettings");
2327
+ var se_CreateAccessPointInput = /* @__PURE__ */ __name((input, context) => {
2328
+ var _a, _b, _c, _d, _e;
2329
+ const entries = {};
2330
+ if (input[_LBN] != null) {
2331
+ entries[_LBN] = input[_LBN];
2332
+ }
2333
+ if (input[_L] != null) {
2334
+ const memberEntries = se_Listeners(input[_L], context);
2335
+ if (((_a = input[_L]) == null ? void 0 : _a.length) === 0) {
2336
+ entries.Listeners = [];
2337
+ }
2338
+ Object.entries(memberEntries).forEach(([key, value]) => {
2339
+ const loc = `Listeners.${key}`;
2340
+ entries[loc] = value;
2341
+ });
2342
+ }
2343
+ if (input[_AZ] != null) {
2344
+ const memberEntries = se_AvailabilityZones(input[_AZ], context);
2345
+ if (((_b = input[_AZ]) == null ? void 0 : _b.length) === 0) {
2346
+ entries.AvailabilityZones = [];
2347
+ }
2348
+ Object.entries(memberEntries).forEach(([key, value]) => {
2349
+ const loc = `AvailabilityZones.${key}`;
2350
+ entries[loc] = value;
2351
+ });
2352
+ }
2353
+ if (input[_S] != null) {
2354
+ const memberEntries = se_Subnets(input[_S], context);
2355
+ if (((_c = input[_S]) == null ? void 0 : _c.length) === 0) {
2356
+ entries.Subnets = [];
2357
+ }
2358
+ Object.entries(memberEntries).forEach(([key, value]) => {
2359
+ const loc = `Subnets.${key}`;
2360
+ entries[loc] = value;
2361
+ });
2362
+ }
2363
+ if (input[_SG] != null) {
2364
+ const memberEntries = se_SecurityGroups(input[_SG], context);
2365
+ if (((_d = input[_SG]) == null ? void 0 : _d.length) === 0) {
2366
+ entries.SecurityGroups = [];
2367
+ }
2368
+ Object.entries(memberEntries).forEach(([key, value]) => {
2369
+ const loc = `SecurityGroups.${key}`;
2370
+ entries[loc] = value;
2371
+ });
2372
+ }
2373
+ if (input[_Sc] != null) {
2374
+ entries[_Sc] = input[_Sc];
2375
+ }
2376
+ if (input[_T] != null) {
2377
+ const memberEntries = se_TagList(input[_T], context);
2378
+ if (((_e = input[_T]) == null ? void 0 : _e.length) === 0) {
2379
+ entries.Tags = [];
2380
+ }
2381
+ Object.entries(memberEntries).forEach(([key, value]) => {
2382
+ const loc = `Tags.${key}`;
2383
+ entries[loc] = value;
2384
+ });
2385
+ }
2386
+ return entries;
2387
+ }, "se_CreateAccessPointInput");
2388
+ var se_CreateAppCookieStickinessPolicyInput = /* @__PURE__ */ __name((input, context) => {
2389
+ const entries = {};
2390
+ if (input[_LBN] != null) {
2391
+ entries[_LBN] = input[_LBN];
2392
+ }
2393
+ if (input[_PN] != null) {
2394
+ entries[_PN] = input[_PN];
2395
+ }
2396
+ if (input[_CN] != null) {
2397
+ entries[_CN] = input[_CN];
2398
+ }
2399
+ return entries;
2400
+ }, "se_CreateAppCookieStickinessPolicyInput");
2401
+ var se_CreateLBCookieStickinessPolicyInput = /* @__PURE__ */ __name((input, context) => {
2402
+ const entries = {};
2403
+ if (input[_LBN] != null) {
2404
+ entries[_LBN] = input[_LBN];
2405
+ }
2406
+ if (input[_PN] != null) {
2407
+ entries[_PN] = input[_PN];
2408
+ }
2409
+ if (input[_CEP] != null) {
2410
+ entries[_CEP] = input[_CEP];
2411
+ }
2412
+ return entries;
2413
+ }, "se_CreateLBCookieStickinessPolicyInput");
2414
+ var se_CreateLoadBalancerListenerInput = /* @__PURE__ */ __name((input, context) => {
2415
+ var _a;
2416
+ const entries = {};
2417
+ if (input[_LBN] != null) {
2418
+ entries[_LBN] = input[_LBN];
2419
+ }
2420
+ if (input[_L] != null) {
2421
+ const memberEntries = se_Listeners(input[_L], context);
2422
+ if (((_a = input[_L]) == null ? void 0 : _a.length) === 0) {
2423
+ entries.Listeners = [];
2424
+ }
2425
+ Object.entries(memberEntries).forEach(([key, value]) => {
2426
+ const loc = `Listeners.${key}`;
2427
+ entries[loc] = value;
2428
+ });
2429
+ }
2430
+ return entries;
2431
+ }, "se_CreateLoadBalancerListenerInput");
2432
+ var se_CreateLoadBalancerPolicyInput = /* @__PURE__ */ __name((input, context) => {
2433
+ var _a;
2434
+ const entries = {};
2435
+ if (input[_LBN] != null) {
2436
+ entries[_LBN] = input[_LBN];
2437
+ }
2438
+ if (input[_PN] != null) {
2439
+ entries[_PN] = input[_PN];
2440
+ }
2441
+ if (input[_PTN] != null) {
2442
+ entries[_PTN] = input[_PTN];
2443
+ }
2444
+ if (input[_PA] != null) {
2445
+ const memberEntries = se_PolicyAttributes(input[_PA], context);
2446
+ if (((_a = input[_PA]) == null ? void 0 : _a.length) === 0) {
2447
+ entries.PolicyAttributes = [];
2448
+ }
2449
+ Object.entries(memberEntries).forEach(([key, value]) => {
2450
+ const loc = `PolicyAttributes.${key}`;
2451
+ entries[loc] = value;
2452
+ });
2453
+ }
2454
+ return entries;
2455
+ }, "se_CreateLoadBalancerPolicyInput");
2456
+ var se_CrossZoneLoadBalancing = /* @__PURE__ */ __name((input, context) => {
2457
+ const entries = {};
2458
+ if (input[_E] != null) {
2459
+ entries[_E] = input[_E];
2460
+ }
2461
+ return entries;
2462
+ }, "se_CrossZoneLoadBalancing");
2463
+ var se_DeleteAccessPointInput = /* @__PURE__ */ __name((input, context) => {
2464
+ const entries = {};
2465
+ if (input[_LBN] != null) {
2466
+ entries[_LBN] = input[_LBN];
2467
+ }
2468
+ return entries;
2469
+ }, "se_DeleteAccessPointInput");
2470
+ var se_DeleteLoadBalancerListenerInput = /* @__PURE__ */ __name((input, context) => {
2471
+ var _a;
2472
+ const entries = {};
2473
+ if (input[_LBN] != null) {
2474
+ entries[_LBN] = input[_LBN];
2475
+ }
2476
+ if (input[_LBP] != null) {
2477
+ const memberEntries = se_Ports(input[_LBP], context);
2478
+ if (((_a = input[_LBP]) == null ? void 0 : _a.length) === 0) {
2479
+ entries.LoadBalancerPorts = [];
2480
+ }
2481
+ Object.entries(memberEntries).forEach(([key, value]) => {
2482
+ const loc = `LoadBalancerPorts.${key}`;
2483
+ entries[loc] = value;
2484
+ });
2485
+ }
2486
+ return entries;
2487
+ }, "se_DeleteLoadBalancerListenerInput");
2488
+ var se_DeleteLoadBalancerPolicyInput = /* @__PURE__ */ __name((input, context) => {
2489
+ const entries = {};
2490
+ if (input[_LBN] != null) {
2491
+ entries[_LBN] = input[_LBN];
2492
+ }
2493
+ if (input[_PN] != null) {
2494
+ entries[_PN] = input[_PN];
2495
+ }
2496
+ return entries;
2497
+ }, "se_DeleteLoadBalancerPolicyInput");
2498
+ var se_DeregisterEndPointsInput = /* @__PURE__ */ __name((input, context) => {
2499
+ var _a;
2500
+ const entries = {};
2501
+ if (input[_LBN] != null) {
2502
+ entries[_LBN] = input[_LBN];
2503
+ }
2504
+ if (input[_I] != null) {
2505
+ const memberEntries = se_Instances(input[_I], context);
2506
+ if (((_a = input[_I]) == null ? void 0 : _a.length) === 0) {
2507
+ entries.Instances = [];
2508
+ }
2509
+ Object.entries(memberEntries).forEach(([key, value]) => {
2510
+ const loc = `Instances.${key}`;
2511
+ entries[loc] = value;
2512
+ });
2513
+ }
2514
+ return entries;
2515
+ }, "se_DeregisterEndPointsInput");
2516
+ var se_DescribeAccessPointsInput = /* @__PURE__ */ __name((input, context) => {
2517
+ var _a;
2518
+ const entries = {};
2519
+ if (input[_LBNo] != null) {
2520
+ const memberEntries = se_LoadBalancerNames(input[_LBNo], context);
2521
+ if (((_a = input[_LBNo]) == null ? void 0 : _a.length) === 0) {
2522
+ entries.LoadBalancerNames = [];
2523
+ }
2524
+ Object.entries(memberEntries).forEach(([key, value]) => {
2525
+ const loc = `LoadBalancerNames.${key}`;
2526
+ entries[loc] = value;
2527
+ });
2528
+ }
2529
+ if (input[_M] != null) {
2530
+ entries[_M] = input[_M];
2531
+ }
2532
+ if (input[_PS] != null) {
2533
+ entries[_PS] = input[_PS];
2534
+ }
2535
+ return entries;
2536
+ }, "se_DescribeAccessPointsInput");
2537
+ var se_DescribeAccountLimitsInput = /* @__PURE__ */ __name((input, context) => {
2538
+ const entries = {};
2539
+ if (input[_M] != null) {
2540
+ entries[_M] = input[_M];
2541
+ }
2542
+ if (input[_PS] != null) {
2543
+ entries[_PS] = input[_PS];
2544
+ }
2545
+ return entries;
2546
+ }, "se_DescribeAccountLimitsInput");
2547
+ var se_DescribeEndPointStateInput = /* @__PURE__ */ __name((input, context) => {
2548
+ var _a;
2549
+ const entries = {};
2550
+ if (input[_LBN] != null) {
2551
+ entries[_LBN] = input[_LBN];
2552
+ }
2553
+ if (input[_I] != null) {
2554
+ const memberEntries = se_Instances(input[_I], context);
2555
+ if (((_a = input[_I]) == null ? void 0 : _a.length) === 0) {
2556
+ entries.Instances = [];
2557
+ }
2558
+ Object.entries(memberEntries).forEach(([key, value]) => {
2559
+ const loc = `Instances.${key}`;
2560
+ entries[loc] = value;
2561
+ });
2562
+ }
2563
+ return entries;
2564
+ }, "se_DescribeEndPointStateInput");
2565
+ var se_DescribeLoadBalancerAttributesInput = /* @__PURE__ */ __name((input, context) => {
2566
+ const entries = {};
2567
+ if (input[_LBN] != null) {
2568
+ entries[_LBN] = input[_LBN];
2569
+ }
2570
+ return entries;
2571
+ }, "se_DescribeLoadBalancerAttributesInput");
2572
+ var se_DescribeLoadBalancerPoliciesInput = /* @__PURE__ */ __name((input, context) => {
2573
+ var _a;
2574
+ const entries = {};
2575
+ if (input[_LBN] != null) {
2576
+ entries[_LBN] = input[_LBN];
2577
+ }
2578
+ if (input[_PNo] != null) {
2579
+ const memberEntries = se_PolicyNames(input[_PNo], context);
2580
+ if (((_a = input[_PNo]) == null ? void 0 : _a.length) === 0) {
2581
+ entries.PolicyNames = [];
2582
+ }
2583
+ Object.entries(memberEntries).forEach(([key, value]) => {
2584
+ const loc = `PolicyNames.${key}`;
2585
+ entries[loc] = value;
2586
+ });
2587
+ }
2588
+ return entries;
2589
+ }, "se_DescribeLoadBalancerPoliciesInput");
2590
+ var se_DescribeLoadBalancerPolicyTypesInput = /* @__PURE__ */ __name((input, context) => {
2591
+ var _a;
2592
+ const entries = {};
2593
+ if (input[_PTNo] != null) {
2594
+ const memberEntries = se_PolicyTypeNames(input[_PTNo], context);
2595
+ if (((_a = input[_PTNo]) == null ? void 0 : _a.length) === 0) {
2596
+ entries.PolicyTypeNames = [];
2597
+ }
2598
+ Object.entries(memberEntries).forEach(([key, value]) => {
2599
+ const loc = `PolicyTypeNames.${key}`;
2600
+ entries[loc] = value;
2601
+ });
2602
+ }
2603
+ return entries;
2604
+ }, "se_DescribeLoadBalancerPolicyTypesInput");
2605
+ var se_DescribeTagsInput = /* @__PURE__ */ __name((input, context) => {
2606
+ var _a;
2607
+ const entries = {};
2608
+ if (input[_LBNo] != null) {
2609
+ const memberEntries = se_LoadBalancerNamesMax20(input[_LBNo], context);
2610
+ if (((_a = input[_LBNo]) == null ? void 0 : _a.length) === 0) {
2611
+ entries.LoadBalancerNames = [];
2612
+ }
2613
+ Object.entries(memberEntries).forEach(([key, value]) => {
2614
+ const loc = `LoadBalancerNames.${key}`;
2615
+ entries[loc] = value;
2616
+ });
2617
+ }
2618
+ return entries;
2619
+ }, "se_DescribeTagsInput");
2620
+ var se_DetachLoadBalancerFromSubnetsInput = /* @__PURE__ */ __name((input, context) => {
2621
+ var _a;
2622
+ const entries = {};
2623
+ if (input[_LBN] != null) {
2624
+ entries[_LBN] = input[_LBN];
2625
+ }
2626
+ if (input[_S] != null) {
2627
+ const memberEntries = se_Subnets(input[_S], context);
2628
+ if (((_a = input[_S]) == null ? void 0 : _a.length) === 0) {
2629
+ entries.Subnets = [];
2630
+ }
2631
+ Object.entries(memberEntries).forEach(([key, value]) => {
2632
+ const loc = `Subnets.${key}`;
2633
+ entries[loc] = value;
2634
+ });
2635
+ }
2636
+ return entries;
2637
+ }, "se_DetachLoadBalancerFromSubnetsInput");
2638
+ var se_HealthCheck = /* @__PURE__ */ __name((input, context) => {
2639
+ const entries = {};
2640
+ if (input[_Ta] != null) {
2641
+ entries[_Ta] = input[_Ta];
2642
+ }
2643
+ if (input[_In] != null) {
2644
+ entries[_In] = input[_In];
2645
+ }
2646
+ if (input[_Ti] != null) {
2647
+ entries[_Ti] = input[_Ti];
2648
+ }
2649
+ if (input[_UT] != null) {
2650
+ entries[_UT] = input[_UT];
2651
+ }
2652
+ if (input[_HT] != null) {
2653
+ entries[_HT] = input[_HT];
2654
+ }
2655
+ return entries;
2656
+ }, "se_HealthCheck");
2657
+ var se_Instance = /* @__PURE__ */ __name((input, context) => {
2658
+ const entries = {};
2659
+ if (input[_II] != null) {
2660
+ entries[_II] = input[_II];
2661
+ }
2662
+ return entries;
2663
+ }, "se_Instance");
2664
+ var se_Instances = /* @__PURE__ */ __name((input, context) => {
2665
+ const entries = {};
2666
+ let counter = 1;
2667
+ for (const entry of input) {
2668
+ if (entry === null) {
2669
+ continue;
2670
+ }
2671
+ const memberEntries = se_Instance(entry, context);
2672
+ Object.entries(memberEntries).forEach(([key, value]) => {
2673
+ entries[`member.${counter}.${key}`] = value;
2674
+ });
2675
+ counter++;
2676
+ }
2677
+ return entries;
2678
+ }, "se_Instances");
2679
+ var se_Listener = /* @__PURE__ */ __name((input, context) => {
2680
+ const entries = {};
2681
+ if (input[_P] != null) {
2682
+ entries[_P] = input[_P];
2683
+ }
2684
+ if (input[_LBPo] != null) {
2685
+ entries[_LBPo] = input[_LBPo];
2686
+ }
2687
+ if (input[_IP] != null) {
2688
+ entries[_IP] = input[_IP];
2689
+ }
2690
+ if (input[_IPn] != null) {
2691
+ entries[_IPn] = input[_IPn];
2692
+ }
2693
+ if (input[_SSLCI] != null) {
2694
+ entries[_SSLCI] = input[_SSLCI];
2695
+ }
2696
+ return entries;
2697
+ }, "se_Listener");
2698
+ var se_Listeners = /* @__PURE__ */ __name((input, context) => {
2699
+ const entries = {};
2700
+ let counter = 1;
2701
+ for (const entry of input) {
2702
+ if (entry === null) {
2703
+ continue;
2704
+ }
2705
+ const memberEntries = se_Listener(entry, context);
2706
+ Object.entries(memberEntries).forEach(([key, value]) => {
2707
+ entries[`member.${counter}.${key}`] = value;
2708
+ });
2709
+ counter++;
2710
+ }
2711
+ return entries;
2712
+ }, "se_Listeners");
2713
+ var se_LoadBalancerAttributes = /* @__PURE__ */ __name((input, context) => {
2714
+ var _a;
2715
+ const entries = {};
2716
+ if (input[_CZLB] != null) {
2717
+ const memberEntries = se_CrossZoneLoadBalancing(input[_CZLB], context);
2718
+ Object.entries(memberEntries).forEach(([key, value]) => {
2719
+ const loc = `CrossZoneLoadBalancing.${key}`;
2720
+ entries[loc] = value;
2721
+ });
2722
+ }
2723
+ if (input[_AL] != null) {
2724
+ const memberEntries = se_AccessLog(input[_AL], context);
2725
+ Object.entries(memberEntries).forEach(([key, value]) => {
2726
+ const loc = `AccessLog.${key}`;
2727
+ entries[loc] = value;
2728
+ });
2729
+ }
2730
+ if (input[_CD] != null) {
2731
+ const memberEntries = se_ConnectionDraining(input[_CD], context);
2732
+ Object.entries(memberEntries).forEach(([key, value]) => {
2733
+ const loc = `ConnectionDraining.${key}`;
2734
+ entries[loc] = value;
2735
+ });
2736
+ }
2737
+ if (input[_CS] != null) {
2738
+ const memberEntries = se_ConnectionSettings(input[_CS], context);
2739
+ Object.entries(memberEntries).forEach(([key, value]) => {
2740
+ const loc = `ConnectionSettings.${key}`;
2741
+ entries[loc] = value;
2742
+ });
2743
+ }
2744
+ if (input[_AA] != null) {
2745
+ const memberEntries = se_AdditionalAttributes(input[_AA], context);
2746
+ if (((_a = input[_AA]) == null ? void 0 : _a.length) === 0) {
2747
+ entries.AdditionalAttributes = [];
2748
+ }
2749
+ Object.entries(memberEntries).forEach(([key, value]) => {
2750
+ const loc = `AdditionalAttributes.${key}`;
2751
+ entries[loc] = value;
2752
+ });
2753
+ }
2754
+ return entries;
2755
+ }, "se_LoadBalancerAttributes");
2756
+ var se_LoadBalancerNames = /* @__PURE__ */ __name((input, context) => {
2757
+ const entries = {};
2758
+ let counter = 1;
2759
+ for (const entry of input) {
2760
+ if (entry === null) {
2761
+ continue;
2762
+ }
2763
+ entries[`member.${counter}`] = entry;
2764
+ counter++;
2765
+ }
2766
+ return entries;
2767
+ }, "se_LoadBalancerNames");
2768
+ var se_LoadBalancerNamesMax20 = /* @__PURE__ */ __name((input, context) => {
2769
+ const entries = {};
2770
+ let counter = 1;
2771
+ for (const entry of input) {
2772
+ if (entry === null) {
2773
+ continue;
2774
+ }
2775
+ entries[`member.${counter}`] = entry;
2776
+ counter++;
2777
+ }
2778
+ return entries;
2779
+ }, "se_LoadBalancerNamesMax20");
2780
+ var se_ModifyLoadBalancerAttributesInput = /* @__PURE__ */ __name((input, context) => {
2781
+ const entries = {};
2782
+ if (input[_LBN] != null) {
2783
+ entries[_LBN] = input[_LBN];
2784
+ }
2785
+ if (input[_LBA] != null) {
2786
+ const memberEntries = se_LoadBalancerAttributes(input[_LBA], context);
2787
+ Object.entries(memberEntries).forEach(([key, value]) => {
2788
+ const loc = `LoadBalancerAttributes.${key}`;
2789
+ entries[loc] = value;
2790
+ });
2791
+ }
2792
+ return entries;
2793
+ }, "se_ModifyLoadBalancerAttributesInput");
2794
+ var se_PolicyAttribute = /* @__PURE__ */ __name((input, context) => {
2795
+ const entries = {};
2796
+ if (input[_AN] != null) {
2797
+ entries[_AN] = input[_AN];
2798
+ }
2799
+ if (input[_AV] != null) {
2800
+ entries[_AV] = input[_AV];
2801
+ }
2802
+ return entries;
2803
+ }, "se_PolicyAttribute");
2804
+ var se_PolicyAttributes = /* @__PURE__ */ __name((input, context) => {
2805
+ const entries = {};
2806
+ let counter = 1;
2807
+ for (const entry of input) {
2808
+ if (entry === null) {
2809
+ continue;
2810
+ }
2811
+ const memberEntries = se_PolicyAttribute(entry, context);
2812
+ Object.entries(memberEntries).forEach(([key, value]) => {
2813
+ entries[`member.${counter}.${key}`] = value;
2814
+ });
2815
+ counter++;
2816
+ }
2817
+ return entries;
2818
+ }, "se_PolicyAttributes");
2819
+ var se_PolicyNames = /* @__PURE__ */ __name((input, context) => {
2820
+ const entries = {};
2821
+ let counter = 1;
2822
+ for (const entry of input) {
2823
+ if (entry === null) {
2824
+ continue;
2825
+ }
2826
+ entries[`member.${counter}`] = entry;
2827
+ counter++;
2828
+ }
2829
+ return entries;
2830
+ }, "se_PolicyNames");
2831
+ var se_PolicyTypeNames = /* @__PURE__ */ __name((input, context) => {
2832
+ const entries = {};
2833
+ let counter = 1;
2834
+ for (const entry of input) {
2835
+ if (entry === null) {
2836
+ continue;
2837
+ }
2838
+ entries[`member.${counter}`] = entry;
2839
+ counter++;
2840
+ }
2841
+ return entries;
2842
+ }, "se_PolicyTypeNames");
2843
+ var se_Ports = /* @__PURE__ */ __name((input, context) => {
2844
+ const entries = {};
2845
+ let counter = 1;
2846
+ for (const entry of input) {
2847
+ if (entry === null) {
2848
+ continue;
2849
+ }
2850
+ entries[`member.${counter}`] = entry;
2851
+ counter++;
2852
+ }
2853
+ return entries;
2854
+ }, "se_Ports");
2855
+ var se_RegisterEndPointsInput = /* @__PURE__ */ __name((input, context) => {
2856
+ var _a;
2857
+ const entries = {};
2858
+ if (input[_LBN] != null) {
2859
+ entries[_LBN] = input[_LBN];
2860
+ }
2861
+ if (input[_I] != null) {
2862
+ const memberEntries = se_Instances(input[_I], context);
2863
+ if (((_a = input[_I]) == null ? void 0 : _a.length) === 0) {
2864
+ entries.Instances = [];
2865
+ }
2866
+ Object.entries(memberEntries).forEach(([key, value]) => {
2867
+ const loc = `Instances.${key}`;
2868
+ entries[loc] = value;
2869
+ });
2870
+ }
2871
+ return entries;
2872
+ }, "se_RegisterEndPointsInput");
2873
+ var se_RemoveAvailabilityZonesInput = /* @__PURE__ */ __name((input, context) => {
2874
+ var _a;
2875
+ const entries = {};
2876
+ if (input[_LBN] != null) {
2877
+ entries[_LBN] = input[_LBN];
2878
+ }
2879
+ if (input[_AZ] != null) {
2880
+ const memberEntries = se_AvailabilityZones(input[_AZ], context);
2881
+ if (((_a = input[_AZ]) == null ? void 0 : _a.length) === 0) {
2882
+ entries.AvailabilityZones = [];
2883
+ }
2884
+ Object.entries(memberEntries).forEach(([key, value]) => {
2885
+ const loc = `AvailabilityZones.${key}`;
2886
+ entries[loc] = value;
2887
+ });
2888
+ }
2889
+ return entries;
2890
+ }, "se_RemoveAvailabilityZonesInput");
2891
+ var se_RemoveTagsInput = /* @__PURE__ */ __name((input, context) => {
2892
+ var _a, _b;
2893
+ const entries = {};
2894
+ if (input[_LBNo] != null) {
2895
+ const memberEntries = se_LoadBalancerNames(input[_LBNo], context);
2896
+ if (((_a = input[_LBNo]) == null ? void 0 : _a.length) === 0) {
2897
+ entries.LoadBalancerNames = [];
2898
+ }
2899
+ Object.entries(memberEntries).forEach(([key, value]) => {
2900
+ const loc = `LoadBalancerNames.${key}`;
2901
+ entries[loc] = value;
2902
+ });
2903
+ }
2904
+ if (input[_T] != null) {
2905
+ const memberEntries = se_TagKeyList(input[_T], context);
2906
+ if (((_b = input[_T]) == null ? void 0 : _b.length) === 0) {
2907
+ entries.Tags = [];
2908
+ }
2909
+ Object.entries(memberEntries).forEach(([key, value]) => {
2910
+ const loc = `Tags.${key}`;
2911
+ entries[loc] = value;
2912
+ });
2913
+ }
2914
+ return entries;
2915
+ }, "se_RemoveTagsInput");
2916
+ var se_SecurityGroups = /* @__PURE__ */ __name((input, context) => {
2917
+ const entries = {};
2918
+ let counter = 1;
2919
+ for (const entry of input) {
2920
+ if (entry === null) {
2921
+ continue;
2922
+ }
2923
+ entries[`member.${counter}`] = entry;
2924
+ counter++;
2925
+ }
2926
+ return entries;
2927
+ }, "se_SecurityGroups");
2928
+ var se_SetLoadBalancerListenerSSLCertificateInput = /* @__PURE__ */ __name((input, context) => {
2929
+ const entries = {};
2930
+ if (input[_LBN] != null) {
2931
+ entries[_LBN] = input[_LBN];
2932
+ }
2933
+ if (input[_LBPo] != null) {
2934
+ entries[_LBPo] = input[_LBPo];
2935
+ }
2936
+ if (input[_SSLCI] != null) {
2937
+ entries[_SSLCI] = input[_SSLCI];
2938
+ }
2939
+ return entries;
2940
+ }, "se_SetLoadBalancerListenerSSLCertificateInput");
2941
+ var se_SetLoadBalancerPoliciesForBackendServerInput = /* @__PURE__ */ __name((input, context) => {
2942
+ var _a;
2943
+ const entries = {};
2944
+ if (input[_LBN] != null) {
2945
+ entries[_LBN] = input[_LBN];
2946
+ }
2947
+ if (input[_IPn] != null) {
2948
+ entries[_IPn] = input[_IPn];
2949
+ }
2950
+ if (input[_PNo] != null) {
2951
+ const memberEntries = se_PolicyNames(input[_PNo], context);
2952
+ if (((_a = input[_PNo]) == null ? void 0 : _a.length) === 0) {
2953
+ entries.PolicyNames = [];
2954
+ }
2955
+ Object.entries(memberEntries).forEach(([key, value]) => {
2956
+ const loc = `PolicyNames.${key}`;
2957
+ entries[loc] = value;
2958
+ });
2959
+ }
2960
+ return entries;
2961
+ }, "se_SetLoadBalancerPoliciesForBackendServerInput");
2962
+ var se_SetLoadBalancerPoliciesOfListenerInput = /* @__PURE__ */ __name((input, context) => {
2963
+ var _a;
2964
+ const entries = {};
2965
+ if (input[_LBN] != null) {
2966
+ entries[_LBN] = input[_LBN];
2967
+ }
2968
+ if (input[_LBPo] != null) {
2969
+ entries[_LBPo] = input[_LBPo];
2970
+ }
2971
+ if (input[_PNo] != null) {
2972
+ const memberEntries = se_PolicyNames(input[_PNo], context);
2973
+ if (((_a = input[_PNo]) == null ? void 0 : _a.length) === 0) {
2974
+ entries.PolicyNames = [];
2975
+ }
2976
+ Object.entries(memberEntries).forEach(([key, value]) => {
2977
+ const loc = `PolicyNames.${key}`;
2978
+ entries[loc] = value;
2979
+ });
2980
+ }
2981
+ return entries;
2982
+ }, "se_SetLoadBalancerPoliciesOfListenerInput");
2983
+ var se_Subnets = /* @__PURE__ */ __name((input, context) => {
2984
+ const entries = {};
2985
+ let counter = 1;
2986
+ for (const entry of input) {
2987
+ if (entry === null) {
2988
+ continue;
2989
+ }
2990
+ entries[`member.${counter}`] = entry;
2991
+ counter++;
2992
+ }
2993
+ return entries;
2994
+ }, "se_Subnets");
2995
+ var se_Tag = /* @__PURE__ */ __name((input, context) => {
2996
+ const entries = {};
2997
+ if (input[_K] != null) {
2998
+ entries[_K] = input[_K];
2999
+ }
3000
+ if (input[_Va] != null) {
3001
+ entries[_Va] = input[_Va];
3002
+ }
3003
+ return entries;
3004
+ }, "se_Tag");
3005
+ var se_TagKeyList = /* @__PURE__ */ __name((input, context) => {
3006
+ const entries = {};
3007
+ let counter = 1;
3008
+ for (const entry of input) {
3009
+ if (entry === null) {
3010
+ continue;
3011
+ }
3012
+ const memberEntries = se_TagKeyOnly(entry, context);
3013
+ Object.entries(memberEntries).forEach(([key, value]) => {
3014
+ entries[`member.${counter}.${key}`] = value;
3015
+ });
3016
+ counter++;
3017
+ }
3018
+ return entries;
3019
+ }, "se_TagKeyList");
3020
+ var se_TagKeyOnly = /* @__PURE__ */ __name((input, context) => {
3021
+ const entries = {};
3022
+ if (input[_K] != null) {
3023
+ entries[_K] = input[_K];
3024
+ }
3025
+ return entries;
3026
+ }, "se_TagKeyOnly");
3027
+ var se_TagList = /* @__PURE__ */ __name((input, context) => {
3028
+ const entries = {};
3029
+ let counter = 1;
3030
+ for (const entry of input) {
3031
+ if (entry === null) {
3032
+ continue;
3033
+ }
3034
+ const memberEntries = se_Tag(entry, context);
3035
+ Object.entries(memberEntries).forEach(([key, value]) => {
3036
+ entries[`member.${counter}.${key}`] = value;
3037
+ });
3038
+ counter++;
3039
+ }
3040
+ return entries;
3041
+ }, "se_TagList");
3042
+ var de_AccessLog = /* @__PURE__ */ __name((output, context) => {
3043
+ const contents = {};
3044
+ if (output[_E] != null) {
3045
+ contents[_E] = (0, import_smithy_client.parseBoolean)(output[_E]);
3046
+ }
3047
+ if (output[_SBN] != null) {
3048
+ contents[_SBN] = (0, import_smithy_client.expectString)(output[_SBN]);
3049
+ }
3050
+ if (output[_EI] != null) {
3051
+ contents[_EI] = (0, import_smithy_client.strictParseInt32)(output[_EI]);
3052
+ }
3053
+ if (output[_SBP] != null) {
3054
+ contents[_SBP] = (0, import_smithy_client.expectString)(output[_SBP]);
3055
+ }
3056
+ return contents;
3057
+ }, "de_AccessLog");
3058
+ var de_AccessPointNotFoundException = /* @__PURE__ */ __name((output, context) => {
3059
+ const contents = {};
3060
+ if (output[_Me] != null) {
3061
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3062
+ }
3063
+ return contents;
3064
+ }, "de_AccessPointNotFoundException");
3065
+ var de_AddAvailabilityZonesOutput = /* @__PURE__ */ __name((output, context) => {
3066
+ const contents = {};
3067
+ if (output.AvailabilityZones === "") {
3068
+ contents[_AZ] = [];
3069
+ } else if (output[_AZ] != null && output[_AZ][_m] != null) {
3070
+ contents[_AZ] = de_AvailabilityZones((0, import_smithy_client.getArrayIfSingleItem)(output[_AZ][_m]), context);
3071
+ }
3072
+ return contents;
3073
+ }, "de_AddAvailabilityZonesOutput");
3074
+ var de_AdditionalAttribute = /* @__PURE__ */ __name((output, context) => {
3075
+ const contents = {};
3076
+ if (output[_K] != null) {
3077
+ contents[_K] = (0, import_smithy_client.expectString)(output[_K]);
3078
+ }
3079
+ if (output[_Va] != null) {
3080
+ contents[_Va] = (0, import_smithy_client.expectString)(output[_Va]);
3081
+ }
3082
+ return contents;
3083
+ }, "de_AdditionalAttribute");
3084
+ var de_AdditionalAttributes = /* @__PURE__ */ __name((output, context) => {
3085
+ return (output || []).filter((e) => e != null).map((entry) => {
3086
+ return de_AdditionalAttribute(entry, context);
3087
+ });
3088
+ }, "de_AdditionalAttributes");
3089
+ var de_AddTagsOutput = /* @__PURE__ */ __name((output, context) => {
3090
+ const contents = {};
3091
+ return contents;
3092
+ }, "de_AddTagsOutput");
3093
+ var de_AppCookieStickinessPolicies = /* @__PURE__ */ __name((output, context) => {
3094
+ return (output || []).filter((e) => e != null).map((entry) => {
3095
+ return de_AppCookieStickinessPolicy(entry, context);
3096
+ });
3097
+ }, "de_AppCookieStickinessPolicies");
3098
+ var de_AppCookieStickinessPolicy = /* @__PURE__ */ __name((output, context) => {
3099
+ const contents = {};
3100
+ if (output[_PN] != null) {
3101
+ contents[_PN] = (0, import_smithy_client.expectString)(output[_PN]);
3102
+ }
3103
+ if (output[_CN] != null) {
3104
+ contents[_CN] = (0, import_smithy_client.expectString)(output[_CN]);
3105
+ }
3106
+ return contents;
3107
+ }, "de_AppCookieStickinessPolicy");
3108
+ var de_ApplySecurityGroupsToLoadBalancerOutput = /* @__PURE__ */ __name((output, context) => {
3109
+ const contents = {};
3110
+ if (output.SecurityGroups === "") {
3111
+ contents[_SG] = [];
3112
+ } else if (output[_SG] != null && output[_SG][_m] != null) {
3113
+ contents[_SG] = de_SecurityGroups((0, import_smithy_client.getArrayIfSingleItem)(output[_SG][_m]), context);
3114
+ }
3115
+ return contents;
3116
+ }, "de_ApplySecurityGroupsToLoadBalancerOutput");
3117
+ var de_AttachLoadBalancerToSubnetsOutput = /* @__PURE__ */ __name((output, context) => {
3118
+ const contents = {};
3119
+ if (output.Subnets === "") {
3120
+ contents[_S] = [];
3121
+ } else if (output[_S] != null && output[_S][_m] != null) {
3122
+ contents[_S] = de_Subnets((0, import_smithy_client.getArrayIfSingleItem)(output[_S][_m]), context);
3123
+ }
3124
+ return contents;
3125
+ }, "de_AttachLoadBalancerToSubnetsOutput");
3126
+ var de_AvailabilityZones = /* @__PURE__ */ __name((output, context) => {
3127
+ return (output || []).filter((e) => e != null).map((entry) => {
3128
+ return (0, import_smithy_client.expectString)(entry);
3129
+ });
3130
+ }, "de_AvailabilityZones");
3131
+ var de_BackendServerDescription = /* @__PURE__ */ __name((output, context) => {
3132
+ const contents = {};
3133
+ if (output[_IPn] != null) {
3134
+ contents[_IPn] = (0, import_smithy_client.strictParseInt32)(output[_IPn]);
3135
+ }
3136
+ if (output.PolicyNames === "") {
3137
+ contents[_PNo] = [];
3138
+ } else if (output[_PNo] != null && output[_PNo][_m] != null) {
3139
+ contents[_PNo] = de_PolicyNames((0, import_smithy_client.getArrayIfSingleItem)(output[_PNo][_m]), context);
3140
+ }
3141
+ return contents;
3142
+ }, "de_BackendServerDescription");
3143
+ var de_BackendServerDescriptions = /* @__PURE__ */ __name((output, context) => {
3144
+ return (output || []).filter((e) => e != null).map((entry) => {
3145
+ return de_BackendServerDescription(entry, context);
3146
+ });
3147
+ }, "de_BackendServerDescriptions");
3148
+ var de_CertificateNotFoundException = /* @__PURE__ */ __name((output, context) => {
3149
+ const contents = {};
3150
+ if (output[_Me] != null) {
3151
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3152
+ }
3153
+ return contents;
3154
+ }, "de_CertificateNotFoundException");
3155
+ var de_ConfigureHealthCheckOutput = /* @__PURE__ */ __name((output, context) => {
3156
+ const contents = {};
3157
+ if (output[_HC] != null) {
3158
+ contents[_HC] = de_HealthCheck(output[_HC], context);
3159
+ }
3160
+ return contents;
3161
+ }, "de_ConfigureHealthCheckOutput");
3162
+ var de_ConnectionDraining = /* @__PURE__ */ __name((output, context) => {
3163
+ const contents = {};
3164
+ if (output[_E] != null) {
3165
+ contents[_E] = (0, import_smithy_client.parseBoolean)(output[_E]);
3166
+ }
3167
+ if (output[_Ti] != null) {
3168
+ contents[_Ti] = (0, import_smithy_client.strictParseInt32)(output[_Ti]);
3169
+ }
3170
+ return contents;
3171
+ }, "de_ConnectionDraining");
3172
+ var de_ConnectionSettings = /* @__PURE__ */ __name((output, context) => {
3173
+ const contents = {};
3174
+ if (output[_IT] != null) {
3175
+ contents[_IT] = (0, import_smithy_client.strictParseInt32)(output[_IT]);
3176
+ }
3177
+ return contents;
3178
+ }, "de_ConnectionSettings");
3179
+ var de_CreateAccessPointOutput = /* @__PURE__ */ __name((output, context) => {
3180
+ const contents = {};
3181
+ if (output[_DNSN] != null) {
3182
+ contents[_DNSN] = (0, import_smithy_client.expectString)(output[_DNSN]);
3183
+ }
3184
+ return contents;
3185
+ }, "de_CreateAccessPointOutput");
3186
+ var de_CreateAppCookieStickinessPolicyOutput = /* @__PURE__ */ __name((output, context) => {
3187
+ const contents = {};
3188
+ return contents;
3189
+ }, "de_CreateAppCookieStickinessPolicyOutput");
3190
+ var de_CreateLBCookieStickinessPolicyOutput = /* @__PURE__ */ __name((output, context) => {
3191
+ const contents = {};
3192
+ return contents;
3193
+ }, "de_CreateLBCookieStickinessPolicyOutput");
3194
+ var de_CreateLoadBalancerListenerOutput = /* @__PURE__ */ __name((output, context) => {
3195
+ const contents = {};
3196
+ return contents;
3197
+ }, "de_CreateLoadBalancerListenerOutput");
3198
+ var de_CreateLoadBalancerPolicyOutput = /* @__PURE__ */ __name((output, context) => {
3199
+ const contents = {};
3200
+ return contents;
3201
+ }, "de_CreateLoadBalancerPolicyOutput");
3202
+ var de_CrossZoneLoadBalancing = /* @__PURE__ */ __name((output, context) => {
3203
+ const contents = {};
3204
+ if (output[_E] != null) {
3205
+ contents[_E] = (0, import_smithy_client.parseBoolean)(output[_E]);
3206
+ }
3207
+ return contents;
3208
+ }, "de_CrossZoneLoadBalancing");
3209
+ var de_DeleteAccessPointOutput = /* @__PURE__ */ __name((output, context) => {
3210
+ const contents = {};
3211
+ return contents;
3212
+ }, "de_DeleteAccessPointOutput");
3213
+ var de_DeleteLoadBalancerListenerOutput = /* @__PURE__ */ __name((output, context) => {
3214
+ const contents = {};
3215
+ return contents;
3216
+ }, "de_DeleteLoadBalancerListenerOutput");
3217
+ var de_DeleteLoadBalancerPolicyOutput = /* @__PURE__ */ __name((output, context) => {
3218
+ const contents = {};
3219
+ return contents;
3220
+ }, "de_DeleteLoadBalancerPolicyOutput");
3221
+ var de_DependencyThrottleException = /* @__PURE__ */ __name((output, context) => {
3222
+ const contents = {};
3223
+ if (output[_Me] != null) {
3224
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3225
+ }
3226
+ return contents;
3227
+ }, "de_DependencyThrottleException");
3228
+ var de_DeregisterEndPointsOutput = /* @__PURE__ */ __name((output, context) => {
3229
+ const contents = {};
3230
+ if (output.Instances === "") {
3231
+ contents[_I] = [];
3232
+ } else if (output[_I] != null && output[_I][_m] != null) {
3233
+ contents[_I] = de_Instances((0, import_smithy_client.getArrayIfSingleItem)(output[_I][_m]), context);
3234
+ }
3235
+ return contents;
3236
+ }, "de_DeregisterEndPointsOutput");
3237
+ var de_DescribeAccessPointsOutput = /* @__PURE__ */ __name((output, context) => {
3238
+ const contents = {};
3239
+ if (output.LoadBalancerDescriptions === "") {
3240
+ contents[_LBD] = [];
3241
+ } else if (output[_LBD] != null && output[_LBD][_m] != null) {
3242
+ contents[_LBD] = de_LoadBalancerDescriptions((0, import_smithy_client.getArrayIfSingleItem)(output[_LBD][_m]), context);
3243
+ }
3244
+ if (output[_NM] != null) {
3245
+ contents[_NM] = (0, import_smithy_client.expectString)(output[_NM]);
3246
+ }
3247
+ return contents;
3248
+ }, "de_DescribeAccessPointsOutput");
3249
+ var de_DescribeAccountLimitsOutput = /* @__PURE__ */ __name((output, context) => {
3250
+ const contents = {};
3251
+ if (output.Limits === "") {
3252
+ contents[_Li] = [];
3253
+ } else if (output[_Li] != null && output[_Li][_m] != null) {
3254
+ contents[_Li] = de_Limits((0, import_smithy_client.getArrayIfSingleItem)(output[_Li][_m]), context);
3255
+ }
3256
+ if (output[_NM] != null) {
3257
+ contents[_NM] = (0, import_smithy_client.expectString)(output[_NM]);
3258
+ }
3259
+ return contents;
3260
+ }, "de_DescribeAccountLimitsOutput");
3261
+ var de_DescribeEndPointStateOutput = /* @__PURE__ */ __name((output, context) => {
3262
+ const contents = {};
3263
+ if (output.InstanceStates === "") {
3264
+ contents[_IS] = [];
3265
+ } else if (output[_IS] != null && output[_IS][_m] != null) {
3266
+ contents[_IS] = de_InstanceStates((0, import_smithy_client.getArrayIfSingleItem)(output[_IS][_m]), context);
3267
+ }
3268
+ return contents;
3269
+ }, "de_DescribeEndPointStateOutput");
3270
+ var de_DescribeLoadBalancerAttributesOutput = /* @__PURE__ */ __name((output, context) => {
3271
+ const contents = {};
3272
+ if (output[_LBA] != null) {
3273
+ contents[_LBA] = de_LoadBalancerAttributes(output[_LBA], context);
3274
+ }
3275
+ return contents;
3276
+ }, "de_DescribeLoadBalancerAttributesOutput");
3277
+ var de_DescribeLoadBalancerPoliciesOutput = /* @__PURE__ */ __name((output, context) => {
3278
+ const contents = {};
3279
+ if (output.PolicyDescriptions === "") {
3280
+ contents[_PD] = [];
3281
+ } else if (output[_PD] != null && output[_PD][_m] != null) {
3282
+ contents[_PD] = de_PolicyDescriptions((0, import_smithy_client.getArrayIfSingleItem)(output[_PD][_m]), context);
3283
+ }
3284
+ return contents;
3285
+ }, "de_DescribeLoadBalancerPoliciesOutput");
3286
+ var de_DescribeLoadBalancerPolicyTypesOutput = /* @__PURE__ */ __name((output, context) => {
3287
+ const contents = {};
3288
+ if (output.PolicyTypeDescriptions === "") {
3289
+ contents[_PTD] = [];
3290
+ } else if (output[_PTD] != null && output[_PTD][_m] != null) {
3291
+ contents[_PTD] = de_PolicyTypeDescriptions((0, import_smithy_client.getArrayIfSingleItem)(output[_PTD][_m]), context);
3292
+ }
3293
+ return contents;
3294
+ }, "de_DescribeLoadBalancerPolicyTypesOutput");
3295
+ var de_DescribeTagsOutput = /* @__PURE__ */ __name((output, context) => {
3296
+ const contents = {};
3297
+ if (output.TagDescriptions === "") {
3298
+ contents[_TD] = [];
3299
+ } else if (output[_TD] != null && output[_TD][_m] != null) {
3300
+ contents[_TD] = de_TagDescriptions((0, import_smithy_client.getArrayIfSingleItem)(output[_TD][_m]), context);
3301
+ }
3302
+ return contents;
3303
+ }, "de_DescribeTagsOutput");
3304
+ var de_DetachLoadBalancerFromSubnetsOutput = /* @__PURE__ */ __name((output, context) => {
3305
+ const contents = {};
3306
+ if (output.Subnets === "") {
3307
+ contents[_S] = [];
3308
+ } else if (output[_S] != null && output[_S][_m] != null) {
3309
+ contents[_S] = de_Subnets((0, import_smithy_client.getArrayIfSingleItem)(output[_S][_m]), context);
3310
+ }
3311
+ return contents;
3312
+ }, "de_DetachLoadBalancerFromSubnetsOutput");
3313
+ var de_DuplicateAccessPointNameException = /* @__PURE__ */ __name((output, context) => {
3314
+ const contents = {};
3315
+ if (output[_Me] != null) {
3316
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3317
+ }
3318
+ return contents;
3319
+ }, "de_DuplicateAccessPointNameException");
3320
+ var de_DuplicateListenerException = /* @__PURE__ */ __name((output, context) => {
3321
+ const contents = {};
3322
+ if (output[_Me] != null) {
3323
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3324
+ }
3325
+ return contents;
3326
+ }, "de_DuplicateListenerException");
3327
+ var de_DuplicatePolicyNameException = /* @__PURE__ */ __name((output, context) => {
3328
+ const contents = {};
3329
+ if (output[_Me] != null) {
3330
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3331
+ }
3332
+ return contents;
3333
+ }, "de_DuplicatePolicyNameException");
3334
+ var de_DuplicateTagKeysException = /* @__PURE__ */ __name((output, context) => {
3335
+ const contents = {};
3336
+ if (output[_Me] != null) {
3337
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3338
+ }
3339
+ return contents;
3340
+ }, "de_DuplicateTagKeysException");
3341
+ var de_HealthCheck = /* @__PURE__ */ __name((output, context) => {
3342
+ const contents = {};
3343
+ if (output[_Ta] != null) {
3344
+ contents[_Ta] = (0, import_smithy_client.expectString)(output[_Ta]);
3345
+ }
3346
+ if (output[_In] != null) {
3347
+ contents[_In] = (0, import_smithy_client.strictParseInt32)(output[_In]);
3348
+ }
3349
+ if (output[_Ti] != null) {
3350
+ contents[_Ti] = (0, import_smithy_client.strictParseInt32)(output[_Ti]);
3351
+ }
3352
+ if (output[_UT] != null) {
3353
+ contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_UT]);
3354
+ }
3355
+ if (output[_HT] != null) {
3356
+ contents[_HT] = (0, import_smithy_client.strictParseInt32)(output[_HT]);
3357
+ }
3358
+ return contents;
3359
+ }, "de_HealthCheck");
3360
+ var de_Instance = /* @__PURE__ */ __name((output, context) => {
3361
+ const contents = {};
3362
+ if (output[_II] != null) {
3363
+ contents[_II] = (0, import_smithy_client.expectString)(output[_II]);
3364
+ }
3365
+ return contents;
3366
+ }, "de_Instance");
3367
+ var de_Instances = /* @__PURE__ */ __name((output, context) => {
3368
+ return (output || []).filter((e) => e != null).map((entry) => {
3369
+ return de_Instance(entry, context);
3370
+ });
3371
+ }, "de_Instances");
3372
+ var de_InstanceState = /* @__PURE__ */ __name((output, context) => {
3373
+ const contents = {};
3374
+ if (output[_II] != null) {
3375
+ contents[_II] = (0, import_smithy_client.expectString)(output[_II]);
3376
+ }
3377
+ if (output[_St] != null) {
3378
+ contents[_St] = (0, import_smithy_client.expectString)(output[_St]);
3379
+ }
3380
+ if (output[_RC] != null) {
3381
+ contents[_RC] = (0, import_smithy_client.expectString)(output[_RC]);
3382
+ }
3383
+ if (output[_D] != null) {
3384
+ contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
3385
+ }
3386
+ return contents;
3387
+ }, "de_InstanceState");
3388
+ var de_InstanceStates = /* @__PURE__ */ __name((output, context) => {
3389
+ return (output || []).filter((e) => e != null).map((entry) => {
3390
+ return de_InstanceState(entry, context);
3391
+ });
3392
+ }, "de_InstanceStates");
3393
+ var de_InvalidConfigurationRequestException = /* @__PURE__ */ __name((output, context) => {
3394
+ const contents = {};
3395
+ if (output[_Me] != null) {
3396
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3397
+ }
3398
+ return contents;
3399
+ }, "de_InvalidConfigurationRequestException");
3400
+ var de_InvalidEndPointException = /* @__PURE__ */ __name((output, context) => {
3401
+ const contents = {};
3402
+ if (output[_Me] != null) {
3403
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3404
+ }
3405
+ return contents;
3406
+ }, "de_InvalidEndPointException");
3407
+ var de_InvalidSchemeException = /* @__PURE__ */ __name((output, context) => {
3408
+ const contents = {};
3409
+ if (output[_Me] != null) {
3410
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3411
+ }
3412
+ return contents;
3413
+ }, "de_InvalidSchemeException");
3414
+ var de_InvalidSecurityGroupException = /* @__PURE__ */ __name((output, context) => {
3415
+ const contents = {};
3416
+ if (output[_Me] != null) {
3417
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3418
+ }
3419
+ return contents;
3420
+ }, "de_InvalidSecurityGroupException");
3421
+ var de_InvalidSubnetException = /* @__PURE__ */ __name((output, context) => {
3422
+ const contents = {};
3423
+ if (output[_Me] != null) {
3424
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3425
+ }
3426
+ return contents;
3427
+ }, "de_InvalidSubnetException");
3428
+ var de_LBCookieStickinessPolicies = /* @__PURE__ */ __name((output, context) => {
3429
+ return (output || []).filter((e) => e != null).map((entry) => {
3430
+ return de_LBCookieStickinessPolicy(entry, context);
3431
+ });
3432
+ }, "de_LBCookieStickinessPolicies");
3433
+ var de_LBCookieStickinessPolicy = /* @__PURE__ */ __name((output, context) => {
3434
+ const contents = {};
3435
+ if (output[_PN] != null) {
3436
+ contents[_PN] = (0, import_smithy_client.expectString)(output[_PN]);
3437
+ }
3438
+ if (output[_CEP] != null) {
3439
+ contents[_CEP] = (0, import_smithy_client.strictParseLong)(output[_CEP]);
3440
+ }
3441
+ return contents;
3442
+ }, "de_LBCookieStickinessPolicy");
3443
+ var de_Limit = /* @__PURE__ */ __name((output, context) => {
3444
+ const contents = {};
3445
+ if (output[_N] != null) {
3446
+ contents[_N] = (0, import_smithy_client.expectString)(output[_N]);
3447
+ }
3448
+ if (output[_Ma] != null) {
3449
+ contents[_Ma] = (0, import_smithy_client.expectString)(output[_Ma]);
3450
+ }
3451
+ return contents;
3452
+ }, "de_Limit");
3453
+ var de_Limits = /* @__PURE__ */ __name((output, context) => {
3454
+ return (output || []).filter((e) => e != null).map((entry) => {
3455
+ return de_Limit(entry, context);
3456
+ });
3457
+ }, "de_Limits");
3458
+ var de_Listener = /* @__PURE__ */ __name((output, context) => {
3459
+ const contents = {};
3460
+ if (output[_P] != null) {
3461
+ contents[_P] = (0, import_smithy_client.expectString)(output[_P]);
3462
+ }
3463
+ if (output[_LBPo] != null) {
3464
+ contents[_LBPo] = (0, import_smithy_client.strictParseInt32)(output[_LBPo]);
3465
+ }
3466
+ if (output[_IP] != null) {
3467
+ contents[_IP] = (0, import_smithy_client.expectString)(output[_IP]);
3468
+ }
3469
+ if (output[_IPn] != null) {
3470
+ contents[_IPn] = (0, import_smithy_client.strictParseInt32)(output[_IPn]);
3471
+ }
3472
+ if (output[_SSLCI] != null) {
3473
+ contents[_SSLCI] = (0, import_smithy_client.expectString)(output[_SSLCI]);
3474
+ }
3475
+ return contents;
3476
+ }, "de_Listener");
3477
+ var de_ListenerDescription = /* @__PURE__ */ __name((output, context) => {
3478
+ const contents = {};
3479
+ if (output[_Lis] != null) {
3480
+ contents[_Lis] = de_Listener(output[_Lis], context);
3481
+ }
3482
+ if (output.PolicyNames === "") {
3483
+ contents[_PNo] = [];
3484
+ } else if (output[_PNo] != null && output[_PNo][_m] != null) {
3485
+ contents[_PNo] = de_PolicyNames((0, import_smithy_client.getArrayIfSingleItem)(output[_PNo][_m]), context);
3486
+ }
3487
+ return contents;
3488
+ }, "de_ListenerDescription");
3489
+ var de_ListenerDescriptions = /* @__PURE__ */ __name((output, context) => {
3490
+ return (output || []).filter((e) => e != null).map((entry) => {
3491
+ return de_ListenerDescription(entry, context);
3492
+ });
3493
+ }, "de_ListenerDescriptions");
3494
+ var de_ListenerNotFoundException = /* @__PURE__ */ __name((output, context) => {
3495
+ const contents = {};
3496
+ if (output[_Me] != null) {
3497
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3498
+ }
3499
+ return contents;
3500
+ }, "de_ListenerNotFoundException");
3501
+ var de_LoadBalancerAttributeNotFoundException = /* @__PURE__ */ __name((output, context) => {
3502
+ const contents = {};
3503
+ if (output[_Me] != null) {
3504
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3505
+ }
3506
+ return contents;
3507
+ }, "de_LoadBalancerAttributeNotFoundException");
3508
+ var de_LoadBalancerAttributes = /* @__PURE__ */ __name((output, context) => {
3509
+ const contents = {};
3510
+ if (output[_CZLB] != null) {
3511
+ contents[_CZLB] = de_CrossZoneLoadBalancing(output[_CZLB], context);
3512
+ }
3513
+ if (output[_AL] != null) {
3514
+ contents[_AL] = de_AccessLog(output[_AL], context);
3515
+ }
3516
+ if (output[_CD] != null) {
3517
+ contents[_CD] = de_ConnectionDraining(output[_CD], context);
3518
+ }
3519
+ if (output[_CS] != null) {
3520
+ contents[_CS] = de_ConnectionSettings(output[_CS], context);
3521
+ }
3522
+ if (output.AdditionalAttributes === "") {
3523
+ contents[_AA] = [];
3524
+ } else if (output[_AA] != null && output[_AA][_m] != null) {
3525
+ contents[_AA] = de_AdditionalAttributes((0, import_smithy_client.getArrayIfSingleItem)(output[_AA][_m]), context);
3526
+ }
3527
+ return contents;
3528
+ }, "de_LoadBalancerAttributes");
3529
+ var de_LoadBalancerDescription = /* @__PURE__ */ __name((output, context) => {
3530
+ const contents = {};
3531
+ if (output[_LBN] != null) {
3532
+ contents[_LBN] = (0, import_smithy_client.expectString)(output[_LBN]);
3533
+ }
3534
+ if (output[_DNSN] != null) {
3535
+ contents[_DNSN] = (0, import_smithy_client.expectString)(output[_DNSN]);
3536
+ }
3537
+ if (output[_CHZN] != null) {
3538
+ contents[_CHZN] = (0, import_smithy_client.expectString)(output[_CHZN]);
3539
+ }
3540
+ if (output[_CHZNID] != null) {
3541
+ contents[_CHZNID] = (0, import_smithy_client.expectString)(output[_CHZNID]);
3542
+ }
3543
+ if (output.ListenerDescriptions === "") {
3544
+ contents[_LD] = [];
3545
+ } else if (output[_LD] != null && output[_LD][_m] != null) {
3546
+ contents[_LD] = de_ListenerDescriptions((0, import_smithy_client.getArrayIfSingleItem)(output[_LD][_m]), context);
3547
+ }
3548
+ if (output[_Po] != null) {
3549
+ contents[_Po] = de_Policies(output[_Po], context);
3550
+ }
3551
+ if (output.BackendServerDescriptions === "") {
3552
+ contents[_BSD] = [];
3553
+ } else if (output[_BSD] != null && output[_BSD][_m] != null) {
3554
+ contents[_BSD] = de_BackendServerDescriptions((0, import_smithy_client.getArrayIfSingleItem)(output[_BSD][_m]), context);
3555
+ }
3556
+ if (output.AvailabilityZones === "") {
3557
+ contents[_AZ] = [];
3558
+ } else if (output[_AZ] != null && output[_AZ][_m] != null) {
3559
+ contents[_AZ] = de_AvailabilityZones((0, import_smithy_client.getArrayIfSingleItem)(output[_AZ][_m]), context);
3560
+ }
3561
+ if (output.Subnets === "") {
3562
+ contents[_S] = [];
3563
+ } else if (output[_S] != null && output[_S][_m] != null) {
3564
+ contents[_S] = de_Subnets((0, import_smithy_client.getArrayIfSingleItem)(output[_S][_m]), context);
3565
+ }
3566
+ if (output[_VPCI] != null) {
3567
+ contents[_VPCI] = (0, import_smithy_client.expectString)(output[_VPCI]);
3568
+ }
3569
+ if (output.Instances === "") {
3570
+ contents[_I] = [];
3571
+ } else if (output[_I] != null && output[_I][_m] != null) {
3572
+ contents[_I] = de_Instances((0, import_smithy_client.getArrayIfSingleItem)(output[_I][_m]), context);
3573
+ }
3574
+ if (output[_HC] != null) {
3575
+ contents[_HC] = de_HealthCheck(output[_HC], context);
3576
+ }
3577
+ if (output[_SSG] != null) {
3578
+ contents[_SSG] = de_SourceSecurityGroup(output[_SSG], context);
3579
+ }
3580
+ if (output.SecurityGroups === "") {
3581
+ contents[_SG] = [];
3582
+ } else if (output[_SG] != null && output[_SG][_m] != null) {
3583
+ contents[_SG] = de_SecurityGroups((0, import_smithy_client.getArrayIfSingleItem)(output[_SG][_m]), context);
3584
+ }
3585
+ if (output[_CT] != null) {
3586
+ contents[_CT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CT]));
3587
+ }
3588
+ if (output[_Sc] != null) {
3589
+ contents[_Sc] = (0, import_smithy_client.expectString)(output[_Sc]);
3590
+ }
3591
+ return contents;
3592
+ }, "de_LoadBalancerDescription");
3593
+ var de_LoadBalancerDescriptions = /* @__PURE__ */ __name((output, context) => {
3594
+ return (output || []).filter((e) => e != null).map((entry) => {
3595
+ return de_LoadBalancerDescription(entry, context);
3596
+ });
3597
+ }, "de_LoadBalancerDescriptions");
3598
+ var de_ModifyLoadBalancerAttributesOutput = /* @__PURE__ */ __name((output, context) => {
3599
+ const contents = {};
3600
+ if (output[_LBN] != null) {
3601
+ contents[_LBN] = (0, import_smithy_client.expectString)(output[_LBN]);
3602
+ }
3603
+ if (output[_LBA] != null) {
3604
+ contents[_LBA] = de_LoadBalancerAttributes(output[_LBA], context);
3605
+ }
3606
+ return contents;
3607
+ }, "de_ModifyLoadBalancerAttributesOutput");
3608
+ var de_OperationNotPermittedException = /* @__PURE__ */ __name((output, context) => {
3609
+ const contents = {};
3610
+ if (output[_Me] != null) {
3611
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3612
+ }
3613
+ return contents;
3614
+ }, "de_OperationNotPermittedException");
3615
+ var de_Policies = /* @__PURE__ */ __name((output, context) => {
3616
+ const contents = {};
3617
+ if (output.AppCookieStickinessPolicies === "") {
3618
+ contents[_ACSP] = [];
3619
+ } else if (output[_ACSP] != null && output[_ACSP][_m] != null) {
3620
+ contents[_ACSP] = de_AppCookieStickinessPolicies((0, import_smithy_client.getArrayIfSingleItem)(output[_ACSP][_m]), context);
3621
+ }
3622
+ if (output.LBCookieStickinessPolicies === "") {
3623
+ contents[_LBCSP] = [];
3624
+ } else if (output[_LBCSP] != null && output[_LBCSP][_m] != null) {
3625
+ contents[_LBCSP] = de_LBCookieStickinessPolicies((0, import_smithy_client.getArrayIfSingleItem)(output[_LBCSP][_m]), context);
3626
+ }
3627
+ if (output.OtherPolicies === "") {
3628
+ contents[_OP] = [];
3629
+ } else if (output[_OP] != null && output[_OP][_m] != null) {
3630
+ contents[_OP] = de_PolicyNames((0, import_smithy_client.getArrayIfSingleItem)(output[_OP][_m]), context);
3631
+ }
3632
+ return contents;
3633
+ }, "de_Policies");
3634
+ var de_PolicyAttributeDescription = /* @__PURE__ */ __name((output, context) => {
3635
+ const contents = {};
3636
+ if (output[_AN] != null) {
3637
+ contents[_AN] = (0, import_smithy_client.expectString)(output[_AN]);
3638
+ }
3639
+ if (output[_AV] != null) {
3640
+ contents[_AV] = (0, import_smithy_client.expectString)(output[_AV]);
3641
+ }
3642
+ return contents;
3643
+ }, "de_PolicyAttributeDescription");
3644
+ var de_PolicyAttributeDescriptions = /* @__PURE__ */ __name((output, context) => {
3645
+ return (output || []).filter((e) => e != null).map((entry) => {
3646
+ return de_PolicyAttributeDescription(entry, context);
3647
+ });
3648
+ }, "de_PolicyAttributeDescriptions");
3649
+ var de_PolicyAttributeTypeDescription = /* @__PURE__ */ __name((output, context) => {
3650
+ const contents = {};
3651
+ if (output[_AN] != null) {
3652
+ contents[_AN] = (0, import_smithy_client.expectString)(output[_AN]);
3653
+ }
3654
+ if (output[_ATt] != null) {
3655
+ contents[_ATt] = (0, import_smithy_client.expectString)(output[_ATt]);
3656
+ }
3657
+ if (output[_D] != null) {
3658
+ contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
3659
+ }
3660
+ if (output[_DV] != null) {
3661
+ contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);
3662
+ }
3663
+ if (output[_C] != null) {
3664
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
3665
+ }
3666
+ return contents;
3667
+ }, "de_PolicyAttributeTypeDescription");
3668
+ var de_PolicyAttributeTypeDescriptions = /* @__PURE__ */ __name((output, context) => {
3669
+ return (output || []).filter((e) => e != null).map((entry) => {
3670
+ return de_PolicyAttributeTypeDescription(entry, context);
3671
+ });
3672
+ }, "de_PolicyAttributeTypeDescriptions");
3673
+ var de_PolicyDescription = /* @__PURE__ */ __name((output, context) => {
3674
+ const contents = {};
3675
+ if (output[_PN] != null) {
3676
+ contents[_PN] = (0, import_smithy_client.expectString)(output[_PN]);
3677
+ }
3678
+ if (output[_PTN] != null) {
3679
+ contents[_PTN] = (0, import_smithy_client.expectString)(output[_PTN]);
3680
+ }
3681
+ if (output.PolicyAttributeDescriptions === "") {
3682
+ contents[_PAD] = [];
3683
+ } else if (output[_PAD] != null && output[_PAD][_m] != null) {
3684
+ contents[_PAD] = de_PolicyAttributeDescriptions((0, import_smithy_client.getArrayIfSingleItem)(output[_PAD][_m]), context);
3685
+ }
3686
+ return contents;
3687
+ }, "de_PolicyDescription");
3688
+ var de_PolicyDescriptions = /* @__PURE__ */ __name((output, context) => {
3689
+ return (output || []).filter((e) => e != null).map((entry) => {
3690
+ return de_PolicyDescription(entry, context);
3691
+ });
3692
+ }, "de_PolicyDescriptions");
3693
+ var de_PolicyNames = /* @__PURE__ */ __name((output, context) => {
3694
+ return (output || []).filter((e) => e != null).map((entry) => {
3695
+ return (0, import_smithy_client.expectString)(entry);
3696
+ });
3697
+ }, "de_PolicyNames");
3698
+ var de_PolicyNotFoundException = /* @__PURE__ */ __name((output, context) => {
3699
+ const contents = {};
3700
+ if (output[_Me] != null) {
3701
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3702
+ }
3703
+ return contents;
3704
+ }, "de_PolicyNotFoundException");
3705
+ var de_PolicyTypeDescription = /* @__PURE__ */ __name((output, context) => {
3706
+ const contents = {};
3707
+ if (output[_PTN] != null) {
3708
+ contents[_PTN] = (0, import_smithy_client.expectString)(output[_PTN]);
3709
+ }
3710
+ if (output[_D] != null) {
3711
+ contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
3712
+ }
3713
+ if (output.PolicyAttributeTypeDescriptions === "") {
3714
+ contents[_PATD] = [];
3715
+ } else if (output[_PATD] != null && output[_PATD][_m] != null) {
3716
+ contents[_PATD] = de_PolicyAttributeTypeDescriptions((0, import_smithy_client.getArrayIfSingleItem)(output[_PATD][_m]), context);
3717
+ }
3718
+ return contents;
3719
+ }, "de_PolicyTypeDescription");
3720
+ var de_PolicyTypeDescriptions = /* @__PURE__ */ __name((output, context) => {
3721
+ return (output || []).filter((e) => e != null).map((entry) => {
3722
+ return de_PolicyTypeDescription(entry, context);
3723
+ });
3724
+ }, "de_PolicyTypeDescriptions");
3725
+ var de_PolicyTypeNotFoundException = /* @__PURE__ */ __name((output, context) => {
3726
+ const contents = {};
3727
+ if (output[_Me] != null) {
3728
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3729
+ }
3730
+ return contents;
3731
+ }, "de_PolicyTypeNotFoundException");
3732
+ var de_RegisterEndPointsOutput = /* @__PURE__ */ __name((output, context) => {
3733
+ const contents = {};
3734
+ if (output.Instances === "") {
3735
+ contents[_I] = [];
3736
+ } else if (output[_I] != null && output[_I][_m] != null) {
3737
+ contents[_I] = de_Instances((0, import_smithy_client.getArrayIfSingleItem)(output[_I][_m]), context);
3738
+ }
3739
+ return contents;
3740
+ }, "de_RegisterEndPointsOutput");
3741
+ var de_RemoveAvailabilityZonesOutput = /* @__PURE__ */ __name((output, context) => {
3742
+ const contents = {};
3743
+ if (output.AvailabilityZones === "") {
3744
+ contents[_AZ] = [];
3745
+ } else if (output[_AZ] != null && output[_AZ][_m] != null) {
3746
+ contents[_AZ] = de_AvailabilityZones((0, import_smithy_client.getArrayIfSingleItem)(output[_AZ][_m]), context);
3747
+ }
3748
+ return contents;
3749
+ }, "de_RemoveAvailabilityZonesOutput");
3750
+ var de_RemoveTagsOutput = /* @__PURE__ */ __name((output, context) => {
3751
+ const contents = {};
3752
+ return contents;
3753
+ }, "de_RemoveTagsOutput");
3754
+ var de_SecurityGroups = /* @__PURE__ */ __name((output, context) => {
3755
+ return (output || []).filter((e) => e != null).map((entry) => {
3756
+ return (0, import_smithy_client.expectString)(entry);
3757
+ });
3758
+ }, "de_SecurityGroups");
3759
+ var de_SetLoadBalancerListenerSSLCertificateOutput = /* @__PURE__ */ __name((output, context) => {
3760
+ const contents = {};
3761
+ return contents;
3762
+ }, "de_SetLoadBalancerListenerSSLCertificateOutput");
3763
+ var de_SetLoadBalancerPoliciesForBackendServerOutput = /* @__PURE__ */ __name((output, context) => {
3764
+ const contents = {};
3765
+ return contents;
3766
+ }, "de_SetLoadBalancerPoliciesForBackendServerOutput");
3767
+ var de_SetLoadBalancerPoliciesOfListenerOutput = /* @__PURE__ */ __name((output, context) => {
3768
+ const contents = {};
3769
+ return contents;
3770
+ }, "de_SetLoadBalancerPoliciesOfListenerOutput");
3771
+ var de_SourceSecurityGroup = /* @__PURE__ */ __name((output, context) => {
3772
+ const contents = {};
3773
+ if (output[_OA] != null) {
3774
+ contents[_OA] = (0, import_smithy_client.expectString)(output[_OA]);
3775
+ }
3776
+ if (output[_GN] != null) {
3777
+ contents[_GN] = (0, import_smithy_client.expectString)(output[_GN]);
3778
+ }
3779
+ return contents;
3780
+ }, "de_SourceSecurityGroup");
3781
+ var de_SubnetNotFoundException = /* @__PURE__ */ __name((output, context) => {
3782
+ const contents = {};
3783
+ if (output[_Me] != null) {
3784
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3785
+ }
3786
+ return contents;
3787
+ }, "de_SubnetNotFoundException");
3788
+ var de_Subnets = /* @__PURE__ */ __name((output, context) => {
3789
+ return (output || []).filter((e) => e != null).map((entry) => {
3790
+ return (0, import_smithy_client.expectString)(entry);
3791
+ });
3792
+ }, "de_Subnets");
3793
+ var de_Tag = /* @__PURE__ */ __name((output, context) => {
3794
+ const contents = {};
3795
+ if (output[_K] != null) {
3796
+ contents[_K] = (0, import_smithy_client.expectString)(output[_K]);
3797
+ }
3798
+ if (output[_Va] != null) {
3799
+ contents[_Va] = (0, import_smithy_client.expectString)(output[_Va]);
3800
+ }
3801
+ return contents;
3802
+ }, "de_Tag");
3803
+ var de_TagDescription = /* @__PURE__ */ __name((output, context) => {
3804
+ const contents = {};
3805
+ if (output[_LBN] != null) {
3806
+ contents[_LBN] = (0, import_smithy_client.expectString)(output[_LBN]);
3807
+ }
3808
+ if (output.Tags === "") {
3809
+ contents[_T] = [];
3810
+ } else if (output[_T] != null && output[_T][_m] != null) {
3811
+ contents[_T] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_m]), context);
3812
+ }
3813
+ return contents;
3814
+ }, "de_TagDescription");
3815
+ var de_TagDescriptions = /* @__PURE__ */ __name((output, context) => {
3816
+ return (output || []).filter((e) => e != null).map((entry) => {
3817
+ return de_TagDescription(entry, context);
3818
+ });
3819
+ }, "de_TagDescriptions");
3820
+ var de_TagList = /* @__PURE__ */ __name((output, context) => {
3821
+ return (output || []).filter((e) => e != null).map((entry) => {
3822
+ return de_Tag(entry, context);
3823
+ });
3824
+ }, "de_TagList");
3825
+ var de_TooManyAccessPointsException = /* @__PURE__ */ __name((output, context) => {
3826
+ const contents = {};
3827
+ if (output[_Me] != null) {
3828
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3829
+ }
3830
+ return contents;
3831
+ }, "de_TooManyAccessPointsException");
3832
+ var de_TooManyPoliciesException = /* @__PURE__ */ __name((output, context) => {
3833
+ const contents = {};
3834
+ if (output[_Me] != null) {
3835
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3836
+ }
3837
+ return contents;
3838
+ }, "de_TooManyPoliciesException");
3839
+ var de_TooManyTagsException = /* @__PURE__ */ __name((output, context) => {
3840
+ const contents = {};
3841
+ if (output[_Me] != null) {
3842
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3843
+ }
3844
+ return contents;
3845
+ }, "de_TooManyTagsException");
3846
+ var de_UnsupportedProtocolException = /* @__PURE__ */ __name((output, context) => {
3847
+ const contents = {};
3848
+ if (output[_Me] != null) {
3849
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
3850
+ }
3851
+ return contents;
3852
+ }, "de_UnsupportedProtocolException");
3853
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3854
+ httpStatusCode: output.statusCode,
3855
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3856
+ extendedRequestId: output.headers["x-amz-id-2"],
3857
+ cfId: output.headers["x-amz-cf-id"]
3858
+ }), "deserializeMetadata");
3859
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
3860
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(ElasticLoadBalancingServiceException);
3861
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
3862
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3863
+ const contents = {
3864
+ protocol,
3865
+ hostname,
3866
+ port,
3867
+ method: "POST",
3868
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
3869
+ headers
3870
+ };
3871
+ if (resolvedHostname !== void 0) {
3872
+ contents.hostname = resolvedHostname;
3873
+ }
3874
+ if (body !== void 0) {
3875
+ contents.body = body;
3876
+ }
3877
+ return new import_protocol_http.HttpRequest(contents);
3878
+ }, "buildHttpRpcRequest");
3879
+ var SHARED_HEADERS = {
3880
+ "content-type": "application/x-www-form-urlencoded"
3881
+ };
3882
+ var _ = "2012-06-01";
3883
+ var _A = "Action";
3884
+ var _AA = "AdditionalAttributes";
3885
+ var _ACSP = "AppCookieStickinessPolicies";
3886
+ var _AL = "AccessLog";
3887
+ var _ALBTS = "AttachLoadBalancerToSubnets";
3888
+ var _AN = "AttributeName";
3889
+ var _ASGTLB = "ApplySecurityGroupsToLoadBalancer";
3890
+ var _AT = "AddTags";
3891
+ var _ATt = "AttributeType";
3892
+ var _AV = "AttributeValue";
3893
+ var _AZ = "AvailabilityZones";
3894
+ var _BSD = "BackendServerDescriptions";
3895
+ var _C = "Cardinality";
3896
+ var _CACSP = "CreateAppCookieStickinessPolicy";
3897
+ var _CD = "ConnectionDraining";
3898
+ var _CEP = "CookieExpirationPeriod";
3899
+ var _CHC = "ConfigureHealthCheck";
3900
+ var _CHZN = "CanonicalHostedZoneName";
3901
+ var _CHZNID = "CanonicalHostedZoneNameID";
3902
+ var _CLB = "CreateLoadBalancer";
3903
+ var _CLBCSP = "CreateLBCookieStickinessPolicy";
3904
+ var _CLBL = "CreateLoadBalancerListeners";
3905
+ var _CLBP = "CreateLoadBalancerPolicy";
3906
+ var _CN = "CookieName";
3907
+ var _CS = "ConnectionSettings";
3908
+ var _CT = "CreatedTime";
3909
+ var _CZLB = "CrossZoneLoadBalancing";
3910
+ var _D = "Description";
3911
+ var _DAL = "DescribeAccountLimits";
3912
+ var _DAZFLB = "DisableAvailabilityZonesForLoadBalancer";
3913
+ var _DIFLB = "DeregisterInstancesFromLoadBalancer";
3914
+ var _DIH = "DescribeInstanceHealth";
3915
+ var _DLB = "DeleteLoadBalancer";
3916
+ var _DLBA = "DescribeLoadBalancerAttributes";
3917
+ var _DLBFS = "DetachLoadBalancerFromSubnets";
3918
+ var _DLBL = "DeleteLoadBalancerListeners";
3919
+ var _DLBP = "DeleteLoadBalancerPolicy";
3920
+ var _DLBPT = "DescribeLoadBalancerPolicyTypes";
3921
+ var _DLBPe = "DescribeLoadBalancerPolicies";
3922
+ var _DLBe = "DescribeLoadBalancers";
3923
+ var _DNSN = "DNSName";
3924
+ var _DT = "DescribeTags";
3925
+ var _DV = "DefaultValue";
3926
+ var _E = "Enabled";
3927
+ var _EAZFLB = "EnableAvailabilityZonesForLoadBalancer";
3928
+ var _EI = "EmitInterval";
3929
+ var _GN = "GroupName";
3930
+ var _HC = "HealthCheck";
3931
+ var _HT = "HealthyThreshold";
3932
+ var _I = "Instances";
3933
+ var _II = "InstanceId";
3934
+ var _IP = "InstanceProtocol";
3935
+ var _IPn = "InstancePort";
3936
+ var _IS = "InstanceStates";
3937
+ var _IT = "IdleTimeout";
3938
+ var _In = "Interval";
3939
+ var _K = "Key";
3940
+ var _L = "Listeners";
3941
+ var _LBA = "LoadBalancerAttributes";
3942
+ var _LBCSP = "LBCookieStickinessPolicies";
3943
+ var _LBD = "LoadBalancerDescriptions";
3944
+ var _LBN = "LoadBalancerName";
3945
+ var _LBNo = "LoadBalancerNames";
3946
+ var _LBP = "LoadBalancerPorts";
3947
+ var _LBPo = "LoadBalancerPort";
3948
+ var _LD = "ListenerDescriptions";
3949
+ var _Li = "Limits";
3950
+ var _Lis = "Listener";
3951
+ var _M = "Marker";
3952
+ var _MLBA = "ModifyLoadBalancerAttributes";
3953
+ var _Ma = "Max";
3954
+ var _Me = "Message";
3955
+ var _N = "Name";
3956
+ var _NM = "NextMarker";
3957
+ var _OA = "OwnerAlias";
3958
+ var _OP = "OtherPolicies";
3959
+ var _P = "Protocol";
3960
+ var _PA = "PolicyAttributes";
3961
+ var _PAD = "PolicyAttributeDescriptions";
3962
+ var _PATD = "PolicyAttributeTypeDescriptions";
3963
+ var _PD = "PolicyDescriptions";
3964
+ var _PN = "PolicyName";
3965
+ var _PNo = "PolicyNames";
3966
+ var _PS = "PageSize";
3967
+ var _PTD = "PolicyTypeDescriptions";
3968
+ var _PTN = "PolicyTypeName";
3969
+ var _PTNo = "PolicyTypeNames";
3970
+ var _Po = "Policies";
3971
+ var _RC = "ReasonCode";
3972
+ var _RIWLB = "RegisterInstancesWithLoadBalancer";
3973
+ var _RT = "RemoveTags";
3974
+ var _S = "Subnets";
3975
+ var _SBN = "S3BucketName";
3976
+ var _SBP = "S3BucketPrefix";
3977
+ var _SG = "SecurityGroups";
3978
+ var _SLBLSSLC = "SetLoadBalancerListenerSSLCertificate";
3979
+ var _SLBPFBS = "SetLoadBalancerPoliciesForBackendServer";
3980
+ var _SLBPOL = "SetLoadBalancerPoliciesOfListener";
3981
+ var _SSG = "SourceSecurityGroup";
3982
+ var _SSLCI = "SSLCertificateId";
3983
+ var _Sc = "Scheme";
3984
+ var _St = "State";
3985
+ var _T = "Tags";
3986
+ var _TD = "TagDescriptions";
3987
+ var _Ta = "Target";
3988
+ var _Ti = "Timeout";
3989
+ var _UT = "UnhealthyThreshold";
3990
+ var _V = "Version";
3991
+ var _VPCI = "VPCId";
3992
+ var _Va = "Value";
3993
+ var _m = "member";
3994
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3995
+ if (encoded.length) {
3996
+ const parser = new import_fast_xml_parser.XMLParser({
3997
+ attributeNamePrefix: "",
3998
+ htmlEntities: true,
3999
+ ignoreAttributes: false,
4000
+ ignoreDeclaration: true,
4001
+ parseTagValue: false,
4002
+ trimValues: false,
4003
+ tagValueProcessor: (_2, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
4004
+ });
4005
+ parser.addEntity("#xD", "\r");
4006
+ parser.addEntity("#10", "\n");
4007
+ const parsedObj = parser.parse(encoded);
4008
+ const textNodeName = "#text";
4009
+ const key = Object.keys(parsedObj)[0];
4010
+ const parsedObjToReturn = parsedObj[key];
4011
+ if (parsedObjToReturn[textNodeName]) {
4012
+ parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
4013
+ delete parsedObjToReturn[textNodeName];
4014
+ }
4015
+ return (0, import_smithy_client.getValueFromTextNode)(parsedObjToReturn);
4016
+ }
4017
+ return {};
4018
+ }), "parseBody");
4019
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
4020
+ const value = await parseBody(errorBody, context);
4021
+ if (value.Error) {
4022
+ value.Error.message = value.Error.message ?? value.Error.Message;
4023
+ }
4024
+ return value;
4025
+ }, "parseErrorBody");
4026
+ var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString");
4027
+ var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
4028
+ var _a;
4029
+ if (((_a = data.Error) == null ? void 0 : _a.Code) !== void 0) {
4030
+ return data.Error.Code;
4031
+ }
4032
+ if (output.statusCode == 404) {
4033
+ return "NotFound";
4034
+ }
4035
+ }, "loadQueryErrorCode");
4036
+
4037
+ // src/commands/AddTagsCommand.ts
4038
+ var _AddTagsCommand = class _AddTagsCommand extends import_smithy_client.Command.classBuilder().ep({
4039
+ ...commonParams
4040
+ }).m(function(Command, cs, config, o) {
4041
+ return [
4042
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4043
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4044
+ ];
4045
+ }).s("ElasticLoadBalancing_v7", "AddTags", {}).n("ElasticLoadBalancingClient", "AddTagsCommand").f(void 0, void 0).ser(se_AddTagsCommand).de(de_AddTagsCommand).build() {
4046
+ };
4047
+ __name(_AddTagsCommand, "AddTagsCommand");
4048
+ var AddTagsCommand = _AddTagsCommand;
4049
+
4050
+ // src/commands/ApplySecurityGroupsToLoadBalancerCommand.ts
4051
+
4052
+
4053
+
4054
+
4055
+ var _ApplySecurityGroupsToLoadBalancerCommand = class _ApplySecurityGroupsToLoadBalancerCommand extends import_smithy_client.Command.classBuilder().ep({
4056
+ ...commonParams
4057
+ }).m(function(Command, cs, config, o) {
4058
+ return [
4059
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4060
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4061
+ ];
4062
+ }).s("ElasticLoadBalancing_v7", "ApplySecurityGroupsToLoadBalancer", {}).n("ElasticLoadBalancingClient", "ApplySecurityGroupsToLoadBalancerCommand").f(void 0, void 0).ser(se_ApplySecurityGroupsToLoadBalancerCommand).de(de_ApplySecurityGroupsToLoadBalancerCommand).build() {
4063
+ };
4064
+ __name(_ApplySecurityGroupsToLoadBalancerCommand, "ApplySecurityGroupsToLoadBalancerCommand");
4065
+ var ApplySecurityGroupsToLoadBalancerCommand = _ApplySecurityGroupsToLoadBalancerCommand;
4066
+
4067
+ // src/commands/AttachLoadBalancerToSubnetsCommand.ts
4068
+
4069
+
4070
+
4071
+
4072
+ var _AttachLoadBalancerToSubnetsCommand = class _AttachLoadBalancerToSubnetsCommand extends import_smithy_client.Command.classBuilder().ep({
4073
+ ...commonParams
4074
+ }).m(function(Command, cs, config, o) {
4075
+ return [
4076
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4077
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4078
+ ];
4079
+ }).s("ElasticLoadBalancing_v7", "AttachLoadBalancerToSubnets", {}).n("ElasticLoadBalancingClient", "AttachLoadBalancerToSubnetsCommand").f(void 0, void 0).ser(se_AttachLoadBalancerToSubnetsCommand).de(de_AttachLoadBalancerToSubnetsCommand).build() {
4080
+ };
4081
+ __name(_AttachLoadBalancerToSubnetsCommand, "AttachLoadBalancerToSubnetsCommand");
4082
+ var AttachLoadBalancerToSubnetsCommand = _AttachLoadBalancerToSubnetsCommand;
4083
+
4084
+ // src/commands/ConfigureHealthCheckCommand.ts
4085
+
4086
+
4087
+
4088
+
4089
+ var _ConfigureHealthCheckCommand = class _ConfigureHealthCheckCommand extends import_smithy_client.Command.classBuilder().ep({
4090
+ ...commonParams
4091
+ }).m(function(Command, cs, config, o) {
4092
+ return [
4093
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4094
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4095
+ ];
4096
+ }).s("ElasticLoadBalancing_v7", "ConfigureHealthCheck", {}).n("ElasticLoadBalancingClient", "ConfigureHealthCheckCommand").f(void 0, void 0).ser(se_ConfigureHealthCheckCommand).de(de_ConfigureHealthCheckCommand).build() {
4097
+ };
4098
+ __name(_ConfigureHealthCheckCommand, "ConfigureHealthCheckCommand");
4099
+ var ConfigureHealthCheckCommand = _ConfigureHealthCheckCommand;
4100
+
4101
+ // src/commands/CreateAppCookieStickinessPolicyCommand.ts
4102
+
4103
+
4104
+
4105
+
4106
+ var _CreateAppCookieStickinessPolicyCommand = class _CreateAppCookieStickinessPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
4107
+ ...commonParams
4108
+ }).m(function(Command, cs, config, o) {
4109
+ return [
4110
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4111
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4112
+ ];
4113
+ }).s("ElasticLoadBalancing_v7", "CreateAppCookieStickinessPolicy", {}).n("ElasticLoadBalancingClient", "CreateAppCookieStickinessPolicyCommand").f(void 0, void 0).ser(se_CreateAppCookieStickinessPolicyCommand).de(de_CreateAppCookieStickinessPolicyCommand).build() {
4114
+ };
4115
+ __name(_CreateAppCookieStickinessPolicyCommand, "CreateAppCookieStickinessPolicyCommand");
4116
+ var CreateAppCookieStickinessPolicyCommand = _CreateAppCookieStickinessPolicyCommand;
4117
+
4118
+ // src/commands/CreateLBCookieStickinessPolicyCommand.ts
4119
+
4120
+
4121
+
4122
+
4123
+ var _CreateLBCookieStickinessPolicyCommand = class _CreateLBCookieStickinessPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
4124
+ ...commonParams
4125
+ }).m(function(Command, cs, config, o) {
4126
+ return [
4127
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4128
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4129
+ ];
4130
+ }).s("ElasticLoadBalancing_v7", "CreateLBCookieStickinessPolicy", {}).n("ElasticLoadBalancingClient", "CreateLBCookieStickinessPolicyCommand").f(void 0, void 0).ser(se_CreateLBCookieStickinessPolicyCommand).de(de_CreateLBCookieStickinessPolicyCommand).build() {
4131
+ };
4132
+ __name(_CreateLBCookieStickinessPolicyCommand, "CreateLBCookieStickinessPolicyCommand");
4133
+ var CreateLBCookieStickinessPolicyCommand = _CreateLBCookieStickinessPolicyCommand;
4134
+
4135
+ // src/commands/CreateLoadBalancerCommand.ts
4136
+
4137
+
4138
+
4139
+
4140
+ var _CreateLoadBalancerCommand = class _CreateLoadBalancerCommand extends import_smithy_client.Command.classBuilder().ep({
4141
+ ...commonParams
4142
+ }).m(function(Command, cs, config, o) {
4143
+ return [
4144
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4145
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4146
+ ];
4147
+ }).s("ElasticLoadBalancing_v7", "CreateLoadBalancer", {}).n("ElasticLoadBalancingClient", "CreateLoadBalancerCommand").f(void 0, void 0).ser(se_CreateLoadBalancerCommand).de(de_CreateLoadBalancerCommand).build() {
4148
+ };
4149
+ __name(_CreateLoadBalancerCommand, "CreateLoadBalancerCommand");
4150
+ var CreateLoadBalancerCommand = _CreateLoadBalancerCommand;
4151
+
4152
+ // src/commands/CreateLoadBalancerListenersCommand.ts
4153
+
4154
+
4155
+
4156
+
4157
+ var _CreateLoadBalancerListenersCommand = class _CreateLoadBalancerListenersCommand extends import_smithy_client.Command.classBuilder().ep({
4158
+ ...commonParams
4159
+ }).m(function(Command, cs, config, o) {
4160
+ return [
4161
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4162
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4163
+ ];
4164
+ }).s("ElasticLoadBalancing_v7", "CreateLoadBalancerListeners", {}).n("ElasticLoadBalancingClient", "CreateLoadBalancerListenersCommand").f(void 0, void 0).ser(se_CreateLoadBalancerListenersCommand).de(de_CreateLoadBalancerListenersCommand).build() {
4165
+ };
4166
+ __name(_CreateLoadBalancerListenersCommand, "CreateLoadBalancerListenersCommand");
4167
+ var CreateLoadBalancerListenersCommand = _CreateLoadBalancerListenersCommand;
4168
+
4169
+ // src/commands/CreateLoadBalancerPolicyCommand.ts
4170
+
4171
+
4172
+
4173
+
4174
+ var _CreateLoadBalancerPolicyCommand = class _CreateLoadBalancerPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
4175
+ ...commonParams
4176
+ }).m(function(Command, cs, config, o) {
4177
+ return [
4178
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4179
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4180
+ ];
4181
+ }).s("ElasticLoadBalancing_v7", "CreateLoadBalancerPolicy", {}).n("ElasticLoadBalancingClient", "CreateLoadBalancerPolicyCommand").f(void 0, void 0).ser(se_CreateLoadBalancerPolicyCommand).de(de_CreateLoadBalancerPolicyCommand).build() {
4182
+ };
4183
+ __name(_CreateLoadBalancerPolicyCommand, "CreateLoadBalancerPolicyCommand");
4184
+ var CreateLoadBalancerPolicyCommand = _CreateLoadBalancerPolicyCommand;
4185
+
4186
+ // src/commands/DeleteLoadBalancerCommand.ts
4187
+
4188
+
4189
+
4190
+
4191
+ var _DeleteLoadBalancerCommand = class _DeleteLoadBalancerCommand extends import_smithy_client.Command.classBuilder().ep({
4192
+ ...commonParams
4193
+ }).m(function(Command, cs, config, o) {
4194
+ return [
4195
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4196
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4197
+ ];
4198
+ }).s("ElasticLoadBalancing_v7", "DeleteLoadBalancer", {}).n("ElasticLoadBalancingClient", "DeleteLoadBalancerCommand").f(void 0, void 0).ser(se_DeleteLoadBalancerCommand).de(de_DeleteLoadBalancerCommand).build() {
4199
+ };
4200
+ __name(_DeleteLoadBalancerCommand, "DeleteLoadBalancerCommand");
4201
+ var DeleteLoadBalancerCommand = _DeleteLoadBalancerCommand;
4202
+
4203
+ // src/commands/DeleteLoadBalancerListenersCommand.ts
4204
+
4205
+
4206
+
4207
+
4208
+ var _DeleteLoadBalancerListenersCommand = class _DeleteLoadBalancerListenersCommand extends import_smithy_client.Command.classBuilder().ep({
4209
+ ...commonParams
4210
+ }).m(function(Command, cs, config, o) {
4211
+ return [
4212
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4213
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4214
+ ];
4215
+ }).s("ElasticLoadBalancing_v7", "DeleteLoadBalancerListeners", {}).n("ElasticLoadBalancingClient", "DeleteLoadBalancerListenersCommand").f(void 0, void 0).ser(se_DeleteLoadBalancerListenersCommand).de(de_DeleteLoadBalancerListenersCommand).build() {
4216
+ };
4217
+ __name(_DeleteLoadBalancerListenersCommand, "DeleteLoadBalancerListenersCommand");
4218
+ var DeleteLoadBalancerListenersCommand = _DeleteLoadBalancerListenersCommand;
4219
+
4220
+ // src/commands/DeleteLoadBalancerPolicyCommand.ts
4221
+
4222
+
4223
+
4224
+
4225
+ var _DeleteLoadBalancerPolicyCommand = class _DeleteLoadBalancerPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
4226
+ ...commonParams
4227
+ }).m(function(Command, cs, config, o) {
4228
+ return [
4229
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4230
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4231
+ ];
4232
+ }).s("ElasticLoadBalancing_v7", "DeleteLoadBalancerPolicy", {}).n("ElasticLoadBalancingClient", "DeleteLoadBalancerPolicyCommand").f(void 0, void 0).ser(se_DeleteLoadBalancerPolicyCommand).de(de_DeleteLoadBalancerPolicyCommand).build() {
4233
+ };
4234
+ __name(_DeleteLoadBalancerPolicyCommand, "DeleteLoadBalancerPolicyCommand");
4235
+ var DeleteLoadBalancerPolicyCommand = _DeleteLoadBalancerPolicyCommand;
4236
+
4237
+ // src/commands/DeregisterInstancesFromLoadBalancerCommand.ts
4238
+
4239
+
4240
+
4241
+
4242
+ var _DeregisterInstancesFromLoadBalancerCommand = class _DeregisterInstancesFromLoadBalancerCommand extends import_smithy_client.Command.classBuilder().ep({
4243
+ ...commonParams
4244
+ }).m(function(Command, cs, config, o) {
4245
+ return [
4246
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4247
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4248
+ ];
4249
+ }).s("ElasticLoadBalancing_v7", "DeregisterInstancesFromLoadBalancer", {}).n("ElasticLoadBalancingClient", "DeregisterInstancesFromLoadBalancerCommand").f(void 0, void 0).ser(se_DeregisterInstancesFromLoadBalancerCommand).de(de_DeregisterInstancesFromLoadBalancerCommand).build() {
4250
+ };
4251
+ __name(_DeregisterInstancesFromLoadBalancerCommand, "DeregisterInstancesFromLoadBalancerCommand");
4252
+ var DeregisterInstancesFromLoadBalancerCommand = _DeregisterInstancesFromLoadBalancerCommand;
4253
+
4254
+ // src/commands/DescribeAccountLimitsCommand.ts
4255
+
4256
+
4257
+
4258
+
4259
+ var _DescribeAccountLimitsCommand = class _DescribeAccountLimitsCommand extends import_smithy_client.Command.classBuilder().ep({
4260
+ ...commonParams
4261
+ }).m(function(Command, cs, config, o) {
4262
+ return [
4263
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4264
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4265
+ ];
4266
+ }).s("ElasticLoadBalancing_v7", "DescribeAccountLimits", {}).n("ElasticLoadBalancingClient", "DescribeAccountLimitsCommand").f(void 0, void 0).ser(se_DescribeAccountLimitsCommand).de(de_DescribeAccountLimitsCommand).build() {
4267
+ };
4268
+ __name(_DescribeAccountLimitsCommand, "DescribeAccountLimitsCommand");
4269
+ var DescribeAccountLimitsCommand = _DescribeAccountLimitsCommand;
4270
+
4271
+ // src/commands/DescribeInstanceHealthCommand.ts
4272
+
4273
+
4274
+
4275
+
4276
+ var _DescribeInstanceHealthCommand = class _DescribeInstanceHealthCommand extends import_smithy_client.Command.classBuilder().ep({
4277
+ ...commonParams
4278
+ }).m(function(Command, cs, config, o) {
4279
+ return [
4280
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4281
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4282
+ ];
4283
+ }).s("ElasticLoadBalancing_v7", "DescribeInstanceHealth", {}).n("ElasticLoadBalancingClient", "DescribeInstanceHealthCommand").f(void 0, void 0).ser(se_DescribeInstanceHealthCommand).de(de_DescribeInstanceHealthCommand).build() {
4284
+ };
4285
+ __name(_DescribeInstanceHealthCommand, "DescribeInstanceHealthCommand");
4286
+ var DescribeInstanceHealthCommand = _DescribeInstanceHealthCommand;
4287
+
4288
+ // src/commands/DescribeLoadBalancerAttributesCommand.ts
4289
+
4290
+
4291
+
4292
+
4293
+ var _DescribeLoadBalancerAttributesCommand = class _DescribeLoadBalancerAttributesCommand extends import_smithy_client.Command.classBuilder().ep({
4294
+ ...commonParams
4295
+ }).m(function(Command, cs, config, o) {
4296
+ return [
4297
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4298
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4299
+ ];
4300
+ }).s("ElasticLoadBalancing_v7", "DescribeLoadBalancerAttributes", {}).n("ElasticLoadBalancingClient", "DescribeLoadBalancerAttributesCommand").f(void 0, void 0).ser(se_DescribeLoadBalancerAttributesCommand).de(de_DescribeLoadBalancerAttributesCommand).build() {
4301
+ };
4302
+ __name(_DescribeLoadBalancerAttributesCommand, "DescribeLoadBalancerAttributesCommand");
4303
+ var DescribeLoadBalancerAttributesCommand = _DescribeLoadBalancerAttributesCommand;
4304
+
4305
+ // src/commands/DescribeLoadBalancerPoliciesCommand.ts
4306
+
4307
+
4308
+
4309
+
4310
+ var _DescribeLoadBalancerPoliciesCommand = class _DescribeLoadBalancerPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
4311
+ ...commonParams
4312
+ }).m(function(Command, cs, config, o) {
4313
+ return [
4314
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4315
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4316
+ ];
4317
+ }).s("ElasticLoadBalancing_v7", "DescribeLoadBalancerPolicies", {}).n("ElasticLoadBalancingClient", "DescribeLoadBalancerPoliciesCommand").f(void 0, void 0).ser(se_DescribeLoadBalancerPoliciesCommand).de(de_DescribeLoadBalancerPoliciesCommand).build() {
4318
+ };
4319
+ __name(_DescribeLoadBalancerPoliciesCommand, "DescribeLoadBalancerPoliciesCommand");
4320
+ var DescribeLoadBalancerPoliciesCommand = _DescribeLoadBalancerPoliciesCommand;
4321
+
4322
+ // src/commands/DescribeLoadBalancerPolicyTypesCommand.ts
4323
+
4324
+
4325
+
4326
+
4327
+ var _DescribeLoadBalancerPolicyTypesCommand = class _DescribeLoadBalancerPolicyTypesCommand extends import_smithy_client.Command.classBuilder().ep({
4328
+ ...commonParams
4329
+ }).m(function(Command, cs, config, o) {
4330
+ return [
4331
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4332
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4333
+ ];
4334
+ }).s("ElasticLoadBalancing_v7", "DescribeLoadBalancerPolicyTypes", {}).n("ElasticLoadBalancingClient", "DescribeLoadBalancerPolicyTypesCommand").f(void 0, void 0).ser(se_DescribeLoadBalancerPolicyTypesCommand).de(de_DescribeLoadBalancerPolicyTypesCommand).build() {
4335
+ };
4336
+ __name(_DescribeLoadBalancerPolicyTypesCommand, "DescribeLoadBalancerPolicyTypesCommand");
4337
+ var DescribeLoadBalancerPolicyTypesCommand = _DescribeLoadBalancerPolicyTypesCommand;
4338
+
4339
+ // src/commands/DescribeLoadBalancersCommand.ts
4340
+
4341
+
4342
+
4343
+
4344
+ var _DescribeLoadBalancersCommand = class _DescribeLoadBalancersCommand extends import_smithy_client.Command.classBuilder().ep({
4345
+ ...commonParams
4346
+ }).m(function(Command, cs, config, o) {
4347
+ return [
4348
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4349
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4350
+ ];
4351
+ }).s("ElasticLoadBalancing_v7", "DescribeLoadBalancers", {}).n("ElasticLoadBalancingClient", "DescribeLoadBalancersCommand").f(void 0, void 0).ser(se_DescribeLoadBalancersCommand).de(de_DescribeLoadBalancersCommand).build() {
4352
+ };
4353
+ __name(_DescribeLoadBalancersCommand, "DescribeLoadBalancersCommand");
4354
+ var DescribeLoadBalancersCommand = _DescribeLoadBalancersCommand;
4355
+
4356
+ // src/commands/DescribeTagsCommand.ts
4357
+
4358
+
4359
+
4360
+
4361
+ var _DescribeTagsCommand = class _DescribeTagsCommand extends import_smithy_client.Command.classBuilder().ep({
4362
+ ...commonParams
4363
+ }).m(function(Command, cs, config, o) {
4364
+ return [
4365
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4366
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4367
+ ];
4368
+ }).s("ElasticLoadBalancing_v7", "DescribeTags", {}).n("ElasticLoadBalancingClient", "DescribeTagsCommand").f(void 0, void 0).ser(se_DescribeTagsCommand).de(de_DescribeTagsCommand).build() {
4369
+ };
4370
+ __name(_DescribeTagsCommand, "DescribeTagsCommand");
4371
+ var DescribeTagsCommand = _DescribeTagsCommand;
4372
+
4373
+ // src/commands/DetachLoadBalancerFromSubnetsCommand.ts
4374
+
4375
+
4376
+
4377
+
4378
+ var _DetachLoadBalancerFromSubnetsCommand = class _DetachLoadBalancerFromSubnetsCommand extends import_smithy_client.Command.classBuilder().ep({
4379
+ ...commonParams
4380
+ }).m(function(Command, cs, config, o) {
4381
+ return [
4382
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4383
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4384
+ ];
4385
+ }).s("ElasticLoadBalancing_v7", "DetachLoadBalancerFromSubnets", {}).n("ElasticLoadBalancingClient", "DetachLoadBalancerFromSubnetsCommand").f(void 0, void 0).ser(se_DetachLoadBalancerFromSubnetsCommand).de(de_DetachLoadBalancerFromSubnetsCommand).build() {
4386
+ };
4387
+ __name(_DetachLoadBalancerFromSubnetsCommand, "DetachLoadBalancerFromSubnetsCommand");
4388
+ var DetachLoadBalancerFromSubnetsCommand = _DetachLoadBalancerFromSubnetsCommand;
4389
+
4390
+ // src/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts
4391
+
4392
+
4393
+
4394
+
4395
+ var _DisableAvailabilityZonesForLoadBalancerCommand = class _DisableAvailabilityZonesForLoadBalancerCommand extends import_smithy_client.Command.classBuilder().ep({
4396
+ ...commonParams
4397
+ }).m(function(Command, cs, config, o) {
4398
+ return [
4399
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4400
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4401
+ ];
4402
+ }).s("ElasticLoadBalancing_v7", "DisableAvailabilityZonesForLoadBalancer", {}).n("ElasticLoadBalancingClient", "DisableAvailabilityZonesForLoadBalancerCommand").f(void 0, void 0).ser(se_DisableAvailabilityZonesForLoadBalancerCommand).de(de_DisableAvailabilityZonesForLoadBalancerCommand).build() {
4403
+ };
4404
+ __name(_DisableAvailabilityZonesForLoadBalancerCommand, "DisableAvailabilityZonesForLoadBalancerCommand");
4405
+ var DisableAvailabilityZonesForLoadBalancerCommand = _DisableAvailabilityZonesForLoadBalancerCommand;
4406
+
4407
+ // src/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts
4408
+
4409
+
4410
+
4411
+
4412
+ var _EnableAvailabilityZonesForLoadBalancerCommand = class _EnableAvailabilityZonesForLoadBalancerCommand extends import_smithy_client.Command.classBuilder().ep({
4413
+ ...commonParams
4414
+ }).m(function(Command, cs, config, o) {
4415
+ return [
4416
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4417
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4418
+ ];
4419
+ }).s("ElasticLoadBalancing_v7", "EnableAvailabilityZonesForLoadBalancer", {}).n("ElasticLoadBalancingClient", "EnableAvailabilityZonesForLoadBalancerCommand").f(void 0, void 0).ser(se_EnableAvailabilityZonesForLoadBalancerCommand).de(de_EnableAvailabilityZonesForLoadBalancerCommand).build() {
4420
+ };
4421
+ __name(_EnableAvailabilityZonesForLoadBalancerCommand, "EnableAvailabilityZonesForLoadBalancerCommand");
4422
+ var EnableAvailabilityZonesForLoadBalancerCommand = _EnableAvailabilityZonesForLoadBalancerCommand;
4423
+
4424
+ // src/commands/ModifyLoadBalancerAttributesCommand.ts
4425
+
4426
+
4427
+
4428
+
4429
+ var _ModifyLoadBalancerAttributesCommand = class _ModifyLoadBalancerAttributesCommand extends import_smithy_client.Command.classBuilder().ep({
4430
+ ...commonParams
4431
+ }).m(function(Command, cs, config, o) {
4432
+ return [
4433
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4434
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4435
+ ];
4436
+ }).s("ElasticLoadBalancing_v7", "ModifyLoadBalancerAttributes", {}).n("ElasticLoadBalancingClient", "ModifyLoadBalancerAttributesCommand").f(void 0, void 0).ser(se_ModifyLoadBalancerAttributesCommand).de(de_ModifyLoadBalancerAttributesCommand).build() {
4437
+ };
4438
+ __name(_ModifyLoadBalancerAttributesCommand, "ModifyLoadBalancerAttributesCommand");
4439
+ var ModifyLoadBalancerAttributesCommand = _ModifyLoadBalancerAttributesCommand;
4440
+
4441
+ // src/commands/RegisterInstancesWithLoadBalancerCommand.ts
4442
+
4443
+
4444
+
4445
+
4446
+ var _RegisterInstancesWithLoadBalancerCommand = class _RegisterInstancesWithLoadBalancerCommand extends import_smithy_client.Command.classBuilder().ep({
4447
+ ...commonParams
4448
+ }).m(function(Command, cs, config, o) {
4449
+ return [
4450
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4451
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4452
+ ];
4453
+ }).s("ElasticLoadBalancing_v7", "RegisterInstancesWithLoadBalancer", {}).n("ElasticLoadBalancingClient", "RegisterInstancesWithLoadBalancerCommand").f(void 0, void 0).ser(se_RegisterInstancesWithLoadBalancerCommand).de(de_RegisterInstancesWithLoadBalancerCommand).build() {
4454
+ };
4455
+ __name(_RegisterInstancesWithLoadBalancerCommand, "RegisterInstancesWithLoadBalancerCommand");
4456
+ var RegisterInstancesWithLoadBalancerCommand = _RegisterInstancesWithLoadBalancerCommand;
4457
+
4458
+ // src/commands/RemoveTagsCommand.ts
4459
+
4460
+
4461
+
4462
+
4463
+ var _RemoveTagsCommand = class _RemoveTagsCommand extends import_smithy_client.Command.classBuilder().ep({
4464
+ ...commonParams
4465
+ }).m(function(Command, cs, config, o) {
4466
+ return [
4467
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4468
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4469
+ ];
4470
+ }).s("ElasticLoadBalancing_v7", "RemoveTags", {}).n("ElasticLoadBalancingClient", "RemoveTagsCommand").f(void 0, void 0).ser(se_RemoveTagsCommand).de(de_RemoveTagsCommand).build() {
4471
+ };
4472
+ __name(_RemoveTagsCommand, "RemoveTagsCommand");
4473
+ var RemoveTagsCommand = _RemoveTagsCommand;
4474
+
4475
+ // src/commands/SetLoadBalancerListenerSSLCertificateCommand.ts
4476
+
4477
+
4478
+
4479
+
4480
+ var _SetLoadBalancerListenerSSLCertificateCommand = class _SetLoadBalancerListenerSSLCertificateCommand extends import_smithy_client.Command.classBuilder().ep({
4481
+ ...commonParams
4482
+ }).m(function(Command, cs, config, o) {
4483
+ return [
4484
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4485
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4486
+ ];
4487
+ }).s("ElasticLoadBalancing_v7", "SetLoadBalancerListenerSSLCertificate", {}).n("ElasticLoadBalancingClient", "SetLoadBalancerListenerSSLCertificateCommand").f(void 0, void 0).ser(se_SetLoadBalancerListenerSSLCertificateCommand).de(de_SetLoadBalancerListenerSSLCertificateCommand).build() {
4488
+ };
4489
+ __name(_SetLoadBalancerListenerSSLCertificateCommand, "SetLoadBalancerListenerSSLCertificateCommand");
4490
+ var SetLoadBalancerListenerSSLCertificateCommand = _SetLoadBalancerListenerSSLCertificateCommand;
4491
+
4492
+ // src/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts
4493
+
4494
+
4495
+
4496
+
4497
+ var _SetLoadBalancerPoliciesForBackendServerCommand = class _SetLoadBalancerPoliciesForBackendServerCommand extends import_smithy_client.Command.classBuilder().ep({
4498
+ ...commonParams
4499
+ }).m(function(Command, cs, config, o) {
4500
+ return [
4501
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4502
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4503
+ ];
4504
+ }).s("ElasticLoadBalancing_v7", "SetLoadBalancerPoliciesForBackendServer", {}).n("ElasticLoadBalancingClient", "SetLoadBalancerPoliciesForBackendServerCommand").f(void 0, void 0).ser(se_SetLoadBalancerPoliciesForBackendServerCommand).de(de_SetLoadBalancerPoliciesForBackendServerCommand).build() {
4505
+ };
4506
+ __name(_SetLoadBalancerPoliciesForBackendServerCommand, "SetLoadBalancerPoliciesForBackendServerCommand");
4507
+ var SetLoadBalancerPoliciesForBackendServerCommand = _SetLoadBalancerPoliciesForBackendServerCommand;
4508
+
4509
+ // src/commands/SetLoadBalancerPoliciesOfListenerCommand.ts
4510
+
4511
+
4512
+
4513
+
4514
+ var _SetLoadBalancerPoliciesOfListenerCommand = class _SetLoadBalancerPoliciesOfListenerCommand extends import_smithy_client.Command.classBuilder().ep({
4515
+ ...commonParams
4516
+ }).m(function(Command, cs, config, o) {
4517
+ return [
4518
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4519
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4520
+ ];
4521
+ }).s("ElasticLoadBalancing_v7", "SetLoadBalancerPoliciesOfListener", {}).n("ElasticLoadBalancingClient", "SetLoadBalancerPoliciesOfListenerCommand").f(void 0, void 0).ser(se_SetLoadBalancerPoliciesOfListenerCommand).de(de_SetLoadBalancerPoliciesOfListenerCommand).build() {
4522
+ };
4523
+ __name(_SetLoadBalancerPoliciesOfListenerCommand, "SetLoadBalancerPoliciesOfListenerCommand");
4524
+ var SetLoadBalancerPoliciesOfListenerCommand = _SetLoadBalancerPoliciesOfListenerCommand;
4525
+
4526
+ // src/ElasticLoadBalancing.ts
4527
+ var commands = {
4528
+ AddTagsCommand,
4529
+ ApplySecurityGroupsToLoadBalancerCommand,
4530
+ AttachLoadBalancerToSubnetsCommand,
4531
+ ConfigureHealthCheckCommand,
4532
+ CreateAppCookieStickinessPolicyCommand,
4533
+ CreateLBCookieStickinessPolicyCommand,
4534
+ CreateLoadBalancerCommand,
4535
+ CreateLoadBalancerListenersCommand,
4536
+ CreateLoadBalancerPolicyCommand,
4537
+ DeleteLoadBalancerCommand,
4538
+ DeleteLoadBalancerListenersCommand,
4539
+ DeleteLoadBalancerPolicyCommand,
4540
+ DeregisterInstancesFromLoadBalancerCommand,
4541
+ DescribeAccountLimitsCommand,
4542
+ DescribeInstanceHealthCommand,
4543
+ DescribeLoadBalancerAttributesCommand,
4544
+ DescribeLoadBalancerPoliciesCommand,
4545
+ DescribeLoadBalancerPolicyTypesCommand,
4546
+ DescribeLoadBalancersCommand,
4547
+ DescribeTagsCommand,
4548
+ DetachLoadBalancerFromSubnetsCommand,
4549
+ DisableAvailabilityZonesForLoadBalancerCommand,
4550
+ EnableAvailabilityZonesForLoadBalancerCommand,
4551
+ ModifyLoadBalancerAttributesCommand,
4552
+ RegisterInstancesWithLoadBalancerCommand,
4553
+ RemoveTagsCommand,
4554
+ SetLoadBalancerListenerSSLCertificateCommand,
4555
+ SetLoadBalancerPoliciesForBackendServerCommand,
4556
+ SetLoadBalancerPoliciesOfListenerCommand
4557
+ };
4558
+ var _ElasticLoadBalancing = class _ElasticLoadBalancing extends ElasticLoadBalancingClient {
4559
+ };
4560
+ __name(_ElasticLoadBalancing, "ElasticLoadBalancing");
4561
+ var ElasticLoadBalancing = _ElasticLoadBalancing;
4562
+ (0, import_smithy_client.createAggregatedClient)(commands, ElasticLoadBalancing);
4563
+
4564
+ // src/pagination/DescribeLoadBalancersPaginator.ts
4565
+ var import_core = require("@smithy/core");
4566
+ var paginateDescribeLoadBalancers = (0, import_core.createPaginator)(ElasticLoadBalancingClient, DescribeLoadBalancersCommand, "Marker", "NextMarker", "");
4567
+
4568
+ // src/waiters/waitForAnyInstanceInService.ts
4569
+ var import_util_waiter = require("@smithy/util-waiter");
4570
+ var checkState = /* @__PURE__ */ __name(async (client, input) => {
4571
+ let reason;
4572
+ try {
4573
+ const result = await client.send(new DescribeInstanceHealthCommand(input));
4574
+ reason = result;
4575
+ try {
4576
+ const returnComparator = /* @__PURE__ */ __name(() => {
4577
+ const flat_1 = [].concat(...result.InstanceStates);
4578
+ const projection_3 = flat_1.map((element_2) => {
4579
+ return element_2.State;
4580
+ });
4581
+ return projection_3;
4582
+ }, "returnComparator");
4583
+ for (const anyStringEq_4 of returnComparator()) {
4584
+ if (anyStringEq_4 == "InService") {
4585
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
4586
+ }
4587
+ }
4588
+ } catch (e) {
4589
+ }
4590
+ } catch (exception) {
4591
+ reason = exception;
4592
+ }
4593
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
4594
+ }, "checkState");
4595
+ var waitForAnyInstanceInService = /* @__PURE__ */ __name(async (params, input) => {
4596
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
4597
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
4598
+ }, "waitForAnyInstanceInService");
4599
+ var waitUntilAnyInstanceInService = /* @__PURE__ */ __name(async (params, input) => {
4600
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
4601
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
4602
+ return (0, import_util_waiter.checkExceptions)(result);
4603
+ }, "waitUntilAnyInstanceInService");
4604
+
4605
+ // src/waiters/waitForInstanceDeregistered.ts
4606
+
4607
+ var checkState2 = /* @__PURE__ */ __name(async (client, input) => {
4608
+ let reason;
4609
+ try {
4610
+ const result = await client.send(new DescribeInstanceHealthCommand(input));
4611
+ reason = result;
4612
+ try {
4613
+ const returnComparator = /* @__PURE__ */ __name(() => {
4614
+ const flat_1 = [].concat(...result.InstanceStates);
4615
+ const projection_3 = flat_1.map((element_2) => {
4616
+ return element_2.State;
4617
+ });
4618
+ return projection_3;
4619
+ }, "returnComparator");
4620
+ let allStringEq_5 = returnComparator().length > 0;
4621
+ for (const element_4 of returnComparator()) {
4622
+ allStringEq_5 = allStringEq_5 && element_4 == "OutOfService";
4623
+ }
4624
+ if (allStringEq_5) {
4625
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
4626
+ }
4627
+ } catch (e) {
4628
+ }
4629
+ } catch (exception) {
4630
+ reason = exception;
4631
+ if (exception.name && exception.name == "InvalidInstance") {
4632
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
4633
+ }
4634
+ }
4635
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
4636
+ }, "checkState");
4637
+ var waitForInstanceDeregistered = /* @__PURE__ */ __name(async (params, input) => {
4638
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
4639
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
4640
+ }, "waitForInstanceDeregistered");
4641
+ var waitUntilInstanceDeregistered = /* @__PURE__ */ __name(async (params, input) => {
4642
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
4643
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
4644
+ return (0, import_util_waiter.checkExceptions)(result);
4645
+ }, "waitUntilInstanceDeregistered");
4646
+
4647
+ // src/waiters/waitForInstanceInService.ts
4648
+
4649
+ var checkState3 = /* @__PURE__ */ __name(async (client, input) => {
4650
+ let reason;
4651
+ try {
4652
+ const result = await client.send(new DescribeInstanceHealthCommand(input));
4653
+ reason = result;
4654
+ try {
4655
+ const returnComparator = /* @__PURE__ */ __name(() => {
4656
+ const flat_1 = [].concat(...result.InstanceStates);
4657
+ const projection_3 = flat_1.map((element_2) => {
4658
+ return element_2.State;
4659
+ });
4660
+ return projection_3;
4661
+ }, "returnComparator");
4662
+ let allStringEq_5 = returnComparator().length > 0;
4663
+ for (const element_4 of returnComparator()) {
4664
+ allStringEq_5 = allStringEq_5 && element_4 == "InService";
4665
+ }
4666
+ if (allStringEq_5) {
4667
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
4668
+ }
4669
+ } catch (e) {
4670
+ }
4671
+ } catch (exception) {
4672
+ reason = exception;
4673
+ if (exception.name && exception.name == "InvalidInstance") {
4674
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
4675
+ }
4676
+ }
4677
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
4678
+ }, "checkState");
4679
+ var waitForInstanceInService = /* @__PURE__ */ __name(async (params, input) => {
4680
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
4681
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
4682
+ }, "waitForInstanceInService");
4683
+ var waitUntilInstanceInService = /* @__PURE__ */ __name(async (params, input) => {
4684
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
4685
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
4686
+ return (0, import_util_waiter.checkExceptions)(result);
4687
+ }, "waitUntilInstanceInService");
4688
+
4689
+ // src/index.ts
4690
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
4691
+ // Annotate the CommonJS export names for ESM import in node:
4692
+ 0 && (module.exports = {
4693
+ AccessPointNotFoundException,
4694
+ AddTagsCommand,
4695
+ ApplySecurityGroupsToLoadBalancerCommand,
4696
+ AttachLoadBalancerToSubnetsCommand,
4697
+ CertificateNotFoundException,
4698
+ ConfigureHealthCheckCommand,
4699
+ CreateAppCookieStickinessPolicyCommand,
4700
+ CreateLBCookieStickinessPolicyCommand,
4701
+ CreateLoadBalancerCommand,
4702
+ CreateLoadBalancerListenersCommand,
4703
+ CreateLoadBalancerPolicyCommand,
4704
+ DeleteLoadBalancerCommand,
4705
+ DeleteLoadBalancerListenersCommand,
4706
+ DeleteLoadBalancerPolicyCommand,
4707
+ DependencyThrottleException,
4708
+ DeregisterInstancesFromLoadBalancerCommand,
4709
+ DescribeAccountLimitsCommand,
4710
+ DescribeInstanceHealthCommand,
4711
+ DescribeLoadBalancerAttributesCommand,
4712
+ DescribeLoadBalancerPoliciesCommand,
4713
+ DescribeLoadBalancerPolicyTypesCommand,
4714
+ DescribeLoadBalancersCommand,
4715
+ DescribeTagsCommand,
4716
+ DetachLoadBalancerFromSubnetsCommand,
4717
+ DisableAvailabilityZonesForLoadBalancerCommand,
4718
+ DuplicateAccessPointNameException,
4719
+ DuplicateListenerException,
4720
+ DuplicatePolicyNameException,
4721
+ DuplicateTagKeysException,
4722
+ ElasticLoadBalancing,
4723
+ ElasticLoadBalancingClient,
4724
+ ElasticLoadBalancingServiceException,
4725
+ EnableAvailabilityZonesForLoadBalancerCommand,
4726
+ InvalidConfigurationRequestException,
4727
+ InvalidEndPointException,
4728
+ InvalidSchemeException,
4729
+ InvalidSecurityGroupException,
4730
+ InvalidSubnetException,
4731
+ ListenerNotFoundException,
4732
+ LoadBalancerAttributeNotFoundException,
4733
+ ModifyLoadBalancerAttributesCommand,
4734
+ OperationNotPermittedException,
4735
+ PolicyNotFoundException,
4736
+ PolicyTypeNotFoundException,
4737
+ RegisterInstancesWithLoadBalancerCommand,
4738
+ RemoveTagsCommand,
4739
+ SetLoadBalancerListenerSSLCertificateCommand,
4740
+ SetLoadBalancerPoliciesForBackendServerCommand,
4741
+ SetLoadBalancerPoliciesOfListenerCommand,
4742
+ SubnetNotFoundException,
4743
+ TooManyAccessPointsException,
4744
+ TooManyPoliciesException,
4745
+ TooManyTagsException,
4746
+ UnsupportedProtocolException,
4747
+ __Client,
4748
+ paginateDescribeLoadBalancers,
4749
+ waitForAnyInstanceInService,
4750
+ waitForInstanceDeregistered,
4751
+ waitForInstanceInService,
4752
+ waitUntilAnyInstanceInService,
4753
+ waitUntilInstanceDeregistered,
4754
+ waitUntilInstanceInService
4755
+ });