@aws-sdk/client-cloudsearch 3.489.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 (38) hide show
  1. package/dist-cjs/CloudSearch.js +1 -63
  2. package/dist-cjs/CloudSearchClient.js +1 -43
  3. package/dist-cjs/commands/BuildSuggestersCommand.js +1 -28
  4. package/dist-cjs/commands/CreateDomainCommand.js +1 -28
  5. package/dist-cjs/commands/DefineAnalysisSchemeCommand.js +1 -28
  6. package/dist-cjs/commands/DefineExpressionCommand.js +1 -28
  7. package/dist-cjs/commands/DefineIndexFieldCommand.js +1 -28
  8. package/dist-cjs/commands/DefineSuggesterCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteAnalysisSchemeCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteDomainCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteExpressionCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteIndexFieldCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteSuggesterCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeAnalysisSchemesCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeAvailabilityOptionsCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeDomainEndpointOptionsCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeDomainsCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeExpressionsCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeIndexFieldsCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeScalingParametersCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeServiceAccessPoliciesCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeSuggestersCommand.js +1 -28
  23. package/dist-cjs/commands/IndexDocumentsCommand.js +1 -28
  24. package/dist-cjs/commands/ListDomainNamesCommand.js +1 -28
  25. package/dist-cjs/commands/UpdateAvailabilityOptionsCommand.js +1 -28
  26. package/dist-cjs/commands/UpdateDomainEndpointOptionsCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateScalingParametersCommand.js +1 -28
  28. package/dist-cjs/commands/UpdateServiceAccessPoliciesCommand.js +1 -28
  29. package/dist-cjs/commands/index.js +1 -29
  30. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  31. package/dist-cjs/extensionConfiguration.js +1 -2
  32. package/dist-cjs/index.js +4163 -10
  33. package/dist-cjs/models/CloudSearchServiceException.js +1 -12
  34. package/dist-cjs/models/index.js +1 -4
  35. package/dist-cjs/models/models_0.js +1 -214
  36. package/dist-cjs/protocols/Aws_query.js +1 -3288
  37. package/dist-cjs/runtimeExtensions.js +1 -22
  38. package/package.json +39 -39
