@aws-sdk/client-cloudsearch 3.1075.0 → 3.1077.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.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultCloudSearchHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { BuildSuggesters$, CreateDomain$, DefineAnalysisScheme$, DefineExpression$, DefineIndexField$, DefineSuggester$, DeleteAnalysisScheme$, DeleteDomain$, DeleteExpression$, DeleteIndexField$, DeleteSuggester$, DescribeAnalysisSchemes$, DescribeAvailabilityOptions$, DescribeDomainEndpointOptions$, DescribeDomains$, DescribeExpressions$, DescribeIndexFields$, DescribeScalingParameters$, DescribeServiceAccessPolicies$, DescribeSuggesters$, IndexDocuments$, ListDomainNames$, UpdateAvailabilityOptions$, UpdateDomainEndpointOptions$, UpdateScalingParameters$, UpdateServiceAccessPolicies$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { CloudSearchServiceException } = require("./models/CloudSearchServiceException");
18
- exports.CloudSearchServiceException = CloudSearchServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsQueryProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultCloudSearchHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "cloudsearch",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultCloudSearchHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
19
56
 
20
57
  const resolveClientEndpointParameters = (options) => {
21
58
  return Object.assign(options, {
@@ -31,6 +68,1024 @@ const commonParams = {
31
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
69
  };
33
70
 
71
+ var version = "3.1076.0";
72
+ var packageInfo = {
73
+ version: version};
74
+
75
+ const k = "ref";
76
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
77
+ const _data = {
78
+ conditions: [
79
+ [c, [g]],
80
+ [c, j],
81
+ ["aws.partition", j, d],
82
+ [e, [{ [k]: "UseFIPS" }, b]],
83
+ [e, [{ [k]: "UseDualStack" }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
86
+ ],
87
+ results: [
88
+ [a],
89
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
90
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
91
+ [g, i],
92
+ ["https://cloudsearch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
93
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
94
+ ["https://cloudsearch-fips.{Region}.{PartitionResult#dnsSuffix}", i],
95
+ [a, "FIPS is enabled but this partition does not support FIPS"],
96
+ ["https://cloudsearch.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
97
+ [a, "DualStack is enabled but this partition does not support DualStack"],
98
+ ["https://cloudsearch.{Region}.{PartitionResult#dnsSuffix}", i],
99
+ [a, "Invalid Configuration: Missing Region"]
100
+ ]
101
+ };
102
+ const root = 2;
103
+ const r = 100_000_000;
104
+ const nodes = new Int32Array([
105
+ -1, 1, -1,
106
+ 0, 12, 3,
107
+ 1, 4, r + 11,
108
+ 2, 5, r + 11,
109
+ 3, 8, 6,
110
+ 4, 7, r + 10,
111
+ 5, r + 8, r + 9,
112
+ 4, 10, 9,
113
+ 6, r + 6, r + 7,
114
+ 5, 11, r + 5,
115
+ 6, r + 4, r + 5,
116
+ 3, r + 1, 13,
117
+ 4, r + 2, r + 3,
118
+ ]);
119
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
120
+
121
+ const cache = new EndpointCache({
122
+ size: 50,
123
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
124
+ });
125
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
126
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
127
+ endpointParams: endpointParams,
128
+ logger: context.logger,
129
+ }));
130
+ };
131
+ customEndpointFunctions.aws = awsEndpointFunctions;
132
+
133
+ class CloudSearchServiceException extends ServiceException {
134
+ constructor(options) {
135
+ super(options);
136
+ Object.setPrototypeOf(this, CloudSearchServiceException.prototype);
137
+ }
138
+ }
139
+
140
+ class BaseException extends CloudSearchServiceException {
141
+ name = "BaseException";
142
+ $fault = "client";
143
+ Code;
144
+ Message;
145
+ constructor(opts) {
146
+ super({
147
+ name: "BaseException",
148
+ $fault: "client",
149
+ ...opts,
150
+ });
151
+ Object.setPrototypeOf(this, BaseException.prototype);
152
+ this.Code = opts.Code;
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ class InternalException extends CloudSearchServiceException {
157
+ name = "InternalException";
158
+ $fault = "server";
159
+ Code;
160
+ Message;
161
+ constructor(opts) {
162
+ super({
163
+ name: "InternalException",
164
+ $fault: "server",
165
+ ...opts,
166
+ });
167
+ Object.setPrototypeOf(this, InternalException.prototype);
168
+ this.Code = opts.Code;
169
+ this.Message = opts.Message;
170
+ }
171
+ }
172
+ class ResourceNotFoundException extends CloudSearchServiceException {
173
+ name = "ResourceNotFoundException";
174
+ $fault = "client";
175
+ Code;
176
+ Message;
177
+ constructor(opts) {
178
+ super({
179
+ name: "ResourceNotFoundException",
180
+ $fault: "client",
181
+ ...opts,
182
+ });
183
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
184
+ this.Code = opts.Code;
185
+ this.Message = opts.Message;
186
+ }
187
+ }
188
+ class ValidationException extends CloudSearchServiceException {
189
+ name = "ValidationException";
190
+ $fault = "client";
191
+ Code;
192
+ Message;
193
+ constructor(opts) {
194
+ super({
195
+ name: "ValidationException",
196
+ $fault: "client",
197
+ ...opts,
198
+ });
199
+ Object.setPrototypeOf(this, ValidationException.prototype);
200
+ this.Code = opts.Code;
201
+ this.Message = opts.Message;
202
+ }
203
+ }
204
+ class LimitExceededException extends CloudSearchServiceException {
205
+ name = "LimitExceededException";
206
+ $fault = "client";
207
+ Code;
208
+ Message;
209
+ constructor(opts) {
210
+ super({
211
+ name: "LimitExceededException",
212
+ $fault: "client",
213
+ ...opts,
214
+ });
215
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
216
+ this.Code = opts.Code;
217
+ this.Message = opts.Message;
218
+ }
219
+ }
220
+ class ResourceAlreadyExistsException extends CloudSearchServiceException {
221
+ name = "ResourceAlreadyExistsException";
222
+ $fault = "client";
223
+ Code;
224
+ Message;
225
+ constructor(opts) {
226
+ super({
227
+ name: "ResourceAlreadyExistsException",
228
+ $fault: "client",
229
+ ...opts,
230
+ });
231
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
232
+ this.Code = opts.Code;
233
+ this.Message = opts.Message;
234
+ }
235
+ }
236
+ class InvalidTypeException extends CloudSearchServiceException {
237
+ name = "InvalidTypeException";
238
+ $fault = "client";
239
+ Code;
240
+ Message;
241
+ constructor(opts) {
242
+ super({
243
+ name: "InvalidTypeException",
244
+ $fault: "client",
245
+ ...opts,
246
+ });
247
+ Object.setPrototypeOf(this, InvalidTypeException.prototype);
248
+ this.Code = opts.Code;
249
+ this.Message = opts.Message;
250
+ }
251
+ }
252
+ class DisabledOperationException extends CloudSearchServiceException {
253
+ name = "DisabledOperationException";
254
+ $fault = "client";
255
+ Code;
256
+ Message;
257
+ constructor(opts) {
258
+ super({
259
+ name: "DisabledOperationException",
260
+ $fault: "client",
261
+ ...opts,
262
+ });
263
+ Object.setPrototypeOf(this, DisabledOperationException.prototype);
264
+ this.Code = opts.Code;
265
+ this.Message = opts.Message;
266
+ }
267
+ }
268
+
269
+ const _AO = "AnalysisOptions";
270
+ const _AOS = "AvailabilityOptionsStatus";
271
+ const _AOv = "AvailabilityOptions";
272
+ const _AP = "AccessPolicies";
273
+ const _APS = "AccessPoliciesStatus";
274
+ const _ARN = "ARN";
275
+ const _AS = "AlgorithmicStemming";
276
+ const _ASL = "AnalysisSchemeLanguage";
277
+ const _ASN = "AnalysisSchemeName";
278
+ const _ASNn = "AnalysisSchemeNames";
279
+ const _ASS = "AnalysisSchemeStatus";
280
+ const _ASSL = "AnalysisSchemeStatusList";
281
+ const _ASn = "AnalysisScheme";
282
+ const _ASna = "AnalysisSchemes";
283
+ const _BE = "BaseException";
284
+ const _BS = "BuildSuggesters";
285
+ const _BSR = "BuildSuggestersRequest";
286
+ const _BSRu = "BuildSuggestersResponse";
287
+ const _C = "Code";
288
+ const _CD = "CreationDate";
289
+ const _CDR = "CreateDomainRequest";
290
+ const _CDRr = "CreateDomainResponse";
291
+ const _CDr = "CreateDomain";
292
+ const _Cr = "Created";
293
+ const _D = "Deployed";
294
+ const _DAO = "DateArrayOptions";
295
+ const _DAOR = "DescribeAvailabilityOptionsRequest";
296
+ const _DAORe = "DescribeAvailabilityOptionsResponse";
297
+ const _DAOe = "DescribeAvailabilityOptions";
298
+ const _DAOo = "DoubleArrayOptions";
299
+ const _DAS = "DefineAnalysisScheme";
300
+ const _DASR = "DefineAnalysisSchemeRequest";
301
+ const _DASRe = "DefineAnalysisSchemeResponse";
302
+ const _DASRel = "DeleteAnalysisSchemeRequest";
303
+ const _DASRele = "DeleteAnalysisSchemeResponse";
304
+ const _DASRes = "DescribeAnalysisSchemesRequest";
305
+ const _DASResc = "DescribeAnalysisSchemesResponse";
306
+ const _DASe = "DeleteAnalysisScheme";
307
+ const _DASes = "DescribeAnalysisSchemes";
308
+ const _DD = "DeleteDomain";
309
+ const _DDEO = "DescribeDomainEndpointOptions";
310
+ const _DDEOR = "DescribeDomainEndpointOptionsRequest";
311
+ const _DDEORe = "DescribeDomainEndpointOptionsResponse";
312
+ const _DDR = "DeleteDomainRequest";
313
+ const _DDRe = "DeleteDomainResponse";
314
+ const _DDRes = "DescribeDomainsRequest";
315
+ const _DDResc = "DescribeDomainsResponse";
316
+ const _DDe = "DescribeDomains";
317
+ const _DE = "DefineExpression";
318
+ const _DEO = "DomainEndpointOptions";
319
+ const _DEOS = "DomainEndpointOptionsStatus";
320
+ const _DER = "DefineExpressionRequest";
321
+ const _DERe = "DefineExpressionResponse";
322
+ const _DERel = "DeleteExpressionRequest";
323
+ const _DERele = "DeleteExpressionResponse";
324
+ const _DERes = "DescribeExpressionsRequest";
325
+ const _DEResc = "DescribeExpressionsResponse";
326
+ const _DEe = "DeleteExpression";
327
+ const _DEes = "DescribeExpressions";
328
+ const _DI = "DomainId";
329
+ const _DIF = "DefineIndexField";
330
+ const _DIFR = "DefineIndexFieldRequest";
331
+ const _DIFRe = "DefineIndexFieldResponse";
332
+ const _DIFRel = "DeleteIndexFieldRequest";
333
+ const _DIFRele = "DeleteIndexFieldResponse";
334
+ const _DIFRes = "DescribeIndexFieldsRequest";
335
+ const _DIFResc = "DescribeIndexFieldsResponse";
336
+ const _DIFe = "DeleteIndexField";
337
+ const _DIFes = "DescribeIndexFields";
338
+ const _DIT = "DesiredInstanceType";
339
+ const _DN = "DomainName";
340
+ const _DNo = "DomainNames";
341
+ const _DO = "DateOptions";
342
+ const _DOE = "DisabledOperationException";
343
+ const _DOo = "DoubleOptions";
344
+ const _DPC = "DesiredPartitionCount";
345
+ const _DRC = "DesiredReplicationCount";
346
+ const _DS = "DomainStatus";
347
+ const _DSAP = "DescribeServiceAccessPolicies";
348
+ const _DSAPR = "DescribeServiceAccessPoliciesRequest";
349
+ const _DSAPRe = "DescribeServiceAccessPoliciesResponse";
350
+ const _DSL = "DomainStatusList";
351
+ const _DSO = "DocumentSuggesterOptions";
352
+ const _DSP = "DescribeScalingParameters";
353
+ const _DSPR = "DescribeScalingParametersRequest";
354
+ const _DSPRe = "DescribeScalingParametersResponse";
355
+ const _DSR = "DefineSuggesterRequest";
356
+ const _DSRe = "DefineSuggesterResponse";
357
+ const _DSRel = "DeleteSuggesterRequest";
358
+ const _DSRele = "DeleteSuggesterResponse";
359
+ const _DSRes = "DescribeSuggestersRequest";
360
+ const _DSResc = "DescribeSuggestersResponse";
361
+ const _DSe = "DefineSuggester";
362
+ const _DSel = "DeleteSuggester";
363
+ const _DSes = "DescribeSuggesters";
364
+ const _DSo = "DocService";
365
+ const _DV = "DefaultValue";
366
+ const _De = "Deleted";
367
+ const _E = "Expression";
368
+ const _EHTTPS = "EnforceHTTPS";
369
+ const _EN = "ExpressionName";
370
+ const _ENx = "ExpressionNames";
371
+ const _ES = "ExpressionStatus";
372
+ const _ESL = "ExpressionStatusList";
373
+ const _EV = "ExpressionValue";
374
+ const _En = "Endpoint";
375
+ const _Ex = "Expressions";
376
+ const _FE = "FacetEnabled";
377
+ const _FM = "FuzzyMatching";
378
+ const _FN = "FieldNames";
379
+ const _HE = "HighlightEnabled";
380
+ const _IAO = "IntArrayOptions";
381
+ const _ID = "IndexDocuments";
382
+ const _IDR = "IndexDocumentsRequest";
383
+ const _IDRn = "IndexDocumentsResponse";
384
+ const _IE = "InternalException";
385
+ const _IF = "IndexField";
386
+ const _IFN = "IndexFieldName";
387
+ const _IFS = "IndexFieldStatus";
388
+ const _IFSL = "IndexFieldStatusList";
389
+ const _IFT = "IndexFieldType";
390
+ const _IFn = "IndexFields";
391
+ const _IO = "IntOptions";
392
+ const _ITE = "InvalidTypeException";
393
+ const _JTD = "JapaneseTokenizationDictionary";
394
+ const _L = "Limits";
395
+ const _LAO = "LiteralArrayOptions";
396
+ const _LDN = "ListDomainNames";
397
+ const _LDNR = "ListDomainNamesResponse";
398
+ const _LEE = "LimitExceededException";
399
+ const _LLO = "LatLonOptions";
400
+ const _LO = "LiteralOptions";
401
+ const _M = "Message";
402
+ const _MAZ = "MultiAZ";
403
+ const _MPC = "MaximumPartitionCount";
404
+ const _MRC = "MaximumReplicationCount";
405
+ const _O = "Options";
406
+ const _OS = "OptionStatus";
407
+ const _P = "Processing";
408
+ const _PD = "PendingDeletion";
409
+ const _RAEE = "ResourceAlreadyExistsException";
410
+ const _RE = "ReturnEnabled";
411
+ const _RID = "RequiresIndexDocuments";
412
+ const _RNFE = "ResourceNotFoundException";
413
+ const _S = "Status";
414
+ const _SD = "StemmingDictionary";
415
+ const _SE = "SearchEnabled";
416
+ const _SEe = "ServiceEndpoint";
417
+ const _SEo = "SortEnabled";
418
+ const _SEor = "SortExpression";
419
+ const _SF = "SourceFields";
420
+ const _SFo = "SourceField";
421
+ const _SIC = "SearchInstanceCount";
422
+ const _SIT = "SearchInstanceType";
423
+ const _SN = "SuggesterName";
424
+ const _SNu = "SuggesterNames";
425
+ const _SP = "ScalingParameters";
426
+ const _SPC = "SearchPartitionCount";
427
+ const _SPS = "ScalingParametersStatus";
428
+ const _SS = "SearchService";
429
+ const _SSL = "SuggesterStatusList";
430
+ const _SSu = "SuggesterStatus";
431
+ const _St = "Stopwords";
432
+ const _Sta = "State";
433
+ const _Su = "Suggester";
434
+ const _Sug = "Suggesters";
435
+ const _Sy = "Synonyms";
436
+ const _TAO = "TextArrayOptions";
437
+ const _TLSSP = "TLSSecurityPolicy";
438
+ const _TO = "TextOptions";
439
+ const _UAO = "UpdateAvailabilityOptions";
440
+ const _UAOR = "UpdateAvailabilityOptionsRequest";
441
+ const _UAORp = "UpdateAvailabilityOptionsResponse";
442
+ const _UD = "UpdateDate";
443
+ const _UDEO = "UpdateDomainEndpointOptions";
444
+ const _UDEOR = "UpdateDomainEndpointOptionsRequest";
445
+ const _UDEORp = "UpdateDomainEndpointOptionsResponse";
446
+ const _USAP = "UpdateServiceAccessPolicies";
447
+ const _USAPR = "UpdateServiceAccessPoliciesRequest";
448
+ const _USAPRp = "UpdateServiceAccessPoliciesResponse";
449
+ const _USP = "UpdateScalingParameters";
450
+ const _USPR = "UpdateScalingParametersRequest";
451
+ const _USPRp = "UpdateScalingParametersResponse";
452
+ const _UV = "UpdateVersion";
453
+ const _VE = "ValidationException";
454
+ const _aQE = "awsQueryError";
455
+ const _c = "client";
456
+ const _e = "error";
457
+ const _hE = "httpError";
458
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudsearch";
459
+ const _se = "server";
460
+ const n0 = "com.amazonaws.cloudsearch";
461
+ const _s_registry = TypeRegistry.for(_s);
462
+ var CloudSearchServiceException$ = [-3, _s, "CloudSearchServiceException", 0, [], []];
463
+ _s_registry.registerError(CloudSearchServiceException$, CloudSearchServiceException);
464
+ const n0_registry = TypeRegistry.for(n0);
465
+ var BaseException$ = [-3, n0, _BE,
466
+ { [_e]: _c },
467
+ [_C, _M],
468
+ [0, 0]
469
+ ];
470
+ n0_registry.registerError(BaseException$, BaseException);
471
+ var DisabledOperationException$ = [-3, n0, _DOE,
472
+ { [_aQE]: [`DisabledAction`, 409], [_e]: _c, [_hE]: 409 },
473
+ [_C, _M],
474
+ [0, 0]
475
+ ];
476
+ n0_registry.registerError(DisabledOperationException$, DisabledOperationException);
477
+ var InternalException$ = [-3, n0, _IE,
478
+ { [_aQE]: [`InternalException`, 500], [_e]: _se, [_hE]: 500 },
479
+ [_C, _M],
480
+ [0, 0]
481
+ ];
482
+ n0_registry.registerError(InternalException$, InternalException);
483
+ var InvalidTypeException$ = [-3, n0, _ITE,
484
+ { [_aQE]: [`InvalidType`, 409], [_e]: _c, [_hE]: 409 },
485
+ [_C, _M],
486
+ [0, 0]
487
+ ];
488
+ n0_registry.registerError(InvalidTypeException$, InvalidTypeException);
489
+ var LimitExceededException$ = [-3, n0, _LEE,
490
+ { [_aQE]: [`LimitExceeded`, 409], [_e]: _c, [_hE]: 409 },
491
+ [_C, _M],
492
+ [0, 0]
493
+ ];
494
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
495
+ var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
496
+ { [_aQE]: [`ResourceAlreadyExists`, 409], [_e]: _c, [_hE]: 409 },
497
+ [_C, _M],
498
+ [0, 0]
499
+ ];
500
+ n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
501
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
502
+ { [_aQE]: [`ResourceNotFound`, 409], [_e]: _c, [_hE]: 409 },
503
+ [_C, _M],
504
+ [0, 0]
505
+ ];
506
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
507
+ var ValidationException$ = [-3, n0, _VE,
508
+ { [_e]: _c, [_hE]: 400 },
509
+ [_C, _M],
510
+ [0, 0]
511
+ ];
512
+ n0_registry.registerError(ValidationException$, ValidationException);
513
+ const errorTypeRegistries = [
514
+ _s_registry,
515
+ n0_registry,
516
+ ];
517
+ var AccessPoliciesStatus$ = [3, n0, _APS,
518
+ 0,
519
+ [_O, _S],
520
+ [0, () => OptionStatus$], 2
521
+ ];
522
+ var AnalysisOptions$ = [3, n0, _AO,
523
+ 0,
524
+ [_Sy, _St, _SD, _JTD, _AS],
525
+ [0, 0, 0, 0, 0]
526
+ ];
527
+ var AnalysisScheme$ = [3, n0, _ASn,
528
+ 0,
529
+ [_ASN, _ASL, _AO],
530
+ [0, 0, () => AnalysisOptions$], 2
531
+ ];
532
+ var AnalysisSchemeStatus$ = [3, n0, _ASS,
533
+ 0,
534
+ [_O, _S],
535
+ [() => AnalysisScheme$, () => OptionStatus$], 2
536
+ ];
537
+ var AvailabilityOptionsStatus$ = [3, n0, _AOS,
538
+ 0,
539
+ [_O, _S],
540
+ [2, () => OptionStatus$], 2
541
+ ];
542
+ var BuildSuggestersRequest$ = [3, n0, _BSR,
543
+ 0,
544
+ [_DN],
545
+ [0], 1
546
+ ];
547
+ var BuildSuggestersResponse$ = [3, n0, _BSRu,
548
+ 0,
549
+ [_FN],
550
+ [64 | 0]
551
+ ];
552
+ var CreateDomainRequest$ = [3, n0, _CDR,
553
+ 0,
554
+ [_DN],
555
+ [0], 1
556
+ ];
557
+ var CreateDomainResponse$ = [3, n0, _CDRr,
558
+ 0,
559
+ [_DS],
560
+ [() => DomainStatus$]
561
+ ];
562
+ var DateArrayOptions$ = [3, n0, _DAO,
563
+ 0,
564
+ [_DV, _SF, _FE, _SE, _RE],
565
+ [0, 0, 2, 2, 2]
566
+ ];
567
+ var DateOptions$ = [3, n0, _DO,
568
+ 0,
569
+ [_DV, _SFo, _FE, _SE, _RE, _SEo],
570
+ [0, 0, 2, 2, 2, 2]
571
+ ];
572
+ var DefineAnalysisSchemeRequest$ = [3, n0, _DASR,
573
+ 0,
574
+ [_DN, _ASn],
575
+ [0, () => AnalysisScheme$], 2
576
+ ];
577
+ var DefineAnalysisSchemeResponse$ = [3, n0, _DASRe,
578
+ 0,
579
+ [_ASn],
580
+ [() => AnalysisSchemeStatus$], 1
581
+ ];
582
+ var DefineExpressionRequest$ = [3, n0, _DER,
583
+ 0,
584
+ [_DN, _E],
585
+ [0, () => Expression$], 2
586
+ ];
587
+ var DefineExpressionResponse$ = [3, n0, _DERe,
588
+ 0,
589
+ [_E],
590
+ [() => ExpressionStatus$], 1
591
+ ];
592
+ var DefineIndexFieldRequest$ = [3, n0, _DIFR,
593
+ 0,
594
+ [_DN, _IF],
595
+ [0, () => IndexField$], 2
596
+ ];
597
+ var DefineIndexFieldResponse$ = [3, n0, _DIFRe,
598
+ 0,
599
+ [_IF],
600
+ [() => IndexFieldStatus$], 1
601
+ ];
602
+ var DefineSuggesterRequest$ = [3, n0, _DSR,
603
+ 0,
604
+ [_DN, _Su],
605
+ [0, () => Suggester$], 2
606
+ ];
607
+ var DefineSuggesterResponse$ = [3, n0, _DSRe,
608
+ 0,
609
+ [_Su],
610
+ [() => SuggesterStatus$], 1
611
+ ];
612
+ var DeleteAnalysisSchemeRequest$ = [3, n0, _DASRel,
613
+ 0,
614
+ [_DN, _ASN],
615
+ [0, 0], 2
616
+ ];
617
+ var DeleteAnalysisSchemeResponse$ = [3, n0, _DASRele,
618
+ 0,
619
+ [_ASn],
620
+ [() => AnalysisSchemeStatus$], 1
621
+ ];
622
+ var DeleteDomainRequest$ = [3, n0, _DDR,
623
+ 0,
624
+ [_DN],
625
+ [0], 1
626
+ ];
627
+ var DeleteDomainResponse$ = [3, n0, _DDRe,
628
+ 0,
629
+ [_DS],
630
+ [() => DomainStatus$]
631
+ ];
632
+ var DeleteExpressionRequest$ = [3, n0, _DERel,
633
+ 0,
634
+ [_DN, _EN],
635
+ [0, 0], 2
636
+ ];
637
+ var DeleteExpressionResponse$ = [3, n0, _DERele,
638
+ 0,
639
+ [_E],
640
+ [() => ExpressionStatus$], 1
641
+ ];
642
+ var DeleteIndexFieldRequest$ = [3, n0, _DIFRel,
643
+ 0,
644
+ [_DN, _IFN],
645
+ [0, 0], 2
646
+ ];
647
+ var DeleteIndexFieldResponse$ = [3, n0, _DIFRele,
648
+ 0,
649
+ [_IF],
650
+ [() => IndexFieldStatus$], 1
651
+ ];
652
+ var DeleteSuggesterRequest$ = [3, n0, _DSRel,
653
+ 0,
654
+ [_DN, _SN],
655
+ [0, 0], 2
656
+ ];
657
+ var DeleteSuggesterResponse$ = [3, n0, _DSRele,
658
+ 0,
659
+ [_Su],
660
+ [() => SuggesterStatus$], 1
661
+ ];
662
+ var DescribeAnalysisSchemesRequest$ = [3, n0, _DASRes,
663
+ 0,
664
+ [_DN, _ASNn, _D],
665
+ [0, 64 | 0, 2], 1
666
+ ];
667
+ var DescribeAnalysisSchemesResponse$ = [3, n0, _DASResc,
668
+ 0,
669
+ [_ASna],
670
+ [() => AnalysisSchemeStatusList], 1
671
+ ];
672
+ var DescribeAvailabilityOptionsRequest$ = [3, n0, _DAOR,
673
+ 0,
674
+ [_DN, _D],
675
+ [0, 2], 1
676
+ ];
677
+ var DescribeAvailabilityOptionsResponse$ = [3, n0, _DAORe,
678
+ 0,
679
+ [_AOv],
680
+ [() => AvailabilityOptionsStatus$]
681
+ ];
682
+ var DescribeDomainEndpointOptionsRequest$ = [3, n0, _DDEOR,
683
+ 0,
684
+ [_DN, _D],
685
+ [0, 2], 1
686
+ ];
687
+ var DescribeDomainEndpointOptionsResponse$ = [3, n0, _DDEORe,
688
+ 0,
689
+ [_DEO],
690
+ [() => DomainEndpointOptionsStatus$]
691
+ ];
692
+ var DescribeDomainsRequest$ = [3, n0, _DDRes,
693
+ 0,
694
+ [_DNo],
695
+ [64 | 0]
696
+ ];
697
+ var DescribeDomainsResponse$ = [3, n0, _DDResc,
698
+ 0,
699
+ [_DSL],
700
+ [() => DomainStatusList], 1
701
+ ];
702
+ var DescribeExpressionsRequest$ = [3, n0, _DERes,
703
+ 0,
704
+ [_DN, _ENx, _D],
705
+ [0, 64 | 0, 2], 1
706
+ ];
707
+ var DescribeExpressionsResponse$ = [3, n0, _DEResc,
708
+ 0,
709
+ [_Ex],
710
+ [() => ExpressionStatusList], 1
711
+ ];
712
+ var DescribeIndexFieldsRequest$ = [3, n0, _DIFRes,
713
+ 0,
714
+ [_DN, _FN, _D],
715
+ [0, 64 | 0, 2], 1
716
+ ];
717
+ var DescribeIndexFieldsResponse$ = [3, n0, _DIFResc,
718
+ 0,
719
+ [_IFn],
720
+ [() => IndexFieldStatusList], 1
721
+ ];
722
+ var DescribeScalingParametersRequest$ = [3, n0, _DSPR,
723
+ 0,
724
+ [_DN],
725
+ [0], 1
726
+ ];
727
+ var DescribeScalingParametersResponse$ = [3, n0, _DSPRe,
728
+ 0,
729
+ [_SP],
730
+ [() => ScalingParametersStatus$], 1
731
+ ];
732
+ var DescribeServiceAccessPoliciesRequest$ = [3, n0, _DSAPR,
733
+ 0,
734
+ [_DN, _D],
735
+ [0, 2], 1
736
+ ];
737
+ var DescribeServiceAccessPoliciesResponse$ = [3, n0, _DSAPRe,
738
+ 0,
739
+ [_AP],
740
+ [() => AccessPoliciesStatus$], 1
741
+ ];
742
+ var DescribeSuggestersRequest$ = [3, n0, _DSRes,
743
+ 0,
744
+ [_DN, _SNu, _D],
745
+ [0, 64 | 0, 2], 1
746
+ ];
747
+ var DescribeSuggestersResponse$ = [3, n0, _DSResc,
748
+ 0,
749
+ [_Sug],
750
+ [() => SuggesterStatusList], 1
751
+ ];
752
+ var DocumentSuggesterOptions$ = [3, n0, _DSO,
753
+ 0,
754
+ [_SFo, _FM, _SEor],
755
+ [0, 0, 0], 1
756
+ ];
757
+ var DomainEndpointOptions$ = [3, n0, _DEO,
758
+ 0,
759
+ [_EHTTPS, _TLSSP],
760
+ [2, 0]
761
+ ];
762
+ var DomainEndpointOptionsStatus$ = [3, n0, _DEOS,
763
+ 0,
764
+ [_O, _S],
765
+ [() => DomainEndpointOptions$, () => OptionStatus$], 2
766
+ ];
767
+ var DomainStatus$ = [3, n0, _DS,
768
+ 0,
769
+ [_DI, _DN, _RID, _ARN, _Cr, _De, _DSo, _SS, _P, _SIT, _SPC, _SIC, _L],
770
+ [0, 0, 2, 0, 2, 2, () => ServiceEndpoint$, () => ServiceEndpoint$, 2, 0, 1, 1, () => Limits$], 3
771
+ ];
772
+ var DoubleArrayOptions$ = [3, n0, _DAOo,
773
+ 0,
774
+ [_DV, _SF, _FE, _SE, _RE],
775
+ [1, 0, 2, 2, 2]
776
+ ];
777
+ var DoubleOptions$ = [3, n0, _DOo,
778
+ 0,
779
+ [_DV, _SFo, _FE, _SE, _RE, _SEo],
780
+ [1, 0, 2, 2, 2, 2]
781
+ ];
782
+ var Expression$ = [3, n0, _E,
783
+ 0,
784
+ [_EN, _EV],
785
+ [0, 0], 2
786
+ ];
787
+ var ExpressionStatus$ = [3, n0, _ES,
788
+ 0,
789
+ [_O, _S],
790
+ [() => Expression$, () => OptionStatus$], 2
791
+ ];
792
+ var IndexDocumentsRequest$ = [3, n0, _IDR,
793
+ 0,
794
+ [_DN],
795
+ [0], 1
796
+ ];
797
+ var IndexDocumentsResponse$ = [3, n0, _IDRn,
798
+ 0,
799
+ [_FN],
800
+ [64 | 0]
801
+ ];
802
+ var IndexField$ = [3, n0, _IF,
803
+ 0,
804
+ [_IFN, _IFT, _IO, _DOo, _LO, _TO, _DO, _LLO, _IAO, _DAOo, _LAO, _TAO, _DAO],
805
+ [0, 0, () => IntOptions$, () => DoubleOptions$, () => LiteralOptions$, () => TextOptions$, () => DateOptions$, () => LatLonOptions$, () => IntArrayOptions$, () => DoubleArrayOptions$, () => LiteralArrayOptions$, () => TextArrayOptions$, () => DateArrayOptions$], 2
806
+ ];
807
+ var IndexFieldStatus$ = [3, n0, _IFS,
808
+ 0,
809
+ [_O, _S],
810
+ [() => IndexField$, () => OptionStatus$], 2
811
+ ];
812
+ var IntArrayOptions$ = [3, n0, _IAO,
813
+ 0,
814
+ [_DV, _SF, _FE, _SE, _RE],
815
+ [1, 0, 2, 2, 2]
816
+ ];
817
+ var IntOptions$ = [3, n0, _IO,
818
+ 0,
819
+ [_DV, _SFo, _FE, _SE, _RE, _SEo],
820
+ [1, 0, 2, 2, 2, 2]
821
+ ];
822
+ var LatLonOptions$ = [3, n0, _LLO,
823
+ 0,
824
+ [_DV, _SFo, _FE, _SE, _RE, _SEo],
825
+ [0, 0, 2, 2, 2, 2]
826
+ ];
827
+ var Limits$ = [3, n0, _L,
828
+ 0,
829
+ [_MRC, _MPC],
830
+ [1, 1], 2
831
+ ];
832
+ var ListDomainNamesResponse$ = [3, n0, _LDNR,
833
+ 0,
834
+ [_DNo],
835
+ [128 | 0]
836
+ ];
837
+ var LiteralArrayOptions$ = [3, n0, _LAO,
838
+ 0,
839
+ [_DV, _SF, _FE, _SE, _RE],
840
+ [0, 0, 2, 2, 2]
841
+ ];
842
+ var LiteralOptions$ = [3, n0, _LO,
843
+ 0,
844
+ [_DV, _SFo, _FE, _SE, _RE, _SEo],
845
+ [0, 0, 2, 2, 2, 2]
846
+ ];
847
+ var OptionStatus$ = [3, n0, _OS,
848
+ 0,
849
+ [_CD, _UD, _Sta, _UV, _PD],
850
+ [4, 4, 0, 1, 2], 3
851
+ ];
852
+ var ScalingParameters$ = [3, n0, _SP,
853
+ 0,
854
+ [_DIT, _DRC, _DPC],
855
+ [0, 1, 1]
856
+ ];
857
+ var ScalingParametersStatus$ = [3, n0, _SPS,
858
+ 0,
859
+ [_O, _S],
860
+ [() => ScalingParameters$, () => OptionStatus$], 2
861
+ ];
862
+ var ServiceEndpoint$ = [3, n0, _SEe,
863
+ 0,
864
+ [_En],
865
+ [0]
866
+ ];
867
+ var Suggester$ = [3, n0, _Su,
868
+ 0,
869
+ [_SN, _DSO],
870
+ [0, () => DocumentSuggesterOptions$], 2
871
+ ];
872
+ var SuggesterStatus$ = [3, n0, _SSu,
873
+ 0,
874
+ [_O, _S],
875
+ [() => Suggester$, () => OptionStatus$], 2
876
+ ];
877
+ var TextArrayOptions$ = [3, n0, _TAO,
878
+ 0,
879
+ [_DV, _SF, _RE, _HE, _ASn],
880
+ [0, 0, 2, 2, 0]
881
+ ];
882
+ var TextOptions$ = [3, n0, _TO,
883
+ 0,
884
+ [_DV, _SFo, _RE, _SEo, _HE, _ASn],
885
+ [0, 0, 2, 2, 2, 0]
886
+ ];
887
+ var UpdateAvailabilityOptionsRequest$ = [3, n0, _UAOR,
888
+ 0,
889
+ [_DN, _MAZ],
890
+ [0, 2], 2
891
+ ];
892
+ var UpdateAvailabilityOptionsResponse$ = [3, n0, _UAORp,
893
+ 0,
894
+ [_AOv],
895
+ [() => AvailabilityOptionsStatus$]
896
+ ];
897
+ var UpdateDomainEndpointOptionsRequest$ = [3, n0, _UDEOR,
898
+ 0,
899
+ [_DN, _DEO],
900
+ [0, () => DomainEndpointOptions$], 2
901
+ ];
902
+ var UpdateDomainEndpointOptionsResponse$ = [3, n0, _UDEORp,
903
+ 0,
904
+ [_DEO],
905
+ [() => DomainEndpointOptionsStatus$]
906
+ ];
907
+ var UpdateScalingParametersRequest$ = [3, n0, _USPR,
908
+ 0,
909
+ [_DN, _SP],
910
+ [0, () => ScalingParameters$], 2
911
+ ];
912
+ var UpdateScalingParametersResponse$ = [3, n0, _USPRp,
913
+ 0,
914
+ [_SP],
915
+ [() => ScalingParametersStatus$], 1
916
+ ];
917
+ var UpdateServiceAccessPoliciesRequest$ = [3, n0, _USAPR,
918
+ 0,
919
+ [_DN, _AP],
920
+ [0, 0], 2
921
+ ];
922
+ var UpdateServiceAccessPoliciesResponse$ = [3, n0, _USAPRp,
923
+ 0,
924
+ [_AP],
925
+ [() => AccessPoliciesStatus$], 1
926
+ ];
927
+ var __Unit = "unit";
928
+ var AnalysisSchemeStatusList = [1, n0, _ASSL,
929
+ 0, () => AnalysisSchemeStatus$
930
+ ];
931
+ var DomainStatusList = [1, n0, _DSL,
932
+ 0, () => DomainStatus$
933
+ ];
934
+ var ExpressionStatusList = [1, n0, _ESL,
935
+ 0, () => ExpressionStatus$
936
+ ];
937
+ var IndexFieldStatusList = [1, n0, _IFSL,
938
+ 0, () => IndexFieldStatus$
939
+ ];
940
+ var SuggesterStatusList = [1, n0, _SSL,
941
+ 0, () => SuggesterStatus$
942
+ ];
943
+ var BuildSuggesters$ = [9, n0, _BS,
944
+ 0, () => BuildSuggestersRequest$, () => BuildSuggestersResponse$
945
+ ];
946
+ var CreateDomain$ = [9, n0, _CDr,
947
+ 0, () => CreateDomainRequest$, () => CreateDomainResponse$
948
+ ];
949
+ var DefineAnalysisScheme$ = [9, n0, _DAS,
950
+ 0, () => DefineAnalysisSchemeRequest$, () => DefineAnalysisSchemeResponse$
951
+ ];
952
+ var DefineExpression$ = [9, n0, _DE,
953
+ 0, () => DefineExpressionRequest$, () => DefineExpressionResponse$
954
+ ];
955
+ var DefineIndexField$ = [9, n0, _DIF,
956
+ 0, () => DefineIndexFieldRequest$, () => DefineIndexFieldResponse$
957
+ ];
958
+ var DefineSuggester$ = [9, n0, _DSe,
959
+ 0, () => DefineSuggesterRequest$, () => DefineSuggesterResponse$
960
+ ];
961
+ var DeleteAnalysisScheme$ = [9, n0, _DASe,
962
+ 0, () => DeleteAnalysisSchemeRequest$, () => DeleteAnalysisSchemeResponse$
963
+ ];
964
+ var DeleteDomain$ = [9, n0, _DD,
965
+ 0, () => DeleteDomainRequest$, () => DeleteDomainResponse$
966
+ ];
967
+ var DeleteExpression$ = [9, n0, _DEe,
968
+ 0, () => DeleteExpressionRequest$, () => DeleteExpressionResponse$
969
+ ];
970
+ var DeleteIndexField$ = [9, n0, _DIFe,
971
+ 0, () => DeleteIndexFieldRequest$, () => DeleteIndexFieldResponse$
972
+ ];
973
+ var DeleteSuggester$ = [9, n0, _DSel,
974
+ 0, () => DeleteSuggesterRequest$, () => DeleteSuggesterResponse$
975
+ ];
976
+ var DescribeAnalysisSchemes$ = [9, n0, _DASes,
977
+ 0, () => DescribeAnalysisSchemesRequest$, () => DescribeAnalysisSchemesResponse$
978
+ ];
979
+ var DescribeAvailabilityOptions$ = [9, n0, _DAOe,
980
+ 0, () => DescribeAvailabilityOptionsRequest$, () => DescribeAvailabilityOptionsResponse$
981
+ ];
982
+ var DescribeDomainEndpointOptions$ = [9, n0, _DDEO,
983
+ 0, () => DescribeDomainEndpointOptionsRequest$, () => DescribeDomainEndpointOptionsResponse$
984
+ ];
985
+ var DescribeDomains$ = [9, n0, _DDe,
986
+ 0, () => DescribeDomainsRequest$, () => DescribeDomainsResponse$
987
+ ];
988
+ var DescribeExpressions$ = [9, n0, _DEes,
989
+ 0, () => DescribeExpressionsRequest$, () => DescribeExpressionsResponse$
990
+ ];
991
+ var DescribeIndexFields$ = [9, n0, _DIFes,
992
+ 0, () => DescribeIndexFieldsRequest$, () => DescribeIndexFieldsResponse$
993
+ ];
994
+ var DescribeScalingParameters$ = [9, n0, _DSP,
995
+ 0, () => DescribeScalingParametersRequest$, () => DescribeScalingParametersResponse$
996
+ ];
997
+ var DescribeServiceAccessPolicies$ = [9, n0, _DSAP,
998
+ 0, () => DescribeServiceAccessPoliciesRequest$, () => DescribeServiceAccessPoliciesResponse$
999
+ ];
1000
+ var DescribeSuggesters$ = [9, n0, _DSes,
1001
+ 0, () => DescribeSuggestersRequest$, () => DescribeSuggestersResponse$
1002
+ ];
1003
+ var IndexDocuments$ = [9, n0, _ID,
1004
+ 0, () => IndexDocumentsRequest$, () => IndexDocumentsResponse$
1005
+ ];
1006
+ var ListDomainNames$ = [9, n0, _LDN,
1007
+ 0, () => __Unit, () => ListDomainNamesResponse$
1008
+ ];
1009
+ var UpdateAvailabilityOptions$ = [9, n0, _UAO,
1010
+ 0, () => UpdateAvailabilityOptionsRequest$, () => UpdateAvailabilityOptionsResponse$
1011
+ ];
1012
+ var UpdateDomainEndpointOptions$ = [9, n0, _UDEO,
1013
+ 0, () => UpdateDomainEndpointOptionsRequest$, () => UpdateDomainEndpointOptionsResponse$
1014
+ ];
1015
+ var UpdateScalingParameters$ = [9, n0, _USP,
1016
+ 0, () => UpdateScalingParametersRequest$, () => UpdateScalingParametersResponse$
1017
+ ];
1018
+ var UpdateServiceAccessPolicies$ = [9, n0, _USAP,
1019
+ 0, () => UpdateServiceAccessPoliciesRequest$, () => UpdateServiceAccessPoliciesResponse$
1020
+ ];
1021
+
1022
+ const getRuntimeConfig$1 = (config) => {
1023
+ return {
1024
+ apiVersion: "2013-01-01",
1025
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1026
+ base64Encoder: config?.base64Encoder ?? toBase64,
1027
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1028
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1029
+ extensions: config?.extensions ?? [],
1030
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCloudSearchHttpAuthSchemeProvider,
1031
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1032
+ {
1033
+ schemeId: "aws.auth#sigv4",
1034
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1035
+ signer: new AwsSdkSigV4Signer(),
1036
+ },
1037
+ ],
1038
+ logger: config?.logger ?? new NoOpLogger(),
1039
+ protocol: config?.protocol ?? AwsQueryProtocol,
1040
+ protocolSettings: config?.protocolSettings ?? {
1041
+ defaultNamespace: "com.amazonaws.cloudsearch",
1042
+ errorTypeRegistries,
1043
+ xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
1044
+ version: "2013-01-01",
1045
+ serviceTarget: "A9SearchCloudConfigService2013",
1046
+ },
1047
+ serviceId: config?.serviceId ?? "CloudSearch",
1048
+ sha256: config?.sha256 ?? Sha256,
1049
+ urlParser: config?.urlParser ?? parseUrl,
1050
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1051
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1052
+ };
1053
+ };
1054
+
1055
+ const getRuntimeConfig = (config) => {
1056
+ emitWarningIfUnsupportedVersion(process.version);
1057
+ const defaultsMode = resolveDefaultsModeConfig(config);
1058
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1059
+ const clientSharedValues = getRuntimeConfig$1(config);
1060
+ emitWarningIfUnsupportedVersion$1(process.version);
1061
+ const loaderConfig = {
1062
+ profile: config?.profile,
1063
+ logger: clientSharedValues.logger,
1064
+ };
1065
+ return {
1066
+ ...clientSharedValues,
1067
+ ...config,
1068
+ runtime: "node",
1069
+ defaultsMode,
1070
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1071
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1072
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1073
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1074
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1075
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1076
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1077
+ retryMode: config?.retryMode ??
1078
+ loadConfig({
1079
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1080
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1081
+ }, config),
1082
+ streamCollector: config?.streamCollector ?? streamCollector,
1083
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1084
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1085
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1086
+ };
1087
+ };
1088
+
34
1089
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1090
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1091
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -546,38 +1601,165 @@ const PartitionInstanceType = {
546
1601
  search_xlarge: "search.xlarge",
547
1602
  };
548
1603
 
1604
+ exports.AccessPoliciesStatus$ = AccessPoliciesStatus$;
549
1605
  exports.AlgorithmicStemming = AlgorithmicStemming;
1606
+ exports.AnalysisOptions$ = AnalysisOptions$;
1607
+ exports.AnalysisScheme$ = AnalysisScheme$;
550
1608
  exports.AnalysisSchemeLanguage = AnalysisSchemeLanguage;
1609
+ exports.AnalysisSchemeStatus$ = AnalysisSchemeStatus$;
1610
+ exports.AvailabilityOptionsStatus$ = AvailabilityOptionsStatus$;
1611
+ exports.BaseException = BaseException;
1612
+ exports.BaseException$ = BaseException$;
1613
+ exports.BuildSuggesters$ = BuildSuggesters$;
551
1614
  exports.BuildSuggestersCommand = BuildSuggestersCommand;
1615
+ exports.BuildSuggestersRequest$ = BuildSuggestersRequest$;
1616
+ exports.BuildSuggestersResponse$ = BuildSuggestersResponse$;
552
1617
  exports.CloudSearch = CloudSearch;
553
1618
  exports.CloudSearchClient = CloudSearchClient;
1619
+ exports.CloudSearchServiceException = CloudSearchServiceException;
1620
+ exports.CloudSearchServiceException$ = CloudSearchServiceException$;
1621
+ exports.CreateDomain$ = CreateDomain$;
554
1622
  exports.CreateDomainCommand = CreateDomainCommand;
1623
+ exports.CreateDomainRequest$ = CreateDomainRequest$;
1624
+ exports.CreateDomainResponse$ = CreateDomainResponse$;
1625
+ exports.DateArrayOptions$ = DateArrayOptions$;
1626
+ exports.DateOptions$ = DateOptions$;
1627
+ exports.DefineAnalysisScheme$ = DefineAnalysisScheme$;
555
1628
  exports.DefineAnalysisSchemeCommand = DefineAnalysisSchemeCommand;
1629
+ exports.DefineAnalysisSchemeRequest$ = DefineAnalysisSchemeRequest$;
1630
+ exports.DefineAnalysisSchemeResponse$ = DefineAnalysisSchemeResponse$;
1631
+ exports.DefineExpression$ = DefineExpression$;
556
1632
  exports.DefineExpressionCommand = DefineExpressionCommand;
1633
+ exports.DefineExpressionRequest$ = DefineExpressionRequest$;
1634
+ exports.DefineExpressionResponse$ = DefineExpressionResponse$;
1635
+ exports.DefineIndexField$ = DefineIndexField$;
557
1636
  exports.DefineIndexFieldCommand = DefineIndexFieldCommand;
1637
+ exports.DefineIndexFieldRequest$ = DefineIndexFieldRequest$;
1638
+ exports.DefineIndexFieldResponse$ = DefineIndexFieldResponse$;
1639
+ exports.DefineSuggester$ = DefineSuggester$;
558
1640
  exports.DefineSuggesterCommand = DefineSuggesterCommand;
1641
+ exports.DefineSuggesterRequest$ = DefineSuggesterRequest$;
1642
+ exports.DefineSuggesterResponse$ = DefineSuggesterResponse$;
1643
+ exports.DeleteAnalysisScheme$ = DeleteAnalysisScheme$;
559
1644
  exports.DeleteAnalysisSchemeCommand = DeleteAnalysisSchemeCommand;
1645
+ exports.DeleteAnalysisSchemeRequest$ = DeleteAnalysisSchemeRequest$;
1646
+ exports.DeleteAnalysisSchemeResponse$ = DeleteAnalysisSchemeResponse$;
1647
+ exports.DeleteDomain$ = DeleteDomain$;
560
1648
  exports.DeleteDomainCommand = DeleteDomainCommand;
1649
+ exports.DeleteDomainRequest$ = DeleteDomainRequest$;
1650
+ exports.DeleteDomainResponse$ = DeleteDomainResponse$;
1651
+ exports.DeleteExpression$ = DeleteExpression$;
561
1652
  exports.DeleteExpressionCommand = DeleteExpressionCommand;
1653
+ exports.DeleteExpressionRequest$ = DeleteExpressionRequest$;
1654
+ exports.DeleteExpressionResponse$ = DeleteExpressionResponse$;
1655
+ exports.DeleteIndexField$ = DeleteIndexField$;
562
1656
  exports.DeleteIndexFieldCommand = DeleteIndexFieldCommand;
1657
+ exports.DeleteIndexFieldRequest$ = DeleteIndexFieldRequest$;
1658
+ exports.DeleteIndexFieldResponse$ = DeleteIndexFieldResponse$;
1659
+ exports.DeleteSuggester$ = DeleteSuggester$;
563
1660
  exports.DeleteSuggesterCommand = DeleteSuggesterCommand;
1661
+ exports.DeleteSuggesterRequest$ = DeleteSuggesterRequest$;
1662
+ exports.DeleteSuggesterResponse$ = DeleteSuggesterResponse$;
1663
+ exports.DescribeAnalysisSchemes$ = DescribeAnalysisSchemes$;
564
1664
  exports.DescribeAnalysisSchemesCommand = DescribeAnalysisSchemesCommand;
1665
+ exports.DescribeAnalysisSchemesRequest$ = DescribeAnalysisSchemesRequest$;
1666
+ exports.DescribeAnalysisSchemesResponse$ = DescribeAnalysisSchemesResponse$;
1667
+ exports.DescribeAvailabilityOptions$ = DescribeAvailabilityOptions$;
565
1668
  exports.DescribeAvailabilityOptionsCommand = DescribeAvailabilityOptionsCommand;
1669
+ exports.DescribeAvailabilityOptionsRequest$ = DescribeAvailabilityOptionsRequest$;
1670
+ exports.DescribeAvailabilityOptionsResponse$ = DescribeAvailabilityOptionsResponse$;
1671
+ exports.DescribeDomainEndpointOptions$ = DescribeDomainEndpointOptions$;
566
1672
  exports.DescribeDomainEndpointOptionsCommand = DescribeDomainEndpointOptionsCommand;
1673
+ exports.DescribeDomainEndpointOptionsRequest$ = DescribeDomainEndpointOptionsRequest$;
1674
+ exports.DescribeDomainEndpointOptionsResponse$ = DescribeDomainEndpointOptionsResponse$;
1675
+ exports.DescribeDomains$ = DescribeDomains$;
567
1676
  exports.DescribeDomainsCommand = DescribeDomainsCommand;
1677
+ exports.DescribeDomainsRequest$ = DescribeDomainsRequest$;
1678
+ exports.DescribeDomainsResponse$ = DescribeDomainsResponse$;
1679
+ exports.DescribeExpressions$ = DescribeExpressions$;
568
1680
  exports.DescribeExpressionsCommand = DescribeExpressionsCommand;
1681
+ exports.DescribeExpressionsRequest$ = DescribeExpressionsRequest$;
1682
+ exports.DescribeExpressionsResponse$ = DescribeExpressionsResponse$;
1683
+ exports.DescribeIndexFields$ = DescribeIndexFields$;
569
1684
  exports.DescribeIndexFieldsCommand = DescribeIndexFieldsCommand;
1685
+ exports.DescribeIndexFieldsRequest$ = DescribeIndexFieldsRequest$;
1686
+ exports.DescribeIndexFieldsResponse$ = DescribeIndexFieldsResponse$;
1687
+ exports.DescribeScalingParameters$ = DescribeScalingParameters$;
570
1688
  exports.DescribeScalingParametersCommand = DescribeScalingParametersCommand;
1689
+ exports.DescribeScalingParametersRequest$ = DescribeScalingParametersRequest$;
1690
+ exports.DescribeScalingParametersResponse$ = DescribeScalingParametersResponse$;
1691
+ exports.DescribeServiceAccessPolicies$ = DescribeServiceAccessPolicies$;
571
1692
  exports.DescribeServiceAccessPoliciesCommand = DescribeServiceAccessPoliciesCommand;
1693
+ exports.DescribeServiceAccessPoliciesRequest$ = DescribeServiceAccessPoliciesRequest$;
1694
+ exports.DescribeServiceAccessPoliciesResponse$ = DescribeServiceAccessPoliciesResponse$;
1695
+ exports.DescribeSuggesters$ = DescribeSuggesters$;
572
1696
  exports.DescribeSuggestersCommand = DescribeSuggestersCommand;
1697
+ exports.DescribeSuggestersRequest$ = DescribeSuggestersRequest$;
1698
+ exports.DescribeSuggestersResponse$ = DescribeSuggestersResponse$;
1699
+ exports.DisabledOperationException = DisabledOperationException;
1700
+ exports.DisabledOperationException$ = DisabledOperationException$;
1701
+ exports.DocumentSuggesterOptions$ = DocumentSuggesterOptions$;
1702
+ exports.DomainEndpointOptions$ = DomainEndpointOptions$;
1703
+ exports.DomainEndpointOptionsStatus$ = DomainEndpointOptionsStatus$;
1704
+ exports.DomainStatus$ = DomainStatus$;
1705
+ exports.DoubleArrayOptions$ = DoubleArrayOptions$;
1706
+ exports.DoubleOptions$ = DoubleOptions$;
1707
+ exports.Expression$ = Expression$;
1708
+ exports.ExpressionStatus$ = ExpressionStatus$;
1709
+ exports.IndexDocuments$ = IndexDocuments$;
573
1710
  exports.IndexDocumentsCommand = IndexDocumentsCommand;
1711
+ exports.IndexDocumentsRequest$ = IndexDocumentsRequest$;
1712
+ exports.IndexDocumentsResponse$ = IndexDocumentsResponse$;
1713
+ exports.IndexField$ = IndexField$;
1714
+ exports.IndexFieldStatus$ = IndexFieldStatus$;
574
1715
  exports.IndexFieldType = IndexFieldType;
1716
+ exports.IntArrayOptions$ = IntArrayOptions$;
1717
+ exports.IntOptions$ = IntOptions$;
1718
+ exports.InternalException = InternalException;
1719
+ exports.InternalException$ = InternalException$;
1720
+ exports.InvalidTypeException = InvalidTypeException;
1721
+ exports.InvalidTypeException$ = InvalidTypeException$;
1722
+ exports.LatLonOptions$ = LatLonOptions$;
1723
+ exports.LimitExceededException = LimitExceededException;
1724
+ exports.LimitExceededException$ = LimitExceededException$;
1725
+ exports.Limits$ = Limits$;
1726
+ exports.ListDomainNames$ = ListDomainNames$;
575
1727
  exports.ListDomainNamesCommand = ListDomainNamesCommand;
1728
+ exports.ListDomainNamesResponse$ = ListDomainNamesResponse$;
1729
+ exports.LiteralArrayOptions$ = LiteralArrayOptions$;
1730
+ exports.LiteralOptions$ = LiteralOptions$;
576
1731
  exports.OptionState = OptionState;
1732
+ exports.OptionStatus$ = OptionStatus$;
577
1733
  exports.PartitionInstanceType = PartitionInstanceType;
1734
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
1735
+ exports.ResourceAlreadyExistsException$ = ResourceAlreadyExistsException$;
1736
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1737
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1738
+ exports.ScalingParameters$ = ScalingParameters$;
1739
+ exports.ScalingParametersStatus$ = ScalingParametersStatus$;
1740
+ exports.ServiceEndpoint$ = ServiceEndpoint$;
1741
+ exports.Suggester$ = Suggester$;
578
1742
  exports.SuggesterFuzzyMatching = SuggesterFuzzyMatching;
1743
+ exports.SuggesterStatus$ = SuggesterStatus$;
579
1744
  exports.TLSSecurityPolicy = TLSSecurityPolicy;
1745
+ exports.TextArrayOptions$ = TextArrayOptions$;
1746
+ exports.TextOptions$ = TextOptions$;
1747
+ exports.UpdateAvailabilityOptions$ = UpdateAvailabilityOptions$;
580
1748
  exports.UpdateAvailabilityOptionsCommand = UpdateAvailabilityOptionsCommand;
1749
+ exports.UpdateAvailabilityOptionsRequest$ = UpdateAvailabilityOptionsRequest$;
1750
+ exports.UpdateAvailabilityOptionsResponse$ = UpdateAvailabilityOptionsResponse$;
1751
+ exports.UpdateDomainEndpointOptions$ = UpdateDomainEndpointOptions$;
581
1752
  exports.UpdateDomainEndpointOptionsCommand = UpdateDomainEndpointOptionsCommand;
1753
+ exports.UpdateDomainEndpointOptionsRequest$ = UpdateDomainEndpointOptionsRequest$;
1754
+ exports.UpdateDomainEndpointOptionsResponse$ = UpdateDomainEndpointOptionsResponse$;
1755
+ exports.UpdateScalingParameters$ = UpdateScalingParameters$;
582
1756
  exports.UpdateScalingParametersCommand = UpdateScalingParametersCommand;
1757
+ exports.UpdateScalingParametersRequest$ = UpdateScalingParametersRequest$;
1758
+ exports.UpdateScalingParametersResponse$ = UpdateScalingParametersResponse$;
1759
+ exports.UpdateServiceAccessPolicies$ = UpdateServiceAccessPolicies$;
583
1760
  exports.UpdateServiceAccessPoliciesCommand = UpdateServiceAccessPoliciesCommand;
1761
+ exports.UpdateServiceAccessPoliciesRequest$ = UpdateServiceAccessPoliciesRequest$;
1762
+ exports.UpdateServiceAccessPoliciesResponse$ = UpdateServiceAccessPoliciesResponse$;
1763
+ exports.ValidationException = ValidationException;
1764
+ exports.ValidationException$ = ValidationException$;
1765
+ exports.errorTypeRegistries = errorTypeRegistries;