package/dist-cjs/index.js CHANGED
@@ -1,11 +1,4164 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CloudSearchServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./CloudSearchClient"), exports);
6
- tslib_1.__exportStar(require("./CloudSearch"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
- require("@aws-sdk/util-endpoints");
10
- var CloudSearchServiceException_1 = require("./models/CloudSearchServiceException");
11
- Object.defineProperty(exports, "CloudSearchServiceException", { enumerable: true, get: function () { return CloudSearchServiceException_1.CloudSearchServiceException; } });
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
+ AlgorithmicStemming: () => AlgorithmicStemming,
25
+ AnalysisSchemeLanguage: () => AnalysisSchemeLanguage,
26
+ BaseException: () => BaseException,
27
+ BuildSuggestersCommand: () => BuildSuggestersCommand,
28
+ CloudSearch: () => CloudSearch,
29
+ CloudSearchClient: () => CloudSearchClient,
30
+ CloudSearchServiceException: () => CloudSearchServiceException,
31
+ CreateDomainCommand: () => CreateDomainCommand,
32
+ DefineAnalysisSchemeCommand: () => DefineAnalysisSchemeCommand,
33
+ DefineExpressionCommand: () => DefineExpressionCommand,
34
+ DefineIndexFieldCommand: () => DefineIndexFieldCommand,
35
+ DefineSuggesterCommand: () => DefineSuggesterCommand,
36
+ DeleteAnalysisSchemeCommand: () => DeleteAnalysisSchemeCommand,
37
+ DeleteDomainCommand: () => DeleteDomainCommand,
38
+ DeleteExpressionCommand: () => DeleteExpressionCommand,
39
+ DeleteIndexFieldCommand: () => DeleteIndexFieldCommand,
40
+ DeleteSuggesterCommand: () => DeleteSuggesterCommand,
41
+ DescribeAnalysisSchemesCommand: () => DescribeAnalysisSchemesCommand,
42
+ DescribeAvailabilityOptionsCommand: () => DescribeAvailabilityOptionsCommand,
43
+ DescribeDomainEndpointOptionsCommand: () => DescribeDomainEndpointOptionsCommand,
44
+ DescribeDomainsCommand: () => DescribeDomainsCommand,
45
+ DescribeExpressionsCommand: () => DescribeExpressionsCommand,
46
+ DescribeIndexFieldsCommand: () => DescribeIndexFieldsCommand,
47
+ DescribeScalingParametersCommand: () => DescribeScalingParametersCommand,
48
+ DescribeServiceAccessPoliciesCommand: () => DescribeServiceAccessPoliciesCommand,
49
+ DescribeSuggestersCommand: () => DescribeSuggestersCommand,
50
+ DisabledOperationException: () => DisabledOperationException,
51
+ IndexDocumentsCommand: () => IndexDocumentsCommand,
52
+ IndexFieldType: () => IndexFieldType,
53
+ InternalException: () => InternalException,
54
+ InvalidTypeException: () => InvalidTypeException,
55
+ LimitExceededException: () => LimitExceededException,
56
+ ListDomainNamesCommand: () => ListDomainNamesCommand,
57
+ OptionState: () => OptionState,
58
+ PartitionInstanceType: () => PartitionInstanceType,
59
+ ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
60
+ ResourceNotFoundException: () => ResourceNotFoundException,
61
+ SuggesterFuzzyMatching: () => SuggesterFuzzyMatching,
62
+ TLSSecurityPolicy: () => TLSSecurityPolicy,
63
+ UpdateAvailabilityOptionsCommand: () => UpdateAvailabilityOptionsCommand,
64
+ UpdateDomainEndpointOptionsCommand: () => UpdateDomainEndpointOptionsCommand,
65
+ UpdateScalingParametersCommand: () => UpdateScalingParametersCommand,
66
+ UpdateServiceAccessPoliciesCommand: () => UpdateServiceAccessPoliciesCommand,
67
+ ValidationException: () => ValidationException,
68
+ __Client: () => import_smithy_client.Client
69
+ });
70
+ module.exports = __toCommonJS(src_exports);
71
+
72
+ // src/CloudSearchClient.ts
73
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
74
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
75
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
76
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
77
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
78
+ var import_config_resolver = require("@smithy/config-resolver");
79
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
80
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
81
+ var import_middleware_retry = require("@smithy/middleware-retry");
82
+
83
+
84
+ // src/endpoint/EndpointParameters.ts
85
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
86
+ return {
87
+ ...options,
88
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
89
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
90
+ defaultSigningName: "cloudsearch"
91
+ };
92
+ }, "resolveClientEndpointParameters");
93
+ var commonParams = {
94
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
95
+ Endpoint: { type: "builtInParams", name: "endpoint" },
96
+ Region: { type: "builtInParams", name: "region" },
97
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
98
+ };
99
+
100
+ // src/CloudSearchClient.ts
101
+ var import_runtimeConfig = require("././runtimeConfig");
102
+
103
+ // src/runtimeExtensions.ts
104
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
105
+ var import_protocol_http = require("@smithy/protocol-http");
106
+ var import_smithy_client = require("@smithy/smithy-client");
107
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
108
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
109
+ const extensionConfiguration = {
110
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
111
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
112
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
113
+ };
114
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
115
+ return {
116
+ ...runtimeConfig,
117
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
118
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
119
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
120
+ };
121
+ }, "resolveRuntimeExtensions");
122
+
123
+ // src/CloudSearchClient.ts
124
+ var _CloudSearchClient = class _CloudSearchClient extends import_smithy_client.Client {
125
+ constructor(...[configuration]) {
126
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
127
+ const _config_1 = resolveClientEndpointParameters(_config_0);
128
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
129
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
130
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
131
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
132
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
133
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
134
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
135
+ super(_config_8);
136
+ this.config = _config_8;
137
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
138
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
139
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
140
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
141
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
142
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
143
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
144
+ }
145
+ /**
146
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
147
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
148
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
149
+ */
150
+ destroy() {
151
+ super.destroy();
152
+ }
153
+ };
154
+ __name(_CloudSearchClient, "CloudSearchClient");
155
+ var CloudSearchClient = _CloudSearchClient;
156
+
157
+ // src/CloudSearch.ts
158
+
159
+
160
+ // src/commands/BuildSuggestersCommand.ts
161
+
162
+ var import_middleware_serde = require("@smithy/middleware-serde");
163
+
164
+ var import_types = require("@smithy/types");
165
+
166
+ // src/protocols/Aws_query.ts
167
+
168
+
169
+ var import_fast_xml_parser = require("fast-xml-parser");
170
+
171
+ // src/models/CloudSearchServiceException.ts
172
+
173
+ var _CloudSearchServiceException = class _CloudSearchServiceException extends import_smithy_client.ServiceException {
174
+ /**
175
+ * @internal
176
+ */
177
+ constructor(options) {
178
+ super(options);
179
+ Object.setPrototypeOf(this, _CloudSearchServiceException.prototype);
180
+ }
181
+ };
182
+ __name(_CloudSearchServiceException, "CloudSearchServiceException");
183
+ var CloudSearchServiceException = _CloudSearchServiceException;
184
+
185
+ // src/models/models_0.ts
186
+ var _BaseException = class _BaseException extends CloudSearchServiceException {
187
+ /**
188
+ * @internal
189
+ */
190
+ constructor(opts) {
191
+ super({
192
+ name: "BaseException",
193
+ $fault: "client",
194
+ ...opts
195
+ });
196
+ this.name = "BaseException";
197
+ this.$fault = "client";
198
+ Object.setPrototypeOf(this, _BaseException.prototype);
199
+ this.Code = opts.Code;
200
+ this.Message = opts.Message;
201
+ }
202
+ };
203
+ __name(_BaseException, "BaseException");
204
+ var BaseException = _BaseException;
205
+ var _InternalException = class _InternalException extends CloudSearchServiceException {
206
+ /**
207
+ * @internal
208
+ */
209
+ constructor(opts) {
210
+ super({
211
+ name: "InternalException",
212
+ $fault: "server",
213
+ ...opts
214
+ });
215
+ this.name = "InternalException";
216
+ this.$fault = "server";
217
+ Object.setPrototypeOf(this, _InternalException.prototype);
218
+ this.Code = opts.Code;
219
+ this.Message = opts.Message;
220
+ }
221
+ };
222
+ __name(_InternalException, "InternalException");
223
+ var InternalException = _InternalException;
224
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends CloudSearchServiceException {
225
+ /**
226
+ * @internal
227
+ */
228
+ constructor(opts) {
229
+ super({
230
+ name: "ResourceNotFoundException",
231
+ $fault: "client",
232
+ ...opts
233
+ });
234
+ this.name = "ResourceNotFoundException";
235
+ this.$fault = "client";
236
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
237
+ this.Code = opts.Code;
238
+ this.Message = opts.Message;
239
+ }
240
+ };
241
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
242
+ var ResourceNotFoundException = _ResourceNotFoundException;
243
+ var _ValidationException = class _ValidationException extends CloudSearchServiceException {
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(opts) {
248
+ super({
249
+ name: "ValidationException",
250
+ $fault: "client",
251
+ ...opts
252
+ });
253
+ this.name = "ValidationException";
254
+ this.$fault = "client";
255
+ Object.setPrototypeOf(this, _ValidationException.prototype);
256
+ this.Code = opts.Code;
257
+ this.Message = opts.Message;
258
+ }
259
+ };
260
+ __name(_ValidationException, "ValidationException");
261
+ var ValidationException = _ValidationException;
262
+ var _LimitExceededException = class _LimitExceededException extends CloudSearchServiceException {
263
+ /**
264
+ * @internal
265
+ */
266
+ constructor(opts) {
267
+ super({
268
+ name: "LimitExceededException",
269
+ $fault: "client",
270
+ ...opts
271
+ });
272
+ this.name = "LimitExceededException";
273
+ this.$fault = "client";
274
+ Object.setPrototypeOf(this, _LimitExceededException.prototype);
275
+ this.Code = opts.Code;
276
+ this.Message = opts.Message;
277
+ }
278
+ };
279
+ __name(_LimitExceededException, "LimitExceededException");
280
+ var LimitExceededException = _LimitExceededException;
281
+ var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends CloudSearchServiceException {
282
+ /**
283
+ * @internal
284
+ */
285
+ constructor(opts) {
286
+ super({
287
+ name: "ResourceAlreadyExistsException",
288
+ $fault: "client",
289
+ ...opts
290
+ });
291
+ this.name = "ResourceAlreadyExistsException";
292
+ this.$fault = "client";
293
+ Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
294
+ this.Code = opts.Code;
295
+ this.Message = opts.Message;
296
+ }
297
+ };
298
+ __name(_ResourceAlreadyExistsException, "ResourceAlreadyExistsException");
299
+ var ResourceAlreadyExistsException = _ResourceAlreadyExistsException;
300
+ var AlgorithmicStemming = {
301
+ full: "full",
302
+ light: "light",
303
+ minimal: "minimal",
304
+ none: "none"
305
+ };
306
+ var AnalysisSchemeLanguage = {
307
+ ar: "ar",
308
+ bg: "bg",
309
+ ca: "ca",
310
+ cs: "cs",
311
+ da: "da",
312
+ de: "de",
313
+ el: "el",
314
+ en: "en",
315
+ es: "es",
316
+ eu: "eu",
317
+ fa: "fa",
318
+ fi: "fi",
319
+ fr: "fr",
320
+ ga: "ga",
321
+ gl: "gl",
322
+ he: "he",
323
+ hi: "hi",
324
+ hu: "hu",
325
+ hy: "hy",
326
+ id: "id",
327
+ it: "it",
328
+ ja: "ja",
329
+ ko: "ko",
330
+ lv: "lv",
331
+ mul: "mul",
332
+ nl: "nl",
333
+ no: "no",
334
+ pt: "pt",
335
+ ro: "ro",
336
+ ru: "ru",
337
+ sv: "sv",
338
+ th: "th",
339
+ tr: "tr",
340
+ zh_Hans: "zh-Hans",
341
+ zh_Hant: "zh-Hant"
342
+ };
343
+ var OptionState = {
344
+ Active: "Active",
345
+ FailedToValidate: "FailedToValidate",
346
+ Processing: "Processing",
347
+ RequiresIndexDocuments: "RequiresIndexDocuments"
348
+ };
349
+ var _InvalidTypeException = class _InvalidTypeException extends CloudSearchServiceException {
350
+ /**
351
+ * @internal
352
+ */
353
+ constructor(opts) {
354
+ super({
355
+ name: "InvalidTypeException",
356
+ $fault: "client",
357
+ ...opts
358
+ });
359
+ this.name = "InvalidTypeException";
360
+ this.$fault = "client";
361
+ Object.setPrototypeOf(this, _InvalidTypeException.prototype);
362
+ this.Code = opts.Code;
363
+ this.Message = opts.Message;
364
+ }
365
+ };
366
+ __name(_InvalidTypeException, "InvalidTypeException");
367
+ var InvalidTypeException = _InvalidTypeException;
368
+ var IndexFieldType = {
369
+ date: "date",
370
+ date_array: "date-array",
371
+ double: "double",
372
+ double_array: "double-array",
373
+ int: "int",
374
+ int_array: "int-array",
375
+ latlon: "latlon",
376
+ literal: "literal",
377
+ literal_array: "literal-array",
378
+ text: "text",
379
+ text_array: "text-array"
380
+ };
381
+ var SuggesterFuzzyMatching = {
382
+ high: "high",
383
+ low: "low",
384
+ none: "none"
385
+ };
386
+ var _DisabledOperationException = class _DisabledOperationException extends CloudSearchServiceException {
387
+ /**
388
+ * @internal
389
+ */
390
+ constructor(opts) {
391
+ super({
392
+ name: "DisabledOperationException",
393
+ $fault: "client",
394
+ ...opts
395
+ });
396
+ this.name = "DisabledOperationException";
397
+ this.$fault = "client";
398
+ Object.setPrototypeOf(this, _DisabledOperationException.prototype);
399
+ this.Code = opts.Code;
400
+ this.Message = opts.Message;
401
+ }
402
+ };
403
+ __name(_DisabledOperationException, "DisabledOperationException");
404
+ var DisabledOperationException = _DisabledOperationException;
405
+ var TLSSecurityPolicy = {
406
+ POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
407
+ POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07"
408
+ };
409
+ var PartitionInstanceType = {
410
+ search_2xlarge: "search.2xlarge",
411
+ search_large: "search.large",
412
+ search_m1_large: "search.m1.large",
413
+ search_m1_small: "search.m1.small",
414
+ search_m2_2xlarge: "search.m2.2xlarge",
415
+ search_m2_xlarge: "search.m2.xlarge",
416
+ search_m3_2xlarge: "search.m3.2xlarge",
417
+ search_m3_large: "search.m3.large",
418
+ search_m3_medium: "search.m3.medium",
419
+ search_m3_xlarge: "search.m3.xlarge",
420
+ search_medium: "search.medium",
421
+ search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge",
422
+ search_previousgeneration_large: "search.previousgeneration.large",
423
+ search_previousgeneration_small: "search.previousgeneration.small",
424
+ search_previousgeneration_xlarge: "search.previousgeneration.xlarge",
425
+ search_small: "search.small",
426
+ search_xlarge: "search.xlarge"
427
+ };
428
+
429
+ // src/protocols/Aws_query.ts
430
+ var se_BuildSuggestersCommand = /* @__PURE__ */ __name(async (input, context) => {
431
+ const headers = SHARED_HEADERS;
432
+ let body;
433
+ body = buildFormUrlencodedString({
434
+ ...se_BuildSuggestersRequest(input, context),
435
+ [_A]: _BS,
436
+ [_V]: _
437
+ });
438
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
439
+ }, "se_BuildSuggestersCommand");
440
+ var se_CreateDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
441
+ const headers = SHARED_HEADERS;
442
+ let body;
443
+ body = buildFormUrlencodedString({
444
+ ...se_CreateDomainRequest(input, context),
445
+ [_A]: _CD,
446
+ [_V]: _
447
+ });
448
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
449
+ }, "se_CreateDomainCommand");
450
+ var se_DefineAnalysisSchemeCommand = /* @__PURE__ */ __name(async (input, context) => {
451
+ const headers = SHARED_HEADERS;
452
+ let body;
453
+ body = buildFormUrlencodedString({
454
+ ...se_DefineAnalysisSchemeRequest(input, context),
455
+ [_A]: _DAS,
456
+ [_V]: _
457
+ });
458
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
459
+ }, "se_DefineAnalysisSchemeCommand");
460
+ var se_DefineExpressionCommand = /* @__PURE__ */ __name(async (input, context) => {
461
+ const headers = SHARED_HEADERS;
462
+ let body;
463
+ body = buildFormUrlencodedString({
464
+ ...se_DefineExpressionRequest(input, context),
465
+ [_A]: _DE,
466
+ [_V]: _
467
+ });
468
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
469
+ }, "se_DefineExpressionCommand");
470
+ var se_DefineIndexFieldCommand = /* @__PURE__ */ __name(async (input, context) => {
471
+ const headers = SHARED_HEADERS;
472
+ let body;
473
+ body = buildFormUrlencodedString({
474
+ ...se_DefineIndexFieldRequest(input, context),
475
+ [_A]: _DIF,
476
+ [_V]: _
477
+ });
478
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
479
+ }, "se_DefineIndexFieldCommand");
480
+ var se_DefineSuggesterCommand = /* @__PURE__ */ __name(async (input, context) => {
481
+ const headers = SHARED_HEADERS;
482
+ let body;
483
+ body = buildFormUrlencodedString({
484
+ ...se_DefineSuggesterRequest(input, context),
485
+ [_A]: _DS,
486
+ [_V]: _
487
+ });
488
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
489
+ }, "se_DefineSuggesterCommand");
490
+ var se_DeleteAnalysisSchemeCommand = /* @__PURE__ */ __name(async (input, context) => {
491
+ const headers = SHARED_HEADERS;
492
+ let body;
493
+ body = buildFormUrlencodedString({
494
+ ...se_DeleteAnalysisSchemeRequest(input, context),
495
+ [_A]: _DASe,
496
+ [_V]: _
497
+ });
498
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
499
+ }, "se_DeleteAnalysisSchemeCommand");
500
+ var se_DeleteDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
501
+ const headers = SHARED_HEADERS;
502
+ let body;
503
+ body = buildFormUrlencodedString({
504
+ ...se_DeleteDomainRequest(input, context),
505
+ [_A]: _DD,
506
+ [_V]: _
507
+ });
508
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
509
+ }, "se_DeleteDomainCommand");
510
+ var se_DeleteExpressionCommand = /* @__PURE__ */ __name(async (input, context) => {
511
+ const headers = SHARED_HEADERS;
512
+ let body;
513
+ body = buildFormUrlencodedString({
514
+ ...se_DeleteExpressionRequest(input, context),
515
+ [_A]: _DEe,
516
+ [_V]: _
517
+ });
518
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
519
+ }, "se_DeleteExpressionCommand");
520
+ var se_DeleteIndexFieldCommand = /* @__PURE__ */ __name(async (input, context) => {
521
+ const headers = SHARED_HEADERS;
522
+ let body;
523
+ body = buildFormUrlencodedString({
524
+ ...se_DeleteIndexFieldRequest(input, context),
525
+ [_A]: _DIFe,
526
+ [_V]: _
527
+ });
528
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
529
+ }, "se_DeleteIndexFieldCommand");
530
+ var se_DeleteSuggesterCommand = /* @__PURE__ */ __name(async (input, context) => {
531
+ const headers = SHARED_HEADERS;
532
+ let body;
533
+ body = buildFormUrlencodedString({
534
+ ...se_DeleteSuggesterRequest(input, context),
535
+ [_A]: _DSe,
536
+ [_V]: _
537
+ });
538
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
539
+ }, "se_DeleteSuggesterCommand");
540
+ var se_DescribeAnalysisSchemesCommand = /* @__PURE__ */ __name(async (input, context) => {
541
+ const headers = SHARED_HEADERS;
542
+ let body;
543
+ body = buildFormUrlencodedString({
544
+ ...se_DescribeAnalysisSchemesRequest(input, context),
545
+ [_A]: _DASes,
546
+ [_V]: _
547
+ });
548
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
549
+ }, "se_DescribeAnalysisSchemesCommand");
550
+ var se_DescribeAvailabilityOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
551
+ const headers = SHARED_HEADERS;
552
+ let body;
553
+ body = buildFormUrlencodedString({
554
+ ...se_DescribeAvailabilityOptionsRequest(input, context),
555
+ [_A]: _DAO,
556
+ [_V]: _
557
+ });
558
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
559
+ }, "se_DescribeAvailabilityOptionsCommand");
560
+ var se_DescribeDomainEndpointOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
561
+ const headers = SHARED_HEADERS;
562
+ let body;
563
+ body = buildFormUrlencodedString({
564
+ ...se_DescribeDomainEndpointOptionsRequest(input, context),
565
+ [_A]: _DDEO,
566
+ [_V]: _
567
+ });
568
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
569
+ }, "se_DescribeDomainEndpointOptionsCommand");
570
+ var se_DescribeDomainsCommand = /* @__PURE__ */ __name(async (input, context) => {
571
+ const headers = SHARED_HEADERS;
572
+ let body;
573
+ body = buildFormUrlencodedString({
574
+ ...se_DescribeDomainsRequest(input, context),
575
+ [_A]: _DDe,
576
+ [_V]: _
577
+ });
578
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
579
+ }, "se_DescribeDomainsCommand");
580
+ var se_DescribeExpressionsCommand = /* @__PURE__ */ __name(async (input, context) => {
581
+ const headers = SHARED_HEADERS;
582
+ let body;
583
+ body = buildFormUrlencodedString({
584
+ ...se_DescribeExpressionsRequest(input, context),
585
+ [_A]: _DEes,
586
+ [_V]: _
587
+ });
588
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
589
+ }, "se_DescribeExpressionsCommand");
590
+ var se_DescribeIndexFieldsCommand = /* @__PURE__ */ __name(async (input, context) => {
591
+ const headers = SHARED_HEADERS;
592
+ let body;
593
+ body = buildFormUrlencodedString({
594
+ ...se_DescribeIndexFieldsRequest(input, context),
595
+ [_A]: _DIFes,
596
+ [_V]: _
597
+ });
598
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
599
+ }, "se_DescribeIndexFieldsCommand");
600
+ var se_DescribeScalingParametersCommand = /* @__PURE__ */ __name(async (input, context) => {
601
+ const headers = SHARED_HEADERS;
602
+ let body;
603
+ body = buildFormUrlencodedString({
604
+ ...se_DescribeScalingParametersRequest(input, context),
605
+ [_A]: _DSP,
606
+ [_V]: _
607
+ });
608
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
609
+ }, "se_DescribeScalingParametersCommand");
610
+ var se_DescribeServiceAccessPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
611
+ const headers = SHARED_HEADERS;
612
+ let body;
613
+ body = buildFormUrlencodedString({
614
+ ...se_DescribeServiceAccessPoliciesRequest(input, context),
615
+ [_A]: _DSAP,
616
+ [_V]: _
617
+ });
618
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
619
+ }, "se_DescribeServiceAccessPoliciesCommand");
620
+ var se_DescribeSuggestersCommand = /* @__PURE__ */ __name(async (input, context) => {
621
+ const headers = SHARED_HEADERS;
622
+ let body;
623
+ body = buildFormUrlencodedString({
624
+ ...se_DescribeSuggestersRequest(input, context),
625
+ [_A]: _DSes,
626
+ [_V]: _
627
+ });
628
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
629
+ }, "se_DescribeSuggestersCommand");
630
+ var se_IndexDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
631
+ const headers = SHARED_HEADERS;
632
+ let body;
633
+ body = buildFormUrlencodedString({
634
+ ...se_IndexDocumentsRequest(input, context),
635
+ [_A]: _ID,
636
+ [_V]: _
637
+ });
638
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
639
+ }, "se_IndexDocumentsCommand");
640
+ var se_ListDomainNamesCommand = /* @__PURE__ */ __name(async (input, context) => {
641
+ const headers = SHARED_HEADERS;
642
+ const body = buildFormUrlencodedString({
643
+ [_A]: _LDN,
644
+ [_V]: _
645
+ });
646
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
647
+ }, "se_ListDomainNamesCommand");
648
+ var se_UpdateAvailabilityOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
649
+ const headers = SHARED_HEADERS;
650
+ let body;
651
+ body = buildFormUrlencodedString({
652
+ ...se_UpdateAvailabilityOptionsRequest(input, context),
653
+ [_A]: _UAO,
654
+ [_V]: _
655
+ });
656
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
657
+ }, "se_UpdateAvailabilityOptionsCommand");
658
+ var se_UpdateDomainEndpointOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
659
+ const headers = SHARED_HEADERS;
660
+ let body;
661
+ body = buildFormUrlencodedString({
662
+ ...se_UpdateDomainEndpointOptionsRequest(input, context),
663
+ [_A]: _UDEO,
664
+ [_V]: _
665
+ });
666
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
667
+ }, "se_UpdateDomainEndpointOptionsCommand");
668
+ var se_UpdateScalingParametersCommand = /* @__PURE__ */ __name(async (input, context) => {
669
+ const headers = SHARED_HEADERS;
670
+ let body;
671
+ body = buildFormUrlencodedString({
672
+ ...se_UpdateScalingParametersRequest(input, context),
673
+ [_A]: _USP,
674
+ [_V]: _
675
+ });
676
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
677
+ }, "se_UpdateScalingParametersCommand");
678
+ var se_UpdateServiceAccessPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
679
+ const headers = SHARED_HEADERS;
680
+ let body;
681
+ body = buildFormUrlencodedString({
682
+ ...se_UpdateServiceAccessPoliciesRequest(input, context),
683
+ [_A]: _USAP,
684
+ [_V]: _
685
+ });
686
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
687
+ }, "se_UpdateServiceAccessPoliciesCommand");
688
+ var de_BuildSuggestersCommand = /* @__PURE__ */ __name(async (output, context) => {
689
+ if (output.statusCode >= 300) {
690
+ return de_BuildSuggestersCommandError(output, context);
691
+ }
692
+ const data = await parseBody(output.body, context);
693
+ let contents = {};
694
+ contents = de_BuildSuggestersResponse(data.BuildSuggestersResult, context);
695
+ const response = {
696
+ $metadata: deserializeMetadata(output),
697
+ ...contents
698
+ };
699
+ return response;
700
+ }, "de_BuildSuggestersCommand");
701
+ var de_BuildSuggestersCommandError = /* @__PURE__ */ __name(async (output, context) => {
702
+ const parsedOutput = {
703
+ ...output,
704
+ body: await parseErrorBody(output.body, context)
705
+ };
706
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
707
+ switch (errorCode) {
708
+ case "BaseException":
709
+ case "com.amazonaws.cloudsearch#BaseException":
710
+ throw await de_BaseExceptionRes(parsedOutput, context);
711
+ case "InternalException":
712
+ case "com.amazonaws.cloudsearch#InternalException":
713
+ throw await de_InternalExceptionRes(parsedOutput, context);
714
+ case "ResourceNotFound":
715
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
716
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
717
+ case "ValidationException":
718
+ case "com.amazonaws.cloudsearch#ValidationException":
719
+ throw await de_ValidationExceptionRes(parsedOutput, context);
720
+ default:
721
+ const parsedBody = parsedOutput.body;
722
+ return throwDefaultError({
723
+ output,
724
+ parsedBody: parsedBody.Error,
725
+ errorCode
726
+ });
727
+ }
728
+ }, "de_BuildSuggestersCommandError");
729
+ var de_CreateDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
730
+ if (output.statusCode >= 300) {
731
+ return de_CreateDomainCommandError(output, context);
732
+ }
733
+ const data = await parseBody(output.body, context);
734
+ let contents = {};
735
+ contents = de_CreateDomainResponse(data.CreateDomainResult, context);
736
+ const response = {
737
+ $metadata: deserializeMetadata(output),
738
+ ...contents
739
+ };
740
+ return response;
741
+ }, "de_CreateDomainCommand");
742
+ var de_CreateDomainCommandError = /* @__PURE__ */ __name(async (output, context) => {
743
+ const parsedOutput = {
744
+ ...output,
745
+ body: await parseErrorBody(output.body, context)
746
+ };
747
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
748
+ switch (errorCode) {
749
+ case "BaseException":
750
+ case "com.amazonaws.cloudsearch#BaseException":
751
+ throw await de_BaseExceptionRes(parsedOutput, context);
752
+ case "InternalException":
753
+ case "com.amazonaws.cloudsearch#InternalException":
754
+ throw await de_InternalExceptionRes(parsedOutput, context);
755
+ case "LimitExceeded":
756
+ case "com.amazonaws.cloudsearch#LimitExceededException":
757
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
758
+ case "ResourceAlreadyExists":
759
+ case "com.amazonaws.cloudsearch#ResourceAlreadyExistsException":
760
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
761
+ case "ValidationException":
762
+ case "com.amazonaws.cloudsearch#ValidationException":
763
+ throw await de_ValidationExceptionRes(parsedOutput, context);
764
+ default:
765
+ const parsedBody = parsedOutput.body;
766
+ return throwDefaultError({
767
+ output,
768
+ parsedBody: parsedBody.Error,
769
+ errorCode
770
+ });
771
+ }
772
+ }, "de_CreateDomainCommandError");
773
+ var de_DefineAnalysisSchemeCommand = /* @__PURE__ */ __name(async (output, context) => {
774
+ if (output.statusCode >= 300) {
775
+ return de_DefineAnalysisSchemeCommandError(output, context);
776
+ }
777
+ const data = await parseBody(output.body, context);
778
+ let contents = {};
779
+ contents = de_DefineAnalysisSchemeResponse(data.DefineAnalysisSchemeResult, context);
780
+ const response = {
781
+ $metadata: deserializeMetadata(output),
782
+ ...contents
783
+ };
784
+ return response;
785
+ }, "de_DefineAnalysisSchemeCommand");
786
+ var de_DefineAnalysisSchemeCommandError = /* @__PURE__ */ __name(async (output, context) => {
787
+ const parsedOutput = {
788
+ ...output,
789
+ body: await parseErrorBody(output.body, context)
790
+ };
791
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
792
+ switch (errorCode) {
793
+ case "BaseException":
794
+ case "com.amazonaws.cloudsearch#BaseException":
795
+ throw await de_BaseExceptionRes(parsedOutput, context);
796
+ case "InternalException":
797
+ case "com.amazonaws.cloudsearch#InternalException":
798
+ throw await de_InternalExceptionRes(parsedOutput, context);
799
+ case "InvalidType":
800
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
801
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
802
+ case "LimitExceeded":
803
+ case "com.amazonaws.cloudsearch#LimitExceededException":
804
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
805
+ case "ResourceNotFound":
806
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
807
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
808
+ case "ValidationException":
809
+ case "com.amazonaws.cloudsearch#ValidationException":
810
+ throw await de_ValidationExceptionRes(parsedOutput, context);
811
+ default:
812
+ const parsedBody = parsedOutput.body;
813
+ return throwDefaultError({
814
+ output,
815
+ parsedBody: parsedBody.Error,
816
+ errorCode
817
+ });
818
+ }
819
+ }, "de_DefineAnalysisSchemeCommandError");
820
+ var de_DefineExpressionCommand = /* @__PURE__ */ __name(async (output, context) => {
821
+ if (output.statusCode >= 300) {
822
+ return de_DefineExpressionCommandError(output, context);
823
+ }
824
+ const data = await parseBody(output.body, context);
825
+ let contents = {};
826
+ contents = de_DefineExpressionResponse(data.DefineExpressionResult, context);
827
+ const response = {
828
+ $metadata: deserializeMetadata(output),
829
+ ...contents
830
+ };
831
+ return response;
832
+ }, "de_DefineExpressionCommand");
833
+ var de_DefineExpressionCommandError = /* @__PURE__ */ __name(async (output, context) => {
834
+ const parsedOutput = {
835
+ ...output,
836
+ body: await parseErrorBody(output.body, context)
837
+ };
838
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
839
+ switch (errorCode) {
840
+ case "BaseException":
841
+ case "com.amazonaws.cloudsearch#BaseException":
842
+ throw await de_BaseExceptionRes(parsedOutput, context);
843
+ case "InternalException":
844
+ case "com.amazonaws.cloudsearch#InternalException":
845
+ throw await de_InternalExceptionRes(parsedOutput, context);
846
+ case "InvalidType":
847
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
848
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
849
+ case "LimitExceeded":
850
+ case "com.amazonaws.cloudsearch#LimitExceededException":
851
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
852
+ case "ResourceNotFound":
853
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
854
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
855
+ case "ValidationException":
856
+ case "com.amazonaws.cloudsearch#ValidationException":
857
+ throw await de_ValidationExceptionRes(parsedOutput, context);
858
+ default:
859
+ const parsedBody = parsedOutput.body;
860
+ return throwDefaultError({
861
+ output,
862
+ parsedBody: parsedBody.Error,
863
+ errorCode
864
+ });
865
+ }
866
+ }, "de_DefineExpressionCommandError");
867
+ var de_DefineIndexFieldCommand = /* @__PURE__ */ __name(async (output, context) => {
868
+ if (output.statusCode >= 300) {
869
+ return de_DefineIndexFieldCommandError(output, context);
870
+ }
871
+ const data = await parseBody(output.body, context);
872
+ let contents = {};
873
+ contents = de_DefineIndexFieldResponse(data.DefineIndexFieldResult, context);
874
+ const response = {
875
+ $metadata: deserializeMetadata(output),
876
+ ...contents
877
+ };
878
+ return response;
879
+ }, "de_DefineIndexFieldCommand");
880
+ var de_DefineIndexFieldCommandError = /* @__PURE__ */ __name(async (output, context) => {
881
+ const parsedOutput = {
882
+ ...output,
883
+ body: await parseErrorBody(output.body, context)
884
+ };
885
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
886
+ switch (errorCode) {
887
+ case "BaseException":
888
+ case "com.amazonaws.cloudsearch#BaseException":
889
+ throw await de_BaseExceptionRes(parsedOutput, context);
890
+ case "InternalException":
891
+ case "com.amazonaws.cloudsearch#InternalException":
892
+ throw await de_InternalExceptionRes(parsedOutput, context);
893
+ case "InvalidType":
894
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
895
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
896
+ case "LimitExceeded":
897
+ case "com.amazonaws.cloudsearch#LimitExceededException":
898
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
899
+ case "ResourceNotFound":
900
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
901
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
902
+ case "ValidationException":
903
+ case "com.amazonaws.cloudsearch#ValidationException":
904
+ throw await de_ValidationExceptionRes(parsedOutput, context);
905
+ default:
906
+ const parsedBody = parsedOutput.body;
907
+ return throwDefaultError({
908
+ output,
909
+ parsedBody: parsedBody.Error,
910
+ errorCode
911
+ });
912
+ }
913
+ }, "de_DefineIndexFieldCommandError");
914
+ var de_DefineSuggesterCommand = /* @__PURE__ */ __name(async (output, context) => {
915
+ if (output.statusCode >= 300) {
916
+ return de_DefineSuggesterCommandError(output, context);
917
+ }
918
+ const data = await parseBody(output.body, context);
919
+ let contents = {};
920
+ contents = de_DefineSuggesterResponse(data.DefineSuggesterResult, context);
921
+ const response = {
922
+ $metadata: deserializeMetadata(output),
923
+ ...contents
924
+ };
925
+ return response;
926
+ }, "de_DefineSuggesterCommand");
927
+ var de_DefineSuggesterCommandError = /* @__PURE__ */ __name(async (output, context) => {
928
+ const parsedOutput = {
929
+ ...output,
930
+ body: await parseErrorBody(output.body, context)
931
+ };
932
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
933
+ switch (errorCode) {
934
+ case "BaseException":
935
+ case "com.amazonaws.cloudsearch#BaseException":
936
+ throw await de_BaseExceptionRes(parsedOutput, context);
937
+ case "InternalException":
938
+ case "com.amazonaws.cloudsearch#InternalException":
939
+ throw await de_InternalExceptionRes(parsedOutput, context);
940
+ case "InvalidType":
941
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
942
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
943
+ case "LimitExceeded":
944
+ case "com.amazonaws.cloudsearch#LimitExceededException":
945
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
946
+ case "ResourceNotFound":
947
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
948
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
949
+ case "ValidationException":
950
+ case "com.amazonaws.cloudsearch#ValidationException":
951
+ throw await de_ValidationExceptionRes(parsedOutput, context);
952
+ default:
953
+ const parsedBody = parsedOutput.body;
954
+ return throwDefaultError({
955
+ output,
956
+ parsedBody: parsedBody.Error,
957
+ errorCode
958
+ });
959
+ }
960
+ }, "de_DefineSuggesterCommandError");
961
+ var de_DeleteAnalysisSchemeCommand = /* @__PURE__ */ __name(async (output, context) => {
962
+ if (output.statusCode >= 300) {
963
+ return de_DeleteAnalysisSchemeCommandError(output, context);
964
+ }
965
+ const data = await parseBody(output.body, context);
966
+ let contents = {};
967
+ contents = de_DeleteAnalysisSchemeResponse(data.DeleteAnalysisSchemeResult, context);
968
+ const response = {
969
+ $metadata: deserializeMetadata(output),
970
+ ...contents
971
+ };
972
+ return response;
973
+ }, "de_DeleteAnalysisSchemeCommand");
974
+ var de_DeleteAnalysisSchemeCommandError = /* @__PURE__ */ __name(async (output, context) => {
975
+ const parsedOutput = {
976
+ ...output,
977
+ body: await parseErrorBody(output.body, context)
978
+ };
979
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
980
+ switch (errorCode) {
981
+ case "BaseException":
982
+ case "com.amazonaws.cloudsearch#BaseException":
983
+ throw await de_BaseExceptionRes(parsedOutput, context);
984
+ case "InternalException":
985
+ case "com.amazonaws.cloudsearch#InternalException":
986
+ throw await de_InternalExceptionRes(parsedOutput, context);
987
+ case "InvalidType":
988
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
989
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
990
+ case "ResourceNotFound":
991
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
992
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
993
+ case "ValidationException":
994
+ case "com.amazonaws.cloudsearch#ValidationException":
995
+ throw await de_ValidationExceptionRes(parsedOutput, context);
996
+ default:
997
+ const parsedBody = parsedOutput.body;
998
+ return throwDefaultError({
999
+ output,
1000
+ parsedBody: parsedBody.Error,
1001
+ errorCode
1002
+ });
1003
+ }
1004
+ }, "de_DeleteAnalysisSchemeCommandError");
1005
+ var de_DeleteDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1006
+ if (output.statusCode >= 300) {
1007
+ return de_DeleteDomainCommandError(output, context);
1008
+ }
1009
+ const data = await parseBody(output.body, context);
1010
+ let contents = {};
1011
+ contents = de_DeleteDomainResponse(data.DeleteDomainResult, context);
1012
+ const response = {
1013
+ $metadata: deserializeMetadata(output),
1014
+ ...contents
1015
+ };
1016
+ return response;
1017
+ }, "de_DeleteDomainCommand");
1018
+ var de_DeleteDomainCommandError = /* @__PURE__ */ __name(async (output, context) => {
1019
+ const parsedOutput = {
1020
+ ...output,
1021
+ body: await parseErrorBody(output.body, context)
1022
+ };
1023
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1024
+ switch (errorCode) {
1025
+ case "BaseException":
1026
+ case "com.amazonaws.cloudsearch#BaseException":
1027
+ throw await de_BaseExceptionRes(parsedOutput, context);
1028
+ case "InternalException":
1029
+ case "com.amazonaws.cloudsearch#InternalException":
1030
+ throw await de_InternalExceptionRes(parsedOutput, context);
1031
+ default:
1032
+ const parsedBody = parsedOutput.body;
1033
+ return throwDefaultError({
1034
+ output,
1035
+ parsedBody: parsedBody.Error,
1036
+ errorCode
1037
+ });
1038
+ }
1039
+ }, "de_DeleteDomainCommandError");
1040
+ var de_DeleteExpressionCommand = /* @__PURE__ */ __name(async (output, context) => {
1041
+ if (output.statusCode >= 300) {
1042
+ return de_DeleteExpressionCommandError(output, context);
1043
+ }
1044
+ const data = await parseBody(output.body, context);
1045
+ let contents = {};
1046
+ contents = de_DeleteExpressionResponse(data.DeleteExpressionResult, context);
1047
+ const response = {
1048
+ $metadata: deserializeMetadata(output),
1049
+ ...contents
1050
+ };
1051
+ return response;
1052
+ }, "de_DeleteExpressionCommand");
1053
+ var de_DeleteExpressionCommandError = /* @__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 "BaseException":
1061
+ case "com.amazonaws.cloudsearch#BaseException":
1062
+ throw await de_BaseExceptionRes(parsedOutput, context);
1063
+ case "InternalException":
1064
+ case "com.amazonaws.cloudsearch#InternalException":
1065
+ throw await de_InternalExceptionRes(parsedOutput, context);
1066
+ case "InvalidType":
1067
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
1068
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1069
+ case "ResourceNotFound":
1070
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1071
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1072
+ case "ValidationException":
1073
+ case "com.amazonaws.cloudsearch#ValidationException":
1074
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1075
+ default:
1076
+ const parsedBody = parsedOutput.body;
1077
+ return throwDefaultError({
1078
+ output,
1079
+ parsedBody: parsedBody.Error,
1080
+ errorCode
1081
+ });
1082
+ }
1083
+ }, "de_DeleteExpressionCommandError");
1084
+ var de_DeleteIndexFieldCommand = /* @__PURE__ */ __name(async (output, context) => {
1085
+ if (output.statusCode >= 300) {
1086
+ return de_DeleteIndexFieldCommandError(output, context);
1087
+ }
1088
+ const data = await parseBody(output.body, context);
1089
+ let contents = {};
1090
+ contents = de_DeleteIndexFieldResponse(data.DeleteIndexFieldResult, context);
1091
+ const response = {
1092
+ $metadata: deserializeMetadata(output),
1093
+ ...contents
1094
+ };
1095
+ return response;
1096
+ }, "de_DeleteIndexFieldCommand");
1097
+ var de_DeleteIndexFieldCommandError = /* @__PURE__ */ __name(async (output, context) => {
1098
+ const parsedOutput = {
1099
+ ...output,
1100
+ body: await parseErrorBody(output.body, context)
1101
+ };
1102
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1103
+ switch (errorCode) {
1104
+ case "BaseException":
1105
+ case "com.amazonaws.cloudsearch#BaseException":
1106
+ throw await de_BaseExceptionRes(parsedOutput, context);
1107
+ case "InternalException":
1108
+ case "com.amazonaws.cloudsearch#InternalException":
1109
+ throw await de_InternalExceptionRes(parsedOutput, context);
1110
+ case "InvalidType":
1111
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
1112
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1113
+ case "ResourceNotFound":
1114
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1115
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1116
+ case "ValidationException":
1117
+ case "com.amazonaws.cloudsearch#ValidationException":
1118
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1119
+ default:
1120
+ const parsedBody = parsedOutput.body;
1121
+ return throwDefaultError({
1122
+ output,
1123
+ parsedBody: parsedBody.Error,
1124
+ errorCode
1125
+ });
1126
+ }
1127
+ }, "de_DeleteIndexFieldCommandError");
1128
+ var de_DeleteSuggesterCommand = /* @__PURE__ */ __name(async (output, context) => {
1129
+ if (output.statusCode >= 300) {
1130
+ return de_DeleteSuggesterCommandError(output, context);
1131
+ }
1132
+ const data = await parseBody(output.body, context);
1133
+ let contents = {};
1134
+ contents = de_DeleteSuggesterResponse(data.DeleteSuggesterResult, context);
1135
+ const response = {
1136
+ $metadata: deserializeMetadata(output),
1137
+ ...contents
1138
+ };
1139
+ return response;
1140
+ }, "de_DeleteSuggesterCommand");
1141
+ var de_DeleteSuggesterCommandError = /* @__PURE__ */ __name(async (output, context) => {
1142
+ const parsedOutput = {
1143
+ ...output,
1144
+ body: await parseErrorBody(output.body, context)
1145
+ };
1146
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1147
+ switch (errorCode) {
1148
+ case "BaseException":
1149
+ case "com.amazonaws.cloudsearch#BaseException":
1150
+ throw await de_BaseExceptionRes(parsedOutput, context);
1151
+ case "InternalException":
1152
+ case "com.amazonaws.cloudsearch#InternalException":
1153
+ throw await de_InternalExceptionRes(parsedOutput, context);
1154
+ case "InvalidType":
1155
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
1156
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1157
+ case "ResourceNotFound":
1158
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1159
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1160
+ case "ValidationException":
1161
+ case "com.amazonaws.cloudsearch#ValidationException":
1162
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1163
+ default:
1164
+ const parsedBody = parsedOutput.body;
1165
+ return throwDefaultError({
1166
+ output,
1167
+ parsedBody: parsedBody.Error,
1168
+ errorCode
1169
+ });
1170
+ }
1171
+ }, "de_DeleteSuggesterCommandError");
1172
+ var de_DescribeAnalysisSchemesCommand = /* @__PURE__ */ __name(async (output, context) => {
1173
+ if (output.statusCode >= 300) {
1174
+ return de_DescribeAnalysisSchemesCommandError(output, context);
1175
+ }
1176
+ const data = await parseBody(output.body, context);
1177
+ let contents = {};
1178
+ contents = de_DescribeAnalysisSchemesResponse(data.DescribeAnalysisSchemesResult, context);
1179
+ const response = {
1180
+ $metadata: deserializeMetadata(output),
1181
+ ...contents
1182
+ };
1183
+ return response;
1184
+ }, "de_DescribeAnalysisSchemesCommand");
1185
+ var de_DescribeAnalysisSchemesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1186
+ const parsedOutput = {
1187
+ ...output,
1188
+ body: await parseErrorBody(output.body, context)
1189
+ };
1190
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1191
+ switch (errorCode) {
1192
+ case "BaseException":
1193
+ case "com.amazonaws.cloudsearch#BaseException":
1194
+ throw await de_BaseExceptionRes(parsedOutput, context);
1195
+ case "InternalException":
1196
+ case "com.amazonaws.cloudsearch#InternalException":
1197
+ throw await de_InternalExceptionRes(parsedOutput, context);
1198
+ case "ResourceNotFound":
1199
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1200
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1201
+ default:
1202
+ const parsedBody = parsedOutput.body;
1203
+ return throwDefaultError({
1204
+ output,
1205
+ parsedBody: parsedBody.Error,
1206
+ errorCode
1207
+ });
1208
+ }
1209
+ }, "de_DescribeAnalysisSchemesCommandError");
1210
+ var de_DescribeAvailabilityOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1211
+ if (output.statusCode >= 300) {
1212
+ return de_DescribeAvailabilityOptionsCommandError(output, context);
1213
+ }
1214
+ const data = await parseBody(output.body, context);
1215
+ let contents = {};
1216
+ contents = de_DescribeAvailabilityOptionsResponse(data.DescribeAvailabilityOptionsResult, context);
1217
+ const response = {
1218
+ $metadata: deserializeMetadata(output),
1219
+ ...contents
1220
+ };
1221
+ return response;
1222
+ }, "de_DescribeAvailabilityOptionsCommand");
1223
+ var de_DescribeAvailabilityOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1224
+ const parsedOutput = {
1225
+ ...output,
1226
+ body: await parseErrorBody(output.body, context)
1227
+ };
1228
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1229
+ switch (errorCode) {
1230
+ case "BaseException":
1231
+ case "com.amazonaws.cloudsearch#BaseException":
1232
+ throw await de_BaseExceptionRes(parsedOutput, context);
1233
+ case "DisabledAction":
1234
+ case "com.amazonaws.cloudsearch#DisabledOperationException":
1235
+ throw await de_DisabledOperationExceptionRes(parsedOutput, context);
1236
+ case "InternalException":
1237
+ case "com.amazonaws.cloudsearch#InternalException":
1238
+ throw await de_InternalExceptionRes(parsedOutput, context);
1239
+ case "InvalidType":
1240
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
1241
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1242
+ case "LimitExceeded":
1243
+ case "com.amazonaws.cloudsearch#LimitExceededException":
1244
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1245
+ case "ResourceNotFound":
1246
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1247
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1248
+ default:
1249
+ const parsedBody = parsedOutput.body;
1250
+ return throwDefaultError({
1251
+ output,
1252
+ parsedBody: parsedBody.Error,
1253
+ errorCode
1254
+ });
1255
+ }
1256
+ }, "de_DescribeAvailabilityOptionsCommandError");
1257
+ var de_DescribeDomainEndpointOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1258
+ if (output.statusCode >= 300) {
1259
+ return de_DescribeDomainEndpointOptionsCommandError(output, context);
1260
+ }
1261
+ const data = await parseBody(output.body, context);
1262
+ let contents = {};
1263
+ contents = de_DescribeDomainEndpointOptionsResponse(data.DescribeDomainEndpointOptionsResult, context);
1264
+ const response = {
1265
+ $metadata: deserializeMetadata(output),
1266
+ ...contents
1267
+ };
1268
+ return response;
1269
+ }, "de_DescribeDomainEndpointOptionsCommand");
1270
+ var de_DescribeDomainEndpointOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1271
+ const parsedOutput = {
1272
+ ...output,
1273
+ body: await parseErrorBody(output.body, context)
1274
+ };
1275
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1276
+ switch (errorCode) {
1277
+ case "BaseException":
1278
+ case "com.amazonaws.cloudsearch#BaseException":
1279
+ throw await de_BaseExceptionRes(parsedOutput, context);
1280
+ case "DisabledAction":
1281
+ case "com.amazonaws.cloudsearch#DisabledOperationException":
1282
+ throw await de_DisabledOperationExceptionRes(parsedOutput, context);
1283
+ case "InternalException":
1284
+ case "com.amazonaws.cloudsearch#InternalException":
1285
+ throw await de_InternalExceptionRes(parsedOutput, context);
1286
+ case "LimitExceeded":
1287
+ case "com.amazonaws.cloudsearch#LimitExceededException":
1288
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1289
+ case "ResourceNotFound":
1290
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1291
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1292
+ default:
1293
+ const parsedBody = parsedOutput.body;
1294
+ return throwDefaultError({
1295
+ output,
1296
+ parsedBody: parsedBody.Error,
1297
+ errorCode
1298
+ });
1299
+ }
1300
+ }, "de_DescribeDomainEndpointOptionsCommandError");
1301
+ var de_DescribeDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {
1302
+ if (output.statusCode >= 300) {
1303
+ return de_DescribeDomainsCommandError(output, context);
1304
+ }
1305
+ const data = await parseBody(output.body, context);
1306
+ let contents = {};
1307
+ contents = de_DescribeDomainsResponse(data.DescribeDomainsResult, context);
1308
+ const response = {
1309
+ $metadata: deserializeMetadata(output),
1310
+ ...contents
1311
+ };
1312
+ return response;
1313
+ }, "de_DescribeDomainsCommand");
1314
+ var de_DescribeDomainsCommandError = /* @__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 "BaseException":
1322
+ case "com.amazonaws.cloudsearch#BaseException":
1323
+ throw await de_BaseExceptionRes(parsedOutput, context);
1324
+ case "InternalException":
1325
+ case "com.amazonaws.cloudsearch#InternalException":
1326
+ throw await de_InternalExceptionRes(parsedOutput, context);
1327
+ default:
1328
+ const parsedBody = parsedOutput.body;
1329
+ return throwDefaultError({
1330
+ output,
1331
+ parsedBody: parsedBody.Error,
1332
+ errorCode
1333
+ });
1334
+ }
1335
+ }, "de_DescribeDomainsCommandError");
1336
+ var de_DescribeExpressionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1337
+ if (output.statusCode >= 300) {
1338
+ return de_DescribeExpressionsCommandError(output, context);
1339
+ }
1340
+ const data = await parseBody(output.body, context);
1341
+ let contents = {};
1342
+ contents = de_DescribeExpressionsResponse(data.DescribeExpressionsResult, context);
1343
+ const response = {
1344
+ $metadata: deserializeMetadata(output),
1345
+ ...contents
1346
+ };
1347
+ return response;
1348
+ }, "de_DescribeExpressionsCommand");
1349
+ var de_DescribeExpressionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1350
+ const parsedOutput = {
1351
+ ...output,
1352
+ body: await parseErrorBody(output.body, context)
1353
+ };
1354
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1355
+ switch (errorCode) {
1356
+ case "BaseException":
1357
+ case "com.amazonaws.cloudsearch#BaseException":
1358
+ throw await de_BaseExceptionRes(parsedOutput, context);
1359
+ case "InternalException":
1360
+ case "com.amazonaws.cloudsearch#InternalException":
1361
+ throw await de_InternalExceptionRes(parsedOutput, context);
1362
+ case "ResourceNotFound":
1363
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1364
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1365
+ default:
1366
+ const parsedBody = parsedOutput.body;
1367
+ return throwDefaultError({
1368
+ output,
1369
+ parsedBody: parsedBody.Error,
1370
+ errorCode
1371
+ });
1372
+ }
1373
+ }, "de_DescribeExpressionsCommandError");
1374
+ var de_DescribeIndexFieldsCommand = /* @__PURE__ */ __name(async (output, context) => {
1375
+ if (output.statusCode >= 300) {
1376
+ return de_DescribeIndexFieldsCommandError(output, context);
1377
+ }
1378
+ const data = await parseBody(output.body, context);
1379
+ let contents = {};
1380
+ contents = de_DescribeIndexFieldsResponse(data.DescribeIndexFieldsResult, context);
1381
+ const response = {
1382
+ $metadata: deserializeMetadata(output),
1383
+ ...contents
1384
+ };
1385
+ return response;
1386
+ }, "de_DescribeIndexFieldsCommand");
1387
+ var de_DescribeIndexFieldsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1388
+ const parsedOutput = {
1389
+ ...output,
1390
+ body: await parseErrorBody(output.body, context)
1391
+ };
1392
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1393
+ switch (errorCode) {
1394
+ case "BaseException":
1395
+ case "com.amazonaws.cloudsearch#BaseException":
1396
+ throw await de_BaseExceptionRes(parsedOutput, context);
1397
+ case "InternalException":
1398
+ case "com.amazonaws.cloudsearch#InternalException":
1399
+ throw await de_InternalExceptionRes(parsedOutput, context);
1400
+ case "ResourceNotFound":
1401
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1402
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1403
+ default:
1404
+ const parsedBody = parsedOutput.body;
1405
+ return throwDefaultError({
1406
+ output,
1407
+ parsedBody: parsedBody.Error,
1408
+ errorCode
1409
+ });
1410
+ }
1411
+ }, "de_DescribeIndexFieldsCommandError");
1412
+ var de_DescribeScalingParametersCommand = /* @__PURE__ */ __name(async (output, context) => {
1413
+ if (output.statusCode >= 300) {
1414
+ return de_DescribeScalingParametersCommandError(output, context);
1415
+ }
1416
+ const data = await parseBody(output.body, context);
1417
+ let contents = {};
1418
+ contents = de_DescribeScalingParametersResponse(data.DescribeScalingParametersResult, context);
1419
+ const response = {
1420
+ $metadata: deserializeMetadata(output),
1421
+ ...contents
1422
+ };
1423
+ return response;
1424
+ }, "de_DescribeScalingParametersCommand");
1425
+ var de_DescribeScalingParametersCommandError = /* @__PURE__ */ __name(async (output, context) => {
1426
+ const parsedOutput = {
1427
+ ...output,
1428
+ body: await parseErrorBody(output.body, context)
1429
+ };
1430
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1431
+ switch (errorCode) {
1432
+ case "BaseException":
1433
+ case "com.amazonaws.cloudsearch#BaseException":
1434
+ throw await de_BaseExceptionRes(parsedOutput, context);
1435
+ case "InternalException":
1436
+ case "com.amazonaws.cloudsearch#InternalException":
1437
+ throw await de_InternalExceptionRes(parsedOutput, context);
1438
+ case "ResourceNotFound":
1439
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1440
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1441
+ default:
1442
+ const parsedBody = parsedOutput.body;
1443
+ return throwDefaultError({
1444
+ output,
1445
+ parsedBody: parsedBody.Error,
1446
+ errorCode
1447
+ });
1448
+ }
1449
+ }, "de_DescribeScalingParametersCommandError");
1450
+ var de_DescribeServiceAccessPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
1451
+ if (output.statusCode >= 300) {
1452
+ return de_DescribeServiceAccessPoliciesCommandError(output, context);
1453
+ }
1454
+ const data = await parseBody(output.body, context);
1455
+ let contents = {};
1456
+ contents = de_DescribeServiceAccessPoliciesResponse(data.DescribeServiceAccessPoliciesResult, context);
1457
+ const response = {
1458
+ $metadata: deserializeMetadata(output),
1459
+ ...contents
1460
+ };
1461
+ return response;
1462
+ }, "de_DescribeServiceAccessPoliciesCommand");
1463
+ var de_DescribeServiceAccessPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1464
+ const parsedOutput = {
1465
+ ...output,
1466
+ body: await parseErrorBody(output.body, context)
1467
+ };
1468
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1469
+ switch (errorCode) {
1470
+ case "BaseException":
1471
+ case "com.amazonaws.cloudsearch#BaseException":
1472
+ throw await de_BaseExceptionRes(parsedOutput, context);
1473
+ case "InternalException":
1474
+ case "com.amazonaws.cloudsearch#InternalException":
1475
+ throw await de_InternalExceptionRes(parsedOutput, context);
1476
+ case "ResourceNotFound":
1477
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1478
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1479
+ default:
1480
+ const parsedBody = parsedOutput.body;
1481
+ return throwDefaultError({
1482
+ output,
1483
+ parsedBody: parsedBody.Error,
1484
+ errorCode
1485
+ });
1486
+ }
1487
+ }, "de_DescribeServiceAccessPoliciesCommandError");
1488
+ var de_DescribeSuggestersCommand = /* @__PURE__ */ __name(async (output, context) => {
1489
+ if (output.statusCode >= 300) {
1490
+ return de_DescribeSuggestersCommandError(output, context);
1491
+ }
1492
+ const data = await parseBody(output.body, context);
1493
+ let contents = {};
1494
+ contents = de_DescribeSuggestersResponse(data.DescribeSuggestersResult, context);
1495
+ const response = {
1496
+ $metadata: deserializeMetadata(output),
1497
+ ...contents
1498
+ };
1499
+ return response;
1500
+ }, "de_DescribeSuggestersCommand");
1501
+ var de_DescribeSuggestersCommandError = /* @__PURE__ */ __name(async (output, context) => {
1502
+ const parsedOutput = {
1503
+ ...output,
1504
+ body: await parseErrorBody(output.body, context)
1505
+ };
1506
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1507
+ switch (errorCode) {
1508
+ case "BaseException":
1509
+ case "com.amazonaws.cloudsearch#BaseException":
1510
+ throw await de_BaseExceptionRes(parsedOutput, context);
1511
+ case "InternalException":
1512
+ case "com.amazonaws.cloudsearch#InternalException":
1513
+ throw await de_InternalExceptionRes(parsedOutput, context);
1514
+ case "ResourceNotFound":
1515
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1516
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1517
+ default:
1518
+ const parsedBody = parsedOutput.body;
1519
+ return throwDefaultError({
1520
+ output,
1521
+ parsedBody: parsedBody.Error,
1522
+ errorCode
1523
+ });
1524
+ }
1525
+ }, "de_DescribeSuggestersCommandError");
1526
+ var de_IndexDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
1527
+ if (output.statusCode >= 300) {
1528
+ return de_IndexDocumentsCommandError(output, context);
1529
+ }
1530
+ const data = await parseBody(output.body, context);
1531
+ let contents = {};
1532
+ contents = de_IndexDocumentsResponse(data.IndexDocumentsResult, context);
1533
+ const response = {
1534
+ $metadata: deserializeMetadata(output),
1535
+ ...contents
1536
+ };
1537
+ return response;
1538
+ }, "de_IndexDocumentsCommand");
1539
+ var de_IndexDocumentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1540
+ const parsedOutput = {
1541
+ ...output,
1542
+ body: await parseErrorBody(output.body, context)
1543
+ };
1544
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1545
+ switch (errorCode) {
1546
+ case "BaseException":
1547
+ case "com.amazonaws.cloudsearch#BaseException":
1548
+ throw await de_BaseExceptionRes(parsedOutput, context);
1549
+ case "InternalException":
1550
+ case "com.amazonaws.cloudsearch#InternalException":
1551
+ throw await de_InternalExceptionRes(parsedOutput, context);
1552
+ case "ResourceNotFound":
1553
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1554
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1555
+ case "ValidationException":
1556
+ case "com.amazonaws.cloudsearch#ValidationException":
1557
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1558
+ default:
1559
+ const parsedBody = parsedOutput.body;
1560
+ return throwDefaultError({
1561
+ output,
1562
+ parsedBody: parsedBody.Error,
1563
+ errorCode
1564
+ });
1565
+ }
1566
+ }, "de_IndexDocumentsCommandError");
1567
+ var de_ListDomainNamesCommand = /* @__PURE__ */ __name(async (output, context) => {
1568
+ if (output.statusCode >= 300) {
1569
+ return de_ListDomainNamesCommandError(output, context);
1570
+ }
1571
+ const data = await parseBody(output.body, context);
1572
+ let contents = {};
1573
+ contents = de_ListDomainNamesResponse(data.ListDomainNamesResult, context);
1574
+ const response = {
1575
+ $metadata: deserializeMetadata(output),
1576
+ ...contents
1577
+ };
1578
+ return response;
1579
+ }, "de_ListDomainNamesCommand");
1580
+ var de_ListDomainNamesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1581
+ const parsedOutput = {
1582
+ ...output,
1583
+ body: await parseErrorBody(output.body, context)
1584
+ };
1585
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1586
+ switch (errorCode) {
1587
+ case "BaseException":
1588
+ case "com.amazonaws.cloudsearch#BaseException":
1589
+ throw await de_BaseExceptionRes(parsedOutput, context);
1590
+ default:
1591
+ const parsedBody = parsedOutput.body;
1592
+ return throwDefaultError({
1593
+ output,
1594
+ parsedBody: parsedBody.Error,
1595
+ errorCode
1596
+ });
1597
+ }
1598
+ }, "de_ListDomainNamesCommandError");
1599
+ var de_UpdateAvailabilityOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1600
+ if (output.statusCode >= 300) {
1601
+ return de_UpdateAvailabilityOptionsCommandError(output, context);
1602
+ }
1603
+ const data = await parseBody(output.body, context);
1604
+ let contents = {};
1605
+ contents = de_UpdateAvailabilityOptionsResponse(data.UpdateAvailabilityOptionsResult, context);
1606
+ const response = {
1607
+ $metadata: deserializeMetadata(output),
1608
+ ...contents
1609
+ };
1610
+ return response;
1611
+ }, "de_UpdateAvailabilityOptionsCommand");
1612
+ var de_UpdateAvailabilityOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1613
+ const parsedOutput = {
1614
+ ...output,
1615
+ body: await parseErrorBody(output.body, context)
1616
+ };
1617
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1618
+ switch (errorCode) {
1619
+ case "BaseException":
1620
+ case "com.amazonaws.cloudsearch#BaseException":
1621
+ throw await de_BaseExceptionRes(parsedOutput, context);
1622
+ case "DisabledAction":
1623
+ case "com.amazonaws.cloudsearch#DisabledOperationException":
1624
+ throw await de_DisabledOperationExceptionRes(parsedOutput, context);
1625
+ case "InternalException":
1626
+ case "com.amazonaws.cloudsearch#InternalException":
1627
+ throw await de_InternalExceptionRes(parsedOutput, context);
1628
+ case "InvalidType":
1629
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
1630
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1631
+ case "LimitExceeded":
1632
+ case "com.amazonaws.cloudsearch#LimitExceededException":
1633
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1634
+ case "ResourceNotFound":
1635
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1636
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1637
+ case "ValidationException":
1638
+ case "com.amazonaws.cloudsearch#ValidationException":
1639
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1640
+ default:
1641
+ const parsedBody = parsedOutput.body;
1642
+ return throwDefaultError({
1643
+ output,
1644
+ parsedBody: parsedBody.Error,
1645
+ errorCode
1646
+ });
1647
+ }
1648
+ }, "de_UpdateAvailabilityOptionsCommandError");
1649
+ var de_UpdateDomainEndpointOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1650
+ if (output.statusCode >= 300) {
1651
+ return de_UpdateDomainEndpointOptionsCommandError(output, context);
1652
+ }
1653
+ const data = await parseBody(output.body, context);
1654
+ let contents = {};
1655
+ contents = de_UpdateDomainEndpointOptionsResponse(data.UpdateDomainEndpointOptionsResult, context);
1656
+ const response = {
1657
+ $metadata: deserializeMetadata(output),
1658
+ ...contents
1659
+ };
1660
+ return response;
1661
+ }, "de_UpdateDomainEndpointOptionsCommand");
1662
+ var de_UpdateDomainEndpointOptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1663
+ const parsedOutput = {
1664
+ ...output,
1665
+ body: await parseErrorBody(output.body, context)
1666
+ };
1667
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1668
+ switch (errorCode) {
1669
+ case "BaseException":
1670
+ case "com.amazonaws.cloudsearch#BaseException":
1671
+ throw await de_BaseExceptionRes(parsedOutput, context);
1672
+ case "DisabledAction":
1673
+ case "com.amazonaws.cloudsearch#DisabledOperationException":
1674
+ throw await de_DisabledOperationExceptionRes(parsedOutput, context);
1675
+ case "InternalException":
1676
+ case "com.amazonaws.cloudsearch#InternalException":
1677
+ throw await de_InternalExceptionRes(parsedOutput, context);
1678
+ case "InvalidType":
1679
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
1680
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1681
+ case "LimitExceeded":
1682
+ case "com.amazonaws.cloudsearch#LimitExceededException":
1683
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1684
+ case "ResourceNotFound":
1685
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1686
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1687
+ case "ValidationException":
1688
+ case "com.amazonaws.cloudsearch#ValidationException":
1689
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1690
+ default:
1691
+ const parsedBody = parsedOutput.body;
1692
+ return throwDefaultError({
1693
+ output,
1694
+ parsedBody: parsedBody.Error,
1695
+ errorCode
1696
+ });
1697
+ }
1698
+ }, "de_UpdateDomainEndpointOptionsCommandError");
1699
+ var de_UpdateScalingParametersCommand = /* @__PURE__ */ __name(async (output, context) => {
1700
+ if (output.statusCode >= 300) {
1701
+ return de_UpdateScalingParametersCommandError(output, context);
1702
+ }
1703
+ const data = await parseBody(output.body, context);
1704
+ let contents = {};
1705
+ contents = de_UpdateScalingParametersResponse(data.UpdateScalingParametersResult, context);
1706
+ const response = {
1707
+ $metadata: deserializeMetadata(output),
1708
+ ...contents
1709
+ };
1710
+ return response;
1711
+ }, "de_UpdateScalingParametersCommand");
1712
+ var de_UpdateScalingParametersCommandError = /* @__PURE__ */ __name(async (output, context) => {
1713
+ const parsedOutput = {
1714
+ ...output,
1715
+ body: await parseErrorBody(output.body, context)
1716
+ };
1717
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1718
+ switch (errorCode) {
1719
+ case "BaseException":
1720
+ case "com.amazonaws.cloudsearch#BaseException":
1721
+ throw await de_BaseExceptionRes(parsedOutput, context);
1722
+ case "InternalException":
1723
+ case "com.amazonaws.cloudsearch#InternalException":
1724
+ throw await de_InternalExceptionRes(parsedOutput, context);
1725
+ case "InvalidType":
1726
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
1727
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1728
+ case "LimitExceeded":
1729
+ case "com.amazonaws.cloudsearch#LimitExceededException":
1730
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1731
+ case "ResourceNotFound":
1732
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1733
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1734
+ case "ValidationException":
1735
+ case "com.amazonaws.cloudsearch#ValidationException":
1736
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1737
+ default:
1738
+ const parsedBody = parsedOutput.body;
1739
+ return throwDefaultError({
1740
+ output,
1741
+ parsedBody: parsedBody.Error,
1742
+ errorCode
1743
+ });
1744
+ }
1745
+ }, "de_UpdateScalingParametersCommandError");
1746
+ var de_UpdateServiceAccessPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
1747
+ if (output.statusCode >= 300) {
1748
+ return de_UpdateServiceAccessPoliciesCommandError(output, context);
1749
+ }
1750
+ const data = await parseBody(output.body, context);
1751
+ let contents = {};
1752
+ contents = de_UpdateServiceAccessPoliciesResponse(data.UpdateServiceAccessPoliciesResult, context);
1753
+ const response = {
1754
+ $metadata: deserializeMetadata(output),
1755
+ ...contents
1756
+ };
1757
+ return response;
1758
+ }, "de_UpdateServiceAccessPoliciesCommand");
1759
+ var de_UpdateServiceAccessPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1760
+ const parsedOutput = {
1761
+ ...output,
1762
+ body: await parseErrorBody(output.body, context)
1763
+ };
1764
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1765
+ switch (errorCode) {
1766
+ case "BaseException":
1767
+ case "com.amazonaws.cloudsearch#BaseException":
1768
+ throw await de_BaseExceptionRes(parsedOutput, context);
1769
+ case "InternalException":
1770
+ case "com.amazonaws.cloudsearch#InternalException":
1771
+ throw await de_InternalExceptionRes(parsedOutput, context);
1772
+ case "InvalidType":
1773
+ case "com.amazonaws.cloudsearch#InvalidTypeException":
1774
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1775
+ case "LimitExceeded":
1776
+ case "com.amazonaws.cloudsearch#LimitExceededException":
1777
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1778
+ case "ResourceNotFound":
1779
+ case "com.amazonaws.cloudsearch#ResourceNotFoundException":
1780
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1781
+ case "ValidationException":
1782
+ case "com.amazonaws.cloudsearch#ValidationException":
1783
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1784
+ default:
1785
+ const parsedBody = parsedOutput.body;
1786
+ return throwDefaultError({
1787
+ output,
1788
+ parsedBody: parsedBody.Error,
1789
+ errorCode
1790
+ });
1791
+ }
1792
+ }, "de_UpdateServiceAccessPoliciesCommandError");
1793
+ var de_BaseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1794
+ const body = parsedOutput.body;
1795
+ const deserialized = de_BaseException(body.Error, context);
1796
+ const exception = new BaseException({
1797
+ $metadata: deserializeMetadata(parsedOutput),
1798
+ ...deserialized
1799
+ });
1800
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1801
+ }, "de_BaseExceptionRes");
1802
+ var de_DisabledOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1803
+ const body = parsedOutput.body;
1804
+ const deserialized = de_DisabledOperationException(body.Error, context);
1805
+ const exception = new DisabledOperationException({
1806
+ $metadata: deserializeMetadata(parsedOutput),
1807
+ ...deserialized
1808
+ });
1809
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1810
+ }, "de_DisabledOperationExceptionRes");
1811
+ var de_InternalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1812
+ const body = parsedOutput.body;
1813
+ const deserialized = de_InternalException(body.Error, context);
1814
+ const exception = new InternalException({
1815
+ $metadata: deserializeMetadata(parsedOutput),
1816
+ ...deserialized
1817
+ });
1818
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1819
+ }, "de_InternalExceptionRes");
1820
+ var de_InvalidTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1821
+ const body = parsedOutput.body;
1822
+ const deserialized = de_InvalidTypeException(body.Error, context);
1823
+ const exception = new InvalidTypeException({
1824
+ $metadata: deserializeMetadata(parsedOutput),
1825
+ ...deserialized
1826
+ });
1827
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1828
+ }, "de_InvalidTypeExceptionRes");
1829
+ var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1830
+ const body = parsedOutput.body;
1831
+ const deserialized = de_LimitExceededException(body.Error, context);
1832
+ const exception = new LimitExceededException({
1833
+ $metadata: deserializeMetadata(parsedOutput),
1834
+ ...deserialized
1835
+ });
1836
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1837
+ }, "de_LimitExceededExceptionRes");
1838
+ var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1839
+ const body = parsedOutput.body;
1840
+ const deserialized = de_ResourceAlreadyExistsException(body.Error, context);
1841
+ const exception = new ResourceAlreadyExistsException({
1842
+ $metadata: deserializeMetadata(parsedOutput),
1843
+ ...deserialized
1844
+ });
1845
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1846
+ }, "de_ResourceAlreadyExistsExceptionRes");
1847
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1848
+ const body = parsedOutput.body;
1849
+ const deserialized = de_ResourceNotFoundException(body.Error, context);
1850
+ const exception = new ResourceNotFoundException({
1851
+ $metadata: deserializeMetadata(parsedOutput),
1852
+ ...deserialized
1853
+ });
1854
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1855
+ }, "de_ResourceNotFoundExceptionRes");
1856
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1857
+ const body = parsedOutput.body;
1858
+ const deserialized = de_ValidationException(body.Error, context);
1859
+ const exception = new ValidationException({
1860
+ $metadata: deserializeMetadata(parsedOutput),
1861
+ ...deserialized
1862
+ });
1863
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1864
+ }, "de_ValidationExceptionRes");
1865
+ var se_AnalysisOptions = /* @__PURE__ */ __name((input, context) => {
1866
+ const entries = {};
1867
+ if (input[_S] != null) {
1868
+ entries[_S] = input[_S];
1869
+ }
1870
+ if (input[_St] != null) {
1871
+ entries[_St] = input[_St];
1872
+ }
1873
+ if (input[_SD] != null) {
1874
+ entries[_SD] = input[_SD];
1875
+ }
1876
+ if (input[_JTD] != null) {
1877
+ entries[_JTD] = input[_JTD];
1878
+ }
1879
+ if (input[_AS] != null) {
1880
+ entries[_AS] = input[_AS];
1881
+ }
1882
+ return entries;
1883
+ }, "se_AnalysisOptions");
1884
+ var se_AnalysisScheme = /* @__PURE__ */ __name((input, context) => {
1885
+ const entries = {};
1886
+ if (input[_ASN] != null) {
1887
+ entries[_ASN] = input[_ASN];
1888
+ }
1889
+ if (input[_ASL] != null) {
1890
+ entries[_ASL] = input[_ASL];
1891
+ }
1892
+ if (input[_AO] != null) {
1893
+ const memberEntries = se_AnalysisOptions(input[_AO], context);
1894
+ Object.entries(memberEntries).forEach(([key, value]) => {
1895
+ const loc = `AnalysisOptions.${key}`;
1896
+ entries[loc] = value;
1897
+ });
1898
+ }
1899
+ return entries;
1900
+ }, "se_AnalysisScheme");
1901
+ var se_BuildSuggestersRequest = /* @__PURE__ */ __name((input, context) => {
1902
+ const entries = {};
1903
+ if (input[_DN] != null) {
1904
+ entries[_DN] = input[_DN];
1905
+ }
1906
+ return entries;
1907
+ }, "se_BuildSuggestersRequest");
1908
+ var se_CreateDomainRequest = /* @__PURE__ */ __name((input, context) => {
1909
+ const entries = {};
1910
+ if (input[_DN] != null) {
1911
+ entries[_DN] = input[_DN];
1912
+ }
1913
+ return entries;
1914
+ }, "se_CreateDomainRequest");
1915
+ var se_DateArrayOptions = /* @__PURE__ */ __name((input, context) => {
1916
+ const entries = {};
1917
+ if (input[_DV] != null) {
1918
+ entries[_DV] = input[_DV];
1919
+ }
1920
+ if (input[_SF] != null) {
1921
+ entries[_SF] = input[_SF];
1922
+ }
1923
+ if (input[_FE] != null) {
1924
+ entries[_FE] = input[_FE];
1925
+ }
1926
+ if (input[_SE] != null) {
1927
+ entries[_SE] = input[_SE];
1928
+ }
1929
+ if (input[_RE] != null) {
1930
+ entries[_RE] = input[_RE];
1931
+ }
1932
+ return entries;
1933
+ }, "se_DateArrayOptions");
1934
+ var se_DateOptions = /* @__PURE__ */ __name((input, context) => {
1935
+ const entries = {};
1936
+ if (input[_DV] != null) {
1937
+ entries[_DV] = input[_DV];
1938
+ }
1939
+ if (input[_SFo] != null) {
1940
+ entries[_SFo] = input[_SFo];
1941
+ }
1942
+ if (input[_FE] != null) {
1943
+ entries[_FE] = input[_FE];
1944
+ }
1945
+ if (input[_SE] != null) {
1946
+ entries[_SE] = input[_SE];
1947
+ }
1948
+ if (input[_RE] != null) {
1949
+ entries[_RE] = input[_RE];
1950
+ }
1951
+ if (input[_SEo] != null) {
1952
+ entries[_SEo] = input[_SEo];
1953
+ }
1954
+ return entries;
1955
+ }, "se_DateOptions");
1956
+ var se_DefineAnalysisSchemeRequest = /* @__PURE__ */ __name((input, context) => {
1957
+ const entries = {};
1958
+ if (input[_DN] != null) {
1959
+ entries[_DN] = input[_DN];
1960
+ }
1961
+ if (input[_ASn] != null) {
1962
+ const memberEntries = se_AnalysisScheme(input[_ASn], context);
1963
+ Object.entries(memberEntries).forEach(([key, value]) => {
1964
+ const loc = `AnalysisScheme.${key}`;
1965
+ entries[loc] = value;
1966
+ });
1967
+ }
1968
+ return entries;
1969
+ }, "se_DefineAnalysisSchemeRequest");
1970
+ var se_DefineExpressionRequest = /* @__PURE__ */ __name((input, context) => {
1971
+ const entries = {};
1972
+ if (input[_DN] != null) {
1973
+ entries[_DN] = input[_DN];
1974
+ }
1975
+ if (input[_E] != null) {
1976
+ const memberEntries = se_Expression(input[_E], context);
1977
+ Object.entries(memberEntries).forEach(([key, value]) => {
1978
+ const loc = `Expression.${key}`;
1979
+ entries[loc] = value;
1980
+ });
1981
+ }
1982
+ return entries;
1983
+ }, "se_DefineExpressionRequest");
1984
+ var se_DefineIndexFieldRequest = /* @__PURE__ */ __name((input, context) => {
1985
+ const entries = {};
1986
+ if (input[_DN] != null) {
1987
+ entries[_DN] = input[_DN];
1988
+ }
1989
+ if (input[_IF] != null) {
1990
+ const memberEntries = se_IndexField(input[_IF], context);
1991
+ Object.entries(memberEntries).forEach(([key, value]) => {
1992
+ const loc = `IndexField.${key}`;
1993
+ entries[loc] = value;
1994
+ });
1995
+ }
1996
+ return entries;
1997
+ }, "se_DefineIndexFieldRequest");
1998
+ var se_DefineSuggesterRequest = /* @__PURE__ */ __name((input, context) => {
1999
+ const entries = {};
2000
+ if (input[_DN] != null) {
2001
+ entries[_DN] = input[_DN];
2002
+ }
2003
+ if (input[_Su] != null) {
2004
+ const memberEntries = se_Suggester(input[_Su], context);
2005
+ Object.entries(memberEntries).forEach(([key, value]) => {
2006
+ const loc = `Suggester.${key}`;
2007
+ entries[loc] = value;
2008
+ });
2009
+ }
2010
+ return entries;
2011
+ }, "se_DefineSuggesterRequest");
2012
+ var se_DeleteAnalysisSchemeRequest = /* @__PURE__ */ __name((input, context) => {
2013
+ const entries = {};
2014
+ if (input[_DN] != null) {
2015
+ entries[_DN] = input[_DN];
2016
+ }
2017
+ if (input[_ASN] != null) {
2018
+ entries[_ASN] = input[_ASN];
2019
+ }
2020
+ return entries;
2021
+ }, "se_DeleteAnalysisSchemeRequest");
2022
+ var se_DeleteDomainRequest = /* @__PURE__ */ __name((input, context) => {
2023
+ const entries = {};
2024
+ if (input[_DN] != null) {
2025
+ entries[_DN] = input[_DN];
2026
+ }
2027
+ return entries;
2028
+ }, "se_DeleteDomainRequest");
2029
+ var se_DeleteExpressionRequest = /* @__PURE__ */ __name((input, context) => {
2030
+ const entries = {};
2031
+ if (input[_DN] != null) {
2032
+ entries[_DN] = input[_DN];
2033
+ }
2034
+ if (input[_EN] != null) {
2035
+ entries[_EN] = input[_EN];
2036
+ }
2037
+ return entries;
2038
+ }, "se_DeleteExpressionRequest");
2039
+ var se_DeleteIndexFieldRequest = /* @__PURE__ */ __name((input, context) => {
2040
+ const entries = {};
2041
+ if (input[_DN] != null) {
2042
+ entries[_DN] = input[_DN];
2043
+ }
2044
+ if (input[_IFN] != null) {
2045
+ entries[_IFN] = input[_IFN];
2046
+ }
2047
+ return entries;
2048
+ }, "se_DeleteIndexFieldRequest");
2049
+ var se_DeleteSuggesterRequest = /* @__PURE__ */ __name((input, context) => {
2050
+ const entries = {};
2051
+ if (input[_DN] != null) {
2052
+ entries[_DN] = input[_DN];
2053
+ }
2054
+ if (input[_SN] != null) {
2055
+ entries[_SN] = input[_SN];
2056
+ }
2057
+ return entries;
2058
+ }, "se_DeleteSuggesterRequest");
2059
+ var se_DescribeAnalysisSchemesRequest = /* @__PURE__ */ __name((input, context) => {
2060
+ var _a;
2061
+ const entries = {};
2062
+ if (input[_DN] != null) {
2063
+ entries[_DN] = input[_DN];
2064
+ }
2065
+ if (input[_ASNn] != null) {
2066
+ const memberEntries = se_StandardNameList(input[_ASNn], context);
2067
+ if (((_a = input[_ASNn]) == null ? void 0 : _a.length) === 0) {
2068
+ entries.AnalysisSchemeNames = [];
2069
+ }
2070
+ Object.entries(memberEntries).forEach(([key, value]) => {
2071
+ const loc = `AnalysisSchemeNames.${key}`;
2072
+ entries[loc] = value;
2073
+ });
2074
+ }
2075
+ if (input[_D] != null) {
2076
+ entries[_D] = input[_D];
2077
+ }
2078
+ return entries;
2079
+ }, "se_DescribeAnalysisSchemesRequest");
2080
+ var se_DescribeAvailabilityOptionsRequest = /* @__PURE__ */ __name((input, context) => {
2081
+ const entries = {};
2082
+ if (input[_DN] != null) {
2083
+ entries[_DN] = input[_DN];
2084
+ }
2085
+ if (input[_D] != null) {
2086
+ entries[_D] = input[_D];
2087
+ }
2088
+ return entries;
2089
+ }, "se_DescribeAvailabilityOptionsRequest");
2090
+ var se_DescribeDomainEndpointOptionsRequest = /* @__PURE__ */ __name((input, context) => {
2091
+ const entries = {};
2092
+ if (input[_DN] != null) {
2093
+ entries[_DN] = input[_DN];
2094
+ }
2095
+ if (input[_D] != null) {
2096
+ entries[_D] = input[_D];
2097
+ }
2098
+ return entries;
2099
+ }, "se_DescribeDomainEndpointOptionsRequest");
2100
+ var se_DescribeDomainsRequest = /* @__PURE__ */ __name((input, context) => {
2101
+ var _a;
2102
+ const entries = {};
2103
+ if (input[_DNo] != null) {
2104
+ const memberEntries = se_DomainNameList(input[_DNo], context);
2105
+ if (((_a = input[_DNo]) == null ? void 0 : _a.length) === 0) {
2106
+ entries.DomainNames = [];
2107
+ }
2108
+ Object.entries(memberEntries).forEach(([key, value]) => {
2109
+ const loc = `DomainNames.${key}`;
2110
+ entries[loc] = value;
2111
+ });
2112
+ }
2113
+ return entries;
2114
+ }, "se_DescribeDomainsRequest");
2115
+ var se_DescribeExpressionsRequest = /* @__PURE__ */ __name((input, context) => {
2116
+ var _a;
2117
+ const entries = {};
2118
+ if (input[_DN] != null) {
2119
+ entries[_DN] = input[_DN];
2120
+ }
2121
+ if (input[_ENx] != null) {
2122
+ const memberEntries = se_StandardNameList(input[_ENx], context);
2123
+ if (((_a = input[_ENx]) == null ? void 0 : _a.length) === 0) {
2124
+ entries.ExpressionNames = [];
2125
+ }
2126
+ Object.entries(memberEntries).forEach(([key, value]) => {
2127
+ const loc = `ExpressionNames.${key}`;
2128
+ entries[loc] = value;
2129
+ });
2130
+ }
2131
+ if (input[_D] != null) {
2132
+ entries[_D] = input[_D];
2133
+ }
2134
+ return entries;
2135
+ }, "se_DescribeExpressionsRequest");
2136
+ var se_DescribeIndexFieldsRequest = /* @__PURE__ */ __name((input, context) => {
2137
+ var _a;
2138
+ const entries = {};
2139
+ if (input[_DN] != null) {
2140
+ entries[_DN] = input[_DN];
2141
+ }
2142
+ if (input[_FN] != null) {
2143
+ const memberEntries = se_DynamicFieldNameList(input[_FN], context);
2144
+ if (((_a = input[_FN]) == null ? void 0 : _a.length) === 0) {
2145
+ entries.FieldNames = [];
2146
+ }
2147
+ Object.entries(memberEntries).forEach(([key, value]) => {
2148
+ const loc = `FieldNames.${key}`;
2149
+ entries[loc] = value;
2150
+ });
2151
+ }
2152
+ if (input[_D] != null) {
2153
+ entries[_D] = input[_D];
2154
+ }
2155
+ return entries;
2156
+ }, "se_DescribeIndexFieldsRequest");
2157
+ var se_DescribeScalingParametersRequest = /* @__PURE__ */ __name((input, context) => {
2158
+ const entries = {};
2159
+ if (input[_DN] != null) {
2160
+ entries[_DN] = input[_DN];
2161
+ }
2162
+ return entries;
2163
+ }, "se_DescribeScalingParametersRequest");
2164
+ var se_DescribeServiceAccessPoliciesRequest = /* @__PURE__ */ __name((input, context) => {
2165
+ const entries = {};
2166
+ if (input[_DN] != null) {
2167
+ entries[_DN] = input[_DN];
2168
+ }
2169
+ if (input[_D] != null) {
2170
+ entries[_D] = input[_D];
2171
+ }
2172
+ return entries;
2173
+ }, "se_DescribeServiceAccessPoliciesRequest");
2174
+ var se_DescribeSuggestersRequest = /* @__PURE__ */ __name((input, context) => {
2175
+ var _a;
2176
+ const entries = {};
2177
+ if (input[_DN] != null) {
2178
+ entries[_DN] = input[_DN];
2179
+ }
2180
+ if (input[_SNu] != null) {
2181
+ const memberEntries = se_StandardNameList(input[_SNu], context);
2182
+ if (((_a = input[_SNu]) == null ? void 0 : _a.length) === 0) {
2183
+ entries.SuggesterNames = [];
2184
+ }
2185
+ Object.entries(memberEntries).forEach(([key, value]) => {
2186
+ const loc = `SuggesterNames.${key}`;
2187
+ entries[loc] = value;
2188
+ });
2189
+ }
2190
+ if (input[_D] != null) {
2191
+ entries[_D] = input[_D];
2192
+ }
2193
+ return entries;
2194
+ }, "se_DescribeSuggestersRequest");
2195
+ var se_DocumentSuggesterOptions = /* @__PURE__ */ __name((input, context) => {
2196
+ const entries = {};
2197
+ if (input[_SFo] != null) {
2198
+ entries[_SFo] = input[_SFo];
2199
+ }
2200
+ if (input[_FM] != null) {
2201
+ entries[_FM] = input[_FM];
2202
+ }
2203
+ if (input[_SEor] != null) {
2204
+ entries[_SEor] = input[_SEor];
2205
+ }
2206
+ return entries;
2207
+ }, "se_DocumentSuggesterOptions");
2208
+ var se_DomainEndpointOptions = /* @__PURE__ */ __name((input, context) => {
2209
+ const entries = {};
2210
+ if (input[_EHTTPS] != null) {
2211
+ entries[_EHTTPS] = input[_EHTTPS];
2212
+ }
2213
+ if (input[_TLSSP] != null) {
2214
+ entries[_TLSSP] = input[_TLSSP];
2215
+ }
2216
+ return entries;
2217
+ }, "se_DomainEndpointOptions");
2218
+ var se_DomainNameList = /* @__PURE__ */ __name((input, context) => {
2219
+ const entries = {};
2220
+ let counter = 1;
2221
+ for (const entry of input) {
2222
+ if (entry === null) {
2223
+ continue;
2224
+ }
2225
+ entries[`member.${counter}`] = entry;
2226
+ counter++;
2227
+ }
2228
+ return entries;
2229
+ }, "se_DomainNameList");
2230
+ var se_DoubleArrayOptions = /* @__PURE__ */ __name((input, context) => {
2231
+ const entries = {};
2232
+ if (input[_DV] != null) {
2233
+ entries[_DV] = (0, import_smithy_client.serializeFloat)(input[_DV]);
2234
+ }
2235
+ if (input[_SF] != null) {
2236
+ entries[_SF] = input[_SF];
2237
+ }
2238
+ if (input[_FE] != null) {
2239
+ entries[_FE] = input[_FE];
2240
+ }
2241
+ if (input[_SE] != null) {
2242
+ entries[_SE] = input[_SE];
2243
+ }
2244
+ if (input[_RE] != null) {
2245
+ entries[_RE] = input[_RE];
2246
+ }
2247
+ return entries;
2248
+ }, "se_DoubleArrayOptions");
2249
+ var se_DoubleOptions = /* @__PURE__ */ __name((input, context) => {
2250
+ const entries = {};
2251
+ if (input[_DV] != null) {
2252
+ entries[_DV] = (0, import_smithy_client.serializeFloat)(input[_DV]);
2253
+ }
2254
+ if (input[_SFo] != null) {
2255
+ entries[_SFo] = input[_SFo];
2256
+ }
2257
+ if (input[_FE] != null) {
2258
+ entries[_FE] = input[_FE];
2259
+ }
2260
+ if (input[_SE] != null) {
2261
+ entries[_SE] = input[_SE];
2262
+ }
2263
+ if (input[_RE] != null) {
2264
+ entries[_RE] = input[_RE];
2265
+ }
2266
+ if (input[_SEo] != null) {
2267
+ entries[_SEo] = input[_SEo];
2268
+ }
2269
+ return entries;
2270
+ }, "se_DoubleOptions");
2271
+ var se_DynamicFieldNameList = /* @__PURE__ */ __name((input, context) => {
2272
+ const entries = {};
2273
+ let counter = 1;
2274
+ for (const entry of input) {
2275
+ if (entry === null) {
2276
+ continue;
2277
+ }
2278
+ entries[`member.${counter}`] = entry;
2279
+ counter++;
2280
+ }
2281
+ return entries;
2282
+ }, "se_DynamicFieldNameList");
2283
+ var se_Expression = /* @__PURE__ */ __name((input, context) => {
2284
+ const entries = {};
2285
+ if (input[_EN] != null) {
2286
+ entries[_EN] = input[_EN];
2287
+ }
2288
+ if (input[_EV] != null) {
2289
+ entries[_EV] = input[_EV];
2290
+ }
2291
+ return entries;
2292
+ }, "se_Expression");
2293
+ var se_IndexDocumentsRequest = /* @__PURE__ */ __name((input, context) => {
2294
+ const entries = {};
2295
+ if (input[_DN] != null) {
2296
+ entries[_DN] = input[_DN];
2297
+ }
2298
+ return entries;
2299
+ }, "se_IndexDocumentsRequest");
2300
+ var se_IndexField = /* @__PURE__ */ __name((input, context) => {
2301
+ const entries = {};
2302
+ if (input[_IFN] != null) {
2303
+ entries[_IFN] = input[_IFN];
2304
+ }
2305
+ if (input[_IFT] != null) {
2306
+ entries[_IFT] = input[_IFT];
2307
+ }
2308
+ if (input[_IO] != null) {
2309
+ const memberEntries = se_IntOptions(input[_IO], context);
2310
+ Object.entries(memberEntries).forEach(([key, value]) => {
2311
+ const loc = `IntOptions.${key}`;
2312
+ entries[loc] = value;
2313
+ });
2314
+ }
2315
+ if (input[_DO] != null) {
2316
+ const memberEntries = se_DoubleOptions(input[_DO], context);
2317
+ Object.entries(memberEntries).forEach(([key, value]) => {
2318
+ const loc = `DoubleOptions.${key}`;
2319
+ entries[loc] = value;
2320
+ });
2321
+ }
2322
+ if (input[_LO] != null) {
2323
+ const memberEntries = se_LiteralOptions(input[_LO], context);
2324
+ Object.entries(memberEntries).forEach(([key, value]) => {
2325
+ const loc = `LiteralOptions.${key}`;
2326
+ entries[loc] = value;
2327
+ });
2328
+ }
2329
+ if (input[_TO] != null) {
2330
+ const memberEntries = se_TextOptions(input[_TO], context);
2331
+ Object.entries(memberEntries).forEach(([key, value]) => {
2332
+ const loc = `TextOptions.${key}`;
2333
+ entries[loc] = value;
2334
+ });
2335
+ }
2336
+ if (input[_DOa] != null) {
2337
+ const memberEntries = se_DateOptions(input[_DOa], context);
2338
+ Object.entries(memberEntries).forEach(([key, value]) => {
2339
+ const loc = `DateOptions.${key}`;
2340
+ entries[loc] = value;
2341
+ });
2342
+ }
2343
+ if (input[_LLO] != null) {
2344
+ const memberEntries = se_LatLonOptions(input[_LLO], context);
2345
+ Object.entries(memberEntries).forEach(([key, value]) => {
2346
+ const loc = `LatLonOptions.${key}`;
2347
+ entries[loc] = value;
2348
+ });
2349
+ }
2350
+ if (input[_IAO] != null) {
2351
+ const memberEntries = se_IntArrayOptions(input[_IAO], context);
2352
+ Object.entries(memberEntries).forEach(([key, value]) => {
2353
+ const loc = `IntArrayOptions.${key}`;
2354
+ entries[loc] = value;
2355
+ });
2356
+ }
2357
+ if (input[_DAOo] != null) {
2358
+ const memberEntries = se_DoubleArrayOptions(input[_DAOo], context);
2359
+ Object.entries(memberEntries).forEach(([key, value]) => {
2360
+ const loc = `DoubleArrayOptions.${key}`;
2361
+ entries[loc] = value;
2362
+ });
2363
+ }
2364
+ if (input[_LAO] != null) {
2365
+ const memberEntries = se_LiteralArrayOptions(input[_LAO], context);
2366
+ Object.entries(memberEntries).forEach(([key, value]) => {
2367
+ const loc = `LiteralArrayOptions.${key}`;
2368
+ entries[loc] = value;
2369
+ });
2370
+ }
2371
+ if (input[_TAO] != null) {
2372
+ const memberEntries = se_TextArrayOptions(input[_TAO], context);
2373
+ Object.entries(memberEntries).forEach(([key, value]) => {
2374
+ const loc = `TextArrayOptions.${key}`;
2375
+ entries[loc] = value;
2376
+ });
2377
+ }
2378
+ if (input[_DAOa] != null) {
2379
+ const memberEntries = se_DateArrayOptions(input[_DAOa], context);
2380
+ Object.entries(memberEntries).forEach(([key, value]) => {
2381
+ const loc = `DateArrayOptions.${key}`;
2382
+ entries[loc] = value;
2383
+ });
2384
+ }
2385
+ return entries;
2386
+ }, "se_IndexField");
2387
+ var se_IntArrayOptions = /* @__PURE__ */ __name((input, context) => {
2388
+ const entries = {};
2389
+ if (input[_DV] != null) {
2390
+ entries[_DV] = input[_DV];
2391
+ }
2392
+ if (input[_SF] != null) {
2393
+ entries[_SF] = input[_SF];
2394
+ }
2395
+ if (input[_FE] != null) {
2396
+ entries[_FE] = input[_FE];
2397
+ }
2398
+ if (input[_SE] != null) {
2399
+ entries[_SE] = input[_SE];
2400
+ }
2401
+ if (input[_RE] != null) {
2402
+ entries[_RE] = input[_RE];
2403
+ }
2404
+ return entries;
2405
+ }, "se_IntArrayOptions");
2406
+ var se_IntOptions = /* @__PURE__ */ __name((input, context) => {
2407
+ const entries = {};
2408
+ if (input[_DV] != null) {
2409
+ entries[_DV] = input[_DV];
2410
+ }
2411
+ if (input[_SFo] != null) {
2412
+ entries[_SFo] = input[_SFo];
2413
+ }
2414
+ if (input[_FE] != null) {
2415
+ entries[_FE] = input[_FE];
2416
+ }
2417
+ if (input[_SE] != null) {
2418
+ entries[_SE] = input[_SE];
2419
+ }
2420
+ if (input[_RE] != null) {
2421
+ entries[_RE] = input[_RE];
2422
+ }
2423
+ if (input[_SEo] != null) {
2424
+ entries[_SEo] = input[_SEo];
2425
+ }
2426
+ return entries;
2427
+ }, "se_IntOptions");
2428
+ var se_LatLonOptions = /* @__PURE__ */ __name((input, context) => {
2429
+ const entries = {};
2430
+ if (input[_DV] != null) {
2431
+ entries[_DV] = input[_DV];
2432
+ }
2433
+ if (input[_SFo] != null) {
2434
+ entries[_SFo] = input[_SFo];
2435
+ }
2436
+ if (input[_FE] != null) {
2437
+ entries[_FE] = input[_FE];
2438
+ }
2439
+ if (input[_SE] != null) {
2440
+ entries[_SE] = input[_SE];
2441
+ }
2442
+ if (input[_RE] != null) {
2443
+ entries[_RE] = input[_RE];
2444
+ }
2445
+ if (input[_SEo] != null) {
2446
+ entries[_SEo] = input[_SEo];
2447
+ }
2448
+ return entries;
2449
+ }, "se_LatLonOptions");
2450
+ var se_LiteralArrayOptions = /* @__PURE__ */ __name((input, context) => {
2451
+ const entries = {};
2452
+ if (input[_DV] != null) {
2453
+ entries[_DV] = input[_DV];
2454
+ }
2455
+ if (input[_SF] != null) {
2456
+ entries[_SF] = input[_SF];
2457
+ }
2458
+ if (input[_FE] != null) {
2459
+ entries[_FE] = input[_FE];
2460
+ }
2461
+ if (input[_SE] != null) {
2462
+ entries[_SE] = input[_SE];
2463
+ }
2464
+ if (input[_RE] != null) {
2465
+ entries[_RE] = input[_RE];
2466
+ }
2467
+ return entries;
2468
+ }, "se_LiteralArrayOptions");
2469
+ var se_LiteralOptions = /* @__PURE__ */ __name((input, context) => {
2470
+ const entries = {};
2471
+ if (input[_DV] != null) {
2472
+ entries[_DV] = input[_DV];
2473
+ }
2474
+ if (input[_SFo] != null) {
2475
+ entries[_SFo] = input[_SFo];
2476
+ }
2477
+ if (input[_FE] != null) {
2478
+ entries[_FE] = input[_FE];
2479
+ }
2480
+ if (input[_SE] != null) {
2481
+ entries[_SE] = input[_SE];
2482
+ }
2483
+ if (input[_RE] != null) {
2484
+ entries[_RE] = input[_RE];
2485
+ }
2486
+ if (input[_SEo] != null) {
2487
+ entries[_SEo] = input[_SEo];
2488
+ }
2489
+ return entries;
2490
+ }, "se_LiteralOptions");
2491
+ var se_ScalingParameters = /* @__PURE__ */ __name((input, context) => {
2492
+ const entries = {};
2493
+ if (input[_DIT] != null) {
2494
+ entries[_DIT] = input[_DIT];
2495
+ }
2496
+ if (input[_DRC] != null) {
2497
+ entries[_DRC] = input[_DRC];
2498
+ }
2499
+ if (input[_DPC] != null) {
2500
+ entries[_DPC] = input[_DPC];
2501
+ }
2502
+ return entries;
2503
+ }, "se_ScalingParameters");
2504
+ var se_StandardNameList = /* @__PURE__ */ __name((input, context) => {
2505
+ const entries = {};
2506
+ let counter = 1;
2507
+ for (const entry of input) {
2508
+ if (entry === null) {
2509
+ continue;
2510
+ }
2511
+ entries[`member.${counter}`] = entry;
2512
+ counter++;
2513
+ }
2514
+ return entries;
2515
+ }, "se_StandardNameList");
2516
+ var se_Suggester = /* @__PURE__ */ __name((input, context) => {
2517
+ const entries = {};
2518
+ if (input[_SN] != null) {
2519
+ entries[_SN] = input[_SN];
2520
+ }
2521
+ if (input[_DSO] != null) {
2522
+ const memberEntries = se_DocumentSuggesterOptions(input[_DSO], context);
2523
+ Object.entries(memberEntries).forEach(([key, value]) => {
2524
+ const loc = `DocumentSuggesterOptions.${key}`;
2525
+ entries[loc] = value;
2526
+ });
2527
+ }
2528
+ return entries;
2529
+ }, "se_Suggester");
2530
+ var se_TextArrayOptions = /* @__PURE__ */ __name((input, context) => {
2531
+ const entries = {};
2532
+ if (input[_DV] != null) {
2533
+ entries[_DV] = input[_DV];
2534
+ }
2535
+ if (input[_SF] != null) {
2536
+ entries[_SF] = input[_SF];
2537
+ }
2538
+ if (input[_RE] != null) {
2539
+ entries[_RE] = input[_RE];
2540
+ }
2541
+ if (input[_HE] != null) {
2542
+ entries[_HE] = input[_HE];
2543
+ }
2544
+ if (input[_ASn] != null) {
2545
+ entries[_ASn] = input[_ASn];
2546
+ }
2547
+ return entries;
2548
+ }, "se_TextArrayOptions");
2549
+ var se_TextOptions = /* @__PURE__ */ __name((input, context) => {
2550
+ const entries = {};
2551
+ if (input[_DV] != null) {
2552
+ entries[_DV] = input[_DV];
2553
+ }
2554
+ if (input[_SFo] != null) {
2555
+ entries[_SFo] = input[_SFo];
2556
+ }
2557
+ if (input[_RE] != null) {
2558
+ entries[_RE] = input[_RE];
2559
+ }
2560
+ if (input[_SEo] != null) {
2561
+ entries[_SEo] = input[_SEo];
2562
+ }
2563
+ if (input[_HE] != null) {
2564
+ entries[_HE] = input[_HE];
2565
+ }
2566
+ if (input[_ASn] != null) {
2567
+ entries[_ASn] = input[_ASn];
2568
+ }
2569
+ return entries;
2570
+ }, "se_TextOptions");
2571
+ var se_UpdateAvailabilityOptionsRequest = /* @__PURE__ */ __name((input, context) => {
2572
+ const entries = {};
2573
+ if (input[_DN] != null) {
2574
+ entries[_DN] = input[_DN];
2575
+ }
2576
+ if (input[_MAZ] != null) {
2577
+ entries[_MAZ] = input[_MAZ];
2578
+ }
2579
+ return entries;
2580
+ }, "se_UpdateAvailabilityOptionsRequest");
2581
+ var se_UpdateDomainEndpointOptionsRequest = /* @__PURE__ */ __name((input, context) => {
2582
+ const entries = {};
2583
+ if (input[_DN] != null) {
2584
+ entries[_DN] = input[_DN];
2585
+ }
2586
+ if (input[_DEO] != null) {
2587
+ const memberEntries = se_DomainEndpointOptions(input[_DEO], context);
2588
+ Object.entries(memberEntries).forEach(([key, value]) => {
2589
+ const loc = `DomainEndpointOptions.${key}`;
2590
+ entries[loc] = value;
2591
+ });
2592
+ }
2593
+ return entries;
2594
+ }, "se_UpdateDomainEndpointOptionsRequest");
2595
+ var se_UpdateScalingParametersRequest = /* @__PURE__ */ __name((input, context) => {
2596
+ const entries = {};
2597
+ if (input[_DN] != null) {
2598
+ entries[_DN] = input[_DN];
2599
+ }
2600
+ if (input[_SP] != null) {
2601
+ const memberEntries = se_ScalingParameters(input[_SP], context);
2602
+ Object.entries(memberEntries).forEach(([key, value]) => {
2603
+ const loc = `ScalingParameters.${key}`;
2604
+ entries[loc] = value;
2605
+ });
2606
+ }
2607
+ return entries;
2608
+ }, "se_UpdateScalingParametersRequest");
2609
+ var se_UpdateServiceAccessPoliciesRequest = /* @__PURE__ */ __name((input, context) => {
2610
+ const entries = {};
2611
+ if (input[_DN] != null) {
2612
+ entries[_DN] = input[_DN];
2613
+ }
2614
+ if (input[_AP] != null) {
2615
+ entries[_AP] = input[_AP];
2616
+ }
2617
+ return entries;
2618
+ }, "se_UpdateServiceAccessPoliciesRequest");
2619
+ var de_AccessPoliciesStatus = /* @__PURE__ */ __name((output, context) => {
2620
+ const contents = {};
2621
+ if (output[_O] != null) {
2622
+ contents[_O] = (0, import_smithy_client.expectString)(output[_O]);
2623
+ }
2624
+ if (output[_Sta] != null) {
2625
+ contents[_Sta] = de_OptionStatus(output[_Sta], context);
2626
+ }
2627
+ return contents;
2628
+ }, "de_AccessPoliciesStatus");
2629
+ var de_AnalysisOptions = /* @__PURE__ */ __name((output, context) => {
2630
+ const contents = {};
2631
+ if (output[_S] != null) {
2632
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
2633
+ }
2634
+ if (output[_St] != null) {
2635
+ contents[_St] = (0, import_smithy_client.expectString)(output[_St]);
2636
+ }
2637
+ if (output[_SD] != null) {
2638
+ contents[_SD] = (0, import_smithy_client.expectString)(output[_SD]);
2639
+ }
2640
+ if (output[_JTD] != null) {
2641
+ contents[_JTD] = (0, import_smithy_client.expectString)(output[_JTD]);
2642
+ }
2643
+ if (output[_AS] != null) {
2644
+ contents[_AS] = (0, import_smithy_client.expectString)(output[_AS]);
2645
+ }
2646
+ return contents;
2647
+ }, "de_AnalysisOptions");
2648
+ var de_AnalysisScheme = /* @__PURE__ */ __name((output, context) => {
2649
+ const contents = {};
2650
+ if (output[_ASN] != null) {
2651
+ contents[_ASN] = (0, import_smithy_client.expectString)(output[_ASN]);
2652
+ }
2653
+ if (output[_ASL] != null) {
2654
+ contents[_ASL] = (0, import_smithy_client.expectString)(output[_ASL]);
2655
+ }
2656
+ if (output[_AO] != null) {
2657
+ contents[_AO] = de_AnalysisOptions(output[_AO], context);
2658
+ }
2659
+ return contents;
2660
+ }, "de_AnalysisScheme");
2661
+ var de_AnalysisSchemeStatus = /* @__PURE__ */ __name((output, context) => {
2662
+ const contents = {};
2663
+ if (output[_O] != null) {
2664
+ contents[_O] = de_AnalysisScheme(output[_O], context);
2665
+ }
2666
+ if (output[_Sta] != null) {
2667
+ contents[_Sta] = de_OptionStatus(output[_Sta], context);
2668
+ }
2669
+ return contents;
2670
+ }, "de_AnalysisSchemeStatus");
2671
+ var de_AnalysisSchemeStatusList = /* @__PURE__ */ __name((output, context) => {
2672
+ return (output || []).filter((e) => e != null).map((entry) => {
2673
+ return de_AnalysisSchemeStatus(entry, context);
2674
+ });
2675
+ }, "de_AnalysisSchemeStatusList");
2676
+ var de_AvailabilityOptionsStatus = /* @__PURE__ */ __name((output, context) => {
2677
+ const contents = {};
2678
+ if (output[_O] != null) {
2679
+ contents[_O] = (0, import_smithy_client.parseBoolean)(output[_O]);
2680
+ }
2681
+ if (output[_Sta] != null) {
2682
+ contents[_Sta] = de_OptionStatus(output[_Sta], context);
2683
+ }
2684
+ return contents;
2685
+ }, "de_AvailabilityOptionsStatus");
2686
+ var de_BaseException = /* @__PURE__ */ __name((output, context) => {
2687
+ const contents = {};
2688
+ if (output[_C] != null) {
2689
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
2690
+ }
2691
+ if (output[_M] != null) {
2692
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
2693
+ }
2694
+ return contents;
2695
+ }, "de_BaseException");
2696
+ var de_BuildSuggestersResponse = /* @__PURE__ */ __name((output, context) => {
2697
+ const contents = {};
2698
+ if (output.FieldNames === "") {
2699
+ contents[_FN] = [];
2700
+ } else if (output[_FN] != null && output[_FN][_m] != null) {
2701
+ contents[_FN] = de_FieldNameList((0, import_smithy_client.getArrayIfSingleItem)(output[_FN][_m]), context);
2702
+ }
2703
+ return contents;
2704
+ }, "de_BuildSuggestersResponse");
2705
+ var de_CreateDomainResponse = /* @__PURE__ */ __name((output, context) => {
2706
+ const contents = {};
2707
+ if (output[_DSo] != null) {
2708
+ contents[_DSo] = de_DomainStatus(output[_DSo], context);
2709
+ }
2710
+ return contents;
2711
+ }, "de_CreateDomainResponse");
2712
+ var de_DateArrayOptions = /* @__PURE__ */ __name((output, context) => {
2713
+ const contents = {};
2714
+ if (output[_DV] != null) {
2715
+ contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);
2716
+ }
2717
+ if (output[_SF] != null) {
2718
+ contents[_SF] = (0, import_smithy_client.expectString)(output[_SF]);
2719
+ }
2720
+ if (output[_FE] != null) {
2721
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
2722
+ }
2723
+ if (output[_SE] != null) {
2724
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
2725
+ }
2726
+ if (output[_RE] != null) {
2727
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
2728
+ }
2729
+ return contents;
2730
+ }, "de_DateArrayOptions");
2731
+ var de_DateOptions = /* @__PURE__ */ __name((output, context) => {
2732
+ const contents = {};
2733
+ if (output[_DV] != null) {
2734
+ contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);
2735
+ }
2736
+ if (output[_SFo] != null) {
2737
+ contents[_SFo] = (0, import_smithy_client.expectString)(output[_SFo]);
2738
+ }
2739
+ if (output[_FE] != null) {
2740
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
2741
+ }
2742
+ if (output[_SE] != null) {
2743
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
2744
+ }
2745
+ if (output[_RE] != null) {
2746
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
2747
+ }
2748
+ if (output[_SEo] != null) {
2749
+ contents[_SEo] = (0, import_smithy_client.parseBoolean)(output[_SEo]);
2750
+ }
2751
+ return contents;
2752
+ }, "de_DateOptions");
2753
+ var de_DefineAnalysisSchemeResponse = /* @__PURE__ */ __name((output, context) => {
2754
+ const contents = {};
2755
+ if (output[_ASn] != null) {
2756
+ contents[_ASn] = de_AnalysisSchemeStatus(output[_ASn], context);
2757
+ }
2758
+ return contents;
2759
+ }, "de_DefineAnalysisSchemeResponse");
2760
+ var de_DefineExpressionResponse = /* @__PURE__ */ __name((output, context) => {
2761
+ const contents = {};
2762
+ if (output[_E] != null) {
2763
+ contents[_E] = de_ExpressionStatus(output[_E], context);
2764
+ }
2765
+ return contents;
2766
+ }, "de_DefineExpressionResponse");
2767
+ var de_DefineIndexFieldResponse = /* @__PURE__ */ __name((output, context) => {
2768
+ const contents = {};
2769
+ if (output[_IF] != null) {
2770
+ contents[_IF] = de_IndexFieldStatus(output[_IF], context);
2771
+ }
2772
+ return contents;
2773
+ }, "de_DefineIndexFieldResponse");
2774
+ var de_DefineSuggesterResponse = /* @__PURE__ */ __name((output, context) => {
2775
+ const contents = {};
2776
+ if (output[_Su] != null) {
2777
+ contents[_Su] = de_SuggesterStatus(output[_Su], context);
2778
+ }
2779
+ return contents;
2780
+ }, "de_DefineSuggesterResponse");
2781
+ var de_DeleteAnalysisSchemeResponse = /* @__PURE__ */ __name((output, context) => {
2782
+ const contents = {};
2783
+ if (output[_ASn] != null) {
2784
+ contents[_ASn] = de_AnalysisSchemeStatus(output[_ASn], context);
2785
+ }
2786
+ return contents;
2787
+ }, "de_DeleteAnalysisSchemeResponse");
2788
+ var de_DeleteDomainResponse = /* @__PURE__ */ __name((output, context) => {
2789
+ const contents = {};
2790
+ if (output[_DSo] != null) {
2791
+ contents[_DSo] = de_DomainStatus(output[_DSo], context);
2792
+ }
2793
+ return contents;
2794
+ }, "de_DeleteDomainResponse");
2795
+ var de_DeleteExpressionResponse = /* @__PURE__ */ __name((output, context) => {
2796
+ const contents = {};
2797
+ if (output[_E] != null) {
2798
+ contents[_E] = de_ExpressionStatus(output[_E], context);
2799
+ }
2800
+ return contents;
2801
+ }, "de_DeleteExpressionResponse");
2802
+ var de_DeleteIndexFieldResponse = /* @__PURE__ */ __name((output, context) => {
2803
+ const contents = {};
2804
+ if (output[_IF] != null) {
2805
+ contents[_IF] = de_IndexFieldStatus(output[_IF], context);
2806
+ }
2807
+ return contents;
2808
+ }, "de_DeleteIndexFieldResponse");
2809
+ var de_DeleteSuggesterResponse = /* @__PURE__ */ __name((output, context) => {
2810
+ const contents = {};
2811
+ if (output[_Su] != null) {
2812
+ contents[_Su] = de_SuggesterStatus(output[_Su], context);
2813
+ }
2814
+ return contents;
2815
+ }, "de_DeleteSuggesterResponse");
2816
+ var de_DescribeAnalysisSchemesResponse = /* @__PURE__ */ __name((output, context) => {
2817
+ const contents = {};
2818
+ if (output.AnalysisSchemes === "") {
2819
+ contents[_ASna] = [];
2820
+ } else if (output[_ASna] != null && output[_ASna][_m] != null) {
2821
+ contents[_ASna] = de_AnalysisSchemeStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_ASna][_m]), context);
2822
+ }
2823
+ return contents;
2824
+ }, "de_DescribeAnalysisSchemesResponse");
2825
+ var de_DescribeAvailabilityOptionsResponse = /* @__PURE__ */ __name((output, context) => {
2826
+ const contents = {};
2827
+ if (output[_AOv] != null) {
2828
+ contents[_AOv] = de_AvailabilityOptionsStatus(output[_AOv], context);
2829
+ }
2830
+ return contents;
2831
+ }, "de_DescribeAvailabilityOptionsResponse");
2832
+ var de_DescribeDomainEndpointOptionsResponse = /* @__PURE__ */ __name((output, context) => {
2833
+ const contents = {};
2834
+ if (output[_DEO] != null) {
2835
+ contents[_DEO] = de_DomainEndpointOptionsStatus(output[_DEO], context);
2836
+ }
2837
+ return contents;
2838
+ }, "de_DescribeDomainEndpointOptionsResponse");
2839
+ var de_DescribeDomainsResponse = /* @__PURE__ */ __name((output, context) => {
2840
+ const contents = {};
2841
+ if (output.DomainStatusList === "") {
2842
+ contents[_DSL] = [];
2843
+ } else if (output[_DSL] != null && output[_DSL][_m] != null) {
2844
+ contents[_DSL] = de_DomainStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_DSL][_m]), context);
2845
+ }
2846
+ return contents;
2847
+ }, "de_DescribeDomainsResponse");
2848
+ var de_DescribeExpressionsResponse = /* @__PURE__ */ __name((output, context) => {
2849
+ const contents = {};
2850
+ if (output.Expressions === "") {
2851
+ contents[_Ex] = [];
2852
+ } else if (output[_Ex] != null && output[_Ex][_m] != null) {
2853
+ contents[_Ex] = de_ExpressionStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_Ex][_m]), context);
2854
+ }
2855
+ return contents;
2856
+ }, "de_DescribeExpressionsResponse");
2857
+ var de_DescribeIndexFieldsResponse = /* @__PURE__ */ __name((output, context) => {
2858
+ const contents = {};
2859
+ if (output.IndexFields === "") {
2860
+ contents[_IFn] = [];
2861
+ } else if (output[_IFn] != null && output[_IFn][_m] != null) {
2862
+ contents[_IFn] = de_IndexFieldStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_IFn][_m]), context);
2863
+ }
2864
+ return contents;
2865
+ }, "de_DescribeIndexFieldsResponse");
2866
+ var de_DescribeScalingParametersResponse = /* @__PURE__ */ __name((output, context) => {
2867
+ const contents = {};
2868
+ if (output[_SP] != null) {
2869
+ contents[_SP] = de_ScalingParametersStatus(output[_SP], context);
2870
+ }
2871
+ return contents;
2872
+ }, "de_DescribeScalingParametersResponse");
2873
+ var de_DescribeServiceAccessPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
2874
+ const contents = {};
2875
+ if (output[_AP] != null) {
2876
+ contents[_AP] = de_AccessPoliciesStatus(output[_AP], context);
2877
+ }
2878
+ return contents;
2879
+ }, "de_DescribeServiceAccessPoliciesResponse");
2880
+ var de_DescribeSuggestersResponse = /* @__PURE__ */ __name((output, context) => {
2881
+ const contents = {};
2882
+ if (output.Suggesters === "") {
2883
+ contents[_Sug] = [];
2884
+ } else if (output[_Sug] != null && output[_Sug][_m] != null) {
2885
+ contents[_Sug] = de_SuggesterStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_Sug][_m]), context);
2886
+ }
2887
+ return contents;
2888
+ }, "de_DescribeSuggestersResponse");
2889
+ var de_DisabledOperationException = /* @__PURE__ */ __name((output, context) => {
2890
+ const contents = {};
2891
+ if (output[_C] != null) {
2892
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
2893
+ }
2894
+ if (output[_M] != null) {
2895
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
2896
+ }
2897
+ return contents;
2898
+ }, "de_DisabledOperationException");
2899
+ var de_DocumentSuggesterOptions = /* @__PURE__ */ __name((output, context) => {
2900
+ const contents = {};
2901
+ if (output[_SFo] != null) {
2902
+ contents[_SFo] = (0, import_smithy_client.expectString)(output[_SFo]);
2903
+ }
2904
+ if (output[_FM] != null) {
2905
+ contents[_FM] = (0, import_smithy_client.expectString)(output[_FM]);
2906
+ }
2907
+ if (output[_SEor] != null) {
2908
+ contents[_SEor] = (0, import_smithy_client.expectString)(output[_SEor]);
2909
+ }
2910
+ return contents;
2911
+ }, "de_DocumentSuggesterOptions");
2912
+ var de_DomainEndpointOptions = /* @__PURE__ */ __name((output, context) => {
2913
+ const contents = {};
2914
+ if (output[_EHTTPS] != null) {
2915
+ contents[_EHTTPS] = (0, import_smithy_client.parseBoolean)(output[_EHTTPS]);
2916
+ }
2917
+ if (output[_TLSSP] != null) {
2918
+ contents[_TLSSP] = (0, import_smithy_client.expectString)(output[_TLSSP]);
2919
+ }
2920
+ return contents;
2921
+ }, "de_DomainEndpointOptions");
2922
+ var de_DomainEndpointOptionsStatus = /* @__PURE__ */ __name((output, context) => {
2923
+ const contents = {};
2924
+ if (output[_O] != null) {
2925
+ contents[_O] = de_DomainEndpointOptions(output[_O], context);
2926
+ }
2927
+ if (output[_Sta] != null) {
2928
+ contents[_Sta] = de_OptionStatus(output[_Sta], context);
2929
+ }
2930
+ return contents;
2931
+ }, "de_DomainEndpointOptionsStatus");
2932
+ var de_DomainNameMap = /* @__PURE__ */ __name((output, context) => {
2933
+ return output.reduce((acc, pair) => {
2934
+ if (pair["value"] === null) {
2935
+ return acc;
2936
+ }
2937
+ acc[pair["key"]] = (0, import_smithy_client.expectString)(pair["value"]);
2938
+ return acc;
2939
+ }, {});
2940
+ }, "de_DomainNameMap");
2941
+ var de_DomainStatus = /* @__PURE__ */ __name((output, context) => {
2942
+ const contents = {};
2943
+ if (output[_DI] != null) {
2944
+ contents[_DI] = (0, import_smithy_client.expectString)(output[_DI]);
2945
+ }
2946
+ if (output[_DN] != null) {
2947
+ contents[_DN] = (0, import_smithy_client.expectString)(output[_DN]);
2948
+ }
2949
+ if (output[_ARN] != null) {
2950
+ contents[_ARN] = (0, import_smithy_client.expectString)(output[_ARN]);
2951
+ }
2952
+ if (output[_Cr] != null) {
2953
+ contents[_Cr] = (0, import_smithy_client.parseBoolean)(output[_Cr]);
2954
+ }
2955
+ if (output[_De] != null) {
2956
+ contents[_De] = (0, import_smithy_client.parseBoolean)(output[_De]);
2957
+ }
2958
+ if (output[_DSoc] != null) {
2959
+ contents[_DSoc] = de_ServiceEndpoint(output[_DSoc], context);
2960
+ }
2961
+ if (output[_SS] != null) {
2962
+ contents[_SS] = de_ServiceEndpoint(output[_SS], context);
2963
+ }
2964
+ if (output[_RID] != null) {
2965
+ contents[_RID] = (0, import_smithy_client.parseBoolean)(output[_RID]);
2966
+ }
2967
+ if (output[_P] != null) {
2968
+ contents[_P] = (0, import_smithy_client.parseBoolean)(output[_P]);
2969
+ }
2970
+ if (output[_SIT] != null) {
2971
+ contents[_SIT] = (0, import_smithy_client.expectString)(output[_SIT]);
2972
+ }
2973
+ if (output[_SPC] != null) {
2974
+ contents[_SPC] = (0, import_smithy_client.strictParseInt32)(output[_SPC]);
2975
+ }
2976
+ if (output[_SIC] != null) {
2977
+ contents[_SIC] = (0, import_smithy_client.strictParseInt32)(output[_SIC]);
2978
+ }
2979
+ if (output[_L] != null) {
2980
+ contents[_L] = de_Limits(output[_L], context);
2981
+ }
2982
+ return contents;
2983
+ }, "de_DomainStatus");
2984
+ var de_DomainStatusList = /* @__PURE__ */ __name((output, context) => {
2985
+ return (output || []).filter((e) => e != null).map((entry) => {
2986
+ return de_DomainStatus(entry, context);
2987
+ });
2988
+ }, "de_DomainStatusList");
2989
+ var de_DoubleArrayOptions = /* @__PURE__ */ __name((output, context) => {
2990
+ const contents = {};
2991
+ if (output[_DV] != null) {
2992
+ contents[_DV] = (0, import_smithy_client.strictParseFloat)(output[_DV]);
2993
+ }
2994
+ if (output[_SF] != null) {
2995
+ contents[_SF] = (0, import_smithy_client.expectString)(output[_SF]);
2996
+ }
2997
+ if (output[_FE] != null) {
2998
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
2999
+ }
3000
+ if (output[_SE] != null) {
3001
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
3002
+ }
3003
+ if (output[_RE] != null) {
3004
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3005
+ }
3006
+ return contents;
3007
+ }, "de_DoubleArrayOptions");
3008
+ var de_DoubleOptions = /* @__PURE__ */ __name((output, context) => {
3009
+ const contents = {};
3010
+ if (output[_DV] != null) {
3011
+ contents[_DV] = (0, import_smithy_client.strictParseFloat)(output[_DV]);
3012
+ }
3013
+ if (output[_SFo] != null) {
3014
+ contents[_SFo] = (0, import_smithy_client.expectString)(output[_SFo]);
3015
+ }
3016
+ if (output[_FE] != null) {
3017
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
3018
+ }
3019
+ if (output[_SE] != null) {
3020
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
3021
+ }
3022
+ if (output[_RE] != null) {
3023
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3024
+ }
3025
+ if (output[_SEo] != null) {
3026
+ contents[_SEo] = (0, import_smithy_client.parseBoolean)(output[_SEo]);
3027
+ }
3028
+ return contents;
3029
+ }, "de_DoubleOptions");
3030
+ var de_Expression = /* @__PURE__ */ __name((output, context) => {
3031
+ const contents = {};
3032
+ if (output[_EN] != null) {
3033
+ contents[_EN] = (0, import_smithy_client.expectString)(output[_EN]);
3034
+ }
3035
+ if (output[_EV] != null) {
3036
+ contents[_EV] = (0, import_smithy_client.expectString)(output[_EV]);
3037
+ }
3038
+ return contents;
3039
+ }, "de_Expression");
3040
+ var de_ExpressionStatus = /* @__PURE__ */ __name((output, context) => {
3041
+ const contents = {};
3042
+ if (output[_O] != null) {
3043
+ contents[_O] = de_Expression(output[_O], context);
3044
+ }
3045
+ if (output[_Sta] != null) {
3046
+ contents[_Sta] = de_OptionStatus(output[_Sta], context);
3047
+ }
3048
+ return contents;
3049
+ }, "de_ExpressionStatus");
3050
+ var de_ExpressionStatusList = /* @__PURE__ */ __name((output, context) => {
3051
+ return (output || []).filter((e) => e != null).map((entry) => {
3052
+ return de_ExpressionStatus(entry, context);
3053
+ });
3054
+ }, "de_ExpressionStatusList");
3055
+ var de_FieldNameList = /* @__PURE__ */ __name((output, context) => {
3056
+ return (output || []).filter((e) => e != null).map((entry) => {
3057
+ return (0, import_smithy_client.expectString)(entry);
3058
+ });
3059
+ }, "de_FieldNameList");
3060
+ var de_IndexDocumentsResponse = /* @__PURE__ */ __name((output, context) => {
3061
+ const contents = {};
3062
+ if (output.FieldNames === "") {
3063
+ contents[_FN] = [];
3064
+ } else if (output[_FN] != null && output[_FN][_m] != null) {
3065
+ contents[_FN] = de_FieldNameList((0, import_smithy_client.getArrayIfSingleItem)(output[_FN][_m]), context);
3066
+ }
3067
+ return contents;
3068
+ }, "de_IndexDocumentsResponse");
3069
+ var de_IndexField = /* @__PURE__ */ __name((output, context) => {
3070
+ const contents = {};
3071
+ if (output[_IFN] != null) {
3072
+ contents[_IFN] = (0, import_smithy_client.expectString)(output[_IFN]);
3073
+ }
3074
+ if (output[_IFT] != null) {
3075
+ contents[_IFT] = (0, import_smithy_client.expectString)(output[_IFT]);
3076
+ }
3077
+ if (output[_IO] != null) {
3078
+ contents[_IO] = de_IntOptions(output[_IO], context);
3079
+ }
3080
+ if (output[_DO] != null) {
3081
+ contents[_DO] = de_DoubleOptions(output[_DO], context);
3082
+ }
3083
+ if (output[_LO] != null) {
3084
+ contents[_LO] = de_LiteralOptions(output[_LO], context);
3085
+ }
3086
+ if (output[_TO] != null) {
3087
+ contents[_TO] = de_TextOptions(output[_TO], context);
3088
+ }
3089
+ if (output[_DOa] != null) {
3090
+ contents[_DOa] = de_DateOptions(output[_DOa], context);
3091
+ }
3092
+ if (output[_LLO] != null) {
3093
+ contents[_LLO] = de_LatLonOptions(output[_LLO], context);
3094
+ }
3095
+ if (output[_IAO] != null) {
3096
+ contents[_IAO] = de_IntArrayOptions(output[_IAO], context);
3097
+ }
3098
+ if (output[_DAOo] != null) {
3099
+ contents[_DAOo] = de_DoubleArrayOptions(output[_DAOo], context);
3100
+ }
3101
+ if (output[_LAO] != null) {
3102
+ contents[_LAO] = de_LiteralArrayOptions(output[_LAO], context);
3103
+ }
3104
+ if (output[_TAO] != null) {
3105
+ contents[_TAO] = de_TextArrayOptions(output[_TAO], context);
3106
+ }
3107
+ if (output[_DAOa] != null) {
3108
+ contents[_DAOa] = de_DateArrayOptions(output[_DAOa], context);
3109
+ }
3110
+ return contents;
3111
+ }, "de_IndexField");
3112
+ var de_IndexFieldStatus = /* @__PURE__ */ __name((output, context) => {
3113
+ const contents = {};
3114
+ if (output[_O] != null) {
3115
+ contents[_O] = de_IndexField(output[_O], context);
3116
+ }
3117
+ if (output[_Sta] != null) {
3118
+ contents[_Sta] = de_OptionStatus(output[_Sta], context);
3119
+ }
3120
+ return contents;
3121
+ }, "de_IndexFieldStatus");
3122
+ var de_IndexFieldStatusList = /* @__PURE__ */ __name((output, context) => {
3123
+ return (output || []).filter((e) => e != null).map((entry) => {
3124
+ return de_IndexFieldStatus(entry, context);
3125
+ });
3126
+ }, "de_IndexFieldStatusList");
3127
+ var de_IntArrayOptions = /* @__PURE__ */ __name((output, context) => {
3128
+ const contents = {};
3129
+ if (output[_DV] != null) {
3130
+ contents[_DV] = (0, import_smithy_client.strictParseLong)(output[_DV]);
3131
+ }
3132
+ if (output[_SF] != null) {
3133
+ contents[_SF] = (0, import_smithy_client.expectString)(output[_SF]);
3134
+ }
3135
+ if (output[_FE] != null) {
3136
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
3137
+ }
3138
+ if (output[_SE] != null) {
3139
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
3140
+ }
3141
+ if (output[_RE] != null) {
3142
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3143
+ }
3144
+ return contents;
3145
+ }, "de_IntArrayOptions");
3146
+ var de_InternalException = /* @__PURE__ */ __name((output, context) => {
3147
+ const contents = {};
3148
+ if (output[_C] != null) {
3149
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
3150
+ }
3151
+ if (output[_M] != null) {
3152
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
3153
+ }
3154
+ return contents;
3155
+ }, "de_InternalException");
3156
+ var de_IntOptions = /* @__PURE__ */ __name((output, context) => {
3157
+ const contents = {};
3158
+ if (output[_DV] != null) {
3159
+ contents[_DV] = (0, import_smithy_client.strictParseLong)(output[_DV]);
3160
+ }
3161
+ if (output[_SFo] != null) {
3162
+ contents[_SFo] = (0, import_smithy_client.expectString)(output[_SFo]);
3163
+ }
3164
+ if (output[_FE] != null) {
3165
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
3166
+ }
3167
+ if (output[_SE] != null) {
3168
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
3169
+ }
3170
+ if (output[_RE] != null) {
3171
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3172
+ }
3173
+ if (output[_SEo] != null) {
3174
+ contents[_SEo] = (0, import_smithy_client.parseBoolean)(output[_SEo]);
3175
+ }
3176
+ return contents;
3177
+ }, "de_IntOptions");
3178
+ var de_InvalidTypeException = /* @__PURE__ */ __name((output, context) => {
3179
+ const contents = {};
3180
+ if (output[_C] != null) {
3181
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
3182
+ }
3183
+ if (output[_M] != null) {
3184
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
3185
+ }
3186
+ return contents;
3187
+ }, "de_InvalidTypeException");
3188
+ var de_LatLonOptions = /* @__PURE__ */ __name((output, context) => {
3189
+ const contents = {};
3190
+ if (output[_DV] != null) {
3191
+ contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);
3192
+ }
3193
+ if (output[_SFo] != null) {
3194
+ contents[_SFo] = (0, import_smithy_client.expectString)(output[_SFo]);
3195
+ }
3196
+ if (output[_FE] != null) {
3197
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
3198
+ }
3199
+ if (output[_SE] != null) {
3200
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
3201
+ }
3202
+ if (output[_RE] != null) {
3203
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3204
+ }
3205
+ if (output[_SEo] != null) {
3206
+ contents[_SEo] = (0, import_smithy_client.parseBoolean)(output[_SEo]);
3207
+ }
3208
+ return contents;
3209
+ }, "de_LatLonOptions");
3210
+ var de_LimitExceededException = /* @__PURE__ */ __name((output, context) => {
3211
+ const contents = {};
3212
+ if (output[_C] != null) {
3213
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
3214
+ }
3215
+ if (output[_M] != null) {
3216
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
3217
+ }
3218
+ return contents;
3219
+ }, "de_LimitExceededException");
3220
+ var de_Limits = /* @__PURE__ */ __name((output, context) => {
3221
+ const contents = {};
3222
+ if (output[_MRC] != null) {
3223
+ contents[_MRC] = (0, import_smithy_client.strictParseInt32)(output[_MRC]);
3224
+ }
3225
+ if (output[_MPC] != null) {
3226
+ contents[_MPC] = (0, import_smithy_client.strictParseInt32)(output[_MPC]);
3227
+ }
3228
+ return contents;
3229
+ }, "de_Limits");
3230
+ var de_ListDomainNamesResponse = /* @__PURE__ */ __name((output, context) => {
3231
+ const contents = {};
3232
+ if (output.DomainNames === "") {
3233
+ contents[_DNo] = {};
3234
+ } else if (output[_DNo] != null && output[_DNo][_e] != null) {
3235
+ contents[_DNo] = de_DomainNameMap((0, import_smithy_client.getArrayIfSingleItem)(output[_DNo][_e]), context);
3236
+ }
3237
+ return contents;
3238
+ }, "de_ListDomainNamesResponse");
3239
+ var de_LiteralArrayOptions = /* @__PURE__ */ __name((output, context) => {
3240
+ const contents = {};
3241
+ if (output[_DV] != null) {
3242
+ contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);
3243
+ }
3244
+ if (output[_SF] != null) {
3245
+ contents[_SF] = (0, import_smithy_client.expectString)(output[_SF]);
3246
+ }
3247
+ if (output[_FE] != null) {
3248
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
3249
+ }
3250
+ if (output[_SE] != null) {
3251
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
3252
+ }
3253
+ if (output[_RE] != null) {
3254
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3255
+ }
3256
+ return contents;
3257
+ }, "de_LiteralArrayOptions");
3258
+ var de_LiteralOptions = /* @__PURE__ */ __name((output, context) => {
3259
+ const contents = {};
3260
+ if (output[_DV] != null) {
3261
+ contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);
3262
+ }
3263
+ if (output[_SFo] != null) {
3264
+ contents[_SFo] = (0, import_smithy_client.expectString)(output[_SFo]);
3265
+ }
3266
+ if (output[_FE] != null) {
3267
+ contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_FE]);
3268
+ }
3269
+ if (output[_SE] != null) {
3270
+ contents[_SE] = (0, import_smithy_client.parseBoolean)(output[_SE]);
3271
+ }
3272
+ if (output[_RE] != null) {
3273
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3274
+ }
3275
+ if (output[_SEo] != null) {
3276
+ contents[_SEo] = (0, import_smithy_client.parseBoolean)(output[_SEo]);
3277
+ }
3278
+ return contents;
3279
+ }, "de_LiteralOptions");
3280
+ var de_OptionStatus = /* @__PURE__ */ __name((output, context) => {
3281
+ const contents = {};
3282
+ if (output[_CDr] != null) {
3283
+ contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CDr]));
3284
+ }
3285
+ if (output[_UD] != null) {
3286
+ contents[_UD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_UD]));
3287
+ }
3288
+ if (output[_UV] != null) {
3289
+ contents[_UV] = (0, import_smithy_client.strictParseInt32)(output[_UV]);
3290
+ }
3291
+ if (output[_Stat] != null) {
3292
+ contents[_Stat] = (0, import_smithy_client.expectString)(output[_Stat]);
3293
+ }
3294
+ if (output[_PD] != null) {
3295
+ contents[_PD] = (0, import_smithy_client.parseBoolean)(output[_PD]);
3296
+ }
3297
+ return contents;
3298
+ }, "de_OptionStatus");
3299
+ var de_ResourceAlreadyExistsException = /* @__PURE__ */ __name((output, context) => {
3300
+ const contents = {};
3301
+ if (output[_C] != null) {
3302
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
3303
+ }
3304
+ if (output[_M] != null) {
3305
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
3306
+ }
3307
+ return contents;
3308
+ }, "de_ResourceAlreadyExistsException");
3309
+ var de_ResourceNotFoundException = /* @__PURE__ */ __name((output, context) => {
3310
+ const contents = {};
3311
+ if (output[_C] != null) {
3312
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
3313
+ }
3314
+ if (output[_M] != null) {
3315
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
3316
+ }
3317
+ return contents;
3318
+ }, "de_ResourceNotFoundException");
3319
+ var de_ScalingParameters = /* @__PURE__ */ __name((output, context) => {
3320
+ const contents = {};
3321
+ if (output[_DIT] != null) {
3322
+ contents[_DIT] = (0, import_smithy_client.expectString)(output[_DIT]);
3323
+ }
3324
+ if (output[_DRC] != null) {
3325
+ contents[_DRC] = (0, import_smithy_client.strictParseInt32)(output[_DRC]);
3326
+ }
3327
+ if (output[_DPC] != null) {
3328
+ contents[_DPC] = (0, import_smithy_client.strictParseInt32)(output[_DPC]);
3329
+ }
3330
+ return contents;
3331
+ }, "de_ScalingParameters");
3332
+ var de_ScalingParametersStatus = /* @__PURE__ */ __name((output, context) => {
3333
+ const contents = {};
3334
+ if (output[_O] != null) {
3335
+ contents[_O] = de_ScalingParameters(output[_O], context);
3336
+ }
3337
+ if (output[_Sta] != null) {
3338
+ contents[_Sta] = de_OptionStatus(output[_Sta], context);
3339
+ }
3340
+ return contents;
3341
+ }, "de_ScalingParametersStatus");
3342
+ var de_ServiceEndpoint = /* @__PURE__ */ __name((output, context) => {
3343
+ const contents = {};
3344
+ if (output[_En] != null) {
3345
+ contents[_En] = (0, import_smithy_client.expectString)(output[_En]);
3346
+ }
3347
+ return contents;
3348
+ }, "de_ServiceEndpoint");
3349
+ var de_Suggester = /* @__PURE__ */ __name((output, context) => {
3350
+ const contents = {};
3351
+ if (output[_SN] != null) {
3352
+ contents[_SN] = (0, import_smithy_client.expectString)(output[_SN]);
3353
+ }
3354
+ if (output[_DSO] != null) {
3355
+ contents[_DSO] = de_DocumentSuggesterOptions(output[_DSO], context);
3356
+ }
3357
+ return contents;
3358
+ }, "de_Suggester");
3359
+ var de_SuggesterStatus = /* @__PURE__ */ __name((output, context) => {
3360
+ const contents = {};
3361
+ if (output[_O] != null) {
3362
+ contents[_O] = de_Suggester(output[_O], context);
3363
+ }
3364
+ if (output[_Sta] != null) {
3365
+ contents[_Sta] = de_OptionStatus(output[_Sta], context);
3366
+ }
3367
+ return contents;
3368
+ }, "de_SuggesterStatus");
3369
+ var de_SuggesterStatusList = /* @__PURE__ */ __name((output, context) => {
3370
+ return (output || []).filter((e) => e != null).map((entry) => {
3371
+ return de_SuggesterStatus(entry, context);
3372
+ });
3373
+ }, "de_SuggesterStatusList");
3374
+ var de_TextArrayOptions = /* @__PURE__ */ __name((output, context) => {
3375
+ const contents = {};
3376
+ if (output[_DV] != null) {
3377
+ contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);
3378
+ }
3379
+ if (output[_SF] != null) {
3380
+ contents[_SF] = (0, import_smithy_client.expectString)(output[_SF]);
3381
+ }
3382
+ if (output[_RE] != null) {
3383
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3384
+ }
3385
+ if (output[_HE] != null) {
3386
+ contents[_HE] = (0, import_smithy_client.parseBoolean)(output[_HE]);
3387
+ }
3388
+ if (output[_ASn] != null) {
3389
+ contents[_ASn] = (0, import_smithy_client.expectString)(output[_ASn]);
3390
+ }
3391
+ return contents;
3392
+ }, "de_TextArrayOptions");
3393
+ var de_TextOptions = /* @__PURE__ */ __name((output, context) => {
3394
+ const contents = {};
3395
+ if (output[_DV] != null) {
3396
+ contents[_DV] = (0, import_smithy_client.expectString)(output[_DV]);
3397
+ }
3398
+ if (output[_SFo] != null) {
3399
+ contents[_SFo] = (0, import_smithy_client.expectString)(output[_SFo]);
3400
+ }
3401
+ if (output[_RE] != null) {
3402
+ contents[_RE] = (0, import_smithy_client.parseBoolean)(output[_RE]);
3403
+ }
3404
+ if (output[_SEo] != null) {
3405
+ contents[_SEo] = (0, import_smithy_client.parseBoolean)(output[_SEo]);
3406
+ }
3407
+ if (output[_HE] != null) {
3408
+ contents[_HE] = (0, import_smithy_client.parseBoolean)(output[_HE]);
3409
+ }
3410
+ if (output[_ASn] != null) {
3411
+ contents[_ASn] = (0, import_smithy_client.expectString)(output[_ASn]);
3412
+ }
3413
+ return contents;
3414
+ }, "de_TextOptions");
3415
+ var de_UpdateAvailabilityOptionsResponse = /* @__PURE__ */ __name((output, context) => {
3416
+ const contents = {};
3417
+ if (output[_AOv] != null) {
3418
+ contents[_AOv] = de_AvailabilityOptionsStatus(output[_AOv], context);
3419
+ }
3420
+ return contents;
3421
+ }, "de_UpdateAvailabilityOptionsResponse");
3422
+ var de_UpdateDomainEndpointOptionsResponse = /* @__PURE__ */ __name((output, context) => {
3423
+ const contents = {};
3424
+ if (output[_DEO] != null) {
3425
+ contents[_DEO] = de_DomainEndpointOptionsStatus(output[_DEO], context);
3426
+ }
3427
+ return contents;
3428
+ }, "de_UpdateDomainEndpointOptionsResponse");
3429
+ var de_UpdateScalingParametersResponse = /* @__PURE__ */ __name((output, context) => {
3430
+ const contents = {};
3431
+ if (output[_SP] != null) {
3432
+ contents[_SP] = de_ScalingParametersStatus(output[_SP], context);
3433
+ }
3434
+ return contents;
3435
+ }, "de_UpdateScalingParametersResponse");
3436
+ var de_UpdateServiceAccessPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
3437
+ const contents = {};
3438
+ if (output[_AP] != null) {
3439
+ contents[_AP] = de_AccessPoliciesStatus(output[_AP], context);
3440
+ }
3441
+ return contents;
3442
+ }, "de_UpdateServiceAccessPoliciesResponse");
3443
+ var de_ValidationException = /* @__PURE__ */ __name((output, context) => {
3444
+ const contents = {};
3445
+ if (output[_C] != null) {
3446
+ contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
3447
+ }
3448
+ if (output[_M] != null) {
3449
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
3450
+ }
3451
+ return contents;
3452
+ }, "de_ValidationException");
3453
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3454
+ httpStatusCode: output.statusCode,
3455
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3456
+ extendedRequestId: output.headers["x-amz-id-2"],
3457
+ cfId: output.headers["x-amz-cf-id"]
3458
+ }), "deserializeMetadata");
3459
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
3460
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(CloudSearchServiceException);
3461
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
3462
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3463
+ const contents = {
3464
+ protocol,
3465
+ hostname,
3466
+ port,
3467
+ method: "POST",
3468
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
3469
+ headers
3470
+ };
3471
+ if (resolvedHostname !== void 0) {
3472
+ contents.hostname = resolvedHostname;
3473
+ }
3474
+ if (body !== void 0) {
3475
+ contents.body = body;
3476
+ }
3477
+ return new import_protocol_http.HttpRequest(contents);
3478
+ }, "buildHttpRpcRequest");
3479
+ var SHARED_HEADERS = {
3480
+ "content-type": "application/x-www-form-urlencoded"
3481
+ };
3482
+ var _ = "2013-01-01";
3483
+ var _A = "Action";
3484
+ var _AO = "AnalysisOptions";
3485
+ var _AOv = "AvailabilityOptions";
3486
+ var _AP = "AccessPolicies";
3487
+ var _ARN = "ARN";
3488
+ var _AS = "AlgorithmicStemming";
3489
+ var _ASL = "AnalysisSchemeLanguage";
3490
+ var _ASN = "AnalysisSchemeName";
3491
+ var _ASNn = "AnalysisSchemeNames";
3492
+ var _ASn = "AnalysisScheme";
3493
+ var _ASna = "AnalysisSchemes";
3494
+ var _BS = "BuildSuggesters";
3495
+ var _C = "Code";
3496
+ var _CD = "CreateDomain";
3497
+ var _CDr = "CreationDate";
3498
+ var _Cr = "Created";
3499
+ var _D = "Deployed";
3500
+ var _DAO = "DescribeAvailabilityOptions";
3501
+ var _DAOa = "DateArrayOptions";
3502
+ var _DAOo = "DoubleArrayOptions";
3503
+ var _DAS = "DefineAnalysisScheme";
3504
+ var _DASe = "DeleteAnalysisScheme";
3505
+ var _DASes = "DescribeAnalysisSchemes";
3506
+ var _DD = "DeleteDomain";
3507
+ var _DDEO = "DescribeDomainEndpointOptions";
3508
+ var _DDe = "DescribeDomains";
3509
+ var _DE = "DefineExpression";
3510
+ var _DEO = "DomainEndpointOptions";
3511
+ var _DEe = "DeleteExpression";
3512
+ var _DEes = "DescribeExpressions";
3513
+ var _DI = "DomainId";
3514
+ var _DIF = "DefineIndexField";
3515
+ var _DIFe = "DeleteIndexField";
3516
+ var _DIFes = "DescribeIndexFields";
3517
+ var _DIT = "DesiredInstanceType";
3518
+ var _DN = "DomainName";
3519
+ var _DNo = "DomainNames";
3520
+ var _DO = "DoubleOptions";
3521
+ var _DOa = "DateOptions";
3522
+ var _DPC = "DesiredPartitionCount";
3523
+ var _DRC = "DesiredReplicationCount";
3524
+ var _DS = "DefineSuggester";
3525
+ var _DSAP = "DescribeServiceAccessPolicies";
3526
+ var _DSL = "DomainStatusList";
3527
+ var _DSO = "DocumentSuggesterOptions";
3528
+ var _DSP = "DescribeScalingParameters";
3529
+ var _DSe = "DeleteSuggester";
3530
+ var _DSes = "DescribeSuggesters";
3531
+ var _DSo = "DomainStatus";
3532
+ var _DSoc = "DocService";
3533
+ var _DV = "DefaultValue";
3534
+ var _De = "Deleted";
3535
+ var _E = "Expression";
3536
+ var _EHTTPS = "EnforceHTTPS";
3537
+ var _EN = "ExpressionName";
3538
+ var _ENx = "ExpressionNames";
3539
+ var _EV = "ExpressionValue";
3540
+ var _En = "Endpoint";
3541
+ var _Ex = "Expressions";
3542
+ var _FE = "FacetEnabled";
3543
+ var _FM = "FuzzyMatching";
3544
+ var _FN = "FieldNames";
3545
+ var _HE = "HighlightEnabled";
3546
+ var _IAO = "IntArrayOptions";
3547
+ var _ID = "IndexDocuments";
3548
+ var _IF = "IndexField";
3549
+ var _IFN = "IndexFieldName";
3550
+ var _IFT = "IndexFieldType";
3551
+ var _IFn = "IndexFields";
3552
+ var _IO = "IntOptions";
3553
+ var _JTD = "JapaneseTokenizationDictionary";
3554
+ var _L = "Limits";
3555
+ var _LAO = "LiteralArrayOptions";
3556
+ var _LDN = "ListDomainNames";
3557
+ var _LLO = "LatLonOptions";
3558
+ var _LO = "LiteralOptions";
3559
+ var _M = "Message";
3560
+ var _MAZ = "MultiAZ";
3561
+ var _MPC = "MaximumPartitionCount";
3562
+ var _MRC = "MaximumReplicationCount";
3563
+ var _O = "Options";
3564
+ var _P = "Processing";
3565
+ var _PD = "PendingDeletion";
3566
+ var _RE = "ReturnEnabled";
3567
+ var _RID = "RequiresIndexDocuments";
3568
+ var _S = "Synonyms";
3569
+ var _SD = "StemmingDictionary";
3570
+ var _SE = "SearchEnabled";
3571
+ var _SEo = "SortEnabled";
3572
+ var _SEor = "SortExpression";
3573
+ var _SF = "SourceFields";
3574
+ var _SFo = "SourceField";
3575
+ var _SIC = "SearchInstanceCount";
3576
+ var _SIT = "SearchInstanceType";
3577
+ var _SN = "SuggesterName";
3578
+ var _SNu = "SuggesterNames";
3579
+ var _SP = "ScalingParameters";
3580
+ var _SPC = "SearchPartitionCount";
3581
+ var _SS = "SearchService";
3582
+ var _St = "Stopwords";
3583
+ var _Sta = "Status";
3584
+ var _Stat = "State";
3585
+ var _Su = "Suggester";
3586
+ var _Sug = "Suggesters";
3587
+ var _TAO = "TextArrayOptions";
3588
+ var _TLSSP = "TLSSecurityPolicy";
3589
+ var _TO = "TextOptions";
3590
+ var _UAO = "UpdateAvailabilityOptions";
3591
+ var _UD = "UpdateDate";
3592
+ var _UDEO = "UpdateDomainEndpointOptions";
3593
+ var _USAP = "UpdateServiceAccessPolicies";
3594
+ var _USP = "UpdateScalingParameters";
3595
+ var _UV = "UpdateVersion";
3596
+ var _V = "Version";
3597
+ var _e = "entry";
3598
+ var _m = "member";
3599
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3600
+ if (encoded.length) {
3601
+ const parser = new import_fast_xml_parser.XMLParser({
3602
+ attributeNamePrefix: "",
3603
+ htmlEntities: true,
3604
+ ignoreAttributes: false,
3605
+ ignoreDeclaration: true,
3606
+ parseTagValue: false,
3607
+ trimValues: false,
3608
+ tagValueProcessor: (_2, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
3609
+ });
3610
+ parser.addEntity("#xD", "\r");
3611
+ parser.addEntity("#10", "\n");
3612
+ const parsedObj = parser.parse(encoded);
3613
+ const textNodeName = "#text";
3614
+ const key = Object.keys(parsedObj)[0];
3615
+ const parsedObjToReturn = parsedObj[key];
3616
+ if (parsedObjToReturn[textNodeName]) {
3617
+ parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
3618
+ delete parsedObjToReturn[textNodeName];
3619
+ }
3620
+ return (0, import_smithy_client.getValueFromTextNode)(parsedObjToReturn);
3621
+ }
3622
+ return {};
3623
+ }), "parseBody");
3624
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
3625
+ const value = await parseBody(errorBody, context);
3626
+ if (value.Error) {
3627
+ value.Error.message = value.Error.message ?? value.Error.Message;
3628
+ }
3629
+ return value;
3630
+ }, "parseErrorBody");
3631
+ 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");
3632
+ var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
3633
+ var _a;
3634
+ if (((_a = data.Error) == null ? void 0 : _a.Code) !== void 0) {
3635
+ return data.Error.Code;
3636
+ }
3637
+ if (output.statusCode == 404) {
3638
+ return "NotFound";
3639
+ }
3640
+ }, "loadQueryErrorCode");
3641
+
3642
+ // src/commands/BuildSuggestersCommand.ts
3643
+ var _BuildSuggestersCommand = class _BuildSuggestersCommand extends import_smithy_client.Command.classBuilder().ep({
3644
+ ...commonParams
3645
+ }).m(function(Command, cs, config, o) {
3646
+ return [
3647
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3648
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3649
+ ];
3650
+ }).s("A9SearchCloudConfigService2013", "BuildSuggesters", {}).n("CloudSearchClient", "BuildSuggestersCommand").f(void 0, void 0).ser(se_BuildSuggestersCommand).de(de_BuildSuggestersCommand).build() {
3651
+ };
3652
+ __name(_BuildSuggestersCommand, "BuildSuggestersCommand");
3653
+ var BuildSuggestersCommand = _BuildSuggestersCommand;
3654
+
3655
+ // src/commands/CreateDomainCommand.ts
3656
+
3657
+
3658
+
3659
+
3660
+ var _CreateDomainCommand = class _CreateDomainCommand extends import_smithy_client.Command.classBuilder().ep({
3661
+ ...commonParams
3662
+ }).m(function(Command, cs, config, o) {
3663
+ return [
3664
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3665
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3666
+ ];
3667
+ }).s("A9SearchCloudConfigService2013", "CreateDomain", {}).n("CloudSearchClient", "CreateDomainCommand").f(void 0, void 0).ser(se_CreateDomainCommand).de(de_CreateDomainCommand).build() {
3668
+ };
3669
+ __name(_CreateDomainCommand, "CreateDomainCommand");
3670
+ var CreateDomainCommand = _CreateDomainCommand;
3671
+
3672
+ // src/commands/DefineAnalysisSchemeCommand.ts
3673
+
3674
+
3675
+
3676
+
3677
+ var _DefineAnalysisSchemeCommand = class _DefineAnalysisSchemeCommand extends import_smithy_client.Command.classBuilder().ep({
3678
+ ...commonParams
3679
+ }).m(function(Command, cs, config, o) {
3680
+ return [
3681
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3682
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3683
+ ];
3684
+ }).s("A9SearchCloudConfigService2013", "DefineAnalysisScheme", {}).n("CloudSearchClient", "DefineAnalysisSchemeCommand").f(void 0, void 0).ser(se_DefineAnalysisSchemeCommand).de(de_DefineAnalysisSchemeCommand).build() {
3685
+ };
3686
+ __name(_DefineAnalysisSchemeCommand, "DefineAnalysisSchemeCommand");
3687
+ var DefineAnalysisSchemeCommand = _DefineAnalysisSchemeCommand;
3688
+
3689
+ // src/commands/DefineExpressionCommand.ts
3690
+
3691
+
3692
+
3693
+
3694
+ var _DefineExpressionCommand = class _DefineExpressionCommand extends import_smithy_client.Command.classBuilder().ep({
3695
+ ...commonParams
3696
+ }).m(function(Command, cs, config, o) {
3697
+ return [
3698
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3699
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3700
+ ];
3701
+ }).s("A9SearchCloudConfigService2013", "DefineExpression", {}).n("CloudSearchClient", "DefineExpressionCommand").f(void 0, void 0).ser(se_DefineExpressionCommand).de(de_DefineExpressionCommand).build() {
3702
+ };
3703
+ __name(_DefineExpressionCommand, "DefineExpressionCommand");
3704
+ var DefineExpressionCommand = _DefineExpressionCommand;
3705
+
3706
+ // src/commands/DefineIndexFieldCommand.ts
3707
+
3708
+
3709
+
3710
+
3711
+ var _DefineIndexFieldCommand = class _DefineIndexFieldCommand extends import_smithy_client.Command.classBuilder().ep({
3712
+ ...commonParams
3713
+ }).m(function(Command, cs, config, o) {
3714
+ return [
3715
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3716
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3717
+ ];
3718
+ }).s("A9SearchCloudConfigService2013", "DefineIndexField", {}).n("CloudSearchClient", "DefineIndexFieldCommand").f(void 0, void 0).ser(se_DefineIndexFieldCommand).de(de_DefineIndexFieldCommand).build() {
3719
+ };
3720
+ __name(_DefineIndexFieldCommand, "DefineIndexFieldCommand");
3721
+ var DefineIndexFieldCommand = _DefineIndexFieldCommand;
3722
+
3723
+ // src/commands/DefineSuggesterCommand.ts
3724
+
3725
+
3726
+
3727
+
3728
+ var _DefineSuggesterCommand = class _DefineSuggesterCommand extends import_smithy_client.Command.classBuilder().ep({
3729
+ ...commonParams
3730
+ }).m(function(Command, cs, config, o) {
3731
+ return [
3732
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3733
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3734
+ ];
3735
+ }).s("A9SearchCloudConfigService2013", "DefineSuggester", {}).n("CloudSearchClient", "DefineSuggesterCommand").f(void 0, void 0).ser(se_DefineSuggesterCommand).de(de_DefineSuggesterCommand).build() {
3736
+ };
3737
+ __name(_DefineSuggesterCommand, "DefineSuggesterCommand");
3738
+ var DefineSuggesterCommand = _DefineSuggesterCommand;
3739
+
3740
+ // src/commands/DeleteAnalysisSchemeCommand.ts
3741
+
3742
+
3743
+
3744
+
3745
+ var _DeleteAnalysisSchemeCommand = class _DeleteAnalysisSchemeCommand extends import_smithy_client.Command.classBuilder().ep({
3746
+ ...commonParams
3747
+ }).m(function(Command, cs, config, o) {
3748
+ return [
3749
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3750
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3751
+ ];
3752
+ }).s("A9SearchCloudConfigService2013", "DeleteAnalysisScheme", {}).n("CloudSearchClient", "DeleteAnalysisSchemeCommand").f(void 0, void 0).ser(se_DeleteAnalysisSchemeCommand).de(de_DeleteAnalysisSchemeCommand).build() {
3753
+ };
3754
+ __name(_DeleteAnalysisSchemeCommand, "DeleteAnalysisSchemeCommand");
3755
+ var DeleteAnalysisSchemeCommand = _DeleteAnalysisSchemeCommand;
3756
+
3757
+ // src/commands/DeleteDomainCommand.ts
3758
+
3759
+
3760
+
3761
+
3762
+ var _DeleteDomainCommand = class _DeleteDomainCommand extends import_smithy_client.Command.classBuilder().ep({
3763
+ ...commonParams
3764
+ }).m(function(Command, cs, config, o) {
3765
+ return [
3766
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3767
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3768
+ ];
3769
+ }).s("A9SearchCloudConfigService2013", "DeleteDomain", {}).n("CloudSearchClient", "DeleteDomainCommand").f(void 0, void 0).ser(se_DeleteDomainCommand).de(de_DeleteDomainCommand).build() {
3770
+ };
3771
+ __name(_DeleteDomainCommand, "DeleteDomainCommand");
3772
+ var DeleteDomainCommand = _DeleteDomainCommand;
3773
+
3774
+ // src/commands/DeleteExpressionCommand.ts
3775
+
3776
+
3777
+
3778
+
3779
+ var _DeleteExpressionCommand = class _DeleteExpressionCommand extends import_smithy_client.Command.classBuilder().ep({
3780
+ ...commonParams
3781
+ }).m(function(Command, cs, config, o) {
3782
+ return [
3783
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3784
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3785
+ ];
3786
+ }).s("A9SearchCloudConfigService2013", "DeleteExpression", {}).n("CloudSearchClient", "DeleteExpressionCommand").f(void 0, void 0).ser(se_DeleteExpressionCommand).de(de_DeleteExpressionCommand).build() {
3787
+ };
3788
+ __name(_DeleteExpressionCommand, "DeleteExpressionCommand");
3789
+ var DeleteExpressionCommand = _DeleteExpressionCommand;
3790
+
3791
+ // src/commands/DeleteIndexFieldCommand.ts
3792
+
3793
+
3794
+
3795
+
3796
+ var _DeleteIndexFieldCommand = class _DeleteIndexFieldCommand extends import_smithy_client.Command.classBuilder().ep({
3797
+ ...commonParams
3798
+ }).m(function(Command, cs, config, o) {
3799
+ return [
3800
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3801
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3802
+ ];
3803
+ }).s("A9SearchCloudConfigService2013", "DeleteIndexField", {}).n("CloudSearchClient", "DeleteIndexFieldCommand").f(void 0, void 0).ser(se_DeleteIndexFieldCommand).de(de_DeleteIndexFieldCommand).build() {
3804
+ };
3805
+ __name(_DeleteIndexFieldCommand, "DeleteIndexFieldCommand");
3806
+ var DeleteIndexFieldCommand = _DeleteIndexFieldCommand;
3807
+
3808
+ // src/commands/DeleteSuggesterCommand.ts
3809
+
3810
+
3811
+
3812
+
3813
+ var _DeleteSuggesterCommand = class _DeleteSuggesterCommand extends import_smithy_client.Command.classBuilder().ep({
3814
+ ...commonParams
3815
+ }).m(function(Command, cs, config, o) {
3816
+ return [
3817
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3818
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3819
+ ];
3820
+ }).s("A9SearchCloudConfigService2013", "DeleteSuggester", {}).n("CloudSearchClient", "DeleteSuggesterCommand").f(void 0, void 0).ser(se_DeleteSuggesterCommand).de(de_DeleteSuggesterCommand).build() {
3821
+ };
3822
+ __name(_DeleteSuggesterCommand, "DeleteSuggesterCommand");
3823
+ var DeleteSuggesterCommand = _DeleteSuggesterCommand;
3824
+
3825
+ // src/commands/DescribeAnalysisSchemesCommand.ts
3826
+
3827
+
3828
+
3829
+
3830
+ var _DescribeAnalysisSchemesCommand = class _DescribeAnalysisSchemesCommand extends import_smithy_client.Command.classBuilder().ep({
3831
+ ...commonParams
3832
+ }).m(function(Command, cs, config, o) {
3833
+ return [
3834
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3835
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3836
+ ];
3837
+ }).s("A9SearchCloudConfigService2013", "DescribeAnalysisSchemes", {}).n("CloudSearchClient", "DescribeAnalysisSchemesCommand").f(void 0, void 0).ser(se_DescribeAnalysisSchemesCommand).de(de_DescribeAnalysisSchemesCommand).build() {
3838
+ };
3839
+ __name(_DescribeAnalysisSchemesCommand, "DescribeAnalysisSchemesCommand");
3840
+ var DescribeAnalysisSchemesCommand = _DescribeAnalysisSchemesCommand;
3841
+
3842
+ // src/commands/DescribeAvailabilityOptionsCommand.ts
3843
+
3844
+
3845
+
3846
+
3847
+ var _DescribeAvailabilityOptionsCommand = class _DescribeAvailabilityOptionsCommand extends import_smithy_client.Command.classBuilder().ep({
3848
+ ...commonParams
3849
+ }).m(function(Command, cs, config, o) {
3850
+ return [
3851
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3852
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3853
+ ];
3854
+ }).s("A9SearchCloudConfigService2013", "DescribeAvailabilityOptions", {}).n("CloudSearchClient", "DescribeAvailabilityOptionsCommand").f(void 0, void 0).ser(se_DescribeAvailabilityOptionsCommand).de(de_DescribeAvailabilityOptionsCommand).build() {
3855
+ };
3856
+ __name(_DescribeAvailabilityOptionsCommand, "DescribeAvailabilityOptionsCommand");
3857
+ var DescribeAvailabilityOptionsCommand = _DescribeAvailabilityOptionsCommand;
3858
+
3859
+ // src/commands/DescribeDomainEndpointOptionsCommand.ts
3860
+
3861
+
3862
+
3863
+
3864
+ var _DescribeDomainEndpointOptionsCommand = class _DescribeDomainEndpointOptionsCommand extends import_smithy_client.Command.classBuilder().ep({
3865
+ ...commonParams
3866
+ }).m(function(Command, cs, config, o) {
3867
+ return [
3868
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3869
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3870
+ ];
3871
+ }).s("A9SearchCloudConfigService2013", "DescribeDomainEndpointOptions", {}).n("CloudSearchClient", "DescribeDomainEndpointOptionsCommand").f(void 0, void 0).ser(se_DescribeDomainEndpointOptionsCommand).de(de_DescribeDomainEndpointOptionsCommand).build() {
3872
+ };
3873
+ __name(_DescribeDomainEndpointOptionsCommand, "DescribeDomainEndpointOptionsCommand");
3874
+ var DescribeDomainEndpointOptionsCommand = _DescribeDomainEndpointOptionsCommand;
3875
+
3876
+ // src/commands/DescribeDomainsCommand.ts
3877
+
3878
+
3879
+
3880
+
3881
+ var _DescribeDomainsCommand = class _DescribeDomainsCommand extends import_smithy_client.Command.classBuilder().ep({
3882
+ ...commonParams
3883
+ }).m(function(Command, cs, config, o) {
3884
+ return [
3885
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3886
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3887
+ ];
3888
+ }).s("A9SearchCloudConfigService2013", "DescribeDomains", {}).n("CloudSearchClient", "DescribeDomainsCommand").f(void 0, void 0).ser(se_DescribeDomainsCommand).de(de_DescribeDomainsCommand).build() {
3889
+ };
3890
+ __name(_DescribeDomainsCommand, "DescribeDomainsCommand");
3891
+ var DescribeDomainsCommand = _DescribeDomainsCommand;
3892
+
3893
+ // src/commands/DescribeExpressionsCommand.ts
3894
+
3895
+
3896
+
3897
+
3898
+ var _DescribeExpressionsCommand = class _DescribeExpressionsCommand extends import_smithy_client.Command.classBuilder().ep({
3899
+ ...commonParams
3900
+ }).m(function(Command, cs, config, o) {
3901
+ return [
3902
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3903
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3904
+ ];
3905
+ }).s("A9SearchCloudConfigService2013", "DescribeExpressions", {}).n("CloudSearchClient", "DescribeExpressionsCommand").f(void 0, void 0).ser(se_DescribeExpressionsCommand).de(de_DescribeExpressionsCommand).build() {
3906
+ };
3907
+ __name(_DescribeExpressionsCommand, "DescribeExpressionsCommand");
3908
+ var DescribeExpressionsCommand = _DescribeExpressionsCommand;
3909
+
3910
+ // src/commands/DescribeIndexFieldsCommand.ts
3911
+
3912
+
3913
+
3914
+
3915
+ var _DescribeIndexFieldsCommand = class _DescribeIndexFieldsCommand extends import_smithy_client.Command.classBuilder().ep({
3916
+ ...commonParams
3917
+ }).m(function(Command, cs, config, o) {
3918
+ return [
3919
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3920
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3921
+ ];
3922
+ }).s("A9SearchCloudConfigService2013", "DescribeIndexFields", {}).n("CloudSearchClient", "DescribeIndexFieldsCommand").f(void 0, void 0).ser(se_DescribeIndexFieldsCommand).de(de_DescribeIndexFieldsCommand).build() {
3923
+ };
3924
+ __name(_DescribeIndexFieldsCommand, "DescribeIndexFieldsCommand");
3925
+ var DescribeIndexFieldsCommand = _DescribeIndexFieldsCommand;
3926
+
3927
+ // src/commands/DescribeScalingParametersCommand.ts
3928
+
3929
+
3930
+
3931
+
3932
+ var _DescribeScalingParametersCommand = class _DescribeScalingParametersCommand extends import_smithy_client.Command.classBuilder().ep({
3933
+ ...commonParams
3934
+ }).m(function(Command, cs, config, o) {
3935
+ return [
3936
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3937
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3938
+ ];
3939
+ }).s("A9SearchCloudConfigService2013", "DescribeScalingParameters", {}).n("CloudSearchClient", "DescribeScalingParametersCommand").f(void 0, void 0).ser(se_DescribeScalingParametersCommand).de(de_DescribeScalingParametersCommand).build() {
3940
+ };
3941
+ __name(_DescribeScalingParametersCommand, "DescribeScalingParametersCommand");
3942
+ var DescribeScalingParametersCommand = _DescribeScalingParametersCommand;
3943
+
3944
+ // src/commands/DescribeServiceAccessPoliciesCommand.ts
3945
+
3946
+
3947
+
3948
+
3949
+ var _DescribeServiceAccessPoliciesCommand = class _DescribeServiceAccessPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
3950
+ ...commonParams
3951
+ }).m(function(Command, cs, config, o) {
3952
+ return [
3953
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3954
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3955
+ ];
3956
+ }).s("A9SearchCloudConfigService2013", "DescribeServiceAccessPolicies", {}).n("CloudSearchClient", "DescribeServiceAccessPoliciesCommand").f(void 0, void 0).ser(se_DescribeServiceAccessPoliciesCommand).de(de_DescribeServiceAccessPoliciesCommand).build() {
3957
+ };
3958
+ __name(_DescribeServiceAccessPoliciesCommand, "DescribeServiceAccessPoliciesCommand");
3959
+ var DescribeServiceAccessPoliciesCommand = _DescribeServiceAccessPoliciesCommand;
3960
+
3961
+ // src/commands/DescribeSuggestersCommand.ts
3962
+
3963
+
3964
+
3965
+
3966
+ var _DescribeSuggestersCommand = class _DescribeSuggestersCommand extends import_smithy_client.Command.classBuilder().ep({
3967
+ ...commonParams
3968
+ }).m(function(Command, cs, config, o) {
3969
+ return [
3970
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3971
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3972
+ ];
3973
+ }).s("A9SearchCloudConfigService2013", "DescribeSuggesters", {}).n("CloudSearchClient", "DescribeSuggestersCommand").f(void 0, void 0).ser(se_DescribeSuggestersCommand).de(de_DescribeSuggestersCommand).build() {
3974
+ };
3975
+ __name(_DescribeSuggestersCommand, "DescribeSuggestersCommand");
3976
+ var DescribeSuggestersCommand = _DescribeSuggestersCommand;
3977
+
3978
+ // src/commands/IndexDocumentsCommand.ts
3979
+
3980
+
3981
+
3982
+
3983
+ var _IndexDocumentsCommand = class _IndexDocumentsCommand extends import_smithy_client.Command.classBuilder().ep({
3984
+ ...commonParams
3985
+ }).m(function(Command, cs, config, o) {
3986
+ return [
3987
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3988
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3989
+ ];
3990
+ }).s("A9SearchCloudConfigService2013", "IndexDocuments", {}).n("CloudSearchClient", "IndexDocumentsCommand").f(void 0, void 0).ser(se_IndexDocumentsCommand).de(de_IndexDocumentsCommand).build() {
3991
+ };
3992
+ __name(_IndexDocumentsCommand, "IndexDocumentsCommand");
3993
+ var IndexDocumentsCommand = _IndexDocumentsCommand;
3994
+
3995
+ // src/commands/ListDomainNamesCommand.ts
3996
+
3997
+
3998
+
3999
+
4000
+ var _ListDomainNamesCommand = class _ListDomainNamesCommand extends import_smithy_client.Command.classBuilder().ep({
4001
+ ...commonParams
4002
+ }).m(function(Command, cs, config, o) {
4003
+ return [
4004
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4005
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4006
+ ];
4007
+ }).s("A9SearchCloudConfigService2013", "ListDomainNames", {}).n("CloudSearchClient", "ListDomainNamesCommand").f(void 0, void 0).ser(se_ListDomainNamesCommand).de(de_ListDomainNamesCommand).build() {
4008
+ };
4009
+ __name(_ListDomainNamesCommand, "ListDomainNamesCommand");
4010
+ var ListDomainNamesCommand = _ListDomainNamesCommand;
4011
+
4012
+ // src/commands/UpdateAvailabilityOptionsCommand.ts
4013
+
4014
+
4015
+
4016
+
4017
+ var _UpdateAvailabilityOptionsCommand = class _UpdateAvailabilityOptionsCommand extends import_smithy_client.Command.classBuilder().ep({
4018
+ ...commonParams
4019
+ }).m(function(Command, cs, config, o) {
4020
+ return [
4021
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4022
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4023
+ ];
4024
+ }).s("A9SearchCloudConfigService2013", "UpdateAvailabilityOptions", {}).n("CloudSearchClient", "UpdateAvailabilityOptionsCommand").f(void 0, void 0).ser(se_UpdateAvailabilityOptionsCommand).de(de_UpdateAvailabilityOptionsCommand).build() {
4025
+ };
4026
+ __name(_UpdateAvailabilityOptionsCommand, "UpdateAvailabilityOptionsCommand");
4027
+ var UpdateAvailabilityOptionsCommand = _UpdateAvailabilityOptionsCommand;
4028
+
4029
+ // src/commands/UpdateDomainEndpointOptionsCommand.ts
4030
+
4031
+
4032
+
4033
+
4034
+ var _UpdateDomainEndpointOptionsCommand = class _UpdateDomainEndpointOptionsCommand extends import_smithy_client.Command.classBuilder().ep({
4035
+ ...commonParams
4036
+ }).m(function(Command, cs, config, o) {
4037
+ return [
4038
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4039
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4040
+ ];
4041
+ }).s("A9SearchCloudConfigService2013", "UpdateDomainEndpointOptions", {}).n("CloudSearchClient", "UpdateDomainEndpointOptionsCommand").f(void 0, void 0).ser(se_UpdateDomainEndpointOptionsCommand).de(de_UpdateDomainEndpointOptionsCommand).build() {
4042
+ };
4043
+ __name(_UpdateDomainEndpointOptionsCommand, "UpdateDomainEndpointOptionsCommand");
4044
+ var UpdateDomainEndpointOptionsCommand = _UpdateDomainEndpointOptionsCommand;
4045
+
4046
+ // src/commands/UpdateScalingParametersCommand.ts
4047
+
4048
+
4049
+
4050
+
4051
+ var _UpdateScalingParametersCommand = class _UpdateScalingParametersCommand extends import_smithy_client.Command.classBuilder().ep({
4052
+ ...commonParams
4053
+ }).m(function(Command, cs, config, o) {
4054
+ return [
4055
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4056
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4057
+ ];
4058
+ }).s("A9SearchCloudConfigService2013", "UpdateScalingParameters", {}).n("CloudSearchClient", "UpdateScalingParametersCommand").f(void 0, void 0).ser(se_UpdateScalingParametersCommand).de(de_UpdateScalingParametersCommand).build() {
4059
+ };
4060
+ __name(_UpdateScalingParametersCommand, "UpdateScalingParametersCommand");
4061
+ var UpdateScalingParametersCommand = _UpdateScalingParametersCommand;
4062
+
4063
+ // src/commands/UpdateServiceAccessPoliciesCommand.ts
4064
+
4065
+
4066
+
4067
+
4068
+ var _UpdateServiceAccessPoliciesCommand = class _UpdateServiceAccessPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
4069
+ ...commonParams
4070
+ }).m(function(Command, cs, config, o) {
4071
+ return [
4072
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4073
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4074
+ ];
4075
+ }).s("A9SearchCloudConfigService2013", "UpdateServiceAccessPolicies", {}).n("CloudSearchClient", "UpdateServiceAccessPoliciesCommand").f(void 0, void 0).ser(se_UpdateServiceAccessPoliciesCommand).de(de_UpdateServiceAccessPoliciesCommand).build() {
4076
+ };
4077
+ __name(_UpdateServiceAccessPoliciesCommand, "UpdateServiceAccessPoliciesCommand");
4078
+ var UpdateServiceAccessPoliciesCommand = _UpdateServiceAccessPoliciesCommand;
4079
+
4080
+ // src/CloudSearch.ts
4081
+ var commands = {
4082
+ BuildSuggestersCommand,
4083
+ CreateDomainCommand,
4084
+ DefineAnalysisSchemeCommand,
4085
+ DefineExpressionCommand,
4086
+ DefineIndexFieldCommand,
4087
+ DefineSuggesterCommand,
4088
+ DeleteAnalysisSchemeCommand,
4089
+ DeleteDomainCommand,
4090
+ DeleteExpressionCommand,
4091
+ DeleteIndexFieldCommand,
4092
+ DeleteSuggesterCommand,
4093
+ DescribeAnalysisSchemesCommand,
4094
+ DescribeAvailabilityOptionsCommand,
4095
+ DescribeDomainEndpointOptionsCommand,
4096
+ DescribeDomainsCommand,
4097
+ DescribeExpressionsCommand,
4098
+ DescribeIndexFieldsCommand,
4099
+ DescribeScalingParametersCommand,
4100
+ DescribeServiceAccessPoliciesCommand,
4101
+ DescribeSuggestersCommand,
4102
+ IndexDocumentsCommand,
4103
+ ListDomainNamesCommand,
4104
+ UpdateAvailabilityOptionsCommand,
4105
+ UpdateDomainEndpointOptionsCommand,
4106
+ UpdateScalingParametersCommand,
4107
+ UpdateServiceAccessPoliciesCommand
4108
+ };
4109
+ var _CloudSearch = class _CloudSearch extends CloudSearchClient {
4110
+ };
4111
+ __name(_CloudSearch, "CloudSearch");
4112
+ var CloudSearch = _CloudSearch;
4113
+ (0, import_smithy_client.createAggregatedClient)(commands, CloudSearch);
4114
+
4115
+ // src/index.ts
4116
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
4117
+ // Annotate the CommonJS export names for ESM import in node:
4118
+ 0 && (module.exports = {
4119
+ AlgorithmicStemming,
4120
+ AnalysisSchemeLanguage,
4121
+ BaseException,
4122
+ BuildSuggestersCommand,
4123
+ CloudSearch,
4124
+ CloudSearchClient,
4125
+ CloudSearchServiceException,
4126
+ CreateDomainCommand,
4127
+ DefineAnalysisSchemeCommand,
4128
+ DefineExpressionCommand,
4129
+ DefineIndexFieldCommand,
4130
+ DefineSuggesterCommand,
4131
+ DeleteAnalysisSchemeCommand,
4132
+ DeleteDomainCommand,
4133
+ DeleteExpressionCommand,
4134
+ DeleteIndexFieldCommand,
4135
+ DeleteSuggesterCommand,
4136
+ DescribeAnalysisSchemesCommand,
4137
+ DescribeAvailabilityOptionsCommand,
4138
+ DescribeDomainEndpointOptionsCommand,
4139
+ DescribeDomainsCommand,
4140
+ DescribeExpressionsCommand,
4141
+ DescribeIndexFieldsCommand,
4142
+ DescribeScalingParametersCommand,
4143
+ DescribeServiceAccessPoliciesCommand,
4144
+ DescribeSuggestersCommand,
4145
+ DisabledOperationException,
4146
+ IndexDocumentsCommand,
4147
+ IndexFieldType,
4148
+ InternalException,
4149
+ InvalidTypeException,
4150
+ LimitExceededException,
4151
+ ListDomainNamesCommand,
4152
+ OptionState,
4153
+ PartitionInstanceType,
4154
+ ResourceAlreadyExistsException,
4155
+ ResourceNotFoundException,
4156
+ SuggesterFuzzyMatching,
4157
+ TLSSecurityPolicy,
4158
+ UpdateAvailabilityOptionsCommand,
4159
+ UpdateDomainEndpointOptionsCommand,
4160
+ UpdateScalingParametersCommand,
4161
+ UpdateServiceAccessPoliciesCommand,
4162
+ ValidationException,
4163
+ __Client
4164
+ });